]> sourceware.org Git - glibc.git/blame - ChangeLog
Add atomic operations similar to those provided by C11.
[glibc.git] / ChangeLog
CommitLineData
ff871426
TR
12014-11-20 Torvald Riegel <triegel@redhat.com>
2
3 * include/atomic.h (__atomic_link_error, __atomic_check_size,
4 atomic_thread_fence_acquire, atomic_thread_fence_release,
5 atomic_thread_fence_seq_cst, atomic_load_relaxed,
6 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
7 atomic_compare_exchange_weak_relaxed,
8 atomic_compare_exchange_weak_acquire,
9 atomic_compare_exchange_weak_release,
10 atomic_exchange_acquire, atomic_exchange_release,
11 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
12 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
13 atomic_fetch_and_acquire,
14 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
15
1ea339b6
TR
162014-11-20 Torvald Riegel <triegel@redhat.com>
17
18 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
19 USE_ATOMIC_COMPILER_BUILTINS): Define.
20 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
21 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
22 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
23 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
24 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
25 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
27 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
29 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
31 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
33 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
34 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
35 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
37 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
39 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
41 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
42 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
43 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
45 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
46 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
47 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
48 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
49 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
50 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
51 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
52 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
53 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
54 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
55 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
56 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
57 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
58 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
59 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
60
cbd463e2
RM
612014-11-19 Roland McGrath <roland@hack.frob.com>
62
d960211f
RM
63 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
64 the sched_priority value here. It was already checked when the user
65 called pthread_attr_setschedparam.
66
cbd463e2
RM
67 * nptl/tst-bad-schedattr.c: New file.
68 * nptl/Makefile (tests): Add it.
69
a39208bd
CD
702014-11-19 Carlos O'Donell <carlos@redhat.com>
71 Florian Weimer <fweimer@redhat.com>
72 Joseph Myers <joseph@codesourcery.com>
73 Adam Conrad <adconrad@0c3.net>
74 Andreas Schwab <schwab@suse.de>
75 Brooks <bmoses@google.com>
76
77 [BZ #17625]
78 * wordexp-test.c (__dso_handle): Add prototype.
79 (__register_atfork): Likewise.
80 (__app_register_atfork): New function.
81 (registered_forks): New global.
82 (register_fork): New function.
83 (test_case): Add 3 new tests for WRDE_CMDSUB.
84 (main): Call __app_register_atfork.
85 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
86 fork count is non-zero fail the test.
87 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
88 is set.
89 (parse_dollars): Remove check for WRDE_NOCMD.
90 (parse_dquote): Likewise.
91
9cd47470
SP
922014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
93
130ac68c
SP
94 * Makeconfig (built-modules): List non-library modules to be
95 built.
96 (module-cppflags): Include libc-modules.h for
97 everything except shlib-versions.v.i.
98 (CPPFLAGS): Use it.
99 (before-compile): Add libc-modules.h.
100 ($(common-objpfx)libc-modules.h,
101 $(common-objpfx)libc-modules.stmp): New targets.
102 (common-generated): Add libc-modules.h and libc-modules.stmp.
103 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
104 * include/libc-symbols.h: Don't include libc-modules.h.
105 * include/libc-modules.h: Remove file.
106 * scripts/gen-libc-modules.awk: New script to generate
107 libc-modules.h.
108 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
109 Depend on libc-modules.stmp.
110
286663c3
SP
111 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
112
9cd47470
SP
113 * Makeconfig (in-module): Get value of libof set for the
114 translation unit.
115 (CPPFLAGS): Use $(in-module).
116 * Makerules: Don't suffix routine names for nonlib.
117 * include/libc-modules.h: New file.
118 * include/libc-symbols.h: Include libc-modules.h
119 (IS_IN): New macro to replace IS_IN_* macros.
120 * elf/Makefile: Set libof-* for each routine.
121 * elf/rtld-Rules: Likewise.
122 * extra-modules.mk: Likewise.
123 * iconv/Makefile: Likewise.
124 * iconvdata/Makefile: Likewise.
125 * locale/Makefile: Likewise.
126 * malloc/Makefile: Likewise.
127 * nss/Makefile: Likewise.
128 * sysdeps/gnu/Makefile: Likewise.
129 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
130 * sysdeps/unix/sysv/linux/Makefile: Likewise.
131 * sysdeps/s390/s390-64/Makefile: Likewise.
132 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
133 CPPFLAGS for nscd instead of nonlib.
134
32fed10f
RM
1352014-11-18 Roland McGrath <roland@hack.frob.com>
136
d71035bd
RM
137 * nptl/createthread.c: New file.
138
6540b991
RM
139 * nptl/createthread.c: Moved ...
140 * sysdeps/unix/sysv/linux/createthread.c: ... here.
141
32fed10f
RM
142 * nptl/createthread.c: Add proper top-line comment.
143 (do_clone): Folded into ...
144 (create_thread): ... here. Take new arguments STOPPED_START and
145 THREAD_RAN. Always set PD->stopped_start to something here. Don't
146 increment __nptl_threads, do event-reporting logic, do
147 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
148 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
149 resource cleanup if sched_setaffinity or sched_setscheduler fails,
150 just send SIGCANCEL.
151 * nptl/pthread_create.c: Forward-declare create_thread before
152 including createthread.c.
153 (start_thread): Use new macro START_THREAD_DEFN to replace defining
154 declaration, and new macro START_THREAD_SELF to replace argument.
155 Remove return statement.
156 (report_thread_creation): New function.
157 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
158 synchronization logic, and __nptl_nthreads increment here, around
159 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
160 PD->parent_cancelhandling here, before create_thread. When
161 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
162 __deallocate_stack, and ENOMEM translation here.
163
107a5bf0
JM
1642014-11-18 Joseph Myers <joseph@codesourcery.com>
165
166 [BZ #17616]
167 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
168 (mptwo): Rename to __mptwo.
169 (__inv): Use __mptwo instead of mptwo.
170 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
171 (mptwo): Rename to __mptwo.
172 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
173 of mpone and __mptwo instead of mptwo.
174 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
175 instead of mpone.
176 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
177 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
178 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
179 of mpone and __mptwo instead of mptwo.
180 (__mpranred): Use __mpone instead of mpone.
181 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
182 variable.
183 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
184 (test-xfail-ISO99/math.h/linknamespace): Likewise.
185 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
186 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
187 (test-xfail-ISO11/math.h/linknamespace): Likewise.
188 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
189 (test-xfail-XPG3/math.h/linknamespace): Likewise.
190 (test-xfail-XPG4/math.h/linknamespace): Likewise.
191 (test-xfail-POSIX/math.h/linknamespace): Likewise.
192 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
193 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
194 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
195 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
196 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
197 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
198 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
199 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
200 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
201 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
202
3b679ab3
TV
2032014-11-18 Tom de Vries <tom@codesoucery.com>
204
205 * manual/signal.texi (Primitives Interrupted by Signals): In section,
206 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
207
2082014-11-17 Richard Henderson <rth@redhat.com>
209
210 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
211 (_FP_PACK_RAW_2): Remove.
212 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
213 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
214 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
215 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
216 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
217 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
218 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
219 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
220 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
221 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
222 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
223 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
224 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
225 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
226 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
227 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
228
0781a777
RM
2292014-11-14 Roland McGrath <roland@hack.frob.com>
230
231 * signal/signal.h [__USE_MISC]
232 (struct sigvec): Remove type.
233 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
234 (sigvec): Remove declaration.
235 * sysdeps/posix/sigvec.c: Moved ...
236 * signal/sigvec.c: ... here, replacing old file.
237 (struct sigvec): New type, copied from old signal.h definition.
238 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
239 (__sigvec): Convert definition to prototype.
240 (sigvec): Replace weak_alias with compat_symbol.
241 * signal/Versions (libc: GLIBC_2.21): New version set.
242 * include/signal.h: Remove __sigvec declaration.
243 * sysdeps/unix/bsd/sigvec.c: Remove file.
244 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
245 * manual/signal.texi (BSD Handler): Remove subsection.
246 Move siginterrupt up to ...
247 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
248 (Blocking in BSD): Fold subsection into its parent.
249 * NEWS: Mention sigvec removal.
250
a4733812
JM
2512014-11-14 Joseph Myers <joseph@codesourcery.com>
252
5ae4fe60
JM
253 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
254 (DLA_FMS): Make definition conditional only on [__FMA4__].
255 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
256 definition.
257
6a0dd472
JM
258 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
259 Make definition conditional only on [PROF].
260 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
261 definition.
262 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
263 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
264
a4733812
JM
265 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
266 !__GNUC__].
267 * include/signal.h (__sigpause): Move declaration above call to
268 libc_hidden_proto.
269 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
270 variable.
271 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
272 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
273
cf7246dd
DM
2742014-11-14 David S. Miller <davem@davemloft.net>
275
276 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
277 Define before including <string/memcpy.c> and <string/mempcpy.c>.
278
c1b0aadc
JM
2792014-11-14 Joseph Myers <joseph@codesourcery.com>
280
4863355a
JM
281 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
282 * configure: Regenerated.
283 * manual/install.texi (Tools for Compilation): Document a
284 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
285 compiler verified to work.
286 * INSTALL: Regenerated.
287
c1b0aadc
JM
288 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
289 redeclare with asm name.
290 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
291 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
292 including <string.h>.
293 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
294 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
295 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
296 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
297 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
298 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
299 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
300
2a1cfd94
JM
3012014-11-13 Joseph Myers <joseph@codesourcery.com>
302
bf438382
JM
303 * stdlib/strtol.c (__strtol): Use prototype definition.
304
2a1cfd94
JM
305 [BZ #17594]
306 * stdlib/strtol.c (SYM__): New macro.
307 (SYM__1): Likewise.
308 (__strtol): Likewise.
309 (strtol): Rename to __strtol and define as weak alias of
310 __strtol. Use libc_hidden_weak.
311
20ed0d26
SL
3122014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
313
314 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
315 Use numbered labels in inline assembly.
316
53244a4e
SL
3172014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
318
319 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
320 Add setjmp LIBC_PROBE.
321 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
322 Likewise.
323 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
324 Add longjmp, longjmp_target LIBC_PROBE.
325 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
326 Likewise.
327
47df8251
SL
3282014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
329
330 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
331 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
332 to get rid of unused variable warning.
333
618cebef
SL
3342014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
335
336 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
337 Check for unwind_backtrace == NULL only in SHARED case.
338 (__backchain_backtrace): Compile only in SHARED case.
339 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
340 Likewise.
341 (__backchain_backtrace): Declare as static.
342
c6aab2cb
RM
3432014-11-12 Roland McGrath <roland@hack.frob.com>
344
345 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
346 (__libc_multiple_threads_ptr): Variable moved ...
347 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
348
5a6fa4d7
JM
3492014-11-12 Joseph Myers <joseph@codesourcery.com>
350
24f4f825
JM
351 * conform/GlibcConform.pm: New file.
352 * conform/conformtest.pl: Use GlibcConform module.
353 * conform/linknamespace.pl: New file.
354 * conform/list-header-symbols.pl: Likewise.
355 * conform/Makefile (linknamespace-symlists-base): New variable.
356 (linknamespace-symlists-tests): Likewise.
357 (linknamespace-header-base): Likewise.
358 (linknamespace-header-tests): Likewise.
359 (tests-special): Add new tests.
360 ($(linknamespace-symlists-tests)): New rule.
361 (linknamespace-libs): New variable.
362 ($(objpfx)symlist-stdlibs): New rule.
363 ($(linknamespace-header-tests)): Likewise.
364 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
365 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
366 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
367 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
368 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
369 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
370 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
371 (test-xfail-ISO/math.h/linknamespace): Likewise.
372 (test-xfail-ISO/signal.h/linknamespace): Likewise.
373 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
374 (test-xfail-ISO/time.h/linknamespace): Likewise.
375 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
376 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
377 (test-xfail-ISO99/math.h/linknamespace): Likewise.
378 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
379 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
380 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
381 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
382 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
383 (test-xfail-ISO11/math.h/linknamespace): Likewise.
384 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
385 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
386 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
387 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
388 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
389 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
390 (test-xfail-XPG3/math.h/linknamespace): Likewise.
391 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
392 (test-xfail-XPG3/search.h/linknamespace): Likewise.
393 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
394 (test-xfail-XPG3/time.h/linknamespace): Likewise.
395 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
396 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
397 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
398 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
399 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
400 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
401 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
402 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
403 (test-xfail-XPG4/math.h/linknamespace): Likewise.
404 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
405 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
406 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
407 (test-xfail-XPG4/search.h/linknamespace): Likewise.
408 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
409 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
410 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
411 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
412 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
413 (test-xfail-XPG4/time.h/linknamespace): Likewise.
414 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
415 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
416 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
417 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
418 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
419 (test-xfail-POSIX/math.h/linknamespace): Likewise.
420 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
421 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
422 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
423 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
424 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
425 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
426 (test-xfail-POSIX/time.h/linknamespace): Likewise.
427 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
428 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
429 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
430 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
431 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
432 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
433 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
434 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
435 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
436 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
437 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
438 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
439 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
440 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
441 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
442 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
443 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
444 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
445 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
446 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
447 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
448 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
449 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
450 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
451 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
452 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
453 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
454 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
455 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
456 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
457 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
458 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
459 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
460 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
461 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
462 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
463 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
464 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
465 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
466 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
467 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
468 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
469 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
470 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
471 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
472 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
473 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
474 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
475 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
476 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
477 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
478 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
479 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
480 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
481 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
482 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
483 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
484 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
485 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
486 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
487 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
488 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
489 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
490 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
491 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
492 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
493 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
494 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
495 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
496 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
497 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
498 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
499 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
500 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
501 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
502 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
503 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
504 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
505 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
506 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
507 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
508 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
509 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
510 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
511 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
512 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
513 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
514 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
515 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
516 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
517 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
518 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
519 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
520 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
521 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
522 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
523 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
524 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
525
cc67478e
JM
526 [BZ #17589]
527 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
528 of fgets_unlocked.
529
9975e3d3
JM
530 [BZ #17585]
531 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
532 (memmem): Rename to __memmem and define as weak alias of
533 __memmem. Use libc_hidden_weak.
534 (__memmem): Use libc_hidden_def.
535 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
536 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
537 memmem.
538
c4eae752
JM
539 [BZ #17582]
540 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
541 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
542 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
543 and define as weak alias of __fgets_unlocked. Use
544 libc_hidden_weak.
545 (__fgets_unlocked): Use libc_hidden_def.
546 * include/stdio.h (__fgets_unlocked): Declare. Use
547 libc_hidden_proto.
548 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
549 __fgets_unlocked instead of fgets_unlocked.
550 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
551 (GET_NPROCS_CONF_PARSER): Likewise.
552 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
553 (GET_NPROCS_CONF_PARSER): Likewise.
554
01cad84e
JM
555 [BZ #17574]
556 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
557 weak alias of __wmemset. Use libc_hidden_weak.
558 (__wmemset): Use libc_hidden_def.
559 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
560 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
561 of wmemset.
562
939da411
JM
563 [BZ #17573]
564 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
565 with asm name __mempcpy.
566 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
567
293d9a41
JM
568 [BZ #17572]
569 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
570 and define as weak alias of __rawmemchr.
571 (__rawmemchr): Do not define as strong alias of rawmemchr.
572
bef8fd60
JM
573 [BZ #17571]
574 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
575 alias of __qsort_r.
576 (qsort): Call __qsort_r instead of qsort_r.
577 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
578 (__qsort_r): Declare. Call libc_hidden_proto.
579 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
580 instead of qsort_r.
581 * nscd/gai.c (__qsort_r): Define to qsort_r.
582 * posix/tst-rfc3484.c (__qsort_r): Likewise.
583 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
584 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
585
c52ff39e
JM
586 [BZ #17570]
587 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
588 define as weak alias of __malloc_info.
589
2f5c1b00
JM
590 [BZ #17584]
591 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
592 as weak alias of __rewinddir. Don't use libc_hidden_def.
593 (__rewinddir): Use libc_hidden_def.
594 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
595 as weak alias of __rewinddir. Don't use libc_hidden_def.
596 (__rewinddir): Use libc_hidden_def.
597 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
598 weak alias of __rewinddir. Don't use libc_hidden_def.
599 (__rewinddir): Use libc_hidden_def.
600 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
601 (__rewinddir): Use libc_hidden_proto.
602 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
603 rewinddir.
604 (__getcwd): Use __rewinddir instead of rewinddir.
605
5a6fa4d7
JM
606 [BZ #17583]
607 * libio/fileno.c (fileno): Rename to __fileno and define as weak
608 alias of __fileno. Use libc_hidden_weak.
609 (__fileno): Use libc_hidden_def.
610 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
611 * libio/ftello.c (ftello): Rename to __ftello and define as weak
612 alias of __ftello.
613 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
614 __ftello.
615 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
616 (__fread_unlocked): Define as strong alias of _IO_fread. Use
617 libc_hidden_def.
618 (fread_unlocked): Don't use libc_hidden_ver.
619 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
620 and define as weak alias of __fread_unlocked. Don't use
621 libc_hidden_def.
622 (__fread_unlocked): Use libc_hidden_def.
623 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
624 (ftello): Don't use libc_hidden_proto.
625 (__ftello): Declare. Use libc_hidden_proto.
626 (fread_unlocked): Don't use libc_hidden_proto.
627 (__fread_unlocked): Declare. Use libc_hidden_proto.
628 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
629 and __ftello instead of fileno, fread_unlocked and ftello.
630
2581b98e
SP
6312012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
632
633 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
634 GOT12.
635 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
636 Likewise.
637 (_dl_start_user): Likewise.
638 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
639
533bb7c2
SP
6402014-11-12 Carlos O'Donell <carlos@redhat.com>
641 Siddhesh Poyarekar <siddhesh@redhat.com>
642
643 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
644 Move argv and envp down instead of moving argc up.
645 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
646
fffa1cf8
LH
6472014-11-12 Leonhard Holz <leonhard.holz@web.de>
648
649 [BZ #17506]
650 * test-skeleton.c (main): Return successful if one of
651 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
652 * string/tst-strcoll-overflow.c: Define expected status.
653
fb89b46d
TU
6542014-11-12 Tatiana Udalova <t.udalova@samsung.com>
655
656 [BZ #17475]
657 * locale/iso-639.def: Define Bhili and Tulu language codes.
658
5c40c3ba
AH
6592014-11-11 Alan Hayward <alan.hayward@arm.com>
660
661 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
662
b17fe01b 6632014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
664
665 [BZ #17555]
666 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
667
bd805071
AS
6682014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
669
670 * configure.ac: Updated check of minimal required version to
671 2.22.
672 * manual/install.texi (Tools for Compilation): Updated version
673 number.
674 * configure: Regenerated.
675 * INSTALL: Likewise.
676
1400983e
AS
6772014-11-07 Andreas Schwab <schwab@linux-m68k.org>
678
679 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
680 __tls_get_addr.
681
2c46a66a
JM
6822014-11-07 Joseph Myers <joseph@codesourcery.com>
683
684 * include/sys/wait.h (__libc_waitpid): Remove declaration.
685 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
686 (__waitpid): Don't define as alias. Use libc_hidden_def not
687 libc_hidden_weak.
688 (waitpid): Define as alias of __waitpid.
689 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
690 __waitpid.
691 (__waitpid): Don't define as alias. Use libc_hidden_def not
692 libc_hidden_weak.
693 (waitpid): Define as alias of __waitpid.
694 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
695 __libc_waitpid alias.
696 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
697 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
698 Likewise.
699 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
700 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
701 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
702 alias.
703 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
704 __waitpid.
705 (__waitpid): Don't define as alias. Use libc_hidden_def not
706 libc_hidden_weak.
707 (waitpid): Define as alias of __waitpid.
708
da53d6db
CD
7092014-11-06 Carlos O'Donell <carlos@redhat.com>
710
a2887bdb
CD
711 * manual/llio.texi: Add comment that write safety has been
712 fixed in Linux.
713
da53d6db
CD
714 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
715 (localplt-build-dso): Add elf/ld.so.
716 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
717 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
718 and free for ld.so.
719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
720 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
722 Likewise.
723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
724 Likewise.
725 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
726 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
727 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
728 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
729 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
730 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
731 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
732 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
733 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
734 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
735 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
736
9cf27b8d
JM
7372014-11-05 Joseph Myers <joseph@codesourcery.com>
738
739 [BZ #14132]
740 * include/libc-symbols.h (INTUSE): Remove macro.
741 (INTDEF): Likewise.
742 (INTVARDEF): Likewise.
743 (_INTVARDEF): Likewise.
744 (INTDEF2): Likewise.
745 (INTVARDEF2): Likewise.
746 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
747 rtld_hidden_def instead of INTVARDEF.
748 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
749 (_dl_starting_up_internal): Remove declaration.
750 (_dl_starting_up): Use rtld_hidden_proto.
751 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
752 declaration.
753 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
754 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
755 _dl_starting_up.
756 * elf/dl-writev.h (_dl_writev): Likewise.
757 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
758 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
759 _dl_starting_up_internal.
760
af83568d
AZ
7612014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
762
763 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
764 test-skeleton.c.
765
b01ee67c
WN
7662014-11-05 Will Newton <will.newton@linaro.org>
767
768 * benchtests/Makefile: (bench-malloc): Add malloc thread
769 scalability benchmark.
770 * benchtests/bench-malloc-threads.c: New file.
771
be9d4ccc
RE
7722014-11-05 Richard Earnshaw <rearnsha@arm.com>
773
774 * sysdeps/aarch64/strchrnul.S: New file.
775
7110166d
AZ
7762014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
777
778 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
779 definition.
780 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
781 Likwise.
782 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
783 Likewise.
784 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
785 Likewise.
786 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
787 Likewise.
788 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
789 Likewise.
790
7912014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
792
793 * catgets/test-gencat.c: Use test-skeleton.c.
794 * catgets/tst-catgets.c: Likewise.
795 * csu/tst-empty.c: Likewise.
796 * elf/tst-audit2.c: Likewise.
797 * elf/tst-global1.c: Likewise.
798 * elf/tst-pathopt.c: Likewise.
799 * elf/tst-piemod1.c: Likewise.
800 * elf/tst-tls10.c: Likewise.
801 * elf/tst-tls11.c: Likewise.
802 * elf/tst-tls12.c: Likewise.
803 * gnulib/tst-gcc.c: Likewise.
804 * iconvdata/tst-e2big.c: Likewise.
805 * iconvdata/tst-loading.c: Likewise.
806 * iconv/tst-iconv1.c: Likewise.
807 * iconv/tst-iconv2.c: Likewise.
808 * inet/test-inet6_opt.c: Likewise.
809 * inet/tst-gethnm.c: Likewise.
810 * inet/tst-network.c: Likewise.
811 * inet/tst-ntoa.c: Likewise.
812 * intl/tst-codeset.c: Likewise.
813 * intl/tst-gettext2.c: Likewise.
814 * intl/tst-gettext3.c: Likewise.
815 * intl/tst-ngettext.c: Likewise.
816 * intl/tst-translit.c: Likewise.
817 * io/test-stat.c: Likewise.
818 * libio/test-fmemopen.c: Likewise.
819 * libio/tst-freopen.c: Likewise.
820 * libio/tst-sscanf.c: Likewise.
821 * libio/tst-ungetwc1.c: Likewise.
822 * libio/tst-ungetwc2.c: Likewise.
823 * libio/tst-widetext.c: Likewise.
824 * localedata/tst-ctype.c: Likewise.
825 * localedata/tst-digits.c: Likewise.
826 * localedata/tst-leaks.c: Likewise.
827 * localedata/tst-mbswcs1.c: Likewise.
828 * localedata/tst-mbswcs2.c: Likewise.
829 * localedata/tst-mbswcs3.c: Likewise.
830 * localedata/tst-mbswcs4.c: Likewise.
831 * localedata/tst-mbswcs5.c: Likewise.
832 * localedata/tst-setlocale.c: Likewise.
833 * localedata/tst-trans.c: Likewise.
834 * localedata/tst-wctype.c: Likewise.
835 * localedata/tst-xlocale1.c: Likewise.
836 * login/tst-grantpt.c: Likewise.
837 * malloc/tst-calloc.c: Likewise.
838 * malloc/tst-malloc.c: Likewise.
839 * malloc/tst-mallocstate.c: Likewise.
840 * malloc/tst-mcheck.c: Likewise.
841 * malloc/tst-mtrace.c: Likewise.
842 * malloc/tst-obstack.c: Likewise.
843 * math/atest-exp2.c: Likewise.
844 * math/atest-exp.c: Likewise.
845 * math/atest-sincos.c: Likewise.
846 * math/test-matherr.c: Likewise.
847 * math/test-misc.c: Likewise.
848 * math/test-powl.c: Likewise.
849 * math/tst-definitions.c: Likewise.
850 * misc/tst-dirname.c: Likewise.
851 * misc/tst-efgcvt.c: Likewise.
852 * misc/tst-fdset.c: Likewise.
853 * misc/tst-hsearch.c: Likewise.
854 * misc/tst-mntent2.c: Likewise.
855 * nptl/tst-sem7.c: Likewise.
856 * nptl/tst-sem8.c: Likewise.
857 * nptl/tst-sem9.c: Likewise.
858 * nss/test-netdb.c: Likewise.
859 * posix/tst-fnmatch.c: Likewise.
860 * posix/tst-getlogin.c: Likewise.
861 * posix/tst-gnuglob.c: Likewise.
862 * posix/tst-mmap.c: Likewise.
863 * pwd/tst-getpw.c: Likewise.
864 * resolv/tst-inet_ntop.c: Likewise.
865 * rt/tst-timer.c: Likewise.
866 * stdio-common/test-fseek.c: Likewise.
867 * stdio-common/test-popen.c: Likewise.
868 * stdio-common/test-vfprintf.c: Likewise.
869 * stdio-common/tst-cookie.c: Likewise.
870 * stdio-common/tst-fileno.c: Likewise.
871 * stdio-common/tst-gets.c: Likewise.
872 * stdio-common/tst-obprintf.c: Likewise.
873 * stdio-common/tst-perror.c: Likewise.
874 * stdio-common/tst-sprintf2.c: Likewise.
875 * stdio-common/tst-sprintf3.c: Likewise.
876 * stdio-common/tst-sprintf.c: Likewise.
877 * stdio-common/tst-swprintf.c: Likewise.
878 * stdio-common/tst-tmpnam.c: Likewise.
879 * stdio-common/tst-unbputc.c: Likewise.
880 * stdio-common/tst-wc-printf.c: Likewise.
881 * stdlib/tst-environ.c: Likewise.
882 * stdlib/tst-fmtmsg.c: Likewise.
883 * stdlib/tst-limits.c: Likewise.
884 * stdlib/tst-rand48-2.c: Likewise.
885 * stdlib/tst-rand48.c: Likewise.
886 * stdlib/tst-random2.c: Likewise.
887 * stdlib/tst-random.c: Likewise.
888 * stdlib/tst-strtol.c: Likewise.
889 * stdlib/tst-strtoll.c: Likewise.
890 * stdlib/tst-tls-atexit.c: Likewise.
891 * stdlib/tst-xpg-basename.c: Likewise.
892 * string/test-ffs.c: Likewise.
893 * string/tst-bswap.c: Likewise.
894 * string/tst-inlcall.c: Likewise.
895 * string/tst-strtok.c: Likewise.
896 * string/tst-strxfrm.c: Likewise.
897 * sysdeps/x86_64/tst-audit10.c: Likewise.
898 * sysdeps/x86_64/tst-audit3.c: Likewise.
899 * sysdeps/x86_64/tst-audit4.c: Likewise.
900 * sysdeps/x86_64/tst-audit5.c: Likewise.
901 * time/tst-ftime_l.c: Likewise.
902 * time/tst-getdate.c: Likewise.
903 * time/tst-mktime3.c: Likewise.
904 * time/tst-mktime.c: Likewise.
905 * time/tst-posixtz.c: Likewise.
906 * time/tst-strptime2.c: Likewise.
907 * time/tst-strptime3.c: Likewise.
908 * wcsmbs/tst-btowc.c: Likewise.
909 * wcsmbs/tst-mbrtowc.c: Likewise.
910 * wcsmbs/tst-mbsrtowcs.c: Likewise.
911 * wcsmbs/tst-wchar-h.c: Likewise.
912 * wcsmbs/tst-wcpncpy.c: Likewise.
913 * wcsmbs/tst-wcrtomb.c: Likewise.
914 * wcsmbs/tst-wcsnlen.c: Likewise.
915 * wcsmbs/tst-wcstof.c: Likewise.
916
2004e7fb
JM
9172014-11-04 Joseph Myers <joseph@codesourcery.com>
918
ab97ee8f
JM
919 [BZ #14132]
920 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
921 INTDEF.
922 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
923 declaration.
924 (_dl_mcount): Use rtld_hidden_proto.
925 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
926 _dl_mcount.
927 * elf/rtld.c (_rtld_global_ro): Likewise.
928
c5684fdb
JM
929 [BZ #14132]
930 * elf/dl-init.c (_dl_init): Don't use INTDEF.
931 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
932 of _dl_init_internal.
933 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
934 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
935 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
936 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
937 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
938 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
939 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
940 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
941 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
942 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
943 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
944 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
945 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
946 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
947 * sysdeps/tile/dl-start.S (_start): Likewise.
948 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
949 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
950
4243cbea
JM
951 [BZ #14132]
952 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
953 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
954 (rtld_progname): Make macro definition unconditional.
955 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
956 INTDEF.
957 (dlmopen_doit): Do not use INTUSE with _dl_argv.
958 (dl_main): Likewise.
959 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
960 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
961 instead of _dl_argv_internal.
962 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
963 __GI__dl_argv instead of INTUSE(_dl_argv).
964 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
965 __GI__dl_argv instead of _dl_argv_internal.
966
2004e7fb
JM
967 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
968 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
969 macro.
970 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
971 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
972 New macro.
973 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
974 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
975 macro.
976 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
977 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
978
97827bfc
AS
9792014-11-04 Andreas Schwab <schwab@suse.de>
980
981 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
982
5e4df284
AZ
9832014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
984
985 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
986 mtvsrd instruction in binary form.
987
04b76b5a
AS
9882014-11-03 Andreas Schwab <schwab@suse.de>
989
990 [BZ #17522]
991 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
992 for less than MB_LEN_MAX use a local buffer of that size.
993 * libio/tst-fputws.c: New file.
994 * libio/Makefile (tests): Add tst-fputws.
995
4c6da7da
JM
9962014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
997
998 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
999 the size of the fpu_fr.fpu_dregs[] array.
1000
1679ba8e
JM
10012014-11-01 Joseph Myers <joseph@codesourcery.com>
1002
1003 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
1004 (__nanosleep): Do not define as alias.
1005 (nanosleep): Define as alias of __nanosleep.
1006 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
1007 __libc_nanosleep name.
1008
2626c183
JM
10092014-10-31 Joseph Myers <joseph@codesourcery.com>
1010
1011 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
1012 install.texi in comment.
1013
7f981fc2
TR
10142014-10-31 Torvald Riegel <triegel@redhat.com>
1015
1016 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
1017 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
1018 ... add here and use lwsync or sync ...
1019 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
1020 ... and add here using lwsync.
1021
d6f373d2
MF
10222014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
1023
1024 * elf/dl-machine-reject-phdr.h: New file.
1025 * elf/dl-load.c: #include that.
1026 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
1027 if that returned true.
1028
67c37987
RM
10292014-10-31 Roland McGrath <roland@hack.frob.com>
1030
1031 [BZ #17496]
1032 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
1033 gen-as-const-headers chunk. Add a big scare comment after the last
1034 safe place to touch before-compile.
1035
94a42455 10362014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 1037
f3f5d895
JM
1038 * manual/install.texi (Tools for Compilation): Update autoconf
1039 version requirements.
1040 * INSTALL: Regenerated.
1041
f62ff286
JM
1042 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
1043 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
1044 (__libc_pselect): Likewise.
94a42455
JM
1045
1046 [BZ #14138]
1047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
1048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1051
ff9dbdc0
TR
10522014-10-31 Torvald Riegel <triegel@redhat.com>
1053
1054 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
1055 correct barrier instruction.
1056 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
1057 Likewise.
1058 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
1059 Likewise.
1060
b4f66884
RM
10612014-10-30 Roland McGrath <roland@hack.frob.com>
1062
1063 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
1064 after defining inlines. Instead, just use parens to defeat macro
1065 expansion of __isctype in its declaration.
1066
e19c95fd
JM
10672014-10-30 Joseph Myers <joseph@codesourcery.com>
1068
1069 * include/sys/uio.h (__libc_readv): Remove declaration.
1070 (__libc_writev): Likewise.
1071 * misc/readv.c (__libc_readv): Rename to __readv.
1072 (__readv): Do not define as alias.
1073 (readv): Define as alias of __readv.
1074 * misc/writev.c (__libc_writev): Rename to __writev.
1075 (__writev): Do not define as alias.
1076 (writev): Define as alias of __writev.
1077 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
1078 (__readv): Do not define as alias.
1079 (readv): Define unconditionally as alias of __readv.
1080 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
1081 (__writev): Do not define as alias.
1082 (writev): Define unconditionally as alias of __writev.
1083 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
1084 name.
1085 (writev): Do not define __libc_writev name.
1086
65b00b6c
RM
10872014-10-30 Roland McGrath <roland@hack.frob.com>
1088
1089 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
1090 (convert_charseq): New function, broken out of ...
1091 (use_from_charmap): ... here. Call it.
1092 (use_to_charmap): Use convert_charseq and free instead of duplicating
1093 its code with a variable-length stack struct.
1094
d4e157aa
JM
10952014-10-30 Joseph Myers <joseph@codesourcery.com>
1096
1097 * include/fcntl.h (__libc_creat): Remove declaration.
1098 * io/creat.c (__libc_creat): Rename to creat.
1099 (creat): Do not define as alias.
1100 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
1101 of creat instead of __libc_creat.
1102 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
1103 to creat.
1104 (creat): Do not define as alias.
1105 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
1106 __libc_creat.
1107 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
1108 __libc_creat name.
1109 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
1110 Likewise.
1111
0c6891a0
CD
11122014-10-29 Carlos O'Donell <carlos@redhat.com>
1113
1114 * manual/llio.texi: Add comments discussing why write() may be
1115 considered MT-unsafe on Linux.
1116
cc00cece
CD
11172014-10-28 Carlos O'Donell <carlos@redhat.com>
1118
1119 * dl-load.c (local_strdup): Remove.
1120 (expand_dynamic_string_token): Use __strdup.
1121 (decompose_rpath): Likewise.
1122 (_dl_map_object): Likewise.
1123
51e623f2
JM
11242014-10-28 Joseph Myers <joseph@codesourcery.com>
1125
1126 [BZ #14132]
1127 * sysdeps/generic/unwind-dw2-fde.c
1128 (__register_frame_info_bases_internal): Do not declare.
1129 (__register_frame_info_table_bases_internal): Likewise.
1130 (__deregister_frame_info_bases_internal): Likewise.
1131 (__register_frame_info_bases): Declare and use hidden_proto before
1132 definition. Use hidden_def instead of INTDEF.
1133 (__register_frame_info_table_bases): Likewise.
1134 (__deregister_frame_info_bases): Likewise.
1135 (__register_frame_info): Do not use INTUSE.
1136 (__register_frame): Likewise.
1137 (__register_frame_info_table): Likewise.
1138 (__register_frame_table): Likewise.
1139 (__deregister_frame_info): Likewise.
1140 (__deregister_frame): Likewise.
1141
03d41216
GC
11422014-10-27 Gratian Crisan <gratian.crisan@ni.com>
1143
1144 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1145 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
1146 not undefine.
1147 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
1148 Likewise.
1149 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
1150 Likewise.
1151
a4b3624d
JM
11522014-10-27 Joseph Myers <joseph@codesourcery.com>
1153
1154 [BZ #14138]
1155 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
1156 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
1157 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1158 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1159 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
1160 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
1161 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
1162 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
1163 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
1164 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
1165 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
1166 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
1167 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
1168 syscall.
1169 (setfsuid): Likewise.
1170 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
1171 (setfsuid): Likewise.
1172 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
1173 (setfsuid): Likewise.
1174 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
1175 Likewise.
1176 (setfsuid): Likewise.
1177 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
1178 (setfsuid): Likewise.
1179 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
1180 Likewise.
1181 (setfsuid): Likewise.
1182
3574f2fd
AS
11832014-10-27 Andreas Schwab <schwab@suse.de>
1184
1185 [BZ #17501]
1186 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
1187 check for Slow_SSE4_2 feature bit.
1188 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
1189 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1190 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
1191 Likewise. Fix check for Fast_Unaligned_Load feature bit.
1192
70996a37
RM
11932014-10-24 Roland McGrath <roland@hack.frob.com>
1194
461a7b1e
RM
1195 * configure.ac: Validate compiler version with a empirical test of
1196 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
1197 $CC -v output.
1198 * configure: Regenerated.
1199
70996a37
RM
1200 * inet/htons.c (htons): Prototypify.
1201 * inet/htonl.c (htonl): Likewise.
1202
e80514b5
WD
12032014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1204
1205 * string/strncat.c (strncat): Improve performance by using strlen.
1206
6e46de42
WD
12072014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1208
1209 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
1210
6a9ad2fa
WD
12112014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1212
1213 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
1214 Call libc_fetestexcept_aarch64.
1215
1c8810ed
WD
12162014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1217
1218 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
1219 Call libc_feholdexcept_aarch64.
1220
8b1af712
WD
12212014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1222
1223 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
1224 Call get_rounding_mode.
1225
a7b00c11
WD
12262014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1227
1228 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1229 Simplify logic.
1230
3a84f1a6
WD
12312014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1232
1233 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
1234 Simplify logic.
1235
48eb7a94
JM
12362014-10-24 Joseph Myers <joseph@codesourcery.com>
1237
c8bc4038
JM
1238 [BZ #14138]
1239 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
1240 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
1241 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
1242 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
1243 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
1244 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
1245 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
1246 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
1247 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
1248 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
1249 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1250 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
1251 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
1252 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
1253 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
1254 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
1255 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
1256 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
1257 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
1258 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
1259 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
1260 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
1261 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
1262 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
1263 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
1264 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
1265 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
1266 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
1267 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
1268 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
1269 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
1270 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
1271 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
1272 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
1273 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
1274 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
1275 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
1276 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
1277 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
1278 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
1279 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
1280 syscall.
1281 (geteuid): Likewise.
1282 (getgid): Likewise.
1283 (getuid): Likewise.
1284 (getresgid): Likewise.
1285 (getresuid): Likewise.
1286 (getgroups): Likewise.
1287 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
1288 (geteuid): Likewise.
1289 (getgid): Likewise.
1290 (getuid): Likewise.
1291 (getresgid): Likewise.
1292 (getresuid): Likewise.
1293 (getgroups): Likewise.
1294 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
1295 (geteuid): Likewise.
1296 (getgid): Likewise.
1297 (getuid): Likewise.
1298 (getresgid): Likewise.
1299 (getresuid): Likewise.
1300 (getgroups): Likewise.
1301 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
1302 Likewise.
1303 (geteuid): Likewise.
1304 (getgid): Likewise.
1305 (getuid): Likewise.
1306 (getresgid): Likewise.
1307 (getresuid): Likewise.
1308 (getgroups): Likewise.
1309 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
1310 (geteuid): Likewise.
1311 (getgid): Likewise.
1312 (getuid): Likewise.
1313 (getresgid): Likewise.
1314 (getresuid): Likewise.
1315 (getgroups): Likewise.
1316 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
1317 Likewise.
1318 (geteuid): Likewise.
1319 (getgid): Likewise.
1320 (getuid): Likewise.
1321 (getgroups): Likewise.
1322
48eb7a94
JM
1323 [BZ #14138]
1324 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
1325 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
1326 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1327 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1328 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
1329 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
1330 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
1331 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
1332 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
1333 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
1334 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
1335 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
1336 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
1337 __chown.
1338 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
1339 (lchown): Likewise.
1340 (fchown): Likewise.
1341 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
1342 Likewise.
1343 (lchown): Likewise.
1344 (fchown): Likewise.
1345 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
1346 (lchown): Likewise.
1347 (fchown): Likewise.
1348 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
1349 Likewise.
1350 (lchown): Likewise.
1351 (fchown): Likewise.
1352
ea9a7c8b
WD
13532014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1354
1355 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
1356 Simplify logic.
1357
e226de33
WD
13582014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1359
1360 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1361 Cleanup logic.
1362
6e3d8ed3
WD
13632014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1364
1365 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1366 Remove unused include.
1367
eb04247d
WD
13682014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1369
1370 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
1371 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
1372 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
1373 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
1374
13d84554
CD
13752014-10-23 Carlos O'Donell <carlos@systemhalted.org>
1376 Helge Deller <deller@gmx.de>
1377
1378 [BZ #17508]
1379 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
1380 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
1381 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
1382
15f9c5df
JM
13832014-10-23 Joseph Myers <joseph@codesourcery.com>
1384
1385 [BZ #14132]
1386 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
1387 Remove macro definition.
1388 (__ashrdi3_v_glibc20): Likewise.
1389 (__lshrdi3_v_glibc20): Likewise.
1390 (__cmpdi2_v_glibc20): Likewise.
1391 (__ucmpdi2_v_glibc20): Likewise.
1392 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
1393 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1394 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1395 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1396 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1397 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
1398
c6dfed24
RM
13992014-10-22 Roland McGrath <roland@hack.frob.com>
1400
1401 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
1402 old GNU extension [0] syntax.
1403 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
1404 alloca rather than an array member with variable length.
1405 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1406 * nscd/nscd.c (invalidate_db): New function, broken out of ...
1407 (parse_opt): ... here. Likewise use alloca there.
1408 Validate the -i argument before checking for rootness.
1409 (send_shutdown): New function, broken out of ...
1410 (parse_opt): ... here.
1411
8c2b1ed8
RM
14122014-10-22 Roland McGrath <roland@hack.frob.com>
1413
1414 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
1415 macro to get at the _rt_local_ro field.
1416 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
1417 ([PIC] case) or _dl_hwcap ([!PIC] case).
1418 * sysdeps/arm/setjmp.S: Likewise.
1419
1420 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
1421 * sysdeps/arm/configure.ac: New check to define it.
1422 * sysdeps/arm/configure: Regenerated.
1423 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
1424 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
1425 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
1426 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
1427 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
1428 Use move/movt pair instead of a load.
1429 (LDST_GLOBAL): Macro removed.
1430 (LDR_GLOBAL): New macro replaces it.
1431 (LDR_HIDDEN): New macro.
1432 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
1433 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
1434
1435 * setjmp/tst-setjmp-static.c: New file.
1436 * setjmp/Makefile (tests): Add it.
1437 (tests-static): New variable.
1438
b5af9297
MR
14392014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
1440
1441 [BZ #17485]
1442 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
1443
a13d0d74
JM
14442014-10-21 Joseph Myers <joseph@codesourcery.com>
1445
1446 [BZ #14132]
1447 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
1448
f05e73f6
RM
14492014-10-21 Roland McGrath <roland@hack.frob.com>
1450
1451 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
1452
6ab1d1ea
RM
14532014-10-20 Roland McGrath <roland@hack.frob.com>
1454
1455 * io/fts.c (dirent_not_directory): New function.
1456 (fts_build): Call it.
1457
ab49e763
RM
14582014-10-20 Roland McGrath <roland@hack.frob.com>
1459
e436eb79
RM
1460 * nptl/version.c (__nptl_main): Use normal __write rather than
1461 INTERNAL_SYSCALL.
1462 (banner): Update copyright years.
1463
6af246cf
RM
1464 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
1465 gettimeofday.
1466 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1467 * nptl/pthread_cond_timedwait.c: Likewise.
1468 * nptl/pthread_mutex_timedlock.c: Likewise.
1469 * nptl/sem_timedwait.c: Likewise.
1470
ab49e763
RM
1471 * sysdeps/nptl/bits/libc-lock.h
1472 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1473 (__libc_lock_init_recursive): Return void, not 0.
1474 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
1475 (__libc_rwlock_init): Likewise.
1476 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
1477
f50277c1
TR
14782014-10-20 Torvald Riegel <triegel@redhat.com>
1479
1480 [BZ #15215]
1481 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
1482 (__pthread_once_slow): ... here.
1483 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
1484 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
1485
63668b70
TR
14862014-10-20 Torvald Riegel <triegel@redhat.com>
1487
1488 [BZ #15215]
1489 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
1490 __PTHREAD_ONCE_FORK_GEN_INCR): New.
1491 * sysdeps/nptl/fork.c (__libc_fork): Use them.
1492 * nptl/pthread_once.c (__pthread_once): Likewise.
1493 Update comments.
1494
42b7f5d4
JM
14952014-10-20 Joseph Myers <joseph@codesourcery.com>
1496
1497 [BZ #14138]
1498 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
1499 name.
1500 (writev): Use __libc_writev as strong name.
1501 * sysdeps/unix/sysv/linux/readv.c: Remove file.
1502 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1503
b0643088
RM
15042014-10-17 Roland McGrath <roland@hack.frob.com>
1505
114c4e09
RM
1506 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
1507
674b8978
RM
1508 * sysdeps/i386/nptl/tls.h
1509 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
1510 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
1511 New macros.
1512 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
1513 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
1514 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
1515 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
1516 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
1517 Call CHECK_THREAD_SYSINFO instead of doing an assert.
1518
184ee940
RM
1519 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1520 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
1521 on [__NR_futex].
1522 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
1523 broken out of ...
1524 (__pthread_mutex_init): ... here. Call it.
1525 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
1526 Conditionalize PI cases on [__NR_futex].
1527 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1528 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1529 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1530
327ae257
RM
1531 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
1532 conditional on [SIGSETXID].
1533 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
1534 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
1535 is defined. Likewise for SIGSETXID.
1536 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
1537 Conditionalize definitions on [SIGSETXID].
1538 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
1539 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
1540 unblocking on [SIGCANCEL].
1541
b0643088
RM
1542 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
1543 [__NR_set_robust_list].
1544
33cc770b
SP
15452014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1546
1547 * string/strcoll_l.c (get_next_seq): Fix up formatting.
1548 (do_compare): Likewise.
1549
0742aef6
LH
15502014-10-17 Leonhard Holz <leonhard.holz@web.de>
1551
1552 [BZ #15884]
1553 * string/strcoll_l.c: Don't include stdio.h.
1554 (coll_seq): Remove members idxarr and rulearr.
1555 (get_next_seq_cached): Remove function.
1556 (get_next_seq): Likewise.
1557 (get_next_seq_nocache): Rename to get_next_seq.
1558 (do_compare): Remove function.
1559 (do_compare_nocache): Rename to do_compare.
1560 (STRCOLL): Remove weight and rules cache.
1561
ee54ce44
RM
15622014-10-16 Roland McGrath <roland@hack.frob.com>
1563
1564 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
1565 * sysdeps/arm/sfp-machine.h: ... to here.
1566 * sysdeps/arm/Implies: Remove arm/soft-fp.
1567
a75d3b02
JM
15682014-10-14 Joseph Myers <joseph@codesourcery.com>
1569
1570 * conform/data/sys/utsname.h-data (*_t): Allow.
1571 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
1572 [POSIX] (WEXITED): Do not expect constant.
1573 [POSIX] (WSTOPPED): Likewise.
1574 [POSIX] (WNOHANG): Likewise.
1575 [POSIX] (WNOWAIT): Likewise.
1576 [POSIX] (siginfo_t): Do not expect type or elements.
1577 [POSIX] (pid_t): Do not expect type.
1578 [POSIX] (signal.h): Do not allow header.
1579 [POSIX] (sys/resource.h): Likewise.
1580 [POSIX] (si_*): Do not allow pattern.
1581 [POSIX] (W*): Likewise.
1582 [POSIX] (P_*): Likewise.
1583 [POSIX] (BUS_*): Likewise.
1584 [POSIX] (CLD_*): Likewise.
1585 [POSIX] (FPE_*): Likewise.
1586 [POSIX] (ILL_*): Likewise.
1587 [POSIX] (POLL_*): Likewise.
1588 [POSIX] (SEGV_*): Likewise.
1589 [POSIX] (SI_*): Likewise.
1590 [POSIX] (TRAP_*): Likewise.
1591 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
1592 variable.
1593
fda389c8
SP
15942014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1595
1596 [BZ #12926]
1597 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
1598 infinite loop when __recvmsg returns 0.
1599
6bc6bd3b
JM
16002014-10-10 Joseph Myers <joseph@codesourcery.com>
1601
fcb32af1
JM
1602 * CANCEL-FCT-WAIVE: Remove file.
1603 * CANCEL-FILE-WAIVE: Likewise.
1604
6bc6bd3b
JM
1605 [BZ #14132]
1606 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
1607 instead of INTVARDEF.
1608 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1609 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
1610 rtld_hidden_data_def instead of INTVARDEF.
1611 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1612 * elf/dl-deps.c (expand_dst): Likewise.
1613 * elf/dl-load.c (_dl_dst_count): Likewise.
1614 (_dl_dst_substitute): Likewise.
1615 (decompose_rpath): Likewise.
1616 (_dl_init_paths): Likewise.
1617 (open_path): Likewise.
1618 (_dl_map_object): Likewise.
1619 * elf/rtld.c (dl_main): Likewise.
1620 (process_dl_audit): Likewise.
1621 (process_envvars): Likewise.
1622 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
1623 Remove declaration.
1624 (__libc_enable_secure): Use rtld_hidden_proto.
1625
b8c80a7e
KS
16262014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1627
1628 * elf/dl-load.c
1629 (add_path): New function broken out of _dl_rtld_di_serinfo.
1630 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
1631
ff12c11f
JM
16322014-10-09 Joseph Myers <joseph@codesourcery.com>
1633
5c0508a3
JM
1634 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
1635 parentheses around macro arguments.
1636 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
1637 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
1638 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
1639 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
1640 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
1641 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1642 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1643 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
1644 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
1645 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
1646 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
1647 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
1648 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
1649 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
1650 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
1651 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
1652 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
1653 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
1654 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
1655 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
1656 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
1657 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
1658 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
1659 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1660 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1661 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
1662 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
1663 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
1664 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
1665 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
1666 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
1667 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
1668 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
1669 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
1670 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
1671 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
1672 Likewise.
1673 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
1674 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1675 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1676 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
1677 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
1678 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
1679 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
1680 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
1681 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
1682 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
1683 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
1684 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
1685 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
1686 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
1687 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
1688 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1689 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1690 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
1691 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
1692 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
1693 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
1694 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
1695 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
1696 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
1697 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
1698 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
1699 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
1700 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
1701 (_FP_FRAC_SRS_1): Likewise.
1702 (_FP_FRAC_CLZ_1): Likewise.
1703 (_FP_MUL_MEAT_1_imm): Likewise.
1704 (_FP_MUL_MEAT_1_wide): Likewise.
1705 (_FP_MUL_MEAT_1_hard): Likewise.
1706 (_FP_SQRT_MEAT_1): Likewise.
1707 (_FP_FRAC_ASSEMBLE_1): Likewise.
1708 (_FP_FRAC_DISASSEMBLE_1): Likewise.
1709 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
1710 (__FP_CLZ_2): Likewise.
1711 (_FP_MUL_MEAT_2_wide): Likewise.
1712 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1713 (_FP_MUL_MEAT_2_gmp): Likewise.
1714 (_FP_MUL_MEAT_2_120_240_double): Likewise.
1715 (_FP_SQRT_MEAT_2): Likewise.
1716 (_FP_FRAC_ASSEMBLE_2): Likewise.
1717 (_FP_FRAC_DISASSEMBLE_2): Likewise.
1718 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1719 (_FP_FRAC_CLZ_4): Likewise.
1720 (_FP_MUL_MEAT_4_wide): Likewise.
1721 (_FP_MUL_MEAT_4_gmp): Likewise.
1722 (_FP_SQRT_MEAT_4): Likewise.
1723 (_FP_FRAC_ASSEMBLE_4): Likewise.
1724 (_FP_FRAC_DISASSEMBLE_4): Likewise.
1725 * soft-fp/op-common.h (_FP_CMP): Likewise.
1726 (_FP_CMP_EQ): Likewise.
1727 (_FP_CMP_UNORD): Likewise.
1728 (_FP_TO_INT): Likewise.
1729 (_FP_FROM_INT): Likewise.
1730 [!__FP_CLZ] (__FP_CLZ): Likewise.
1731 (_FP_DIV_HELP_imm): Likewise.
1732 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1733 Likewise.
1734 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
1735 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
1736 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
1737 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
1738 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
1739 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1740 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1741 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
1742 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
1743 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
1744 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
1745 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
1746 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
1747 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
1748 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
1749 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
1750 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
1751 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1752 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1753 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1754 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1755 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1756 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1757 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1758 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1759 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1760 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1761 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1762 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1763 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1764 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1765 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1766 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1767 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1768 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1769 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1770 (FP_UNPACK_RAW_SP): Likewise.
1771 (FP_PACK_RAW_S): Likewise.
1772 (FP_PACK_RAW_SP): Likewise.
1773 (FP_UNPACK_S): Likewise.
1774 (FP_UNPACK_SP): Likewise.
1775 (FP_UNPACK_SEMIRAW_S): Likewise.
1776 (FP_UNPACK_SEMIRAW_SP): Likewise.
1777 (FP_PACK_S): Likewise.
1778 (FP_PACK_SP): Likewise.
1779 (FP_PACK_SEMIRAW_S): Likewise.
1780 (FP_PACK_SEMIRAW_SP): Likewise.
1781 (_FP_SQRT_MEAT_S): Likewise.
1782 (FP_CMP_S): Likewise.
1783 (FP_CMP_EQ_S): Likewise.
1784 (FP_CMP_UNORD_S): Likewise.
1785 (FP_TO_INT_S): Likewise.
1786 (FP_FROM_INT_S): Likewise.
1787
a736ec37
JM
1788 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1789
ff12c11f
JM
1790 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1791 (FP_EX_INVALID_IMZ): Likewise.
1792 (FP_EX_INVALID_IMZ_FMA): Likewise.
1793 (FP_EX_INVALID_ISI): Likewise.
1794 (FP_EX_INVALID_ZDZ): Likewise.
1795 (FP_EX_INVALID_IDI): Likewise.
1796 (FP_EX_INVALID_SQRT): Likewise.
1797 (FP_EX_INVALID_CVI): Likewise.
1798 (FP_EX_INVALID_VC): Likewise.
1799 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1800 "invalid" exceptions.
1801 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1802 (_FP_ADD_INTERNAL): Likewise.
1803 (_FP_MUL): Likewise.
1804 (_FP_FMA): Likewise.
1805 (_FP_DIV): Likewise.
1806 (_FP_CMP_CHECK_NAN): Likewise.
1807 (_FP_SQRT): Likewise.
1808 (_FP_TO_INT): Likewise.
1809 (FP_EXTEND): Likewise.
1810
b6dcfe8c
AM
18112014-10-09 Allan McRae <allan@archlinux.org>
1812
1813 * po/fr.po: Update French translation from translation project.
1814
2d6a47ba
JM
18152014-10-09 Joseph Myers <joseph@codesourcery.com>
1816
cb831245
JM
1817 [BZ #14132]
1818 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
1819 of INTDEF.
1820 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
1821 (__cxa_atexit): Use libc_hidden_proto.
1822 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
1823
5deeb190
JM
1824 [BZ #14132]
1825 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
1826 declaration.
1827 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
1828 [!_ISOMAC] (__iswspace_l_internal): Likewise.
1829 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
1830 [!_ISOMAC] (__iswctype_internal): Likewise.
1831 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
1832 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
1833 alias.
1834 (fcntl): Remove __fcntl_internal alias.
1835 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
1836 __connect_internal alias.
1837 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
1838 Likewise.
1839
454ac701
JM
1840 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
1841 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
1842 FP_DENORM_ZERO.
1843 (_FP_CHECK_FLUSH_ZERO): New macro.
1844 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
1845 (_FP_CMP): Likewise.
1846 (_FP_CMP_EQ): Likewise.
1847 (_FP_TO_INT): Do not set inexact for subnormal arguments if
1848 FP_DENORM_ZERO.
1849 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
1850 (FP_TRUNC): Likewise.
1851
0022e688
JM
1852 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
1853 treated as invalid conversion, not as normal exponent.
1854
73e28d9c
JM
1855 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
1856 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
1857 (_FP_CMP_EQ): Likewise.
1858 (_FP_CMP_UNORD): Likewise.
1859 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
1860 (FP_CMP_EQ_D): Likewise.
1861 (FP_CMP_UNORD_D): Likewise.
1862 * soft-fp/extended.h (FP_CMP_E): Likewise.
1863 (FP_CMP_EQ_E): Likewise.
1864 (FP_CMP_UNORD_E): Likewise.
1865 * soft-fp/quad.h (FP_CMP_Q): Likewise.
1866 (FP_CMP_EQ_Q): Likewise.
1867 (FP_CMP_UNORD_Q): Likewise.
1868 * soft-fp/single.h (FP_CMP_S): Likewise.
1869 (FP_CMP_EQ_S): Likewise.
1870 (FP_CMP_UNORD_S): Likewise.
1871 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
1872 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
1873 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
1874 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
1875 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
1876 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
1877 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
1878 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
1879 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
1880 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
1881 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
1882 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
1883 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
1884 to FP_CMP_Q.
1885 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
1886 FP_CMP_Q.
1887 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
1888 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
1889 FP_CMP_EQ_Q.
1890 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
1891 FP_CMP_Q.
1892 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
1893 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
1894 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
1895 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
1896 FP_CMP_EQ_Q.
1897 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
1898 FP_CMP_Q.
1899 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
1900 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
1901 FP_CMP_EQ_Q.
1902 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
1903 FP_CMP_Q.
1904 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
1905 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
1906 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
1907 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
1908 FP_CMP_EQ_Q.
1909
43059f42
JM
1910 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
1911 a subnormal result, set the underflow exception if trapping on
1912 underflow is enabled.
1913 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
1914 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
1915 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
1916 redefine to 0.
1917 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
1918 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1919 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1920 * soft-fp/extendxftf2.c (__extendxftf2): Use
1921 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
1922
2d6a47ba
JM
1923 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
1924 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
1925 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1926 FP_HANDLE_EXCEPTIONS.
1927 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
1928 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1929 FP_HANDLE_EXCEPTIONS.
1930 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
1931 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1932 FP_HANDLE_EXCEPTIONS.
1933 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
1934 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1935 FP_HANDLE_EXCEPTIONS.
1936
620f462e
JM
19372014-10-08 Joseph Myers <joseph@codesourcery.com>
1938
1939 [BZ #14132]
1940 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
1941 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
1942 use INTUSE.
1943 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
1944 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
1945 Remove alias.
1946 (__adjtimex): Define using libc_hidden_ver.
1947 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
1948 Remove declaration.
1949 (ntp_gettime): Call __adjtimex directly.
1950 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
1951 Remove declaration.
1952 (ntp_gettimex): Call __adjtimex directly.
1953 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
1954 __adjtimex_internal alias.
1955
c763c5d2
RM
19562014-10-08 Roland McGrath <roland@hack.frob.com>
1957
1958 [BZ #17460]
1959 * nscd/nscd.c (more_help): Rewrite list of tables collection
1960 using xstrdup and asprintf.
1961
1962 * nscd/nscd_conf.c: Remove local xstrdup declaration.
1963
7b8fb2b8
RM
19642014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1965 Roland McGrath <roland@hack.frob.com>
1966
1967 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
1968 (do_lookup_unique): ... local function 'enter' here; update callers.
1969
abb280f7
JM
19702014-10-06 Joseph Myers <joseph@codesourcery.com>
1971
f7b42517
JM
1972 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
1973 compat_symbol calls on [SHARED].
1974 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
1975 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
1976 Remove.
1977 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1978 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
1979 (oldsetrlimit): Remove.
1980 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
1982 (lchown): New syscall entry.
1983 (oldsetrlimit): Remove.
1984 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1985 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
1986 (oldsetrlimit): Remove.
1987 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
1988
abb280f7
JM
1989 [BZ #14138]
1990 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
1991 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
1992 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
1993 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
1994 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
1995 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
1996 (fchown): Likewise.
1997 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
1998 (fchown): Likewise.
1999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
2000 Likewise.
2001
47d46237
AZ
20022014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2003
2004 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
2005 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
2006 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
2007 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
2008 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
2009 Likewise.
2010 (__old_sem_post): Likewise.
2011
20122014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 2013
845a7343
CM
2014 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
2015 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
2016 HAVE_CLOCK_GETTIME_VSYSCALL macros.
2017 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
2018 Use INLINE_VSYSCALL macro.
2019 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
2020 __vdso_clock_gettime.
2021 * sysdeps/unix/sysv/linux/tile/init-first.c
2022 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
2023 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
2024 __vdso_clock_gettime.
2025
83d641ef
CM
2026 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
2027 to set up frame more cleanly.
2028
d9cd52e6
CM
2029 * sysdeps/tile/memcmp.c: New file.
2030
4b68ea11
CM
2031 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
2032
c86f7b80
CM
2033 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
2034 * sysdeps/tile/tilegx/strcasestr.c: New file.
2035 * sysdeps/tile/tilegx/strnlen.c: New file.
2036 * sysdeps/tile/tilegx/strstr.c: New file.
2037
1c4c1a6f
CM
2038 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
2039
99d86ea3
AS
20402014-10-06 Arjun Shankar <arjun.is@lostca.se>
2041
2042 * nptl/tst-setuid3.c: Write errors to stdout.
2043
06210a44
KS
20442014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2045
2046 * elf/dl-deps.c
2047 (preload): New functions broken out of _dl_map_object_deps.
2048 (_dl_map_object_deps): Remove a nested function. Update call sites.
2049
6268f532
JM
20502014-10-01 Joseph Myers <joseph@codesourcery.com>
2051
2052 [BZ #14138]
2053 * sysdeps/unix/sysv/linux/execve.c: Remove file.
2054 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
2055
b925285f
SE
20562014-10-01 Steve Ellcey <sellcey@mips.com>
2057
2058 * sysdeps/mips/strcmp.S: New.
2059
754a15c6
JM
20602014-09-30 Joseph Myers <joseph@codesourcery.com>
2061
2062 [BZ #14138]
2063 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
2064 (linkat): Likewise.
2065 (mkdirat): Likewise.
2066 (readlinkat): Likewise.
2067 (renameat): Likewise.
2068 (symlinkat): Likewise.
2069 (unlinkat): Likewise.
2070 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
2071 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
2072 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
2073 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
2074 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
2075 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
2076 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
2077
85bb81c9
WN
20782014-09-30 Will Newton <will.newton@linaro.org>
2079
dc6fe23b
WN
2080 * math/math.h: Define long double math functions if
2081 _LIBC_TEST is defined.
2082 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
2083
85bb81c9
WN
2084 * localedata/Makefile: Move assignment to tests-special
2085 into an ifdef testing run-built-tests.
2086 * timezone/Makefile: Likewise.
2087
b7e02da4
JM
20882014-09-29 Joseph Myers <joseph@codesourcery.com>
2089
2090 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
2091 with $(BASH) not $(SHELL).
2092
62058ce6
CD
20932014-09-29 Carlos O'Donell <carlos@redhat.com>
2094 Matthew LeGendre <legendre1@llnl.gov>
2095
2096 [BZ #17411]
2097 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
2098 l_reloc_result.
2099
8e257a29
KS
21002014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2101
2102 * stdio-common/printf_fp.c
2103 (hack_digit): New function, broken out of ...
2104 (__printf_fp): ... local function here. Update call sites.
2105 hack_digit now takes an additional parameter that is a pointer
2106 to a struct of the referenced locals. Those locals moved inside
2107 the struct and references updated.
2108
f4a58f0d
L
21092014-09-29 H.J. Lu <hongjiu.lu@intel.com>
2110
2111 * aclocal.m4: Require autoconf 2.69.
2112 * configure: Regenerated.
2113 * sysdeps/aarch64/configure: Likewise.
2114 * sysdeps/alpha/configure: Likewise.
2115 * sysdeps/arm/armv7/configure: Likewise.
2116 * sysdeps/arm/configure: Likewise.
2117 * sysdeps/ia64/configure: Likewise.
2118 * sysdeps/mach/configure: Likewise.
2119 * sysdeps/mips/configure: Likewise.
2120 * sysdeps/s390/configure: Likewise.
2121 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
2122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
2123
2124 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
2125 file.
2126 * sysdeps/ia64/configure.ac: Likewise.
2127
93ae1eba
JM
21282014-09-26 Joseph Myers <joseph@codesourcery.com>
2129
1810d3ab
JM
2130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
2131 specify symbol version for ld.so. Do not include entry for
2132 libpthread.
2133 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2134 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2135 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2136
93ae1eba
JM
2137 [BZ #14171]
2138 * Makeconfig [$(build-shared) = yes]
2139 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
2140 makefiles.
2141 [$(build-shared) = yes && $(soversions.mk-done) = t]
2142 ($(common-objpfx)gnu/lib-names.h): Remove rule.
2143 [$(build-shared) = yes && $(soversions.mk-done) = t]
2144 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
2145 to Makerules.
2146 [$(build-shared) = yes && $(soversions.mk-done) = t]
2147 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
2148 here.
2149 [$(build-shared) = yes && $(soversions.mk-done) = t]
2150 (common-generated): Don't append gnu/lib-names.h and
2151 gnu/lib-names.stmp here.
2152 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
2153 (lib-names-h-abi): New variable.
2154 [$(build-shared) = yes && $(soversions.mk-done) = t]
2155 (lib-names-stmp-abi): Likewise.
2156 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2157 abi-variants] (before-compile): Append
2158 $(common-objpfx)$(lib-names-h-abi).
2159 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2160 abi-variants] (common-generated): Append gnu/lib-names.h.
2161 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2162 abi-variants] (install-others-nosubdir): Depend on
2163 $(inst_includedir)/$(lib-names-h-abi).
2164 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2165 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
2166 [$(build-shared) = yes && $(soversions.mk-done) = t]
2167 ($(common-objpfx)$(lib-names-h-abi)): New rule.
2168 [$(build-shared) = yes && $(soversions.mk-done) = t]
2169 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
2170 [$(build-shared) = yes && $(soversions.mk-done) = t]
2171 (common-generated): Append $(lib-names-h-abi) and
2172 $(lib-names-stmp-abi).
2173 * scripts/lib-names.awk: Do not handle multi being set.
2174 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
2175 Remove variable.
2176 (abi-lp64_be-ld-soname): Likewise.
2177 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
2178 Likewise.
2179 (abi-hard-ld-soname): Likewise.
2180 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
2181 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
2182 Remove variable.
2183 (abi-o32_hard-ld-soname): Likewise.
2184 (abi-o32_soft_2008-ld-soname): Likewise.
2185 (abi-o32_hard_2008-ld-soname): Likewise.
2186 (abi-n32_soft-ld-soname): Likewise.
2187 (abi-n32_hard-ld-soname): Likewise.
2188 (abi-n32_soft_2008-ld-soname): Likewise.
2189 (abi-n32_hard_2008-ld-soname): Likewise.
2190 (abi-n64_soft-ld-soname): Likewise.
2191 (abi-n64_hard-ld-soname): Likewise.
2192 (abi-n64_soft_2008-ld-soname): Likewise.
2193 (abi-n64_hard_2008-ld-soname): Likewise.
2194 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
2195 Likewise.
2196 (abi-64-v2-ld-soname): Likewise.
2197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
2198 ld.so entries.
2199 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
2200 variable.
2201 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
2202 entry.
2203 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
2204 variable.
2205 (abi-64-ld-soname): Likewise.
2206 (abi-x32-ld-soname): Likewise.
2207 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
2208 entry.
2209 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2210
68870f12
JM
22112014-09-23 Joseph Myers <joseph@codesourcery.com>
2212
2213 [BZ #14138]
2214 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
2215 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
2216 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
2217 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
2218 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
2219 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
2220 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
2221 syscall entry for GLIBC_2.2 symbol version.
2222 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
2223 Likewise.
2224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2225 (setrlimit): Likewise.
2226 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
2227 Likewise.
2228
ea58f202
WN
22292014-09-23 Will Newton <will.newton@linaro.org>
2230
2231 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
2232 _LINUX_ARM_SYSDEP_H include guard too.
2233 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
2234 define.
2235
69eb9a18
RV
22362014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2237
2238 * sysdeps/unix/sysv/linux/eventfd.c:
2239 Make first argument unsigned.
2240 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
2241 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
2242
20e5a5f7
OB
22432014-09-20 Ondřej Bílka <neleai@seznam.cz>
2244
2245 * socket/recvmmsg.c (recvmmsg): Drop const argument.
2246 * socket/sys/socket.h: Likewise
2247 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
2248
d3c827e7
AK
22492014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2250
2251 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
2252
fe1cc35a
AS
22532014-09-17 Arjun Shankar <arjun.is@lostca.se>
2254
2255 * time/tst-ftime.c: New test.
2256 * time/Makefile (tests): Add tst-ftime.
2257
4e8afe69
JM
22582014-09-17 Joseph Myers <joseph@codesourcery.com>
2259
c4fe3ea7
JM
2260 * soft-fp/extended.h: Fix comment formatting.
2261 * soft-fp/op-1.h: Likewise.
2262 * soft-fp/op-2.h: Likewise.
2263 * soft-fp/op-4.h: Likewise.
2264 * soft-fp/op-8.h: Likewise.
2265 * soft-fp/op-common.h: Likewise.
2266 * soft-fp/soft-fp.h: Likewise.
2267
4e8afe69
JM
2268 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
2269
af296fcd
JM
22702014-09-16 Joseph Myers <joseph@codesourcery.com>
2271
2272 [BZ #6652]
2273 * Makeconfig (soversions-default-setname): Remove variable.
2274 ($(common-objpfx)soversions.i): Don't pass default_setname to
2275 soversions.awk.
2276 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
2277 oldest_abi to abi-versions.awk.
2278 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
2279 * config.make.in (oldest-abi): Remove variable.
2280 * configure.ac (--enable-oldest-abi): Remove configure option.
2281 * configure: Regenerated.
2282 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
2283 text.
2284 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
2285 * scripts/soversions.awk: Do not handle default_setname variable.
2286 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
2287 variable.
2288 * sysdeps/mach/hurd/configure: Regenerated.
2289 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
2290 variable.
2291 * sysdeps/unix/sysv/linux/configure: Regenerated.
2292
545583d6
SP
22932014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2294
d330b980
SP
2295 * elf/Makefile (CFLAGS-interp.c): Remove.
2296 ($(elf-objpfx)runtime-linker.h): Generate header with linker
2297 path string.
2298 * elf/interp.c: Include generated runtime-linker.h
2299
02657da2
SP
2300 * Makerules (lib%.so): Don't include $(+interp) in
2301 prerequisites.
2302 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
2303 * dlfcn/eval.c: Remove file.
2304
653b1080
SP
2305 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
2306 macros.
2307
602f80ec
SP
2308 [BZ #17266]
2309 * misc/sys/cdefs.h: Define __extern_always_inline for clang
2310 4.2 and newer.
2311
545583d6
SP
2312 [BZ #17370]
2313 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
2314
884ddc50
SP
23152014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2316 Jakub Jelinek <jakub@redhat.com>
2317
2318 [BZ #17266]
2319 * libio/stdio.h: Check definition of __fortify_function
2320 instead of __extern_always_inline to include bits/stdio2.h.
2321 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
2322 check if __extern_always_inline is defined.
2323 [__USE_MISC || __USE_XOPEN]: Likewise.
2324 [__USE_ISOC99] Likewise.
2325 * misc/sys/cdefs.h (__fortify_function): Define only if
2326 __extern_always_inline is defined.
2327 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
2328 __extern_always_inline and __extern_inline only for g++-4.3
2329 and newer or a compatible gcc.
2330
a7b87268
AS
23312014-09-15 Andreas Schwab <schwab@linux-m68k.org>
2332
2333 [BZ #17371]
2334 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2335 last change to handle zero prefix length.
2336
3f41521d
SP
23372014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2338
61fe374a
SP
2339 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
2340 _SC_REGEX_VERSION.
2341
3f41521d
SP
2342 * posix/getconf.c (vars): Add _POSIX_IPV6 and
2343 _POSIX_RAW_SOCKETS.
2344
d8f879ee
AM
23452014-09-13 Allan McRae <allan@archlinux.org>
2346
2347 * po/ru.po: Update Russian translation from translation project.
2348
c079afb7
RM
23492014-09-12 Roland McGrath <roland@hack.frob.com>
2350
a62b3c15
RM
2351 * locale/programs/locale.c (show_locale_vars): Inline local function
2352 into its sole call site. Clean up some style nits.
2353 (print_item): New function, broken out of ...
2354 (show_info): ... local function here. Clean up style nits.
2355
d7e49b19
RM
2356 * locale/programs/ld-ctype.c (set_one_default): New function, broken
2357 out of ...
2358 (set_class_defaults): ... local function set_default here.
2359 Define set_default as a macro locally to pass constant parameters.
2360 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
2361 rather than a shared local.
2362
c079afb7
RM
2363 * stdlib/rpmatch.c (try): New function, broken out of ...
2364 (rpmatch): ... local function here. Also, prototypify definition.
2365
0bd72468
JM
23662014-09-12 Joseph Myers <joseph@codesourcery.com>
2367
ba90e050
JM
2368 * scripts/soversions.awk: Do not handle configuration names.
2369 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
2370 vendor and os variables to soversions.awk.
2371 * configure.ac: Do not modify gnu-* host_os.
2372 * configure: Regenerated
2373 * shlib-versions: Remove first column with configuration names.
2374 * nptl/shlib-versions: Likewise.
2375 * nptl_db/shlib-versions: Likewise.
2376 * sysdeps/hppa/shlib-versions: Likewise.
2377 * sysdeps/m68k/shlib-versions: Likewise.
2378 * sysdeps/mach/hurd/shlib-versions: Likewise.
2379 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
2380 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
2381 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
2382 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
2383 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
2384 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
2385 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
2386 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
2387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2388 Likewise.
2389 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2390 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2391 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2392 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2393 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2394 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
2395 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2396 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2397
73a39112
JM
2398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2399 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
2400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2401 Regenerated.
2402 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
2403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2404 Condition symbol version definitions on [HAVE_ELFV2_ABI].
2405
c729e7c1
JM
2406 * shlib-versions: Remove OS-specific entries. Moved to files in
2407 sysdeps.
2408 * sysdeps/mach/hurd/shlib-versions: New file.
2409 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2410
dc932a24
JM
2411 * nptl/shlib-versions: Remove architecture-specific entries.
2412 Moved to files in sysdeps.
2413 * shlib-versions: Likewise.
2414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
2415 file.
2416 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2417 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2418 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2419 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2420
0bd72468
JM
2421 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
2422 (UDP_NO_CHECK6_RX): Likewise.
2423
920238e0
SP
24242014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2425
2426 * sysdeps/posix/sysconf.c (__sysconf): Spell
2427 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
2428
ba7b4d29
FW
24292014-08-12 Florian Weimer <fweimer@redhat.com>
2430
2431 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
2432 loading.
2433 * iconv/Versions (__gconv_transliterate): Export for use from
2434 gconv modules.
2435 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
2436 (struct __gconv_trans_data, __gconv_trans_fct,
2437 __gconv_trans_context_fct, __gconv_trans_query_fct,
2438 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
2439 definitions.
2440 (struct __gconv_step_data): Remove __trans member.
2441 (__gconv_transliterate): Declaration moved from gconv_int.h. No
2442 longer hidden. Remove unused trans_data argument.
2443 * iconv/gconv_int.h (struct trans_struct): Remove definition.
2444 (__gconv_translit_find): Remove declaration.
2445 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
2446 prototype.
2447 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
2448 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
2449 trans_data argument. Add hidden definition.
2450 (__gconv_translit_find): Remove.
2451 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
2452 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
2453 * iconv/skeleton.c: Remove transliteration initialization.
2454 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
2455 __gconv_step_data initialization.
2456 * libio/iofwide.c (__libio_translit_): Remove.
2457 (_IO_fwide): Adjust struct __gconv_step_data initialization.
2458 * wcsmbs/btowc.c (__btowc): Likewise.
2459 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2460 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
2461 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
2462 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
2463 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
2464 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
2465 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
2466 * wcsmbs/wctob.c (wctob): Likewise.
2467
5379aebd
SP
24682014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2469
2470 [BZ #16194]
2471 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
2472 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
2473 register usage.
2474 * sysdeps/x86/Makefile: Adjust.
2475
8c0ab919
RM
24762014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2477 Roland McGrath <roland@hack.frob.com>
2478
2479 * locale/weight.h: Add include guard.
2480 (findidx): Make static rather than auto; take new parameters
2481 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
2482 * locale/weightwc.h: Likewise.
2483 * posix/fnmatch_loop.c
2484 (FCT): Change type of EXTRA from int32_t to wint_t.
2485 Don't include either header inside the function.
2486 Call FINDIDX rather than findidx, and pass new arguments.
2487 #undef FINDIDX at the end of the file.
2488 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
2489 FINDIDX before including fnmatch_loop.c for the non-wide version.
2490 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
2491 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
2492 for the wide version.
2493 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
2494 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
2495 Pass new arguments to findidx.
2496 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
2497 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
2498 Don't #include it inside the function. Pass new arguments to findidx.
2499 * posix/regex_internal.h
2500 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
2501 (re_string_elem_size_at): Don't #include it inside the function.
2502 Pass new arguments to findidx.
2503 * string/strcoll_l.c: #include WEIGHT_H at top level.
2504 (get_next_seq): Don't #include it inside the function.
2505 Pass new arguments to findidx.
2506 (get_next_seq_nocache): Likewise.
2507 * string/strxfrm_l.c: #include WEIGHT_H at top level.
2508 (STRXFRM): Don't #include it inside the function.
2509 Pass new arguments to findidx.
2510
52ffbdf2
FW
25112014-09-11 Florian Weimer <fweimer@redhat.com>
2512
2513 [BZ #17344]
2514 * malloc/malloc.c (unlink): Turn asserts into a call to
2515 malloc_printerr.
2516
984c0ea9
TL
25172014-09-11 Tim Lammens <tim.lammens@gmail.com>
2518
2519 [BZ #17370]
2520 * libio/wfileops (do_ftell_wide): Free OUT.
2521
3daee107
CM
25222014-09-10 Chris Metcalf <cmetcalf@tilera.com>
2523
2524 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
2525
58b930ae
SP
25262014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2527
2528 [BZ #17363]
2529 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
2530 group if the current group is empty.
2531
3b473fec
AZ
25322014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2533
71ae8647
AZ
2534 * benchtests/bench-memset.c (test_main): Add more test from size
2535 from 32 to 512 bytes.
2536 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2537 Add POWER8 memset object.
2538 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2539 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
2540 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
2541 implementation.
2542 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
2543 Likewise.
2544 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
2545 multiarch POWER8 memset optimization.
2546 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
2547 POWER8 memset optimization.
2548
3b473fec
AZ
2549 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2550 Remove bzero multiarch objects.
2551 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
2552 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
2553 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
2554 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
2555 Remove define.
2556 [__bzero]: Redefine to specific name.
2557 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
2558 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
2559 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
2560 define.
2561 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2562 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2563
e6fb9587
FW
25642014-09-10 Florian Weimer <fweimer@redhat.com>
2565
2566 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
2567 warnings into errors.
2568
2569 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
2570 __cxa_thread_atexit_impl prototype.
2571
9d3a350b
SE
25722014-09-09 Steve Ellcey <sellcey@mips.com>
2573
2574 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
2575 Fix capitalization of error message.
2576
0febba23
SE
25772014-09-09 Steve Ellcey <sellcey@mips.com>
2578
2579 * sysdeps/mips/preconfigure: Modify ABI tests.
2580
645a0e9c
CD
25812014-09-07 Carlos O'Donell <carlos@systemhalted.org>
2582
2583 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
2584
d83f0734
CD
25852014-09-07 Roland McGrath <roland@hack.frob.com>
2586 Carlos O'Donell <carlos@systemhalted.org>
2587
2588 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
2589 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
2590 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
2591 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
2592 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
2593 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
2594 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
2595 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
2596 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
2597 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
2598 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
2599 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
2600 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
2601 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
2602 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
2603 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
2604 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
2605 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
2606 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
2607 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
2608 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
2609 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
2610 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
2611 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
2612 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
2613 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
2614 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
2615 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
2616 Deconditionalize the code that was previously under [RESET_PID].
2617 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
2618 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
2619 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
2620 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
2621 include sysdep.h.
2622
21c83793
AM
26232014-09-08 Allan McRae <allan@archlinux.org>
2624
2625 * version.h (RELEASE): Set to "development".
2626 (VERSION): Set to "2.20.90"
2627
1cd9b65c
AM
26282014-09-07 Allan McRae <allan@archlinux.org
2629
b8079dd0
AM
2630 * version.h (RELEASE): Set to "stable".
2631 (VERSION): Set to "2.20"
2632 * include/features.h (__GLIBC_MINOR__): Set to 20.
2633
c46303ef
AM
2634 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
2635 Liebler.
2636
1cd9b65c
AM
2637 * po/ko.po: Update Korean translation from translation project.
2638
8622092d
CM
26392014-09-06 Chris Metcalf <cmetcalf@tilera.com>
2640
2641 [BZ #17354]
2642 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
2643 macro for handling signed relocations.
2644
41488498
FW
26452014-09-03 Florian Weimer <fweimer@redhat.com>
2646
2647 [BZ #17325]
2648 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
2649 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
2650 assert.
2651 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
2652 * iconvdata/ibm935.c (BODY): Likewise.
2653 * iconvdata/ibm937.c (BODY): Likewise.
2654 * iconvdata/ibm939.c (BODY): Likewise.
2655 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
2656 assert.
2657 * iconvdata/Makefile (iconv-test.out): Pass module list to test
2658 script.
2659 * iconvdata/run-iconv-test.sh: New test loop for checking for
2660 decoder crashers.
2661
a78b712d
KR
26622014-09-02 Khem Raj <raj.khem@gmail.com>
2663
2664 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
2665 libm_hidden_ver.
2666
cb08abc6
AM
26672014-09-01 Allan McRae <allan@archlinux.org>
2668
2c31e102
AM
2669 * po/eo.po: Update Esperanto translation from translation project.
2670
cb08abc6
AM
2671 * po/ca.po: Update Catalan translation from translation project.
2672
17a62de1
ST
26732014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
2674
2675 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
2676 __proc_dostop call.
2677
9570bc53
MW
26782014-08-27 Mark Wielaard <mjw@redhat.com>
2679
2680 [BZ #17319]
2681 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
2682 to call set_thread_area instead of hand written asm.
2683 (__NR_set_thread_area): Removed define.
2684 (TLS_FLAG_WRITABLE): Likewise.
2685 (__ASSUME_SET_THREAD_AREA): Remove check.
2686 (TLS_EBX_ARG): Remove define.
2687 (TLS_LOAD_EBX): Likewise.
2688
b0f955c9
ST
26892014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2690
2691 Simplify atomicity of socket creation in bind.
2692
2693 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
2694 looking up the name after linking the file.
2695
529bf515
AM
26962014-08-27 Allan McRae <allan@archlinux.org>
2697
2698 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2699
a1a6a401
FW
27002014-08-26 Florian Weimer <fweimer@redhat.com>
2701
2702 [BZ #17187]
2703 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
2704 trans_compare, open_translit, __gconv_translit_find):
2705 Remove module loading code.
2706
686ab290
AM
27072014-08-26 Allan McRae <allan@archlinux.org>
2708
e4e7cfd2
AM
2709 * po/vi.po: Update Vietnamese translation from translation project.
2710
6aa09f71
AM
2711 * po/uk.po: Update Ukrainian translation from translation project.
2712
edc0660e
AM
2713 * po/fr.po: Update French translation from translation project.
2714
7eea72ac
AM
2715 * po/ru.po: Update Russian translation from translation project.
2716
93c49eff
AM
2717 * po/pl.po: Update Polish translation from translation project.
2718
46acaf63
AM
2719 * po/cs.po: Update Czech translation from translation project.
2720
a9f5ce98
AM
2721 * po/de.po: Update German translation from translation project.
2722
373f2b78
AM
2723 * po/bg.po: Update Bulgarian translation from translation project.
2724
e7548bd8
AM
2725 * po/sv.po: Update Sweedish translation from translation project.
2726
c526bf4d
AM
2727 * po/nl.po: Update Dutch translation from translation project.
2728
686ab290
AM
2729 * po/es.po: Update Spanish translation from translation project.
2730
eb72478a
SP
27312014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2732
dd763fdb
SP
2733 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2734
318c7a58
SP
2735 * catgets/Makefile (CPPFLAGS-gencat): Remove.
2736 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2737 (CPPFLAGS-iconvconfig): Likewise.
2738 * timezone/Makefile (CPPFLAGS-zic): Likewise.
2739
eb72478a
SP
2740 * include/libc-symbols.h: Remove unnecessary check for
2741 NOT_IN_libc.
2742 * nptl/pthreadP.h: Likewise.
2743 * sysdeps/aarch64/setjmp.S: Likewise.
2744 * sysdeps/alpha/setjmp.S: Likewise.
2745 * sysdeps/arm/sysdep.h: Likewise.
2746 * sysdeps/i386/setjmp.S: Likewise.
2747 * sysdeps/m68k/setjmp.c: Likewise.
2748 * sysdeps/posix/getcwd.c: Likewise.
2749 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2750 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2751 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2752 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2753 * sysdeps/sh/sh3/setjmp.S: Likewise.
2754 * sysdeps/sh/sh4/setjmp.S: Likewise.
2755 * sysdeps/unix/alpha/sysdep.h: Likewise.
2756 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2757 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2758 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2759 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2762 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2763 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2764 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2765 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2766 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2767 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2768 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2769 * sysdeps/x86_64/setjmp.S: Likewise.
2770
d44a052c
JM
27712014-08-13 Joseph Myers <joseph@codesourcery.com>
2772
2773 [BZ #17263]
2774 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2775 <stdint.h>.
2776 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2777 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2778
508ce3ac
SP
27792014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2780
e44c8b0e
SP
2781 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2782
508ce3ac
SP
2783 [BZ #17262]
2784 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2785 and __x86_64__ when disabling x87 inline functions.
2786
b4acef1f
L
27872014-08-12 H.J. Lu <hongjiu.lu@intel.com>
2788
2789 [BZ #17259]
2790 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2791 asm statement with __cpuid_count.
2792
61b1ef6e
MF
27932014-08-12 Mike Frysinger <vapier@gentoo.org>
2794
2795 * configure.ac: Change __ehdr_start code to dereference the struct.
2796 Run readelf on the output to look for relocations.
2797 * configure: Regenerated.
2798
898c62f4
JM
27992014-08-12 Joseph Myers <joseph@codesourcery.com>
2800
2801 [BZ #17261]
2802 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2803 value to 0.
2804 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
2805
9a8a5720
RM
28062014-08-12 Roland McGrath <roland@hack.frob.com>
2807
2808 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
2809
4e75751c
BO
28102014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
2811
2812 [BZ #16892]
2813 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
2814 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
2815
bb2ce416
SA
28162014-08-12 Sean Anderson <seanga2@gmail.com>
2817
2818 * malloc/malloc.c: Fix typo in comment.
2819
7950a4ee
AM
28202014-08-09 Allan McRae <allan@archlinux.org>
2821
2822 * Regenerate libc.po.
2823
f469c49f
MF
28242014-08-08 Mike Frysinger <vapier@gentoo.org>
2825
2826 * intl/tst-gettext2.sh: Check every lang file for creation.
2827
656b84c2
WD
28282014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2829
2830 * sysdeps/aarch64/fpu/math_private.h
2831 (libc_feholdsetround_noex_aarch64_ctx): New function.
2832
538e9e45
W
28332014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2834
2835 * sysdeps/arm/armv6/strcpy.S (strcpy):
2836 Fix performance issue in misaligned cases.
2837
d4795e4a
AZ
28382014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2839
2840 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
2841 Move definition from termios.h.
2842 (struct termio): Likewise.
2843 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2844 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2845 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2846 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2847 Likewise.
2848 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
2849 Move definition to ioctl-types.h
2850 (struct termio): Likewise.
2851 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2852 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2853 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2854 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2855 Likewise.
2856
64accb62
RH
28572014-08-05 Richard Henderson <rth@redhat.com>
2858
27bb6dc0
RH
2859 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
2860 exceptions.
2861 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
2862 Add fraiseexcpt.
2863 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2864 Use __feraiseexcept.
2865 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
2866 Protect libm symbols with IS_IN_libm.
2867
64accb62
RH
2868 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
2869
e5292691
BO
28702014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
2871
2872 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
2873
5b4bd2d4
WN
28742014-08-04 Will Newton <will.newton@linaro.org>
2875
2876 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
2877 file.
2878
fcadaeef
MF
28792014-08-04 Mike Frysinger <vapier@gentoo.org>
2880
2881 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
2882 variants for each function.
2883
43a94c64
RM
28842014-08-04 Roland McGrath <roland@hack.frob.com>
2885
2886 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
2887 appended ...
2888 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
2889 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
2890 appended ...
2891 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
2892 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
2893 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
2894 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
2895 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
2896 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
2897 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
2898 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
2899 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
2900 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
2901 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
2902 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
2903 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
2904 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
2905 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
2906 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
2907 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
2908 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
2909 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
2910 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
2911 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
2912 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
2913 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
2914 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
2915 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
2916 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
2917 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
2918 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
2919 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
2920 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
2921 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
2922 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
2923 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
2924 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
2925 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
2926 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
2927 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
2928 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
2929 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
2930 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
2931 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
2932 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
2933 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
2934 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
2935 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
2936 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
2937 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
2938 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
2939 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
2940 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
2941 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
2942 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
2943 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
2944 Update #include.
2945 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
2946 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
2947
8f3c1fa4
RM
29482014-08-04 Roland McGrath <roland@hack.frob.com>
2949
2950 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
2951 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
2952 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
2953 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
2954 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
2955 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
2956
ca08746f
RM
29572014-08-04 Roland McGrath <roland@hack.frob.com>
2958
2959 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
2960 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
2961 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2962 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
2963
9c925ff9
RM
29642014-08-04 Roland McGrath <roland@hack.frob.com>
2965
2966 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
2967 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
2968 (__libc_vfork): Define function under this name.
2969 (__vfork): Define as an alias.
2970 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
2971 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
2972
e641054c
RM
29732014-08-04 Roland McGrath <roland@hack.frob.com>
2974
2975 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
2976 that was previously under [RESET_PID].
2977 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
2978
dacdc867
AS
29792014-08-04 Andreas Schwab <schwab@suse.de>
2980
2981 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
2982
41f725ff
MF
29832014-08-03 Mike Frysinger <vapier@gentoo.org>
2984
2985 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
2986 (main): Likewise.
2987
277cfb31
RM
29882014-08-01 Roland McGrath <roland@hack.frob.com>
2989
2990 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
2991
4896f049
RH
29922014-08-01 Richard Henderon <rth@redhat.com>
2993
2994 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
2995 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
2996 typo in exact zero test.
2997 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2998 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2999 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3000
6f64e7d7
RM
30012014-08-01 Roland McGrath <roland@hack.frob.com>
3002
3003 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
3004 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
3005 * sysdeps/arm/sysdep.h: ... here.
3006 [!__ASSEMBLER__]: Include <stdint.h>.
3007
3f3dd810
SP
30082014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3009
a476ac4b
SP
3010 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
3011 (HAVE_WCTYPE_H): Likewise.
3012 (HAVE_ISWCTYPE): Likewise.
3013 (ENABLE_NLS): Likewise.
3014 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
3015 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
3016
78dd658a
SP
3017 * posix/regex_internal.c: Check if DEBUG is defined and is
3018 set.
3019
3f3dd810
SP
3020 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
3021 (HAVE_MBSRTOWCS): Likewise.
3022 * posix/fnmatch.c: Include string.h unconditionally.
3023
95ee7fb1
SL
30242014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3025
3026 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
3027 reversal.
3028
23fe486b
RM
30292014-07-31 Roland McGrath <roland@hack.frob.com>
3030
f61a113f
RM
3031 * sysdeps/generic/safe-fatal.h: New file.
3032 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
3033 * nptl/forward.c: Include it.
3034 (__pthread_unwind): Use __safe_fatal as default action, rather
3035 than a bogus use of INTERNAL_SYSCALL that could never work.
3036
9fe7e787
RM
3037 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
3038 * configure.ac (libc_cv_builtin_trap): New test.
3039 * configure: Regenerated.
3040 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
3041 (ABORT_INSTRUCTION): Define using __builtin_trap.
3042
23fe486b
RM
3043 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
3044 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
3045 * sysdeps/nptl/nptl-signals.h: New file.
3046 * nptl/pthreadP.h: Include <nptl-signals.h>.
3047
f349489e
SL
30482014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
3049
3050 * sysdeps/s390/s390-64/utf16-utf32-z9.c
3051 (ONE_DIRECTION): Define.
3052 * sysdeps/s390/s390-64/utf8-utf16-z9.c
3053 (ONE_DIRECTION): Define.
3054 * sysdeps/s390/s390-64/utf8-utf32-z9.c
3055 (ONE_DIRECTION): Define.
3056
2f438e20
SL
30572014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
3058
3059 * sysdeps/s390/Makefile: Delete file.
3060 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
3061 * sysdeps/s390/__longjmp.c: Delete file.
3062 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
3063 Remove fields __flags and __reserved.
3064 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
3065 and add versioning.
3066 * sysdeps/s390/rtld-__longjmp.c: Delete file.
3067 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
3068 * sysdeps/s390/rtld-setjmp.S: Likewise.
3069 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
3070 * sysdeps/s390/s390-32/__longjmp.c: ... here.
3071 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
3072 * sysdeps/s390/s390-32/setjmp.S: ... here.
3073 Add versioning.
3074 (__sigsetjmp): Remove setting __flags field.
3075 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
3076 * sysdeps/s390/s390-64/__longjmp.c: ... here.
3077 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
3078 * sysdeps/s390/s390-64/setjmp.S: ... here.
3079 Add versioning.
3080 (__sigsetjmp): Remove setting __flags field.
3081 * sysdeps/s390/setjmp.S: Delete file.
3082 * sysdeps/s390/sigjmp.c: Likewise.
3083 * sysdeps/s390/v1-longjmp.c: Likewise.
3084 * sysdeps/s390/v1-setjmp.h: Likewise.
3085 * sysdeps/s390/v1-sigjmp.c: Likewise.
3086 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
3087 Remove v1-longjmp_chk.
3088 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
3089 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
3090 Include debug/longjmp_chk.c and add versioning.
3091 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
3092 Include nptl/pt-longjmp.c and add versioning.
3093 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
3094 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
3095 Include __longjmp.c.
3096 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3097 Move to ...
3098 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
3099 (__getcontext): Remove setting __flags field.
3100 Add versioning.
3101 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3102 Don't restore upper high grps.
3103 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
3104 Likewise.
3105 (__swapcontext): Remove setting uc_flags field.
3106 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
3107 Delete file.
3108 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3109 Include __longjmp.c.
3110 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3111 Move to ...
3112 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
3113 (__getcontext): Remove setting __flags field.
3114 Add versioning.
3115 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
3116 (__swapcontext): Remove setting uc_flags field.
3117 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
3118 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
3119 Remove fields uc_high_gprs and __reserved.
3120 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
3121 New file with reverted content.
3122 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
3123 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
3124 Regenerated.
3125 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
3126 Regenerated.
3127
6c9578a2
AS
31282014-07-31 Andreas Schwab <schwab@suse.de>
3129
3130 * config.h.in (HAVE_IFUNC): Define to 0.
3131 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
3132 definedness.
3133
05f3633d
LM
31342014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
3135
3136 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3137 memmove-avx-unaligned, memcpy-avx-unaligned and
3138 mempcpy-avx-unaligned.
3139 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3140 Add tests for AVX memcpy functions.
3141 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
3142 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
3143 memcpy_chk.
3144 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
3145 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
3146 memmove_chk.
3147 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
3148 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
3149 mempcpy_chk.
3150 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
3151 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
3152 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
3153
a53fbd8e
AZ
31542013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3155
3156 [BZ #17213]
3157 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
3158 powerpc64le.
3159
0961f7e1
JL
31602014-07-29 Jeff Layton <jlayton@poochiereds.net>
3161
3162 [BZ #16839]
3163 * manual/llio.texi: Add section about open file description locks.
3164 * manual/examples/ofdlocks.c: Example of open file description
3165 lock usage.
3166 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
3167 F_OFD_SETLK, and F_OFD_SETLKW.
3168
cc5fb300
AM
31692014-07-23 Allan McRae <allan@archlinux.org>
3170
3171 * po/es.po: Update Spanish translation from translation project.
3172
23329dca
AS
31732014-07-18 Andreas Schwab <schwab@linux-m68k.org>
3174
3175 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
3176
9c82da17
MR
31772014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
3178
3179 [BZ #17078]
3180 * sysdeps/arm/dl-machine.h (elf_machine_rela)
3181 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
3182 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
3183
29c4f53e
JM
31842014-07-17 Joseph Myers <joseph@codesourcery.com>
3185
831b9896
JM
3186 [BZ #17088]
3187 * math/fesetenv.c (__fesetenv)
3188 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
3189 * math/feupdateenv.c (__feupdateenv)
3190 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
3191
b21c2d50
JM
3192 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
3193 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3194 (__ASSUME_SOCKETCALL): Do not define.
3195
067764ef
JM
3196 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
3197 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
3198 (__ASSUME_SOCKETCALL): Do not define.
3199 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
3200 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3201 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3202 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3203 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3204 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
3205 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3206 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3207
642530c1
JM
3208 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
3209 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
3210 (__ASSUME_SOCKETCALL): Do not define.
3211 (__ASSUME_IPC64): Define unconditionally.
3212 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3213 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3214 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3215 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3216 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
3217 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3218 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
3219 Likewise.
3220
03f77315
JM
3221 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
3222 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
3223 (__ASSUME_SOCKETCALL): Do not define.
3224 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
3225 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3226 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3227 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3228 (__ASSUME_REQUEUE_PI): Define unconditionally.
3229 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
3230 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3231 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3232 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
3233 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3234 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3235
083b1f7c
JM
3236 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
3237 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
3238 (__ASSUME_SOCKETCALL): Do not define.
3239 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
3240 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3241 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3242 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
3243 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3244 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3245
5be44ea6
JM
3246 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
3247 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
3248 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3249 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
3250 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3251 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
3252 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3253 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
3254 (__ASSUME_GETCPU_SYSCALL): Likewise.
3255
d95ffd4c
JM
3256 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
3257 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
3258 cases for individual architectures.
3259 * sysdeps/gnu/configure: Regenerated.
3260 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
3261 LIBC_SLIBDIR_RTLDDIR.
3262 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
3263 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
3264 LIBC_SLIBDIR_RTLDDIR.
3265 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
3266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
3267 LIBC_SLIBDIR_RTLDDIR.
3268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3269 Regenerated.
3270 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
3271 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
3272 file.
3273 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
3274 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
3275 file.
3276 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
3277 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
3278 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
3279 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
3280
29c4f53e
JM
3281 * sysdeps/aarch64/shlib-versions: Move to ...
3282 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
3283 * sysdeps/alpha/shlib-versions: Move to ...
3284 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
3285 * sysdeps/arm/shlib-versions: Move to ...
3286 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
3287 * sysdeps/hppa/shlib-versions: Move all contents except for
3288 libgcc_s entry to ...
3289 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
3290 entry from ...
3291 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
3292 * sysdeps/ia64/shlib-versions: Move to ...
3293 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
3294 entry from ...
3295 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
3296 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
3297 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
3298 * sysdeps/microblaze/shlib-versions: Move to ...
3299 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
3300 * sysdeps/mips/shlib-versions: Move to ...
3301 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
3302 entry from ...
3303 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
3304 * sysdeps/tile/shlib-versions: Move to ...
3305 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
3306 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
3307 from ...
3308 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
3309 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
3310 entry from ...
3311 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
3312
32bead5b
WN
33132014-07-17 Will Newton <will.newton@linaro.org>
3314
57977c4b
WN
3315 * sysdeps/arm/bits/atomic.h
3316 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
3317 (__arch_compare_and_exchange_bool_16_int): Likewise.
3318 (__arch_compare_and_exchange_bool_64_int): Likewise.
3319
32bead5b
WN
3320 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
3321 into an #else block.
3322
37fccd41
RM
33232014-07-16 Roland McGrath <roland@hack.frob.com>
3324
3325 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
3326 just Linux configurations. Test empirically that the compiler sets
3327 __ARM_EABI__, rather than using the tuple to decide.
3328 * sysdeps/arm/preconfigure: Regenerated.
3329 * sysdeps/unix/sysv/linux/arm/configure: File removed.
3330 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
3331 contents appended ...
3332 * sysdeps/arm/configure.ac: ... here.
3333 * sysdeps/arm/configure: Regenerated.
3334
b365f3ec
RM
33352014-07-15 Roland McGrath <roland@hack.frob.com>
3336
8badf496
RM
3337 * nptl/pthread_kill.c: New file.
3338 * nptl/pthread_sigmask.c: New file.
3339 * nptl/pthread_sigqueue.c: New file.
3340
3df6f22e
RM
3341 * sysdeps/nptl/lowlevellock.h: New file.
3342 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
3343 * sysdeps/nptl/lowlevellock-futex.h: New file.
3344
b365f3ec
RM
3345 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
3346 Remove dead declarations.
3347
f2fef657
L
33482014-07-14 H.J. Lu <hongjiu.lu@intel.com>
3349
3350 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
3351 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
3352 config-cflags-avx2.
3353 * sysdeps/x86_64/configure.ac: Likewise.
3354 * sysdeps/i386/configure: Regenerated.
3355 * sysdeps/x86_64/configure: Likewise.
3356 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3357 memset-avx2 only if config-cflags-avx2 is yes.
3358 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3359 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
3360 defined.
3361 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
3362 only if HAVE_AVX2_SUPPORT is defined.
3363 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3364
f6c44d47
AM
33652014-07-14 Alan Modra <amodra@gmail.com>
3366
3367 [BZ #17153]
3368 * elf/elf.h (DT_PPC64_NUM): Correct value.
3369 * NEWS: Add to fixed bug list.
3370
7ee03f00
JM
33712014-07-13 Jim Meyering <meyering@fb.com>
3372
3373 [BZ 17150]
3374 regex: don't deref NULL upon heap allocation failure
3375 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
3376 failure in one more place.
3377 To trigger the segfault, configure grep -with-included-regex,
3378 build it, and run these commands:
3379 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
3380
9d39d517
AS
33812014-07-13 Andreas Schwab <schwab@linux-m68k.org>
3382
3383 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3384
a75b89b7
RH
33852014-07-11 Richard Henderson <rth@redhat.com>
3386
3387 * sysdeps/aarch64/libm-test-ulps: Update.
3388
771eb141
FW
33892014-07-10 Florian Weimer <fweimer@redhat.com>
3390
3391 [BZ #17135]
3392 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
3393 * nptl/allocatestack.c (__nptl_setxid_error): New function.
3394 (__nptl_setxid): Initialize error member. Call
3395 __nptl_setxid_error.
3396 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
3397 * nptl/descr.h (struct xid_command): Add error member.
3398 * nptl/tst-setuid3.c: New file.
3399 * nptl/Makefile (tests): Add it.
3400
bc1da176
AZ
34012014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3402
3403 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
3404 New define.
3405 (__lll_trylock): Use __lll_base_trylock.
3406 (__lll_cond_trylock): Likewise.
3407
887865fc
RM
34082014-07-10 Roland McGrath <roland@hack.frob.com>
3409
c0c6bac9
RM
3410 * nptl/pthread_create.c (start_thread): Use atomic_or and
3411 lll_futex_wake directly rather than lll_robust_dead.
3412 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3413 (lll_robust_dead): Macro removed.
6a42be57 3414 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
3415 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3416 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3417 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3418 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3419 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3420 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3421 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3422 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3423 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3424 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3425 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3426 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3427 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3428 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3429
887865fc
RM
3430 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3431 Use atomic_compare_and_exchange_val_acq directly rather than
3432 lll_robust_trylock.
3433 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3434 (__lll_robust_trylock, lll_robust_trylock): Removed.
3435 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3436 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3437 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3438 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3439 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3440 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3441 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3442 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3443 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3444 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3445 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3446 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3447 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3448 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3449
58536726
FW
34502014-07-02 Florian Weimer <fweimer@redhat.com>
3451
3452 * manual/locale.texi (Locale Names): New section documenting
3453 locale name syntax. Adjust menu and node chaining accordingly.
3454 (Choosing Locale): Reference Locale Names, Locale Categories.
3455 Mention setting LC_ALL=C. Reflect that name syntax is now
3456 documented.
3457 (Locale Categories): New section title. Reference Locale Names.
3458 LC_ALL is an environment variable, but not a category.
3459 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
3460 description, now in Locale Name. Reference that section. Locale
3461 name syntax is now documented.
3462
4e8f95a0
FW
34632014-07-02 Florian Weimer <fweimer@redhat.com>
3464
3465 [BZ #17137]
3466 * locale/findlocale.c (name_present, valid_locale_name): New
3467 functions.
3468 (_nl_find_locale): Use the loc_name variable to store name
3469 candidates. Call name_present and valid_locale_name to check and
3470 validate locale names. Return an error if the locale is invalid.
3471
d1836456
FW
34722014-07-02 Florian Weimer <fweimer@redhat.com>
3473
3474 * locale/setlocale.c (setlocale): Use strdup for allocating
3475 composite name copy.
3476
d69b7f5a
SP
34772014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3478
888c679b
SP
3479 Sync up with gnulib.
3480 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
3481 [!_LIBC && ENABLE_NLS]: Include gettext.h.
3482 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
3483 and _GL_ARG_NONNULL.
3484 [USE_UNLOCKED_IO]: Include unlocked-io.h.
3485 [!_LIBC]: Include code for Windows and Cygwin.
3486 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
3487 Include prototype for int strerror_r.
3488 [!_LIBC] (is_open): New function.
3489 (flush_stdout): New function.
3490 (print_errno_message): Use it.
3491 (error): Likewise.
3492 (error_at_line): Likewise.
3493 (error_tail) Add function attribute macros. Use
3494 __builtin_expect.
3495
180e0e4b
SP
3496 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
3497
d22f1fe2
SP
3498 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
3499
12f2254b
SP
3500 * io/ftw.c: Include sys/param.h unconditionally.
3501
c3c7c360
SP
3502 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
3503
d62aa75a
SP
3504 [BZ #17125]
3505 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
3506 libc_freeres_ptr.
3507 (freecache): New function to free CACHE on exit.
3508
d69b7f5a
SP
3509 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
3510 initialization.
3511
5efe06a1
DM
35122014-07-09 David S. Miller <davem@davemloft.net>
3513
3514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3515
7000d82e
DM
3516 * sysdeps/sparc/nptl/internaltypes.h: Delete.
3517 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
3518 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
3519 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
3520 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
3521 * sysdeps/sparc/nptl/sem_init.c: Likewise.
3522 * sysdeps/sparc/nptl/sem_post.c: Likewise.
3523 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
3524 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
3525 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
3526 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
3527 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
3528 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
3529
c213442d
AS
35302014-07-09 Andreas Schwab <schwab@suse.de>
3531
4a2552c3
AS
3532 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
3533 output.
3534 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
3535 (do_test): Likewise.
3536
c213442d
AS
3537 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3538
82374e65
WN
35392014-07-09 Will Newton <will.newton@linaro.org>
3540
3541 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
3542 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
3543 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
3544 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
3545 * sysdeps/hppa/start.S (_start): Likewise.
3546
6680738a
SP
35472014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3548
6ee3eab4
SP
3549 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
3550
6680738a
SP
3551 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
3552 defined.
3553
80b5c505
SP
35542014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3555
e35c53e3
SP
3556 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
3557 after checking that it is non-NULL.
3558
80b5c505
SP
3559 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
3560
91f4b564
AZ
35612014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3562
27b75f56
AZ
3563 * sysdeps/powerpc/memmove.c: Remove file.
3564 * sysdeps/powerpc/powerpc32/power4/memcopy.h
3565 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
3566 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3567 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
3568 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
3569 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
3570 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
3571 string memmove instead of removed powerpc one.
3572
e7f95bb5
AZ
3573 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3574 [weak_alias]: Fix compiler warning due trailing data.
3575 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
3576 [weak_alias]: Likewise.
3577 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
3578 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
3579
91f4b564
AZ
3580 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3581 (__libc_ifunc_impl_list): Add memmove functions.
3582
7c33f1e5
SP
35832014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3584
3585 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
3586 Remove code.
3587 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
3588 Likewise
3589 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
3590 Likewise
3591 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
3592 Likewise
3593 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
3594 Likewise
3595 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
3596 Likewise
3597 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
3598 Likewise
3599 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
3600 Likewise
3601 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
3602 Likewise
3603 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
3604 Likewise
3605 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
3606 Likewise
3607 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
3608 Likewise
3609 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
3610 Likewise
3611 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
3612 Likewise
3613 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
3614 Likewise
3615 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
3616 Likewise
3617 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
3618 Likewise
3619
3f17b03b
AZ
36202014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3621
87868c24
AZ
3622 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
3623 to avoid alignment traps in non-cacheable memory.
3624 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3625
07aedd78
AZ
3626 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
3627 multiarch objects.
3628 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
3629 file: multiarch power7 memmove.
3630 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
3631 multiarch default memmove.
3632 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
3633 multiarch memove for powerpc32/power4.
3634
17762f66
AZ
3635 * string/bcopy.c: Use full path to include memmove.c.
3636 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
3637 multiarch objects.
3638 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
3639 bcopy for powerpc64.
3640 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
3641 bcopy for powerpc64.
3642 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
3643 and memmove implementations.
3644 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
3645 optimized multiarch memmove for POWER7/powerpc64.
3646 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
3647 default multiarch memmove for powerpc64.
3648 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
3649 multiarch for powerpc64.
3650 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
3651 for POWER7/powerpc64.
3652 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
3653 memmove for POWER7/powerpc64.
3654
d6f68bbe
AZ
3655 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
3656 glibc default one.
3657
3f17b03b
AZ
3658 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
3659 __ELF_NATIVE_CLASS equal to 64.
3660
08192659
RM
36612014-07-07 Roland McGrath <roland@hack.frob.com>
3662
f4c4021b
RM
3663 * sysdeps/nptl/lowlevellock.h: File removed.
3664
f083450f
RM
3665 * NEWS: NPTL is no longer an add-on!
3666 * nptl/internaltypes.h: Moved ...
3667 * sysdeps/nptl/internaltypes.h: ... here.
3668 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
3669 * sysdeps/nptl/fork.c: Likewise.
3670 * sysdeps/nptl/gai_misc.h: Likewise.
3671 * sysdeps/nptl/librt-cancellation.c: Likewise.
3672 * sysdeps/nptl/jmp-unwind.c: Likewise.
3673 * sysdeps/nptl/setxid.h: Likewise.
3674 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
3675 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
3676 * sysdeps/unix/sysv/linux/arm/Implies: New file.
3677 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
3678 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
3679 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
3680 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
3681 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
3682 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
3683 * sysdeps/unix/sysv/linux/mips/Implies: New file.
3684 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
3685 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
3686 * sysdeps/unix/sysv/linux/sh/Implies: New file.
3687 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
3688 * sysdeps/unix/sysv/linux/tile/Implies: New file.
3689 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
3690 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
3691 * nptl/Makeconfig: Moved ...
3692 * sysdeps/nptl/Makeconfig: ... here.
3693 * nptl/configure: File removed.
3694 * nptl/ANNOUNCE: File removed.
3695 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
3696 * sysdeps/unix/sysv/linux/configure: Regenerated.
3697
08192659
RM
3698 * nptl/Makefile (routines): Add libc_pthread_init,
3699 libc_multiple_threads, register-atfork and unregister-atfork.
3700 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
3701 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
3702 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
3703 pthread-pi-defines.sym, structsem.sym.
3704 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
3705 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
3706 [$(subdir) = nptl] (tests): Add tst-setgetname.
3707 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
3708 * sysdeps/unix/sysv/linux/sigaction.c: Just include
3709 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
3710 [!LIBC_SIGACTION]: Remove aliases.
3711 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3712 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3713 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3714 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3715 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3716 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3717 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3718 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3719 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3720 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3721 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3722 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3723 __libc_allocate_rtsig_private.
3724 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3725 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3726 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3727 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3728 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3729 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3730 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3731 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3732 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3733 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3734 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3735 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3736 * nptl/internaltypes.h: ... here.
3737 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3738 * sysdeps/nptl/jmp-unwind.c: ... here.
3739 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3740 * nptl/libc-lowlevellock.c: ... here.
3741 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3742 * nptl/libc_multiple_threads.c: ... here.
3743 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3744 * nptl/libc_pthread_init.c: ... here.
3745 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3746 * nptl/lowlevelbarrier.sym: ... here.
3747 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3748 * nptl/lowlevelcond.sym: ... here.
3749 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3750 * nptl/lowlevellock.c: ... here.
3751 * nptl/lowlevellock.h: Moved ...
3752 * sysdeps/nptl/lowlevellock.h: ... here.
3753 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3754 * nptl/lowlevelrobustlock.c: ... here.
3755 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3756 * nptl/lowlevelrobustlock.sym: ... here.
3757 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3758 * nptl/lowlevelrwlock.sym: ... here.
3759 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3760 * nptl/pt-fork.c: ... here.
3761 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3762 * nptl/pthread-pi-defines.sym: ... here.
3763 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3764 * nptl/pthread_attr_getaffinity.c: ... here.
3765 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3766 * nptl/pthread_attr_setaffinity.c: ... here.
3767 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3768 * nptl/pthread_mutex_cond_lock.c: ... here.
3769 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3770 Update #include.
3771 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3772 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3773 * nptl/pthread_once.c: ... here, replacing old file.
3774 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3775 * nptl/pthread_yield.c: ... here.
3776 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3777 * nptl/register-atfork.c: ... here.
3778 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3779 * nptl/sem_post.c: ... here.
3780 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3781 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3782 * nptl/sem_timedwait.c: ... here.
3783 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3784 * nptl/sem_trywait.c: ... here.
3785 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3786 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3787 * nptl/sem_wait.c: ... here.
3788 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3789 * nptl/structsem.sym: ... here.
3790 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3791 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3792 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3793 * nptl/unregister-atfork.c: ... here.
3794 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3795 * nptl/unwindbuf.sym: ... here.
3796 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3797 * sysdeps/nptl/fork.c: ... here.
3798 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3799 * sysdeps/nptl/fork.h: ... here.
3800 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3801 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3802 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3803 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3804 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
3805 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
3806 * sysdeps/unix/sysv/linux/getpid.c: ... here.
3807 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
3808 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
3809 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
3810 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
3811 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
3812 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
3813 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
3814 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
3815 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
3816 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
3817 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
3818 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
3819 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
3820 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
3821 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
3822 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
3823 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
3824 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
3825 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
3826 * sysdeps/unix/sysv/linux/raise.c: ... here.
3827 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
3828 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
3829 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
3830 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
3831 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
3832 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
3833 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
3834 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
3835 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
3836 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
3837 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
3838 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
3839 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
3840 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
3841 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
3842
96baf6ff
SP
38432014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3844
3845 * sysdeps/generic/memcopy.h: Add comment for
3846 MEMCPY_OK_FOR_FWD_MEMMOVE.
3847
6b7b14b2
WN
38482014-07-04 Will Newton <will.newton@linaro.org>
3849
1570a72b
WN
3850 * string/memchr.c: Merge from gnulib.
3851 [_LIBC]: Remove conditionals.
3852 (__ptr_t): Remove define.
3853 (LONG_MAX_32_BITS): Likewise.
3854 (LONG_MAX): Likewise.
3855 (MEMCHR): Use ANSI prototype and optimize algorithm.
3856
6b7b14b2
WN
3857 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
3858
38851324
SP
38592014-07-03 Roland McGrath <roland@hack.frob.com>
3860
3d9eb57c
RM
3861 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
3862 (lll_futex_timed_wait_bitset): Fix syscall argument count.
3863
78b984ae
RM
3864 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
3865 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
3866 in a bare environment with no <stdlib.h> installed.
3867 * sysdeps/nptl/configure: Regenerated.
3868
2d5976a5
RM
3869 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
3870
c1f5acd4
RM
3871 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
3872 AC_EGREP_CPP for kernel header checks, so they only succeed if
3873 including <linux/version.h> actually works right.
3874 * sysdeps/unix/sysv/linux/configure: Regenerated.
3875
4d614fe5
RM
3876 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
3877 value so it's not diagnosed as unused.
3878
38851324
SP
3879 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
3880 thing) with "ifeq ($(subdir),rt)".
3881
b3ec00e5
RH
38822014-07-03 Richard Henderson <rth@redhat.com>
3883
69862e25
RH
3884 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
3885 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
3886 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
3887
d5e16ade
RH
3888 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
3889 (math_force_eval): New.
3890
ca7b945c
RH
3891 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
3892 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
3893
cd1175a3
RH
3894 * sysdeps/alpha/fpu/s_round.c: Remove file.
3895 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
3896
b3ec00e5
RH
3897 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
3898 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
3899 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
3900 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
3901 (_dl_start, print_statistics): Likewise.
3902 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
3903 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
3904
3905 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3906 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3907 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3908 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3909 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3910 (HP_SMALL_TIMING_AVAIL): Define.
3911 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3912 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3913 (HP_SMALL_TIMING_AVAIL): Define.
3914 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3915 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3916
3917 * sysdeps/aarch64/hp-timing.h: New file.
3918
3919 * sysdeps/generic/hp-timing.h: Remove dead comment.
3920 * sysdeps/generic/hp-timing-common.h: New file.
3921 * sysdeps/alpha/hp-timing.h: Include it.
3922 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
3923 * sysdeps/i386/i686/hp-timing.h: Likewise.
3924 * sysdeps/ia64/hp-timing.h: Likewise.
3925 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3926 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3927 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3928 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3929 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
3930 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
3931 (hp_timing_t): New.
3932
3933 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
3934 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
3935 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
3936 * elf/rtld.c (_dl_start_final): Likewise.
3937 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
3938 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3939 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3940 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3941 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3942 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3943 (HP_TIMING_DIFF_INIT): Remove.
3944 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3945 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3946 (HP_TIMING_DIFF_INIT): Remove.
3947 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3948 * sysdeps/i386/i686/hp-timing.c: Remove file.
3949 * sysdeps/x86_64/hp-timing.c: Remove file.
3950 * sysdeps/ia64/hp-timing.c: Remove file.
3951 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
3952 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
3953 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
3954 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
3955
3956 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
3957 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
3958 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
3959 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3960 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3961 (HP_TIMING_ACCUM): Remove.
3962 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3963 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
3964 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
3965
3966 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
3967 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
3968 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
3969 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
3970 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
3971 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3972 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
3973 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
3974
3975 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
3976
225f410f
MR
39772014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
3978
3979 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
3980
3247f285
SP
39812014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3982
3983 Sync up with gettext.
3984 * intl/loadmsgcat.c: Define O_BINARY if not defined.
3985 [_MSC_VER]: Include malloc.h
3986 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
3987 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
3988 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
3989 TEMP_FAILURE_RETRY. Cast return of alloca.
3990 [!_LIBC] Call gl_rwlock_init.
3991 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
3992
d12704c7
SP
39932014-07-02 Roland McGrath <roland@hack.frob.com>
3994
3995 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
3996 before checking its value.
3997
99f8dc92
SP
39982014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3999
05fdac77
SP
4000 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
4001
99f8dc92
SP
4002 * debug/memcpy_chk.c: Don't include pagecopy.h.
4003 * debug/mempcpy_chk.c: Likewise.
4004 * string/memcpy.c: Likewise.
4005 * string/memmove.c: Likewise.
4006 * sysdeps/powerpc/memmove.c: Likewise.
4007 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
4008 definition of PAGE_COPY_FWD_MAYBE here...
4009 * sysdeps/generic/pagecopy.h: ... from here.
4010 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
4011
bc8ea385
VR
40122014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4013 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4014
4015 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
4016 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
4017 optimizations.
4018 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4019 (__libc_ifunc_impl_list): Likewise.
4020 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
4021 multiarch strcat for PPC64.
4022 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
4023 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
4024
fe5f34e4
RM
40252014-07-02 Roland McGrath <roland@hack.frob.com>
4026
4027 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
4028
256aa665
SP
40292014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4030
d4eb8195
SP
4031 * intl/loadmsgcat.c: Remove declaration of
4032 get_sysdep_segment_value.
4033 (get_sysdep_segment_value): Use ISO C style.
4034 (_nl_load_domain): Use ISO C style. Get rid of redundant
4035 semicolon. Fix typo and formatting in comment.
4036 (_nl_unload_domain): Use ISO C style.
4037
256aa665
SP
4038 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
4039
b100f9aa
WN
40402014-07-02 Will Newton <will.newton@linaro.org>
4041
4042 * malloc/obstack.c: Merge from gnulib master.
4043 [HAVE_CONFIG_H]: Remove conditional code.
4044 [!_LIBC]: Include config.h.
4045 [!ELIDE_CODE]: Don't include inttypes.h, include
4046 stdint.h unconditionally.
4047 (print_and_abort): Mark as _Noreturn.
4048 (_obstack_allocated_p): Mark as __attribute_pure__.
4049 (obstack_free): Rename to __obstack_free.
4050 [!__attribute__]: Remove conditional code.
4051 * malloc/obstack.h: Merge from gnulib master.
4052 [__cplusplus]: Move conditional down.
4053 [!__attribute_pure__]: Define __attribute_pure__ here
4054 if it is not already defined.
4055 (_obstack_memory_used): Mark as __attribute_pure__.
4056 [!__obstack_free]: Define as obstack_free.
4057 [__GNUC__]: Remove check for ancient NeXT gcc.
4058
c4c41244
PE
40592014-07-02 Will Newton <will.newton@linaro.org>
4060 Paul Eggert <eggert@cs.ucla.edu>
4061
4062 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
4063
e1e041c4
SP
40642014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4065
4066 * resolv/gethnamaddr.c: Add comment warning that the file is
4067 not maintained.
4068
ccf431ff
CD
40692014-07-01 Carlos O'Donell <carlos@redhat.com>
4070
d34570a6
CD
4071 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
4072 entries.
4073
ccf431ff
CD
4074 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
4075 entry for aio_cancel and aio_cancel64.
4076 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
4077 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
4078 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
4079 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
4080 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
4081 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
4082 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
4083 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
4084 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
4085 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
4086 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
4087 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
4088 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
4089
ca06321d
RM
40902014-07-01 Roland McGrath <roland@hack.frob.com>
4091
4092 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
4093 * nptl/pthread_mutex_lock.c: Likewise.
4094 * nptl/pthread_mutex_timedlock.c: Likewise.
4095 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
4096
a1ac3184
RH
40972014-07-01 Richard henderson <rth@redhat.com>
4098
631021e0
RH
4099 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
4100 (__isnan, __isnanl): Remove.
4101 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
4102
a1ac3184
RH
4103 * sysdeps/alpha/fpu/libm-test-ulps: Update.
4104
0c1d731f
SL
41052014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4106
4107 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4108
76985d3e
SP
41092014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4110
4111 * resolv/nss_dns/dns-host.c (getanswer_r)
4112 [MULTI_PTRS_ARE_ALIASES]: Remove code.
4113
b0cb3096
JM
41142014-07-01 Joseph Myers <joseph@codesourcery.com>
4115
4116 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4117 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
4118 undefine.
4119 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
4120 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
4121
4d76cb39
RM
41222014-07-01 Roland McGrath <roland@hack.frob.com>
4123
4124 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
4125 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
4126
4127 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
4128 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
4129
4130 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
4131 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
4132 ... here.
4133 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
4134 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
4135
4136 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
4137 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
4138 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
4139 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
4140
4141 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
4142 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
4143 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
4144 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
4145 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
4146 Moved ...
4147 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
4148 ... here.
4149 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
4150 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
4151 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
4152 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
4153 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
4154 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
4155 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
4156 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
4157 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
4158 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
4159 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
4160 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
4161 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
4162 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
4163 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
4164 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
4165 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
4166 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
4167 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
4168 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
4169 ... here.
4170 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
4171 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
4172 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
4173 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
4174 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
4175 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
4176 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
4177 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
4178
0cdcad17
DH
41792014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
4180
4181 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
4182 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
4183 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
4184 Add sysdep.
4185
9b71d0e3
AZ
41862014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4187
4188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4189
665390c2
JM
41902014-06-30 Joseph Myers <joseph@codesourcery.com>
4191
ae05a9d7
JM
4192 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4193 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4194
a7672a2f
JM
4195 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4196
665390c2
JM
4197 * sysdeps/arm/libm-test-ulps: Regenerated.
4198
d7a05d07
MR
41992014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
4200 Roland McGrath <roland@hack.frob.com>
4201
4202 * test-skeleton.c (signal_handler): Kill the whole process group
4203 before killing the child individually.
4204 (main): Report any failure on `setpgid'.
4205
46f1d8a6
RM
42062014-06-30 Roland McGrath <roland@hack.frob.com>
4207
4208 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
4209 from _TLS_H to _ARM_NPTL_TLS_H.
4210 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
4211 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
4212
9c37ec0b
JM
42132014-06-30 Joseph Myers <joseph@codesourcery.com>
4214
ce9c5b3e
JM
4215 [BZ #16539]
4216 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
4217 (__expm1l): Return argument unchanged when small but not
4218 subnormal.
4219
3a6e9887
JM
4220 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
4221 include macro name.
4222 (_FP_UNPACK_RAW_1_P): Likewise.
4223 (_FP_PACK_RAW_1): Likewise.
4224 (_FP_PACK_RAW_1_P): Likewise.
4225 (_FP_MUL_MEAT_1_wide): Likewise.
4226 (_FP_MUL_MEAT_DW_1_hard): Likewise.
4227 (_FP_MUL_MEAT_1_hard): Likewise.
4228 (_FP_DIV_MEAT_1_imm): Likewise.
4229 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
4230 (_FP_DIV_MEAT_1_udiv): Likewise.
4231 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
4232 (_FP_UNPACK_RAW_2): Likewise.
4233 (_FP_UNPACK_RAW_2_P): Likewise.
4234 (_FP_PACK_RAW_2): Likewise.
4235 (_FP_PACK_RAW_2_P): Likewise.
4236 (_FP_MUL_MEAT_DW_2_wide): Likewise.
4237 (_FP_MUL_MEAT_2_wide): Likewise.
4238 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
4239 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4240 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
4241 (_FP_MUL_MEAT_2_gmp): Likewise.
4242 (_FP_DIV_MEAT_2_udiv): Likewise.
4243 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
4244 (_FP_FRAC_SRL_4): Likewise.
4245 (_FP_FRAC_SRST_4): Likewise.
4246 (_FP_FRAC_SRS_4): Likewise.
4247 (_FP_UNPACK_RAW_4): Likewise.
4248 (_FP_UNPACK_RAW_4_P): Likewise.
4249 (_FP_PACK_RAW_4): Likewise.
4250 (_FP_PACK_RAW_4_P): Likewise.
4251 (_FP_MUL_MEAT_DW_4_wide): Likewise.
4252 (_FP_MUL_MEAT_4_wide): Likewise.
4253 (_FP_MUL_MEAT_4_gmp): Likewise.
4254 (umul_ppppmnnn): Likewise.
4255 (_FP_DIV_MEAT_4_udiv): Likewise.
4256 (__FP_FRAC_ADD_4): Likewise.
4257 (__FP_FRAC_SUB_3): Likewise.
4258 (__FP_FRAC_SUB_4): Likewise.
4259 (__FP_FRAC_DEC_3): Likewise.
4260 (__FP_FRAC_DEC_4): Likewise.
4261 (__FP_FRAC_ADDI_4): Likewise.
4262 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
4263 (_FP_FRAC_SRL_8): Likewise.
4264 (_FP_FRAC_SRS_8): Likewise.
4265
9c37ec0b
JM
4266 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
4267 include macro name.
4268 (FP_UNPACK_RAW_EP): Likewise.
4269 (FP_PACK_RAW_E): Likewise.
4270 (FP_PACK_RAW_EP): Likewise.
4271 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
4272 (_FP_ISSIGNAN): Likewise.
4273 (_FP_ADD_INTERNAL): Likewise.
4274 (_FP_FMA): Likewise.
4275 (_FP_CMP): Likewise.
4276 (_FP_SQRT): Likewise.
4277 (_FP_TO_INT): Likewise.
4278 (_FP_FROM_INT): Likewise.
4279 (FP_EXTEND): Likewise.
4280 (_FP_DIV_MEAT_N_loop): Likewise.
4281
2125f674
MR
42822014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
4283
4284 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
4285 throughout.
4286
edea4028
JM
42872014-06-29 Joseph Myers <joseph@codesourcery.com>
4288
4289 [BZ #17097]
4290 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
4291 result with correct sign in case of exponents that produce
4292 overflow except for X very close to 1.
4293
dd0ba018
PE
42942014-06-28 Paul Eggert <eggert@cs.ucla.edu>
4295
4296 mktime: merge #if/#ifdef usage from glibc
4297 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
4298 as that works with both Glibc's and Gnulib's style.
4299 See thread starting at Siddhesh Poyarekar's bug report at:
4300 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
4301
64df73c2
SP
43022014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4303
4304 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
4305 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
4306 * sysdeps/tile/tilegx/memmove.c: Remove file.
4307
f1eafb41
JM
43082014-06-27 Joseph Myers <joseph@codesourcery.com>
4309
4310 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
4311 abi-name definition.
4312 * scripts/soversions.awk: Do not handle or generate ABI lines.
4313 * shlib-versions: Remove ABI entries.
4314 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
4315 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
4316
58eb0862
RM
43172014-06-27 Roland McGrath <roland@hack.frob.com>
4318
37caf178
RM
4319 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
4320 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
4321 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
4322 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
4323 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
4324 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
4325 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
4326 Moved ...
4327 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
4328 ... here.
4329 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
4330 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
4331 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
4332 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
4333 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
4334 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
4335 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
4336 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
4337 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
4338 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
4339 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
4340 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
4341 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
4342 Moved ...
4343 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
4344 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
4345 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
4346 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
4347 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
4348 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
4349 Moved ...
4350 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
4351 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
4352 Moved ...
4353 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
4354 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
4355 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
4356 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
4357 Moved ...
4358 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
4359 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
4360 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
4361 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
4362 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
4363 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
4364 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
4365 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
4366 Moved ...
4367 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
4368 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
4369 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
4370 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
4371 Moved ...
4372 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
4373 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
4374 Moved ...
4375 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
4376 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
4377 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
4378 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
4379 Moved ...
4380 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
4381 ... here.
4382 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
4383 Identical file removed.
4384 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
4385 Moved ...
4386 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
4387 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
4388 Identical file removed.
4389 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
4390 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
4391 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
4392 Moved ...
4393 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
4394 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
4395 Identical file removed.
4396 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
4397 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
4398 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
4399 Identical file removed.
4400 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
4401 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
4402 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
4403 Identical file removed.
4404 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
4405 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
4406 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
4407 Identical file removed.
4408 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
4409 Moved ...
4410 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
4411 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
4412 Identical file removed.
4413 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
4414 Moved ...
4415 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
4416 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
4417 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
4418 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
4419 Identical file removed.
4420 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
4421 Moved ...
4422 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
4423 ... here.
4424 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
4425 Identical file removed.
4426 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
4427 Moved ...
4428 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
4429 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
4430 Identical file removed.
4431 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
4432 Moved ...
4433 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
4434 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
4435 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
4436 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
4437 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
4438 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
4439 Moved ...
4440 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
4441 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
4442 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
4443
58eb0862
RM
4444 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
4445 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
4446 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
4447 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
4448 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
4449
6f12d062
AS
44502014-06-27 Arjun Shankar <arjun.is@lostca.se>
4451
4452 [BZ #17092]
4453 * nscd/nscd.c (monitor_child): Return exit status of child
4454 instead of return value from wait syscall.
4455
be254932
JM
44562014-06-27 Joseph Myers <joseph@codesourcery.com>
4457
cb403c34
JM
4458 * configure.ac (libc_commonpagesize): Remove variable.
4459 (libc_relro_required): Likewise.
4460 (libc_cv_z_relro): Remove configure test.
4461 * configure: Regenerated.
4462 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
4463 variable.
4464 (libc_relro_required): Likewise.
4465 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
4466 (libc_relro_required): Likewise.
4467 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
4468 (libc_relro_required): Likewise.
4469 * sysdeps/arm/preconfigure: Regenerated.
4470 * sysdeps/ia64/preconfigure: Remove file.
4471 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
4472 variable.
4473 (libc_relro_required): Likewise.
4474
be254932
JM
4475 [BZ #16561]
4476 [BZ #16562]
4477 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
4478 (__ieee754_yn): Set FE_TONEAREST mode internally and then
4479 recompute overflowing results in original rounding mode.
4480 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
4481 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
4482 recompute overflowing results in original rounding mode.
4483 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
4484 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4485 recompute overflowing results in original rounding mode.
4486 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
4487 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4488 recompute overflowing results in original rounding mode.
4489 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
4490 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4491 recompute overflowing results in original rounding mode.
4492 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
4493 (libc_feholdsetround_ctx): New macro.
4494 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
4495 * sysdeps/i386/fpu/libm-test-ulps: Update.
4496 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
4497
b351d85a
JM
44982014-06-26 Joseph Myers <joseph@codesourcery.com>
4499
4500 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
4501 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
4502 corresponding .cpsetup call.
4503
3cb4de47
RM
45042014-06-26 Roland McGrath <roland@hack.frob.com>
4505
4506 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
4507 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
4508 * sysdeps/arm/Makefile [$(subdir) = csu]
4509 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
4510 (static-only-routines): Add aeabi_read_tp here.
4511 (shared-only-routines): Add libc-aeabi_read_tp here.
4512 (CFLAGS-libc-start.c): Add -fexceptions here.
4513 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
4514 (sysdep_routines, static-only-routines, shared-only-routines):
4515 Don't add to these here.
4516 (CFLAGS-libc-start.c): Likewise.
4517
4518 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
4519 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4520 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
4521 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4522 * sysdeps/arm/Makefile [$(subdir) = rt]
4523 (librt-sysdep_routines, librt-shared-only-routines):
4524 Append rt-aeabi_unwind_cpp_pr1 here.
4525 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
4526 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
4527 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
4528 (libpthread-sysdep_routines, libpthread-shared-only-routines):
4529 Append nptl-aeabi_unwind_cpp_pr1 here.
4530 (tests): Filter out tst-cleanupx4 here.
4531 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
4532 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
4533 Don't do those here.
4534
354426bb
JM
45352014-06-26 Joseph Myers <joseph@codesourcery.com>
4536
4537 * scripts/list-sources.sh: Do not handle ports specially.
4538
28b0a8c9
RM
45392014-06-26 Roland McGrath <roland@hack.frob.com>
4540
a3dd035d
RM
4541 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
4542 * sysdeps/arm/feupdateenv.c: Likewise.
4543
28b0a8c9
RM
4544 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
4545
e66a8203
JM
45462014-06-26 Joseph Myers <joseph@codesourcery.com>
4547
4548 * manual/texinfo.tex: Update to version 2014-05-05.10 with
4549 trailing whitespace removed.
4550 * scripts/config.guess: Update to version 2014-03-23.
4551 * scripts/config.sub: Update to version 2014-05-01
4552 * scripts/install-sh: Update to version 2013-12-25.23.
4553 * scripts/move-if-change: Update from gnulib.
4554
74171115
SP
45552014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4556
b97c9ce5
SP
4557 * debug/memmove_chk.c: Remove pagecopy.h include.
4558
4000f892
SP
45592014-06-26 Paul Eggert <eggert@cs.ucla.edu>
4560
74171115
SP
4561 * time/mktime.c (leapyear): Remove inline keyword. The code is now
4562 identical to gnulib mktime.
4563
a8779c28
JM
45642014-06-26 Joseph Myers <joseph@codesourcery.com>
4565
e64708de
JM
4566 * configure.ac: Do not test for machine being rs6000. Do not test
4567 for powerpc*-*soft.
4568 * configure: Regenerated.
4569
a8779c28
JM
4570 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
4571 test.
4572 * configure: Regenerated.
4573 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
4574 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
4575 Remove configure test.
4576 * sysdeps/arm/configure: Regenerated.
4577 * sysdeps/nptl/configure.ac: Do not check
4578 libc_cv_asm_cfi_directives.
4579 * sysdeps/nptl/configure: Regenerated.
4580 * sysdeps/x86_64/nptl/configure.ac: Remove file.
4581 * sysdeps/x86_64/nptl/configure: Remove generated file.
4582 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
4583 unconditional.
4584 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
4585
2aac0a86
SP
45862014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4587
059bf913
SP
4588 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
4589 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
4590 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
4591 it is defined.
4592
4cf5b6d0
SP
4593 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
4594 instead of whether it is defined.
4595 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
4596 * sysdeps/hppa/dl-machine.h: Likewise.
4597 * sysdeps/ia64/dl-machine.h: Likewise.
4598 * sysdeps/m68k/dl-machine.h: Likewise.
4599 * sysdeps/microblaze/dl-machine.h: Likewise.
4600 * sysdeps/mips/dl-machine.: Likewise.
4601 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4602 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4603 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4604 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4605 * sysdeps/sh/dl-machine.h: Likewise.
4606 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4607 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4608 * sysdeps/tile/dl-machine.h: Likewise.
4609 * sysdeps/x86_64/dl-machine.h: Likewise.
4610
2aac0a86
SP
4611 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
4612 code.
4613 (verify_persistent_db): Likewise.
4614
6ad2df0b
RM
46152014-06-26 Roland McGrath <roland@hack.frob.com>
4616
d8a483f3
RM
4617 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
4618 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
4619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
4620 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
4621 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4622 Moved ...
4623 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
4624 ... here.
4625 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
4626 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
4627 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
4628 Identical file removed.
4629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
4630 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
4631 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
4632 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
4633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
4634 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
4635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
4636 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
4637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
4638 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
4639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4640 Moved ...
4641 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
4642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
4643 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
4644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
4645 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
4646 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4647 Moved ...
4648 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
4649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
4650 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
4651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
4652 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
4653 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4654 Identical file removed.
4655 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
4656 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
4657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
4658 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
4659 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4660 Moved ...
4661 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
4662 ... here.
4663 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
4664 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
4665 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
4666 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
4667 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
4668 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
4669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
4670 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
4671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
4672 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
4673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4674 Moved ...
4675 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
4676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
4677 Moved ...
4678 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
4679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
4680 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
4681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4682 Moved ...
4683 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
4684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
4685 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
4686
52ae23b4
RM
4687 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
4688 folded into ...
4689 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
4690 * sysdeps/unix/sysv/linux/s390/Versions
4691 (libpthread: GLIBC_2.19): New version set.
4692 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
4693 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
4694 (librt: GLIBC_2.3.3): New version set.
4695 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
4696 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
4697 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
4698 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
4699 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
4700 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
4701 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
4702 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
4703 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
4704 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
4705 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
4706 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
4707 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
4708 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
4709 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
4710 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4711 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4712 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4713 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4714 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4715 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4716 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4717 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4718 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4719 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4720 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4721 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4722 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4723 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4724 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4725 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4726 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4727 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4728 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4729 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4730 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4731 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4732 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4733 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4734 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4735 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4736 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4737 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4738 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4739 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4740
39507e4a
RM
4741 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4742 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4743 (__libc_vfork): Define the function under this name.
4744 [!NOT_IN_libc] (__vfork): Make this an alias.
4745 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4746 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4747 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
4748 (__libc_vfork): Define the function under this name.
4749 [!NOT_IN_libc] (__vfork): Make this an alias.
4750 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4751 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4752 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4753 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4754 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4755 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4756
e549ee56
RM
4757 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4758 code that was previously under [RESET_PID].
4759 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4760 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4761 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4762
6ad2df0b
RM
4763 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4764 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4765 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4766 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4767 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4768 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4769 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4770 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4771 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4772 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4773 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4774 Moved ...
4775 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4776 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4777 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4778 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4779 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4780 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4781 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4782 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4783 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4784 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4785 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4786 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4787 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4788 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4789 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4790 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4791 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4792 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4793 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4794 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4795 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4796 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4797 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4798 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4799 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4800 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4801 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4802 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4803 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
4804
7c1c1d8e
RM
48052014-06-25 Roland McGrath <roland@hack.frob.com>
4806
4807 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
4808 that was previously under [RESET_PID].
4809 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
4810
3e239be6
JM
48112014-06-25 Joseph Myers <joseph@codesourcery.com>
4812
74385da5
JM
4813 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
4814 not undefine and redefine.
4815 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
4816 [O_CLOEXEC]: Make code unconditional.
4817 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
4818 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
4819 <kernel-features.h>.
4820 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
4821 conditional variable definition.
4822 (shm_open) [O_CLOEXEC]: Make code unconditional.
4823 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
4824 code.
4825
c2570a0b
JM
4826 * configure.ac (USE_REGPARMS): Don't define here.
4827 * configure: Regenerated.
4828 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
4829 * sysdeps/i386/configure: Regenerated.
4830
11b076bb
JM
4831 * nptl/createthread.c: Don't include kernel-features.h.
4832 * nptl/pthread_cancel.c: Likewise.
4833 * nptl/pthread_condattr_setclock.c: Likewise.
4834 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
4835 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
4836 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
4837 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
4838 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
4839 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
4840 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4841 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
4842 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4843 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
4844 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
4845 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
4846 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
4847 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
4848 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
4849 * nscd/gai.c: Likewise.
4850 * nss/nss_db/db-open.c: Likewise.
4851 * sysdeps/generic/ldsodefs.h: Likewise.
4852 * sysdeps/sh/nptl/tls.h: Likewise.
4853 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4854 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
4855 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
4856 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4857 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
4858 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4859 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4860 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4861 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4862 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4863 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4864 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4865 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
4866 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
4867 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4868 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
4869 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
4870 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
4871 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
4872 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4873 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4874 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4875 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
4876 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4877 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4878 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4879 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
4880 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4881 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4882 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
4883 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
4884 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4885 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4886 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4887 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4888 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4889 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4890 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4891 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
4892 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4893 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4894 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
4895 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
4896 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4897 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
4898 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
4899 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
4900 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
4901 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
4902 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4903 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4904 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4905 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4906 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4907 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
4908 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4909 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4910 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
4911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
4913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
4914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
4915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
4916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
4922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
4923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
4924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
4925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
4931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
4933 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4934 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4935 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
4936 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4937 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4938 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4939 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4940 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
4941 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
4942 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4943 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4944 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4945 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
4946 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
4947 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
4948 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
4949 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
4950 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
4951 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
4952 * sysdeps/unix/sysv/linux/system.c: Likewise.
4953 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
4954 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
4955 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
4956 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
4957 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
4958 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4959 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4960
92072d57
JM
4961 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
4962 * configure: Regenerated.
4963 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
4964
3e239be6
JM
4965 * configure.ac (base_machine): Do not set specially for particular
4966 machines here.
4967 * configure: Regenerated.
4968 * sysdeps/powerpc/preconfigure: Move machine and base_machine
4969 settings from configure.ac.
4970 * sysdeps/i386/preconfigure: New file.
4971 * sysdeps/s390/preconfigure: Likewise.
4972 * sysdeps/sh/preconfigure: Likewise.
4973 * sysdeps/sparc/preconfigure: Likewise.
4974
06d50baa
RM
49752014-06-25 Roland McGrath <roland@hack.frob.com>
4976
74836003
RM
4977 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
4978 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
4979 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
4980 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
4981 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
4982 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
4983 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
4984 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
4985 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
4986 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
4987 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
4988 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
4989 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
4990 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
4991 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
4992 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
4993 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
4994 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
4995 * sysdeps/sparc/sparc64/Makefile: ... appended here.
4996
4997 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
4998 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
4999 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
5000 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
5001 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
5002 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
5003 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
5004 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
5005 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
5006 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
5007 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
5008 * sysdeps/sparc/sparc32/sem_post.c: ... here.
5009 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
5010 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
5011 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
5012 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
5013 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
5014 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
5015 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
5016 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
5017 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
5018 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
5019 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
5020 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
5021 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
5022 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
5023 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
5024 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
5025 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
5026 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
5027 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
5028 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
5029 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
5030 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
5031 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
5032 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
5033 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
5034 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
5035
06d50baa
RM
5036 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
5037 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
5038 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
5039 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
5040 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5041 Moved ...
5042 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
5043 ... here.
5044 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
5045 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
5046 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
5047 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
5048 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
5049 Moved ...
5050 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
5051 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
5052 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
5053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
5054 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
5055 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
5056 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
5057 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5058 Moved ...
5059 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
5060 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5061 Moved ...
5062 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
5063 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
5064 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
5065 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5066 Moved ...
5067 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
5068 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
5069 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
5070 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
5071 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
5072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
5073 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
5074 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
5075 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
5076 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5077 Moved ...
5078 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
5079 ... here.
5080 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
5081 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
5082 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
5083 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
5084 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
5085 Moved ...
5086 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
5087 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
5088 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
5089 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
5090 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
5091 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
5092 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
5093 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5094 Moved ...
5095 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
5096 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5097 Moved ...
5098 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
5099 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
5100 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
5101 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5102 Moved ...
5103 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
5104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
5105 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
5106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
5107 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
5108
a4ccbc9b
JM
51092014-06-25 Joseph Myers <joseph@codesourcery.com>
5110
0828edbf
JM
5111 * timezone/checktab.awk: Update from tzcode 2014e.
5112 * timezone/private.h: Likewise.
5113 * timezone/tzfile.h: Likewise.
5114 * timezone/zdump.c: Likewise.
5115 * timezone/zic.c: Likewise.
5116
a4ccbc9b
JM
5117 * sysdeps/unix/sysv/linux/kernel-features.h
5118 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
5119 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
5120 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
5121 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5122 Remove conditional code.
5123
9aea0cb8
WN
51242014-06-25 Will Newton <will.newton@linaro.org>
5125
5126 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
5127 (_dl_arm_cap_flags): Add HWCAP2 values.
5128 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
5129 (_DL_HWCAP_COUNT): Increase to 37.
5130 (_DL_HWCAP_LAST): New define.
5131 (_DL_HWCAP2_LAST): New define.
5132 (_dl_procinfo): Add support for printing
5133 AT_HWCAP2 entries.
5134 (_dl_string_hwcap): Use _dl_hwcap_string.
5135
6eaa65ce
AZ
51362014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5137
5138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5139
0f5b7185
JM
51402014-06-25 Joseph Myers <joseph@codesourcery.com>
5141
cfd2ea50
JM
5142 * README: Do not mention ports directory.
5143
cecf2ed4
JM
5144 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
5145 Remove macro.
5146 * sysdeps/unix/sysv/linux/futimes.c: Do not include
5147 <kernel-features.h>.
5148 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
5149 conditional variable definition.
5150 (__futimes): Update comment.
5151 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
5152 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
5153
a638de82
JM
5154 [BZ #16560]
5155 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
5156 arguments close to 0.
5157 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
5158 Likewise.
5159 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
5160 Likewise.
5161 * math/auto-libm-test-in: Add more tests of exp10.
5162 * math/auto-libm-test-out: Regenerated.
5163 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5164
0f5b7185
JM
5165 * sysdeps/unix/sysv/linux/kernel-features.h
5166 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
5167 * sysdeps/unix/sysv/linux/readv.c: Do not include
5168 <kernel-features.h>.
5169 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5170 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5171 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5172 unconditional.
5173 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5174 conditional code.
5175 * sysdeps/unix/sysv/linux/writev.c: Do not include
5176 <kernel-features.h>.
5177 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5178 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5179 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5180 unconditional.
5181 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5182 conditional code.
5183
c7aec4be
WN
51842014-06-25 Will Newton <will.newton@linaro.org>
5185
5186 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
5187 comment changes throughout the file. Remove checks
5188 for HAVE_*_H definitions that are not required.
5189 (__gen_tempname): Call abort if an unknown kind value is
5190 passed.
5191
c5241f95
AS
51922014-06-25 Andreas Schwab <schwab@suse.de>
5193
5194 [BZ #17086]
5195 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
5196 scalbln, scalblnf, scalblnl in libc.
5197
911422da
SP
51982014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5199
5200 [BZ #17086]
5201 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
5202 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5203 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5204
0d749bbe
RM
52052014-06-24 Roland McGrath <roland@hack.frob.com>
5206
5207 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
5208 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
5209 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
5210 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
5211 Update #include.
5212 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
5213 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
5214 Update #include.
5215 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
5216 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
5217 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
5218 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
5219 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
5220 * sysdeps/x86/bits/pthreadtypes.h: ... here.
5221 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
5222 * sysdeps/x86/bits/semaphore.h: ... here.
5223 * sysdeps/x86/nptl/elide.h: Moved ...
5224 * sysdeps/x86/elide.h: ... here.
5225 * sysdeps/x86_64/nptl/Implies: File removed.
5226 * sysdeps/i386/nptl/Implies: File removed.
5227
0ea5d373
JM
52282014-06-24 Joseph Myers <joseph@codesourcery.com>
5229
4060283d
JM
5230 [BZ #16539]
5231 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
5232 return the argument for normal arguments with exponent below -64.
5233 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5234 Likewise.
5235 * math/auto-libm-test-in: Add another test of expm1.
5236 * math/auto-libm-test-out: Regenerated.
5237
e7dd3c8c
JM
5238 [BZ #16287]
5239 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
5240 calling __erfcl for arguments at least 16.
5241 * math/auto-libm-test-in: Add more tests of erf.
5242 * math/auto-libm-test-out: Regenerated.
5243
0ea5d373
JM
5244 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
5245 individual architectures.
5246 * sysdeps/unix/sysv/linux/configure: Regenerated.
5247 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
5248 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
5249 * sysdeps/unix/sysv/linux/powerpc/configure.ac
5250 (ldd_rewrite_script): Define variable.
5251 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
5253 file.
5254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
5255 generated file.
5256 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
5257 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
5258 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
5259 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
5260 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
5261 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
5262 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
5263 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
5264
2307e126
SP
52652014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5266
5267 [BZ #17084]
5268 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
5269 Rename member __data.d to __data.__elision_data.
5270
c0a4ed77
W
52712014-06-24 Wilco <wdijkstr@arm.com>
5272
5273 * NEWS: Add 16918 to fixed bug list.
5274
b8c00573
W
52752014-06-24 Wilco <wdijkstr@arm.com>
5276
5277 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
5278
b5570d92
W
52792014-06-24 Wilco <wdijkstr@arm.com>
5280
5281 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
5282 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
5283 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
5284 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
5285 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
5286 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
5287 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
5288 Use _FPU_MASK_RM.
5289
947bdca2
W
52902014-06-24 Wilco <wdijkstr@arm.com>
5291
5292 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
5293
00f669ed
W
52942014-06-24 Wilco <wdijkstr@arm.com>
5295
5296 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
5297 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
5298 * sysdeps/arm/fesetround.c (fesetround): Remove space.
5299 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
5300
db59bad3
W
53012014-06-24 Wilco <wdijkstr@arm.com>
5302
5303 [BZ #16918]
5304 * sysdeps/arm/feupdateenv.c (feupdateenv):
5305 Rewrite to reduce FPSCR accesses and fix return value.
5306
001f7b77
W
53072014-06-24 Wilco <wdijkstr@arm.com>
5308
5309 * sysdeps/arm/fclrexcpt.c (feclearexcept):
5310 Optimize to avoid unnecessary FPSCR writes.
5311 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
5312 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
5313 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
5314 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
5315
4841e6a6
W
53162014-06-24 Wilco <wdijkstr@arm.com>
5317
5318 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
5319 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
5320 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
5321 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
5322 Call libc_fetestexcept_vfp.
5323 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
5324 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
5325 __SOFTFP__ ifdef so that they can be built for softfp.
5326
0813022c
SP
53272014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5328
08e5862f
SP
5329 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
5330 argument type signed char.
5331
0813022c
SP
5332 * Makerules (check-abi): Dump diff of symlist if the test
5333 fails.
5334
3fc7236a
RM
53352014-06-23 Roland McGrath <roland@hack.frob.com>
5336
aba8ef95
RM
5337 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
5338 using abort.
5339
3fc7236a
RM
5340 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5341 Remove unused variable ST.
5342
4da6db51
JM
53432014-06-23 Joseph Myers <joseph@codesourcery.com>
5344
4648909d
JM
5345 [BZ #16354]
5346 [BZ #17061]
5347 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
5348 small arguments before calling __expm1.
5349 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
5350 small arguments before calling __expm1f.
5351 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
5352 small arguments before calling __expm1l.
5353 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5354 Likewise.
5355 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
5356 * math/auto-libm-test-in: Add more cosh tests. Do not allow
5357 spurious underflow for some cosh tests.
5358 * math/auto-libm-test-out: Regenerated.
5359 * sysdeps/i386/fpu/libm-test-ulps: Update.
5360
46a3d3c7
JM
5361 [BZ #17050]
5362 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
5363 (__ieee754_y1): Set errno if return value overflows.
5364 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
5365 (__ieee754_y1f): Set errno if return value overflows.
5366 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
5367 (__ieee754_y1l): Set errno if return value overflows.
5368 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
5369 (__ieee754_y1l): Set errno if return value overflows.
5370 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
5371 * math/auto-libm-test-out: Regenerated.
5372
863893ec
JM
5373 * math/gen-auto-libm-tests.c: Document use of
5374 ignore-zero-inf-sign.
5375 (input_flag_type): Add value flag_ignore_zero_inf_sign.
5376 (input_flags): Add ignore-zero-inf-sign.
5377 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
5378 * math/gen-libm-test.pl (generate_testfile): Handle
5379 ignore-zero-inf-sign.
5380 * math/auto-libm-test-in: Mark some cpow tests with
5381 ignore-zero-inf-sign and some with xfail-rounding.
5382 * math/auto-libm-test-out: Regenerated.
5383 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
5384 * sysdeps/i386/fpu/libm-test-ulps: Update.
5385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5386
4da6db51
JM
5387 [BZ #16315]
5388 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
5389 overflowing or underflowing operations take place with sign of
5390 result.
5391 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5392 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5393 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
5394 (__ieee754_pow): Recompute overflowing and underflowing results in
5395 original rounding mode.
5396 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
5397 (__powl_helper): Allow negative argument X and scale negated value
5398 as needed. Avoid passing value outside [-1, 1] to f2xm1.
5399 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
5400 overflowing or underflowing operations take place with sign of
5401 result.
5402 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
5403 Include <math.h>.
5404 * math/auto-libm-test-in: Add more tests of pow.
5405 * math/auto-libm-test-out: Regenerated.
5406 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
5407 (pow_tonearest_test_data): Remove.
5408 (pow_test_tonearest): Likewise.
5409 (pow_towardzero_test_data): Likewise.
5410 (pow_test_towardzero): Likewise.
5411 (pow_downward_test_data): Likewise.
5412 (pow_test_downward): Likewise.
5413 (pow_upward_test_data): Likewise.
5414 (pow_test_upward): Likewise.
5415 (main): Don't call removed functions.
5416 * sysdeps/i386/fpu/libm-test-ulps: Update.
5417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5418
5686b236
RM
54192014-06-23 Roland McGrath <roland@hack.frob.com>
5420
5421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
5422 Moved ...
5423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
5424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5425 Moved ...
5426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
5427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5428 Moved ...
5429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
5430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5431 Moved ...
5432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
5433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5434 File removed.
5435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5436 File removed.
5437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
5438 File removed.
5439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
5440 File removed.
5441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
5442 File removed.
5443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
5444 File removed.
5445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
5446 File removed.
5447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5448 File removed.
5449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
5450 File removed.
5451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5452 File removed.
5453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
5454 File removed.
5455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
5456 File removed.
5457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
5458 Moved ...
5459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
5460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
5461 Moved ...
5462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
5463 ... here.
5464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
5465 Moved ...
5466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
5467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
5468 Moved ...
5469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
5470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
5471 Moved ...
5472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
5473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
5474 Moved ...
5475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
5476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
5477 Moved ...
5478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
5479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
5480 Moved ...
5481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
5482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
5483 Moved ...
5484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
5485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
5486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
5487 ... here.
5488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
5489 Moved ...
5490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
5491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
5492 Moved ...
5493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5494 ... here.
5495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
5496 Moved ...
5497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5498 ... here.
5499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5500 Moved ...
5501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5502 ... here.
5503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5504 Moved ...
5505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
5506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5507 Moved ...
5508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
5509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
5510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
5511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5512 Moved ...
5513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
5514 ... here.
5515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5516 Moved ...
5517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
5518 ... here.
5519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5520 Moved ...
5521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
5522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5523 Moved ...
5524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
5525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5526 Moved ...
5527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
5528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5529 Moved ...
5530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
5531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5532 Moved ...
5533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
5534 ... here.
5535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5536 Moved ...
5537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
5538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5539 Moved ...
5540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
5541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5542 Moved ...
5543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
5544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5545 Moved ...
5546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
5547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
5548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
5549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5550 Moved ...
5551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
5552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5553 Moved ...
5554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
5555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5556 Moved ...
5557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
5558 ... here.
5559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5560 Moved ...
5561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
5562 ... here.
5563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5564 Moved ...
5565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
5566 ... here.
5567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5568 Moved ...
5569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
5570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5571 Moved ...
5572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
5573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5574 Moved ...
5575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
5576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5577 Moved ...
5578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
5579 ... here.
5580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5581 Moved ...
5582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
5583 ... here.
5584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5585 Moved ...
5586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
5587 ... here.
5588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5589 Moved ...
5590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
5591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5592 Moved ...
5593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
5594
e6d90d67
WD
55952014-06-23 Will Newton <will.newton@linaro.org>
5596 Wilco <wdijkstr@arm.com>
5597
5598 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
5599 implementation. Include get-rounding-mode.h.
5600 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
5601 [!libc_feholdsetround_noex_ctx]: Define
5602 libc_feholdsetround_noex_ctx.
5603 [!libc_feholdsetround_noexf_ctx]: Define
5604 libc_feholdsetround_noexf_ctx.
5605 [!libc_feholdsetround_noexl_ctx]: Define
5606 libc_feholdsetround_noexl_ctx.
5607 (libc_feholdsetround_ctx): New function.
5608 (libc_feresetround_ctx): New function.
5609 (libc_feholdsetround_noex_ctx): New function.
5610 (libc_feresetround_noex_ctx): New function.
5611
d42df555
RM
56122014-06-23 Roland McGrath <roland@hack.frob.com>
5613
88a46474
RM
5614 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
5615 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
5616 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
5617 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
5618 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
5619 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
5620
15bed472
RM
5621 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
5622 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
5623 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
5624 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
5625 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
5626 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
5627 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
5628 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
5629 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
5630 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
5631 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
5632 Moved ...
5633 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
5634 ... here.
5635 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
5636 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
5637 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
5638 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
5639 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
5640 Moved ...
5641 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
5642 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
5643 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
5644 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
5645 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
5646 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
5647 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
5648 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
5649 Moved ...
5650 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
5651 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
5652 Moved ...
5653 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
5654 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
5655 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
5656 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
5657 Moved ...
5658 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
5659 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
5660 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
5661 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
5662 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
5663 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
5664 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
5665 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
5666 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
5667 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
5668 Moved ...
5669 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
5670 ... here.
5671 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
5672 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
5673 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
5674 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
5675 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
5676 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
5677 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
5678 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
5679 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
5680 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
5681 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
5682 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
5683 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
5684 Moved ...
5685 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
5686 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
5687 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
5688 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
5689 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
5690 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
5691 Moved ...
5692 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
5693 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
5694 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
5695 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
5696 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
5697
d42df555
RM
5698 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
5699 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
5700 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
5701 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
5702 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
5703 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
5704 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
5705 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
5706 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
5707 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
5708 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
5709 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
5710 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5711 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5712 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5713 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5714 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5715 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5716 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5717 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5718 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5719 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5720 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5721 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5722 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5723 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5724 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5725 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5726
76e5216e
JM
57272014-06-23 Joseph Myers <joseph@codesourcery.com>
5728
5729 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5730 (FALLOC_FL_COLLAPSE_RANGE): New macro.
5731 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5732 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5733 (IPV6_PMTUDISC_INTERFACE): Likewise.
5734 (IPV6_PMTUDISC_OMIT): Likewise.
5735
7a81cbcc
AS
57362014-06-23 Andreas Schwab <schwab@suse.de>
5737
5738 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5739 Remove unused errout label.
5740
db224009
AZ
57412014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5742
5743 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5744 macro: hardware supports Vector Crypto instructions.
5745
f393b4aa
WN
57462014-06-23 Will Newton <will.newton@linaro.org>
5747
cc7d0447
WN
5748 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5749 rather than __builtin_expect.
5750
d6d06225
WN
5751 * elf/dl-lookup.c (undefined_msg): Remove variable.
5752 (_dl_lookup_symbol_x): Replace undefined_msg with string
5753 literal.
5754
f393b4aa
WN
5755 * elf/dl-lookup.c (do_lookup_unique): New function.
5756 (do_lookup_x): Move STB_GNU_UNIQUE handling code
5757 to a separate function.
5758
ac60763e
AS
57592014-06-23 Andreas Schwab <schwab@suse.de>
5760
5761 [BZ #17079]
5762 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5763 before reading the next line.
5764
c5c13355
WN
57652014-06-23 Will Newton <will.newton@linaro.org>
5766
5767 * test-skeleton.c (signal_handler): Use printf and %m
5768 rather than perror. Use printf rather than fprintf to
5769 stderr. Use puts rather than fputs to stderr.
5770 (main): Likewise.
5771
bd3675f9
LC
57722014-06-22 Ludovic Courtès <ludo@gnu.org>
5773
5774 * nscd/nscd.c (thread_info_t): Remove typedef.
5775 (thread_info): Remove variable.
5776
d03efb2f
AM
57772014-06-21 Allan McRae <allan@archlinux.org>
5778
5779 * NEWS: Mention CVE-2014-4043.
5780
bc4a86fa
RM
57812014-06-20 Roland McGrath <roland@hack.frob.com>
5782
dc9a54f8
RM
5783 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5784 * nptl/smp.h: ... here.
5785
bd7022c4
RM
5786 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5787
26ffd5e6
RM
5788 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5789 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5790 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5791 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5792
93a6d082
RM
5793 * nptl/allocatestack.c: Include <stack-aliasing.h>.
5794 * nptl/stack-aliasing.h: New file.
5795 * sysdeps/i386/i686/stack-aliasing.h: New file.
5796 * sysdeps/i386/i686/nptl/Makefile: File removed.
5797 * sysdeps/x86_64/stack-aliasing.h: New file.
5798 * sysdeps/x86_64/nptl/Makefile
5799 (CFLAGS-pthread_create.c): Variable removed.
5800
bc4a86fa
RM
5801 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5802 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5803 old file.
5804 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
5805 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
5806 old file.
5807
2272ffc1
JM
58082014-06-21 Joseph Myers <joseph@codesourcery.com>
5809
5810 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5811 (__ASSUME_SIGFRAME_V2): Remove macro.
5812 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
5813 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
5814 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
5815 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
5816 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
5817 Declare as function. Remove conditional macro definitions.
5818 (__default_rt_sa_restorer): Likewise.
5819 (__default_sa_restorer_v1): Remove declaration.
5820 (__default_sa_restorer_v2): Likewise.
5821 (__default_rt_sa_restorer_v1): Likewise.
5822 (__default_rt_sa_restorer_v2): Likewise.
5823 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
5824 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
5825 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
5826
4b88139b
RM
58272014-06-20 Roland McGrath <roland@hack.frob.com>
5828
5829 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
5830 (libpthread-routines): Add sysdep.
5831 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
5832 * sysdeps/unix/sysv/linux/sparc/Versions
5833 (libpthread: GLIBC_2.3.3): New version set.
5834 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
5835 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
5836 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
5837 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
5838 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
5839 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
5840 Moved ...
5841 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
5842 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
5843 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
5844 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
5845 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
5846 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
5847 * sysdeps/sparc/nptl/sem_init.c: ... here.
5848 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
5849 * sysdeps/sparc/nptl/sem_post.c: ... here.
5850 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
5851 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
5852 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
5853 * sysdeps/sparc/nptl/sem_wait.c: ... here.
5854 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
5855 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
5856 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
5857 (libpthread-routines): Add cpu_relax.
5858 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
5859 File removed.
5860 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
5861 (librt: GLIBC_2.3.3): New version set.
5862 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
5863 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
5864 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
5865 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
5866 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
5867 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
5868 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
5869 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
5870 Moved ...
5871 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
5872 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
5873 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
5874 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
5875 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
5876 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
5877 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
5878 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
5879 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
5880 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
5881 Moved ...
5882 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
5883 Update #include.
5884 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
5885 Moved ...
5886 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
5887 Update #include.
5888 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
5889 Moved ...
5890 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
5891 Update #include.
5892 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
5893 Moved ...
5894 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
5895 Update #include.
5896 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
5897 Moved ...
5898 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
5899 Update #include.
5900 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
5901 Moved ...
5902 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
5903 Update #include.
5904 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
5905 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
5906 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
5907 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
5908 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
5909 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
5910 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
5911 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
5912 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
5913 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
5914 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5915 Moved ...
5916 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
5917 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
5918 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
5919 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
5920 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
5921
d7109027
JM
59222014-06-20 Joseph Myers <joseph@codesourcery.com>
5923
9bc6103d
JM
5924 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
5925 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
5926 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5927 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
5928 * nscd/nscd.c: Likewise.
5929 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5930 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5931 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5932 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5933
d7109027
JM
5934 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
5935 <kernel-features.h>.
5936 (init_mq_netlink): Remove conditional have_sock_cloexec
5937 definitions. Remove code conditional on have_sock_cloexec < 0.
5938 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
5939 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
5940 * sysdeps/unix/sysv/linux/opensock.c: Do not include
5941 <kernel-features.h>.
5942 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
5943 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
5944
d92d8f8a
L
59452014-06-20 H.J. Lu <hongjiu.lu@intel.com>
5946
5947 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5948 Add tests for memset_chk and memset.
5949
5950 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
5951 with AVX2_Usable.
5952
4e6d2347
MR
59532014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5954
257ce712
MR
5955 [BZ #16046]
5956 * elf/tst-dl-iter-static.c: New file.
5957 * elf/Makefile (tests-static): Add tst-dl-iter-static.
5958
4e6d2347
MR
5959 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
5960 error.
5961
a2a76afe
JM
59622014-06-20 Joseph Myers <joseph@codesourcery.com>
5963
7fd00f99
JM
5964 * sysdeps/unix/sysv/linux/kernel-features.h
5965 (__ASSUME_F_GETOWN_EX): Remove macro.
5966 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
5967 <kernel-features.h>.
5968 (miss_F_GETOWN_EX): Remove variable or macro.
5969 (do_fcntl): Do not check miss_F_GETOWN_EX.
5970 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
5971
4a103975
JM
5972 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
5973 Remove macro.
5974 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
5975 [!__ASSUME_AT_RANDOM]: Remove conditional code.
5976 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
5977
a2a76afe
JM
5978 * sysdeps/unix/sysv/linux/kernel-features.h
5979 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
5980 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
5981 [ADJ_OFFSET_SS_READ]: Make code unconditional.
5982 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
5983
90e5dd48
MR
59842014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
5985
5986 [BZ #17075]
5987 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
5988 Fix calculation of the symbol's value.
5989 * sysdeps/arm/tst-armtlsdescloc.c: New file.
5990 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
5991 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
5992 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
5993 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
5994 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
5995 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
5996 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
5997 (modules-names): Add `tst-armtlsdescmod',
5998 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
5999 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
6000 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6001 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
6002 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
6003 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6004 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
6005 ($(objpfx)tst-armtlsdescloc): New dependency.
6006 ($(objpfx)tst-armtlsdescextnow): Likewise.
6007 ($(objpfx)tst-armtlsdescextlazy): Likewise.
6008 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
6009 TLS scheme support.
6010 * sysdeps/arm/configure: Regenerate.
6011
809fdf0d
JM
60122014-06-20 Joseph Myers <joseph@codesourcery.com>
6013
6014 * include/fcntl.h (__atfct_seterrno): Remove prototype.
6015 (__atfct_seterrno_2): Likewise.
6016 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
6017 <kernel-features.h>.
6018 (__ASSUME_ATFCTS): Do not undefine and redefine.
6019 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
6020 (__have_atfcts): Remove conditional definition.
6021 (__fxstatat([__NR_fstatat64]: Make code unconditional.
6022 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
6023 unreachable if [__ASSUME_ATFCTS].
6024 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
6025 not undefine and redefine.
6026 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
6027 <kernel-features.h>.
6028 (faccessat) [__NR_faccessat]: Make code unconditional.
6029 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
6030 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
6031 <kernel-features.h>.
6032 (fchmodat) [__NR_fchmodat]: Make code unconditional.
6033 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6034 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
6035 <kernel-features.h>.
6036 (fchownat) [__NR_fchownat]: Make code unconditional.
6037 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
6038 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
6039 <kernel-features.h>.
6040 (futimesat) [__NR_futimesat]: Make code unconditional.
6041 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
6042 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6043 <kernel-features.h>.
6044 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6045 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6046 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6047 <kernel-features.h>.
6048 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
6049 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6050 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
6051 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6052 <kernel-features.h>.
6053 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
6054 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6055 * sysdeps/unix/sysv/linux/linkat.c: Do not include
6056 <kernel-features.h>.
6057 (linkat) [__NR_linkat]: Make code unconditional.
6058 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6059 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
6060 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
6061 <kernel-features.h>.
6062 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
6063 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6064 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
6065 <kernel-features.h>.
6066 (mkdirat) [__NR_mkdirat]: Make code unconditional.
6067 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
6068 * sysdeps/unix/sysv/linux/openat.c: Do not include
6069 <kernel-features.h>.
6070 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
6071 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
6072 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
6073 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
6074 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
6075 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
6076 <kernel-features.h>.
6077 (readlinkat) [__NR_readlinkat]: Make code unconditional.
6078 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
6079 result of INLINE_SYSCALL directly, not via int variable.
6080 * sysdeps/unix/sysv/linux/renameat.c: Do not include
6081 <kernel-features.h>.
6082 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
6083 (renameat) [__NR_renameat]: Make code unconditional.
6084 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
6085 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
6086 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
6087 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
6088 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
6089 (__ASSUME_ATFCTS): Do not undefine and redefine.
6090 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
6091 <kernel-features.h>.
6092 (symlinkat) [__NR_symlinkat]: Make code unconditional.
6093 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6094 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
6095 <kernel-features.h>.
6096 (unlinkat) [__NR_unlinkat]: Make code unconditional.
6097 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6098 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
6099 (__ASSUME_ATFCTS): Do not undefine and redefine.
6100 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6101 <kernel-features.h>.
6102 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6103 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6104 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6105 <kernel-features.h>.
6106 (__xmknodat) [__NR_mknodat]: Make code unconditional.
6107 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6108
224c6c51
L
61092014-06-20 H.J. Lu <hongjiu.lu@intel.com>
6110
6111 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
6112
aa6ec754
AS
61132014-06-20 Andreas Schwab <schwab@linux-m68k.org>
6114
6115 [BZ #17069]
6116 * posix/regcomp.c (parse_reg_exp): Deallocate partially
6117 constructed tree before returning error.
6118 * posix/bug-regexp36.c: Expand test case.
6119
d8c2869d
SL
61202014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
6121
3ef6b850
SL
6122 [BZ #6803]
6123 * math/libm-test.inc (scalbln_test_date):
6124 Add errno expectations.
6125 * math/w_scalblnf.c: New File.
6126 Add wrapper which checks for setting errno to ERANGE.
6127 Add weak_alias for corresponding scalbln function.
6128 * math/w_scalbln.c: Likewise.
6129 * math/w_scalblnl.c: Likewise.
6130 * math/Makefile (libm-calls): Add w_scalbln.
6131 * sysdeps/ieee754/flt-32/s_scalblnf.c:
6132 Remove weak_alias for corresponding scalbln function.
6133 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6134 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6135 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6136 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6137 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
6138 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6139 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
6140 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6141 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
6142 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
6143 Remove long_double_symbol for scalblnl function in libm, libc.
6144 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
6145 Add wrapper which checks for setting errno to ERANGE.
6146 Add long_double_symbol for scalblnl function in libm, libc.
6147 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
6148 Remove long_double_symbol for scalblnl in libm.
6149 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
6150 Add wrapper which checks for setting errno to ERANGE.
6151 Add long_double_symbol for scalblnl function in libm.
6152 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
6153 Do not use wrapper because of own implementation.
6154
c8daec5c
L
61552014-06-19 H.J. Lu <hongjiu.lu@intel.com>
6156
6157 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
6158 3 bytes for __pad1 for x32.
6159 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
6160
5c74e47c
LM
61612014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
6162 H.J. Lu <hongjiu.lu@intel.com>
6163
6164 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
6165 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
6166 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6167 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6168 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
6169
4d43ef1e
AS
61702014-06-19 Andreas Schwab <schwab@linux-m68k.org>
6171
6172 [BZ #17069]
6173 * posix/regcomp.c (parse_expression): Deallocate partially
6174 constructed tree before returning error.
6175 * posix/Makefile.c (tests): Add bug-regex36.
6176 (generated): Add bug-regex36.mtrace.
6177 (tests-special): Add $(objpfx)bug-regex36-mem.out
6178 (bug-regex36-ENV): New variable.
6179 ($(objpfx)bug-regex36-mem.out): New rule.
6180 * posix/bug-regex36.c: New file.
6181
51a7380b
WN
61822014-06-19 Will Newton <will.newton@linaro.org>
6183
6184 * malloc/malloc.c (systrim): If extra is zero then return
6185 early.
6186
91b84fe5
SP
61872014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6188
6189 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
6190
f940b965
RE
61912014-06-19 Richard Earnshaw <rearnsha@arm.com>
6192
6193 * sysdeps/aarch64/strchr.S: New file.
6194
4ba7a00f
JM
61952014-06-18 Joseph Myers <joseph@codesourcery.com>
6196
6197 [BZ #17022]
6198 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
6199 from arguments -2 or below.
6200 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6201 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
6202
b3a9f56b
AS
62032014-06-18 Andreas Schwab <schwab@suse.de>
6204
6205 [BZ #17062]
6206 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
6207 of a bracket expr not to run off the end of the string.
6208 * posix/Makefile (tests): Add tst-fnmatch3.
6209 * posix/tst-fnmatch3.c: New file.
6210
85d89278
JM
62112014-06-18 Joseph Myers <joseph@codesourcery.com>
6212
6213 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
6214 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6215 [$(cross-compiling) = no]: Likewise.
6216 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6217 [$(cross-compiling) = no]: Likewise.
6218
754c5a08
RS
62192014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6220
6221 [BZ #17031]
6222 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
6223 double, adjusted for any remainder from the high double.
6224 * math/libm-test.inc (nearbyint): Add tests.
6225 (rint): Likewise.
6226
556f529d
AZ
62272014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6228
6229 * nptl/sysdeps/powerpc/Makefile: Moved ...
6230 * sysdeps/powerpc/nptl/Makefile: ... here.
6231 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
6232 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
6233 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
6234 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
6235 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
6236 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
6237 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
6238 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
6239 * nptl/sysdeps/powerpc/tls.h: Moved ...
6240 * sysdeps/powerpc/nptl/tls.h: ... here.
6241
91c03c53
JM
62422014-06-16 Joseph Myers <joseph@codesourcery.com>
6243
6244 [BZ #16681]
6245 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
6246 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
6247 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
6248 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
6249 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
6250 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
6251 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
6252 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
6253 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
6254
a76e63c5
AS
62552014-06-17 Andreas Schwab <schwab@linux-m68k.org>
6256
6257 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6258
f2f6d82f
AS
62592014-06-16 Andreas Schwab <schwab@linux-m68k.org>
6260
ea8a15f6
AS
6261 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
6262 defined operator.
6263
f2f6d82f
AS
6264 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
6265 $TIMEOUTFACTOR.
6266
a7291117
FW
62672014-06-16 Florian Weimer <fweimer@redhat.com>
6268
6269 [BZ #17058]
6270 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
6271 non-executed part of the test.
6272
3d7c00e3
AS
62732014-06-16 Andreas Schwab <schwab@suse.de>
6274
6275 * string/bits/string2.h (strdup, strndup): Update feature guard.
6276
6957fb31
DM
62772014-06-14 David S. Miller <davem@davemloft.net>
6278
6279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6280
11b9e55b
AS
62812014-06-14 Andreas Schwab <schwab@linux-m68k.org>
6282
1d2a0492
AS
6283 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
6284 that was previously under [RESET_PID].
6285 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
6286
11b9e55b
AS
6287 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
6288 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
6289 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
6290 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6291 (__libc_vfork): New strong alias.
6292 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
6293
0f6901d0
AK
62942014-06-14 Andi Kleen <ak@linux.intel.com>
6295
6296 * sysdeps/generic/elide.h: New file.
6297
38bbbb9f
SL
62982014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6299
6300 * Makefile (installed-headers): Adjust path of pthread.h header.
6301
45193bb8
RM
63022014-06-13 Roland McGrath <roland@hack.frob.com>
6303
9a25fd1e
RM
6304 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
6305 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
6306 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
6307 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
6308
4004f7e4
RM
6309 * nptl/sysdeps/s390/Makefile: Moved ...
6310 * sysdeps/s390/nptl/Makefile: ... here.
6311 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
6312 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
6313 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
6314 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
6315 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
6316 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
6317 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
6318 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
6319 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
6320 * sysdeps/s390/nptl/pthreaddef.h: ... here.
6321 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
6322 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
6323 * nptl/sysdeps/s390/tls.h: Moved ...
6324 * sysdeps/s390/nptl/tls.h: ... here.
6325
45193bb8
RM
6326 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
6327 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
6328
f6fdf533
DM
63292014-06-13 David S. Miller <davem@davemloft.net>
6330
6331 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
6332 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
6333 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
6334 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
6335 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
6336 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
6337 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
6338 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
6339 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
6340 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
6341 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
6342 Remove RESET_PID cpp guards.
6343 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
6344 Remove RESET_PID cpp guards.
6345 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
6346
f5d71e14
AS
63472014-06-13 Andreas Schwab <schwab@linux-m68k.org>
6348
6349 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
6350 __sp to uintptr_t.
6351
b7aa8caa
AK
63522014-06-13 Andi Kleen <ak@linux.intel.com>
6353
4b266200
AZ
6354 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
6355 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
6356 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
6357 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
6358 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
6359 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
6360 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
6361 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
6362 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
6363 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
6364 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
6365 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
6366 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
6367 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
6368 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
6369 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
6370 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
6371 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
6372 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
6373 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
6374
6375 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
6376 (pthread_rwlock_rdlock): Add elision.
6377 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
6378 (pthread_rwlock_wrlock): Add elision.
6379 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
6380 (pthread_rwlock_trywrlock): Add elision.
6381 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
6382 (pthread_rwlock_tryrdlock): Add elision.
6383 * nptl/pthread_rwlock_unlock.c: Include elide.h.
6384 (pthread_rwlock_tryrdlock): Add elision unlock.
6385 * nptl/sysdeps/pthread/pthread.h:
6386 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
6387 (PTHREAD_RWLOCK_INITIALIZER,
6388 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
6389 Handle new elision field.
6390 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
6391 * sysdeps/arm/nptl/bits/pthreadtypes.h
6392 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6393 * sysdeps/sh/nptl/bits/pthreadtypes.h
6394 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6395 * sysdeps/tile/nptl/bits/pthreadtypes.h
6396 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6397 * sysdeps/a/nptl/bits/pthreadtypes.h
6398 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6399 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6400 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6401 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6402 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6403 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
6404 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6405 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6406 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6407 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6408 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6409 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6410 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6411 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6412 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6413 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
6414 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6415 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
6416 (elision_init): Set try_xbegin to zero when no RTM.
6417 * sysdeps/x86/nptl/bits/pthreadtypes.h
6418 (pthread_rwlock_t): Change __pad1 to __rwelision.
6419 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 6420
a832bdd3
AK
64212014-06-13 Andi Kleen <ak@linux.intel.com>
6422
6423 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
6424 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
6425 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
6426 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
6427
995a46bb
MI
64282014-06-13 Meador Inge <meadori@codesourcery.com>
6429
6430 [BZ #16996]
03ed7738 6431 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
6432 that the cached result has been set before returning it.
6433
45262aee
RM
64342014-06-12 Roland McGrath <roland@hack.frob.com>
6435
febf6cc5
RM
6436 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
6437 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
6438 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
6439 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
6440 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
6441 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
6442
e2682246
RM
6443 * nptl/sysdeps/sparc/Makefile: Moved ...
6444 * sysdeps/sparc/nptl/Makefile: ... here.
6445 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
6446 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
6447 * nptl/sysdeps/sparc/tls.h: Moved ...
6448 * sysdeps/sparc/nptl/tls.h: ... here.
6449 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
6450 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
6451 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
6452 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
6453 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
6454 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
6455 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
6456 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
6457 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
6458 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
6459 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
6460 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
6461 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
6462 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
6463 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
6464 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
6465 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
6466 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
6467 Update #include.
6468 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
6469 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
6470 Update #include.
6471 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
6472 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
6473 Update #include.
6474 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
6475 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
6476 Update #include.
6477
b0725f43
RM
6478 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6479
b14368b8
RM
6480 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
6481 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
6482
c5620eb3
RM
6483 * sysdeps/pthread/posix-timer.h: Include <list.h>.
6484 (struct list_links): Type removed.
6485 (struct thread_node, struct timer_node): Replace struct list_links
6486 with struct list_head.
6487 (list_unlink_ip): Likewise.
6488 * sysdeps/pthread/timer_routines.c
6489 (timer_free_list, thread_free_list, thread_active_list): Likewise.
6490 (list_append, list_insbefore): Likewise.
6491 (list_init): Function removed.
6492 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
6493 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
6494 * sysdeps/pthread/Makefile: ... here, new file.
6495
6496 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
6497 * sysdeps/nptl/Implies: ... here.
6498 * sysdeps/unix/sysv/linux/Implies: Add nptl.
6499 * nptl/sysdeps/pthread/list.h: Moved ...
6500 * include/list.h: ... here.
6501 * nptl/sysdeps/pthread/createthread.c: Moved ...
6502 * nptl/createthread.c: ... here.
6503 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
6504 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
6505 * nptl/pt-longjmp.c: ... here.
6506 * nptl/sysdeps/pthread/Makefile: Moved ...
6507 * sysdeps/nptl/Makefile: ... here.
6508 * nptl/sysdeps/pthread/Subdirs: Moved ...
6509 * sysdeps/nptl/Subdirs: ... here.
6510 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
6511 * sysdeps/nptl/aio_misc.h: ... here.
6512 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
6513 * sysdeps/nptl/bits/libc-lock.h: ... here.
6514 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
6515 * sysdeps/nptl/bits/libc-lockP.h: ... here.
6516 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
6517 * sysdeps/nptl/bits/stdio-lock.h: ... here.
6518 * nptl/sysdeps/pthread/configure: Moved ...
6519 * sysdeps/nptl/configure: ... here.
6520 * nptl/sysdeps/pthread/configure.ac: Moved ...
6521 * sysdeps/nptl/configure.ac: ... here.
6522 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
6523 * sysdeps/nptl/gai_misc.h: ... here.
6524 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
6525 * sysdeps/nptl/librt-cancellation.c: ... here.
6526 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
6527 * sysdeps/nptl/malloc-machine.h: ... here.
6528 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
6529 * sysdeps/nptl/pthread-functions.h: ... here.
6530 * nptl/sysdeps/pthread/pthread.h: Moved ...
6531 * sysdeps/nptl/pthread.h: ... here.
6532 * nptl/sysdeps/pthread/setxid.h: Moved ...
6533 * sysdeps/nptl/setxid.h: ... here.
6534 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
6535 * sysdeps/nptl/sigfillset.c: ... here.
6536 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
6537 * sysdeps/nptl/tcb-offsets.h: ... here.
6538 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
6539 * sysdeps/nptl/tst-mqueue8x.c: ... here.
6540 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
6541 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
6542 * nptl/sysdeps/pthread/allocalim.h: Moved ...
6543 * sysdeps/pthread/allocalim.h: ... here.
6544 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
6545 * sysdeps/pthread/bits/sigthread.h: ... here.
6546 * nptl/sysdeps/pthread/flockfile.c: Moved ...
6547 * sysdeps/pthread/flockfile.c: ... here.
6548 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
6549 * sysdeps/pthread/ftrylockfile.c: ... here.
6550 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
6551 * sysdeps/pthread/funlockfile.c: ... here.
6552 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
6553 * sysdeps/pthread/posix-timer.h: ... here.
6554 * nptl/sysdeps/pthread/timer_create.c: Moved ...
6555 * sysdeps/pthread/timer_create.c: ... here.
6556 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
6557 * sysdeps/pthread/timer_delete.c: ... here.
6558 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
6559 * sysdeps/pthread/timer_getoverr.c: ... here.
6560 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
6561 * sysdeps/pthread/timer_gettime.c: ... here.
6562 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
6563 * sysdeps/pthread/timer_routines.c: ... here.
6564 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
6565 * sysdeps/pthread/timer_settime.c: ... here.
6566 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
6567 * sysdeps/pthread/tst-timer.c: ... here.
6568 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
6569 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
6570
e876b090
RM
6571 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
6572 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
6573
f6b07b3d
RM
6574 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
6575 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
6576 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
6577 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
6578 Update #include target.
6579 * nptl/sysdeps/i386/i686/Makefile: Moved ...
6580 * sysdeps/i386/i686/nptl/Makefile: ... here.
6581 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
6582 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
6583 Update #include target.
6584 * nptl/sysdeps/i386/i686/tls.h: Moved ...
6585 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
6586 * nptl/sysdeps/i386/Makefile: Moved ...
6587 * sysdeps/i386/nptl/Makefile: ... here.
6588 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
6589 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
6590 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
6591 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
6592 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
6593 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
6594 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
6595 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
6596 * sysdeps/i386/nptl/pthreaddef.h: ... here.
6597 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
6598 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
6599 * nptl/sysdeps/i386/tls.h: Moved ...
6600 * sysdeps/i386/nptl/tls.h: ... here.
6601
45262aee
RM
6602 * sysdeps/sh/Makefile [$(subdir) = csu]
6603 (gen-as-const-headers): Add tcb-offsets.sym.
6604 * nptl/sysdeps/sh/Makefile: File removed.
6605 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
6606 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
6607 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
6608 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
6609 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
6610 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
6611 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
6612 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
6613 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
6614 * sysdeps/sh/nptl/pthreaddef.h: ... here.
6615 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
6616 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
6617 * nptl/sysdeps/sh/tls.h: Moved ...
6618 * sysdeps/sh/nptl/tls.h: ... here.
6619 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
6620 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
6621 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
6622 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
6623 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
6624 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
6625 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
6626 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
6627 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
6628 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
6629 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
6630 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
6631 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
6632 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
6633 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
6634 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
6635 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
6636 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
6637 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
6638 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
6639 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
6640 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
6641 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
6642 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
6643 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
6644 Moved ...
6645 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
6646 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
6647 Moved ...
6648 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
6649 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
6650 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
6651 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
6652 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
6653 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
6654 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
6655 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
6656 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
6657 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
6658 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
6659 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
6660 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
6661 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
6662 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
6663 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
6664 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
6665 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
6666 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
6667
35a5e3e3
SL
66682014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6669
6670 * posix/spawn_faction_addopen.c: Include string.h.
6671
14642b85
RM
66722014-06-11 Roland McGrath <roland@hack.frob.com>
6673
6674 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
6675 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
6676 * nptl/sysdeps/x86_64/Makefile: Moved ...
6677 * sysdeps/x86_64/nptl/Makefile: ... here.
6678 * nptl/sysdeps/x86_64/configure: Moved ...
6679 * sysdeps/x86_64/nptl/configure: ... here.
6680 * nptl/sysdeps/x86_64/configure.ac: Moved ...
6681 * sysdeps/x86_64/nptl/configure.ac: ... here.
6682 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
6683 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
6684 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
6685 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
6686 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
6687 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
6688 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
6689 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
6690 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
6691 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
6692 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
6693 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
6694 * nptl/sysdeps/x86_64/tls.h: Moved ...
6695 * sysdeps/x86_64/nptl/tls.h: ... here.
6696 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
6697 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
6698 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
6699 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
6700
6701 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
6702
31c44fea
AZ
67032014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6704
6705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6706
e81a4f9a
JM
67072014-06-11 Joseph Myers <joseph@codesourcery.com>
6708
6709 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6710 type.
6711 [POSIX] (off_t): Likewise.
6712 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6713 [POSIX] (S_ISBLK): Require macro.
6714 [POSIX] (S_ISCHR): Likewise.
6715 [POSIX] (S_ISDIR): Likewise.
6716 [POSIX] (S_ISFIFO): Likewise.
6717 [POSIX] (S_ISREG): Likewise.
6718 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6719 optional-macro.
6720 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6721 type.
6722 [POSIX] (time_t): Likewise.
6723 [POSIX] (timer_t): Likewise.
6724
89e435f3
FW
67252014-06-11 Florian Weimer <fweimer@redhat.com>
6726
6727 [BZ #17048]
6728 * posix/spawn_int.h (struct __spawn_action): Make the path string
6729 non-const to support deallocation.
6730 * posix/spawn_faction_addopen.c
6731 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6732 * posix/spawn_faction_destroy.c
6733 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
6734 path in all spawn_do_open actions.
6735 * posix/tst-spawn.c (do_test): Exercise the copy operation in
6736 posix_spawn_file_actions_addopen.
6737
c3a2ebe1
CM
67382014-06-11 Chris Metcalf <cmetcalf@tilera.com>
6739
6740 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6741 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6742 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6743 conditional code always true.
6744 (__libc_vfork): New alias.
6745
9503784a
RM
67462014-06-11 Roland McGrath <roland@hack.frob.com>
6747
c9cab3d2
RM
6748 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6749 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6750
d3996c79
RM
6751 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6752
ba5ec611
RM
6753 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6754 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6755
f12b4814
RM
6756 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6757 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6758
9503784a
RM
6759 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6760 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6761
e23d3d26
VR
67622014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6763
6764 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6765 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6766 multiarch strcmp for PPC64.
6767 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6768 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6769 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6770 multiarch optimizations.
6771 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6772 (__libc_ifunc_impl_list): Likewise.
6773
42b1161e
SP
67742014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6775
6776 * benchtests/scripts/validate_benchout.py: New script.
6777 * benchtests/Makefile (bench-func): Call it.
6778 * benchtests/scripts/benchout.schema.json: New file.
6779
2d0fc4dc
CM
67802014-06-10 Chris Metcalf <cmetcalf@tilera.com>
6781
4a594c34
AZ
6782 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6783 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6784 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6785 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6786 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6787 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6788 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6789 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6790 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6791 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6792 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6793 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6794 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6795 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6796 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6797 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6798 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 6799 Moved ...
4a594c34 6800 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 6801 ... here.
4a594c34 6802 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 6803 Moved ...
4a594c34
AZ
6804 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
6805 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 6806 Moved ...
4a594c34 6807 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 6808 ... here.
4a594c34 6809 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 6810 Moved ...
4a594c34 6811 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 6812 ... here.
4a594c34 6813 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 6814 Moved ...
4a594c34
AZ
6815 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
6816 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 6817 Moved ...
4a594c34 6818 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 6819 ... here.
4a594c34 6820 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 6821 Moved ...
4a594c34 6822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 6823 ... here.
4a594c34 6824 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 6825 Moved ...
4a594c34
AZ
6826 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
6827 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 6828 Moved ...
4a594c34 6829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 6830 ... here.
4a594c34 6831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 6832 Moved ...
4a594c34 6833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 6834 ... here.
4a594c34 6835 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 6836 Moved ...
4a594c34 6837 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 6838 ... here.
4a594c34 6839 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 6840 Moved ...
4a594c34
AZ
6841 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
6842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 6843 Moved ...
4a594c34 6844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 6845 ... here.
4a594c34 6846 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 6847 Moved ...
4a594c34 6848 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 6849 ... here.
4a594c34 6850 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 6851 Moved ...
4a594c34 6852 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 6853 ... here.
4a594c34 6854 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 6855 Moved ...
4a594c34
AZ
6856 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
6857 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 6858 Moved ...
4a594c34 6859 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 6860 ... here.
4a594c34 6861 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 6862 Moved ...
4a594c34 6863 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 6864 ... here.
4a594c34 6865 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 6866 Moved ...
4a594c34
AZ
6867 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
6868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 6869 Moved ...
4a594c34 6870 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 6871 ... here.
4a594c34 6872 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 6873 Moved ...
4a594c34
AZ
6874 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
6875 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 6876 Moved ...
4a594c34
AZ
6877 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
6878 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 6879 Moved ...
4a594c34 6880 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 6881 ... here.
4a594c34 6882 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 6883 Moved ...
4a594c34 6884 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 6885 ... here.
4a594c34 6886 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 6887 Moved ...
4a594c34 6888 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 6889 ... here.
4a594c34 6890 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 6891 Moved ...
4a594c34
AZ
6892 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
6893 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 6894 Moved ...
4a594c34 6895 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 6896 ... here.
4a594c34 6897 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 6898 Moved ...
4a594c34 6899 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 6900 ... here.
4a594c34
AZ
6901 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
6902 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
6903 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
6904 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
6905 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 6906 Moved ...
4a594c34 6907 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 6908 ... here.
4a594c34
AZ
6909 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
6910 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
6911 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
6912 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
6913 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
6914 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
6915 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
6916 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
6917 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
6918 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
6919 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
6920 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
6921 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 6922 Moved ...
4a594c34
AZ
6923 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
6924 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 6925 Moved ...
4a594c34
AZ
6926 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
6927 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
6928 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
6929 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 6930 Moved ...
4a594c34
AZ
6931 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
6932 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
6933 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
6934 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
6935 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
6936 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
6937 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 6938
0570cfed
W
69392014-06-10 Wilco <wdijkstr@arm.com>
6940
6941 * math/test-fenv-return.c: New file.
6942 * math/Makefile: Add new test test-fenv-return.
6943
f8ba1b56
JM
69442014-06-10 Joseph Myers <joseph@codesourcery.com>
6945
6946 [BZ #17042]
6947 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
6948 when x - 1 is zero.
6949 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
6950 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6951 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
6952 0.0L for an argument of 1.0L.
6953 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
6954 Likewise.
6955 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
6956 value when x - 1 is zero.
6957 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
6958 * sysdeps/i386/fpu/libm-test-ulps: Update.
6959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6960
2c3520d9
BO
69612014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
6962
6963 [BZ #15119]
6964 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
6965
acaa4d24
RM
69662014-06-09 Roland McGrath <roland@hack.frob.com>
6967
6968 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
6969 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
6970
962b744d
RM
69712014-06-09 Roland McGrath <roland@hack.frob.com>
6972
d752f0cc
RM
6973 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6974 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
6975
34eda6d1
RM
6976 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6977 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
6978
50f0a637
RM
6979 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6980 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
6981
08f41f04
RM
6982 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6983 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
6984
962b744d
RM
6985 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
6986 if not already defined.
6987 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
6988 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
6989 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
6990 (TLS_INIT_TP): Use it.
6991 (TLS_DEFINE_INIT_TP): New macro.
6992 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
6993
09f19b05
JM
69942014-06-09 Joseph Myers <joseph@codesourcery.com>
6995
6996 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
6997 constant.
6998 [POSIX] (IXANY): Likewise.
6999 [POSIX] (OLCUC): Likewise.
7000 [POSIX || POSIX2008] (CBAUD): Do not allow.
7001 [POSIX || POSIX2008] (DEFECHO): Likewise.
7002 [POSIX || POSIX2008] (ECHOCTL): Likewise.
7003 [POSIX || POSIX2008] (ECHOKE): Likewise.
7004 [POSIX || POSIX2008] (ECHOPRT): Likewise.
7005 [POSIX || POSIX2008] (EXTA): Likewise.
7006 [POSIX || POSIX2008] (EXTB): Likewise.
7007 [POSIX || POSIX2008] (FLUSHO): Likewise.
7008 [POSIX || POSIX2008] (LOBLK): Likewise.
7009 [POSIX || POSIX2008] (PENDIN): Likewise.
7010 [POSIX || POSIX2008] (SWTCH): Likewise.
7011 [POSIX || POSIX2008] (VDISCARD): Likewise.
7012 [POSIX || POSIX2008] (VDSUSP): Likewise.
7013 [POSIX || POSIX2008] (VLNEXT): Likewise.
7014 [POSIX || POSIX2008] (VREPRINT): Likewise.
7015 [POSIX || POSIX2008] (VSTATUS): Likewise.
7016 [POSIX || POSIX2008] (VWERASE): Likewise.
7017 (B*): Change to B[0123456789]*.
7018 * conform/data/time.h-data [POSIX || UNIX98]
7019 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
7020 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7021 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
7022 [POSIX] (tm_*): Do not allow.
7023
686554bf
JM
70242014-06-07 Joseph Myers <joseph@codesourcery.com>
7025
7026 * Makefile (install): Don't set LANGUAGE.
7027 * Makefile.in (install): Likewise.
7028 * assert/Makefile (test-assert-ENV): Remove variable.
7029 (test-assert-perr-ENV): Likewise.
7030 * elf/Makefile (neededtest4-ENV): Likewise.
7031 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7032 [$(cross-compiling) = no]: Don't set LANGUAGE.
7033 * io/ftwtest-sh (LANG): Remove variable.
7034 * libio/Makefile (tst-widetext-ENV): Likewise.
7035 * manual/install.texi (Running make install): Don't refer to
7036 environment settings for make install.
7037 * INSTALL: Regenerated.
7038 * nptl/tst-tls6.sh: Don't set LANG.
7039 * posix/globtest.sh (LANG): Remove variable.
7040 * string/Makefile (tester-ENV): Likewise.
7041 (inl-tester-ENV): Likewise.
7042 (noinl-tester-ENV): Likewise.
7043 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7044 [$(cross-compiling) = no]: Don't set LANGUAGE.
7045 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
7046 without explicit environment settings.
7047
68e6b6b1
RM
70482014-06-06 Roland McGrath <roland@hack.frob.com>
7049
7050 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
7051 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
7052 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
7053 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
7054
4d3ae034
CM
70552014-06-06 Chris Metcalf <cmetcalf@tilera.com>
7056
7057 * crypt/crypt-private.h [DOS]: Add some includes taken from the
7058 other files in the crypt directory.
7059 * crypt/crypt.c: Remove duplicate includes.
7060 * crypt/crypt-entry.c: Likewise.
7061 * crypt/crypt_util.c: Likewise.
7062
8540f6d2
JM
70632014-06-06 Joseph Myers <joseph@codesourcery.com>
7064
7065 * Makeconfig (run-program-env): New variable.
7066 (run-program-prefix-before-env): Likewise.
7067 (run-program-prefix-after-env): Likewise.
7068 (run-program-prefix): Define in terms of new variables.
7069 (built-program-cmd-before-env): New variable.
7070 (built-program-cmd-after-env): Likewise.
7071 (built-program-cmd): Define in terms of new variables.
7072 (test-program-prefix-before-env): New variable.
7073 (test-program-prefix-after-env): Likewise.
7074 (test-program-prefix): Define in terms of new variables.
7075 (test-program-cmd-before-env): New variable.
7076 (test-program-cmd-after-env): Likewise.
7077 (test-program-cmd): Define in terms of new variables.
7078 * Rules (make-test-out): Use $(run-program-env).
7079 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
7080 (help): Do not mention environment variables. Mention
7081 --timeoutfactor option.
7082 (timeoutfactor): New variable.
7083 (blacklist_exports): Remove function.
7084 (exports): Remove variable.
7085 (command): Do not include ${exports}.
7086 * manual/install.texi (Configuring and compiling): Do not mention
7087 test wrappers preserving environment variables. Mention that last
7088 assignment to a variable must take precedence.
7089 * INSTALL: Regenerated.
7090 * benchtests/Makefile (run-bench): Use $(run-program-env).
7091 * catgets/Makefile ($(objpfx)test1.cat): Use
7092 $(built-program-cmd-before-env), $(run-program-env) and
7093 $(built-program-cmd-after-env).
7094 ($(objpfx)test2.cat): Do not specify environment variables
7095 explicitly.
7096 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
7097 $(run-program-env) and $(built-program-cmd-after-env).
7098 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
7099 $(run-program-env) and $(test-program-cmd-after-env).
7100 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
7101 explicitly.
7102 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
7103 run_program_env and test_program_cmd_after_env arguments.
7104 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
7105 * elf/tst-pathopt.sh: Use run_program_env argument.
7106 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
7107 $(test-wrapper-env) and $(run-program-env).
7108 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
7109 run_program_env arguments.
7110 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
7111 * intl/Makefile ($(objpfx)tst-gettext.out): Use
7112 $(test-program-prefix-before-env), $(run-program-env) and
7113 $(test-program-prefix-after-env).
7114 ($(objpfx)tst-gettext2.out): Likewise.
7115 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
7116 run_program_env and test_program_prefix_after_env arguments.
7117 * intl/tst-gettext2.sh: Likewise.
7118 * intl/tst-gettext4.sh: Do not set environment variables
7119 explicitly.
7120 * intl/tst-gettext6.sh: Likewise.
7121 * intl/tst-translit.sh: Likewise.
7122 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
7123 $(test-program-prefix-before-env), $(run-program-env) and
7124 $(test-program-prefix-after-env).
7125 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
7126 run_program_env and test_program_prefix_after_env arguments.
7127 * math/Makefile (run-regen-ulps): Use $(run-program-env).
7128 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
7129 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
7130 explicitly with each use of ${test_wrapper_env}.
7131 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
7132 $(test-program-prefix-before-env), $(run-program-env) and
7133 $(test-program-prefix-after-env).
7134 * posix/tst-getconf.sh: Do not set environment variables
7135 explicitly.
7136 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
7137 run_program_env and test_program_prefix_after_env arguments.
7138 * stdio-common/tst-printf.sh: Do not set environment variables
7139 explicitly.
7140 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
7141 $(test-program-prefix-before-env), $(run-program-env) and
7142 $(test-program-prefix-after-env).
7143 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
7144 run_program_env and test_program_prefix_after_env arguments.
7145 Split $test calls into $test_pre and $test.
7146 * timezone/Makefile (build-testdata): Use
7147 $(built-program-cmd-before-env), $(run-program-env) and
7148 $(built-program-cmd-after-env).
7149
ed36bfa1
AZ
71502014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7151
7152 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
7153 strlen for non SHARED builds.
7154
fc75bf46
SP
71552014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7156
7157 * nptl/allocatestack.c (check_list): Inlined function...
7158 (__reclaim_stacks): ... here.
7159
d89b3d80
OB
71602014-06-05 Ondřej Bílka <neleai@seznam.cz>
7161
7162 [BZ #15698]
7163 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7164 memory overrun.
7165
2bf18041
JM
71662014-06-05 Joseph Myers <joseph@codesourcery.com>
7167
7168 * Rules (make-test-out): Include
7169 LOCPATH=$(common-objpfx)localedata in default environment.
7170 * debug/Makefile (tst-chk1-ENV): Remove variable.
7171 (tst-chk2-ENV): Likewise.
7172 (tst-chk3-ENV): Likewise.
7173 (tst-chk4-ENV): Likewise.
7174 (tst-chk5-ENV): Likewise.
7175 (tst-chk6-ENV): Likewise.
7176 (tst-lfschk1-ENV): Likewise.
7177 (tst-lfschk2-ENV): Likewise.
7178 (tst-lfschk3-ENV): Likewise.
7179 (tst-lfschk4-ENV): Likewise.
7180 (tst-lfschk5-ENV): Likewise.
7181 (tst-lfschk6-ENV): Likewise.
7182 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
7183 (tst-iconv7-ENV): Likewise.
7184 * intl/Makefile (LOCPATH-ENV): Likewise.
7185 (tst-codeset-ENV): Likewise.
7186 (tst-gettext3-ENV): Likewise.
7187 (tst-gettext5-ENV): Likewise.
7188 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
7189 (tst-fopenloc-ENV): Likewise.
7190 (tst-fgetws-ENV): Remove variable.
7191 (tst-ungetwc1-ENV): Likewise.
7192 (tst-ungetwc2-ENV): Likewise.
7193 (bug-ungetwc2-ENV): Likewise.
7194 (tst-swscanf-ENV): Likewise.
7195 (bug-ftell-ENV): Likewise.
7196 (tst-fgetwc-ENV): Likewise.
7197 (tst-fseek-ENV): Likewise.
7198 (tst-ftell-partial-wide-ENV): Likewise.
7199 (tst-ftell-active-handler-ENV): Likewise.
7200 (tst-ftell-append-ENV): Likewise.
7201 * posix/Makefile (tst-fnmatch-ENV): Likewise.
7202 (tst-regexloc-ENV): Likewise.
7203 (bug-regex1-ENV): Likewise.
7204 (tst-regex-ENV): Likewise.
7205 (tst-regex2-ENV): Likewise.
7206 (bug-regex5-ENV): Likewise.
7207 (bug-regex6-ENV): Likewise.
7208 (bug-regex17-ENV): Likewise.
7209 (bug-regex18-ENV): Likewise.
7210 (bug-regex19-ENV): Likewise.
7211 (bug-regex20-ENV): Likewise.
7212 (bug-regex22-ENV): Likewise.
7213 (bug-regex23-ENV): Likewise.
7214 (bug-regex25-ENV): Likewise.
7215 (bug-regex26-ENV): Likewise.
7216 (bug-regex30-ENV): Likewise.
7217 (bug-regex32-ENV): Likewise.
7218 (bug-regex33-ENV): Likewise.
7219 (bug-regex34-ENV): Likewise.
7220 (bug-regex35-ENV): Likewise.
7221 (tst-rxspencer-ENV): Likewise.
7222 (tst-rxspencer-no-utf8-ENV): Likewise.
7223 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
7224 (tst-sscanf-ENV): Likewise.
7225 (tst-swprintf-ENV): Likewise.
7226 (tst-swscanf-ENV): Likewise.
7227 (test-vfprintf-ENV): Likewise.
7228 (scanf13-ENV): Likewise.
7229 (bug14-ENV): Likewise.
7230 (tst-grouping-ENV): Likewise.
7231 * stdlib/Makefile (tst-strtod-ENV): Likewise.
7232 (tst-strtod3-ENV): Likewise.
7233 (tst-strtod4-ENV): Likewise.
7234 (tst-strtod5-ENV): Likewise.
7235 (testmb2-ENV): Likewise./
7236 * string/Makefile (tst-strxfrm-ENV): Likewise.
7237 (tst-strxfrm2-ENV): Likewise.
7238 (bug-strcoll1-ENV): Likewise.
7239 (test-strcasecmp-ENV): Likewise.
7240 (test-strncasecmp-ENV): Likewise.
7241 * time/Makefile (tst-strptime-ENV): Likewise.
7242 (tst-ftime_l-ENV): Likewise.
7243 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
7244 (tst-mbrtowc-ENV): Likewise.
7245 (tst-wcrtomb-ENV): Likewise.
7246 (tst-mbrtowc2-ENV): Likewise.
7247 (tst-c16c32-1-ENV): Likewise.
7248 (tst-mbsnrtowcs-ENV): Likewise.
7249
cd1fb604
OB
72502014-06-05 Ondřej Bílka <neleai@seznam.cz>
7251
7252 * manual/resource.texi (How to get information about the memory
7253 subsystem?): Fix typo.
7254 Reported by Peon de la Parra Ivan <peon@keba.com>
7255
b42eca7d
GY
72562014-06-03 Guo Yixuan <culu.gyx@gmail.com>
7257
7258 [BZ #16882]
7259 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
7260 (pthread_spin_lock): Branch out of spin loop to proper location.
7261 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
7262 (pthread_spin_lock): Likewise.
7263
902b71f9
DM
7264 * nptl/tst-spin4.c: New test.
7265 * nptl/Makefile (tests): Add tst-spin4.
7266
f9d2d032
AS
72672014-06-03 Andreas Schwab <schwab@suse.de>
7268
7269 [BZ #15946]
7270 * resolv/res_send.c (send_dg): Reload file descriptor after
7271 calling reopen.
7272
cf7bfd28
SL
72732014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
7274
7275 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7276
111cc714
RH
72772014-06-03 Richard Henderson <rth@redhat.com>
7278
89b4bd6b
RH
7279 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
7280 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
7281 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
7282 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
7283 in the SAVE_PID block.
7284 (__libc_vfork): New alias.
71840409 7285 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 7286
111cc714
RH
7287 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
7288 child in registers, not on the stack. Remove RESET_PID conditionals.
7289 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
7290
ccc39911
MS
72912014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
7292
7293 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7294
693096cc
W
72952014-06-03 Wilco <wdijkstr@arm.com>
7296
7297 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
7298 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
7299 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7300 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
7301 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
7302 Likewise.
7303
0b4366bc
W
73042014-06-03 Wilco <wdijkstr@arm.com>
7305
7306 * sysdeps/aarch64/fpu/math_private.h
7307 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
7308 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
7309 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
7310 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7311 Fix declarations.
7312
8747cd03
KS
73132014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7314
7315 * crypt/crypt-private.h: Include ufc-crypt.h.
7316 (__b64_from_24bit): Declare extern.
7317 * crypt/crypt_util.c(__b64_from_24bit): New function.
7318 (b64t): New static const variable.
7319 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
7320 (b64t): Remove variable.
7321 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
7322 * crypt/sha256-crypt.c: Include crypt-private.h.
7323 (b64t): Remove variable.
7324 (__sha256_crypt_r): Remove b64_from_24bit and replace
7325 with __b64_from_24bit.
7326 * crypt/sha512-crypt.c: Likewise.
7327
d936d379
RM
73282014-06-02 Roland McGrath <roland@hack.frob.com>
7329
7330 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
7331 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
7332 Label the code __libc_vfork rather than __vfork.
7333 [!NOT_IN_libc] (vfork): Define as weak alias.
7334 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
7335 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
7336 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
7337
9fa76613
SP
73382014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7339
7340 * malloc/malloc.c (malloc_info): Fix format specifier for
7341 n_mmaps.
7342
a88dadbe
W
73432014-06-02 Wilco <wdijkstr@arm.com>
7344
7345 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
7346 FPCR write.
7347
c95b3011
W
73482014-06-02 Wilco <wdijkstr@arm.com>
7349
7350 [BZ #17009]
7351 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
7352 Rewrite to reduce FPCR/FPSR accesses.
7353
6b4d7a90
DM
73542014-06-01 David S. Miller <davem@davemloft.net>
7355
7356 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7357
30f3d07c
DM
73582014-05-31 David S. Miller <davem@davemloft.net>
7359
7360 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
7361 to occur in round to nearest mode when |x| >= 2.0
7362
74f31c18
RH
73632014-05-30 Richard Henderson <rth@twiddle.net>
7364
f0712b54
RH
7365 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
7366 (PSEUDO_RET_NOERRNO): Remove.
7367 (ret): Don't redefine.
7368 (ret_NOERRNO): Define in terms of ret.
7369 (ret_ERRVAL): Likewise.
7370
74f31c18
RH
7371 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
7372 use of PSEUDO_RET; perform the error check directly.
7373
30477995
MM
73742014-05-30 Marko Myllynen <myllynen@redhat.com>
7375
7376 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
7377 with __int128_t.
7378
62a58816
SP
73792014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7380
7381 * malloc/malloc (malloc_info): Fix formatting.
7382
4d653a59
SP
73832014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7384 Roland McGrath <roland@hack.frob.com>
7385
7386 * malloc/malloc (malloc_info): Also print mmapped statistics.
7387
5190c17f
RM
73882014-05-30 Roland McGrath <roland@hack.frob.com>
7389
7390 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
7391 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
7392
987c0269
OB
73932014-05-30 Ondřej Bílka <neleai@seznam.cz>
7394
7395 * malloc/malloc.c (malloc_info): Inline mi_arena.
7396
af4e8ef9
RH
73972014-05-29 Richard Henderson <rth@twiddle.net>
7398
1670e207
RH
7399 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
7400 Remove comma before expanding ASM_ARGS_##nr.
7401 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
7402 Make _x0 a strict output; make _x8 a strict input; adjust expansion
7403 of ASM_ARGS_##nr.
7404 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
7405 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
7406 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
7407 (ASM_ARGS_1): Add leading comma.
7408
11a28aee
RH
7409 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
7410 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
7411 to __errno_location.
7412 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
7413 Remove the expected plt for __errno_location.
7414
a17e5ffb 7415 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 7416 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
7417 call to __read_tp.
7418
b5be4597
RH
7419 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7420 Always allocate 64 bytes of stack frame. Use ldp/stp to create
7421 it and break it down.
7422 (DOCARGS_0, DOCARGS_1): Do nothing.
7423 (DOCARGS_2): Update to store into the new stack frame.
7424 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
7425 (UNDOCARGS_1): Update to restore from the new stack frame.
7426 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
7427 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
7428
645d44ab
RH
7429 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7430 (SINGLE_THREAD_P): New parameter for result regno.
7431 (PSEUDO): Update to match; use cbz instead of beq.
7432
a8b4f04a
RH
7433 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7434 Use ENTRY to define the _nocancel entry point. Share the syscall
7435 and syscall error check paths with the cancel path.
7436 (PSEUDO_END): New.
7437
af4e8ef9
RH
7438 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
7439 whitespace; tabs before and after asm mnemonics.
7440
26b0d2e1
EW
74412014-05-29 Eric Wong <normalperson@yhbt.net>
7442
7443 [BZ #15132]
7444 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7445 Call fstat64 or stat64 internally, depending on arguments passed.
7446 Replace stat buffer argument with file descriptor argument.
7447 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
7448 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7449 Pass fd to __internal_statvfs instead of calling fstat64.
7450 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
7451 Pass fd to __internal_statvfs64 instead of calling fstat64.
7452 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
7453 Pass -1 to __internal_statvfs instead of calling stat64.
7454 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
7455 Pass -1 to __internal_statvfs64 instead of calling stat64.
7456
1efe2bd9
RM
74572014-05-28 Roland McGrath <roland@hack.frob.com>
7458
0d3b7a19
RM
7459 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
7460 that was previously under [RESET_PID].
7461 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
7462
1efe2bd9
RM
7463 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
7464 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
7465
a6bea3ca
RM
74662014-05-27 Roland McGrath <roland@hack.frob.com>
7467
30b6629e
RM
7468 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
7469
a6bea3ca
RM
7470 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
7471 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
7472
3dfb9a5c
OB
74732014-05-27 Ondřej Bílka <neleai@seznam.cz>
7474
7475 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
7476
774f9285
AS
74772014-05-27 Andreas Schwab <schwab@suse.de>
7478
7479 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
7480 TLS_INIT_TP macro.
7481 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7482 * elf/rtld.c (init_tls, dl_main): Likewise.
7483 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
7484 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
7485 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
7486 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
7487 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
7488 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
7489 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
7490 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
7491 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
7492 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
7493 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
7494 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
7495 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
7496 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
7497 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
7498 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
7499 * sysdeps/generic/tls.h: Update description.
7500
36ffe739
WN
75012014-05-27 Will Newton <will.newton@linaro.org>
7502
7503 [BZ #16990]
7504 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
7505 and restore r2 rather than just restoring.
7506
2482ae43
SP
75072014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7508
7509 [BZ #16724]
7510 * libio/tst-ftell-append.c: New test case.
7511 * libio/Makefile (tests): Add test case.
7512 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
7513 append mode.
7514 * libio/wfileops.c (do_ftell_wide): Likewise.
7515
3d1024e8
AZ
75162014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7517
bab90016
AZ
7518 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7519
c7a8d667
AZ
7520 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
7521 ...
7522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
7523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7524 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
7525 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
7526 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
7527 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
7528 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
7529 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
7530 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7531 Moved ...
7532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
7533 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7534 Moved ...
7535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
7536 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
7537 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
7538 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
7539 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
7540 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
7541 ...
7542 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
7543 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
7544 Moved ...
7545 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
7546 here.
7547 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
7548 ...
7549 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
7550 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
7551 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
7552
daee7851
AZ
7553 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
7554 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
7555 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
7556 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
7557
50a40819
AZ
7558 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
7559 merge into ...
7560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
7561 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
7562 ...
7563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
7564 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
7565 ...
7566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
7567 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7568 Moved ...
7569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
7570 here.
7571 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7572 Moved ...
7573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
7574 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7575 Moved ...
7576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
7577
8464c2a1
AZ
7578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
7579 conditional [RESET_PID].
7580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7581 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
7582 removed.
7583 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
7584 removed.
7585
3d1024e8
AZ
7586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
7587 <tcb-offsets.h>.
7588 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7589 (__libc_vfork): New strong alias.
7590 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
7591 removed.
7592 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
7593 Removed.
7594
7595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
7596 <tcb-offsets.h>.
7597 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
7598 (__libc_vfork): New strong alias.
7599 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
7600 removed.
7601 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
7602 removed.
7603
fdfd175d
CD
76042014-05-26 Carlos O'Donell <carlos@redhat.com>
7605
7606 * malloc/malloc.c (mi_arena): New function.
7607 (malloc_info): Remove nested function mi_arena. Call non-nosted
7608 function mi_arena.
7609
d298c416
AZ
76102014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7611
7612 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
7613 by insrwi.
7614 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7615 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7616 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
7617 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
7618 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
7619 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
7620 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
7621
b60ea6ff
AS
76222014-05-26 Andreas Schwab <schwab@suse.de>
7623
7624 [BZ #16984]
7625 * locale/programs/repertoire.c (repertoire_read): Add slash
7626 between I18NPATH element and file name.
7627 * locale/programs/locfile.c (locfile_read): Likewise.
7628
67365926
SL
76292014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7630
7631 * nptl/pthread_mutexattr_settype.c
7632 (__pthread_mutexattr_settype):
7633 Disable lock elision for PTHREAD_MUTEX_NORMAL.
7634
f8bdf1f0
SL
76352014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7636
7637 * nptl/tst-mutex5 (do_test):
7638 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
7639
15eaf6ff
SP
76402014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7641
7642 * benchtests/README: Document 'init' directive.
7643 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
7644 BENCH_INIT.
7645 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
7646 (parse_file): Recognize 'init' directive.
7647
75f11331
KM
76482014-05-26 Kyle McMartin <kyle@redhat.com>
7649
7650 [BZ #16796]
7651 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
7652 alignment of struct pthread.
7653
c3ec475c
SP
76542014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7655
7656 [BZ #16878]
7657 * nscd/netgroupcache.c (addgetnetgrentX): Look for
7658 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7659 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
7660 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7661
82aab97c
RH
76622014-05-25 Richard Henderson <rth@twiddle.net>
7663
aa2f176d
RH
7664 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7665 (SINGLE_THREAD_P_PIC): Remove.
7666 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
7667 (SINGLE_THREAD_P_PIC): Remove.
7668
ca3cfa40
RH
7669 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
7670 branch to syscall error ...
7671 (PSEUDO): ... here.
7672 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
7673 from __local_syscall_error to .Lsyscall_error.
7674 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
7675 (SYSCALL_ERROR): Update label name.
7676
6e6c2d01
RH
7677 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7678 Do not use DOARGS/UNDOARGS.
7679 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
7680 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
7681 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
7682 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
7683 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
7684
c69abcee
RH
7685 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
7686 block comment.
7687
82aab97c
RH
7688 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
7689 define if !NOT_IN_libc.
7690 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
7691 define with non-default symbol versions.
7692
8820e3ac
RH
76932014-05-23 Richard Henderson <rth@twiddle.net>
7694
900e445f
RH
7695 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
7696 (vfork, __vfork): Define via compat_symbol.
7697
8820e3ac
RH
7698 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
7699 [!HAVE_IFUNC] (vfork_compat): Remove.
7700 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
7701
e59252a5
JM
77022014-05-23 Joseph Myers <joseph@codesourcery.com>
7703
7704 [BZ #16978]
7705 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
7706 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
7707 variable.
7708
132c7f5f
RH
77092014-05-23 Richard Henderson <rth@twiddle.net>
7710
bc89e962
RH
7711 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7712 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7713 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7714 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7715
7716 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7717 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7718 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7719 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7720 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7721 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7722 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7723 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7724 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7725 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7726 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7727 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7728 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7729 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7730 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7731 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7732 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7733 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7734 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7735 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7736 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7737 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7738 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7739 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7740 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7741 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7742 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7743 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7744 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7745 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7746 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7747 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7748 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7749 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7750 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7751 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7752 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7753 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7754 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7755 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7756 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7757 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7758 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7759 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7760 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7761 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7762 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7763 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7764 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7765 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7766 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7767 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7768 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7769 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7770 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7771 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7772
e2fa4bc2
RH
7773 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7774 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7775 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
7776 before exiting on error.
7777 (__libc_vfork): New strong alias.
7778 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7779 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7780
279b24e2
RH
7781 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7782 that was previously under [RESET_PID].
7783 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7784
132c7f5f
RH
7785 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7786
b72592e7
JM
77872014-05-23 Joseph Myers <joseph@codesourcery.com>
7788
7789 [BZ #16977]
7790 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7791 value when x - 1 is zero.
7792 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7793 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7794 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7795 0.0L for an argument of 1.0L.
7796 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7797 Likewise.
7798 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7799 value when x - 1 is zero.
7800 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7801 * sysdeps/i386/fpu/libm-test-ulps: Update.
7802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7803
2302d679
RV
78042014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7805
7806 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
7807 alphasort and versionsort.
7808
32999d63
AZ
78092014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7810
7811 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
7812 macro.
7813 [copysignf]: Likewise.
7814
019324d0
SP
78152014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7816
7817 * crypt/md5-crypt.c: Fix formatting.
7818
34fff5c2
KS
78192014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7820
7821 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
7822 (b64_from_24bit): New function.
7823
3d2badac
AZ
78242014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7825
7826 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
7827 libc_hidden_builtin_def to ifunc.
7828 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7829 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
7830
f7bb179f 78312014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
7832
7833 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
7834 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
7835
4134b50d
JM
78362014-05-21 Joseph Myers <joseph@codesourcery.com>
7837
bb7d0337
JM
7838 * nscd/Depend (linuxthreads): Remove.
7839 (nptl): Add.
7840 * resolv/Depend (linuxthreads): Remove.
7841 * rt/Depend (linuxthreads): Remove.
7842
4134b50d
JM
7843 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
7844 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
7845 $(common-objpfx)elf/.
7846 (link-libc-before-gnulib): Likewise.
7847 (elfobjdir): Remove variable.
7848 * Makefile (install): Use $(elf-objpfx) instead of
7849 $(common-objpfx)elf/.
7850 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
7851 $(elfobjdir)/.
7852 (link-libc-deps): Likewise.
7853 ($(common-objpfx)libc.so): Likewise.
7854 ($(common-objpfx)linkobj/libc.so): Likewise.
7855 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
7856 instead of $(common-objpfx)elf/.
7857 (symbolic-link-list): Likewise.
7858 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7859 [$(cross-compiling) = no]: Likewise.
7860 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
7861 $(elfobjdir)/.
7862 (static-gnulib-arch): Likewise.
7863 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7864 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
7865 $(common-objpfx)elf/.
7866
3612eb8f
RH
78672014-05-21 Richard Henderson <rth@redhat.com>
7868
a6b3657b
RH
7869 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7870 (SINGLE_THREAD_P): Use the correct width load. Fold
7871 into the ldr offset.
7872
3612eb8f
RH
7873 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
7874 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
7875
175cef41
JM
78762014-05-20 Joseph Myers <joseph@codesourcery.com>
7877
7878 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
7879 (libgcc_s_resume): Use __attribute_used__.
7880 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
7881 Likewise.
7882
e13bccd3
AZ
78832014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7884
7885 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
7886 optimization when used with float constants.
7887
7c112a38
AZ
7888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7889
ae75a883
AJ
78902014-05-20 Aurelien Jarno <aurelien@aurel32.net>
7891
7892 [BZ #16915]
7893 * locale/nl_langinfo_l.c: Make direct reference to every
7894 _nl_current_CATEGORY symbol.
7895 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
7896 (tests-static): Add tst-langinfo-static.
7897 (tests-special): Add tst-langinfo-static.out.
7898 ($(objpfx)tst-langinfo.out): Redirect output.
7899 ($(objpfx)tst-langinfo-static.out): New.
7900 * localedata/tst-langinfo.sh: Send output to stdout.
7901 * localedata/tst-langinfo-static.c: New file.
7902
4406c41c
AJ
7903 [BZ #16965]
7904 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
7905 when the shift amount is modulo the limb size.
7906
4c0a1e63
RH
79072014-05-20 Richard Henderson <rth@redhat.com>
7908
de9d8f20
RH
7909 [BZ #16967]
7910 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
7911 Change type of sa_flags from unsigned int to int.
7912
4c0a1e63
RH
7913 [BZ #16966]
7914 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
7915
7916 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
7917
a60339aa
WN
79182014-05-20 Will Newton <will.newton@linaro.org>
7919
7920 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7921 Test the return value of the system call in the nocancel case.
7922
7d05a816
YR
79232014-05-20 Will Newton <will.newton@linaro.org>
7924 Yvan Roux <yvan.roux@linaro.org>
7925
7926 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
7927 #include of asm/ptrace.h.
7928 (PTRACE_GET_THREAD_AREA): Remove #undef.
7929 (PTRACE_GETHBPREGS): Likewise.
7930 (PTRACE_SETHBPREGS): Likewise.
7931 (struct user_regs_struct): New structure.
7932 (struct user_fpsimd_struct): New structure.
7933 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
7934 #include of asm/ptrace.h and second #include of sys/user.h.
7935 (PTRACE_GET_THREAD_AREA): Remove #undef.
7936 (PTRACE_GETHBPREGS): Likewise.
7937 (PTRACE_SETHBPREGS): Likewise.
7938 (ELF_NGREG): Use new struct user_regs_struct.
7939 (elf_fpregset_t): Use new struct user_fpsimd_struct.
7940
af121e37
AZ
79412014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7942
7943 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
7944 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
7945
834caf06
JM
79462014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
7947
7948 [BZ #16958]
7949 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
7950 membar to avoid block loads/stores to overlap previous stores.
7951
e184a918
RH
79522014-05-17 Richard Henderson <rth@redhat.com>
7953
7954 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
7955 Create the __##syscall_name##_nocancel entry point.
7956 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
7957 Remove; let the sysdep-cancel.h code create it.
7958
f56c7a6a
DM
79592014-05-17 David S. Miller <davem@davemloft.net>
7960
7961 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
7962 Protect with __USE_GNU.
7963 (TIOCSET_TEMPT): Likewise.
7964 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7965 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
7966 these are already provided in bits/ioctl-types.h
7967
f75616b2
RM
79682014-05-16 Roland McGrath <roland@hack.frob.com>
7969
3edeca86
RM
7970 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
7971 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
7972
f75616b2
RM
7973 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
7974 Use wait4 regardless of [__NR_waitpid].
7975
deb0f7f6
MR
79762014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
7977
7978 PR libgcc/60166
7979 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7980 (_FP_NANSIGN_Q): Set the quiet bit.
7981
79520f4b
JM
79822014-05-16 Joseph Myers <joseph@codesourcery.com>
7983
7984 * benchtests/Makefile
7985 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
7986 not $(common-objpfx)math/libm.so.
7987 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
7988 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
7989 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
7990 $(common-objpfx)dlfcn/libdl.so.
7991 ($(objpfx)tst-audit8): Depend on $(libm), not
7992 $(common-objpfx)math/libm.so.
7993 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
7994 not $(common-objpfx)dlfcn/libdl.so.
7995 * math/Makefile
7996 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7997 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
7998 [$(build-shared) = yes].
7999 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
8000 $(common-objpfx)nptl/libpthread.so.
8001 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
8002 $(common-objpfx)math/libm.so$(libm.so-version) or
8003 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
8004 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
8005 $(common-objpfx)dlfcn/libdl.so.
8006 * setjmp/Makefile (link-libm): Remove variable.
8007 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
8008 * stdio-common/Makefile (link-libm): Remove variable.
8009 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
8010 * stdlib/Makefile (link-libm): Remove variable.
8011 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
8012 ($(objpfx)tst-strtod-round): Likewise.
8013 ($(objpfx)tst-tininess): Likewise.
8014 ($(objpfx)tst-strtod-underflow): Likewise.
8015 ($(objpfx)tst-strtod6): Likewise.
8016 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
8017 $(libdl), not $(common-objpfx)nptl/libpthread.so and
8018 $(common-objpfx)dlfcn/libdl.so.
8019
026b0fe4
AZ
80202014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8021
8022 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
8023 BSD terminal modes definitions.
8024
def4bcb2
RM
80252014-05-16 Roland McGrath <roland@hack.frob.com>
8026
fe39b021
RM
8027 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
8028 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
8029
1d1fc46e 8030 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
8031 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
8032 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
8033 Don't do #include_next.
8034 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
8035 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
8036 Don't do #include_next.
8037 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
8038 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
8039 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
8040 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
8041
c72399fb
AM
80422014-05-16 Allan McRae <allan@archlinux.org>
8043
d51d659d
AM
8044 * po/sv.po: Update Swedish translation from translation project.
8045
c72399fb
AM
8046 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
8047 in sed expression.
8048
d0583c40
AJ
80492014-05-16 Aurelien Jarno <aurelien@aurel32.net>
8050
8051 [BZ #16917]
8052 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
8053 errno if the TIOCGPTN ioctl fails with an error different than
8054 EINVAL.
8055 * login/tst-ptsname.c: New file.
8056 * login/Makefile (tests): Add tst-ptsname.
8057
d16e6ec7
AJ
8058 [BZ #16943]
8059 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
8060 and prlimit64.
8061
cf26a0cb
SP
80622014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8063
8064 [BZ #16849]
8065 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
8066 herrno to return EAI_AGAIN.
8067
5675da1e
RM
80682014-05-14 Roland McGrath <roland@hack.frob.com>
8069
a5d87b3d
RM
8070 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
8071 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
8072 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
8073 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
8074 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
8075 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
8076 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
8077 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
8078 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
8079 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
8080 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
8081 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
8082 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
8083 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
8084 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
8085 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
8086 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
8087 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
8088 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
8089 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
8090 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
8091 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
8092 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
8093 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
8094 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
8095 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
8096 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
8097 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
8098 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
8099 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
8100 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
8101 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
8102 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
8103 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
8104 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8105 Moved ...
8106 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
8107 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
8108 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
8109 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
8110 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
8111 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
8112 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
8113 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
8114 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
8115 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
8116 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
8117 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
8118 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
8119 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
8120 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
8121 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
8122 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
8123 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
8124 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
8125 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
8126 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
8127 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
8128 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
8129 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
8130 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
8131 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
8132 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
8133 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8134 Moved ...
8135 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
8136 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
8137 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
8138 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
8139 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
8140 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
8141 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
8142 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
8143 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
8144 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
8145 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
8146 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
8147 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
8148 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
8149 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
8150 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
8151 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
8152 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
8153 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
8154 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8155 Moved ...
8156 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
8157 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
8158 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
8159
039890a6
RM
8160 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
8161 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
8162 (libpthread-sysdep_routines): Add elision-related stuff here instead.
8163 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
8164 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
8165 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
8166 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
8167 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
8168 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
8169 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
8170 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
8171 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
8172 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
8173 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
8174 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
8175 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
8176 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
8177 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
8178 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
8179 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
8180 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
8181 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
8182 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
8183 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
8184 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
8185 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
8186 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
8187 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
8188 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
8189 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
8190 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
8191
65c89320
RM
8192 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
8193 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
8194
348f8e8c
RM
8195 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
8196 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
8197 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
8198 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
8199 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
8200 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
8201 Moved ...
8202 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
8203 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
8204 Moved ...
8205 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
8206 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
8207 Moved ...
8208 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
8209 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
8210 Moved ...
8211 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
8212 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
8213 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
8214 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
8215 Moved ...
8216 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
8217 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
8218 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
8219 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
8220 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
8221 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
8222 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
8223 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
8224 Moved ...
8225 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
8226 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8227 Moved ...
8228 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8229 ... here.
8230 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
8231 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
8232 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
8233 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
8234 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8235 Moved ...
8236 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8237 ... here.
8238 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
8239 Moved ...
8240 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
8241 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
8242 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
8243 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
8244 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
8245 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
8246 Moved ...
8247 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
8248 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
8249 Moved ...
8250 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
8251 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
8252 Moved ...
8253 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
8254 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
8255 Moved ...
8256 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
8257 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
8258 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
8259 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
8260 Moved ...
8261 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
8262 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
8263 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
8264 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
8265 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
8266 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
8267 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
8268 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
8269 Moved ...
8270 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
8271 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8272 Moved ...
8273 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8274 ... here.
8275 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
8276 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
8277 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
8278 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
8279 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8280 Moved ...
8281 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8282 ... here.
8283 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
8284 Moved ...
8285 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
8286 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
8287 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
8288 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
8289 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
8290 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
8291 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
8292 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
8293 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
8294 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
8295 Moved ...
8296 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
8297 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
8298 Moved ...
8299 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
8300 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
8301 Moved ...
8302 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
8303 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
8304 Moved ...
8305 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
8306 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
8307 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
8308 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
8309 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
8310 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
8311 Moved ...
8312 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
8313 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
8314 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
8315 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
8316 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
8317 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
8318 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
8319 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
8320 Moved ...
8321 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
8322 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8323 Moved ...
8324 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8325 ... here.
8326 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
8327 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
8328 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
8329 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
8330 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8331 Moved ...
8332 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8333 ... here.
8334 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
8335 Moved ...
8336 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
8337 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
8338 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
8339 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
8340 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
8341 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
8342 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
8343 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
8344 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
8345 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
8346 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
8347
5085af05
RM
8348 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
8349 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
8350
708f0813
RM
8351 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
8352 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
8353
c96067bc
RM
8354 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
8355 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
8356 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
8357 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
8358 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
8359 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
8360 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
8361 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
8362 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
8363 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
8364 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
8365 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
8366 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
8367 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
8368 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
8369 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
8370 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
8371 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
8372 Moved ...
8373 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
8374 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
8375 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
8376 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
8377 Moved ...
8378 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
8379 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
8380 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
8381 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
8382 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
8383 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
8384 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
8385 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
8386 Moved ...
8387 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
8388 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
8389 Moved ...
8390 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
8391 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
8392 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
8393 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
8394 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
8395 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
8396 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
8397 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
8398 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
8399 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
8400 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
8401 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
8402 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
8403 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
8404 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
8405 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
8406 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
8407
ec136444
RM
8408 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
8409 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
8410 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
8411 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
8412 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
8413
2fbdf533
RM
8414 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
8415 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
8416 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
8417 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
8418 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
8419 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
8420 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
8421 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
8422 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
8423 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
8424
4c68138b
RM
8425 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
8426 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
8427
4eaae765
RM
8428 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
8429 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
8430 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
8431 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
8432 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
8433 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
8434 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
8435 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
8436 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
8437 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
8438 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
8439 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
8440 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
8441 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
8442 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
8443 Update #include.
8444 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
8445 Likewise.
8446 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8447 Likewise.
8448 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8449 Likewise.
8450 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8451 Likewise.
8452 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
8453 Likewise.
8454 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
8455 Likewise.
8456 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8457 Likewise.
8458 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
8459 Likewise.
8460 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
8461 Likewise.
4ef6befa
RM
8462 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
8463 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
8464 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
8465 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
8466 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
8467 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
8468 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
8469 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
8470 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
8471 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
8472 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
8473 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
8474 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
8475 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
8476 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 8477
941d7dfd
RM
8478 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
8479 that was previously under [RESET_PID].
8480 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8481 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
8482 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
8483
1b731c35
RM
8484 * sysdeps/i386/nptl/Implies: New file.
8485 * sysdeps/x86_64/nptl/Implies: New file.
8486 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
8487 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
8488 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
8489 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
8490
e2787137
RM
8491 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
8492 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8493 (__libc_vfork): New strong alias.
8494 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
8495 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
8496
8497 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
8498 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8499 (__libc_vfork): New strong alias.
8500 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
8501 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
8502
5675da1e
RM
8503 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
8504 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8505 (__libc_vfork): New strong alias.
8506 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
8507 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
8508 * nptl/pt-vfork.c: New file.
8509 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
8510 (libpthread: GLIBC_2.20): New version set (empty).
8511
4f02e2b8
WN
85122014-05-14 Will Newton <will.newton@linaro.org>
8513
8514 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
8515 rather than #if.
8516
0bf061d3
JM
85172014-05-14 Joseph Myers <joseph@codesourcery.com>
8518
1a84c3d6
JM
8519 [BZ #16564]
8520 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
8521 arguments with exponent 65 or above.
8522 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
8523 arguments 0x1p113L or above.
8524 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
8525 to arguments 0x1p107L or above.
8526 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
8527 positive arguments with exponent 65 or above.
8528 * math/auto-libm-test-in: Add more tests of log1p.
8529 * math/auto-libm-test-out: Regenerated.
8530
01dbacd2
JM
8531 [BZ #16928]
8532 * math/s_cacos.c (__cacos): Ensure zero real part of result from
8533 non-finite arguments is +0.
8534 * math/s_cacosf.c (__cacosf): Likewise.
8535 * math/s_cacosl.c (__cacosl): Likewise.
8536 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
8537 * sysdeps/i386/fpu/libm-test-ulps: Update.
8538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8539
913d03c8
JM
8540 [BZ #16927]
8541 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
8542 value.
8543 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8544 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
8545 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
8546 for explicit high bit of mantissa when testing for argument equal
8547 to 1.
8548 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
8549 * sysdeps/i386/fpu/libm-test-ulps: Update.
8550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8551
0bf061d3
JM
8552 [BZ #16516]
8553 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
8554 (__erf): Scale by 16 instead of 8 in potentially underflowing
8555 case. Ensure exception if result actually underflows.
8556 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
8557 (__erff): Scale by 16 instead of 8 in potentially underflowing
8558 case. Ensure exception if result actually underflows.
8559 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
8560 (efx8): Remove variable.
8561 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8562 case. Ensure exception if result actually underflows.
8563 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
8564 (efx8): Remove variable.
8565 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8566 case. Ensure exception if result actually underflows.
8567 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
8568 (efx8): Remove variable.
8569 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8570 case. Ensure exception if result actually underflows.
8571 * math/auto-libm-test-in: Add more tests of erf.
8572 * math/auto-libm-test-out: Regenerated.
8573
73ba67cb
AS
85742014-05-14 Andreas Schwab <schwab@suse.de>
8575
3d8c8bff
AS
8576 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
8577 Remove code conditionalized on USE___THREAD.
8578
73ba67cb
AS
8579 * config.h.in (HAVE_PT_CHOWN): Define as 0.
8580 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
8581 not definedness.
8582
5c521ecd
JM
85832014-05-14 Joseph Myers <joseph@codesourcery.com>
8584
5e7698c6
JM
8585 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
8586 Define unconditionally.
8587 (__ASSUME_O_CLOEXEC): Likewise.
8588 (__ASSUME_SOCK_CLOEXEC): Likewise.
8589 (__ASSUME_IN_NONBLOCK): Likewise.
8590 (__ASSUME_PIPE2): Likewise.
8591 (__ASSUME_EVENTFD2): Likewise.
8592 (__ASSUME_SIGNALFD4): Likewise.
8593 (__ASSUME_DUP3): Likewise.
8594 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8595 (__ASSUME_DUP3): Do not define.
8596 (__ASSUME_EVENTFD2): Likewise.
8597 (__ASSUME_IN_NONBLOCK): Likewise.
8598 (__ASSUME_O_CLOEXEC): Likewise.
8599 (__ASSUME_PIPE2): Likewise.
8600 (__ASSUME_SIGNALFD4): Likewise.
8601 (__ASSUME_SOCK_CLOEXEC): Likewise.
8602 (__ASSUME_UTIMES): Undefine.
8603 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8604 (__ASSUME_UTIMES): Do not define.
8605 (__ASSUME_O_CLOEXEC): Likewise.
8606 (__ASSUME_SOCK_CLOEXEC): Likewise.
8607 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
8608 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
8609 0x020621].
8610 (__ASSUME_PIPE2): Likewise.
8611 (__ASSUME_EVENTFD2): Likewise.
8612 (__ASSUME_SIGNALFD4): Likewise.
8613 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
8614 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
8615 Do not define.
8616 (__ASSUME_EVENTFD2): Likewise.
8617 (__ASSUME_SIGNALFD4): Likewise.
8618 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8619 (__ASSUME_32BITUIDS): Likewise.
8620 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8621 (__ASSUME_IPC64): Likewise.
8622 (__ASSUME_ST_INO_64_BIT): Likewise.
8623 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
8624 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
8625 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8626 (__ASSUME_UTIMES): Do not define.
8627 (__ASSUME_PSELECT): Likewise.
8628 (__ASSUME_PPOLL): Likewise.
8629 (__ASSUME_O_CLOEXEC): Likewise.
8630 (__ASSUME_SOCK_CLOEXEC): Likewise.
8631 (__ASSUME_IN_NONBLOCK): Likewise.
8632 (__ASSUME_PIPE2): Likewise.
8633 (__ASSUME_EVENTFD2): Likewise.
8634 (__ASSUME_SIGNALFD4): Likewise.
8635 (__ASSUME_DUP3): Likewise.
8636 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8637 (__ASSUME_UTIMES): Likewise.
8638 (__ASSUME_O_CLOEXEC): Likewise.
8639 (__ASSUME_SOCK_CLOEXEC): Likewise.
8640 (__ASSUME_IN_NONBLOCK): Likewise.
8641 (__ASSUME_PIPE2): Likewise.
8642 (__ASSUME_EVENTFD2): Likewise.
8643 (__ASSUME_SIGNALFD4): Likewise.
8644 (__ASSUME_DUP3): Likewise.
8645 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8646 (__ASSUME_UTIMES): Likewise.
8647 (__ASSUME_O_CLOEXEC): Likewise.
8648 (__ASSUME_SOCK_CLOEXEC): Likewise.
8649 (__ASSUME_IN_NONBLOCK): Likewise.
8650 (__ASSUME_PIPE2): Likewise.
8651 (__ASSUME_EVENTFD2): Likewise.
8652 (__ASSUME_SIGNALFD4): Likewise.
8653 (__ASSUME_DUP3): Likewise.
8654 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
8655 Likewise.
8656 (__ASSUME_UTIMES): Likewise.
8657 (__ASSUME_EVENTFD2): Likewise.
8658 (__ASSUME_SIGNALFD4): Likewise.
8659 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8660 (__ASSUME_O_CLOEXEC): Likewise.
8661 (__ASSUME_SOCK_CLOEXEC): Likewise.
8662 (__ASSUME_IN_NONBLOCK): Likewise.
8663 (__ASSUME_PIPE2): Likewise.
8664 (__ASSUME_EVENTFD2): Likewise.
8665 (__ASSUME_SIGNALFD4): Likewise.
8666 (__ASSUME_DUP3): Likewise.
8667 (__ASSUME_UTIMES): Undefine.
8668
5c521ecd
JM
8669 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
8670 feclearexcept. Remove symbol versioning code.
8671 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
8672 symbol versioning code.
8673 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
8674 symbol versioning code.
8675 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
8676 feupdateenv. Remove symbol versioning code.
8677 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
8678 fegetexceptflag. Remove symbol versioning code.
8679 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
8680 fesetexceptflag. Remove symbol versioning code.
8681 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
8682 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
8683 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
8684 (__posix_fadvise64_l32): Remove prototype.
8685 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
8686 code.
8687
5da9dfad
RM
86882014-05-13 Roland McGrath <roland@hack.frob.com>
8689
8690 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
8691 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
8692 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
8693 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
8694
893b4f37
SK
86952014-05-13 Sami Kerola <kerolasa@iki.fi>
8696
8697 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
8698 current working directory
8699
e0db6517
RM
87002014-05-13 Roland McGrath <roland@hack.frob.com>
8701
58aa195d
RM
8702 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
8703 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
8704 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
8705 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
8706 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
8707 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
8708 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
8709 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
8710 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8711 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8712 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8713 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8714 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8715 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8716 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8717 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8718 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8719 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8720 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8721 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8722 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8723 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8724 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8725 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8726 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8727 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8728 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8729 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8730 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8731 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8732 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8733 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8734 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8735 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8736 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8737 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8738 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8739 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8740 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8741 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8742 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8743 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8744
8c6d01f0
RM
8745 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8746 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8747
8748 * sysdeps/unix/sysv/linux/arm/Makefile
8749 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8750 Add rt-aeabi_unwind_cpp_pr1.
8751 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8752 Add nptl-aeabi_unwind_cpp_pr1.
8753 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8754 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8755 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8756 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8757 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8758 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8759
8760 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8761 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8762 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8763 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8764
bba6da4e
RM
8765 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8766 Deconditionalize the code that was previously under [RESET_PID].
8767 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8768
e0db6517
RM
8769 * sysdeps/generic/exit-thread.h: New file.
8770 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8771 * include/unistd.h (__exit_thread): Remove declaration.
8772 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8773 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8774 * csu/libc-start.c: Include <exit-thread.h>.
8775 (LIBC_START_MAIN): Pass no argument to __exit_thread.
8776 * nptl/pthread_create.c: Include <exit-thread.h>.
8777 (start_thread): Call __exit_thread in place of __exit_thread_inline.
8778 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8779 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8780 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8781 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8782 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8783 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8784 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8785 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8786 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8787 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8788 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8789 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8790 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8791 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8792 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8793 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8794
01eb16fd
AS
87952014-05-13 Andreas Schwab <schwab@suse.de>
8796
8797 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8798
637461d9
JM
87992014-05-12 Joseph Myers <joseph@codesourcery.com>
8800
8801 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8802 (__ASSUME_UTIMES): Do not condition on kernel version.
8803 (__ASSUME_PSELECT): Define unconditionally.
8804 (__ASSUME_PPOLL): Likewise.
8805 (__ASSUME_ATFCTS): Likewise.
8806 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
8807 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
8808 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
8809 (__ASSUME_UTIMENSAT): Define unconditionally.
8810 (__ASSUME_PRIVATE_FUTEX): Likewise.
8811 (__ASSUME_FALLOCATE): Likewise.
8812 (__ASSUME_O_CLOEXEC): Likewise.
8813 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
8814 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
8815 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
8816 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
8817 (__ASSUME_IN_NONBLOCK): Likewise.
8818 (__ASSUME_PIPE2): Likewise.
8819 (__ASSUME_EVENTFD2): Likewise.
8820 (__ASSUME_SIGNALFD4): Likewise.
8821 (__ASSUME_DUP3): Likewise.
8822 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8823 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
8824 (__ASSUME_AT_RANDOM): Likewise.
8825 (__ASSUME_PREADV): Likewise.
8826 (__ASSUME_PWRITEV): Likewise.
8827 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
8828 (__ASSUME_F_GETOWN_EX): Define unconditionally.
8829 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
8830 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8831 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
8832 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8833 (__ASSUME_O_CLOEXEC): Define unconditionally.
8834 (__ASSUME_PSELECT): Do not undefine conditionally.
8835 (__ASSUME_PPOLL): Likewise.
8836 (__ASSUME_ATFCTS): Likewise.
8837 (__ASSUME_SET_ROBUST_LIST): Likewise.
8838 (__ASSUME_UTIMENSAT): Likewise.
8839 (__ASSUME_FDATASYNC): Define unconditionally.
8840 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8841 (__ASSUME_SIGFRAME_V2): Likewise.
8842 )__ASSUME_EVENTFD2): Likewise.
8843 (__ASSUME_SIGNALFD4): Likewise.
8844 (__ASSUME_PSELECT): Do not undefine conditionally.
8845 (__ASSUME_PPOLL): Likewise.
8846 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8847 (__ASSUME_PSELECT): Define unconditionally.
8848 (__ASSUME_PPOLL): Likewise.
8849 (__ASSUME_O_CLOEXEC): Likewise.
8850 (__ASSUME_SOCK_CLOEXEC): Likewise.
8851 (__ASSUME_IN_NONBLOCK): Likewise.
8852 (__ASSUME_PIPE2): Likewise.
8853 (__ASSUME_EVENTFD2): Likewise.
8854 (__ASSUME_SIGNALFD4): Likewise.
8855 (__ASSUME_DUP3): Likewise.
8856 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8857 (__ASSUME_O_CLOEXEC): Likewise.
8858 (__ASSUME_SOCK_CLOEXEC): Likewise.
8859 (__ASSUME_IN_NONBLOCK): Likewise.
8860 (__ASSUME_PIPE2): Likewise.
8861 (__ASSUME_EVENTFD2): Likewise.
8862 (__ASSUME_SIGNALFD4): Likewise.
8863 (__ASSUME_DUP3): Likewise.
8864 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8865 (__ASSUME_EVENTFD2): Likewise.
8866 (__ASSUME_SIGNALFD4): Likewise.
8867 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8868
315eb1d8
AS
88692014-05-12 Andreas Schwab <schwab@suse.de>
8870
8871 [BZ #16932]
8872 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
8873 (_nss_nis_gethostbyname4_r): Return error if item length is larger
8874 than maximum RPC packet size.
8875 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
8876 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
8877 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
8878 (_nss_nis_getservbyport_r): Likewise.
8879
91df99f7
WN
88802014-05-12 Will Newton <will.newton@linaro.org>
8881
8882 * malloc/Makefile (tests): Add tst-mallopt.
8883 * malloc/tst-mallopt.c: New file.
8884
0a982a29
RM
88852014-05-09 Roland McGrath <roland@hack.frob.com>
8886
8887 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
8888 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
8889
0ded08a5
AZ
88902014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8891
8892 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
8893 (tst-tlsmod6.so): Likewise.
8894
55d4d550
RM
88952014-05-09 Roland McGrath <roland@hack.frob.com>
8896
8897 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
8898
77d08aca
JM
88992014-05-09 Joseph Myers <joseph@codesourcery.com>
8900
8901 [BZ #16064]
8902 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
8903 and <dl-procinfo.h>.
8904 (__fegetenv): Save SSE state in envp->__eip if supported.
8905 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
8906 envp->__eip if supported.
8907 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
8908 and <dl-procinfo.h>.
8909 (__fesetenv): Always set __eip, __cs_selector, __opcode,
8910 __data_offset and __data_selector in environment to 0. Set SSE
8911 state if supported.
8912 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8913 test-fenv-sse.
8914 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
8915 -mfpmath=sse.
8916 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
8917
28162f4d
WN
89182014-05-09 Will Newton <will.newton@linaro.org>
8919
8920 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
8921 and libc_relro_required for ARM.
8922 * sysdeps/arm/preconfigure: Regenerate.
8923
5a414ff7
DV
89242014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
8925 Stefan Liebler <stli@linux.vnet.ibm.com>
8926
8927 * config.make.in (enable-lock-elision): New Makefile variable.
8928 * configure.ac: Likewise.
8929 * configure: Regenerate.
8930 * sysdeps/s390/configure.ac:
8931 Add check for gcc transactions support.
8932 * sysdeps/s390/configure: Regenerate.
8933 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
8934 Build elision files if enabled.
8935 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
8936 Add lock elision support for s390.
8937 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
8938 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
8939 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
8940 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8941 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
8942 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
8943 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8944 Likewise.
8945 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
8946 Likewise.
8947 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
8948 Likewise.
8949 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
8950 Likewise.
8951 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
8952 (__lll_timedlock_elision, __lll_lock_elision)
8953 (__lll_unlock_elision, __lll_trylock_elision)
8954 (lll_timedlock_elision, lll_lock_elision)
8955 (lll_unlock_elision, lll_trylock_elision): Add.
8956 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
8957 (pthread_mutex_t): Add lock elision support for s390.
8958
1a2f40e5
W
89592014-05-14 Wilco <wdijkstr@arm.com>
8960
8961 * sysdeps/arm/fclrexcpt.c: Cleanup.
8962 * sysdeps/arm/fedisblxcpt.c: Cleanup.
8963 * sysdeps/arm/feenablxcpt.c: Cleanup.
8964 * sysdeps/arm/fegetenv.c: Cleanup.
8965 * sysdeps/arm/fegetexcept.c: Cleanup.
8966 * sysdeps/arm/fegetround.c: Cleanup.
8967 * sysdeps/arm/feholdexcpt.c: Cleanup.
8968 * sysdeps/arm/fesetenv.c: Cleanup.
8969 * sysdeps/arm/fesetround.c: Cleanup.
8970 * sysdeps/arm/feupdateenv.c: Cleanup.
8971 * sysdeps/arm/fgetexcptflg.c: Cleanup.
8972 * sysdeps/arm/fraiseexcpt.c: Cleanup.
8973 * sysdeps/arm/fsetexcptflg.c: Cleanup.
8974 * sysdeps/arm/ftestexcept.c: Cleanup.
8975 * sysdeps/arm/get-rounding-mode.h: Cleanup.
8976 * sysdeps/arm/setfpucw.c: Cleanup.
8977
f63c86fe
WN
89782014-05-09 Will Newton <will.newton@linaro.org>
8979
8980 * sysdeps/arm/armv7/strcmp.S: New file.
8981 * NEWS: Mention addition of ARMv7 optimized strcmp.
8982
7a1a51b5
RM
89832014-05-08 Roland McGrath <roland@hack.frob.com>
8984
95afbbe5
RM
8985 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
8986 look for %.ac rather than %.in.
8987
8988 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
8989 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
8990 * sysdeps/mach/hurd/configure: Regenerated.
8991 * sysdeps/unix/sysv/linux/configure: Regenerated.
8992
7a1a51b5
RM
8993 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
8994
5057ad3b
SE
89952014-05-07 Steve Ellcey <sellcey@mips.com>
8996
8997 [BZ# 16922]
8998 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
8999 (LONG_SUB): Ditto.
9000 (PTR_SUB): Ditto.
9001
8dc97517
AS
90022014-05-07 Andreas Schwab <schwab@suse.de>
9003
9004 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
9005 when skipping over non-matching result from nscd.
9006
ce0c5b8f
OB
90072014-05-07 Ondřej Bílka <neleai@seznam.cz>
9008
9009 [BZ #16876]
9010 * nptl/sockperf.c (client): Check socket return value.
8dc97517 9011
a1189263
OB
9012 [BZ #16877]
9013 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
9014 nscd security class.
ce0c5b8f 9015
0f58d252
RM
90162014-05-06 Roland McGrath <roland@hack.frob.com>
9017
9018 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
9019 * sysdeps/arm/unwind.h: ... here.
9020
83df9ad0
AJ
90212014-05-06 Aurelien Jarno <aurelien@aurel32.net>
9022
ce0c5b8f
OB
9023 [BZ# 16916]
9024 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
9025 Define.
83df9ad0 9026
f360f94a
VR
90272014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9028
9029 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
9030 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
9031 multiarch strncpy for PPC64.
9032 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
9033 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
9034 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
9035 multiarch optimizations.
9036 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9037 (__libc_ifunc_impl_list): Likewise.
9038 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
9039 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
9040 multiarch stpncpy for PPC64.
9041 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
9042 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
9043
978a41c3
AS
90442014-05-06 Andreas Schwab <schwab@suse.de>
9045
9046 [BZ #16912]
9047 * gmon/mcount.c (_MCOUNT_DECL): Use
9048 atomic_compare_and_exchange_bool_acq instead of
9049 catomic_compare_and_exchange_bool_acq.
9050
eb1ed03d
RM
90512014-05-05 Roland McGrath <roland@hack.frob.com>
9052
fe658845
RM
9053 * elf/Makefile (others, install-bin): Remove pldd.
9054 (pldd-modules): Variable removed.
9055 ($(objpfx)pldd): Target removed.
9056 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
9057 (others, install-bin): Append pldd here.
9058 ($(objpfx)pldd): New target.
9059
eb1ed03d
RM
9060 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
9061 to 0, so the first #if test emitted later doesn't see it undefined.
9062 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
9063 * sysdeps/gnu/errlist.c: Regenerated.
9064
19c4bec0
AZ
90652014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9066
9067 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9068 [libc_hidden_builtin_def]: Define to empty value.
9069 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
9070 [libc_hidden_builtin_def]: Likewise.
9071 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
9072 [libc_hidden_builtin_def]: Likewise.
9073 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
9074 [libc_hidden_builtin_def]: Likewise.
9075 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
9076 __redirect_memcpy and define ifunc as default hidden symbol.
9077 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
9078 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
9079
7776e669
AC
90802014-05-04 Adam Conrad <adconrad@0c3.net>
9081
9082 * locale/iso-4217.def: Reintroduce XDR currency.
9083
d69aeb12
AM
90842014-05-04 Allan McRae <allan@archlinux.org>
9085
9086 * po/eo.po: Update Esperanto translation from translation project.
9087
8f1df5cf
CD
90882014-05-02 Carlos O'Donell <carlos@redhat.com>
9089
9090 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
9091 and FEATURE_INDEX_MAX to 1.
9092 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
9093
13e402e7
SE
90942014-05-01 Steve Ellcey <sellcey@mips.com>
9095
9096 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
9097 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
9098 * iconvdata/big5.c (ONE_DIRECTION): Define.
9099 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
9100 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
9101 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
9102 * iconvdata/cp932.c (ONE_DIRECTION): Define.
9103 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
9104 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
9105 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
9106 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
9107 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
9108 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
9109 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
9110 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
9111 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
9112 * iconvdata/gbk.c (ONE_DIRECTION): Define.
9113 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
9114 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
9115 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
9116 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
9117 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
9118 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
9119 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
9120 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
9121 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
9122 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
9123 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
9124 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
9125 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
9126 * iconvdata/iso646.c (ONE_DIRECTION): Define.
9127 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
9128 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
9129 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
9130 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
9131 * iconvdata/johab.c (ONE_DIRECTION): Define.
9132 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
9133 * iconvdata/sjis.c (ONE_DIRECTION): Define.
9134 * iconvdata/t.61.c (ONE_DIRECTION): Define.
9135 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
9136 * iconvdata/tscii.c (ONE_DIRECTION): Define.
9137 * iconvdata/uhc.c (ONE_DIRECTION): Define.
9138 * iconvdata/unicode.c (ONE_DIRECTION): Define.
9139 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
9140 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
9141 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
9142
c727f032
RM
91432014-05-01 Roland McGrath <roland@hack.frob.com>
9144
8f2f08d0
RM
9145 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
9146 (_IO_JUMPS_OFFSET): Define to 0.
9147
c727f032
RM
9148 * nptl/sysdeps/pthread/bits/libc-lock.h
9149 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9150 (__libc_lock_define_initialized_recursive): Always define using
9151 initializer. Modern compilers treat uninitialized (implicit zero) and
9152 explicit zero initializers the same (i.e. put the datum in bss).
9153
a849e800
AS
91542014-05-01 Andreas Schwab <schwab@linux-m68k.org>
9155
9156 * nscd/nscd-client.h: Include <string.h>.
9157
5331255b
DM
91582014-05-01 David S. Miller <davem@davemloft.net>
9159
9160 [BZ #16885]
9161 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
9162 multiple zero bytes exist at the end of a string.
9163 Reported by Aurelien Jarno <aurelien@aurel32.net>
9164
9165 * string/test-strcmp.c (check): Add explicit test for situations where
9166 there are multiple zero bytes after the first.
9167
4fdfe821
AS
91682014-05-01 Andreas Schwab <schwab@linux-m68k.org>
9169
9170 [BZ #16890]
9171 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
9172 when compiling wprintf.
9173 * stdio-common/tstdiomisc.c (t3): New function.
9174 (main): Call it.
9175
0cdddc25
SE
91762014-05-01 Steve Ellcey <sellcey@mips.com>
9177
9178 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
9179 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
9180 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
9181 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
9182
6426d77e
SE
91832014-05-01 Steve Ellcey <sellcey@mips.com>
9184
9185 * stdlib/longlong.h: Updated from GCC.
9186
6d96f5e4
WN
91872014-05-01 Will Newton <will.newton@linaro.org>
9188 Bernard Ogden <bernie.ogden@linaro.org>
9189
7470db0c
WN
9190 * NEWS: Update fixed bug list.
9191
6d96f5e4
WN
9192 [BZ #15119]
9193 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
9194
211d653c
DM
91952014-04-30 David S. Miller <davem@davemloft.net>
9196
4fa262fa
DM
9197 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
9198 (libc_feholdexcept_setround_sparc_ctx): New function.
9199 (libc_fesetenv_sparc_ctx): Likewise.
9200 (libc_feupdateenv_sparc_ctx): Likewise.
9201 (libc_feholdsetround_sparc_ctx): Likewise.
9202 (libc_feholdexcept_setround_ctx): Define.
9203 (libc_feholdexcept_setroundf_ctx): Likewise.
9204 (libc_feholdexcept_setroundl_ctx): Likewise.
9205 (libc_fesetenv_ctx): Likewise.
9206 (libc_fesetenvf_ctx): Likewise.
9207 (libc_fesetenvl_ctx): Likewise.
9208 (libc_feupdateenv_ctx): Likewise.
9209 (libc_feupdateenvf_ctx): Likewise.
9210 (libc_feupdateenvl_ctx): Likewise.
9211 (libc_feresetround_ctx): Likewise.
9212 (libc_feresetroundf_ctx): Likewise.
9213 (libc_feresetroundl_ctx): Likewise.
9214 (libc_feholdsetround_ctx): Likewise.
9215 (libc_feholdsetroundf_ctx): Likewise.
9216 (libc_feholdsetroundl_ctx): Likewise.
9217
1d3d93ef
DM
9218 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9219 with __USE_GNU instead of XOPEN cpp guards.
9220
8aa583c3
DM
9221 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
9222 0.
9223
211d653c
DM
9224 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9225 with XOPEN cpp guards.
9226
60c8f1f6
JB
92272014-04-30 Julian Brown <julian@codesourcery.com>
9228
9229 [BZ #16888]
9230 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
9231 handling.
9232
9a461d46
JM
92332014-04-30 Joseph Myers <joseph@codesourcery.com>
9234
d0f5b3f8
JM
9235 [BZ #9894]
9236 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
9237 Change to 2.6.32.
9238 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
9239 * sysdeps/unix/sysv/linux/configure: Regenerated.
9240 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
9241 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
9242 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
9243 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
9244 * README: Update reference to required Linux kernel version.
9245 * manual/install.texi (Linux): Update reference to required Linux
9246 kernel headers version.
9247 * INSTALL: Regenerated.
9248
9a461d46
JM
9249 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
9250 header inclusion.
9251 [POSIX] (limits.h): Likewise.
9252 [POSIX] (math.h): Likewise.
9253 [POSIX] (sys/wait.h): Likewise.
9254 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
9255 function.
9256 [POSIX] (stddef.h): Do not allow header inclusion.
9257
1775babf
AZ
92582014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9259
57f41c40 9260 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 9261
8f630cca
YY
92622014-04-30 Yang Yingliang <yangyingliang@huawei.com>
9263
9264 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9265 Return immediately after lll_futex_wake.
9266
1cdeb237
SP
92672014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9268
bc8f194c
SP
9269 [BZ #16791]
9270 * nscd/nscd-client.h (datahead_init_common): Initialize entire
9271 structure.
9272 (datahead_init_pos): Call datahead_init_common early.
9273 (datahead_init_neg): Likewise.
9274
1cdeb237
SP
9275 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
9276 datahead_init_neg): New functions.
9277 * nscd/aicache.c (addhstaiX): Use them.
9278 * nscd/grpcache.c (cache_addgr): Likewise.
9279 * nscd/hstcache.c (cache_addhst): Likewise.
9280 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9281 * nscd/netgroupcache.c (do_notfound): Likewise.
9282 (addgetnetgrentX): Likewise.
9283 (addinnetgrX): Likewise.
9284 * nscd/pwdcache.c (cache_addpw): Likewise.
9285 * nscd/servicescache.c (cache_addserv): Likewise.
9286
16b293a7
SP
92872014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9288 Atsushi Onoe <atsushi@onoe.org>
9289
9290 [BZ #14308]
9291 [BZ #12994]
9292 [BZ #13651]
9293 * resolv/res_query.c (__libc_res_nsearch): Return if at least
9294 one response is valid.
9295 * resolv/res_send.c (send_dg): Check for validity of other
9296 response if the current response is a referral.
9297
a28a9b94
SE
92982014-04-29 Steve Ellcey <sellcey@mips.com>
9299
9300 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
9301
2ca180e9
SL
93022014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
9303
9304 [BZ #16823]
9305 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
9306 Always divide by positive zero when computing -Inf result.
9307 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9308 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
9309
18f2945a
AZ
93102014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9311
9312 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
9313 FPSCR if value do not change.
9314 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9315 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
9316 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9317 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9318 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
9319 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
9320 function.
9321
5abebba4
CD
93222014-05-29 Carlos O'Donell <carlos@systemhalted.org>
9323
9324 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
9325 * sysdeps/unix/sysv/linux/hppa: Move directory from
9326 ports/systeps/unix/sysv/linux/hppa.
9327 * README: Update listing for hppa-*-linux-gnu.
9328
f7ed60c2
OB
93292014-04-28 Ondřej Bílka <neleai@seznam.cz>
9330
fff763a5
OB
9331 [BZ #16754]
9332 * manual/stdio.texi (Hook functions): Fix types of stream hook
9333 functions.
f7ed60c2
OB
9334 [BZ #16854]
9335 * socket/sys/socket.h: Fix typo in comment.
9336
df639d73
WD
93372014-04-28 Wilco <wdijkstr@arm.com>
9338
f7ed60c2 9339 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
9340 * sysdeps/arm/math_private.h: New file.
9341 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
9342
48332d82
L
93432014-04-25 H.J. Lu <hongjiu.lu@intel.com>
9344
9345 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
9346 with __int128_t.
9347 (La_x86_64_retval): Likewise.
9348
e5e0d9a4
IB
93492014-04-24 Ian Bolton <ian.bolton@arm.com>
9350
9351 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
9352 fpsr if value didn't change.
9353 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
9354 to fpcr if value didn't change.
9355 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
9356 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
9357 fpsr or fpcr if value didn't change.
9358 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9359 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
9360 fpcr if value didn't change.
9361 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
9362 to fpsr if value didn't change.
9363
bacc75f7
SP
93642014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9365
9366 * nptl/tst-sem3.c: Use test-skeleton.c
9367 (main): Rename to do_test. Use return instead of
9368 exit.
9369 * nptl/tst-sem4.c: Use test-skeleton.c
9370 (main): Rename to do_test.
9371
a059d359
DM
93722014-04-22 David S. Miller <davem@davemloft.net>
9373
9374 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
9375 (struct sigaction): New struct member __glibc_reserved0, change
9376 type of sa_flags to int.
9377
ea6c92f3
YZ
93782014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
9379
9380 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
9381 (COUNT_LEADING_ZEROS_0): Define for AArch64.
9382
766c4a36
SP
93832014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9384
9385 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
9386 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
9387
140cc7ab
VK
93882014-04-22 Will Newton <will.newton@linaro.org>
9389 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
9390
9391 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
9392 (__longjmp): Add longjmp and longjmp_target SystemTap
9393 probes.
9394 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
9395 (__sigsetjmp): Add setjmp SystemTap probe.
9396
c54e5cf7
CD
93972014-04-17 Carlos O'Donell <carlos@redhat.com>
9398
9399 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
9400 match manual order.
9401
75ffb047
AZ
94022014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9403
9404 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
9405
2cd925f7
AZ
9406 * sysdeps/powerpc/fpu/fenv_private.h
9407 (libc_feholdexcept_setroundl_ctx): Define to
9408 libc_feholdexcept_setround_ppc_ctx.
9409 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
9410 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
9411 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
9412 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
9413
39e6cd8d
IB
94142014-04-17 Ian Bolton <ian.bolton@arm.com>
9415
9416 * sysdeps/aarch64/math-tests.h: New file.
9417
f9281df9
SY
94182014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
9419
9420 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
9421 New.
9422 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9423 Check and set bit_AVX2_Usable.
9424 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
9425 macro.
9426 (bit_AVX2): Likewise.
9427 (index_AVX2_Usable): Likewise.
9428 (CPUID_AVX2): Likewise.
9429 (HAS_AVX2): Likewise.
9430
37d35007
WN
94312014-04-17 Will Newton <will.newton@linaro.org>
9432
7c677662
WN
9433 * manual/setjmp.texi (System V contexts): Add note that
9434 calling setcontext on a context created by a call to a
9435 signal handler is undefined. Update text to note that
9436 setcontext from a signal handler is possible but not
9437 recommended.
9438
37d35007 9439 [BZ #16629]
e04a4e9d
WN
9440 * stdlib/tst-setcontext.c: Include signal.h.
9441 (main): Check that the signal stack before and
9442 after swapcontext is the same.
9443
37d35007
WN
9444 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
9445 Re-implement to restore registers in user code and avoid
9446 rt_sigreturn system call.
9447
423a7160
W
94482014-04-17 Wilco <wdijkstr@arm.com>
9449
9450 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
9451 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
9452 * math/test-fenv.c: Skip exception trap tests on targets which only
9453 support non-stop mode.
9454
bc93ab29
IB
94552014-04-17 Ian Bolton <ian.bolton@arm.com>
9456 Wilco Dijkstra <wilco.dijkstra@arm.com>
9457
9458 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
9459 (libc_feholdsetround_aarch64_ctx)
9460 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
9461 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
9462 (libc_feresetround_ctx, libc_feresetroundf_ctx)
9463 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
9464 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
9465 (libc_feresetround_noexl_ctx): Define.
9466
95fc5fa3
RH
94672014-04-16 Richard Henderson <rth@redhat.com>
9468
ddb04724
RH
9469 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
9470
d77c0899
RH
9471 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
9472 unwind tables.
9473
a3df56fc
RH
9474 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
9475 const from the non-libc, non-ldso copy.
9476
95fc5fa3
RH
9477 * sysdeps/alpha/libm-test-ulps: Regenerate.
9478
7e0b6763
IB
94792014-04-16 Ian Bolton <ian.bolton@arm.com>
9480 Wilco Dijkstra <wilco.dijkstra@arm.com>
9481
9482 * sysdeps/aarch64/fpu/math_private.h: New file.
9483
a9ea2e0c
MS
94842014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
9485
9486 * sysdeps/aarch64/libm-test-ulps: Regenerate.
9487
ea8ba7cd
IZ
94882014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
9489
7e54fd04 9490 [BZ #16275]
ea8ba7cd
IZ
9491 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
9492 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
9493 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
9494 Intel MPX bound registers before _dl_profile_fixup.
9495 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
9496 registers after _dl_profile_fixup. Save and restore bound
9497 registers bnd0/bnd1 when calling _dl_call_pltexit.
9498 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
9499 (LR_BND_OFFSET): Likewise.
9500 (LRV_BND0_OFFSET): Likewise.
9501 (LRV_BND1_OFFSET): Likewise.
9502
9f2a4fbc
ST
95032014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9504
9505 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
9506 to...
9507 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
9508 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
9509 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
9510 fields.
9f2a4fbc 9511
fd15a59b
ST
95122014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9513
9514 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
9515
f19dfa0a
SL
95162014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9517
9518 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9519
4fa8bc3b
SL
95202014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9521
9522 [BZ #14770]
9523 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
9524 * sysdeps/s390/configure: Regenerate.
9525
8ea587db
SL
9526 [BZ #16824]
9527 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
9528 Set round-to-nearest internally to reduce error accumulation.
9529
aa5f0ff1
AM
95302014-04-16 Alan Modra <amodra@gmail.com>
9531
9532 [BZ #16740]
9533 [BZ #16619]
9534 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
9535 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 9536 * NEWS: Update fixed bug list.
aa5f0ff1 9537
bb9c256f
SP
95382014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9539
9540 * benchtests/Makefile: Depend on libraries in build directory.
9541 (bench-math): Separate out math tests.
9542 (bench-pthread): Separate out pthread tests.
9543 (bench): Include math and pthread tests.
9544
f737dfd0
CD
95452014-04-14 Carlos O'Donell <carlos@redhat.com>
9546
9547 [BZ #16831]
9548 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
9549 _dl_debug_initialize.
9550
0699f766
CD
9551 * configure.ac: Remove SELinux header check.
9552 * configure: Regenerate.
9553 * nscd/selinux.c (perms): Array of const char* to permission names.
9554 (nscd_request_avc_has_perm): Call security_deny_unknown to find
9555 default policy. Call string_to_security_class and string_to_av_perm to
9556 translate strings. Enforce default policy and call avs_has_perm with
9557 results of translated strings.
9558
809bd45f
DM
95592014-04-13 David S. Miller <davem@davemloft.net>
9560
9561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9562
89e691f2
AM
95632014-04-12 Allan McRae <allan@archlinux.org>
9564
9565 [BZ #16838]
9566 * manual/string.texi (Collation Functions): Fix qsort argument
9567 order in example.
9568 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9569
9c9daaeb
CM
95702014-04-11 Chris Metcalf <cmetcalf@tilera.com>
9571
9572 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
9573 Make the test a no-op if there are no exceptions defined.
9574
95561fb9
PP
95752014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
9576
fe8d072c 9577 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
9578 enable-hardcoded-path-in-tests
9579
970c602a
WN
95802014-04-11 Will Newton <will.newton@linaro.org>
9581
9582 * benchtests/Makefile (extra-objs): Add json-lib.o.
9583 (bench-func): Tidy up JSON output.
9584 * benchtests/bench-skeleton.c: Include json-lib.h.
9585 (main): Use JSON library functions to do output of
9586 benchmark results.
9587 * benchtests/bench-timing-type.c (main): Output the
9588 timing type simply, leaving formatting to the user.
9589 * benchtests/json-lib.c: New file.
9590 * benchtests/json-lib.h: Likewise.
9591
36875b06
TR
95922014-04-11 Torvald Riegel <triegel@redhat.com>
9593
9594 [BZ #15215]
9595 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
9596 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
9597 memory barriers. Add comments.
9598 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
9599 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
9600 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
9601 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
9602 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
9603 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
9604
579db35a
SL
96052014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9606
9607 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
9608 * sysdeps/s390/s390-64/configure.ac: ... this ...
9609 * sysdeps/s390/configure.ac: ... to here.
9610 * sysdeps/s390/s390-32/configure: Delete file.
9611 * sysdeps/s390/s390-64/configure: Delete file.
9612 * sysdeps/s390/configure: Regenerate.
9613
c12e9f37
JAPH
96142014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
9615
9616 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
9617
439bda32
WN
96182014-04-11 Will Newton <will.newton@linaro.org>
9619
9620 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
9621 to zero if it is not defined elsewhere. (mtrim): Test
9622 the value of MALLOC_DEBUG with #if rather than #ifdef.
9623
6a5d6ea1
TR
96242014-04-10 Torvald Riegel <triegel@redhat.com>
9625
9626 * benchtests/pthread_once-inputs: New file.
9627 * benchtests/pthread_once-source.c: New file.
9628 * benchtests/README: Update documentation.
9629
a4c75cfd
IZ
96302014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
9631 H.J. Lu <hongjiu.lu@intel.com>
9632
7e54fd04 9633 [BZ #16275]
a4c75cfd
IZ
9634 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
9635 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
9636 * sysdeps/x86_64/configure: Regenerated.
9637 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
9638 macro.
9639 (REGISTER_SAVE_RAX): Likewise.
9640 (REGISTER_SAVE_RCX): Likewise.
9641 (REGISTER_SAVE_RDX): Likewise.
9642 (REGISTER_SAVE_RSI): Likewise.
9643 (REGISTER_SAVE_RDI): Likewise.
9644 (REGISTER_SAVE_R8): Likewise.
9645 (REGISTER_SAVE_R9): Likewise.
9646 (REGISTER_SAVE_BND0): Likewise.
9647 (REGISTER_SAVE_BND1): Likewise.
9648 (REGISTER_SAVE_BND2): Likewise.
9649 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
9650 bound registers when calling _dl_fixup.
9651
27822ce6
AZ
96522014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9653
9654 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
9655 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
9656 of its definition.
27822ce6
AZ
9657 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
9658 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
9659 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
9660 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
9661 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
9662 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
9663 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
9664
a88ddc90
PTB
96652014-04-09 Peter Brett <peter@peter-b.co.uk>
9666
9667 [BZ #15514]
9668 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
9669 pathconf(_PC_NAME_MAX).
9670
01f8eac2
AZ
96712014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9672
9673 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
9674 Remove macro usage.
9675 (__PTHREAD_SPINS): Move definition to ...
9676 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9677 (__PTHREAD_SPINS): ... here.
9678 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9679 (__PTHREAD_SPIN): Likewise.
9680 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
9681 (__PTHREAD_SPIN): Likewise.
9682 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
9683 (__PTHREAD_SPIN): Likewise.
9684 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
9685 (__PTHREAD_SPIN): Likewise.
9686 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9687 (__PTHREAD_SPIN): Likewise.
9688 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9689 (__PTHREAD_SPIN): Likewise.
9690 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
9691 (__PTHREAD_SPIN): Likewise.
9692 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9693 (__PTHREAD_SPIN): Likewise.
9694 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9695 (__PTHREAD_SPIN): Likewise.
9696 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9697 (__PTHREAD_SPIN): Likewise.
9698 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9699 (__PTHREAD_SPIN): Likewise.
9700 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
9701 (__PTHREAD_SPIN): Likewise.
9702
de21c33c
AZ
9703 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
9704 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
9705 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
9706 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
9707 imply folder.
9708 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9709 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9710 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9711 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9712 correct imply path.
9713 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9714 strlen symbol for non multi-arch builds.
9715 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9716 missing hidden_def and weak_alias.
9717
862c472e
CD
97182014-04-08 Carlos O'Donell <carlos@redhat.com>
9719
9720 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9721
8667f90e
WN
97222014-04-07 Will Newton <will.newton@linaro.org>
9723
9724 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9725 and contents. [!_LIBC] Remove #ifndef and contents.
9726 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
9727 * string/memccpy.c (__memccpy): Use ANSI prototype.
9728 * string/memfrob.c (memfrob): Likewise.
9729 * string/strcoll.c (STRCOLL): Likewise.
9730 * string/strlen.c (strlen): Likewise.
9731 * string/strtok.c (STRTOK): Likewise.
9732 * string/strcat.c: Remove unused #include of memcopy.h.
9733 (strcat): Use ANSI prototype.
9734 * string/strchr.c: Remove unused #include of memcopy.h.
9735 (strchr): Use ANSI prototype.
9736 * string/strcmp.c: Remove unused #include of memcopy.h.
9737 (strcmp): Use ANSI prototype.
9738 * string/strcpy.c: Remove unused #include of memcopy.h.
9739 (strcpy): Use ANSI prototype.
9740
7ffa9423
AZ
97412014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9742
9743 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9744 * config.make.in (config-extra-cppflags): Set it from
9745 libc_extra_cppflags.
9746 * configure.ac (libc_extra_cflags): Make it accumulate over
9747 configure fragments.
9748 (libc_extra_cppflags): New flag.
9749 * configure. Regenerate.
9750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
9751 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9752 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
9753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9754
8bd70862
AZ
9755 [BZ #16815]
9756 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9757 result for FE_DOWNWARD rounding mode.
9758 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9759 Likewise.
9760 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9761
d42f3448
CM
97622014-04-04 Chris Metcalf <cmetcalf@tilera.com>
9763
9764 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9765 in function argument name.
9766
1c21d115
DS
97672014-04-03 David Svoboda <svoboda@cert.org>
9768
9769 [BZ #5666]
9770 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9771 explicitly.
9772
fcccd512
RM
97732014-04-03 Roland McGrath <roland@hack.frob.com>
9774
9775 * elf/dl-unmap-segments.h: New file.
9776 * sysdeps/generic/ldsodefs.h
9777 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9778 * elf/dl-close.c: Include <dl-unmap-segments.h>.
9779 * elf/dl-fptr.c: Likewise.
9780 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9781 * sysdeps/aarch64/tlsdesc.c: Likewise.
9782 * sysdeps/arm/tlsdesc.c: Likewise.
9783 * sysdeps/i386/tlsdesc.c: Likewise.
9784 * sysdeps/tile/dl-runtime.c: Likewise.
9785 * sysdeps/x86_64/tlsdesc.c: Likewise.
9786 * elf/dl-load.h: New file.
9787 * elf/dl-load.c: Include it.
9788 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9789 Macros moved to dl-load.h.
9790 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9791 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9792 Use _dl_unmap_segments in place of __munmap.
9793 Break out segment-mapping loop into ...
9794 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9795
f6488e2b
WN
97962014-04-03 Will Newton <will.newton@linaro.org>
9797
9798 * elf/dl-lookup.c (do_lookup_x): Remove comment
9799 referring to nested function and move variable
9800 declarations down to before first use.
9801
6f05bafe
JM
98022014-04-02 Joseph Myers <joseph@codesourcery.com>
9803
a84e78c8
JM
9804 [BZ #16799]
9805 [BZ #16800]
9806 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
9807 with 0 numerator.
9808 * math/s_catanf.c (__catanf): Likewise.
9809 * math/s_catanh.c (__catanh): Likewise.
9810 * math/s_catanhf.c (__catanhf): Likewise.
9811 * math/s_catanhl.c (__catanhl): Likewise.
9812 * math/s_catanl.c (__catanl): Likewise.
9813 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
9814 by positive zero when computing -Inf result.
9815 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
9816 (catanh_test): Likewise.
9817 * sysdeps/i386/fpu/libm-test-ulps: Update.
9818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9819
6f05bafe
JM
9820 [BZ #16789]
9821 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
9822 instead of using underflowing value in computing result.
9823 * math/s_clog10.c (__clog10): Likewise.
9824 * math/s_clog10f.c (__clog10f): Likewise.
9825 * math/s_clog10l.c (__clog10l): Likewise.
9826 * math/s_clogf.c (__clogf): Likewise.
9827 * math/s_clogl.c (__clogl): Likewise.
9828 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
9829 (clog10_test): Likewise.
9830 * sysdeps/i386/fpu/libm-test-ulps: Update.
9831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9832
b0abbc21
AM
98332014-04-02 Alan Modra <amodra@gmail.com>
9834
9835 [BZ #16739]
9836 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
9837 output when value is near a power of two. Use int64_t for lx and
9838 remove casts. Use decimal rather than hex exponent constants.
9839 Don't use long double multiplication when double will suffice.
9840 * math/libm-test.inc (nextafter_test_data): Add tests.
9841 * NEWS: Add 16739 and 16786 to bug list.
9842
af6b1797
AM
9843 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
9844
483818d7
AM
9845 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
9846
f6c55796
WN
98472014-04-01 Will Newton <will.newton@linaro.org>
9848
9849 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
9850 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
9851
13f7fe35
FW
98522014-04-01 Florian Weimer <fweimer@redhat.com>
9853
9854 [BZ #13347]
9855 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
9856 * nptl/tst-setuid2.c: New file.
9857 * nptl/Makefile (xtests): Add tst-setuid2.
9858
c859b32e
AM
98592014-04-01 Alan Modra <amodra@gmail.com>
9860
9861 [BZ #16786]
9862 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
9863
54fa2475
JM
98642014-03-31 Joseph Myers <joseph@codesourcery.com>
9865
8795b4a4
JM
9866 [BZ #6803]
9867 [BZ #6804]
9868 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
9869 set errno as appropriate.
9870 * math/w_scalbf.c (__scalbf): Likewise.
9871 * math/w_scalbl.c (__scalbl): Likewise.
9872 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
9873 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
9874 * math/libm-test.inc (scalb_test_data): Add errno expectations.
9875 Add more NaN tests.
9876
54fa2475
JM
9877 [BZ #16349]
9878 * math/w_atan2.c: Include <errno.h>.
9879 (__atan2): Set errno for result underflowing to zero.
9880 * math/w_atan2f.c: Include <errno.h>.
9881 (__atan2f): Set errno for result underflowing to zero.
9882 * math/w_atan2l.c: Include <errno.h>.
9883 (__atan2l): Set errno for result underflowing to zero.
9884 * math/auto-libm-test-in: Don't allow missing errno for some atan2
9885 tests.
9886 * math/auto-libm-test-out: Regenerated.
9887
757d9dd5
AZ
98882014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9889
9890 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9891 Encode instruction correctly in little endian.
9892 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9893 Likewise.
9894 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9895 Likewise.
9896 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9897 Likewise.
9898 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9899 Likewise.
9900
d7a68734
JM
99012014-03-31 Joseph Myers <joseph@codesourcery.com>
9902
47c5adeb
JM
9903 [BZ #9894]
9904 * sysdeps/unix/sysv/linux/kernel-features.h
9905 [__sparc__ && !__arch64__ && !__sparc_v9__]
9906 (__ASSUME_SET_ROBUST_LIST): Do not define.
9907 [__sparc__ && !__arch64__ && !__sparc_v9__]
9908 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9909 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
9910 Likewise.
9911 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9912 (__ASSUME_FUTEX_LOCK_PI): Undefine.
9913 (__ASSUME_REQUEUE_PI): Likewise.
9914 (__ASSUME_SET_ROBUST_LIST): Likewise.
9915 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9916 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
9917 Undefine.
9918 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9919 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
9920 Likewise.
9921 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
9922 Likewise.
9923 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
9924 Likewise.
9925 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9926 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
9927 Undefine.
9928 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
9929 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
9930 Likewise.
9931
d7a68734
JM
9932 [BZ #16648]
9933 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9934 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
9935 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
9936
c760f5c2
WN
99372014-03-31 Will Newton <will.newton@linaro.org>
9938
9939 * benchtests/Makefile (bench): Add ffs and ffsll to list
9940 of tests.
9941 * benchtests/ffs-inputs: New file.
9942 * benchtests/ffsll-inputs: Likewise.
9943
ea6029b1
JM
99442014-03-29 Joseph Myers <joseph@codesourcery.com>
9945
9946 [BZ #16770]
9947 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
9948 too large before casting to int.
9949 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
9950 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
9951 * math/libm-test.inc (scalb_test_data): Add more tests.
9952
cf806aff
SP
99532014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9954
56737508
SP
9955 * benchtests/Makefile (DETAILED_OPT): New make option.
9956 (bench-func): Run benchmark program with -d if DETAILED_OPT is
9957 set.
9958 * benchtests/bench-skeleton.c: Include stdbool.h.
9959 (main): Store and print timings per input.
9960 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
9961 member to each argument value.
9962 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
9963 (_print_arg_data): Initialize per-input timing to 0.
9964
cb5e4aad
SP
9965 * benchtests/Makefile (timing-type): New binary.
9966 (bench-clean): Also remove bench-timing-type.
9967 (bench): New target for timing-type.
9968 (bench-func): Print output in JSON format.
9969 * benchtests/bench-skeleton.c (main): Print output in JSON
9970 format.
9971 * benchtests/bench-timing-type.c: New file.
9972 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
9973 (TIMING_PRINT_STATS): Remove.
9974 * benchtests/scripts/bench.py (_print_arg_data): Store variant
9975 name separately.
9976
cf806aff
SP
9977 * benchtests/bench-modf.c: Remove.
9978 * benchtests/modf-inputs: New inputs file.
9979
289e0779
JM
99802014-03-28 Joseph Myers <joseph@codesourcery.com>
9981
9982 [BZ #16362]
9983 * math/s_clog10.c (M_PI_LOG10E): New macro.
9984 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
9985 imaginary parts are 0.
9986 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
9987 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
9988 imaginary parts are 0.
9989 * math/s_clog10l.c (M_PI_LOG10El): New macro.
9990 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
9991 imaginary parts are 0.
9992 * math/libm-test.inc (clog10_test_data): Update expected results
9993 for when real and imaginary parts are 0.
9994
277ae3f1
PP
99952014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
9996
9997 * elf/dl-load.c: Finish conversion of __builtin_expect into
9998 __glibc_{un}likely.
9999
03a7091f
JM
100002014-03-27 Joseph Myers <joseph@codesourcery.com>
10001
10002 [BZ #16348]
10003 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
10004 1+x for argument with exponent below -67.
10005 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
10006 Likewise.
10007 * math/auto-libm-test-in: Add more tests of exp.
10008 * math/auto-libm-test-out: Regenerated.
10009
ea7d8b95
SP
100102014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10011
dd3022d7
SP
10012 [BZ #16759]
10013 * inet/getnetgrent_r.c (get_nonempty_val): New function.
10014 (nscd_getnetgrent): Use it.
10015
ea7d8b95
SP
10016 [BZ #16760]
10017 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
10018 of stpcpy.
10019
df5b85da
AK
100202014-03-27 Andi Kleen <ak@linux.intel.com>
10021
57f41c40
AS
10022 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
10023 (lll_robust_lock, lll_cond_lock, lll_timedlock)
10024 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10025 (lll_robust_unlock): Remove out of line section. Use cfi
10026 intrinsics.
df5b85da 10027 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
10028 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
10029 (lll_robust_lock, lll_cond_lock, lll_timedlock)
10030 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10031 (lll_robust_unlock): Remove out of line section. Use cfi
10032 intrinsics.
df5b85da
AK
10033 (LLL_STUB_UNWIND_INFO*): Remove.
10034
fbd6b5a4
SP
100352014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10036
10037 [BZ #16758]
10038 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
10039 blank values.
10040
1b26b855
PP
100412014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
10042
10043 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
10044
9be36fb8
JM
100452014-03-26 Joseph Myers <joseph@codesourcery.com>
10046
10047 [BZ #16198]
10048 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
10049 fnstenv.
10050 * math/test-fenv-preserve.c: New file.
10051 * math/Makefile (tests): Add test-fenv-preserve.
10052
60a2f3c1
WN
100532014-03-26 Will Newton <will.newton@linaro.org>
10054
10055 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
10056
a5e5f1e2
RM
100572014-03-25 Roland McGrath <roland@hack.frob.com>
10058
10059 * scripts/versionlist.awk: Partition the version sets and emit all
10060 GLIBC_* (sorted) before all others (sorted).
10061
00f4012a
JM
100622014-03-25 Joseph Myers <joseph@codesourcery.com>
10063
10064 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
10065 GLIBC_2.2.5 version.
10066
7bc5a741
AZ
100672014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10068
10069 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
10070 calls.
10071
7578473b
AZ
10072 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
10073 previous change.
10074
f3f1dab3
AZ
10075 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10076
6da36183
AS
100772014-03-25 Andreas Schwab <schwab@suse.de>
10078
10079 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
10080 label to be used after in6ailist is initialized.
10081
f3f1dab3 100822014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 10083
7578473b 10084 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
10085 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10086
046651c1
JM
100872014-03-25 Joseph Myers <joseph@codesourcery.com>
10088
10089 [BZ #16357]
10090 [BZ #16599]
10091 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
10092 min_plus_half.
10093 (fp_formats): Update initializers.
10094 (init_fp_formats): Initialize new field.
10095 (output_for_one_input_case): Allow underflow for results up to
10096 min_plus_half.
10097 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
10098 * math/auto-libm-test-in: Don't mark some underflows from asin and
10099 atanh as spurious.
10100 * math/auto-libm-test-out: Regenerated.
10101 * sysdeps/i386/fpu/libm-test-ulps: Update.
10102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10103
003e49ed
AS
101042014-03-25 Andreas Schwab <schwab@suse.de>
10105
10106 * libio/Makefile (tst-ftell-partial-wide-ENV)
10107 (tst-ftell-active-handler-ENV): Define.
10108
de031874
SL
101092014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10110
10111 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
10112
55a81e3b
PP
101132014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10114
10115 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
10116
f3426898
JM
101172014-03-24 Joseph Myers <joseph@codesourcery.com>
10118
10119 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
10120 * sysdeps/x86_64/fpu/multiarch/e_exp.c
10121 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10122
a42faf59
PP
101232014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10124
10125 [BZ #16634]
a42faf59 10126 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
10127 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
10128 (open_path): Change from boolean 'secure' to complete flag 'mode'
10129 (_dl_map_object): Adjust.
a42faf59
PP
10130 * elf/Makefile (tests): Add tst-dlopen-aout.
10131 * elf/tst-dlopen-aout.c: New test.
10132
50936127
SL
101332014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10134
10135 [BZ #16714]
10136 * sysdeps/unix/sysv/linux/s390/bits/stat.h
10137 (struct stat): Rename member pad0 to __glibc_reserved0.
10138
26011b5c
SL
10139 [BZ #16712]
10140 * sysdeps/s390/s390-32/bits/wordsize.h
10141 (__WORDSIZE32_SIZE_ULONG): New define.
10142 * sysdeps/s390/s390-64/bits/wordsize.h
10143 (__WORDSIZE32_SIZE_ULONG): Likewise.
10144 * sysdeps/generic/stdint.h (SIZE_MAX):
10145 Define as UL if __WORDSIZE32_SIZE_ULONG.
10146
a2d86bf1
SL
10147 [BZ #16713]
10148 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
10149 (__glibc_reserved0): New variable.
10150 (sa_flags): Change type to int.
10151
78b6eebc
SL
10152 * posix/Makefile (before-compile): Use += before-compile instead
10153 of a :=.
10154
f1399b5a
SL
10155 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10156 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10157
a071766e
AS
101582014-03-20 Andreas Schwab <schwab@suse.de>
10159
10160 [BZ #16743]
10161 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
10162 non-matching result from nscd.
10163
27c673b8
SP
101642014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10165
10166 * scripts/bench.py: Moved to ...
10167 * benchtests/scripts/bench.py: ... here.
10168 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
10169
44152e4b
AS
101702014-03-24 Andreas Schwab <schwab@suse.de>
10171
10172 [BZ #16002]
10173 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
10174 alloca_account and account alloca use for struct in6ailist.
10175
b376a11a
JM
101762014-03-24 Joseph Myers <joseph@codesourcery.com>
10177
10178 [BZ #16284]
10179 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
10180 rounding mode to recompute results that overflow to infinity or
10181 underflow to zero.
10182 * math/auto-libm-test-in: Don't mark tests as expected to fail for
10183 bug 16284.
10184 * math/auto-libm-test-out: Regenerated.
10185 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
10186 (ccosh_test): Likewise.
10187 (csin_test_data): Use plus_oflow.
10188 (csin_test): Use ALL_RM_TEST.
10189 (csinh_test_data): Use plus_oflow.
10190 (csinh_test): Use ALL_RM_TEST.
10191 * sysdeps/i386/fpu/libm-test-ulps: Update.
10192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10193
f7be7376
JM
101942014-03-21 Joseph Myers <joseph@codesourcery.com>
10195
1ca2d03e
JM
10196 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
10197 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
10198 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
10199
f7be7376
JM
10200 [BZ #16731]
10201 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
10202 when x - 1 is zero.
10203 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
10204 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
10205 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10206 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
10207 argument is 1.
10208 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
10209 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
10210 zero.
10211 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
10212 * sysdeps/i386/fpu/libm-test-ulps: Update.
10213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10214
fdf4534d
SP
102152014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10216
df26ea53
SP
10217 * scripts/bench.pl: Remove file.
10218 * scripts/bench.py: New benchmark script.
10219 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
10220 * benchtests/README: Mention python dependency.
10221 * scripts/pylintrc: New file.
10222 * scripts/pylint: New file.
10223
fdf4534d
SP
10224 * bits/mathdef.h: Use #ifdef instead of #if.
10225 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
10226 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10227 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
10228 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10229 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
10230 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10231
6f23d093
AZ
102322014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10233 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10234
10235 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
10236 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
10237 and strpbrk-ppc64 objects.
10238 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10239 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
10240 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
10241 multiarch strpbrk for POWER7.
10242 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
10243 multiarch strpbrk for PPC64.
10244 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
10245 ifunc selector.
10246 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
10247 strpbrk for POWER7.
10248
8c92dfff
JM
102492014-03-20 Joseph Myers <joseph@codesourcery.com>
10250
10251 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
10252 (atan_test): Likewise.
10253 (atanh_test_data): Use NO_TEST_INLINE for two tests.
10254 (atanh_test): Use ALL_RM_TEST.
10255 (atan2_test_data): Likewise.
10256 (cabs_test): Likewise.
10257 (cacosh_test): Likewise.
10258 (carg_test): Likewise.
10259 (casin_test): Likewise.
10260 (casinh_test): Likewise.
10261 (cbrt_test): Likewise.
10262 (csqrt_test): Likewise.
10263 (erf_test): Likewise.
10264 (erfc_test): Likewise.
10265 (pow10_test): Likewise.
10266 (exp2_test): Likewise.
10267 (hypot_test): Likewise.
10268 (j0_test): Likewise.
10269 (j1_test): Likewise.
10270 (lgamma_test): Likewise.
10271 (gamma_test): Likewise.
10272 (sincos_test): Likewise.
10273 (tanh_test): Likewise.
10274 (y0_test): Likewise.
10275 (y1_test): Likewise.
10276 * sysdeps/i386/fpu/libm-test-ulps: Update.
10277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10278
6eaf95cb
AZ
102792014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10280
a387428c
SP
10281 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
10282 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
10283 and strcspn-ppc64 objects.
10284 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10285 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
10286 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
10287 multiarch strcspn for POWER7.
10288 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
10289 multiarch strcspn for PPC64.
10290 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
10291 ifunc selector.
10292 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
10293 strcspn for POWER7.
10294
ae3a5dff
JM
102952014-03-20 Joseph Myers <joseph@codesourcery.com>
10296
10297 * math/gen-libm-test.pl (generate_testfile): Expect only function
10298 name as argument to AUTO_TESTS_* and pass results for all rounding
10299 modes to parse_args.
10300 (parse_auto_input): Separate inputs of automatic tests from
10301 outputs before storing in %auto_tests.
10302 * math/libm-test.inc (acos_test_data): Update call to
10303 AUTO_TESTS_f_f.
10304 (acos_test): Use ALL_RM_TEST.
10305 (acos_tonearest_test_data): Remove.
10306 (acos_test_tonearest): Likewise.
10307 (acos_towardzero_test_data): Likewise.
10308 (acos_test_towardzero): Likewise.
10309 (acos_downward_test_data): Likewise.
10310 (acos_test_downward): Likewise.
10311 (acos_upward_test_data): Likewise.
10312 (acos_test_upward): Likewise.
10313 (acosh_test_data): Update call to AUTO_TESTS_f_f.
10314 (asin_test_data): Likewise.
10315 (asin_test): Use ALL_RM_TEST.
10316 (asin_tonearest_test_data): Remove.
10317 (asin_test_tonearest): Likewise.
10318 (asin_towardzero_test_data): Likewise.
10319 (asin_test_towardzero): Likewise.
10320 (asin_downward_test_data): Likewise.
10321 (asin_test_downward): Likewise.
10322 (asin_upward_test_data): Likewise.
10323 (asin_test_upward): Likewise.
10324 (asinh_test_data): Update call to AUTO_TESTS_f_f.
10325 (atan_test_data): Likewise.
10326 (atanh_test_data): Likewise.
10327 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
10328 (cabs_test_data): Update call to AUTO_TESTS_c_f.
10329 (carg_test_data): Likewise.
10330 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
10331 (ccos_test_data): Update call to AUTO_TESTS_c_c.
10332 (ccosh_test_data): Likewise.
10333 (cexp_test_data): Likewise.
10334 (clog_test_data): Likewise.
10335 (clog10_test_data): Likewise.
10336 (cos_test_data): Update call to AUTO_TESTS_f_f.
10337 (cos_test): Use ALL_RM_TEST.
10338 (cos_tonearest_test_data): Remove.
10339 (cos_test_tonearest): Likewise.
10340 (cos_towardzero_test_data): Likewise.
10341 (cos_test_towardzero): Likewise.
10342 (cos_downward_test_data): Likewise.
10343 (cos_test_downward): Likewise.
10344 (cos_upward_test_data): Likewise.
10345 (cos_test_upward): Likewise.
10346 (cosh_test_data): Update call to AUTO_TESTS_f_f.
10347 (cosh_test): Use ALL_RM_TEST.
10348 (cosh_tonearest_test_data): Remove.
10349 (cosh_test_tonearest): Likewise.
10350 (cosh_towardzero_test_data): Likewise.
10351 (cosh_test_towardzero): Likewise.
10352 (cosh_downward_test_data): Likewise.
10353 (cosh_test_downward): Likewise.
10354 (cosh_upward_test_data): Likewise.
10355 (cosh_test_upward): Likewise.
10356 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
10357 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
10358 (ctan_test_data): Likewise.
10359 (ctan_test): Use ALL_RM_TEST.
10360 (ctan_tonearest_test_data): Remove.
10361 (ctan_test_tonearest): Likewise.
10362 (ctan_towardzero_test_data): Likewise.
10363 (ctan_test_towardzero): Likewise.
10364 (ctan_downward_test_data): Likewise.
10365 (ctan_test_downward): Likewise.
10366 (ctan_upward_test_data): Likewise.
10367 (ctan_test_upward): Likewise.
10368 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
10369 (ctanh_test): Use ALL_RM_TEST.
10370 (ctanh_tonearest_test_data): Remove.
10371 (ctanh_test_tonearest): Likewise.
10372 (ctanh_towardzero_test_data): Likewise.
10373 (ctanh_test_towardzero): Likewise.
10374 (ctanh_downward_test_data): Likewise.
10375 (ctanh_test_downward): Likewise.
10376 (ctanh_upward_test_data): Likewise.
10377 (ctanh_test_upward): Likewise.
10378 (erf_test_data): Update call to AUTO_TESTS_f_f.
10379 (erfc_test_data): Likewise.
10380 (exp_test_data): Likewise.
10381 (exp_test): Use ALL_RM_TEST.
10382 (exp_tonearest_test_data): Remove.
10383 (exp_test_tonearest): Likewise.
10384 (exp_towardzero_test_data): Likewise.
10385 (exp_test_towardzero): Likewise.
10386 (exp_downward_test_data): Likewise.
10387 (exp_test_downward): Likewise.
10388 (exp_upward_test_data): Likewise.
10389 (exp_test_upward): Likewise.
10390 (exp10_test_data): Update call to AUTO_TESTS_f_f.
10391 (exp10_test): Use ALL_RM_TEST.
10392 (exp10_tonearest_test_data): Remove.
10393 (exp10_test_tonearest): Likewise.
10394 (exp10_towardzero_test_data): Likewise.
10395 (exp10_test_towardzero): Likewise.
10396 (exp10_downward_test_data): Likewise.
10397 (exp10_test_downward): Likewise.
10398 (exp10_upward_test_data): Likewise.
10399 (exp10_test_upward): Likewise.
10400 (exp2_test_data): Update call to AUTO_TESTS_f_f.
10401 (expm1_test_data): Likewise.
10402 (expm1_test): Use ALL_RM_TEST.
10403 (expm1_tonearest_test_data): Remove.
10404 (expm1_test_tonearest): Likewise.
10405 (expm1_towardzero_test_data): Likewise.
10406 (expm1_test_towardzero): Likewise.
10407 (expm1_downward_test_data): Likewise.
10408 (expm1_test_downward): Likewise.
10409 (expm1_upward_test_data): Likewise.
10410 (expm1_test_upward): Likewise.
10411 (fma_test_data): Update call to AUTO_TESTS_fff_f.
10412 (fma_test): Use ALL_RM_TEST.
10413 (fma_towardzero_test_data): Remove.
10414 (fma_test_towardzero): Likewise.
10415 (fma_downward_test_data): Likewise.
10416 (fma_test_downward): Likewise.
10417 (fma_upward_test_data): Likewise.
10418 (fma_test_upward): Likewise.
10419 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
10420 (j0_test_data): Update call to AUTO_TESTS_f_f.
10421 (j1_test_data): Likewise.
10422 (jn_test_data): Update call to AUTO_TESTS_if_f.
10423 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
10424 (log_test_data): Update call to AUTO_TESTS_f_f.
10425 (log10_test_data): Likewise.
10426 (log1p_test_data): Likewise.
10427 (log2_test_data): Likewise.
10428 (pow_test_data): Update call to AUTO_TESTS_ff_f.
10429 (pow_tonearest_test_data): Likewise.
10430 (sin_test_data): Update call to AUTO_TESTS_f_f.
10431 (sin_test): Use ALL_RM_TEST.
10432 (sin_tonearest_test_data): Remove.
10433 (sin_test_tonearest): Likewise.
10434 (sin_towardzero_test_data): Likewise.
10435 (sin_test_towardzero): Likewise.
10436 (sin_downward_test_data): Likewise.
10437 (sin_test_downward): Likewise.
10438 (sin_upward_test_data): Likewise.
10439 (sin_test_upward): Likewise.
10440 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
10441 (sinh_test_data): Update call to AUTO_TESTS_f_f.
10442 (sinh_test): Use ALL_RM_TEST.
10443 (sinh_tonearest_test_data): Remove.
10444 (sinh_test_tonearest): Likewise.
10445 (sinh_towardzero_test_data): Likewise.
10446 (sinh_test_towardzero): Likewise.
10447 (sinh_downward_test_data): Likewise.
10448 (sinh_test_downward): Likewise.
10449 (sinh_upward_test_data): Likewise.
10450 (sinh_test_upward): Likewise.
10451 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
10452 (sqrt_test): Use ALL_RM_TEST.
10453 (sqrt_tonearest_test_data): Remove.
10454 (sqrt_test_tonearest): Likewise.
10455 (sqrt_towardzero_test_data): Likewise.
10456 (sqrt_test_towardzero): Likewise.
10457 (sqrt_downward_test_data): Likewise.
10458 (sqrt_test_downward): Likewise.
10459 (sqrt_upward_test_data): Likewise.
10460 (sqrt_test_upward): Likewise.
10461 (tan_test_data): Update call to AUTO_TESTS_f_f.
10462 (tan_test): Use ALL_RM_TEST.
10463 (tan_tonearest_test_data): Remove.
10464 (tan_test_tonearest): Likewise.
10465 (tan_towardzero_test_data): Likewise.
10466 (tan_test_towardzero): Likewise.
10467 (tan_downward_test_data): Likewise.
10468 (tan_test_downward): Likewise.
10469 (tan_upward_test_data): Likewise.
10470 (tan_test_upward): Likewise.
10471 (tanh_test_data): Update call to AUTO_TESTS_f_f.
10472 (tgamma_test_data): Likewise.
10473 (y0_test_data): Likewise.
10474 (y1_test_data): Likewise.
10475 (yn_test_data): Update call to AUTO_TESTS_if_f.
10476 (main): Do not call removed functions.
10477
d71aeee8
JM
104782014-03-19 Joseph Myers <joseph@codesourcery.com>
10479
10480 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
10481 (ldexp_test_data): Remove.
10482 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
10483 scalbn_test_data.
10484 (scalb_test): Use ALL_RM_TEST.
10485
baaf1ded
AS
104862014-03-19 Andreas Schwab <schwab@suse.de>
10487
10488 * nscd/nscd.service: Also invalidate netgroup cache on reload.
10489
b1115e91
JM
104902014-03-19 Joseph Myers <joseph@codesourcery.com>
10491
10492 [BZ #16649]
10493 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10494 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
10495 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
10496 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10497 (__ASSUME_PREADV): Undefine.
10498 (__ASSUME_PWRITEV): Likewise.
10499
0283ecca
RM
105002014-03-18 Roland McGrath <roland@hack.frob.com>
10501
7d375303
RM
10502 * bits/mman-linux.h: Add comment about non-Linux use.
10503 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
10504 bits/mman-linux.h resting place.
10505
0283ecca
RM
10506 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
10507 * bits/mman-linux.h: ... here.
10508
aebe1003
AZ
105092014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10510
10511 * conform/conformtest.pl: Add standard definition when calling C
10512 preprocessor on data files.
10513 (checknamespace): Remove unused variable.
10514
b29b6bb8
JM
105152014-03-18 Joseph Myers <joseph@codesourcery.com>
10516
10517 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
10518 minus_oflow, plus_uflow and minus_uflow in expected results.
10519 * math/libm-test.inc (scalbn_test_data): Add more tests of
10520 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
10521 minus_uflow.
10522 (scalbn_test): Use ALL_RM_TEST.
10523 (scalbln_test_data): Add more tests of negative arguments. Use
10524 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
10525 (scalbln_test): Use ALL_RM_TEST.
10526
c8f8fa15
RM
105272014-03-18 Roland McGrath <roland@hack.frob.com>
10528
10529 * scripts/abilist.awk: Ignore symbols marked with .hidden.
10530
fede7a5f
WN
105312014-03-18 Will Newton <will.newton@linaro.org>
10532
10533 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
10534 inaccurate comment.
10535
80cf0a58
JM
105362014-03-18 Joseph Myers <joseph@codesourcery.com>
10537
10538 * Makerules [!subdir] (check-abi): Exit with error status if a
10539 test failed.
10540
b3620862
JM
105412014-03-17 Joseph Myers <joseph@codesourcery.com>
10542
10543 * math/libm-test.inc (nearbyint_test_data): Include all tests used
10544 for rint. Include results for all rounding modes.
10545 (nearbyint_test): Use ALL_RM_TEST.
10546 (rint_test_data): Include all tests used for nearbyint.
10547
788bba36
WN
105482014-03-17 Will Newton <will.newton@linaro.org>
10549
04ec140a
WN
10550 * nptl/sysdeps/pthread/pthread.h: Revert previous
10551 change.
10552
7579d8d5
WN
10553 * sysdeps/generic/ldsodefs.h: Revert previous
10554 change.
10555
c15cf13a
WN
10556 * libio/genops.c: Revert previous change.
10557 * libio/libioP.h: Likewise.
10558 * stdio-common/vfprintf.c: Likewise.
10559
d0ac1324
WN
10560 * sysdeps/generic/math_private.h: Revert previous
10561 change.
10562
9290130a
WN
10563 * sysdeps/generic/math_private.h: Check whether
10564 HAVE_RM_CTX is defined with #ifdef rather
10565 than #if.
10566
afb466fc
WN
10567 * argp/argp-fmtstream.h: Check whether
10568 __STRICT_ANSI__ is defined with #ifdef rather
10569 than #if.
10570 * argp/argp.h: Likewise.
10571
f7efd7c3
WN
10572 * libio/genops.c: Check whether
10573 _IO_JUMPS_OFFSET is defined with #ifdef rather
10574 than #if.
10575 * libio/libioP.h: Likewise.
10576 * stdio-common/vfprintf.c: Likewise.
10577
53f1bed3
WN
10578 * sysdeps/generic/ldsodefs.h: Check whether
10579 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
10580 than #if.
10581
788bba36
WN
10582 * nptl/sysdeps/pthread/pthread.h: Check
10583 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
10584 its value.
10585
fcd89ebe
SP
105862014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10587
ae42bbc5
SP
10588 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
10589 setting O_APPEND.
10590 * libio/tst-ftell-active-handler.c (do_append_test): Add a
10591 test case.
10592
ea33158c
SP
10593 [BZ #16680]
10594 * libio/fileops.c (_IO_file_open): Seek to end of file but
10595 don't cache the offset.
10596 (get_file_offset): Remove function.
10597 (do_ftell): Use cached offset when available.
10598 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
10599 don't cache the offset.
10600 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
10601 case.
10602 (do_one_test): Call it.
10603 (do_ftell_test): Fix up expected old offset for a+ mode.
10604 * libio/wfileops.c (do_ftell_wide): Used cached offset when
10605 available.
10606
b1dbb426
SP
10607 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
10608 up test status with function return status.
10609 (do_write_test): Likewise.
10610 (do_append_test): Likewise.
10611
fcd89ebe
SP
10612 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
10613 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
10614 Remove.
10615
9962a2d3
JM
106162014-03-17 Joseph Myers <joseph@codesourcery.com>
10617
10618 * math/gen-libm-test.pl (parse_args): Handle results specified for
10619 each rounding mode separately.
10620 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
10621 tests and results from lrint_tonearest_test_data,
10622 lrint_towardzero_test_data, lrint_downward_test_data and
10623 lrint_upward_test_data.
10624 (lrint_test): Use ALL_RM_TEST.
10625 (lrint_tonearest_test_data): Remove.
10626 (lrint_test_tonearest): Likewise.
10627 (lrint_towardzero_test_data): Likewise.
10628 (lrint_test_towardzero): Likewise.
10629 (lrint_downward_test_data): Likewise.
10630 (lrint_test_downward): Likewise.
10631 (lrint_upward_test_data): Likewise.
10632 (lrint_test_upward): Likewise.
10633 (llrint_test_data): Merge in per-rounding-mode tests and results
10634 from llrint_tonearest_test_data, llrint_towardzero_test_data,
10635 llrint_downward_test_data and llrint_upward_test_data.
10636 (llrint_test): Use ALL_RM_TEST.
10637 (llrint_tonearest_test_data): Remove.
10638 (llrint_test_tonearest): Likewise.
10639 (llrint_towardzero_test_data): Likewise.
10640 (llrint_test_towardzero): Likewise.
10641 (llrint_downward_test_data): Likewise.
10642 (llrint_test_downward): Likewise.
10643 (llrint_upward_test_data): Likewise.
10644 (llrint_test_upward): Likewise.
10645 (rint_test_data): Merge in per-rounding-mode tests and results
10646 from rint_tonearest_test_data, rint_towardzero_test_data,
10647 rint_downward_test_data and rint_upward_test_data. Add
10648 per-rounding-mode results for tests not in those arrays.
10649 (rint_test): Use ALL_RM_TEST.
10650 (rint_tonearest_test_data): Remove.
10651 (rint_test_tonearest): Likewise.
10652 (rint_towardzero_test_data): Likewise.
10653 (rint_test_towardzero): Likewise.
10654 (rint_downward_test_data): Likewise.
10655 (rint_test_downward): Likewise.
10656 (rint_upward_test_data): Likewise.
10657 (rint_test_upward): Likewise.
10658 (main): Don't call removed functions.
10659
5006148e
RM
106602014-03-14 Roland McGrath <roland@hack.frob.com>
10661
10662 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
10663 "Compiled on ..." crapola. It is anti-useful.
10664
d6fe5e58
JM
106652014-03-14 Joseph Myers <joseph@codesourcery.com>
10666
10667 * scripts/evaluate-test.sh: Handle fourth argument to determine
10668 whether test run should stop on failure.
10669 * Makeconfig (stop-on-test-failure): New variable.
10670 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
10671 $(stop-on-test-failure).
10672 * Makefile (tests): Give a summary of results from testing and
10673 exit with failure status if they include an ERROR or FAIL.
10674 (xtests): Likewise.
10675 * manual/install.texi (Configuring and compiling): Mention
10676 stop-on-test-failure=y.
10677 * INSTALL: Regenerated.
10678
498a2233
RM
106792014-03-14 Roland McGrath <roland@hack.frob.com>
10680
22dbc19d
RM
10681 * scripts/versionlist.awk: New file.
10682 * Makerules [$(build-shared) = yes]
10683 (postclean-generated): Add Versions.def, not Versions.def.v and
10684 Versions.def.v.i.
10685 ($(common-objpfx)Versions.def.v.i): Target removed.
10686 ($(common-objpfx)Versions.def): New target.
10687 ($(common-objpfx)Versions.all): Depend on that rather that
10688 $(common-objpfx)Versions.def.v.
10689 * Versions.def: File removed.
10690
498a2233
RM
10691 * Makeconfig (+gccwarn): Add -Wundef.
10692 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
10693 a dl-sysdep.h breaking its contract.
10694 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
10695 * include/stackinfo.h: New file.
10696 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
10697 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
10698 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
10699 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
10700 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
10701 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
10702 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10703 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10704 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10705 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10706 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10707 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
10708 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10709 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10710 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10711
c7de5025
AZ
107122014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10713
10714 [BZ #16707]
10715 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10716 implementation.
10717 * math/libm-test.inc (round_test_data): Add more tests.
10718
98fb27a3
AZ
10719 [BZ #16706]
10720 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10721 implementation.
10722 * math/libm-test.inc (nearbyint_test_data): Add more tests.
10723
374f7f61
AZ
10724 [BZ #16701]
10725 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10726 implementation.
10727 * math/libm-test.inc (ceil_test_data): Add more tests.
10728
4655c291
AZ
10729 * math/libm-test.inc (trunc_test_data): Add more tests related to
10730 BZ#16414.
10731
d7329d4b
RM
107322014-03-14 Roland McGrath <roland@hack.frob.com>
10733
10734 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10735 with #if rather than #ifdef.
10736 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10737
aa4de9ce
L
107382014-03-14 H.J. Lu <hongjiu.lu@intel.com>
10739
10740 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10741 first. Disable AVX-512 GCC support if assembler doesn't support
10742 it.
10743 * sysdeps/x86_64/configure: Regenerated.
10744
2e03fae7
CD
107452014-03-13 Carlos O'Donell <carlos@redhat.com>
10746
10747 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10748 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10749 (__old_pthread_attr_setstack): Likewise.
10750 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10751 [!_STACK_GROWS_DOWN]: Likewise.
10752
43ca83ec
MF
107532014-03-13 Mike Frysinger <vapier@gentoo.org>
10754
10755 * config.make.in (have-bash2): Delete.
10756 * configure.ac (libc_cv_have_bash2): Delete.
10757 * configure: Regenerate.
10758 * elf/Makefile (common-ldd-rewrite): Rename to ...
10759 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
10760 (sh-ldd-rewrite): Delete.
10761 (bash-ldd-rewrite): Delete.
10762 (have-bash2): Delete checks.
57f41c40
AS
10763 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10764 ldd-rewrite.
c66e48b4
MF
10765
10766 * config.make.in (have-ksh): Delete.
10767 (KSH): Delete.
10768 * configure.ac (libc_cv_have_ksh): Delete.
10769 * configure: Regenerate.
10770
b93834ef
MF
10771 * elf/Makefile: Delete $(have-ksh) check.
10772 ($(objpfx)sotruss): Change KSH to BASH.
10773 * elf/sotruss.ksh: Rename to ...
10774 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
10775 function style to match POSIX. Drop ksh vim mode setting.
10776
f3a4632a
MF
10777 * manual/time.texi (Specifying the Time Zone with TZ): Change
10778 Tuesday to Thursday.
10779
5896c8bd
MF
10780 * debug/tst-longjmp_chk2.c: Update header comment.
10781 (stackoverflow_handler): Add comment. Call assert on pass value.
10782
2d63a517
IZ
107832014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
10784
7e54fd04 10785 [BZ #16194]
2d63a517
IZ
10786 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10787 (HAVE_AVX512_ASM_SUPPORT): Likewise.
10788 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10789 (La_x86_64_vector): Add zmm.
10790 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10791 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10792 ($(objpfx)tst-audit10): New target.
10793 ($(objpfx)tst-audit10.out): Likewise.
10794 (tst-audit10-ENV): New.
10795 (AVX512-CFLAGS): Likewise.
10796 (CFLAGS-tst-audit10.c): Likewise.
10797 (CFLAGS-tst-auditmod10a.c): Likewise.
10798 (CFLAGS-tst-auditmod10b.c): Likewise.
10799 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10800 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10801 * sysdeps/x86_64/configure: Regenerated.
10802 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10803 AVX-512 zmm register support.
10804 (_dl_x86_64_save_sse): Likewise.
10805 (_dl_x86_64_restore_sse): Likewise.
10806 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
10807 size vector registers.
10808 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
10809 (ZMM_SIZE): Likewise.
10810 * sysdeps/x86_64/tst-audit10.c: New file.
10811 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
10812 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
10813
44c4e5d5
RM
108142014-03-13 Roland McGrath <roland@hack.frob.com>
10815
10816 * configure.ac (HAVE_EHDR_START): New check.
10817 * configure: Regenerated.
10818 * config.h.in (HAVE_EHDR_START): New #undef.
10819 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
10820 assuming the lowest-addressed segment maps the start of the file.
10821
acd6e389
JM
108222014-03-13 Joseph Myers <joseph@codesourcery.com>
10823
10824 * INSTALL: Regenerated.
10825
6f918f36
WN
108262014-03-13 Will Newton <will.newton@linaro.org>
10827
10828 * manual/setjmp.texi (System V contexts): Improve
10829 clarity and grammar of documentation.
10830
798212a0
PP
108312014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
10832
10833 [BZ #16381]
798212a0 10834 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 10835 (tests-pie): Add tst-pie2.
798212a0
PP
10836 * elf/tst-pie2.c: New file.
10837 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
10838 for ET_EXEC.
10839 * elf/rtld.c (map_doit): Load executable as lt_executable.
10840 (dl_main): Likewise.
10841
abe6d90c
JM
108422014-03-12 Joseph Myers <joseph@codesourcery.com>
10843
10844 [BZ #16642]
10845 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10846 (__ASSUME_PSELECT): Undefine.
10847
dd3946c6
AZ
108482014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10849
10850 [BZ #16689]
10851 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
10852 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
10853 static build.
10854 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
10855 selector for static builds.
10856
c44496df
SP
108572014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10858
10859 [BZ #16695]
10860 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
10861 key in the buffer.
10862
27c7220a
AZ
108632014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10864
57f41c40
AS
10865 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
10866 IFUNC selector for static builds.
27c7220a 10867
600fa361
JM
108682014-03-11 Joseph Myers <joseph@codesourcery.com>
10869
76c96cf7
JM
10870 * sysdeps/mips/math_private.h [__mips_hard_float]
10871 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
10872 libc_feresetround_mips_ctx.
10873 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
10874 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
10875 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
10876
600fa361
JM
10877 [BZ #16677]
10878 * math/s_nextafter.c (__nextafter): Do not return value from
10879 overflowing computation.
10880 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
10881 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
10882 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
10883 Likewise.
10884 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10885 Likewise.
10886 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
10887 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
10888
d7706c32
RM
108892014-03-11 Roland McGrath <roland@hack.frob.com>
10890
10891 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
10892 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
10893 Move sfi_sp use from the load-multiple (that no longer sets sp) to
10894 the new mov targetting sp.
10895
4facea47
AZ
108962014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10897
10898 [BZ #16683]
10899 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
10900 Define it for static builds as well.
10901 (NO_BZERO_IMPL): Likewise.
10902
e65caf1f
VR
109032014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10904
10905 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
10906 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
10907 multiarch strspn for PPC64.
10908 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
10909 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
10910 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10911 (__libc_ifunc_impl_list): Likewise.
10912 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
10913 multiarch optimizations
10914 * string/strspn.c (strspn): Using macro to redefine symbol name.
10915
ba9cc071
AZ
109162014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10917 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10918
10919 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
10920 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
10921 multiarch strncat for PPC64.
10922 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
10923 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
10924 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10925 (__libc_ifunc_impl_list): Likewise.
10926 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
10927 multiarch optimizations
10928
8b4ff974
SP
109292014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10930
10931 [BZ #16639]
10932 * nscd/nscd.service: Make service type forking.
10933
54b46a4b
AZ
109342014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10935
10936 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
10937 sign in non default rounding modes.
10938 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10939
e9996ef7
JM
109402014-03-08 Joseph Myers <joseph@codesourcery.com>
10941
10942 * math/libm-test.inc (ALL_RM_TEST): New macro.
10943 (ceil_test): Use ALL_RM_TEST.
10944 (cimag_test): Likewise.
10945 (conj_test): Likewise.
10946 (copysign_test): Likewise.
10947 (cproj_test): Likewise.
10948 (creal_test): Likewise.
10949 (fabs_test): Likewise.
10950 (floor_test): Likewise.
10951 (fmax_test): Likewise.
10952 (fmin_test): Likewise.
10953 (fmod_test): Likewise.
10954 (fpclassify_test): Likewise.
10955 (frexp_test): Likewise.
10956 (ilogb_test): Likewise.
10957 (isfinite_test): Likewise.
10958 (finite_test): Likewise.
10959 (isgreater_test): Likewise.
10960 (isgreaterequal_test): Likewise.
10961 (isinf_test): Likewise.
10962 (isless_test): Likewise.
10963 (islessequal_test): Likewise.
10964 (islessgreater_test): Likewise.
10965 (isnan_test): Likewise.
10966 (isnormal_test): Likewise.
10967 (issignaling_test): Likewise.
10968 (isunordered_test): Likewise.
10969 (logb_test): Likewise.
10970 (logb_downward_test_data): Remove.
10971 (logb_test_downward): Likewise.
10972 (lround_test): Use ALL_RM_TEST.
10973 (llround_test): Likewise.
10974 (modf_test): Likewise.
10975 (nexttoward_test): Likewise.
10976 (remainder_test): Likewise.
10977 (drem_test): Likewise.
10978 (remainder_tonearest_test_data): Likewise.
10979 (remainder_test_tonearest): Likewise.
10980 (drem_test_tonearest): Likewise.
10981 (remainder_towardzero_test_data): Likewise.
10982 (remainder_test_towardzero): Likewise.
10983 (drem_test_towardzero): Likewise.
10984 (remainder_downward_test_data): Likewise.
10985 (remainder_test_downward): Likewise.
10986 (drem_test_downward): Likewise.
10987 (remainder_upward_test_data): Likewise.
10988 (remainder_test_upward): Likewise.
10989 (drem_test_upward): Likewise.
10990 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
10991 (round_test): Use ALL_RM_TEST.
10992 (signbit_test): Likewise.
10993 (trunc_test): Likewise.
10994 (significand_test): Likewise.
10995 (main): Don't call removed functions.
10996
bc61d27c
JM
109972014-03-07 Joseph Myers <joseph@codesourcery.com>
10998
5c780849
JM
10999 [BZ #16674]
11000 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
11001 || __USE_XOPEN2K8].
11002 (ILL_ILLOPN): Likewise.
11003 (ILL_ILLADR): Likewise.
11004 (ILL_ILLTRP): Likewise.
11005 (ILL_PRVOPC): Likewise.
11006 (ILL_PRVREG): Likewise.
11007 (ILL_COPROC): Likewise.
11008 (ILL_BADSTK): Likewise.
11009 (FPE_INTDIV): Likewise.
11010 (FPE_INTOVF): Likewise.
11011 (FPE_FLTDIV): Likewise.
11012 (FPE_FLTOVF): Likewise.
11013 (FPE_FLTUND): Likewise.
11014 (FPE_FLTRES): Likewise.
11015 (FPE_FLTINV): Likewise.
11016 (FPE_FLTSUB): Likewise.
11017 (SEGV_MAPERR): Likewise.
11018 (SEGV_ACCERR): Likewise.
11019 (BUS_ADRALN): Likewise.
11020 (BUS_ADRERR): Likewise.
11021 (BUS_OBJERR): Likewise.
11022 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11023 (TRAP_TRACE): Likewise.
11024 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11025 __USE_XOPEN2K8].
11026 (CLD_KILLED): Likewise.
11027 (CLD_DUMPED): Likewise.
11028 (CLD_TRAPPED): Likewise.
11029 (CLD_STOPPED): Likewise.
11030 (CLD_CONTINUED): Likewise.
11031 (POLL_IN): Likewise.
11032 (POLL_OUT): Likewise.
11033 (POLL_MSG): Likewise.
11034 (POLL_ERR): Likewise.
11035 (POLL_PRI): Likewise.
11036 (POLL_HUP): Likewise.
11037 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
11038 Likewise.
11039 (ILL_ILLOPN): Likewise.
11040 (ILL_ILLADR): Likewise.
11041 (ILL_ILLTRP): Likewise.
11042 (ILL_PRVOPC): Likewise.
11043 (ILL_PRVREG): Likewise.
11044 (ILL_COPROC): Likewise.
11045 (ILL_BADSTK): Likewise.
11046 (FPE_INTDIV): Likewise.
11047 (FPE_INTOVF): Likewise.
11048 (FPE_FLTDIV): Likewise.
11049 (FPE_FLTOVF): Likewise.
11050 (FPE_FLTUND): Likewise.
11051 (FPE_FLTRES): Likewise.
11052 (FPE_FLTINV): Likewise.
11053 (FPE_FLTSUB): Likewise.
11054 (SEGV_MAPERR): Likewise.
11055 (SEGV_ACCERR): Likewise.
11056 (BUS_ADRALN): Likewise.
11057 (BUS_ADRERR): Likewise.
11058 (BUS_OBJERR): Likewise.
11059 (BUS_MCEERR_AR): Likewise.
11060 (BUS_MCEERR_AO): Likewise.
11061 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11062 (TRAP_TRACE): Likewise.
11063 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11064 __USE_XOPEN2K8].
11065 (CLD_KILLED): Likewise.
11066 (CLD_DUMPED): Likewise.
11067 (CLD_TRAPPED): Likewise.
11068 (CLD_STOPPED): Likewise.
11069 (CLD_CONTINUED): Likewise.
11070 (POLL_IN): Likewise.
11071 (POLL_OUT): Likewise.
11072 (POLL_MSG): Likewise.
11073 (POLL_ERR): Likewise.
11074 (POLL_PRI): Likewise.
11075 (POLL_HUP): Likewise.
11076 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
11077 (ILL_ILLOPN): Likewise.
11078 (ILL_ILLADR): Likewise.
11079 (ILL_ILLTRP): Likewise.
11080 (ILL_PRVOPC): Likewise.
11081 (ILL_PRVREG): Likewise.
11082 (ILL_COPROC): Likewise.
11083 (ILL_BADSTK): Likewise.
11084 (FPE_INTDIV): Likewise.
11085 (FPE_INTOVF): Likewise.
11086 (FPE_FLTDIV): Likewise.
11087 (FPE_FLTOVF): Likewise.
11088 (FPE_FLTUND): Likewise.
11089 (FPE_FLTRES): Likewise.
11090 (FPE_FLTINV): Likewise.
11091 (FPE_FLTSUB): Likewise.
11092 (SEGV_MAPERR): Likewise.
11093 (SEGV_ACCERR): Likewise.
11094 (BUS_ADRALN): Likewise.
11095 (BUS_ADRERR): Likewise.
11096 (BUS_OBJERR): Likewise.
11097 (BUS_MCEERR_AR): Likewise.
11098 (BUS_MCEERR_AO): Likewise.
11099 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11100 (TRAP_TRACE): Likewise.
11101 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11102 __USE_XOPEN2K8].
11103 (CLD_KILLED): Likewise.
11104 (CLD_DUMPED): Likewise.
11105 (CLD_TRAPPED): Likewise.
11106 (CLD_STOPPED): Likewise.
11107 (CLD_CONTINUED): Likewise.
11108 (POLL_IN): Likewise.
11109 (POLL_OUT): Likewise.
11110 (POLL_MSG): Likewise.
11111 (POLL_ERR): Likewise.
11112 (POLL_PRI): Likewise.
11113 (POLL_HUP): Likewise.
11114 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
11115 Likewise.
11116 (ILL_ILLOPN): Likewise.
11117 (ILL_ILLADR): Likewise.
11118 (ILL_ILLTRP): Likewise.
11119 (ILL_PRVOPC): Likewise.
11120 (ILL_PRVREG): Likewise.
11121 (ILL_COPROC): Likewise.
11122 (ILL_BADSTK): Likewise.
11123 (ILL_BADIADDR): Likewise.
11124 (ILL_BREAK): Likewise.
11125 (FPE_INTDIV): Likewise.
11126 (FPE_INTOVF): Likewise.
11127 (FPE_FLTDIV): Likewise.
11128 (FPE_FLTOVF): Likewise.
11129 (FPE_FLTUND): Likewise.
11130 (FPE_FLTRES): Likewise.
11131 (FPE_FLTINV): Likewise.
11132 (FPE_FLTSUB): Likewise.
11133 (FPE_DECOVF): Likewise.
11134 (FPE_DECDIV): Likewise.
11135 (FPE_DECERR): Likewise.
11136 (FPE_INVASC): Likewise.
11137 (FPE_INVDEC): Likewise.
11138 (SEGV_MAPERR): Likewise.
11139 (SEGV_ACCERR): Likewise.
11140 (SEGV_PSTKOVF): Likewise.
11141 (BUS_ADRALN): Likewise.
11142 (BUS_ADRERR): Likewise.
11143 (BUS_OBJERR): Likewise.
11144 (BUS_MCEERR_AR): Likewise.
11145 (BUS_MCEERR_AO): Likewise.
11146 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11147 (TRAP_TRACE): Likewise.
11148 (TRAP_BRANCH): Likewise.
11149 (TRAP_HWBKPT): Likewise.
11150 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11151 __USE_XOPEN2K8].
11152 (CLD_KILLED): Likewise.
11153 (CLD_DUMPED): Likewise.
11154 (CLD_TRAPPED): Likewise.
11155 (CLD_STOPPED): Likewise.
11156 (CLD_CONTINUED): Likewise.
11157 (POLL_IN): Likewise.
11158 (POLL_OUT): Likewise.
11159 (POLL_MSG): Likewise.
11160 (POLL_ERR): Likewise.
11161 (POLL_PRI): Likewise.
11162 (POLL_HUP): Likewise.
11163 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
11164 (ILL_ILLOPN): Likewise.
11165 (ILL_ILLADR): Likewise.
11166 (ILL_ILLTRP): Likewise.
11167 (ILL_PRVOPC): Likewise.
11168 (ILL_PRVREG): Likewise.
11169 (ILL_COPROC): Likewise.
11170 (ILL_BADSTK): Likewise.
11171 (FPE_INTDIV): Likewise.
11172 (FPE_INTOVF): Likewise.
11173 (FPE_FLTDIV): Likewise.
11174 (FPE_FLTOVF): Likewise.
11175 (FPE_FLTUND): Likewise.
11176 (FPE_FLTRES): Likewise.
11177 (FPE_FLTINV): Likewise.
11178 (FPE_FLTSUB): Likewise.
11179 (SEGV_MAPERR): Likewise.
11180 (SEGV_ACCERR): Likewise.
11181 (BUS_ADRALN): Likewise.
11182 (BUS_ADRERR): Likewise.
11183 (BUS_OBJERR): Likewise.
11184 (BUS_MCEERR_AR): Likewise.
11185 (BUS_MCEERR_AO): Likewise.
11186 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11187 (TRAP_TRACE): Likewise.
11188 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11189 __USE_XOPEN2K8].
11190 (CLD_KILLED): Likewise.
11191 (CLD_DUMPED): Likewise.
11192 (CLD_TRAPPED): Likewise.
11193 (CLD_STOPPED): Likewise.
11194 (CLD_CONTINUED): Likewise.
11195 (POLL_IN): Likewise.
11196 (POLL_OUT): Likewise.
11197 (POLL_MSG): Likewise.
11198 (POLL_ERR): Likewise.
11199 (POLL_PRI): Likewise.
11200 (POLL_HUP): Likewise.
11201 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
11202 (ILL_ILLOPN): Likewise.
11203 (ILL_ILLADR): Likewise.
11204 (ILL_ILLTRP): Likewise.
11205 (ILL_PRVOPC): Likewise.
11206 (ILL_PRVREG): Likewise.
11207 (ILL_COPROC): Likewise.
11208 (ILL_BADSTK): Likewise.
11209 (FPE_INTDIV): Likewise.
11210 (FPE_INTOVF): Likewise.
11211 (FPE_FLTDIV): Likewise.
11212 (FPE_FLTOVF): Likewise.
11213 (FPE_FLTUND): Likewise.
11214 (FPE_FLTRES): Likewise.
11215 (FPE_FLTINV): Likewise.
11216 (FPE_FLTSUB): Likewise.
11217 (SEGV_MAPERR): Likewise.
11218 (SEGV_ACCERR): Likewise.
11219 (BUS_ADRALN): Likewise.
11220 (BUS_ADRERR): Likewise.
11221 (BUS_OBJERR): Likewise.
11222 (BUS_MCEERR_AR): Likewise.
11223 (BUS_MCEERR_AO): Likewise.
11224 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11225 (TRAP_TRACE): Likewise.
11226 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11227 __USE_XOPEN2K8].
11228 (CLD_KILLED): Likewise.
11229 (CLD_DUMPED): Likewise.
11230 (CLD_TRAPPED): Likewise.
11231 (CLD_STOPPED): Likewise.
11232 (CLD_CONTINUED): Likewise.
11233 (POLL_IN): Likewise.
11234 (POLL_OUT): Likewise.
11235 (POLL_MSG): Likewise.
11236 (POLL_ERR): Likewise.
11237 (POLL_PRI): Likewise.
11238 (POLL_HUP): Likewise.
11239 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
11240 (ILL_ILLOPN): Likewise.
11241 (ILL_ILLADR): Likewise.
11242 (ILL_ILLTRP): Likewise.
11243 (ILL_PRVOPC): Likewise.
11244 (ILL_PRVREG): Likewise.
11245 (ILL_COPROC): Likewise.
11246 (ILL_BADSTK): Likewise.
11247 (FPE_INTDIV): Likewise.
11248 (FPE_INTOVF): Likewise.
11249 (FPE_FLTDIV): Likewise.
11250 (FPE_FLTOVF): Likewise.
11251 (FPE_FLTUND): Likewise.
11252 (FPE_FLTRES): Likewise.
11253 (FPE_FLTINV): Likewise.
11254 (FPE_FLTSUB): Likewise.
11255 (SEGV_MAPERR): Likewise.
11256 (SEGV_ACCERR): Likewise.
11257 (BUS_ADRALN): Likewise.
11258 (BUS_ADRERR): Likewise.
11259 (BUS_OBJERR): Likewise.
11260 (BUS_MCEERR_AR): Likewise.
11261 (BUS_MCEERR_AO): Likewise.
11262 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11263 (TRAP_TRACE): Likewise.
11264 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11265 __USE_XOPEN2K8].
11266 (CLD_KILLED): Likewise.
11267 (CLD_DUMPED): Likewise.
11268 (CLD_TRAPPED): Likewise.
11269 (CLD_STOPPED): Likewise.
11270 (CLD_CONTINUED): Likewise.
11271 (POLL_IN): Likewise.
11272 (POLL_OUT): Likewise.
11273 (POLL_MSG): Likewise.
11274 (POLL_ERR): Likewise.
11275 (POLL_PRI): Likewise.
11276 (POLL_HUP): Likewise.
11277 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
11278 (ILL_ILLOPN): Likewise.
11279 (ILL_ILLADR): Likewise.
11280 (ILL_ILLTRP): Likewise.
11281 (ILL_PRVOPC): Likewise.
11282 (ILL_PRVREG): Likewise.
11283 (ILL_COPROC): Likewise.
11284 (ILL_BADSTK): Likewise.
11285 (ILL_DBLFLT): Likewise.
11286 (ILL_HARDWALL): Likewise.
11287 (FPE_INTDIV): Likewise.
11288 (FPE_INTOVF): Likewise.
11289 (FPE_FLTDIV): Likewise.
11290 (FPE_FLTOVF): Likewise.
11291 (FPE_FLTUND): Likewise.
11292 (FPE_FLTRES): Likewise.
11293 (FPE_FLTINV): Likewise.
11294 (FPE_FLTSUB): Likewise.
11295 (SEGV_MAPERR): Likewise.
11296 (SEGV_ACCERR): Likewise.
11297 (BUS_ADRALN): Likewise.
11298 (BUS_ADRERR): Likewise.
11299 (BUS_OBJERR): Likewise.
11300 (BUS_MCEERR_AR): Likewise.
11301 (BUS_MCEERR_AO): Likewise.
11302 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11303 (TRAP_TRACE): Likewise.
11304 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11305 __USE_XOPEN2K8].
11306 (CLD_KILLED): Likewise.
11307 (CLD_DUMPED): Likewise.
11308 (CLD_TRAPPED): Likewise.
11309 (CLD_STOPPED): Likewise.
11310 (CLD_CONTINUED): Likewise.
11311 (POLL_IN): Likewise.
11312 (POLL_OUT): Likewise.
11313 (POLL_MSG): Likewise.
11314 (POLL_ERR): Likewise.
11315 (POLL_PRI): Likewise.
11316 (POLL_HUP): Likewise.
11317 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
11318 (ILL_ILLOPN): Likewise.
11319 (ILL_ILLADR): Likewise.
11320 (ILL_ILLTRP): Likewise.
11321 (ILL_PRVOPC): Likewise.
11322 (ILL_PRVREG): Likewise.
11323 (ILL_COPROC): Likewise.
11324 (ILL_BADSTK): Likewise.
11325 (FPE_INTDIV): Likewise.
11326 (FPE_INTOVF): Likewise.
11327 (FPE_FLTDIV): Likewise.
11328 (FPE_FLTOVF): Likewise.
11329 (FPE_FLTUND): Likewise.
11330 (FPE_FLTRES): Likewise.
11331 (FPE_FLTINV): Likewise.
11332 (FPE_FLTSUB): Likewise.
11333 (SEGV_MAPERR): Likewise.
11334 (SEGV_ACCERR): Likewise.
11335 (BUS_ADRALN): Likewise.
11336 (BUS_ADRERR): Likewise.
11337 (BUS_OBJERR): Likewise.
11338 (BUS_MCEERR_AR): Likewise.
11339 (BUS_MCEERR_AO): Likewise.
11340 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11341 (TRAP_TRACE): Likewise.
11342 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11343 __USE_XOPEN2K8].
11344 (CLD_KILLED): Likewise.
11345 (CLD_DUMPED): Likewise.
11346 (CLD_TRAPPED): Likewise.
11347 (CLD_STOPPED): Likewise.
11348 (CLD_CONTINUED): Likewise.
11349 (POLL_IN): Likewise.
11350 (POLL_OUT): Likewise.
11351 (POLL_MSG): Likewise.
11352 (POLL_ERR): Likewise.
11353 (POLL_PRI): Likewise.
11354 (POLL_HUP): Likewise.
11355 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
11356 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11357
bc61d27c
JM
11358 [BZ #16670]
11359 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
11360 before #include of <time.h>.
11361 [!__USE_XOPEN2K] (__need_timespec): Likewise.
11362 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
11363 (test-xfail-UNIX98/sched.h/conform): Likewise.
11364
302949e2
MS
113652014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
11366
11367 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
11368 error absence of trapping exception support.
11369 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11370
a00f522a
JM
113712014-03-07 Joseph Myers <joseph@codesourcery.com>
11372
6f99f280
JM
11373 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
11374 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
11375 * timezone/Makefile (testdata): Move definition above include of
11376 Rules.
11377 (test-zones): New variable.
11378 (tests-special): Add zone files.
11379 (build-testdata): Use $(evaluate-test).
11380
0b20a9e8
JM
11381 * elf/Makefile (tests-special): Rename tests to end with .out.
11382 ($(objpfx)noload-mem): Likewise.
11383 ($(objpfx)tst-leaks1-mem): Likewise.
11384 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
11385 * iconv/Makefile (xtests-special): Change test-iconvconfig to
11386 $(objpfx)test-iconvconfig.out.
11387 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
11388 set -e inside subshell and redirect output to file.
11389 * iconvdata/Makefile (generated): Rename tests to end with .out.
11390 Correct type.
11391 (tests-special): Rename tests to end with .out.
11392 ($(objpfx)mtrace-tst-loading): Likewise.
11393 * intl/Makefile (generated): Likewise.
11394 (tests-special): Likewise.
11395 ($(objpfx)mtrace-tst-gettext): Likewise.
11396 * misc/Makefile (generated): Likewise.
11397 (tests-special): Likewise.
11398 ($(objpfx)tst-error1-mem): Likewise.
11399 * nptl/Makefile (tests-special): Likewise.
11400 ($(objpfx)tst-stack3-mem): Likewise.
11401 (generated): Likewise.
11402 * posix/Makefile (generated): Likewise.
11403 (tests-special): Likewise.
11404 (xtests-special): Likewise.
11405 ($(objpfx)tst-fnmatch-mem): Likewise.
11406 ($(objpfx)bug-regex2-mem): Likewise.
11407 ($(objpfx)bug-regex14-mem): Likewise.
11408 ($(objpfx)bug-regex21-mem): Likewise.
11409 ($(objpfx)bug-regex31-mem): Likewise.
11410 ($(objpfx)tst-vfork3-mem): Likewise.
11411 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11412 ($(objpfx)tst-pcre-mem): Likewise.
11413 ($(objpfx)tst-boost-mem): Likewise.
11414 ($(objpfx)bug-ga2-mem): Likewise.
11415 ($(objpfx)bug-glob2-mem): Likewise.
11416 * resolv/Makefile (generate): Likewise.
11417 (tests-special): Likewise.
11418 (xtests-special): Likewise.
11419 (generated): Likewise.
11420 ($(objpfx)mtrace-tst-leaks): Likewise.
11421 ($(objpfx)mtrace-tst-leaks2): Likewise.
11422
265d52ab
JM
11423 * scripts/merge-test-results.sh: New file.
11424 * Makefile (tests-special-notdir): New variable.
11425 (tests): Run merge-test-results.sh.
11426 (xtests): Likewise.
11427 * Rules (tests-special-notdir): New variable.
11428 (xtests-special-notdir): Likewise.
11429 (tests): Run merge-test-results.sh
11430 (xtests): Likewise.
11431
54ee292d
JM
11432 * Makeconfig (test-xfail-name): New variable.
11433 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
11434 compute variable name for expected failures.
11435 * conform/Makefile (conformtest-headers-data): New variable.
11436 (conformtest-standards): Likewise.
11437 (conformtest-headers-ISO): Likewise.
11438 (conformtest-headers-ISO99): Likewise.
11439 (conformtest-headers-ISO11): Likewise.
11440 (conformtest-headers-POSIX): Likewise.
11441 (conformtest-headers-XPG3): Likewise.
11442 (conformtest-headers-XPG4): Likewise.
11443 (conformtest-headers-UNIX98): Likewise.
11444 (conformtest-headers-XOPEN2K): Likewise.
11445 (conformtest-headers-POSIX2008): Likewise.
11446 (conformtest-headers-XOPEN2K8): Likewise.
11447 (conformtest-header-list-base): Likewise.
11448 (conformtest-header-list-tests): Likewise.
11449 (conformtest-header-base): Likewise.
11450 (conformtest-header-tests): Likewise.
11451 (tests-special): Add $(conformtest-header-list-tests). If
11452 [$(fast-check) && !$(cross-compiling)], add
11453 $(conformtest-header-tests) instead of
11454 $(objpfx)run-conformtest.out.
11455 (generated): Add $(conformtest-header-list-base). If
11456 [$(fast-check) && !$(cross-compiling)], add
11457 $(conformtest-header-base). Remove previous setting.
11458 ($(conformtest-header-list-tests)): New target.
11459 (test-xfail-run-conformtest): Remove variable.
11460 ($(objpfx)run-conformtest.out): Remove target.
11461 (test-xfail-ISO11/complex.h/conform): New variable.
11462 (test-xfail-ISO11/stdalign.h/conform): Likewise.
11463 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11464 (test-xfail-XPG3/varargs.h/conform): Likewise.
11465 (test-xfail-XPG4/varargs.h/conform): Likewise.
11466 (test-xfail-UNIX98/varargs.h/conform): Likewise.
11467 (test-xfail-XPG4/ndbm.h/conform): Likewise.
11468 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
11469 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
11470 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
11471 (test-xfail-XPG3/fcntl.h/conform): Likewise.
11472 (test-xfail-XPG3/ftw.h/conform): Likewise.
11473 (test-xfail-XPG3/grp.h/conform): Likewise.
11474 (test-xfail-XPG3/langinfo.h/conform): Likewise.
11475 (test-xfail-XPG3/limits.h/conform): Likewise.
11476 (test-xfail-XPG3/pwd.h/conform): Likewise.
11477 (test-xfail-XPG3/search.h/conform): Likewise.
11478 (test-xfail-XPG3/signal.h/conform): Likewise.
11479 (test-xfail-XPG3/stdio.h/conform): Likewise.
11480 (test-xfail-XPG3/stdlib.h/conform): Likewise.
11481 (test-xfail-XPG3/string.h/conform): Likewise.
11482 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
11483 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
11484 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11485 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11486 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
11487 (test-xfail-XPG3/sys/types.h/conform): Likewise.
11488 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
11489 (test-xfail-XPG3/termios.h/conform): Likewise.
11490 (test-xfail-XPG3/time.h/conform): Likewise.
11491 (test-xfail-XPG3/unistd.h/conform): Likewise.
11492 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
11493 (test-xfail-XPG4/fcntl.h/conform): Likewise.
11494 (test-xfail-XPG4/langinfo.h/conform): Likewise.
11495 (test-xfail-XPG4/netdb.h/conform): Likewise.
11496 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
11497 (test-xfail-XPG4/signal.h/conform): Likewise.
11498 (test-xfail-XPG4/stdio.h/conform): Likewise.
11499 (test-xfail-XPG4/stdlib.h/conform): Likewise.
11500 (test-xfail-XPG4/stropts.h/conform): Likewise.
11501 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11502 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11503 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11504 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11505 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11506 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
11507 (test-xfail-XPG4/sys/time.h/conform): Likewise.
11508 (test-xfail-XPG4/sys/types.h/conform): Likewise.
11509 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
11510 (test-xfail-XPG4/termios.h/conform): Likewise.
11511 (test-xfail-XPG4/ucontext.h/conform): Likewise.
11512 (test-xfail-XPG4/unistd.h/conform): Likewise.
11513 (test-xfail-XPG4/utmpx.h/conform): Likewise.
11514 (test-xfail-POSIX/sched.h/conform): Likewise.
11515 (test-xfail-POSIX/signal.h/conform): Likewise.
11516 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11517 (test-xfail-POSIX/tar.h/conform): Likewise.
11518 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
11519 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
11520 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11521 (test-xfail-UNIX98/netdb.h/conform): Likewise.
11522 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
11523 (test-xfail-UNIX98/sched.h/conform): Likewise.
11524 (test-xfail-UNIX98/signal.h/conform): Likewise.
11525 (test-xfail-UNIX98/stdio.h/conform): Likewise.
11526 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11527 (test-xfail-UNIX98/stropts.h/conform): Likewise.
11528 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11529 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11530 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11531 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11532 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11533 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11534 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
11535 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
11536 (test-xfail-UNIX98/unistd.h/conform): Likewise.
11537 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11538 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
11539 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
11540 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11541 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
11542 (test-xfail-XOPEN2K/math.h/conform): Likewise.
11543 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11544 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11545 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11546 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
11547 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
11548 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
11549 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
11550 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11551 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11552 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11553 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11554 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11555 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11556 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
11557 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
11558 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11559 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
11560 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11561 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
11562 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11563 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
11564 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
11565 (test-xfail-POSIX2008/signal.h/conform): Likewise.
11566 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11567 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
11568 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
11569 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11570 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11571 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
11572 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11573 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11574 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11575 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
11576 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
11577 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11578 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11579 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11580 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
11581 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11582 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11583 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11584 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11585 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
11586 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11587 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11588 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
11589 (conformtest-cc-flags): Likewise.
11590 ($(conformtest-header-tests): New target.
11591 * conform/check-header-lists.sh: New file.
11592 * conform/run-conformtest.sh: Remove.
11593
a00f522a
JM
11594 * conform/conformtest.pl: Allow ' and \ in values given for
11595 constants.
11596 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
11597 inclusion.
11598 [POSIX] (sys/types.h): Likewise.
11599 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
11600 inclusion.
11601 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
11602 inclusion.
11603 * conform/data/signal.h-data (SIGIO): Remove expectation.
11604 [XPG3] (SIGBUS): Do not expect.
11605 [POSIX || XPG3] (SIGPOLL): Likewise.
11606 [POSIX || XPG3] (SIGPROF): Likewise.
11607 [POSIX || XPG3] (SIGSYS): Likewise.
11608 [XPG3] (SIGTRAP): Likewise.
11609 [POSIX || XPG3] (SIGURG): Likewise.
11610 [POSIX || XPG3] (SIGVTALRM): Likewise.
11611 [POSIX || XPG3] (SIGXCPU): Likewise.
11612 [POSIX || XPG3] (SIGXFSZ): Likewise.
11613 [POSIX] (SA_SIGINFO): Expect.
11614 [XPG3] (siginfo_t): Do not expect type or contents.
11615 [POSIX] (si_pid): Do not expect element.
11616 [POSIX] (si_uid): Likewise.
11617 [POSIX] (si_addr): Likewise.
11618 [POSIX] (si_status): Likewise.
11619 [POSIX] (si_band): Likewise.
11620 [XPG4] (si_value): Likewise.
11621 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
11622 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
11623 [POSIX || XPG3] (ILL_ILLADR): Likewise.
11624 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
11625 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
11626 [POSIX || XPG3] (ILL_PRVREG): Likewise.
11627 [POSIX || XPG3] (ILL_COPROC): Likewise.
11628 [POSIX || XPG3] (ILL_BADSTK): Likewise.
11629 [POSIX || XPG3] (FPE_INTDIV): Likewise.
11630 [POSIX || XPG3] (FPE_INTOVF): Likewise.
11631 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
11632 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
11633 [POSIX || XPG3] (FPE_FLTUND): Likewise.
11634 [POSIX || XPG3] (FPE_FLTRES): Likewise.
11635 [POSIX || XPG3] (FPE_FLTINV): Likewise.
11636 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
11637 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
11638 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
11639 [POSIX || XPG3] (BUS_ADRALN): Likewise.
11640 [POSIX || XPG3] (BUS_ADRERR): Likewise.
11641 [POSIX || XPG3] (BUS_OBJERR): Likewise.
11642 [POSIX || XPG3] (CLD_EXITED): Likewise.
11643 [POSIX || XPG3] (CLD_KILLED): Likewise.
11644 [POSIX || XPG3] (CLD_DUMPED): Likewise.
11645 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
11646 [POSIX || XPG3] (CLD_STOPPED): Likewise.
11647 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
11648 [POSIX || XPG3] (POLL_IN): Likewise.
11649 [POSIX || XPG3] (POLL_OUT): Likewise.
11650 [POSIX || XPG3] (POLL_MSG): Likewise.
11651 [POSIX || XPG3] (POLL_ERR): Likewise.
11652 [POSIX || XPG3] (POLL_PRI): Likewise.
11653 [POSIX || XPG3] (POLL_HUP): Likewise.
11654 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
11655 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
11656 (SIG*): Do not allow.
11657 [XPG3] (si_*): Likewise.
11658 [XPG3] (SI_*): Likewise.
11659 [XPG3 || XPG4] (sigev_*): Likewise.
11660 [XPG3 || XPG4] (SIGEV_*): Likewise.
11661 [XPG3 || XPG4] (sival_*): Likewise.
11662 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
11663 [POSIX || XPG3] (BUS_*): Likewise.
11664 [POSIX || XPG3] (CLD_*): Likewise.
11665 [POSIX || XPG3] (FPE_*): Likewise.
11666 [POSIX || XPG3] (ILL_*): Likewise.
11667 [POSIX || XPG3] (POLL_*): Likewise.
11668 [POSIX || XPG3] (SEGV_*): Likewise.
11669 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
11670 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
11671 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
11672 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
11673 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
11674 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
11675 Specify type and value.
11676 (TVERSLEN): Likewise.
11677 (REGTYPE): Likewise.
11678 (AREGTYPE): Likewise.
11679 (LNKTYPE): Likewise.
11680 (SYMTYPE): Likewise.
11681 (CHRTYPE): Likewise.
11682 (BLKTYPE): Likewise.
11683 (DIRTYPE): Likewise.
11684 (FIFOTYPE): Likewise.
11685 (CONTTYPE): Likewise.
11686 (TSUID): Likewise.
11687 (TSGID): Likewise.
11688 (TSVTX): Likewise.
11689 (TUREAD): Likewise.
11690 (TUWRITE): Likewise.
11691 (TUEXEC): Likewise.
11692 (TGREAD): Likewise.
11693 (TGWRITE): Likewise.
11694 (TGEXEC): Likewise.
11695 (TOREAD): Likewise.
11696 (TOWRITE): Likewise.
11697 (TOEXEC): Likewise.
11698 [POSIX] (TSVTX): Expect constant.
11699
aa97dee1
JM
117002014-03-06 Joseph Myers <joseph@codesourcery.com>
11701
f214606a
JM
11702 * Makefile (tests): Change dependencies to ....
11703 (tests-special): ... additions to this variable.
11704 (tests): Depend on $(tests-special).
11705 * Makerules (check-abi-list): New variable.
11706 (check-abi): Depend on $(check-abi-list).
11707 [$(subdir) = elf] (tests-special): Add
11708 $(objpfx)check-abi-libc.out.
11709 [$(build-shared) = yes && subdir] (tests-special): Add
11710 $(check-abi-list).
11711 [$(build-shared) = yes && subdir] (tests): Do not depend on
11712 check-abi.
11713 * Rules (tests): Depend on $(tests-special).
11714 (xtests): Depend on $(xtests-special).
11715 * catgets/Makefile (tests): Change dependencies to ....
11716 (tests-special): ... additions to this variable.
11717 * conform/Makefile (tests): Change dependencies to ....
11718 (tests-special): ... additions to this variable.
11719 * elf/Makefile (tests): Change dependencies to ....
11720 (tests-special): ... additions to this variable.
11721 * grp/Makefile (tests): Change dependencies to ....
11722 (tests-special): ... additions to this variable.
11723 * iconv/Makefile (xtests): Change dependencies to ....
11724 (xtests-special): ... additions to this variable.
11725 * iconvdata/Makefile (tests): Change dependencies to ....
11726 (tests-special): ... additions to this variable.
11727 * intl/Makefile (tests): Change dependencies to ....
11728 (tests-special): ... additions to this variable. Also add
11729 $(objpfx)tst-gettext.out.
11730 * io/Makefile (tests): Change dependencies to ....
11731 (tests-special): ... additions to this variable.
11732 * libio/Makefile (tests): Change dependencies to ....
11733 (tests-special): ... additions to this variable.
11734 * malloc/Makefile (tests): Change dependencies to ....
11735 (tests-special): ... additions to this variable.
11736 * misc/Makefile (tests): Change dependencies to ....
11737 (tests-special): ... additions to this variable.
11738 * nptl/Makefile (tests): Change dependencies to ....
11739 (tests-special): ... additions to this variable.
11740 * nptl_db/Makefile (tests): Change dependencies to ....
11741 (tests-special): ... additions to this variable.
11742 * posix/Makefile (tests): Change dependencies to ....
11743 (tests-special): ... additions to this variable.
11744 (xtests): Change dependencies to ....
11745 (xtests-special): ... additions to this variable.
11746 * resolv/Makefile (tests): Change dependencies to ....
11747 (tests-special): ... additions to this variable.
11748 (xtests): Change dependencies to ....
11749 (xtests-special): ... additions to this variable.
11750 * stdio-common/Makefile (tests): Change dependencies to ....
11751 (tests-special): ... additions to this variable.
11752 (do-tst-unbputc): Remove target.
11753 (do-tst-printf): Likewise.
11754 * stdlib/Makefile (tests): Change dependencies to ....
11755 (tests-special): ... additions to this variable.
11756 * string/Makefile (tests): Change dependencies to ....
11757 (tests-special): ... additions to this variable.
11758 * sysdeps/x86/Makefile (tests): Change dependencies to ....
11759 (tests-special): ... additions to this variable.
11760
81700b53
JM
11761 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11762 whole file.
11763 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11764 whole file.
11765 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11766 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11767
2ea18461
JM
11768 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11769 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11770 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11771 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11772 * conform/data/libgen.h-data [XPG3]: Likewise.
11773 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11774 * conform/data/ndbm.h-data [XPG3]: Likewise.
11775 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11776 * conform/data/netdb.h-data [XPG3]: Likewise.
11777 * conform/data/netinet/in.h-data [XPG3]: Likewise.
11778 * conform/data/poll.h-data [XPG3]: Likewise.
11779 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11780 * conform/data/strings.h-data [XPG3]: Likewise.
11781 * conform/data/stropts.h-data [XPG3]: Likewise.
11782 * conform/data/sys/mman.h-data [XPG3]: Likewise.
11783 * conform/data/sys/resource.h-data [XPG3]: Likewise.
11784 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11785 Likewise.
11786 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11787 * conform/data/sys/time.h-data [XPG3]: Likewise.
11788 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11789 * conform/data/sys/uio.h-data [XPG3]: Likewise.
11790 * conform/data/sys/un.h-data [XPG3]: Likewise.
11791 * conform/data/syslog.h-data [XPG3]: Likewise.
11792 * conform/data/ucontext.h-data [XPG3]: Likewise.
11793 * conform/data/utmpx.h-data [XPG3]: Likewise.
11794 * conform/data/varargs.h-data [UNIX98]: Enable file.
11795
355bc986
JM
11796 * manual/Makefile (INSTALL_INFO): Remove variable setting.
11797
215db402
JM
11798 * math/libm-test.inc (struct test_f_f_data): Move expected results
11799 into structure for each rounding mode.
11800 (struct test_ff_f_data): Likewise.
11801 (struct test_ff_f_data_nexttoward): Likewise.
11802 (struct test_fi_f_data): Likewise.
11803 (struct test_fl_f_data): Likewise.
11804 (struct test_if_f_data): Likewise.
11805 (struct test_fff_f_data): Likewise.
11806 (struct test_c_f_data): Likewise.
11807 (struct test_f_f1_data): Likewise.
11808 (struct test_fF_f1_data): Likewise.
11809 (struct test_ffI_f1_data): Likewise.
11810 (struct test_c_c_data): Likewise.
11811 (struct test_cc_c_data): Likewise.
11812 (struct test_f_i_data): Likewise.
11813 (struct test_ff_i_data): Likewise.
11814 (struct test_f_l_data): Likewise.
11815 (struct test_f_L_data): Likewise.
11816 (struct test_fFF_11_data): Likewise.
11817 (RM_): New macro.
11818 (RM_FE_DOWNWARD): Likewise.
11819 (RM_FE_TONEAREST): Likewise.
11820 (RM_FE_TOWARDZERO): Likewise.
11821 (RM_FE_UPWARD): Likewise.
11822 (RUN_TEST_LOOP_f_f): Update references to expected results.
11823 (RUN_TEST_LOOP_2_f): Likewise.
11824 (RUN_TEST_LOOP_fff_f): Likewise.
11825 (RUN_TEST_LOOP_c_f): Likewise.
11826 (RUN_TEST_LOOP_f_f1): Likewise.
11827 (RUN_TEST_LOOP_fF_f1): Likewise.
11828 (RUN_TEST_LOOP_fI_f1): Likewise.
11829 (RUN_TEST_LOOP_ffI_f1): Likewise.
11830 (RUN_TEST_LOOP_c_c): Likewise.
11831 (RUN_TEST_LOOP_cc_c): Likewise.
11832 (RUN_TEST_LOOP_f_i): Likewise.
11833 (RUN_TEST_LOOP_f_i_tg): Likewise.
11834 (RUN_TEST_LOOP_ff_i_tg): Likewise.
11835 (RUN_TEST_LOOP_f_b): Likewise.
11836 (RUN_TEST_LOOP_f_b_tg): Likewise.
11837 (RUN_TEST_LOOP_f_l): Likewise.
11838 (RUN_TEST_LOOP_f_L): Likewise.
11839 (RUN_TEST_LOOP_fFF_11): Likewise.
11840 * math/gen-libm-test.pl (parse_args): Output four copies of
11841 expected results for each test.
11842
67737b8f
JM
11843 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11844 (__ASSUME_UTIMES): Remove.
11845 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11846 (__ASSUME_UTIMES): Likewise.
11847
aa97dee1
JM
11848 * math/gen-auto-libm-tests.c: Update comment on output format.
11849 (output_for_one_input_case): Generate before-rounding and
11850 after-rounding information as conditions on output flags not
11851 floating-point format.
11852 * math/auto-libm-test-out: Regenerated.
11853 * math/gen-libm-test.pl (cond_value): New function.
11854 (or_cond_value): Use cond_value.
11855 (generate_testfile): Handle conditional exceptions.
11856
e6b6a857
JM
118572014-03-05 Joseph Myers <joseph@codesourcery.com>
11858
2f0a0f44
JM
11859 * math/libm-test.inc (max_valid_error): New variable.
11860 (init_max_error): Take new argument specifying whether function
11861 results are exactly determined. Set max_valid_error and bound
11862 other variables for errors based on this argument.
11863 (set_max_error): Do not record results above max_valid_error.
11864 (check_float_internal): Only accept errors of up to 0.5ulps if
11865 also at most max_valid_error.
11866 (START): Take new argument EXACT and pass it to init_max_error.
11867 (acos_test): Update call to START.
11868 (acos_test_tonearest): Likewise.
11869 (acos_test_towardzero): Likewise.
11870 (acos_test_downward): Likewise.
11871 (acos_test_upward): Likewise.
11872 (acosh_test): Likewise.
11873 (asin_test): Likewise.
11874 (asin_test_tonearest): Likewise.
11875 (asin_test_towardzero): Likewise.
11876 (asin_test_downward): Likewise.
11877 (asin_test_upward): Likewise.
11878 (asinh_test): Likewise.
11879 (atan_test): Likewise.
11880 (atanh_test): Likewise.
11881 (atan2_test): Likewise.
11882 (cabs_test): Likewise.
11883 (cacos_test): Likewise.
11884 (cacosh_test): Likewise.
11885 (carg_test): Likewise.
11886 (casin_test): Likewise.
11887 (casinh_test): Likewise.
11888 (catan_test): Likewise.
11889 (catanh_test): Likewise.
11890 (cbrt_test): Likewise.
11891 (ccos_test): Likewise.
11892 (ccosh_test): Likewise.
11893 (ceil_test): Likewise.
11894 (cexp_test): Likewise.
11895 (cimag_test): Likewise.
11896 (clog_test): Likewise.
11897 (clog10_test): Likewise.
11898 (conj_test): Likewise.
11899 (copysign_test): Likewise.
11900 (cos_test): Likewise.
11901 (cos_test_tonearest): Likewise.
11902 (cos_test_towardzero): Likewise.
11903 (cos_test_downward): Likewise.
11904 (cos_test_upward): Likewise.
11905 (cosh_test): Likewise.
11906 (cosh_test_tonearest): Likewise.
11907 (cosh_test_towardzero): Likewise.
11908 (cosh_test_downward): Likewise.
11909 (cosh_test_upward): Likewise.
11910 (cpow_test): Likewise.
11911 (cproj_test): Likewise.
11912 (creal_test): Likewise.
11913 (csin_test): Likewise.
11914 (csinh_test): Likewise.
11915 (csqrt_test): Likewise.
11916 (ctan_test): Likewise.
11917 (ctan_test_tonearest): Likewise.
11918 (ctan_test_towardzero): Likewise.
11919 (ctan_test_downward): Likewise.
11920 (ctan_test_upward): Likewise.
11921 (ctanh_test): Likewise.
11922 (ctanh_test_tonearest): Likewise.
11923 (ctanh_test_towardzero): Likewise.
11924 (ctanh_test_downward): Likewise.
11925 (ctanh_test_upward): Likewise.
11926 (erf_test): Likewise.
11927 (erfc_test): Likewise.
11928 (exp_test): Likewise.
11929 (exp_test_tonearest): Likewise.
11930 (exp_test_towardzero): Likewise.
11931 (exp_test_downward): Likewise.
11932 (exp_test_upward): Likewise.
11933 (exp10_test): Likewise.
11934 (exp10_test_tonearest): Likewise.
11935 (exp10_test_towardzero): Likewise.
11936 (exp10_test_downward): Likewise.
11937 (exp10_test_upward): Likewise.
11938 (pow10_test): Likewise.
11939 (exp2_test): Likewise.
11940 (expm1_test): Likewise.
11941 (expm1_test_tonearest): Likewise.
11942 (expm1_test_towardzero): Likewise.
11943 (expm1_test_downward): Likewise.
11944 (expm1_test_upward): Likewise.
11945 (fabs_test): Likewise.
11946 (fdim_test): Likewise.
11947 (floor_test): Likewise.
11948 (fma_test): Likewise.
11949 (fma_test_towardzero): Likewise.
11950 (fma_test_downward): Likewise.
11951 (fma_test_upward): Likewise.
11952 (fmax_test): Likewise.
11953 (fmin_test): Likewise.
11954 (fmod_test): Likewise.
11955 (fpclassify_test): Likewise.
11956 (frexp_test): Likewise.
11957 (hypot_test): Likewise.
11958 (ilogb_test): Likewise.
11959 (isfinite_test): Likewise.
11960 (finite_test): Likewise.
11961 (isgreater_test): Likewise.
11962 (isgreaterequal_test): Likewise.
11963 (isinf_test): Likewise.
11964 (isless_test): Likewise.
11965 (islessequal_test): Likewise.
11966 (islessgreater_test): Likewise.
11967 (isnan_test): Likewise.
11968 (isnormal_test): Likewise.
11969 (issignaling_test): Likewise.
11970 (isunordered_test): Likewise.
11971 (j0_test): Likewise.
11972 (j1_test): Likewise.
11973 (jn_test): Likewise.
11974 (ldexp_test): Likewise.
11975 (lgamma_test): Likewise.
11976 (gamma_test): Likewise.
11977 (lrint_test): Likewise.
11978 (lrint_test_tonearest): Likewise.
11979 (lrint_test_towardzero): Likewise.
11980 (lrint_test_downward): Likewise.
11981 (lrint_test_upward): Likewise.
11982 (llrint_test): Likewise.
11983 (llrint_test_tonearest): Likewise.
11984 (llrint_test_towardzero): Likewise.
11985 (llrint_test_downward): Likewise.
11986 (llrint_test_upward): Likewise.
11987 (log_test): Likewise.
11988 (log10_test): Likewise.
11989 (log1p_test): Likewise.
11990 (log2_test): Likewise.
11991 (logb_test): Likewise.
11992 (logb_test_downward): Likewise.
11993 (lround_test): Likewise.
11994 (llround_test): Likewise.
11995 (modf_test): Likewise.
11996 (nearbyint_test): Likewise.
11997 (nextafter_test): Likewise.
11998 (nexttoward_test): Likewise.
11999 (pow_test): Likewise.
12000 (pow_test_tonearest): Likewise.
12001 (pow_test_towardzero): Likewise.
12002 (pow_test_downward): Likewise.
12003 (pow_test_upward): Likewise.
12004 (remainder_test): Likewise.
12005 (drem_test): Likewise.
12006 (remainder_test_tonearest): Likewise.
12007 (drem_test_tonearest): Likewise.
12008 (remainder_test_towardzero): Likewise.
12009 (drem_test_towardzero): Likewise.
12010 (remainder_test_downward): Likewise.
12011 (drem_test_downward): Likewise.
12012 (remainder_test_upward): Likewise.
12013 (drem_test_upward): Likewise.
12014 (remquo_test): Likewise.
12015 (rint_test): Likewise.
12016 (rint_test_tonearest): Likewise.
12017 (rint_test_towardzero): Likewise.
12018 (rint_test_downward): Likewise.
12019 (rint_test_upward): Likewise.
12020 (round_test): Likewise.
12021 (scalb_test): Likewise.
12022 (scalbn_test): Likewise.
12023 (scalbln_test): Likewise.
12024 (signbit_test): Likewise.
12025 (sin_test): Likewise.
12026 (sin_test_tonearest): Likewise.
12027 (sin_test_towardzero): Likewise.
12028 (sin_test_downward): Likewise.
12029 (sin_test_upward): Likewise.
12030 (sincos_test): Likewise.
12031 (sinh_test): Likewise.
12032 (sinh_test_tonearest): Likewise.
12033 (sinh_test_towardzero): Likewise.
12034 (sinh_test_downward): Likewise.
12035 (sinh_test_upward): Likewise.
12036 (sqrt_test): Likewise.
12037 (sqrt_test_tonearest): Likewise.
12038 (sqrt_test_towardzero): Likewise.
12039 (sqrt_test_downward): Likewise.
12040 (sqrt_test_upward): Likewise.
12041 (tan_test): Likewise.
12042 (tan_test_tonearest): Likewise.
12043 (tan_test_towardzero): Likewise.
12044 (tan_test_downward): Likewise.
12045 (tan_test_upward): Likewise.
12046 (tanh_test): Likewise.
12047 (tgamma_test): Likewise.
12048 (trunc_test): Likewise.
12049 (y0_test): Likewise.
12050 (y1_test): Likewise.
12051 (yn_test): Likewise.
12052 (significand_test): Likewise.
12053
e6b6a857
JM
12054 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
12055 individual tests in comment.
12056 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
12057 (prev_max_error): New variable.
12058 (prev_real_max_error): Likewise.
12059 (prev_imag_max_error): Likewise.
12060 (compare_ulp_data): Don't refer to test names in comment.
12061 (find_test_ulps): Remove function.
12062 (find_function_ulps): Likewise.
12063 (find_complex_function_ulps): Likewise.
12064 (init_max_error): Take function name as argument. Look up ulps
12065 for that function.
12066 (print_ulps): Remove function.
12067 (print_max_error): Use prev_max_error instead of calling
12068 find_function_ulps.
12069 (print_complex_max_error): Use prev_real_max_error and
12070 prev_imag_max_error instead of calling find_complex_function_ulps.
12071 (check_float_internal): Take max_ulp parameter instead of calling
12072 find_test_ulps. Don't call print_ulps.
12073 (check_float): Update call to check_float_internal.
12074 (check_complex): Update calls to check_float_internal.
12075 (START): Pass argument to init_max_error.
12076 * math/gen-libm-test.pl (%results): Don't include "kind"
12077 information.
12078 (parse_ulps): Don't handle ulps of individual tests.
12079 (print_ulps_file): Likewise.
12080 (output_ulps): Likewise.
12081 * math/README.libm-test: Update.
12082 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
12083 individual tests.
12084 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
12085 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
12086 * sysdeps/arm/libm-test-ulps: Likewise.
12087 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
12088 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
12089 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
12090 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
12091 * sysdeps/microblaze/libm-test-ulps: Likewise.
12092 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12093 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12094 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12095 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
12096 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12097 * sysdeps/sh/libm-test-ulps: Likewise.
12098 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12099 * sysdeps/tile/libm-test-ulps: Likewise.
12100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12101
45adef3c
JM
121022014-03-04 Joseph Myers <joseph@codesourcery.com>
12103
12104 * math/libm-test.inc (print_complex_max_error): Check separately
12105 whether real and imaginary errors are within allowed range and
12106 pass 0 to print_complex_function_ulps instead of value within
12107 allowed range.
12108
000232b9
SP
121092014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12110
d4b17258
SP
12111 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
12112 formatting.
12113 (get_handles_fopen): Likewise.
12114 (do_write_test): Likewise.
12115
091eff71
SP
12116 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
12117
fa3cd248
SP
12118 * libio/fileops.c (do_ftell): Use cached offset when
12119 available.
12120 * libio/iofwide.c (do_ftell_wide): Likewise.
12121 * libio/iofdopen.c (_IO_new_fdopen): Don't use
12122 _IO_file_attach.
12123 * libio/wfileops.c (_IO_fwide): Don't cache offset.
12124
000232b9
SP
12125 [BZ #16532]
12126 * libio/libioP.h (get_file_offset): New function.
12127 * libio/fileops.c (get_file_offset): Likewise.
12128 (do_ftell): Likewise.
12129 (_IO_new_file_seekoff): Split out ftell logic.
12130 * libio/wfileops.c (do_ftell_wide): Likewise.
12131 (_IO_wfile_seekoff): Split out ftell logic.
12132 * libio/tst-ftell-active-handler.c: New test case.
12133 * libio/Makefile (tests): Add it.
12134
116f4d1a
RM
121352014-03-03 Roland McGrath <roland@hack.frob.com>
12136
12137 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
12138 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
12139
532a6035
SP
121402014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12141
12142 [BZ #16639]
12143 * nscd/connections.c (nscd_init): Call do_exit.
12144 (start_threads): Call do_exit and notify_parent.
12145 (begin_drop_privileges): Call do_exit.
12146 (finish_drop_privileges): Likewise.
12147 * nscd/selinux.c (preserve_capabilities): Likewise.
12148 (install_real_capabilities): Likewise.
12149 (nscd_selinux_enabled): Likewise.
12150 (avc_create_thread): Likewise.
12151 (avc_alloc_lock): Likewise.
12152 (nscd_avc_init): Likewise.
12153 * nscd/nscd.c (parent_fd): New static variable.
12154 (main): Create a pipe between parent and child processes.
12155 Skip closing parent_fd.
12156 (monitor_child): New function.
12157 (do_exit): Likewise.
12158 (notify_parent): Likewise.
12159 * nscd/nscd.h (notify_parent): Likewise.
12160 (do_exit): Likewise.
12161
d6285c9f
CD
121622014-03-03 Carlos O'Donell <carlos@redhat.com>
12163
12164 * malloc/malloc.c (__libc_calloc): Revert last change.
12165
2b85d2a0
AZ
121662014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12167
12168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12169
c7debbdf
RS
121702014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12171
12172 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
12173 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
12174 implementation.
12175 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12176 (__libc_ifunc_impl_list): Likewise.
12177 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
12178 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
12179 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
12180 * string/strrchr.c: Define STRRCHR.
12181
235eed86
OB
121822014-02-28 Ondřej Bílka <neleai@seznam.cz>
12183
12184 * benchtest/bench-strtok.c (simple_strtok): Delete.
12185 (strtok_string): Use as benchmark.
12186 * string/strtok (STRTOK): New macro.
12187
8e25d1e7
CD
121882014-02-28 Carlos O'Donell <carlos@redhat.com>
12189
ef563f92
CD
12190 * manual/threads.texi: Add header and standard comments to all
12191 functions.
12192
8e25d1e7
CD
12193 * elf/dl-lookup.c (check_match): New function.
12194 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
12195 (do_lookup_x): Remove nested function check_match. Use non-nested
12196 function check_match.
12197
ff71cc37
RM
121982014-02-28 Roland McGrath <roland@hack.frob.com>
12199
f08e9a26
RM
12200 * csu/Makefile (generated, before-compile): Use += rather than =.
12201 * catgets/Makefile (generated, generated-dirs): Likewise.
12202 * debug/Makefile (generated): Likewise.
12203 * dlfcn/Makefile (generated): Likewise.
12204 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
12205 * iconvdata/Makefile (before-compile, generated): Likewise.
12206 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
12207 * libio/Makefile (generated): Likewise.
12208 * malloc/Makefile (generated): Likewise.
12209 * manual/Makefile (generated, generated-dirs): Likewise.
12210 * misc/Makefile (generated): Likewise.
12211 * posix/Makefile (generated): Likewise.
12212 * resolv/Makefile (generated): Likewise.
12213 * sunrpc/Makefile (generated, generated-dirs): Likewise.
12214 * timezone/Makefile (generated, generated-dirs): Likewise.
12215
ff71cc37
RM
12216 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
12217
fe13a20c
AZ
122182014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12219
57f41c40
AS
12220 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12221 power8 implementation.
12222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
12223 file: POWER8 llround ifunc implementation.
12224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
12225 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
12226 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
12227 POWER8 llround implementation.
12228
57f41c40
AS
12229 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
12230 power8 implementation.
12231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
12232 file: POWER8 llrint ifunc implementation.
12233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
12234 Add POWER8 implementation.
1ad8950a
AZ
12235 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
12236 POWER8 llrint implementation.
12237
57f41c40
AS
12238 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
12239 power8 implementation.
12240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
12241 file: POWER8 finite ifunc implementation.
12242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
12243 Add POWER8 implementation.
cac626d6
AZ
12244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
12245 Likewise.
12246 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
12247 POWER8 finite implementation.
12248 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
12249
57f41c40
AS
12250 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
12251 power8 implementation.
12252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
12253 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
12254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
12255 POWER8 implementation.
12256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
12257 Likewise.
57f41c40
AS
12258 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
12259 isinf implementation.
4393fc11
AZ
12260 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
12261
57f41c40
AS
12262 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
12263 (INIT_ARCH): Add hwcap2 initialization.
12264 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12265 power8 implementation.
12266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
12267 file: POWER8 isnan ifunc implementation.
487972ae
AZ
12268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
12269 POWER8 implementation.
12270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
12271 Likewise.
57f41c40
AS
12272 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
12273 isnan implementation.
487972ae
AZ
12274 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
12275
7d92b787
JY
122762014-02-27 Joey Ye <joey.ye@arm.com>
12277
12278 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12279 (_FP_NANFRAC_Q): Set to zero.
12280
1cadc858
SP
122812014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12282
12283 [BZ #16623]
12284 * math/auto-libm-test-in: New test inputs.
12285 * math/auto-libm-test-out: Regenerate.
12286 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
12287 and DA.
12288 (__cos): Likewise.
12289 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12290
f8c17e79
JM
122912014-02-27 Joseph Myers <joseph@codesourcery.com>
12292
12293 * scripts/evaluate-test.sh: Take new argument indicating whether
12294 failure is expected.
12295 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
12296 indicating whether failure is expected.
12297 * conform/Makefile (test-xfail-run-conformtest): New variable.
12298 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
12299 level.
12300 * posix/Makefile (test-xfail-annexc): New variable.
12301 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
12302
a5f891ac
JM
123032014-02-26 Joseph Myers <joseph@codesourcery.com>
12304
12305 * argp/Makefile: Include Makeconfig immediately after defining
12306 subdir.
12307 * assert/Makefile: Likewise.
12308 * benchtests/Makefile: Likewise.
12309 * catgets/Makefile: Likewise.
12310 * conform/Makefile: Likewise.
12311 * crypt/Makefile: Likewise.
12312 * csu/Makefile: Likewise.
12313 (all): Remove target.
12314 * ctype/Makefile: Include Makeconfig immediately after defining
12315 subdir.
12316 * debug/Makefile: Likewise.
12317 * dirent/Makefile: Likewise.
12318 * dlfcn/Makefile: Likewise.
12319 * gmon/Makefile: Likewise.
12320 * gnulib/Makefile: Likewise.
12321 * grp/Makefile: Likewise.
12322 * gshadow/Makefile: Likewise.
12323 * hesiod/Makefile: Likewise.
12324 * hurd/Makefile: Likewise.
12325 (all): Remove target.
12326 * iconvdata/Makefile: Include Makeconfig immediately after
12327 defining subdir.
12328 * inet/Makefile: Likewise.
12329 * intl/Makefile: Likewise.
12330 * io/Makefile: Likewise.
12331 * libio/Makefile: Likewise.
12332 (all): Remove target.
12333 * locale/Makefile: Include Makeconfig immediately after defining
12334 subdir.
12335 * login/Makefile: Likewise.
12336 * mach/Makefile: Likewise.
12337 (all): Remove target.
12338 * malloc/Makefile: Include Makeconfig immediately after defining
12339 subdir.
12340 (all): Remove target.
12341 * manual/Makefile: Include Makeconfig immediately after defining
12342 subdir.
12343 * math/Makefile: Likewise.
12344 * misc/Makefile: Likewise.
12345 * nis/Makefile: Likewise.
12346 * nss/Makefile: Likewise.
12347 * po/Makefile: Likewise.
12348 (all): Remove target.
12349 * posix/Makefile: Include Makeconfig immediately after defining
12350 subdir.
12351 * pwd/Makefile: Likewise.
12352 * resolv/Makefile: Likewise.
12353 * resource/Makefile: Likewise.
12354 * rt/Makefile: Likewise.
12355 * setjmp/Makefile: Likewise.
12356 * shadow/Makefile: Likewise.
12357 * signal/Makefile: Likewise.
12358 * socket/Makefile: Likewise.
12359 * soft-fp/Makefile: Likewise.
12360 * stdio-common/Makefile: Likewise.
12361 * stdlib/Makefile: Likewise.
12362 * streams/Makefile: Likewise.
12363 * string/Makefile: Likewise.
12364 * sunrpc/Makefile: Likewise.
12365 (all): Remove target.
12366 * sysvipc/Makefile: Include Makeconfig immediately after defining
12367 subdir.
12368 * termios/Makefile: Likewise.
12369 * time/Makefile: Likewise.
12370 * timezone/Makefile: Likewise.
12371 (all): Remove target.
12372 * wcsmbs/Makefile: Include Makeconfig immediately after defining
12373 subdir.
12374 * wctype/Makefile: Likewise.
12375
5b456e9d
SE
123762014-02-26 Steve Ellcey <sellcey@mips.com>
12377
12378 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
12379 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
12380 (libc_feholdexcept_setround_mips): Ditto.
12381 (libc_feholdsetround): New.
12382 (libc_feholdsetroundf): New.
12383 (libc_feholdsetroundl): New.
12384 (libc_feupdateenv_test_mips): New.
12385 (libc_feupdateenv_test): New.
12386 (libc_feupdateenv_testf): New.
12387 (libc_feupdateenv_testl): New.
12388 (libc_feresetround): New.
12389 (libc_feresetroundf): New.
12390 (libc_feresetroundl): New.
12391 (libc_fetestexcept_mips): New.
12392 (libc_fetestexcept): New.
12393 (libc_fetestexceptf): New.
12394 (libc_fetestexceptl): New.
12395 (HAVE_RM_CTX): New.
12396 (libc_feholdexcept_setround_mips_ctx): New.
12397 (libc_feholdexcept_setround_ctx): New.
12398 (libc_feholdexcept_setroundf_ctx): New.
12399 (libc_feholdexcept_setroundl_ctx): New.
12400 (libc_fesetenv_mips_ctx): New.
12401 (libc_fesetenv_ctx): New.
12402 (libc_fesetenv_ctxf): New.
12403 (libc_fesetenv_ctxl): New.
12404 (libc_feupdateenv_mips_ctx): New.
12405 (libc_feupdateenv_ctx): New.
12406 (libc_feupdateenvf_ctx): New.
12407 (libc_feupdateenvl_ctx): New.
12408 (libc_feholdsetround_mips_ctx): New.
12409 (libc_feholdsetround_ctx): New.
12410 (libc_feholdsetroundf_ctx): New.
12411 (libc_feholdsetroundl_ctx): New.
12412 (libc_feresetround_mips_ctx): New.
12413 (libc_feresetround_ctx): New.
12414 (libc_feresetroundf_ctx): New.
12415 (libc_feresetroundl_ctx): New.
12416
085d0e35
CD
124172014-02-26 Carlos O'Donell <carlos@redhat.com>
12418
f067bf1f
CD
12419 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
12420
085d0e35
CD
12421 * manual/ipc.texi: New file.
12422 * manual/Makefile (chapters): Add ipc.
12423 * manual/job.texi: Add "Inter-Process Communication" to next.
12424 * manual/process.texi: Add "Inter-Process Communication" to prev.
12425
86e58c08
AZ
124262014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12427
12428 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12429
4248f0da
OB
124302014-02-26 Ondřej Bílka <neleai@seznam.cz>
12431
12432 * malloc/malloc.c (__libc_calloc): Simplify implementation.
12433
cf822e3c
OB
12434 * manual/arith.texi: Fix spaces after sentences.
12435 * manual/charset.texi: Likewise.
12436 * manual/errno.texi: Likewise.
12437 * manual/install.texi: Likewise.
12438 * manual/llio.texi: Likewise.
12439 * manual/locale.texi: Likewise.
12440 * manual/maint.texi: Likewise.
12441 * manual/math.texi: Likewise.
12442 * manual/memory.texi: Likewise.
12443 * manual/message.texi: Likewise.
12444 * manual/probes.texi: Likewise.
12445 * manual/resource.texi: Likewise.
12446 * manual/signal.texi: Likewise.
12447 * manual/socket.texi: Likewise.
12448 * manual/stdio.texi: Likewise.
12449 * manual/string.texi: Likewise.
12450 * manual/time.texi: Likewise.
12451 * manual/users.texi: Likewise.
12452
ade40b10
CD
124532014-02-25 Carlos O'Donell <carlos@redhat.com>
12454
12455 [BZ #16632]
12456 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
12457 _DEFAULT_SOURCE is defined.
12458
d0503676
CD
124592014-02-25 Ulrich Drepper <drepper@gmail.com>
12460 Carlos O'Donell <carlos@redhat.com>
12461
12462 [BZ #16613]
12463 * elf/dl-tls.c (_dl_count_modids): New function.
12464 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
12465 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
12466 audit library and increment generation counter.
12467 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
12468 * elf/tst-audit9.c: New file.
12469 * elf/tst-auditmod9a.c: New file.
12470 * elf/tst-auditmod9b.c: New file.
12471 * elf/Makefile: Add rules to build and run tst-audit9.
12472
4cbf380c
FW
124732014-02-25 Florian Weimer <fweimer@redhat.com>
12474
12475 [BZ #15347]
12476 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
12477
80a56cc3
WN
124782014-02-25 Will Newton <will.newton@linaro.org>
12479
12480 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
12481 (__longjmp): Restore sp and lr before restoring callee
12482 saved registers. Add longjmp and longjmp_target
12483 SystemTap probe point.
12484 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
12485 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
12486 Define to zero to match jmpbuf layout.
12487 * sysdeps/arm/setjmp.S: Include stap-probe.h.
12488 (__sigsetjmp): Save sp and lr before saving callee
12489 saved registers. Add setjmp SystemTap probe point.
12490
3ea0f74e
SL
124912014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
12492
12493 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12494
b04acb26
AS
124952014-02-24 Andreas Schwab <schwab@suse.de>
12496
12497 [BZ #15804]
12498 * elf/pldd.c (wait_for_ptrace_stop): New function.
12499 (main): Call it after attaching.
12500
098ad55c
RM
125012014-02-22 Roland McGrath <roland@hack.frob.com>
12502
d4ec6ae1
RM
12503 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
12504 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
12505 Versions files is now verboten.
12506 * hurd/Versions (libc: GLIBC_2.0):
12507 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
12508 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
12509 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
12510 * mach/Versions: Likewise.
12511
098ad55c
RM
12512 * csu/Versions: Remove unused %include.
12513 * resolv/Versions: Likewise.
12514
acd7f096
JM
125152014-02-21 Joseph Myers <joseph@codesourcery.com>
12516
f0881698
JM
12517 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
12518 ($(objpfx)check-local-headers.out): Likewise.
12519 ($(objpfx)begin-end-check.out): Likewise.
12520 * Makerules (check-abi-%.out): Likewise.
12521 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
12522 ($(objpfx)test2.cat): Likewise.
12523 ($(objpfx)de/libc.cat): Likewise.
12524 ($(objpfx)test-gencat.out): Likewise.
12525 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
12526 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
12527 ($(objpfx)noload-mem): Likewise.
12528 ($(objpfx)tst-pathopt.out): Likewise.
12529 ($(objpfx)tst-rtld-load-self.out): Likewise.
12530 ($(objpfx)tst-array1-cmp.out): Likewise.
12531 ($(objpfx)tst-array1-static-cmp.out): Likewise.
12532 ($(objpfx)tst-array2-cmp.out): Likewise.
12533 ($(objpfx)tst-array3-cmp.out): Likewise.
12534 ($(objpfx)tst-array4-cmp.out): Likewise.
12535 ($(objpfx)tst-array5-cmp.out): Likewise.
12536 ($(objpfx)tst-array5-static-cmp.out): Likewise.
12537 ($(objpfx)check-textrel.out): Likewise.
12538 ($(objpfx)check-execstack.out): Likewise.
12539 ($(objpfx)check-localplt.out): Likewise.
12540 ($(objpfx)order2-cmp.out): Likewise.
12541 ($(objpfx)tst-leaks1-mem): Likewise.
12542 ($(objpfx)tst-leaks1-static-mem): Likewise.
12543 ($(objpfx)tst-initorder-cmp.out): Likewise.
12544 ($(objpfx)tst-initorder2-cmp.out): Likewise.
12545 ($(objpfx)tst-unused-dep.out): Likewise.
12546 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
12547 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
12548 * iconv/Makefile (test-iconvconfig): Likewise.
12549 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
12550 ($(objpfx)iconv-test.out): Likewise.
12551 ($(objpfx)tst-tables.out): Likewise.
12552 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
12553 ($(objpfx)tst-gettext.out): Likewise.
12554 ($(objpfx)tst-translit.out): Likewise.
12555 ($(objpfx)tst-gettext2.out): Likewise.
12556 ($(objpfx)tst-gettext4.out): Likewise.
12557 ($(objpfx)tst-gettext6.out): Likewise.
12558 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
12559 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
12560 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
12561 ($(objpfx)tst-fopenloc-mem.out): Likewise.
12562 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
12563 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
12564 * posix/Makefile ($(objpfx)globtest.out): Likewise.
12565 ($(objpfx)wordexp-tst.out): Likewise.
12566 ($(objpfx)annexc.out): Likewise.
12567 ($(objpfx)tst-fnmatch-mem): Likewise.
12568 ($(objpfx)bug-regex2-mem): Likewise.
12569 ($(objpfx)bug-regex14-mem): Likewise.
12570 ($(objpfx)bug-regex21-mem): Likewise.
12571 ($(objpfx)bug-regex31-mem): Likewise.
12572 ($(objpfx)tst-vfork3-mem): Likewise.
12573 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12574 ($(objpfx)tst-pcre-mem): Likewise.
12575 ($(objpfx)tst-boost-mem): Likewise.
12576 ($(objpfx)tst-getconf.out): Likewise.
12577 ($(objpfx)bug-ga2-mem): Likewise.
12578 ($(objpfx)bug-glob2-mem): Likewise.
12579 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
12580 ($(objpfx)mtrace-tst-leaks2): Likewise.
12581 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
12582 ($(objpfx)tst-printf.out): Likewise.
12583 ($(objpfx)tst-setvbuf1.out): Likewise.
12584 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
12585 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
12586 ($(objpfx)tst-fmtmsg.out): Likewise.
12587 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
12588 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
12589
acd7f096
JM
12590 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
12591 * bits/sigaction.h [__USE_MISC]: Likewise.
12592 * bits/waitstatus.h: Update #endif comments.
12593 * ctype/ctype.h: Likewise.
12594 * dirent/dirent.h: Likewise.
12595 [__USE_MISC]: Remove redundant conditionals.
12596 * grp/grp.h: Update #endif comments.
12597 [__USE_GNU]: Remove redundant conditionals.
12598 [__USE_MISC]: Likewise.
12599 * inet/netinet/in.h [__USE_GNU]: Likewise.
12600 * io/sys/stat.h [__USE_MISC]: Likewise.
12601 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
12602 * libio/bits/stdio.h: Update #endif comments.
12603 [__USE_MISC]: Remove redundant conditionals.
12604 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
12605 * libio/stdio.h: Update #endif comments.
12606 [__USE_MISC]: Remove redundant conditionals.
12607 * math/bits/math-finite.h [__USE_MISC]: Likewise.
12608 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
12609 * math/math.h: Update #else and #endif comments.
12610 [__USE_MISC]: Remove redundant conditionals.
12611 * misc/sys/uio.h: Update #endif comments.
12612 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
12613 * posix/glob.h [__USE_MISC]: Likewise.
12614 * posix/sys/types.h: Update #endif comments.
12615 [__USE_MISC]: Remove redundant conditionals.
12616 * posix/sys/wait.h: Update #endif comments.
12617 [__USE_MISC]: Remove redundant conditionals.
12618 * posix/unistd.h: Update #endif comments.
12619 [__USE_MISC]: Remove redundant conditionals.
12620 * pwd/pwd.h [__USE_GNU]: Likewise.
12621 [__USE_MISC]: Likewise.
12622 * resolv/netdb.h [__USE_GNU]: Likewise.
12623 * signal/signal.h: Update #endif comments.
12624 [__USE_MISC]: Remove redundant conditionals.
12625 * stdlib/stdlib.h: Update #else and #endif comments.
12626 [__USE_MISC]: Remove redundant conditionals.
12627 [__USE_GNU]: Likewise.
12628 * string/bits/string2.h [__USE_MISC]: Likewise.
12629 * string/string.h: Update #endif comments.
12630 [__USE_MISC]: Remove redundant conditionals.
12631 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
12632 Likewise.
12633 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
12634 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
12635 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
12636 Likewise.
12637 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
12638 Likewise.
12639 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
12640 comments.
12641 [__USE_MISC]: Remove redundant conditionals.
12642 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
12643 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
12644 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
12645 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
12646 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
12647 Likewise.
12648 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
12649 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
12650 Likewise.
12651 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
12652 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
12653 Likewise.
12654 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
12655 Likewise.
12656 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
12657 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
12658 Likewise.
12659 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
12660 Likewise.
12661 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
12662 * sysdeps/x86/bits/string.h: Update #endif comments.
12663 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
12664 conditionals.
12665 * time/sys/time.h: Update #endif comments.
12666 * time/time.h: Likewise.
12667 [__USE_MISC]: Remove redundant conditionals.
12668
a5d82e4e
YG
126692014-02-21 Yury Gribov <y.gribov@samsung.com>
12670
12671 [BZ #16600]
12672 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
12673
9a80491d
AS
126742014-02-21 Andreas Schwab <schwab@linux-m68k.org>
12675
12676 * Versions.def (librt): Add GLIBC_2.17.
12677
105fa381
AC
126782014-02-21 Adam Conrad <adconrad@0c3.net>
12679
12680 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
12681 synonym for _SYS_AUXV_H to allow direct inclusion.
12682 * sysdeps/sparc/bits/hwcap.h: Likewise.
12683 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
12684 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
12685 * sysdeps/sparc/sysdep.h: Likewise.
12686
b8cd1c4e
SP
126872014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12688
12689 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
12690
bd939d23
RS
126912014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12692
12693 * benchtests/bench-strrchr.c: Print length instead of position.
12694
5d7b57ca
JM
126952014-02-20 Joseph Myers <joseph@codesourcery.com>
12696
bc688c10
JM
12697 [BZ #16611]
12698 * sysdeps/unix/sysv/linux/kernel-features.h
12699 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
12700 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
12701 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
12702 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
12703 Likewise.
12704 [__i386__ || __powerpc__ || __sh__ || __sparc__]
12705 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12706 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
12707 (__ASSUME_SENDMMSG): Define instead of using previous
12708 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
12709 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12710 (__ASSUME_SENDMMSG_SYSCALL): Define.
12711 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12712 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12713 Likewise.
12714 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12715 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12716 Likewise.
12717 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12718 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12719 Likewise.
12720 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12721 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12722 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12723 [__ASSUME_SENDMMSG]: Change conditionals to
12724 [__ASSUME_SENDMMSG_SOCKETCALL].
12725 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12726 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12727 Define.
12728 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12729 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12730 Likewise.
12731 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12732 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12733 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12734 [!__ASSUME_SENDMMSG]: Change conditional to
12735 [!__ASSUME_SENDMMSG_SOCKETCALL].
12736 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12737 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12738 Define.
12739
0e31b18c
JM
12740 [BZ #16610]
12741 * sysdeps/unix/sysv/linux/kernel-features.h
12742 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12743 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12744 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12745 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12746 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12747 [__i386__ || __sparc__]
12748 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12749 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12750 (__ASSUME_RECVMMSG): Define instead of using previous
12751 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12752 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12753 (__ASSUME_RECVMMSG_SYSCALL): Define.
12754 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12755 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12756 Likewise.
12757 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12758 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12759 Likewise.
12760 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12761 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12762 Likewise.
12763 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12764 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12765 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12766 [__ASSUME_RECVMMSG]: Change condition to
12767 [__ASSUME_RECVMMSG_SOCKETCALL].
12768 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12769 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12770 Define.
12771 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12772 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12773 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12774 Likewise.
12775 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12776 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12777 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12778 [!__ASSUME_RECVMMSG]: Change condition to
12779 [!__ASSUME_RECVMMSG_SOCKETCALL].
12780 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12781 (__ASSUME_RECVMMSG_SYSCALL): Define.
12782
dd481ccf
JM
12783 [BZ #16609]
12784 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12785 __powerpc__ || __s390__ || __sh__ || __sparc__]
12786 (__ASSUME_SOCKETCALL): Define.
12787 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12788 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12789 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12790 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12791 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12792 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12793 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12794 (__ASSUME_ACCEPT4): Define instead of using previous
12795 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12796 __powerpc__ || __sparc__ || __s390__)] condition.
12797 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12798 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12799 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12800 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12801 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12802 [!__ASSUME_ACCEPT4]: Change condition to
12803 [!__ASSUME_ACCEPT4_SOCKETCALL].
12804 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12805 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
12806 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
12807 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12808 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
12809 __ASSUME_ACCEPT4_SYSCALL.
12810 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
12811 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
12812 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12813 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
12814 __ASSUME_ACCEPT4_SYSCALL.
12815 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
12816 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12817 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12818 [__ASSUME_ACCEPT4]: Change condition to
12819 [__ASSUME_ACCEPT4_SOCKETCALL].
12820 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12821 (__ASSUME_SOCKETCALL): Define.
12822 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
12823 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12824 (__ASSUME_SOCKETCALL): Define.
12825 (__ASSUME_ACCEPT4): Remove.
12826 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
12827 Define.
12828 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12829 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
12830 Likewise.
12831 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12832 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12833
5d7b57ca
JM
12834 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
12835 macro.
12836 (HWCAP_ARM_LPAE): Likewise.
12837 (HWCAP_ARM_EVTSTRM): Likewise.
12838 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
12839 Add vpfd32, lpae and evtstrm.
12840 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
12841 Increase to 22.
12842
63689d61
JM
128432014-02-19 Joseph Myers <joseph@codesourcery.com>
12844
12845 * math/auto-libm-test-in: Add tests of clog10.
12846 * math/auto-libm-test-out: Regenerated.
12847 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
12848 * sysdeps/i386/fpu/libm-test-ulps: Update.
12849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12850
ab09bf61
AS
128512014-02-18 Andreas Schwab <schwab@suse.de>
12852
12853 [BZ #16574]
12854 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
12855 Store non-zero if the second buffer was newly allocated.
12856 (send_dg): Likewise.
12857 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
12858 to send_vc and send_dg.
12859 (res_nsend): Pass NULL for ansp2_malloced.
12860 * resolv/res_query.c (__libc_res_nquery): Add parameter
12861 answerp2_malloced and pass it down to __libc_res_nsend.
12862 (res_nquery): Pass additional NULL to __libc_res_nquery.
12863 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
12864 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
12865 second answer buffer if answerp2_malloced was set.
12866 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
12867 (__libc_res_nquerydomain): Add parameter
12868 answerp2_malloced and pass it down to __libc_res_nquery.
12869 (res_nquerydomain): Pass additional NULL to
12870 __libc_res_nquerydomain.
12871 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
12872 additional NULL to __libc_res_nsend and __libc_res_nquery.
12873 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
12874 additional NULL to __libc_res_nsearch.
12875 (_nss_dns_gethostbyname4_r): Revert last change. Use new
12876 parameter of __libc_res_nsearch to check for separately allocated
12877 second buffer.
12878 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
12879 __libc_res_nquery.
12880 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
12881 additional NULL to __libc_res_nquery.
12882 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
12883 __libc_res_nsearch.
12884 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
12885 * include/resolv.h: Update prototypes of __libc_res_nquery,
12886 __libc_res_nsearch, __libc_res_nsend.
12887
a4fb7861
JM
128882014-02-18 Joseph Myers <joseph@codesourcery.com>
12889
c6af2d89
JM
12890 * math/auto-libm-test-in: Add tests of fma.
12891 * math/auto-libm-test-out: Regenerated.
12892 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
12893 (fma_towardzero_test_data): Likewise.
12894 (fma_downward_test_data): Likewise.
12895 (fma_upward_test_data): Likewise.
12896 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
12897 mpc_mode.
12898 (rounding_modes): Add values for new field.
12899 (func_calc_method): Add value mpfr_fff_f.
12900 (func_calc_desc): Add mpfr_fff_f union field.
12901 (test_function): Add field exact_args.
12902 (FUNC): Add macro argument EXACT_ARGS.
12903 (FUNC_mpfr_f_f): Update call to FUNC.
12904 (FUNC_mpfr_f_f): Likewise.
12905 (FUNC_mpfr_ff_f): Likewise.
12906 (FUNC_mpfr_if_f): Likewise.
12907 (FUNC_mpc_c_f): Likewise.
12908 (FUNC_mpc_c_c): Likewise.
12909 (test_functions): Add fma. Update calls to FUNC.
12910 (handle_input_arg): Add argument exact_args.
12911 (add_test): Update call to handle_input_arg.
12912 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
12913 (output_for_one_input_case): Update call to calc_generic_results.
12914 Recalculate exact zero results in each rounding mode.
12915
a4fb7861
JM
12916 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
12917 non-negative before setting low bit.
12918 * math/auto-libm-test-in: Mark one asin test possibly having
12919 spurious underflow.
12920 * math/auto-libm-test-out: Regenerated.
12921 * sysdeps/i386/fpu/libm-test-ulps: Update.
12922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12923
ef114eaf
DH
129242014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
12925
2b7f4f2c
SP
12926 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
12927 * sysdeps/unix/sysv/linux/microblaze: Move directory from
12928 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
12929 * README: Add missing listing for microblaze*-*-linux-gnu.
12930
8125aedc
AM
129312014-02-16 Ondřej Bílka <neleai@seznam.cz>
12932
12933 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
12934 duplicate code
12935
c70a4b1d
MF
129362014-02-16 Mike Frysinger <vapier@gentoo.org>
12937
12938 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
12939 * sysdeps/unix/sysv/linux/ia64: Move directory from
12940 ports/sysdeps/unix/sysv/linux/ia64.
12941 * README: Update listing for ia64-*-linux-gnu.
12942
591aeaf7
TD
129432014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
12944 Joseph Myers <joseph@codesourcery.com>
12945
12946 * Makeconfig (test-name): New variable.
12947 (evaluate-test): Likewise.
12948 * Makerules (do-test-clean): Remove .test-result files.
12949 (common-mostlyclean): Likewise.
12950 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
12951 * scripts/evaluate-test.sh: New file.
12952
6e89caf1
JM
129532014-02-14 Joseph Myers <joseph@codesourcery.com>
12954
7f98f180
JM
12955 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
12956 separate $(objpfx)tst-fopenloc-cmp.out and
12957 $(objpfx)tst-fopenloc-mem.out targets.
12958 (tests): Update dependencies.
12959 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
12960 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
12961 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
12962 (tst-rxspencer-no-utf8-ARGS): New variable.
12963 (tst-rxspencer-no-utf8-ENV): Likewise.
12964 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
12965 instead of $(objpfx)tst-rxspencer-mem.
12966 ($(objpfx)tst-rxspencer-mem): Change target to
12967 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
12968 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
12969 * posix/tst-rxspencer-no-utf8.c: New file.
12970
6e89caf1
JM
12971 * elf/Makefile ($(objpfx)order.out): Remove rule.
12972 [$(run-built-tests) = yes] (tests): Depend on
12973 $(objpfx)order-cmp.out.
12974 ($(objpfx)order-cmp.out): New rule.
12975 [$(run-built-tests) = yes] (tests): Depend on
12976 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
12977 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
12978 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
12979 $(objpfx)tst-array5-static-cmp.out.
12980 ($(objpfx)tst-array1.out): Remove rule.
12981 ($(objpfx)tst-array1-cmp.out): New rule.
12982 ($(objpfx)tst-array1-static.out): Remove rule.
12983 ($(objpfx)tst-array1-static-cmp.out): New rule.
12984 ($(objpfx)tst-array2.out): Remove rule.
12985 ($(objpfx)tst-array2-cmp.out): New rule.
12986 ($(objpfx)tst-array3.out): Remove rule.
12987 ($(objpfx)tst-array3-cmp.out): New rule.
12988 ($(objpfx)tst-array4.out): Remove rule.
12989 ($(objpfx)tst-array4-cmp.out): New rule.
12990 ($(objpfx)tst-array5.out): Remove rule.
12991 ($(objpfx)tst-array5-cmp.out): New rule.
12992 ($(objpfx)tst-array5-static.out): Remove rule.
12993 ($(objpfx)tst-array5-static-cmp.out): New rule.
12994 [$(run-built-tests) = yes] (tests): Depend on
12995 $(objpfx)order2-cmp.out.
12996 ($(objpfx)order2.out): Remove rule.
12997 ($(objpfx)order2-cmp.out): New rule.
12998 ($(objpfx)tst-initorder.out): Remove rule.
12999 [$(run-built-tests) = yes] (tests): Depend on
13000 $(objpfx)tst-initorder-cmp.out.
13001 ($(objpfx)tst-initorder-cmp.out): New rule.
13002 ($(objpfx)tst-initorder2.out): Remove rule.
13003 [$(run-built-tests) = yes] (tests): Depend on
13004 $(objpfx)tst-initorder2-cmp.out.
13005 ($(objpfx)tst-initorder2-cmp.out): New rule.
13006 [$(run-built-tests) = yes] (tests): Depend on
13007 $(objpfx)tst-unused-dep-cmp.out.
13008 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
13009 ($(objpfx)tst-unused-dep-cmp.out): New rule.
13010 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
13011 on $(objpfx)tst-setvbuf1-cmp.out.
13012 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
13013 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
13014 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
13015 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
13016 ($(objpfx)tst-svc.out): Remove rule.
13017 ($(objpfx)tst-svc-cmp.out): New rule.
13018
ed9a38e2
JM
130192014-02-13 Joseph Myers <joseph@codesourcery.com>
13020
13021 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
13022 * ctype/ctype.h [__USE_MISC]: Likewise.
13023 * dirent/dirent.h [__USE_MISC]: Likewise.
13024 * grp/grp.h [__USE_MISC]: Likewise.
13025 * io/fcntl.h [__USE_MISC]: Likewise.
13026 * io/sys/stat.h [__USE_MISC]: Likewise.
13027 * libio/stdio.h [__USE_MISC]: Likewise.
13028 * posix/unistd.h [__USE_MISC]: Likewise.
13029 * pwd/pwd.h [__USE_MISC]: Likewise.
13030 * stdlib.h [__USE_MISC]: Likewise.
13031 * string/bits/string2.h [__USE_MISC]: Likewise.
13032 * string/string.h [__USE_MISC]: Likewise.
13033 * time/time.h [__USE_MISC]: Likewise.
13034
d6680619
AS
130352014-02-13 Andreas Schwab <schwab@suse.de>
13036
13037 [BZ #16574]
13038 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
13039 second answer buffer if it was separately allocated.
13040
ace614b8
JM
130412014-02-12 Joseph Myers <joseph@codesourcery.com>
13042
743151ae
JM
13043 * sysdeps/mips/math-tests.h: Include <features.h>.
13044 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13045 (ROUNDING_TESTS_long_double): Do not define.
13046 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13047 (EXCEPTION_TESTS_long_double): Likewise.
13048 * sysdeps/mips/mips64/libm-test-ulps: Update.
13049
498afc54
JM
13050 * include/features.h (__USE_BSD): Remove macro definitions.
13051 (__USE_SVID): Likewise.
13052 (_BSD_SOURCE): Likewise.
13053 (_SVID_SOURCE): Likewise.
13054 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
13055 from definition of _DEFAULT_SOURCE.
13056 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
13057 [_DEFAULT_SOURCE].
13058 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
13059 * bits/mman.h [__USE_BSD]: Likewise.
13060 * bits/termios.h [__USE_BSD]: Likewise.
13061 * bits/waitstatus.h [__USE_BSD]: Likewise.
13062 * ctype/ctype.h [__USE_SVID]: Likewise.
13063 * dirent/dirent.h [__USE_BSD]: Likewise.
13064 * grp/grp.h [__USE_SVID]: Likewise.
13065 [__USE_BSD]: Likewise.
13066 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
13067 * io/fcntl.h [__USE_BSD]: Likewise.
13068 * io/ftw.h [__USE_BSD]: Likewise.
13069 * io/sys/stat.h [__USE_BSD]: Likewise.
13070 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
13071 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
13072 * libio/stdio.h [__USE_SVID]: Likewise.
13073 [__USE_BSD]: Likewise.
13074 * math/math.h [__USE_SVID]: Likewise.
13075 [__USE_BSD]: Likewise.
13076 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
13077 * misc/bits/syslog.h [__USE_BSD]: Likewise.
13078 * misc/search.h [__USE_SVID]: Likewise.
13079 * misc/sys/mman.h [__USE_BSD]: Likewise.
13080 * misc/sys/syslog.h [__USE_BSD]: Likewise.
13081 * misc/sys/uio.h [__USE_BSD]: Likewise.
13082 * posix/bits/unistd.h [__USE_BSD]: Likewise.
13083 * posix/glob.h [__USE_BSD]: Likewise.
13084 * posix/regex.h [__USE_BSD]: Likewise.
13085 * posix/sys/types.h [__USE_BSD]: Likewise.
13086 [__USE_SVID]: Likewise.
13087 * posix/sys/utsname.h [__USE_SVID]: Likewise.
13088 * posix/sys/wait.h [__USE_BSD]: Likewise.
13089 [__USE_SVID]: Likewise.
13090 * posix/unistd.h [__USE_BSD]: Likewise.
13091 [__USE_SVID]: Likewise.
13092 * pwd/pwd.h [__USE_SVID]: Likewise.
13093 * resolv/netdb.h [__USE_BSD]: Likewise.
13094 * setjmp/setjmp.h [__USE_BSD]: Likewise.
13095 * signal/signal.h [__USE_BSD]: Likewise.
13096 [__USE_SVID]: Likewise.
13097 * socket/sys/socket.h [__USE_BSD]: Likewise.
13098 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
13099 * stdlib/stdlib.h [__USE_BSD]: Likewise.
13100 [__USE_SVID]: Likewise.
13101 * string/bits/string2.h [__USE_BSD]: Likewise.
13102 [__USE_SVID]: Likewise.
13103 * string/bits/string3.h [__USE_BSD]: Likewise.
13104 * string/endian.h [__USE_BSD]: Likewise.
13105 * string/string.h [__USE_SVID]: Likewise.
13106 [__USE_BSD]: Likewise.
13107 * string/strings.h [__USE_BSD]: Likewise.
13108 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
13109 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
13110 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
13111 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
13112 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
13113 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
13114 Likewise.
13115 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
13116 Likewise.
13117 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
13118 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
13119 Likewise.
13120 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
13121 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
13122 Likewise.
13123 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
13124 Likewise.
13125 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
13126 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
13127 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
13128 Likewise.
13129 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
13130 Likewise.
13131 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
13132 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
13133 * termios/termios.h [__USE_BSD]: Likewise.
13134 * time/sys/time.h [__USE_BSD]: Likewise.
13135 * time/time.h [__USE_BSD]: Likewise.
13136 [__USE_SVID]: Likewise.
13137
dd7b064c
JM
13138 * Makefile (subdir_targets): Remove subdir_lint.out.
13139
a2c4c199
JM
13140 * stdio-common/Makefile (do-tst-unbputc): Remove target.
13141 (do-tst-printf): Likewise.
13142 (tests): Depend directly on $(objpfx)tst-unbputc.out and
13143 $(objpfx)tst-printf.out.
13144
8756f740
JM
13145 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
13146
1b6dd3f1
JM
13147 * Makerules (check-abi-%): Change target to
13148 $(objpfx)check-abi-%.out.
13149 (check-abi target): Update dependencies.
13150 (check-abi-pattern variable): Redirect output of diff to $@.
13151 (check-abi variable): Likewise.
13152 * elf/Makefile (check-abi): Update dependencies.
13153
ace614b8
JM
13154 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
13155 unused.
13156 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
13157 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
13158 subnormal range.
13159 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
13160 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
13161 value has largest subnormal exponent.
13162 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
13163 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
13164 * sysdeps/aarch64/soft-fp/sfp-machine.h
13165 (_FP_TININESS_AFTER_ROUNDING): New macro.
13166 * sysdeps/alpha/soft-fp/sfp-machine.h
13167 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13168 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13169 Likewise.
13170 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
13171 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13172 * sysdeps/mips/soft-fp/sfp-machine.h
13173 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13174 * sysdeps/powerpc/soft-fp/sfp-machine.h
13175 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13176 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13177 Likewise.
13178 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13179 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13180 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13181 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13182 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13183 Likewise.
13184
fbfdf9cb
DAS
131852014-02-12 Dylan Alex Simon <dylan@dylex.net>
13186
13187 [BZ #16545]
13188 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
13189 model 1.
13190
68b7efaa
RH
131912014-02-12 Richard Henderson <rth@redhat.com>
13192
c70a4b1d 13193 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
13194 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
13195 * sysdeps/unix/sysv/linux/alpha: Move directory from
13196 ports/sysdeps/unix/sysv/linux/alpha.
13197 * README: Update listing for alpha-*-linux-gnu.
13198
cb4a2928
JM
131992014-02-11 Joseph Myers <joseph@codesourcery.com>
13200
c941736c
JM
13201 * include/features.h: Update comment documenting feature test
13202 macros.
13203 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
13204 _DEFAULT_SOURCE.
13205 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
13206 (_SVID_SOURCE): Likewise.
13207 (_DEFAULT_SOURCE): Update description of default features.
13208 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
13209 with _GNU_SOURCE.
13210 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
13211 (S_ISVTX): Likewise.
13212 * manual/math.texi (Mathematical Constants): Likewise.
13213 * manual/signal.texi (Interrupted Primitives): Likewise.
13214 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
13215 * math/test-matherr.c (_SVID_SOURCE): Do not define.
13216 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
13217 Don't refer to _SVID_SOURCE in warning text.
13218
e8d8d7ec
JM
13219 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13220
cb4a2928
JM
13221 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
13222 already defined.
13223 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
13224 * sysdeps/mips/dl-lookup.c: Remove.
13225 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
13226
7e6424e3
AK
132272014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13228
13229 [BZ #16447]
13230 * math/auto-libm-test-in: Add testcase for expl.
13231 * math/auto-libm-test-out: Regenerate.
13232 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
13233 calculation of unsafe.
13234 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
13235
75eff3fe
MS
132362014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
13237
13238 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
13239 * sysdeps/unix/sysv/linux/aarch64: Move directory from
13240 ports/sysdeps/unix/sysv/linux/aarch64.
13241 * README: Update listing for aarch64*-*-linux-gnu.
13242
d35f1e80
WN
132432014-02-11 Will Newton <will.newton@linaro.org>
13244
13245 * manual/probes.texi (Mathematical Function Probes): Use
13246 "triggered" instead of "hit".
13247
7b3436d4
WN
13248 * manual/probes.texi (Internal Probes): Add documentation
13249 of setjmp, longjmp and longjmp_target probes.
13250
b4f12ca3
WN
13251 * include/stap-probe.h: Add comment about probe argument
13252 format.
13253
c13a72b7
WN
13254 * malloc/mtrace.c (attribute_hidden): Remove unused macro
13255 definition. (tr_where, tr_freehook, tr_mallochook,
13256 tr_reallochook, tr_memalignhook): Use ANSI protoype.
13257
195b8165
DM
132582014-02-11 David S. Miller <davem@davemloft.net>
13259
13260 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
13261 processing int_tests.
13262
2ad7600b
JM
132632014-02-10 Joseph Myers <joseph@codesourcery.com>
13264
13265 * sysdeps/mips: Move directory from ports/sysdeps/mips.
13266 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
13267 * sysdeps/unix/sysv/linux/mips: Move directory from
13268 ports/sysdeps/unix/sysv/linux/mips.
13269 * README: Update listing for mips-*-linux-gnu and
13270 mips64-*-linux-gnu.
13271
73588a72
AS
132722014-02-10 Andreas Schwab <schwab@linux-m68k.org>
13273
13274 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
13275 * sysdeps/unix/sysv/linux/m68k: Move directory from
13276 ports/sysdeps/unix/sysv/linux/m68k.
13277 * README: Update listing for m68k-*-linux-gnu.
13278
4372980f
CM
132792014-02-10 Chris Metcalf <cmetcalf@tilera.com>
13280
13281 * sysdeps/tile: Move directory from ports/sysdeps/tile.
13282 * sysdeps/unix/sysv/linux/generic: Move directory from
13283 ports/sysdeps/unix/sysv/linux/generic.
13284 * sysdeps/unix/sysv/linux/tile: Move directory from
13285 ports/sysdeps/unix/sysv/linux/tile.
13286 * README: Update listing for tile*-*-linux-gnu.
13287
a1ffb40e
OB
132882014-02-10 Ondřej Bílka <neleai@seznam.cz>
13289
57f41c40
AS
13290 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
13291 __builtin_expect.
a1ffb40e
OB
13292 * benchtests/bench-memmem.c (simple_memmem): Likewise.
13293 * catgets/open_catalog.c (__open_catalog): Likewise.
13294 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
13295 * debug/confstr_chk.c: Likewise.
13296 * debug/fread_chk.c (__fread_chk): Likewise.
13297 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
13298 * debug/getgroups_chk.c: Likewise.
13299 * debug/mbsnrtowcs_chk.c: Likewise.
13300 * debug/mbsrtowcs_chk.c: Likewise.
13301 * debug/mbstowcs_chk.c: Likewise.
13302 * debug/memcpy_chk.c: Likewise.
13303 * debug/memmove_chk.c: Likewise.
13304 * debug/mempcpy_chk.c: Likewise.
13305 * debug/memset_chk.c: Likewise.
13306 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13307 * debug/strcat_chk.c (__strcat_chk): Likewise.
13308 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
13309 * debug/strncat_chk.c (__strncat_chk): Likewise.
13310 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
13311 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
13312 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
13313 * debug/wcpncpy_chk.c: Likewise.
13314 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13315 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
13316 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
13317 * debug/wcsncpy_chk.c: Likewise.
13318 * debug/wcsnrtombs_chk.c: Likewise.
13319 * debug/wcsrtombs_chk.c: Likewise.
13320 * debug/wcstombs_chk.c: Likewise.
13321 * debug/wmemcpy_chk.c: Likewise.
13322 * debug/wmemmove_chk.c: Likewise.
13323 * debug/wmempcpy_chk.c: Likewise.
13324 * debug/wmemset_chk.c: Likewise.
13325 * dirent/scandirat.c (SCANDIRAT): Likewise.
13326 * dlfcn/dladdr1.c (dladdr1): Likewise.
13327 * dlfcn/dladdr.c (dladdr): Likewise.
13328 * dlfcn/dlclose.c (dlclose_doit): Likewise.
13329 * dlfcn/dlerror.c (__dlerror): Likewise.
13330 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
13331 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13332 * dlfcn/dlopen.c (dlopen_doit): Likewise.
13333 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
13334 * dlfcn/dlsym.c (dlsym_doit): Likewise.
13335 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
13336 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
13337 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
13338 Likewise.
13339 * elf/dl-conflict.c: Likewise.
13340 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
13341 * elf/dl-dst.h: Likewise.
13342 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
13343 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
13344 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
13345 * elf/dl-init.c (call_init, _dl_init): Likewise.
13346 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
13347 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
13348 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
13349 Likewise.
a1ffb40e
OB
13350 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
13351 Likewise.
13352 * elf/dl-minimal.c (__libc_memalign): Likewise.
13353 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
13354 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13355 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
13356 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
13357 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
13358 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
13359 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
13360 * elf/dl-writev.h (_dl_writev): Likewise.
13361 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
13362 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
13363 (dl_main): Likewise.
a1ffb40e
OB
13364 * elf/setup-vdso.h (setup_vdso): Likewise.
13365 * grp/compat-initgroups.c (compat_call): Likewise.
13366 * grp/fgetgrent.c (fgetgrent): Likewise.
13367 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
13368 * grp/putgrent.c (putgrent): Likewise.
13369 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
13370 Likewise.
13371 * hurd/hurdinit.c: Likewise.
13372 * iconvdata/8bit-gap.c (struct): Likewise.
13373 * iconvdata/ansi_x3.110.c : Likewise.
13374 * iconvdata/big5.c : Likewise.
13375 * iconvdata/big5hkscs.c : Likewise.
13376 * iconvdata/cp1255.c: Likewise.
13377 * iconvdata/cp1258.c : Likewise.
13378 * iconvdata/cp932.c : Likewise.
13379 * iconvdata/euc-cn.c: Likewise.
13380 * iconvdata/euc-jisx0213.c : Likewise.
13381 * iconvdata/euc-jp.c: Likewise.
13382 * iconvdata/euc-jp-ms.c : Likewise.
13383 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
13384 * iconvdata/gb18030.c : Likewise.
13385 * iconvdata/gbbig5.c (const): Likewise.
13386 * iconvdata/gbgbk.c: Likewise.
13387 * iconvdata/gbk.c : Likewise.
13388 * iconvdata/ibm1364.c : Likewise.
13389 * iconvdata/ibm930.c : Likewise.
13390 * iconvdata/ibm932.c: Likewise.
13391 * iconvdata/ibm933.c : Likewise.
13392 * iconvdata/ibm935.c : Likewise.
13393 * iconvdata/ibm937.c : Likewise.
13394 * iconvdata/ibm939.c : Likewise.
13395 * iconvdata/ibm943.c: Likewise.
13396 * iconvdata/iso_11548-1.c: Likewise.
13397 * iconvdata/iso-2022-cn.c : Likewise.
13398 * iconvdata/iso-2022-cn-ext.c : Likewise.
13399 * iconvdata/iso-2022-jp-3.c: Likewise.
13400 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
13401 * iconvdata/iso-2022-kr.c : Likewise.
13402 * iconvdata/iso646.c (gconv_end): Likewise.
13403 * iconvdata/iso_6937-2.c : Likewise.
13404 * iconvdata/iso_6937.c : Likewise.
13405 * iconvdata/iso8859-1.c: Likewise.
13406 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
13407 * iconvdata/shift_jisx0213.c : Likewise.
13408 * iconvdata/sjis.c : Likewise.
13409 * iconvdata/t.61.c : Likewise.
13410 * iconvdata/tcvn5712-1.c : Likewise.
13411 * iconvdata/tscii.c: Likewise.
13412 * iconvdata/uhc.c : Likewise.
13413 * iconvdata/unicode.c (gconv_end): Likewise.
13414 * iconvdata/utf-16.c (gconv_end): Likewise.
13415 * iconvdata/utf-32.c (gconv_end): Likewise.
13416 * iconvdata/utf-7.c (base64): Likewise.
13417 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
13418 * iconv/gconv_close.c (__gconv_close): Likewise.
13419 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
13420 * iconv/gconv_simple.c (internal_ucs4_loop_single)
13421 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
13422 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
13423 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
13424 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
13425 * iconv/iconv.c (iconv): Likewise.
13426 * iconv/iconv_close.c: Likewise.
13427 * iconv/loop.c (SINGLE): Likewise.
13428 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
13429 * include/atomic.h: Likewise.
13430 * inet/inet6_option.c (option_alloc): Likewise.
13431 * intl/bindtextdom.c (set_binding_values): Likewise.
13432 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
13433 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
13434 * intl/localealias.c (read_alias_file): Likewise.
13435 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
13436 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
13437 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
13438 * libio/fmemopen.c (fmemopen): Likewise.
13439 * libio/iofgets.c (_IO_fgets): Likewise.
13440 * libio/iofgets_u.c (fgets_unlocked): Likewise.
13441 * libio/iofgetws.c (fgetws): Likewise.
13442 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13443 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
13444 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
13445 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
13446 * locale/findlocale.c (_nl_find_locale): Likewise.
13447 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
13448 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
13449 Likewise.
13450 * locale/setlocale.c (setlocale): Likewise.
13451 * login/programs/pt_chown.c (main): Likewise.
13452 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
13453 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
13454 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
13455 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
13456 * math/e_exp2l.c: Likewise.
13457 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
13458 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
13459 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
13460 * math/s_catan.c (__catan): Likewise.
13461 * math/s_catanf.c (__catanf): Likewise.
13462 * math/s_catanh.c (__catanh): Likewise.
13463 * math/s_catanhf.c (__catanhf): Likewise.
13464 * math/s_catanhl.c (__catanhl): Likewise.
13465 * math/s_catanl.c (__catanl): Likewise.
13466 * math/s_ccosh.c (__ccosh): Likewise.
13467 * math/s_ccoshf.c (__ccoshf): Likewise.
13468 * math/s_ccoshl.c (__ccoshl): Likewise.
13469 * math/s_cexp.c (__cexp): Likewise.
13470 * math/s_cexpf.c (__cexpf): Likewise.
13471 * math/s_cexpl.c (__cexpl): Likewise.
13472 * math/s_clog10.c (__clog10): Likewise.
13473 * math/s_clog10f.c (__clog10f): Likewise.
13474 * math/s_clog10l.c (__clog10l): Likewise.
13475 * math/s_clog.c (__clog): Likewise.
13476 * math/s_clogf.c (__clogf): Likewise.
13477 * math/s_clogl.c (__clogl): Likewise.
13478 * math/s_csin.c (__csin): Likewise.
13479 * math/s_csinf.c (__csinf): Likewise.
13480 * math/s_csinh.c (__csinh): Likewise.
13481 * math/s_csinhf.c (__csinhf): Likewise.
13482 * math/s_csinhl.c (__csinhl): Likewise.
13483 * math/s_csinl.c (__csinl): Likewise.
13484 * math/s_csqrt.c (__csqrt): Likewise.
13485 * math/s_csqrtf.c (__csqrtf): Likewise.
13486 * math/s_csqrtl.c (__csqrtl): Likewise.
13487 * math/s_ctan.c (__ctan): Likewise.
13488 * math/s_ctanf.c (__ctanf): Likewise.
13489 * math/s_ctanh.c (__ctanh): Likewise.
13490 * math/s_ctanhf.c (__ctanhf): Likewise.
13491 * math/s_ctanhl.c (__ctanhl): Likewise.
13492 * math/s_ctanl.c (__ctanl): Likewise.
13493 * math/w_pow.c: Likewise.
13494 * math/w_powf.c: Likewise.
13495 * math/w_powl.c: Likewise.
13496 * math/w_scalb.c (sysv_scalb): Likewise.
13497 * math/w_scalbf.c (sysv_scalbf): Likewise.
13498 * math/w_scalbl.c (sysv_scalbl): Likewise.
13499 * misc/error.c (error_tail): Likewise.
13500 * misc/pselect.c (__pselect): Likewise.
13501 * nis/nis_callback.c (__nis_create_callback): Likewise.
13502 * nis/nis_call.c (__nisfind_server): Likewise.
13503 * nis/nis_creategroup.c (nis_creategroup): Likewise.
13504 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
13505 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
13506 * nis/nis_getservlist.c (nis_getservlist): Likewise.
13507 * nis/nis_lookup.c (nis_lookup): Likewise.
13508 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
13509 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
13510 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 13511 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
13512 * nis/nss_compat/compat-grp.c (getgrent_next_file)
13513 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
13514 * nis/nss_compat/compat-initgroups.c (add_group)
13515 (internal_getgrent_r): Likewise.
13516 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
13517 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
13518 * nis/nss_compat/compat-spwd.c (getspent_next_file)
13519 (internal_getspnam_r): Likewise.
13520 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
13521 (_nss_nis_getaliasbyname_r): Likewise.
13522 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
13523 (_nss_nis_getntohost_r): Likewise.
13524 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
13525 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
13526 (_nss_nis_getgrgid_r): Likewise.
13527 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
13528 (internal_nis_gethostent_r, internal_gethostbyname2_r)
13529 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
13530 (_nss_nis_gethostbyname4_r): Likewise.
13531 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
13532 (initgroups_netid): Likewise.
a1ffb40e 13533 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
13534 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
13535 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
13536 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
13537 (_nss_nis_getprotobynumber_r): Likewise.
13538 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
13539 (_nss_nis_getsecretkey): Likewise.
13540 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
13541 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
13542 (_nss_nis_getpwuid_r): Likewise.
13543 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
13544 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
13545 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
13546 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
13547 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
13548 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
13549 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
13550 Likewise.
57f41c40
AS
13551 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
13552 (_nss_nisplus_getntohost_r): Likewise.
13553 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
13554 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
13555 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
13556 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 13557 Likewise.
57f41c40
AS
13558 * nis/nss_nisplus/nisplus-initgroups.c
13559 (_nss_nisplus_initgroups_dyn): Likewise.
13560 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
13561 (_nss_nisplus_getnetbyaddr_r): Likewise.
13562 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
13563 (_nss_nisplus_getprotobynumber_r): Likewise.
13564 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
13565 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
13566 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
13567 Likewise.
57f41c40
AS
13568 * nis/nss_nisplus/nisplus-service.c
13569 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
13570 (_nss_nisplus_getservbyport_r): Likewise.
13571 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
13572 (_nss_nisplus_getspnam_r): Likewise.
13573 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
13574 Likewise.
a1ffb40e
OB
13575 * nscd/aicache.c (addhstaiX): Likewise.
13576 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
13577 * nscd/connections.c (register_traced_file, send_ro_fd)
13578 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
13579 (main_loop_epoll): Likewise.
a1ffb40e
OB
13580 * nscd/grpcache.c (addgrbyX): Likewise.
13581 * nscd/hstcache.c (addhstbyX): Likewise.
13582 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13583 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
13584 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
13585 (addinnetgrX): Likewise.
13586 * nscd/nscd-client.h (__nscd_acquire_maplock)
13587 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
13588 * nscd/nscd_getai.c (__nscd_getai): Likewise.
13589 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13590 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
13591 Likewise.
13592 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
13593 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
13594 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
13595 (__nscd_get_map_ref): Likewise.
a1ffb40e 13596 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
13597 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
13598 Likewise.
a1ffb40e
OB
13599 * nscd/pwdcache.c (addpwbyX): Likewise.
13600 * nscd/selinux.c (preserve_capabilities): Likewise.
13601 * nscd/servicescache.c (addservbyX): Likewise.
13602 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
13603 * posix/fnmatch.c (fnmatch): Likewise.
13604 * posix/getopt.c (_getopt_internal_r): Likewise.
13605 * posix/glob.c (glob, glob_in_dir): Likewise.
13606 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
13607 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
13608 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
13609 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
13610 * resolv/res_init.c: Likewise.
13611 * resolv/res_mkquery.c (res_nmkquery): Likewise.
13612 * resolv/res_query.c (__libc_res_nquery): Likewise.
13613 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
13614 Likewise.
13615 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
13616 * stdio-common/perror.c (perror): Likewise.
13617 * stdio-common/printf_fp.c (___printf_fp): Likewise.
13618 * stdio-common/tmpnam.c (tmpnam): Likewise.
13619 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13620 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
13621 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13622 Likewise.
a1ffb40e
OB
13623 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13624 * stdlib/putenv.c (putenv): Likewise.
13625 * stdlib/setenv.c (__add_to_environ): Likewise.
13626 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13627 * stdlib/strtol_l.c (INTERNAL): Likewise.
13628 * string/memmem.c (memmem): Likewise.
13629 * string/strerror.c (strerror): Likewise.
13630 * string/strnlen.c (__strnlen): Likewise.
13631 * string/test-memmem.c (simple_memmem): Likewise.
13632 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
13633 * sunrpc/pm_getport.c (__get_socket): Likewise.
13634 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
13635 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
13636 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
13637 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
13638 Likewise.
13639 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13640 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13641 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
13642 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
13643 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
13644 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
13645 Likewise.
13646 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
13647 Likewise.
a1ffb40e
OB
13648 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13649 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13650 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13651 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13652 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13653 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
13654 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13655 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
13656 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
13657 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
13658 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13659 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13660 Likewise.
13661 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
13662 Likewise.
13663 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
13664 Likewise.
13665 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
13666 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13667 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
13668 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
13669 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13670 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
13671 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13672 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
13673 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
13674 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
13675 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
13676 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13677 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13678 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13679 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
13680 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13681 Likewise.
a1ffb40e
OB
13682 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
13683 Likewise.
13684 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
13685 Likewise.
13686 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
13687 Likewise.
13688 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13689 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13690 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
13691 Likewise.
13692 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
13693 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
13694 * sysdeps/posix/opendir.c (__opendirat): Likewise.
13695 * sysdeps/posix/sleep.c: Likewise.
13696 * sysdeps/posix/tempname.c: Likewise.
13697 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
13698 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13699 Likewise.
57f41c40
AS
13700 * sysdeps/powerpc/powerpc32/dl-machine.h
13701 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
13702 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13703 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13704 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
13705 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
13706 Likewise.
13707 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13708 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
13709 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13710 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13711 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13712 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13713 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13714 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13715 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13716 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13717 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13718 (elf_machine_lazy_rel): Likewise.
a1ffb40e 13719 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13720 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13721 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13722 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13723 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13724 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13725 * sysdeps/unix/grantpt.c (grantpt): Likewise.
13726 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13727 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13728 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13729 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13730 Likewise.
13731 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13732 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13733 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13734 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13735 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13736 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13737 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13738 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13739 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13740 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13741 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13742 Likewise.
13743 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13744 (__posix_fallocate64_l64): Likewise.
13745 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13746 (posix_fallocate): Likewise.
57f41c40
AS
13747 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13748 Likewise.
a1ffb40e 13749 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
13750 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13751 (getifaddrs_internal): Likewise.
a1ffb40e
OB
13752 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13753 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13754 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13755 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13756 * sysdeps/unix/sysv/linux/posix_fallocate64.c
13757 (__posix_fallocate64_l64): Likewise.
13758 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13759 Likewise.
13760 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
13761 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13762 (__get_clockfreq): Likewise.
a1ffb40e
OB
13763 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13764 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13765 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13766 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13767 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13768 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13769 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13770 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13771 Likewise.
13772 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13773 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13774 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13775 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13776 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13777 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13778 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13779 Likewise.
13780 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13781 (posix_fallocate): Likewise.
13782 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13783 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13784 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13785 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13786 (elf_machine_rela, elf_machine_rela_relative)
13787 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13788 * time/asctime.c (asctime_internal): Likewise.
13789 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13790 * time/tzset.c (__tzset_parse_tz): Likewise.
13791 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13792 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13793 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13794 * wcsmbs/wcsmbsload.h: Likewise.
13795
f3d338c9
OB
13796 [BZ #15894]
13797 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13798
57f41c40
AS
13799 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13800 (arena_get2): Remove THREAD_STATS conditionals.
13801 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13802 (__malloc_stats, int): Likewise.
bdfe308a 13803
d674667c
MF
138042014-02-08 Mike Frysinger <vapier@gentoo.org>
13805
13806 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
13807 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
13808
6349768c
MF
13809 * manual/setjmp.texi: Fix typos/grammar errors.
13810
0b7c7473
MF
13811 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
13812 Only return early when n is <= 0. Delete unused return statement.
13813
ac8cc9e3
MF
13814 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
13815 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
13816 * debug/tst-longjmp_chk3.c: New file.
13817
c5bb8e23
MF
13818 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
13819 (test_main): Replace code with set_fortify_handler call.
13820 * debug/test-strcpy_chk.c: Likewise.
13821 * debug/tst-chk1.c: Likewise.
13822 * debug/tst-longjmp_chk.c: Likewise.
13823 * test-skeleton.c: Include fcntl.h & paths.h
13824 (set_fortify_handler): Define.
13825
10444e42
MF
13826 * debug/tst-longjmp_chk.c: Add header comment and include
13827 ../test-skeleton.c.
13828 (do_test): Mark static.
13829 (TEST_FUNCTION): Define.
13830
1e805e8d
MF
13831 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
13832 (IP_PMTUDISC_INTERFACE): Likewise.
13833 (IP_MULTICAST_IF): Likewise.
13834 (IP_MULTICAST_TTL): Likewise.
13835 (IP_MULTICAST_LOOP): Likewise.
13836 (IP_ADD_MEMBERSHIP): Likewise.
13837 (IP_DROP_MEMBERSHIP): Likewise.
13838 (IP_UNBLOCK_SOURCE): Likewise.
13839 (IP_BLOCK_SOURCE): Likewise.
13840 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
13841 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
13842 (IP_MSFILTER): Likewise.
13843 (MCAST_JOIN_GROUP): Likewise.
13844 (MCAST_BLOCK_SOURCE): Likewise.
13845 (MCAST_UNBLOCK_SOURCE): Likewise.
13846 (MCAST_LEAVE_GROUP): Likewise.
13847 (MCAST_JOIN_SOURCE_GROUP): Likewise.
13848 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13849 (MCAST_MSFILTER): Likewise.
13850 (IP_MULTICAST_ALL): Likewise.
13851 (IP_UNICAST_IF): Likewise.
13852
73f79bb7
MF
13853 * timezone/Makefile: Delete $(have-ksh) check.
13854 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
13855 * timezone/tzselect.ksh: Add +x mode bits.
13856
8da79b60
MF
13857 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
13858 (ANON_INODE_FS_MAGIC): Likewise.
13859 (BDEVFS_MAGIC): Likewise.
13860 (BINFMTFS_MAGIC): Likewise.
13861 (BTRFS_TEST_MAGIC): Likewise.
13862 (CRAMFS_MAGIC_WEND): Likewise.
13863 (DEBUGFS_MAGIC): Likewise.
13864 (ECRYPTFS_SUPER_MAGIC): Likewise.
13865 (EXT3_SUPER_MAGIC): Likewise.
13866 (EXT4_SUPER_MAGIC): Likewise.
13867 (FUTEXFS_SUPER_MAGIC): Likewise.
13868 (HOSTFS_SUPER_MAGIC): Likewise.
13869 (HUGETLBFS_MAGIC): Likewise.
13870 (MINIX3_SUPER_MAGIC): Likewise.
13871 (MTD_INODE_FS_MAGIC): Likewise.
13872 (NILFS_SUPER_MAGIC): Likewise.
13873 (OPENPROM_SUPER_MAGIC): Likewise.
13874 (PIPEFS_MAGIC): Likewise.
13875 (PSTOREFS_MAGIC): Likewise.
13876 (QNX6_SUPER_MAGIC): Likewise.
13877 (RAMFS_MAGIC): Likewise.
13878 (REISERFS_SUPER_MAGIC_STRING): Likewise.
13879 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
13880 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
13881 (SECURITYFS_MAGIC): Likewise.
13882 (SELINUX_MAGIC): Likewise.
13883 (SMACK_MAGIC): Likewise.
13884 (SOCKFS_MAGIC): Likewise.
13885 (SQUASHFS_MAGIC): Likewise.
13886 (STACK_END_MAGIC): Likewise.
13887 (TMPFS_MAGIC): Likewise.
13888 (USBDEVICE_SUPER_MAGIC): Likewise.
13889 (V9FS_MAGIC): Likewise.
13890 (XENFS_SUPER_MAGIC): Likewise.
13891 (CRAMFS_MAGIC): Fix typo in comment.
13892 (EXT2_SUPER_MAGIC): Update comment.
13893 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
13894
464263cc
JM
138952014-02-08 Joseph Myers <joseph@codesourcery.com>
13896
c6bfe5c4
JM
13897 * sysdeps/arm: Move directory from ports/sysdeps/arm.
13898 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
13899 * sysdeps/unix/sysv/linux/arm: Move directory from
13900 ports/sysdeps/unix/sysv/linux/arm.
13901 * README: Update listing for arm-*-linux-gnueabi.
13902
464263cc
JM
13903 * README: Remove mention of am33.
13904
32749f6c
RM
139052014-02-07 Roland McGrath <roland@hack.frob.com>
13906
13907 * bits/sigset.h (__sigemptyset): Use a statement expression rather
13908 than the comma operator, to avoid "rhs of comma has no effect"
13909 compiler warnings.
13910 (__sigfillset, __sigandset, __sigorset): Likewise.
13911 * include/signal.h (__sigemptyset): Likewise.
13912 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
13913
d5b396c1
AM
139142014-02-07 Allan McRae <allan@archlinux.org>
13915
13916 * version.h (RELEASE): Set to "development".
13917 (VERSION): Set to "2.19.90"
13918 * NEWS: Add 2.20 section.
13919
3bfff2ed
CD
139202014-02-06 Carlos O'Donell <carlos@redhat.com>
13921
13922 [BZ #16529]
13923 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
13924
ee7cc385
SP
139252014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13926
13927 * manual/contrib.texi: Update entry for Carlos O'Donell,
13928 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
13929
f877c4f2
CD
139302014-02-05 Carlos O'Donell <carlos@rehdat.com>
13931
27e839f6
CD
13932 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
13933
f877c4f2
CD
13934 * sysdeps/unix/sysv/linux/kernel-features.h
13935 [__LINUX_KERNEL_VERSION >= 0x020621]
13936 (__ASSUME_PROC_PID_TASK_COMM): Define.
13937
68159946
SP
139382014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13939
ba17cdbd
SP
13940 [BZ #16398]
13941 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
13942 conversion when destination buffer does not have enough space.
13943 * libio/tst-ftell-partial-wide.c: New test case.
13944 * libio/Makefile (tests): Add tst-ftell-partial-wide.
13945
68159946
SP
13946 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
13947 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
13948 Leonard and Allan McRae.
13949
2b528732
DM
139502014-02-04 David S. Miller <davem@davemloft.net>
13951
13952 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
13953 32-bit.
13954
0ff82463
AZ
139552014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13956
57f41c40
AS
13957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13958 New file
c01603f7
AZ
13959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13960 New file
57f41c40
AS
13961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13962 New file.
13963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13964 New file.
c01603f7
AZ
13965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13966 New file.
57f41c40
AS
13967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13968 New file.
13969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13970 New file.
c01603f7
AZ
13971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13972 New file.
13973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13974 New file.
13975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13976 New file.
13977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13978 New file.
13979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13980 New file.
13981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13982 New file.
13983
139842014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13985
0ff82463
AZ
13986 * nptl/shlib-versions: Change powerpc*le start to 2.17.
13987 * shlib-versions: Likewise.
13988
1695c773
AZ
139892014-02-04 Roland McGrath <roland@hack.frob.com>
13990 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13991
13992 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
13993 (abilist-pattern): New variable, set to %-le.abilist.
13994
13995 * Makerules (abilist-pattern): New variable.
13996 (vpath): Use $(abilist-pattern) in place of %.abilist.
13997 (check-abi-% pattern rule): Likewise.
13998 (check-abi, update-abi): Likewise.
13999
6c0ce4b4
EW
140002014-02-04 Eric Wong <normalperson@yhbt.net>
14001
14002 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14003
481e3524
CD
140042014-02-03 Carlos O'Donell <carlos@redhat.com>
14005
14006 * manual/startup.texi: Add next, previous, and top entries for
14007 the `Program Arguments' and `Environment Variables' nodes.
14008
375592d3
AO
140092014-02-03 Alexandre Oliva <aoliva@redhat.com>
14010
14011 * manual/macros.texi: Add comments before MTASC-safety macros.
14012
f54838ba
AO
14013 * manual/users.texi: Document MTASC-safety properties.
14014
57f41c40
AS
14015 * manual/threads.texi (pthread_key_create, pthread_key_delete)
14016 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
14017 @deftypefun, and add @safety note.
14018 * manual/signal.texi: Move comments that analyze the above
14019 functions to their home place.
14020
fd3daba4
AM
140212014-02-03 Allan McRae <allan@archlinux.org>
14022
14023 * po/sl.po: Update Slovenian translation from translation project.
14024
597636d7
AO
140252014-02-02 Alexandre Oliva <aoliva@redhat.com>
14026
14027 * manual/time.texi (timegm): Add missing blank after @c.
14028 Reported by Joseph Myers <joseph@codesourcery.com>.
14029
ee196e3c
AO
140302014-02-01 Alexandre Oliva <aoliva@redhat.com>
14031
14032 * manual/check-safety.sh: New.
14033 * manual/Makefile ($(objpfx)stamp-summary): Run it.
14034
f8d529d5
AO
14035 * manual/terminal.texi: Document MTASC-safety properties.
14036
de55fdf4
AO
14037 * manual/filesys.texi: Document MTASC-safety properties.
14038
c3299c08
AO
14039 * manual/errno.texi: Document MTASC-safety properties.
14040
06e90b14
AO
14041 * manual/intro.texi: Document safety identifiers and
14042 conditionals.
14043
1acd4371
AO
14044 * manual/string.texi (wcstok): Fix prototype.
14045 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
14046
23e5b8cb
AO
14047 * manual/time.texi: Document MTASC-safety properties.
14048
11087373
AO
14049 * manual/string.texi: Document MTASC-safety properties.
14050
5da2c93d
AO
14051 * manual/threads.texi: Document MTASC-safety properties.
14052
171e9210
AO
14053 * manual/stdio.texi: Document MTASC-safety properties.
14054
d9e02532
AO
14055 * manual/syslog.texi: Document MTASC-safety properties.
14056
6af8bab7
AO
14057 * manual/sysinfo.texi: Document MTASC-safety properties.
14058
663b02d7
AO
14059 * manual/startup.texi: Document MTASC-safety properties.
14060
973f180b
AO
14061 * manual/socket.texi: Document MTASC-safety properties.
14062
8f3c25c8
AO
14063 * manual/signal.texi: Document MTASC-safety properties.
14064
542210fb
AO
140652014-01-31 Alexandre Oliva <aoliva@redhat.com>
14066
14067 * manual/setjmp.texi: Document MTASC-safety properties.
14068
433c45a2
AO
14069 * manual/search.texi: Document MTASC-safety properties.
14070
c8ce789c
AO
14071 * manual/resource.texi: Document MTASC-safety properties.
14072
19f5d29c
AO
14073 * manual/process.texi: Document MTASC-safety properties.
14074
e2dfb7f4
AO
14075 * manual/platform.texi: Document MTASC-safety properties.
14076
8c1413f5
AO
14077 * manual/pipe.texi: Document MTASC-safety properties.
14078
03483ada
AO
14079 * manual/pattern.texi: Document MTASC-safety properties.
14080
29e7e2df
AO
14081 * manual/message.texi: Document MTASC-safety properties.
14082
9f529d7c
AO
14083 [BZ #12751]
14084 * manual/memory.texi: Document MTASC-safety properties.
14085
27aaa791
AO
14086 * manual/math.texi: Document MTASC-safety properties.
14087
f2d58726
AO
14088 * manual/locale.texi: Document MTASC-safety properties.
14089
2cc3615c
AO
14090 * manual/llio.texi: Document MTASC-safety properties.
14091
d9f0ec97
AO
14092 * manual/libdl.texi: New.
14093
e7c4409a
AO
14094 * manual/lang.texi: Document MTASC-safety properties.
14095
27bdc63c
AO
14096 * manual/job.texi: Document MTASC-safety properties.
14097
a7b90ea9
AO
14098 * manual/getopt.texi: Document MTASC-safety properties.
14099
c49130e3
AO
14100 * manual/ctype.texi: Document MTASC-safety properties.
14101
0d23a5c1
MR
141022014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
14103
14104 [BZ #16046]
14105 * csu/libc-tls.c (static_map): Remove variable.
14106 (__libc_setup_tls): Use main executable's link map for TLS data.
14107 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
14108 casing for LM_ID_BASE and GL(dl_nns).
14109 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
14110 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
14111 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
14112 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
14113 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
14114 member.
14115 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
14116 l_phnum members.
14117
0037bb60
AO
141182014-01-30 Alexandre Oliva <aoliva@redhat.com>
14119
14120 * manual/debug.texi: Document MTASC-safety properties.
14121
409e00bd
L
141222014-01-29 H.J. Lu <hongjiu.lu@intel.com>
14123
14124 [BZ #16510]
14125 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
14126 of __x86_64__ when disabling x87 inline functions.
14127
86e60666
AO
141282014-01-29 Alexandre Oliva <aoliva@redhat.com>
14129
14130 * manual/charset.texi: Document MTASC-safety properties.
14131
76167637
AO
14132 * manual/crypt.texi: Document MTASC-safety properties.
14133
e567f2a0
AO
14134 * manual/conf.texi: Document MTASC-safety properties.
14135
b719dafd
AO
14136 * manual/arith.texi: Document MTASC-safety properties.
14137
4a16c662
AO
14138 * manual/argp.texi: Document MTASC-safety properties.
14139
0a57b83e
AO
14140 * manual/macros.texi: Introduce macros to document multi
14141 thread, asynchronous signal and asynchronous cancellation
14142 safety properties.
14143 * manual/intro.texi: Introduce the properties themselves.
14144
feab2397
KK
141452014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14146
14147 * sysdeps/sh/sh4/Makefile: New file.
14148
1c0d11bc
AS
141492014-01-27 Andreas Schwab <schwab@linux-m68k.org>
14150
14151 * math/gen-libm-test.pl ($srcdir): New variable.
14152 ($auto_input): Use it.
14153
af37a8a3
SP
141542014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14155
d7b00f98
SP
14156 [BZ #16506]
14157 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
14158 access beyond array bounds when parsing netgroups file.
14159
af37a8a3
SP
14160 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
14161 the old buffer before realloc.
14162
0c00f062
AM
141632014-01-27 Allan McRae <allan@archlinux.org>
14164
14165 * po/fr.po: Update French translation from translation project.
14166
7d69a1b0
KK
141672014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14168
14169 * sysdeps/sh/libm-test-ulps: Regenerate.
14170
6e697ff7
DM
141712014-01-24 David S. Miller <davem@davemloft.net>
14172
14173 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
14174
9cadb35c
KK
141752014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14176
14177 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
14178 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
14179
5d41dadf
SP
141802013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14181
14182 [BZ #16474]
14183 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
14184 string pointers after reallocation.
14185
0bad441c
KK
141862014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14187
14188 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
14189 __SH4A__ instead of __SH_FPU_ANY__.
14190
7007c661
KK
141912014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14192
14193 * sysdeps/sh/fpu_control.h: New file.
14194 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
14195 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
14196 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
14197 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
14198 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
14199 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
14200 * sysdeps/sh/sys/ucontext.h: Remove.
14201 * sysdeps/sh/sys: Remove directory.
14202
0f0c35e4
AK
142032014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14204
14205 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
14206 s390/sys/ucontext.h.
14207 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
14208 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
14209
4959e284
L
142102014-01-20 H.J. Lu <hongjiu.lu@intel.com>
14211
14212 [BZ #15605]
14213 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
14214
d98720e0
AZ
142152014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14216
14217 [BZ#16431]
14218 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14219 Adjust the vDSO correctly for internal calls.
14220 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
14221
91cbd0bc
AM
142222014-01-20 Allan McRae <allan@archlinux.org>
14223
14224 * po/ca.po: Update Catalan translation from translation project.
14225
7a02cfad
MF
142262014-01-16 Mike Frysinger <vapier@gentoo.org>
14227
14228 * sysdeps/s390/sotruss-lib.c: New file.
14229
736c304a
AZ
142302014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14231
14232 [BZ#16430]
6e077ee5 14233 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
14234 (__GI___gettimeofday): Alias for a different internal symbol to avoid
14235 local calls issues by not having a PLT stub required for IFUNC calls.
14236 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
14237
94d0cea0
JM
142382014-01-16 Joseph Myers <joseph@codesourcery.com>
14239
14240 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
14241 * math/test-fpucw-static.c: Likewise.
14242
980cb518
SP
142432013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14244
14245 [BZ #16453]
14246 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
14247
2393fc01
AZ
142482014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14249
14250 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
14251 implementation for powerpc.
14252
d359bcc2
OB
142532014-01-15 Ondřej Bílka <neleai@seznam.cz>
14254
14255 [BZ #14782]
14256 * sysdeps/posix/system.c (__libc_system): Do not enable
14257 asynchronous cancellation.
14258
7beb48cb
AK
142592014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14260
14261 [BZ #16427]
14262 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
14263 handling only for numbers special also in the IEEE case.
14264
c20d5bf5
AK
142652014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14266
14267 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14268
e83bd4ee
AM
142692014-01-11 Allan McRae <allan@archlinux.org>
14270
76d0ea69
AM
14271 * po/bg.po: Update Bulgarian translation from translation project.
14272
e83bd4ee
AM
14273 * po/de.po: Update German translation from translation project.
14274
bc2ba20a
RM
142752014-01-10 Roland McGrath <roland@hack.frob.com>
14276
14277 * sysdeps/generic/gcc-compat.h: New file.
14278
649ecea2
SP
142792014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14280
14281 * benchtests/asin-inputs: Correct slow inputs.
14282 * benchtests/acos-inputs: Likewise.
14283
1b19c006
AM
142842014-01-10 Allan McRae <allan@archlinux.org>
14285
a46dab08
AM
14286 * po:sv.po: Update Swedish translation from translation project.
14287
421df74a
AM
14288 * po/vi.po: Update Vietnamese translation from translation project.
14289
d61c51a7
AM
14290 * po/eo.po: Update Esperanto translation from translation project.
14291
0339a319
AM
14292 * po/cs.po: Update Czech translation from translation project.
14293
94ad3e99
AM
14294 * po/nl.po: Update Dutch translation from translation project.
14295
e349ca71
AM
14296 * po/pl.po: Update Polish translation from translation project.
14297
ddf930c1
AM
14298 * po/ru.po: Update Russian translation from translation project.
14299
1b19c006
AM
14300 * po/uk.po: Update Ukrainian translation from translation project.
14301
9f236c49
BM
143022014-01-08 Brooks Moses <bmoses@google.com>
14303
14304 * elf/dl-load.c: Fix comment typo.
14305
cd6701cf
CD
143062014-01-08 Carlos O'Donell <carlos@redhat.com>
14307
14308 * po/header.pot: Rename to...
14309 * po/pot.header: ... this.
14310 * po/Makefile: Use pot.header.
14311
66671c84
YK
143122014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
14313 Maxim Kuvyrkov <maxim@kugelworks.com>
14314
14315 [BZ #16394]
cd6701cf
CD
14316 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
14317 SRC and DEST against LEN.
66671c84 14318
38f34581
AZ
143192014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14320
14321 [BZ #16414]
14322 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
14323 implementation.
14324 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
14325
143262014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
14327
14328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14329
4c327f2a
JM
143302014-01-08 Joseph Myers <joseph@codesourcery.com>
14331
14332 [BZ #16408]
14333 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
14334 for large positive arguments.
14335
b821f414
JM
143362014-01-07 Joseph Myers <joseph@codesourcery.com>
14337
1f0f2067
JM
14338 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14339
a5a326f6
JM
14340 * math/auto-libm-test-in: Mark various tests with
14341 xfail-rounding:ldbl-128ibm.
14342 * math/auto-libm-test-out: Regenerated.
14343
b821f414
JM
14344 [BZ #16407]
14345 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14346 Increase overflow threshold.
14347
94c8a4bc
OB
143482014-01-07 Ondřej Bílka <neleai@seznam.cz>
14349
14350 [BZ #14286]
14351 * stdio-common/vfprintf.c: Check for integer overflow.
14352
87ded0c3
AK
143532014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14354
14355 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
14356 the first argument and return value of __tls_get_addr_internal.
14357
c5eebdd0
AK
143582014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14359
14360 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
14361 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
14362
05d138ef
AK
143632014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14364
14365 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
14366 * sysdeps/s390/rtld-global-offsets.sym: New file.
14367 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
14368 GLIBC_2.19 symbol.
14369 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
14370 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
14371 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14372 ... this.
14373 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
14374 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14375 ... this.
14376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14377 Regenerate.
14378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14379 Regenerate.
14380 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
14381 halfs of GPRs for high_gprs contexts.
14382 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
14383 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
14384 field.
14385 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
14386 uc_flags field.
14387 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
14388 64 bit versions:
14389 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
14390 for high GPRs (uc_high_gprs) and for future extensions
14391 (__reserved).
14392 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
14393 for future extensions (__reserved).
14394 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
14395 64 bit versions:
14396 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
14397 SC_HIGHGPRS offset definition.
14398 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
14399 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
14400
93a45ff1
AK
14401 * Versions.def: Add GLIBC_2.19 for libpthread.
14402 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
14403 siglongjmp for libpthread with GLIBC_2.19 symver.
14404 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
14405 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
14406 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
14407 * sysdeps/s390/__longjmp.c: New file.
14408 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
14409 * sysdeps/s390/longjmp.c: New file.
14410 * sysdeps/s390/setjmp.S: New file.
14411 * sysdeps/s390/sigjmp.S: New file.
14412 * sysdeps/s390/v1-longjmp.c: New file.
14413 * sysdeps/s390/v1-setjmp.h: New file.
14414 * sysdeps/s390/v1-sigjmp.c: New file.
14415 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
14416 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
14417 GLIBC_2.19 version.
14418 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
14419 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
14420 versioned symbols for ____longjmp_chk.
14421 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14422 Likewise.
14423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14424 Regenerate.
14425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14426 Regenerate.
14427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14428 Regenerate.
14429 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14430 Regenerate.
14431 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
14432 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
14433 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
14434 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
14435 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
14436 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
14437 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
14438 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
14439 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
14440 * sysdeps/s390/rtld-__longjmp.c: New file.
14441 * sysdeps/s390/rtld-setjmp.S: New file.
14442
eb3fc44b
JM
144432014-01-06 Joseph Myers <joseph@codesourcery.com>
14444
14445 [BZ #16400]
14446 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14447 Return -__logl (x) for small positive arguments without evaluating
14448 a polynomial.
14449
9341dde4
MF
144502014-01-06 Mike Frysinger <vapier@gentoo.org>
14451
14452 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
14453 Rename to ...
14454 (__ptrace_peeksiginfo_args): ... this.
14455 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14456 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14457 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14458
4cff0293
AM
144592014-01-06 Allan McRae <allan@archlinux.org>
14460
14461 * inet/netinet/in.h: Fix typo in comment.
14462
75595dcf
AJ
144632014-01-05 Andreas Jaeger <aj@suse.de>
14464
14465 * sysdeps/i386/fpu/libm-test-ulps: Update.
14466
79c1e109
AM
144672014-01-05 Allan McRae <allan@archlinux.org>
14468
dd804818
AM
14469 * po/libc.pot: Regenerated.
14470
79c1e109
AM
14471 * malloc/memusagestat.c: Fix gettext call formatting.
14472
0c813d1f
SK
144732014-01-04 Sami Kerola <kerolasa@iki.fi>
14474
14475 * nscd/nscd.c: Improve usage() output.
14476
20f4a8d9
MF
144772014-01-04 Mike Frysinger <vapier@gentoo.org>
14478
14479 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
14480 * sysdeps/unix/sysv/linux/configure: Regenerated.
14481 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
14482 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
14483
22562bb2
JM
144842014-01-03 Joseph Myers <joseph@codesourcery.com>
14485
14486 [BZ #16390]
14487 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14488 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
14489
d7ad2d9b
AZ
144902014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14491
14492 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
14493 extra tokens at end of #undef directive.
14494 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
14495 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
14496 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
14497
7dd009d8
JM
144982014-01-03 Joseph Myers <joseph@codesourcery.com>
14499
24db925a
JM
14500 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14501
7dd009d8
JM
14502 * math/auto-libm-test-in: Mark various tests with
14503 xfail-rounding:ldbl-128ibm.
14504 * math/auto-libm-test-out: Regenerated.
14505
396e3ecf
JM
145062014-01-02 Joseph Myers <joseph@codesourcery.com>
14507
819e5d50
JM
14508 [BZ #16386]
14509 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
14510 numbers with subnormal high part when calculating exponent.
14511
90b6a1e5
JM
14512 [BZ #16385]
14513 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
14514 fabs.
14515
396e3ecf
JM
14516 [BZ #16384]
14517 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
14518 M_LN2l.
14519 (__ieee754_acoshl): Use __log1pl not __log1p.
14520
6c8dbf00
OB
145212013-01-02 Ondřej Bílka <neleai@seznam.cz>
14522
57f41c40
AS
14523 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
14524 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
14525 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
14526 (grow_heap, heap_trim, _int_new_arena, get_free_list)
14527 (reused_arena, arena_get2): Convert to GNU style.
14528 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
14529 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
14530 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 14531 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
14532 * malloc/malloc.c (__malloc_assert, malloc_init_state)
14533 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
14534 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
14535 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
14536 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
14537 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 14538 * malloc/malloc.h: Likewise.
57f41c40
AS
14539 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
14540 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 14541 * malloc/mcheck.h: Likewise.
57f41c40
AS
14542 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
14543 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
14544 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
14545 * malloc/morecore.c (__default_morecore): Likewise.
14546 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
14547 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
14548 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
14549 (print_and_abort): Likewise.
6c8dbf00
OB
14550 * malloc/obstack.h: Likewise.
14551 * malloc/set-freeres.c (__libc_freeres): Likewise.
14552 * malloc/tst-mallocstate.c (main): Likewise.
14553 * malloc/tst-mtrace.c (main): Likewise.
14554 * malloc/tst-realloc.c (do_test): Likewise.
14555
d4124212
SP
145562013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14557
9a3c6a6f
SP
14558 [BZ #16366]
14559 * nscd/netgroupcache.c (do_notfound): New function.
14560 (addgetnetgrentX): Use it.
14561
d4124212
SP
14562 [BZ # 16365]
14563 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
14564 NSS_STATUS_NOTFOUND.
14565
97b9a009
JM
145662014-01-01 Joseph Myers <joseph@codesourcery.com>
14567
14568 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14570
d4697bc9
AM
145712014-01-01 Allan McRae <allan@archlinux.org>
14572
ddb3687f
AM
14573 * scripts/update-copyrights: Update configure input file suffix.
14574
88726d48
AM
14575 * NEWS: Update copyright year.
14576 * catgets/gencat.c: Likewise.
14577 * csu/version.c: Likewise.
14578 * debug/catchsegv.sh: Likewise.
14579 * debug/pcprofiledump.c: Likewise.
14580 * debug/xtrace.sh: Likewise.
14581 * elf/ldconfig.c: Likewise.
14582 * elf/ldd.bash.in: Likewise.
14583 * elf/pldd.c: Likewise.
14584 * elf/sotruss.ksh: Likewise.
14585 * elf/sprof.c: Likewise.
14586 * iconv/iconv_prog.c: Likewise.
14587 * iconv/iconvconfig.c: Likewise.
14588 * locale/programs/locale.c: Likewise.
14589 * locale/programs/localedef.c: Likewise.
14590 * login/programs/pt_chown.c: Likewise.
14591 * malloc/memusage.sh: Likewise.
14592 * malloc/memusagestat.c: Likewise.
14593 * malloc/mtrace.pl: Likewise.
14594 * manual/libc.texinfo: Likewise.
14595 * nscd/nscd.c: Likewise.
14596 * nss/getent.c: Likewise.
14597 * nss/makedb.c: Likewise.
14598 * posix/getconf.c: Likewise.
14599 * scripts/test-installation.pl: Likewise.
14600
d4697bc9
AM
14601 * All files with FSF copyright notices: Update copyright dates
14602 using scripts/update-copyrights.
14603 * intl/plural.c: Regenerated.
14604 * locale/programs/charmap-kw.h: Likewise.
14605 * locale/programs/locfile-kw.h: Likewise.
14606
c8590f9d
MF
146072013-12-31 Mike Frysinger <vapier@gentoo.org>
14608
14609 * sysdeps/unix/sysv/linux/configure: Regenerated.
14610 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
14611 the linux/fanotify.h header.
14612 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
14613 HAVE_LINUX_FANOTIFY_H is defined.
14614
b19221b9
SP
146152013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14616
dd1d85e5
SP
14617 * benchtests/cos-inputs: New inputs.
14618 * benchtests/sin-inputs: Likewise.
14619
1acbb90f
SP
14620 * benchtests/atan-inputs: New inputs. Fix name of multiple
14621 precision fallback inputs.
14622
4c012ed3
SP
14623 * benchtests/atanh-inputs: New inputs.
14624 * benchtests/tanh-inputs: Likewise.
14625
eff98324
SP
14626 * benchtests/acosh-inputs: New inputs.
14627 * benchtests/asinh-inputs: Likewise.
14628
ce641152
SP
14629 * benchtests/cosh-inputs: New inputs.
14630 * benchtests/sinh-inputs: Likewise.
14631
b19221b9
SP
14632 * benchtests/acos-inputs: Add more inputs.
14633 * benchtests/asin-inputs: Likewise.
14634
030a4976 146352013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 14636
030a4976 14637 [BZ #16375]
9dcc8f11
VS
14638 * manual/arith.texi: Fix spelling.
14639 * manual/charset.texi: Likewise.
14640 * manual/errno.texi: Likewise.
14641 * manual/filesys.texi: Likewise.
14642 * manual/lang.texi: Likewise.
14643 * manual/llio.texi: Likewise.
14644 * manual/locale.texi: Likewise.
14645 * manual/message.texi: Likewise.
14646 * manual/resource.texi: Likewise.
14647 * manual/search.texi: Likewise.
14648 * manual/setjmp.texi: Likewise.
14649 * manual/stdio.texi: Likewise.
14650 * manual/string.texi: Likewise.
14651 * manual/sysinfo.texi: Likewise.
14652 * manual/time.texi: Likewise.
14653
11520a57
CD
146542013-12-27 Carlos O'Donell <carlos@redhat.com>
14655
14656 * po/sl.po: New file.
14657
471103ae
MF
146582013-12-27 Mike Frysinger <vapier@gentoo.org>
14659
14660 * .gitignore: Add core/.gdbinit/.gdb_history.
14661
6c9642ed
AM
146622013-12-27 Allan McRae <allan@archlinux.org>
14663
14664 [BZ #16369]
14665 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
14666 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
14667
3f637079
BM
146682013-12-24 Brooks Moses <bmoses@google.com>
14669
14670 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
14671 all compilers that claim C++98 compliance, not just GCC.
14672 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14673 Likewise.
14674
abc26e99
MK
146752013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14676
14677 * NEWS: Restore accidentally deleted bug-fix entries.
14678
362b47fe
MK
146792013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14680 Ondřej Bílka <neleai@seznam.cz>
14681
14682 [BZ #15073]
14683 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 14684 have_lock.
362b47fe 14685
b9bcbbcb
OB
146862013-12-23 Ondřej Bílka <neleai@seznam.cz>
14687
14688 [BZ #12986]
14689 * manual/stdio.texi (String Input Conversions): Clarify that character
14690 classes are not supported.
14691
fb55fcd2
AZ
146922013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14693
14694 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14695
ef7344f0
JM
146962013-12-22 Joseph Myers <joseph@codesourcery.com>
14697
4f40e4b3
JM
14698 [BZ #16337]
14699 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14700 Calculate results for small negative arguments directly rather
14701 than using reflection formula with special underflow handling.
14702
ef7344f0
JM
14703 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
14704 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
14705 sysdeps/unix/bsd/bsd4.4/syscalls.list.
14706 (fchflags): Likewise.
14707 (revoke): Likewise.
14708 (setlogin): Likewise.
14709 (sigaltstack): Likewise.
14710 (wait4): Likewise.
14711 (sigblock): Remove.
14712 (sigsetmask): Likewise.
14713 (wait3): Likewise.
14714 (waitpid): Likewise.
14715 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14716 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14717 file.
14718 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14719 * sysdeps/unix/bsd/Makefile: ... here.
14720 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14721 * sysdeps/unix/bsd/Versions: ... here.
14722 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14723 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14724 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14725 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14726 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14727 * sysdeps/unix/bsd/sigblock.c: ... here.
14728 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14729 * sysdeps/unix/bsd/sigsetmask.c: ... here.
14730 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14731 * sysdeps/unix/bsd/sigvec.c: ... here.
14732 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14733 * sysdeps/unix/bsd/tcdrain.c: ... here.
14734 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14735 * sysdeps/unix/bsd/tcgetattr.c: ... here.
14736 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14737 * sysdeps/unix/bsd/tcsetattr.c: ... here.
14738 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14739 * sysdeps/unix/bsd/wait.c: ... here.
14740 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14741 * sysdeps/unix/bsd/wait3.c: ... here.
14742 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14743 * sysdeps/unix/bsd/waitpid.c: ... here.
14744
5b0626b9
JM
147452013-12-21 Joseph Myers <joseph@codesourcery.com>
14746
14747 [BZ #16356]
14748 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14749 round-to-nearest for [!USE_AS_EXPM1L].
14750 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14751 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
14752 more tests of exp and exp10. Expect some exp10 tests to miss
14753 exceptions or fail in directed rounding modes.
14754 * math/auto-libm-test-out: Regenerated.
14755 * math/libm-test.inc (exp10_tonearest_test_data): New array.
14756 (exp10_test_tonearest): New function.
14757 (exp10_towardzero_test_data): New array.
14758 (exp10_test_towardzero): New function.
14759 (exp10_downward_test_data): New array.
14760 (exp10_test_downward): New function.
14761 (exp10_upward_test_data): New array.
14762 (exp10_test_upward): New function.
14763 (main): Call the new functions.
14764 * sysdeps/i386/fpu/libm-test-ulps: Update.
14765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14766
7fda5682
JM
147672013-12-20 Joseph Myers <joseph@codesourcery.com>
14768
31e3a405
JM
14769 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14770 asinh, atan, atan2, atanh, cbrt, cos and cosh.
14771 * math/auto-libm-test-out: Regenerated.
14772 * math/libm-test.inc (acosh_test_data): Add more tests.
14773 (atanh_test_data): Likewise.
14774 (ceil_test_data): Likewise.
14775 (copysign_test_data): Likewise.
14776 * sysdeps/i386/fpu/libm-test-ulps: Update.
14777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14778
85bff96a
JM
14779 * timezone/checktab.awk: Update from tzcode 2013i.
14780 * timezone/private.h: Likewise.
14781 * timezone/scheck.c: Likewise.
14782 * timezone/tzfile.h: Likewise.
14783 * timezone/tzselect.ksh: Likewise.
14784 * timezone/zdump.c: Likewise.
14785 * timezone/zic.c: Likewise.
14786
b7867a3b
JM
14787 * math/auto-libm-test-in: Add tests of cpow.
14788 * math/auto-libm-test-out: Regenerated.
14789 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 14790 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
14791 mpc_cc_c.
14792 (func_calc_desc): Add mpc_cc_c union field.
14793 (test_functions): Add cpow.
14794 (special_fill_2pi): New function.
14795 (special_real_inputs): Add 2pi.
14796 (calc_generic_results): Handle mpc_cc_c.
14797 * sysdeps/i386/fpu/libm-test-ulps: Update.
14798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14799
7fda5682
JM
14800 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14801 csqrt, ctan and ctanh.
14802 * math/auto-libm-test-out: Regenerated.
14803 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14804 (TEST_COND_x86): Likewise.
14805 (ccos_test_data): Use AUTO_TESTS_c_c.
14806 (ccosh_test_data): Likewise.
14807 (cexp_test_data): Likewise.
14808 (clog_test_data): Likewise.
14809 (csqrt_test_data): Likewise.
14810 (ctan_test_data): Likewise.
14811 (ctan_tonearest_test_data): Likewise.
14812 (ctan_towardzero_test_data): Likewise.
14813 (ctan_downward_test_data): Likewise.
14814 (ctan_upward_test_data): Likewise.
14815 (ctanh_test_data): Likewise.
14816 (ctanh_tonearest_test_data): Likewise.
14817 (ctanh_towardzero_test_data): Likewise.
14818 (ctanh_downward_test_data): Likewise.
14819 (ctanh_upward_test_data): Likewise.
14820 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14821 mpc_c_c.
14822 (func_calc_desc): Add mpc_c_c union field.
14823 (FUNC_mpc_c_c): New macro.
14824 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
14825 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
14826 ctanh.
14827 (special_fill_min_subnorm_p120): New function.
14828 (special_real_inputs): Add min_subnorm_p120.
14829 (calc_generic_results): Handle mpc_c_c.
14830 * sysdeps/i386/fpu/libm-test-ulps: Update.
14831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14832
5ff8d60e
SP
148332013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14834
57f41c40
AS
14835 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
14836 (do_sin_slow): New functions.
14837 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
14838 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 14839
84ba214c
SP
14840 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
14841 Use M to change sign of result instead of X. Assume X is
14842 positive.
14843 (csloww1): Likewise.
14844 (__sin): Adjust.
14845 (__cos): Adjust.
14846
975195e4
SP
14847 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
14848 arguments A and DA.
14849 (__sin): Adjust.
14850 (__cos): Likewise.
14851
5ff8d60e
SP
14852 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
14853 (__cos): Likewise.
14854 (sloww1): Don't adjust sign of DX.
14855 (csloww1): Likewise.
14856 (sloww2): Use X directly and don't adjust sign of DX.
14857 (csloww2): Likewise.
14858
eb983568
JM
148592013-12-19 Joseph Myers <joseph@codesourcery.com>
14860
64a17f1a
JM
14861 * math/auto-libm-test-in: Add tests of cabs and carg.
14862 * math/auto-libm-test-out: Regenerated.
14863 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
14864 (carg_test_data): Likewise.
14865 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14866 mpc_c_f.
14867 (func_calc_desc): Add mpc_c_f union field.
14868 (test_functions): Add cabs and carg.
14869 (calc_generic_results): Handle mpc_c_f.
14870
eb983568
JM
14871 * sysdeps/powerpc/powerpc32/libgcc-compat.S
14872 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
14873 as a macro and a compat symbol.
14874 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14875 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14876 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14877 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14878 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
14879 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
14880 not use .hidden.
14881 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
14882 Likewise.
14883 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
14884 Likewise.
14885 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
14886 Likewise.
14887 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
14888 Likewise.
14889 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
14890 Likewise.
14891 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
14892 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
14893 from GLIBC_2.3.2.
14894
6eeb678a
AZ
148952013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14896
14897 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14898
6f6fc482
JM
148992013-12-19 Joseph Myers <joseph@codesourcery.com>
14900
21fea2e2
JM
14901 * manual/texinfo.tex: Update to version 2013-11-26.10 with
14902 trailing whitespace removed.
14903 * scripts/config.guess: Update to version 2013-11-29.
14904 * scripts/config.sub: Update to version 2013-10-01.
14905
6f6fc482
JM
14906 * math/auto-libm-test-in: Add tests of sincos.
14907 * math/auto-libm-test-out: Regenerated.
14908 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
14909 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14910 mpfr_f_11.
14911 (func_calc_desc): Add mpfr_f_11 union field.
14912 (test_functions): Add sincos.
14913 (calc_generic_results): Handle mpfr_f_11.
14914 * sysdeps/i386/fpu/libm-test-ulps: Update.
14915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14916
83f5c32d
AS
149172013-12-19 Andreas Schwab <schwab@suse.de>
14918
14919 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
14920 CALL_MCOUNT.
14921 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14922 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
14923 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
14924
c688b419
JM
149252013-12-19 Joseph Myers <joseph@codesourcery.com>
14926
335ee092
JM
14927 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
14928 * sysdeps/i386/fpu/libm-test-ulps: Update.
14929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14930
f88acd39
JM
14931 [BZ #16293]
14932 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
14933 round-to-nearest mode when using frndint.
14934 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
14935 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14936 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14937 Likewise.
14938 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
14939 sinh test to fail.
14940 * math/auto-libm-test-out: Regenerated.
14941 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
14942 (TEST_COND_x86): Likewise.
14943 (expm1_tonearest_test_data): New array.
14944 (expm1_test_tonearest): New function.
14945 (expm1_towardzero_test_data): New array.
14946 (expm1_test_towardzero): New function.
14947 (expm1_downward_test_data): New array.
14948 (expm1_test_downward): New function.
14949 (expm1_upward_test_data): New array.
14950 (expm1_test_upward): New function.
14951 (main): Run the new test functions.
14952 * sysdeps/i386/fpu/libm-test-ulps: Update.
14953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14954
c688b419
JM
14955 * include/features.h: Update comment documenting feature test
14956 macros. Mention _DEFAULT_SOURCE in comment.
14957 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
14958 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
14959 _BSD_SOURCE and _SVID_SOURCE.
14960 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
14961 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
14962 !_SVID_SOURCE]: Likewise.
14963 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14964 (__USE_POSIX_IMPLICITLY): Define.
14965 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14966 (_POSIX_SOURCE): Undefine and redefine.
14967 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
14968 (_POSIX_C_SOURCE): Likewise.
14969 * manual/creature.texi (_DEFAULT_SOURCE): Document.
14970 (Feature Test Macros): Update documentation of default features.
14971
9f6e964c
RS
149722013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14973
14974 * benchtests/Makefile: Add bench-strtok.
14975 * benchtests/bench-strtok.c: New file: strtok benchtest.
14976
ee0a148a
AM
149772013-12-19 Allan McRae <allan@archlinux.org>
14978
14979 * manual/install.texi: Suppress menu for plain text output.
14980 * INSTALL: Regenerated.
14981
b9ab448f
BM
149822013-12-18 Brooks Moses <bmoses@google.com>
14983
14984 [BZ #15846]
14985 * misc/getauxval.c: Include errno.h.
14986 (__getauxval): Set errno to ENOENT if the requested type is not
14987 found.
14988 * misc/sys/auxv.h (getauxval): Document that it may set errno;
14989 don't declare with __attribute_const__.
14990 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
14991 * manual/startup.texi: Document that getauxval sets errno.
14992
23776487
JM
149932013-12-18 Joseph Myers <joseph@codesourcery.com>
14994
f889953b
JM
14995 * math/auto-libm-test-in: Add tests of jn and yn.
14996 * math/auto-libm-test-out: Regenerated.
14997 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
14998 (yn_test_data): Likewise.
14999 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15000 mpfr_if_f.
15001 (func_calc_desc): Add mpfr_if_f union field.
15002 (FUNC_mpfr_if_f): New macro.
15003 (test_functions): Add jn and yn.
15004 (calc_generic_results): Assert type of second input for
15005 mpfr_ff_f. Handle mpfr_if_f.
15006 (output_for_one_input_case): Disable all checking for arguments
15007 fitting floating-point types in case of an integer argument.
15008 * sysdeps/i386/fpu/libm-test-ulps: Update.
15009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15010
23776487
JM
15011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15012 Don't expect fegetround reference in libm.so.
15013
cb756c6d
MS
150142013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15015
15016 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
15017 $(config-cflags-nofma).
15018
2dec468f
JM
150192013-12-18 Joseph Myers <joseph@codesourcery.com>
15020
5953eb3a
JM
15021 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
15022 * math/auto-libm-test-out: Regenerated.
15023
2dec468f
JM
15024 [BZ #16338]
15025 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
15026 to determine exponent and adjust argument to have exponent of -1.
15027 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
15028 log2.
15029 * math/auto-libm-test-out: Regenerated.
15030 * sysdeps/i386/fpu/libm-test-ulps: Update.
15031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15032
4d84e6ad
OB
150332013-12-18 Ondřej Bílka <neleai@seznam.cz>
15034
15035 * manual/probes.texi: Remove cases when per-thread arenas are
15036 disabled.
15037
1818483b
AS
150382013-12-18 Andreas Schwab <schwab@suse.de>
15039
15040 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
15041 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
15042 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
15043 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
15044 * sysdeps/i386/i686/multiarch/Makefile: Update.
15045 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
15046
25de95bf
JM
150472013-12-17 Joseph Myers <joseph@codesourcery.com>
15048
15049 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
15050 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
15051
674762d9
PE
150522013-12-17 Paul Eggert <eggert@cs.ucla.edu>
15053
ed27ed83 15054 [BZ #15968]
0748546f
PE
15055 Support TZ transition times < 00:00:00.
15056 This is needed for version-3 tz-format files; it supports time
15057 stamps past 2037 for America/Godthab (the only entry in the tz
15058 database for which this change is relevant).
15059 * manual/time.texi (TZ Variable): Document transition times
15060 from -167:59:59 through -00:00:01.
15061 * time/tzset.c (tz_rule): Time of day is now signed.
15062 (__tzset_parse_tz): Parse negative time of day.
15063
4480e934
PE
15064 Document TZ transition times >= 25:00:00.
15065 * manual/time.texi (TZ Variable): Document transition times from
15066 25:00:00 through 167:59:59. These are already supported, and this
15067 support will help with version-3 tz-format files.
15068
69947401
PE
15069 * manual/time.texi (TZ Variable): Modernize North America example
15070 to reflect current (i.e., 2007-and-later) daylight saving rules.
15071
674762d9
PE
15072 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
15073
7011c262
JM
150742013-12-17 Joseph Myers <joseph@codesourcery.com>
15075
2fc6557e
JM
15076 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
15077 * sysdeps/unix/bsd/bits/stat.h: Likewise.
15078 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
15079 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15080 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
15081 * sysdeps/unix/bsd/bsdstat.h: Likewise.
15082 * sysdeps/unix/bsd/clock.c: Likewise.
15083 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
15084 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
15085 * sysdeps/unix/bsd/init-posix.c: Likewise.
15086 * sysdeps/unix/bsd/poll.c: Likewise.
15087 * sysdeps/unix/bsd/ptsname.c: Likewise.
15088 * sysdeps/unix/bsd/seekdir.c: Likewise.
15089 * sysdeps/unix/bsd/setegid.c: Likewise.
15090 * sysdeps/unix/bsd/seteuid.c: Likewise.
15091 * sysdeps/unix/bsd/setgid.c: Likewise.
15092 * sysdeps/unix/bsd/setrgid.c: Likewise.
15093 * sysdeps/unix/bsd/setruid.c: Likewise.
15094 * sysdeps/unix/bsd/setsid.c: Likewise.
15095 * sysdeps/unix/bsd/setuid.c: Likewise.
15096 * sysdeps/unix/bsd/sigaction.c: Likewise.
15097 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
15098 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
15099 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
15100 * sysdeps/unix/bsd/telldir.c: Likewise.
15101 * sysdeps/unix/bsd/times.c: Likewise.
15102 * sysdeps/unix/bsd/usleep.c: Likewise.
15103
029c7b25
JM
15104 * misc/Makefile (install-lib): Remove libbsd-compat.a.
15105 ($(objpfx)libbsd-compat.a): Remove rule.
15106
7011c262
JM
15107 * include/features.h (__FAVOR_BSD): Do not define.
15108 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
15109 features conflicting with POSIX.
15110 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
15111 (_BSD_SOURCE): Remove description of not being a subset of other
15112 feature test macros.
15113 * manual/job.texi (getpgrp): Do not document BSD version.
15114 (getpgid): Do not document by reference to BSD getpgrp.
15115 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
15116 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
15117 * signal/signal.h [__FAVOR_BSD]: Likewise.
15118 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
15119 instead of making contents conditional on [__FAVOR_BSD].
15120 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
15121
affb6f78
AZ
151222013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15123
15124 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15125
c88769dd
JM
151262013-12-17 Joseph Myers <joseph@codesourcery.com>
15127
6432a540
JM
15128 [BZ #16314]
15129 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
15130 values below 2**-450, not 2**-500.
15131 * math/auto-libm-test-in: Don't allow spurious underflow from
15132 hypot.
15133 * math/auto-libm-test-out: Regenerated.
15134
c88769dd
JM
15135 [BZ #16316]
15136 [BZ #16330]
15137 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
15138 values of ha and hb and sort them after adjusting subnormal
15139 arguments.
15140 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15141 Likewise.
15142 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
15143 values of ea and eb and sort them after adjusting subnormal
15144 arguments.
15145 * math/auto-libm-test-in: Do not expect some hypot tests of
15146 subnormals to fail. Add more hypot tests.
15147 * math/auto-libm-test-out: Regenerated.
15148
29618f6b
KK
151492013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15150
15151 [BZ #13304]
15152 * sysdeps/sh/s_fma.c: New file.
15153 * sysdeps/sh/s_fmaf.c: New file.
15154 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
15155 version.
15156 * sysdeps/sh/Implies: Add sh/soft-fp.
15157
eacfdfbf
RM
151582013-12-16 Roland McGrath <roland@hack.frob.com>
15159
15160 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
15161 level of indirection to members `objname', `errstring', `malloced'.
15162 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
15163 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
15164 it as the __longjmp argument (just pass 1 instead).
15165 (_dl_catch_error): Initialize C with argument pointers and address of
15166 volatile local ERRCODE rather than copying values out of C at return.
15167
ff362e5b
JM
151682013-12-16 Joseph Myers <joseph@codesourcery.com>
15169
15170 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
15171 * math/auto-libm-test-out: Regenerated.
15172 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
15173 (hypot_test_data): Likewise.
15174 (pow_test_data): Likewise.
15175 (pow_tonearest_test_data): Likewise.
15176 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15177 mpfr_ff_f.
15178 (func_calc_desc): Add mpfr_ff_f union field.
15179 (FUNC_mpfr_ff_f): New macro.
15180 (test_functions): Add atan2, hypot and pow.
15181 (special_fill_min): New function.
15182 (special_fill_minus_min): Likewise.
15183 (special_fill_min_subnorm): Likewise.
15184 (special_fill_minus_min_subnorm): Likewise.
15185 (special_real_inputs): Add min, -min, min_subnorm and
15186 -min_subnorm.
15187 (calc_generic_results): Handle mpfr_ff_f.
15188 * sysdeps/i386/fpu/libm-test-ulps: Update.
15189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15190
5764c27f
WN
151912013-12-16 Will Newton <will.newton@linaro.org>
15192
15193 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
15194 (Aligned Memory Blocks): Add documentation for aligned_alloc
15195 and suggest it as an alternative to posix_memalign.
15196 (Hooks for Malloc): Document __memalign_hook is also called
15197 for aligned_alloc. (Summary of Malloc): Add summary for
15198 aligned alloc. Document __memalign_hook is also called
15199 for aligned_alloc.
15200
0a096e44
WN
152012013-12-16 Will Newton <will.newton@linaro.org>
15202
15203 * manual/memory.texi (Malloc Examples): Clarify default
15204 alignment documentation. Suggest posix_memalign rather
15205 than memalign or valloc.
15206 (Aligned Memory Blocks): Remove suggestion to use memalign
15207 or valloc. Remove obsolete comment about BSD.
15208 Document memalign errno values and mark the function obsolete.
15209 Document posix_memalign returned error codes. Mark valloc
15210 as obsolete. (Hooks for Malloc): __memalign_hook is also
15211 called for posix_memalign and valloc.
15212 (Summary of Malloc): Add posix_memalign to function summary.
15213 __memalign_hook is also called for posix_memalign and valloc.
15214
8d561986
SP
152152013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15216
15217 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
15218 TAYLOR_SIN.
15219 (__sin): Adjust.
15220 (__cos): Likewise.
15221 (sloww): Use mynumber union. Expand ternary operator into
15222 if-else statements.
15223 (cslow): use mynumber union.
15224
73616a74
AM
152252013-12-16 Allan McRae <allan@archlinux.org>
15226
9e8ac24b
AM
15227 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
15228 * configure: Regenerated.
15229
6f8e37eb
AM
15230 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
15231
8894bad3
AM
15232 [BZ #14120]
15233 * configure.ac: Added --enable-maintainer-mode. Check for
15234 autoconf when enabled.
15235 * configure: Regenerated.
15236
73616a74
AM
15237 * nscd/nscd.service: New file.
15238 * nscd/nscd.tmpfiles: New file.
15239
584b18eb
OB
152402013-12-14 Ondřej Bílka <neleai@seznam.cz>
15241
15242 [BZ #12100]
15243 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
15244 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
15245 * sysdeps/x86_64/multiarch/strstr.c: ... here.
15246 (strstr): Add __strstr_sse2_unaligned ifunc.
15247 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
15248 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
15249 (strcasestr): Remove __strcasestr_sse42 ifunc.
15250 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
15251 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15252 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15253
8a5c7897
KK
152542013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15255
15256 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
15257 * sysdeps/sh/bits/fenv.h: ... here.
15258 * sysdeps/sh/sh4/fpu/bits: Remove directory.
15259
fd712ef3
AZ
152602013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15261
15262 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
15263
42fcb46c
AZ
15264 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
15265 hypotf multiarch implementations.
15266 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
15267 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
15268 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
15269 multiarch hypot for PPC64.
15270 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
15271 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
15272 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
15273 multiarch hypotf for PPC64.
15274
83efded4
AZ
15275 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
15276 modff multiarch implementations.
15277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
15278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
15279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
15280 multiarch modf for PPC64.
15281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
15282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
15283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
15284 multiarch modff for PPC64.
15285
43e246d2
AZ
15286 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
15287 and logl multiarch implementations.
15288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
15289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
15290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
15291 multiarch logb for PPC64.
15292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
15293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
15294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
15295 multiarch logb for PPC64.
15296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
15297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
15298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
15299 multiarch logb for PPC64.
15300
8fdad123
AZ
15301 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
15302 isinff multiarch implementation.
15303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
15304 file.
15305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
15306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
15307 multiarch isinf for PPC64.
15308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
15309 file.
15310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
15311 multiarch isinff for PPC64.
15312
1481d706
AZ
15313 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
15314 finitef multiarch implementation.
15315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
15316 file.
15317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
15318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
15319 multiarch finite for PPC64.
15320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
15321 file.
15322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
15323 multiarch finitef for PPC64.
15324
5ccd5fc8
AZ
15325 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
15326 lrint multiarch implementation.
15327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
15328 file.
15329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
15330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
15331 multiarch llrint for PPC64.
15332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
15333 multiarch lrint for PPC64.
15334
2568f3fa
AZ
15335 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
15336 copysignf multiarch implementation.
15337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
15338 file.
15339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
15340 file.
15341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
15342 multiarch copysign for PPC64.
15343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
15344 multiarch copysignf for PPC64.
15345
1cb341fd
AZ
15346 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
15347 multiarch implementation.
15348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
15349 file.
15350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
15351 file.
15352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
15353 file.
15354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
15355 file.
15356 multiarch llround for PPC64.
15357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
15358 multiarch trunc for PPC64.
15359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
15360 multiarch truncf for PPC64.
15361
59a3e194
AZ
15362 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
15363 multiarch implementation.
15364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
15365 file.
15366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
15367 file.
15368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
15369 file.
15370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
15371 file.
15372 multiarch llround for PPC64.
15373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
15374 multiarch round for PPC64.
15375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
15376 multiarch roundf for PPC64.
15377
357fd3b4
AZ
15378 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
15379 multiarch implementation.
15380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
15381 file.
15382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
15383 file.
15384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
15385 file.
15386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
15387 file.
15388 multiarch llround for PPC64.
15389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
15390 multiarch floor for PPC64.
15391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
15392 multiarch floorf for PPC64.
15393
96770f12
AZ
15394 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
15395 multiarch implementation.
15396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
15397 file.
15398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
15399 file.
15400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
15401 file.
15402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
15403 file.
15404 multiarch llround for PPC64.
15405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
15406 multiarch ceil for PPC64.
15407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
15408 multiarch ceilf for PPC64.
15409
c3627f6e
AZ
15410 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15411 multiarch implementation.
15412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
15413 file.
15414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
15415 file.
15416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
15417 file.
15418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
15419 multiarch llround for PPC64.
15420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
15421 multiarch lround for PPC64.
15422
b2284ad7
AZ
15423 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15424 multiarch implementation.
15425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
15426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
15427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
15428 file.
15429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
15430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
15431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
15432 multiarch isnan for PPC64.
15433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
15434 multiarch isnanf for PPC64.
15435
69bbc63d
AZ
15436 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
15437 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
15438 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
15439 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
15440 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
15441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
15442
c24517c9
AZ
15443 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
15444 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15445 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15446 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15447
a52374e8
AZ
15448 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
15449 multiarch implementations.
15450 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15451 (__libc_ifunc_impl_list): Likewise.
15452 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
15453 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
15454 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
15455 multiarch stpcpy for PPC64.
15456
7f5ec113
AZ
15457 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
15458 multiarch implementations.
15459 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15460 (__libc_ifunc_impl_list): Likewise.
15461 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
15462 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
15463 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
15464 multiarch strcpy for PPC64.
15465
e28bcd42
AZ
15466 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
15467 redefine function name.
15468 (_wordcopy_fwd_dest_aligned): Likewise.
15469 (_wordcopy_bwd_aligned): Likewise.
15470 (_wordcopy_bwd_dest_aligned): Likewise.
15471 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
15472 multiarch implementations.
15473 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15474 (__libc_ifunc_impl_list): Likewise.
15475 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
15476 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
15477 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
15478 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
15479 multiarch wcscpy for PPC64.
15480
92cacfce
AZ
15481 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
15482 multiarch implementations.
15483 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15484 (__libc_ifunc_impl_list): Likewise.
15485 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
15486 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
15487 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
15488 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
15489 multiarch wcscpy for PPC64.
15490
7b714620
AZ
15491 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
15492 multiarch implementations.
15493 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15494 (__libc_ifunc_impl_list): Likewise.
15495 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
15496 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
15497 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
15498 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
15499 multiarch wcsrchr for PPC64.
15500
16fd2ae3
AZ
15501 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
15502 multiarch implementations.
15503 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15504 (__libc_ifunc_impl_list): Likewise.
15505 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
15506 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
15507 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
15508 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
15509 multiarch wcschr for PPC64.
15510
9ee2969b
AZ
15511 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
15512 multiarch implementations.
15513 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15514 (__libc_ifunc_impl_list): Likewise.
15515 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
15516 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
15517 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
15518 multiarch strchrnul for PPC64.
15519
372dc060
AZ
15520 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
15521 implementations.
15522 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15523 (__libc_ifunc_impl_list): Likewise.
15524 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
15525 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
15526 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
15527 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
15528 strchr for PPC64.
15529
24c2c3b9
AZ
15530 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
15531 implementations.
15532 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15533 (__libc_ifunc_impl_list): Likewise.
15534 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
15535 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
15536 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
15537 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
15538 strncmp for PPC64.
15539
1c92d9a0
AZ
15540 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
15541 multiarch implementations.
15542 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15543 (__libc_ifunc_impl_list): Likewise.
15544 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
15545 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
15546 strncasecmp for PPC64.
15547 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
15548 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
15549 multiarch strncasecmp_l for PPC64.
15550
17de3ee3
AZ
15551 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
15552 multiarch implementations.
15553 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15554 (__libc_ifunc_impl_list): Likewise.
15555 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
15556 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
15557 multiarch strcasecmp for PPC64.
15558 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
15559 file.
15560 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
15561 multiarch strcasecmp_l for PPC64.
15562
62982bf9
AZ
15563 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
15564 implementations.
15565 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15566 (__libc_ifunc_impl_list): Likewise.
15567 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
15568 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
15569 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
15570 strnlen for PPC64.
15571
a65f4904
AZ
15572 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
15573 implementations.
15574 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15575 (__libc_ifunc_impl_list): Likewise.
15576 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
15577 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
15578 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
15579 strlen for PPC64.
15580
1fd005ad
AZ
15581 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
15582 implementations.
15583 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15584 (__libc_ifunc_impl_list): Likewise.
15585 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
15586 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
15587 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
15588 rawmemrchr for PPC64.
15589
cd05ba91
AZ
15590 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
15591 implementation.
15592 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15593 (__libc_ifunc_impl_list): Likewise.
15594 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
15595 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
15596 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
15597 memrchr for PPC64.
15598
870f8676
AZ
15599 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
15600 implementation.
15601 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15602 (__libc_ifunc_impl_list): Likewise.
15603 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
15604 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
15605 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
15606 memchr for PPC64.
15607
f00be62b
AZ
15608 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
15609 implementation.
15610 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15611 (__libc_ifunc_impl_list): Likewise.
15612 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
15613 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
15614 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
15615 mempcpy for PPC64.
15616
8a29a3d0
AZ
15617 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
15618 avoid cretion of __bzero symbol.
15619 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
15620 Likewise.
15621 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
15622 Likewise.
15623 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
15624 Likewise.
15625 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
15626 multiarch implementations.
15627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15628 (__libc_ifunc_impl_list): Likewise.
15629 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
15630 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
15631 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
15632 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
15633 bzero for PPC32.
15634 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
15635 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
15636 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
15637 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
15638 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
15639 memset for PPC64.
15640 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
15641
07253fcf
AZ
15642 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
15643 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
15644 implementations.
15645 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15646 (__libc_ifunc_impl_list): Likewise.
15647 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
15648 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
15649 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
15650 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
15651 memcmp for PPC64.
15652
b5beafbc
AZ
15653 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
15654 multiarch for POWER/PPC64.
15655 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15656 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
15657 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
15658 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
15659 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
15660 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
15661 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
15662 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
15663 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
15664 memcpy for PPC64.
15665
5e6a4d4b
AZ
15666 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
15667 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
15668 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
15669 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
15670 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
15671 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
15672 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
15673 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
15674 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
15675 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
15676 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
15677 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
15678 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
15679 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
15680 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
15681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
15682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
15683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
15684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
15685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
15686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
15687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
15688
ddfab6dc
KK
156892013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15690
15691 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
15692
19b5525e
SP
156932013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15694
15695 * benchtests/Makefile (bench): Add exp2 and log2.
15696 (LDLIBS-bench-exp2): Add -lm.
15697 (LDLIBS-bench-log2): Likewise.
15698 * benchtests/exp2-inputs: New inputs file.
15699 * benchtests/log2-inputs: New inputs file.
15700 * benchtests/log-inputs: Add new inputs.
15701 * benchtests/tan-inputs: Likewise.
15702
196f7f5d
SP
157032013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15704
7a74607f
SP
15705 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
15706 definition...
57f41c40
AS
15707 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
15708 (csloww2): ... from here.
7a74607f 15709
196f7f5d
SP
15710 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15711 instead of structures.
15712 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15713 (POLYNOMIAL): Likewise.
15714 (TAYLOR_SLOW): Likewise.
15715 (__sin): Likewise.
15716 (__cos): Likewise.
15717 (slow1): Likewise.
15718 (slow2): Likewise.
15719 (sloww): Likewise.
15720 (sloww1); Likewise.
15721 (sloww2): Likewise.
15722 (bsloww1): Likewise.
15723 (bsloww2): Likewise.
15724 (cslow2): Likewise.
15725 (csloww): Likewise.
15726 (csloww1): Likewise.
15727 (csloww2): Likewise.
15728
0dfa665c
OB
157292013-12-10 Ondřej Bílka <neleai@seznam.cz>
15730
15731 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
15732 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15733 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
15734 * malloc/hooks.c (realloc_check): Likewise.
15735
5782a80f
OB
15736 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15737 * malloc/arena.c: Remove PER_THREAD conditional.
15738 [!PER_THREAD]: Remove code.
15739 (ptmalloc_unlock_all2): Likewise.
15740 (ptmalloc_init): Likewise.
15741 (_int_new_arena): Likewise.
15742 (arena_get2): Likewise.
15743 * malloc/hooks.c (__malloc_get_state): Likewise.
15744 (__malloc_set_state): Likewise.
15745 * malloc/malloc.c: Likewise.
15746 (struct malloc_state): Likewise.
15747 (struct malloc_par): Likewise.
15748 (__libc_realloc): Likewise.
15749 (__libc_mallopt): Likewise.
15750
aeb95445
AZ
157512013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15752
15753 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15754
e8349efd
OB
157552013-12-09 Ondřej Bílka <neleai@seznam.cz>
15756
15757 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15758 macro to a function. Check for zero perturb_byte.
15759 (_int_malloc, _int_free): Remove zero perturb_byte checks.
15760
f3eeb3fc 15761 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
15762 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15763 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
15764 force_reg by atomic_forced_read.
15765 * malloc/arena.c (ptmalloc_init): Likewise.
15766 * malloc/hooks.c (top_check): Likewise.
15767
be2f9009
AZ
157682013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15769
15770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15771
e7b914bd
MT
157722013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
15773
15774 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15775
9f0be4f8
JM
157762013-12-08 Joseph Myers <joseph@codesourcery.com>
15777
15778 * math/auto-libm-test-in: Add tests of lgamma.
15779 * math/auto-libm-test-out: Regenerated.
15780 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15781 (M_LOG_2_SQRT_PIl): Likewise.
15782 (lgamma_test_data): Use AUTO_TESTS_f_f1.
15783 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15784 mpfr_f_f1.
15785 (func_calc_desc): Add mpfr_f_f1 union field.
15786 (ARGS1): New macro.
15787 (ARGS2): Likewise.
15788 (ARGS3): Likewise.
15789 (ARGS4): Likewise.
15790 (RET1): Likewise.
15791 (RET2): Likewise.
15792 (CALC): Likewise.
15793 (FUNC): Likewise.
15794 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15795 (test_functions): Add lgamma.
15796 (calc_generic_results): Handle mpfr_f_f1.
15797 * sysdeps/i386/fpu/libm-test-ulps: Update.
15798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15799
24eeafdb
AZ
158002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15801
15802 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15803 __mpn_add_n for PowerPC64/POWER7.
15804 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
15805 __mpn_sub_n for PowerPC64/POWER7.
15806
4a2c0fd4
AZ
15807 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
15808 __mpn_addmul_1 for PowerPC64.
15809 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
15810 __mpn_submul_1 for PowerPC64.
15811 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
15812 for PowerPC64.
15813 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
15814 for PowerPC64.
15815
4b5b548c
FS
158162013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
15817
15818 [BZ #15089]
15819 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
15820
0a3ac0aa
AZ
158212013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15822
15823 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
15824
ccdc8438
AZ
15825 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
15826 add multiarch folders.
15827 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
15828 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
15829 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
15830 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
15831 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
15832 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
15833 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
15834 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
15835 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
15836 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
15837 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
15838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
15839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
15840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
15841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
15842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
15843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
15844
2e973d99
AZ
15845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15846 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
15847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
15848 New file.
15849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
15850 New file.
15851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
15852 multiarch __ieee754_hypot for PowerPC32.
15853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
15854 New file.
15855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
15856 New file.
15857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
15858 multiarch __ieee754_hypotf for PowerPC32.
15859
2d9470b2
AZ
15860 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
15861 long_double_symbol only if __logbl is defined.
15862 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
15863 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
15864 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
15865 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
15866 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
15867 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
15868 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
15869 path for implementation.
15870 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
15871 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
15872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
15873 logb, and logbl multiarch implementations for PowerPC32.
15874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
15875 file.
15876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
15877 file.
15878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
15879 multiarch logb for PowerPC32.
15880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
15881 file.
15882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
15883 file.
15884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
15885 multiarch logbf for PowerPC32.
15886 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
15887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
15888 file.
15889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
15890 multiarch logbl implementation for PowerPC32.
15891
5212ffce
AZ
15892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
15893 and modff multiarch implementations.
15894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
15895 New file.
15896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
15897 New file.
15898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
15899 multiarch modf for PowerPC32.
15900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
15901 New file.
15902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
15903 New file.
15904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
15905 multiarch modff for PowerPC32.
15906
79dccf31
AZ
15907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
15908 and lrintf multiarch implementations.
15909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
15910 New file.
15911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
15912 New file.
15913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
15914 multiarch lrint for PowerPC32.
15915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
15916 file: multiarch lrintf for PowerPC32.
15917
deb66480
AZ
15918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
15919 and lroundf multiarch implementations.
15920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
15921 New file.
15922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
15923 New file.
15924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
15925 New file.
15926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
15927 multiarch lround for PowerPC32.
15928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
15929 file: multiarch lroundf for PowerPC32.
15930
264b036b
AZ
15931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15932 copysign and copysignf multiarch implementations.
15933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
15934 New file.
15935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
15936 New file.
15937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
15938 file: multiarch copysign for PowerPC32.
15939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
15940 file: multiarch copysignf for PowerPC32.
15941
d47db6c9
AZ
15942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
15943 and truncf multiarch implementations.
15944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
15945 New file.
15946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
15947 file.
15948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
15949 multiarch trunc for PowerPC32.
15950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
15951 New file.
15952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
15953 New file.
15954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
15955 multiarch truncf for PowerPC32.
15956
ddb60b5a
AZ
15957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
15958 and roundf multiarch implementations.
15959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
15960 New file.
15961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
15962 file.
15963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
15964 multiarch round for PowerPC32.
15965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
15966 New file.
15967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
15968 New file.
15969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
15970 multiarch roundf for PowerPC32.
15971
bedcf49b
AZ
15972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
15973 and floorf multiarch implementations.
15974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
15975 New file.
15976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
15977 file.
15978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
15979 multiarch floor for PowerPC32.
15980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
15981 New file.
15982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
15983 New file.
15984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
15985 multiarch floorf for PowerPC32.
15986
35ae5b40
AZ
15987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
15988 and ceilf multiarch implementations.
15989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
15990 New file.
15991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
15992 file.
15993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
15994 multiarch ceil for PowerPC32.
15995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
15996 New file.
15997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
15998 file.
15999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
16000 multiarch ceilf for PowerPC32.
16001
ae1a4cd9
AZ
16002 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
16003 is defined.
16004 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
16005 FINITEF is defined.
16006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
16007 and finitef multiarch implementations.
16008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
16009 New file.
16010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
16011 file.
16012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
16013 multiarch finite for PowerPC32.
16014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
16015 New file.
16016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
16017 file: multiarch finitef for PowerPC32.
16018
64fffd65
AZ
16019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
16020 and isinff multiarch implementations.
16021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
16022 file.
16023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
16024 file.
16025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
16026 multiarch isinf for PowerPC32.
16027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
16028 New file.
16029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
16030 multiarch isinff for PowerPC32.
16031
8e4e7ba2
AZ
16032 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
16033 alias when __isnan is defined.
16034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
16035 and isnanf multiarch implementations.
16036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
16037 file.
16038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
16039 file.
16040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
16041 file.
16042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
16043 file.
16044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
16045 multiarch isnan for PowerPC32.
16046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
16047 New file.
16048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
16049 New file.
16050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
16051 multiarch isnanf for PowerPC32.
16052
ddba588e
AZ
16053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
16054 and sqrtf multiarch implementations.
16055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
16056 file.
16057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
16058 file.
16059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
16060 multiarch sqrt for PowerPC32.
16061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
16062 file.
16063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
16064 file.
16065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
16066 multiarch sqrtf for PowerPC32.
16067
0f96a2f0
AZ
16068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
16069 and llroundf multiarch implementations.
16070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
16071 New file.
16072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
16073 New file.
16074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
16075 New file.
16076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
16077 file: multiarch llround for PowerPC32.
16078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
16079 file: multiarch llroundf for PowerPC32.
16080
c9b5d79e
AZ
16081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
16082 multiarch PowerPC32 fpu implementations.
16083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
16084 New file.
16085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
16086 New file.
16087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
16088 multiarch llrint for PowerPC32.
16089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
16090 New file.
16091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
16092 New file.
16093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
16094 file.
16095
9cbb3aab
AZ
16096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
16097
ea5a72f8
AZ
16098 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
16099 file.
16100 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
16101 file.
16102 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
16103 file.
16104 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
16105 multiarch wordcopy for PPC32.
16106 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16107 wordcopy objects.
16108 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16109 (__libc_ifunc_impl_list): Likewise.
16110 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
16111 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
16112 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
16113 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
16114 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
16115 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
16116
93be09e7
AZ
16117 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
16118 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
16119 file.
16120 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
16121 file.
16122 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
16123 file.
16124 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
16125 multiarch wcscpy for PPC32.
16126 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16127 multiarch objects.
16128 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16129 (__libc_ifunc_impl_list): Likewise.
16130 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16131 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16132 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
16133 sysdeps/powerpc/power6/wcscpy.c.
16134
bb04e529
AZ
16135 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
16136 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
16137 file.
16138 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
16139 file.
16140 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
16141 file.
16142 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
16143 multiarch wcsrchr for PPC32.
16144 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16145 multiarch objects.
16146 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16147 (__libc_ifunc_impl_list): Likewise.
16148 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16149 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16150 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
16151 sysdeps/powerpc/power6/wcsrchr.c.
16152
05b5cd1c
AZ
16153 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
16154 file.
16155 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
16156 file.
16157 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
16158 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
16159 multiarch wcschr for PPc32.
16160 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16161 multiarch objects.
16162 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16163 (__libc_ifunc_impl_list): Likewise.
16164 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
16165 * sysdeps/powerpc/power6/wcschr.c: ... to here.
16166 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
16167 sysdeps/powerpc/power6/wcschr.c.
16168
ba964147
AZ
16169 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
16170 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
16171 file.
16172 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
16173 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
16174 file: multiarch strchr for PPC32.
16175 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
16176 multiarch objects.
16177 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16178 (__libc_ifunc_impl_list): Likewise.
16179
31c81aaa
AZ
16180 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
16181 name.
16182 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
16183 file.
16184 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
16185 file.
16186 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
16187 multiarch strchrnul for PPC32.
16188 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
16189 multiarch objects.
16190 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16191 (__libc_ifunc_impl_list): Likewise.
16192
0d0607d9
AZ
16193 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
16194 file.
16195 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
16196 multiarch strncasecmp for PPC32.
16197 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
16198 file.
16199 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
16200 multiarch strncasecmp_l for PPC32.
16201 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
16202 strncasecmp multiarch objects.
16203 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16204 (__libc_ifunc_impl_list): Likewise.
16205
4dfd5c86
AZ
16206 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
16207 file.
16208 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
16209 multiarch strncasecmp for PPC32.
16210 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16211 New file.
16212 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
16213 multiarch strcasecmp_l for PPC32.
16214 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
16215 multiarch objects.
16216 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16217 (__libc_ifunc_impl_list): Likewise.
16218
a19e01a3
AZ
16219 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
16220 file.
16221 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
16222 file.
16223 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
16224 multiarch strncmp for PPC32.
16225 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
16226 multiarch objects.
16227 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16228 (__libc_ifunc_impl_list): Likewise.
16229
ae9cf7a2
AZ
16230 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
16231 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
16232 file.
16233 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
16234 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
16235 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
16236 multiarch objects.
16237 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16238 (__libc_ifunc_impl_list): Likewise.
16239
3148bb7d
AZ
16240 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
16241 file.
16242 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
16243 file.
16244 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
16245 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
16246 multiarch objects.
16247 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16248 (__libc_ifunc_impl_list): Likewise.
16249
7af8b946
AZ
16250 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
16251 file.
16252 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
16253 file.
16254 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
16255 multiarch rawmemchr for PPC32.
16256 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
16257 multiarch objects.
16258 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16259 (__libc_ifunc_impl_list): Likewise.
16260
03a6aa6a
AZ
16261 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
16262 file.
16263 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
16264 file.
16265 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
16266 file: memrchr multiarch for PPC32.
16267 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
16268 multiarch objects.
16269 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16270 (__libc_ifunc_impl_list): Likewise.
16271
1c62e6d9
AZ
16272 * string/memchr.c (__memchr): Using macro to redefine symbol name.
16273 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
16274 file.
16275 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
16276 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
16277 multiarch memchr for PPC32.
16278 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
16279 multiarch objects.
16280 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16281 (__libc_ifunc_impl_list): Likewise.
16282
87da8bdb
AZ
16283 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
16284 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
16285 file.
16286 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
16287 file.
16288 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
16289 file: multiarch mempcpy for PPC32.
16290 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
16291 multiarch objects.
16292 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16293 (__libc_ifunc_impl_list): Likewise.
16294
20ed4714
AZ
16295 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
16296 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
16297 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
16298 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
16299 multiarch bzero for PPC32.
16300 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
16301 file.
16302 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
16303 file.
16304 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
16305 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
16306 file: multiarch memset for PPC32.
16307 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
16308 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
16309 memset multiarch objects.
16310 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16311 (__libc_ifunc_impl_list): Likewise.
16312
ab3e3a46
AZ
16313 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
16314 file.
16315 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
16316 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
16317 memcmp for PPC32.
16318 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
16319 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
16320 multiarch objects.
16321 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16322 (__libc_ifunc_impl_list): Likewise.
16323
930de6f0
AZ
16324 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
16325 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
16326 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
16327 file.
16328 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
16329 file.
16330 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
16331 file.
16332 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
16333 multiarch memcpy for PPC32.
16334 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
16335 multiarch objects.
16336 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16337 (__libc_ifunc_impl_list): Likewise.
16338
4c628e00
AZ
16339 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
16340 support multiarch for POWER/PPC32.
16341 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
16342 Likewise.
16343 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
16344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
16345 Implies file to make multiarch folder appers before the fpu and
16346 default folder for power4 configuration.
16347
f4479220
SP
163482013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16349
16350 * scripts/bench.pl: Append volatile keyword to type.
16351
8517800f
KK
163522013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16353
16354 * sysdeps/sh/sotruss-lib.c: New file.
16355 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
16356
180138f1
AZ
163572013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16358
16359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16360
bbf37bdc
JM
163612013-12-05 Joseph Myers <joseph@codesourcery.com>
16362
e47cc4e0
JM
16363 [BZ #6810]
16364 * math/w_tgamma.c: Include <errno.h>.
16365 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
16366 * math/w_tgammaf.c: Include <errno.h>.
16367 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
16368 * math/w_tgammal.c: Include <errno.h>.
16369 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
16370 * math/auto-libm-test-in: Do not allow missing errno on tgamma
16371 underflow. Add more tgamma tests.
16372 * math/auto-libm-test-out: Regenerated.
16373 * sysdeps/i386/fpu/libm-test-ulps: Update.
16374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16375
bbf37bdc
JM
16376 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
16377 sin, sinh, tan, tanh, tgamma, y0 and y1.
16378 * math/auto-libm-test-out: Regenerated.
16379 * math/libm-test.inc (TEST_COND_x86_64): New macro.
16380 (TEST_COND_x86): Likewise.
16381 (M_E2l): Remove macro.
16382 (M_E3l): Likewise.
16383 (M_2_SQRT_PIl): Likewise.
16384 (M_SQRT_PIl): Likewise.
16385 (M_1_DIV_El): Likewise.
16386 (log_test_data): Use AUTO_TESTS_f_f.
16387 (log10_test_data): Likewise.
16388 (log1p_test_data): Likewise.
16389 (log2_test_data): Likewise.
16390 (sin_test_data): Likewise.
16391 (sin_tonearest_test_data): Likewise.
16392 (sin_towardzero_test_data): Likewise.
16393 (sin_downward_test_data): Likewise.
16394 (sin_upward_test_data): Likewise.
16395 (sinh_test_data): Likewise.
16396 (sinh_tonearest_test_data): Likewise.
16397 (sinh_towardzero_test_data): Likewise.
16398 (sinh_downward_test_data): Likewise.
16399 (sinh_upward_test_data): Likewise.
16400 (tan_test_data): Likewise.
16401 (tan_tonearest_test_data): Likewise.
16402 (tan_towardzero_test_data): Likewise.
16403 (tan_downward_test_data): Likewise.
16404 (tan_upward_test_data): Likewise.
16405 (tanh_test_data): Likewise.
16406 (tgamma_test_data): Likewise.
16407 (y0_test_data): Likewise.
16408 (y1_test_data): Likewise.
16409 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
16410 (special_real_inputs): Add pi/4.
16411 * sysdeps/i386/fpu/libm-test-ulps: Update.
16412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16413
eb5ad6b9
AZ
164142013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16415
16416 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
16417 "longjmp_target" static probes.
16418 (__longjmp): Rename to __longjmp_symbol.
16419 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16420 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
16421 on which longjmp to generate.
16422 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16423 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
16424 probe.
16425 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16426 (__sigjmp_save): Rename to __sigjmp_save_symbol.
16427 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16428 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
16429 and __sigjmp_save_symbol based on which sigsetjmp to generated.
16430 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
16431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
16432 __longjmp_symbol based on which __longjmp to generate.
16433 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
16434 probe.
16435 (setjmp): Rename to setjmp_symbol.
16436 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16437 (_setjmp): Rename to _setjmp_symbol.
16438 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16439 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
16440 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
16441 which setjmp to generate.
16442 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
16443 "longjmp_target" static probes.
16444
d136c6dc
SP
164452013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16446
9298ecba
SP
16447 * benchtests/README: Add note about output arguments.
16448 * benchtests/bench-sincos.c: Remove file.
16449 * benchtests/sincos-inputs: New file.
16450 * scripts/bench.pl: Identify output arguments and define
16451 static variables for them.
16452
232983e9
SP
16453 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
16454
d136c6dc
SP
16455 [BZ #15941]
16456 * Makefile (INSTALL): Add install-plain.texi as the primary
16457 dependency.
16458 * manual/install-plain.texi: New file.
16459 * manual/install.texi: Include node directive only for
16460 non-plaintext output.
16461
699ff837
JM
164622013-12-04 Joseph Myers <joseph@codesourcery.com>
16463
ab07cea8
JM
16464 * stdlib/longlong.h: Update from GCC.
16465
699ff837
JM
16466 [BZ #6807]
16467 [BZ #15901]
16468 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
16469 * math/w_j0f.c (y0f): Likewise.
16470 * math/w_j0l.c (__y0l): Likewise.
16471 * math/w_j1.c (y1): Likewise.
16472 * math/w_j1f.c (y1f): Likewise.
16473 * math/w_j1l.c (__y1l): Likewise
16474 * math/w_jn.c (yn): Likewise.
16475 * math/w_jnf.c (ynf): Likewise.
16476 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
16477 Bessel function pole errors in _POSIX_ mode. Use NAN as return
16478 value for Bessel function domain errors outside _SVID_ mode.
16479 Adjust sign of return value for yn (negative integer, 0).
16480 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
16481 by zero in return for negative x and set sign appropriately for
16482 negative n.
16483 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
16484 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16485 * math/libm-test.inc (y0_test_data): Add more tests and adjust
16486 expectations in error cases.
16487 (y1_test_data): Likewise.
16488 (yn_test_data): Likewise.
16489 * sysdeps/i386/fpu/libm-test-ulps: Update.
16490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16491
5b118558
UW
164922013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16493
16494 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
16495 "64" to "64-v1". Add "64-v2".
16496 (abi-64-options): Rename to ...
16497 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
16498 (abi-64-condition): Rename to ...
16499 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
16500 (abi-64-ld-soname): Rename to ...
16501 (abi-64-v1-ld-soname): ... this.
16502 (abi-64-v2-options): Define.
16503 (abi-64-v2-condition): Likewise.
16504 (abi-64-v2-ld-soname): Likewise.
16505 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
16506 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
16507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
16508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
16509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
16510
61cd8fe4
UW
165112013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16512 Alan Modra <amodra@gmail.com>
16513
16514 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
16515 New versions for use with the ELFv2 ABI.
16516 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
16517 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
16518 declaration.
16519 (struct La_ppc64v2_retval): Likewise.
16520 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
16521 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
16522 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
16523 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
16524 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
16525 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16526 Do not save or restore CR.
16527 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
16528 (_dl_profile_resolve): Do no save or restore CR. Support extended
16529 return values for ELFv2 ABI. Fix location of FPR return registers.
16530 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
16531 updated values for _CALL_ELF == 2.
16532 (La_regs, La_retval, int_retval): Likewise.
16533
8b8a692c
UW
165342013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16535
16536 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
16537 (FRAME_MIN_SIZE_PARM): Likewise.
16538 (FRAME_BACKCHAIN): Likewise.
16539 (FRAME_CR_SAVE): Likewise.
16540 (FRAME_LR_SAVE): Likewise.
16541 (FRAME_TOC_SAVE): Likewise.
16542 (FRAME_PARM_SAVE): Likewise.
16543 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
16544 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
16545 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16546 (call_mcount_parm_offset): New macro.
16547 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
16548 (PROF): Use symbolic stack frame offsets.
16549 (TAIL_CALL_SYSCALL_ERROR): Likewise.
16550 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
16551 Redefine in terms of FRAME_MIN_SIZE.
16552 (_dl_runtime_resolve): Use symbolic stack frame offsets.
16553 (_dl_profile_resolve): Likewise. Update comment.
16554 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
16555 symbols stack frame offsets.
16556 (__sigsetjmp): Likewise.
16557 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
16558 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
16559 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
16560 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
16561
16562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
16563 (FRAME_BACKCHAIN): Remove.
16564 (FRAME_CR_SAVE): Likewise.
16565 (FRAME_LR_SAVE): Likewise.
16566 (FRAME_COMPILER_DW): Likewise.
16567 (FRAME_LINKER_DW): Likewise.
16568 (FRAME_TOC_SAVE): Likewise.
16569 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
16570 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
16571 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
16572 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
16573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
16574 (CHECK_SP): Use symbolic stack frame offsets.
16575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
16576 zone" instead of caller's parameter save area for temp storage.
16577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16578 Likewise. Also, use symbolic stack frame offsets.
16579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
16580 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
16581 our own stack frame instead of the caller's.
16582 (__socket): Use symbolic stack frame offsets.
16583
122b66de
UW
165842013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16585 Alan Modra <amodra@gmail.com>
16586
16587 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
16588 Define.
57f41c40
AS
16589 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
16590 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
16591 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
16592 New function.
16593 (elf_machine_fixup_plt): Call it.
16594 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
16595 reloc arguments.
16596 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
16597 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16598 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
16599 r2 before calling target.
16600
696caf1d
UW
166012013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16602 Alan Modra <amodra@gmail.com>
16603
16604 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
16605 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
16606 versions of macros to support ELFv2 ABI.
16607 (LOCALENTRY): New macro.
16608 (ENTRY, EALIGN): Use it.
16609 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
16610 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
16611 fall through into ENTRY entry point.
16612 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
16613 Only define if _CALL_ELF != 2.
16614
16615 (elf_machine_matches_host): Verify ABI version matches.
16616 (RTLD_START): Use LOCALENTRY.
16617 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
16618 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
16619 (PLT_ENTRY_WORDS): New macro.
16620 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
16621 (elf_machine_runtime_setup): Support ELFv2 ABI.
16622 (elf_machine_fixup_plt): Likewise.
16623 (elf_machine_plt_conflict): Likewise.
16624 (resolve_ifunc): Likewise.
16625 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16626 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16627 Likewise.
16628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
16629 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
16630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16631 (makecontext): Support ELFv2 ABI.
16632 * elf/elf.h (EF_PPC64_ABI): Define.
16633
d31beafa
UW
166342013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16635
57f41c40
AS
16636 * sysdeps/powerpc/powerpc64/sysdep.h
16637 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
16638 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
16639 (ENTRY) [ASSEMBLER]: ... but instead here ...
16640 (EALIGN) [ASSEMBLER]: ... and here.
16641 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
16642 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
16643 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
16644 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
16645 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
16646 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16647 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
16648 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
16649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
16650 Use PPC64_LOAD_FUNCPTR.
16651
b525166b
UW
16652 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
16653
7ec07d9a
AM
166542013-12-04 Alan Modra <amodra@gmail.com>
16655
16656 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
16657 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
16658 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
16659 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
16660
16661 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
16662 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
16663 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
16664 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
16665 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
16666 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
16667
5162e7dd
UW
166682013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16669
16670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16671 (__makecontext): Fix incorrect CFI when backtracing out of
16672 context created via makecontext.
16673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
16674 (__setcontext): Fix incorrect CFI during switch to new context.
16675 (__novec_setcontext): Likewise.
16676
19e3372b
OB
166772013-12-04 Ondřej Bílka <neleai@seznam.cz>
16678
16679 [BZ #4772]
16680 * time/strptime_l.c (__strptime_internal): Allow modifiers
16681 in strptime.
16682 * time/tst-strptime.c (day_tests): Add testcase.
16683
ecaf142d
SP
166842013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16685
16686 * scripts/bench.pl: Skip over blank lines.
16687
fbf964ae
PE
166882013-12-04 Paul Eggert <eggert@cs.ucla.edu>
16689
16690 [BZ #926]
16691 * manual/time.texi (Calendar Time): Clarify what timezone functions
16692 use.
16693
fa60a674
AZ
166942013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16695
16696 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16697
d674f0ef
OB
166982013-12-04 Ondřej Bílka <neleai@seznam.cz>
16699
16700 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
16701 implementation.
16702 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16703 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16704 * debug/memset_chk.c (__memset_chk): Likewise.
16705 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
16706 * debug/strncpy_chk.c: Likewise.
16707
17dea188
JM
167082013-12-03 Joseph Myers <joseph@codesourcery.com>
16709
749008ff
JM
16710 [BZ #15268]
16711 [BZ #15425]
16712 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16713 (__ieee754_exp): For possibly underflowing results, check size of
16714 result and force underflow exception if required.
16715 * math/auto-libm-test-in: Add more tests of exp.
16716 * math/auto-libm-test-out: Regenerated.
16717 * sysdeps/i386/fpu/libm-test-ulps: Update.
16718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16719
17dea188
JM
16720 [BZ #16283]
16721 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16722 * math/w_exp2f.c (__exp2f): Likewise.
16723 * math/w_exp2l.c (__exp2l): Likewise.
16724 * math/auto-libm-test-in: Do not allow missing errno on exp2
16725 underflow.
16726 * math/auto-libm-test-out: Regenerated.
16727
b20de2c3
OB
167282013-12-03 Ondřej Bílka <neleai@seznam.cz>
16729
16730 [BZ #16274]
16731 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16732 handle filename validation.
16733 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16734 (do_open): Delete.
16735
d8e2dbe3
JM
167362013-12-03 Joseph Myers <joseph@codesourcery.com>
16737
34e16df5
JM
16738 [BZ #6786]
16739 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16740 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16741 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16742 <float.h>.
16743 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16744 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16745 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16746 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16747 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16748 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16749 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16750 * math/auto-libm-test-in: Don't allow missing errno from erfc.
16751 Add more erfc tests.
16752 * math/auto-libm-test-out: Regenerated.
16753 * sysdeps/i386/fpu/libm-test-ulps: Update.
16754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16755
d8e2dbe3
JM
16756 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16757 exp2, expm1, j0 and j1.
16758 * math/auto-libm-test-out: Regenerated.
16759 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16760 (erfc_test_data): Likewise.
16761 (exp_test_data): Likewise.
16762 (exp_tonearest_test_data): Likewise.
16763 (exp_towardzero_test_data): Likewise.
16764 (exp_downward_test_data): Likewise.
16765 (exp_upward_test_data): Likewise.
16766 (exp10_test_data): Likewise.
16767 (exp2_test_data): Likewise.
16768 (expm1_test_data): Likewise.
16769 (j0_test_data): Likewise.
16770 (j1_test_data): Likewise.
16771 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16772 (input_flag_type): Add flag_xfail_rounding.
16773 (input_flags): Add xfail-rounding.
16774 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16775 (output_for_one_input_case): Handle flag_xfail_rounding.
16776 * sysdeps/i386/fpu/libm-test-ulps: Update.
16777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16778
18d14251
AJ
167792013-12-03 Aurelien Jarno <aurelien@aurel32.net>
16780
3d2e6075 16781 [BZ #16289]
18d14251
AJ
16782 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16783 division by 0.
16784
520d437b
SP
167852013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16786
16787 [BZ #16195]
16788 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16789 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16790 (STAP_PROBE0): New macro.
16791 (STAP_PROBE1): Likewise.
16792 (STAP_PROBE2): Likewise.
16793 (STAP_PROBE3): Likewise.
16794 (STAP_PROBE4): Likewise.
16795
416e0145
OB
167962013-12-02 Ondřej Bílka <neleai@seznam.cz>
16797
16798 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16799
9d17796a
SE
168002013-12-02 Steve Ellcey <sellcey@mips.com>
16801
16802 * benchtests/Makefile (bench): Add sqrt.
16803 (LDLIBS-bench-sqrt): New.
16804 * benchtests/sqrt-input: New.
16805
f524d6a8
PS
168062013-12-02 Pavel Simerda <psimerda@redhat.com>
16807
639a0ef8
PS
16808 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
16809 (GAIH_EAI): Likewise.
16810 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
16811 (gaih_inet): Likewise.
16812 (getaddrinfo): Don't use GAIH_EAI.
16813
f524d6a8
PS
16814 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
16815 (struct gaih): Remove definition.
16816
df3aedaf
SP
168172013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16818
16819 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
16820 Use HERRNOP directly.
16821
1ab19dec
AZ
168222013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16823
b42ad38d 16824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 16825
176b0c79
JM
168262013-11-30 Joseph Myers <joseph@codesourcery.com>
16827
16828 * math/gen-auto-libm-tests.c (test_functions): Add more
16829 single-argument functions.
16830 (special_fill_pi_2): New function.
16831 (special_fill_minus_pi_2): Likewise.
16832 (special_fill_pi_6): Likewise.
16833 (special_fill_minus_pi_6): Likewise.
16834 (special_fill_pi_3): Likewise.
16835 (special_fill_2pi_3): Likewise.
16836 (special_fill_e): Likewise.
16837 (special_fill_1_e): Likewise.
16838 (special_fill_e_minus_1): Likewise.
16839 (special_real_inputs): Add more special inputs.
16840 (output_for_one_input_case): Do not require ERANGE on underflow to
16841 zero if round-to-nearest result does not underflow to zero, unless
16842 exact results required.
16843 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
16844 atan, atanh, cbrt, cos and cosh.
16845 * math/auto-libm-test-out: Regenerated.
16846 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
16847 (acos_tonearest_test_data): Likewise.
16848 (acos_towardzero_test_data): Likewise.
16849 (acos_downward_test_data): Likewise.
16850 (acos_upward_test_data): Likewise.
16851 (acosh_test_data): Likewise.
16852 (asin_test_data): Likewise.
16853 (asin_tonearest_test_data): Likewise.
16854 (asin_towardzero_test_data): Likewise.
16855 (asin_upward_test_data): Likewise.
16856 (asinh_test_data): Likewise.
16857 (atan_test_data): Likewise.
16858 (atanh_test_data): Likewise.
16859 (cbrt_test_data): Likewise.
16860 (cos_test_data): Likewise.
16861 (cos_tonearest_test_data): Likewise.
16862 (cos_towardzero_test_data): Likewise.
16863 (cos_downward_test_data): Likewise.
16864 (cos_upward_test_data): Likewise.
16865 (cosh_test_data): Likewise.
16866 (cosh_tonearest_test_data): Likewise.
16867 (cosh_towardzero_test_data): Likewise.
16868 (cosh_downward_test_data): Likewise.
16869 (cosh_upward_test_data): Likewise.
16870 * sysdeps/i386/fpu/libm-test-ulps: Update.
16871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16872
ffb536d0
JM
168732013-11-29 Joseph Myers <joseph@codesourcery.com>
16874
2a77a467
JM
16875 [BZ #6787]
16876 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
16877 * math/w_exp10f.c (__exp10f): Likewise.
16878 * math/w_exp10l.c (__exp10l): Likewise.
16879 * math/libm-test.inc (exp10_test_data): Add more tests and expect
16880 errno settings in existing tests.
16881
ea3bc4e8
JM
16882 [BZ #14032]
16883 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
16884 precision control set to double precision.
16885 * sysdeps/i386/fpu/w_sqrt.c: New file.
16886 * math/auto-libm-test-in: Add more tests.
16887 * math/auto-libm-test-out: Update.
16888
0712c9d8
JM
16889 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
16890 (sqrt_test_tonearest): New function.
16891 (sqrt_towardzero_test_data): New variable.
16892 (sqrt_test_towardzero): New function.
16893 (sqrt_downward_test_data): New variable.
16894 (sqrt_test_downward): New function.
16895 (sqrt_upward_test_data): New variable.
16896 (sqrt_test_upward): New function.
16897 (main): Call the new functions.
16898
ffb536d0
JM
16899 * math/gen-auto-libm-tests.c: New file.
16900 * math/auto-libm-test-in: Likewise.
16901 * math/auto-libm-test-out: New generated file.
16902 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
16903 variables.
16904 (%beautify): Add generated representations of zero.
16905 (top level): Set $auto_input and call parse_auto_input.
16906 (beautify): Remove trailing "f" from hex float constants.
16907 (parse_args): Handle XFAIL_TEST.
16908 (convert_condition): New function.
16909 (or_value): Likewise.
16910 (or_cond_value): Likewise.
16911 (generate_testfile): Handle AUTO_TESTS_* lines.
16912 (parse_auto_input): New function.
16913 * math/libm-test.inc (XFAIL_TEST): New macro.
16914 (ERRNO_UNCHANGED): Update value.
16915 (ERRNO_EDOM): Likewise.
16916 (ERRNO_ERANGE): Likewise.
16917 (IGNORE_RESULT): Likewise.
16918 (TEST_COND_flt_32): New macro.
16919 (TEST_COND_dbl_64): Likewise.
16920 (TEST_COND_ldbl_96_intel): Likewise.
16921 (TEST_COND_ldbl_96_m68k): Likewise.
16922 (TEST_COND_ldbl_128): Likewise.
16923 (TEST_COND_ldbl_128ibm): Likewise.
16924 (TEST_COND_long32): Likewise.
16925 (TEST_COND_long64): Likewise.
16926 (TEST_COND_before_rounding): Likewise.
16927 (TEST_COND_after_rounding): Likewise.
16928 (enable_test): Handle XFAIL_TEST flag.
16929 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
16930 with finite results.
16931 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
16932 auto-libm-test-out.
16933
acd98a8e
AK
169342013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16935 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16936
16937 [BZ #16214]
16938 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
16939 __tls_get_addr_internal instead of __tls_get_offset in order to
16940 avoid GOT pointer dependency. Make rtld export
16941 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
16942 __tls_get_addr since we are a __tls_get_offset platform.
16943 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
16944 GOT pointer being set up before.
16945 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
16946
3c1c46a6
JM
169472013-11-28 Joseph Myers <joseph@codesourcery.com>
16948
7475aef5
JM
16949 * manual/math.texi (Errors in Math Functions): Document accuracy
16950 goals.
16951
8bca7cd8
JM
16952 [BZ #15004]
16953 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
16954 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
16955 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
16956 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16957 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16958 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16959 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16960 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
16961 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
16962 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16963 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16964 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16965 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16966 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16967 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16968 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
16969
91a1f3fe
JM
16970 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
16971 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
16972 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
16973 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
16974 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
16975 Likewise.
16976 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
16977 Likewise.
16978 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
16979 Likewise.
16980 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
16981 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
16982 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
16983 atomic-feupdateenv and flt-rounds.
16984 * sysdeps/powerpc/nofpu/Versions (libc): Add
16985 __atomic_feholdexcept, __atomic_feclearexcept,
16986 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
16987 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
16988 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
16989 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
16990 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
16991 here.
16992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
16993 Update.
16994
c5df7609
JM
16995 * manual/arith.texi (FP Exceptions): Document that exceptions may
16996 not be raised when matherr is used.
16997 (Math Error Reporting): Document overflow in directed rounding
16998 modes. Document that errno may not be set when finite values are
16999 returned on overflow. Document intent to set errno on underflow
17000 only for underflow to zero.
17001
3c1c46a6
JM
17002 [BZ #16271]
17003 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
17004 round-to-nearest then adjust result for other rounding modes.
17005 * include/fenv.h (fegetround): Use libm_hidden_proto.
17006 * math/fegetround.c (fegetround): Use libm_hidden_def.
17007 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
17008 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
17009 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17010 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
17011 Likewise.
17012 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
17013 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17014 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
17015 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
17016
5a4c6d53
SP
170172013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17018
17019 [BZ #16077]
17020 * nss/Versions (libnss_files): Add
17021 _nss_files_gethostbyname3_r.
17022 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
17023 New function.
17024 (HOST_DB_LOOKUP): Remove macro.
17025 (_nss_files_gethostbyname_r): Implement function without the
17026 HOST_DB_LOOKUP macro.
17027 (_nss_files_gethostbyname2_r): Likewise.
17028
897b98ba
OB
170292013-11-28 Ondřej Bílka <neleai@seznam.cz>
17030
17031 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
17032
6f476861
UB
170332013-11-26 Uros Bizjak <ubizjak@gmail.com>
17034
17035 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
17036 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
17037 warning.
17038
bd12ab55
AZ
170392013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17040
17041 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
17042 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
17043 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17044 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17045 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
17046 __fe_nomask_env_priv and attribute_hidden.
17047 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
17048 (libc_feupdateenv_test_ppc): Likewise.
17049 (libc_feresetround_ppc): Likewise.
17050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17051 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
17052 compat_symbol macro.
17053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17054 (__fe_nomask_env): Likewise.
17055 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
17056
52bb6543
OB
170572013-11-26 Ondřej Bílka <neleai@seznam.cz>
17058
17059 * string/Makefile: Remove ifunc tests.
17060 * string/test-string.h: Define TEST_IFUNC.
17061 * string/test-bcopy-ifunc.c: Remove.
17062 * string/test-bzero-ifunc.c: Likewise.
17063 * string/test-memccpy-ifunc.c: Likewise.
17064 * string/test-memchr-ifunc.c: Likewise.
17065 * string/test-memcmp-ifunc.c: Likewise.
17066 * string/test-memcpy-ifunc.c: Likewise.
17067 * string/test-memmem-ifunc.c: Likewise.
17068 * string/test-memmove-ifunc.c: Likewise.
17069 * string/test-mempcpy-ifunc.c: Likewise.
17070 * string/test-memrchr-ifunc.c: Likewise.
17071 * string/test-memset-ifunc.c: Likewise.
17072 * string/test-rawmemchr-ifunc.c: Likewise.
17073 * string/test-stpcpy-ifunc.c: Likewise.
17074 * string/test-stpncpy-ifunc.c: Likewise.
17075 * string/test-strcasecmp-ifunc.c: Likewise.
17076 * string/test-strcasestr-ifunc.c: Likewise.
17077 * string/test-strcat-ifunc.c: Likewise.
17078 * string/test-strchr-ifunc.c: Likewise.
17079 * string/test-strchrnul-ifunc.c: Likewise.
17080 * string/test-strcmp-ifunc.c: Likewise.
17081 * string/test-strcpy-ifunc.c: Likewise.
17082 * string/test-strcspn-ifunc.c: Likewise.
17083 * string/test-strlen-ifunc.c: Likewise.
17084 * string/test-strncasecmp-ifunc.c: Likewise.
17085 * string/test-strncat-ifunc.c: Likewise.
17086 * string/test-strncmp-ifunc.c: Likewise.
17087 * string/test-strncpy-ifunc.c: Likewise.
17088 * string/test-strnlen-ifunc.c: Likewise.
17089 * string/test-strpbrk-ifunc.c: Likewise.
17090 * string/test-strrchr-ifunc.c: Likewise.
17091 * string/test-strspn-ifunc.c: Likewise.
17092 * string/test-strstr-ifunc.c: Likewise.
17093
ab260039 170942013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
17095
17096 * benchtests/Makefile: Remove ifunc tests.
17097 * benchtests/bench-string.h: Define TEST_IFUNC.
17098 * benchtests/bench-bcopy-ifunc.c: Remove.
17099 * benchtests/bench-bzero-ifunc.c: Likewise.
17100 * benchtests/bench-memccpy-ifunc.c: Likewise.
17101 * benchtests/bench-memchr-ifunc.c: Likewise.
17102 * benchtests/bench-memcmp-ifunc.c: Likewise.
17103 * benchtests/bench-memcpy-ifunc.c: Likewise.
17104 * benchtests/bench-memmem-ifunc.c: Likewise.
17105 * benchtests/bench-memmove-ifunc.c: Likewise.
17106 * benchtests/bench-mempcpy-ifunc.c: Likewise.
17107 * benchtests/bench-memrchr-ifunc.c: Likewise.
17108 * benchtests/bench-memset-ifunc.c: Likewise.
17109 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
17110 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
17111 * benchtests/bench-stpcpy-ifunc.c: Likewise.
17112 * benchtests/bench-stpncpy-ifunc.c: Likewise.
17113 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
17114 * benchtests/bench-strcasestr-ifunc.c: Likewise.
17115 * benchtests/bench-strcat-ifunc.c: Likewise.
17116 * benchtests/bench-strchr-ifunc.c: Likewise.
17117 * benchtests/bench-strchrnul-ifunc.c: Likewise.
17118 * benchtests/bench-strcmp-ifunc.c: Likewise.
17119 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
17120 * benchtests/bench-strcpy-ifunc.c: Likewise.
17121 * benchtests/bench-strcspn-ifunc.c: Likewise.
17122 * benchtests/bench-strlen-ifunc.c: Likewise.
17123 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
17124 * benchtests/bench-strncat-ifunc.c: Likewise.
17125 * benchtests/bench-strncmp-ifunc.c: Likewise.
17126 * benchtests/bench-strncpy-ifunc.c: Likewise.
17127 * benchtests/bench-strnlen-ifunc.c: Likewise.
17128 * benchtests/bench-strpbrk-ifunc.c: Likewise.
17129 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 17130 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
17131 * benchtests/bench-strspn-ifunc.c: Likewise.
17132 * benchtests/bench-strstr-ifunc.c: Likewise.
17133
171342013-11-26 Ondřej Bílka <neleai@seznam.cz>
17135
ab260039
OB
17136 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
17137
d1d9eaf4 171382013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 17139
d1d9eaf4
OB
17140 * resolv/netdb.h: Use __glibc_reserved instead __unused.
17141 * rt/aio.h: Likewise.
17142 * sysdeps/gnu/bits/utmp.h: Likewise.
17143 * sysdeps/gnu/bits/utmpx.h: Likewise.
17144 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
17145 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
17146 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
17147 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
17148 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
17149 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
17150 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
17151 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
17152 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
17153 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
17154 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
17155 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
17156 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
17157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
17158 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17159 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
17160 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
17161 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
17162 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
17163 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
17164 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
17165 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
17166 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
17167 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17168 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
17169 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17170 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
17171 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
17172 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
17173 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
17174 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
17175 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
17176 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
17177 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17178 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
17179 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
17180 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
17181 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
17182 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
17183 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
17184 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
17185 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17186
a7624ed9
CD
171872013-11-25 Carlos O'Donell <carlos@redhat.com>
17188
17189 [BZ #16245]
17190 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
17191 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
17192
63cfe52b
JM
171932013-11-25 Joseph Myers <joseph@codesourcery.com>
17194
17195 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
17196 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17197 Likewise.
17198
41e8926a
AZ
171992013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17200
17201 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
17202 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
17203 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
17204 (__fesetround): Remove define.
17205 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
17206 rounding and exceptions handling.
17207 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
17208 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
17209 (__fe_nomask_env): Likewise.
17210 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
17211 __fegetround instead of fegetround.
17212 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17213 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
17214
6851bd4d
RM
172152013-11-21 Roland McGrath <roland@hack.frob.com>
17216
070906ff
RM
17217 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
17218 it's there.
17219
6851bd4d
RM
17220 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
17221
84ae135d
MI
172222013-11-21 Meador Inge <meadori@codesourcery.com>
17223
17224 [BZ #11157]
17225 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
17226 (encrypt_r): Likewise.
17227 * malloc/obstack.h (obstack_free): Likewise.
17228 * posix/unistd.h (encrypt): Likewise.
17229
daf75146
GM
172302013-11-21 Guy Martin <gmsoft@tuxicoman.be>
17231
17232 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
17233 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
17234 DL_CALL_DT_FINI() that call the functions directly.
17235 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
17236 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
17237 * elf/dl-fini.c: Likewise.
17238
10ad46bc
OB
172392013-11-20 Ondřej Bílka <neleai@seznam.cz>
17240
17241 * malloc/hooks.c (memalign_check): Add alignment rounding.
17242 * malloc/malloc.c (_mid_memalign): New function.
17243 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
17244 Implement by calling _mid_memalign.
17245 * manual/probes.texi (Memory Allocation Probes): Remove
17246 memory_valloc_retry and memory_pvalloc_retry.
17247
f3fd2628
SP
172482013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17249
4712799f
SP
17250 * locale/programs/locarchive.c (open_archive): Add const
17251 qualifier to ARCHIVEFNAME and copy default fname to
17252 DEFAULT_FNAME.
17253
0417b20f
SP
17254 [BZ #15601]
17255 * libio/tst-widetext.input: Rename Oriya to Odia.
17256 * locale/iso-639.def: Likewise.
17257
f3fd2628
SP
17258 * manual/probes.texi (Mathematical Function Probes): Add
17259 documentation for sin, cos, asin and acos probes.
17260 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
17261 (__sin32): Add slowasin probe.
17262 (__cos32): Add slowacos probe.
17263 (__mpsin): Add slowsin probe.
17264 (__mpcos): Add slowcos probe.
17265
73c1ce4f
JM
172662013-11-19 Joseph Myers <joseph@codesourcery.com>
17267
17268 [BZ #15483]
17269 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
17270 thread-local __sim_exceptions_thread and global
17271 __sim_exceptions_global.
17272 (__sim_disabled_exceptions): Change to thread-local
17273 __sim_disabled_exceptions_thread and global
17274 __sim_disabled_exceptions_global.
17275 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17276 and global __sim_round_mode_global.
17277 (__simulate_exceptions): Use thread-local floating-point state and
17278 set global state from it as needed.
17279 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
17280 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
17281 __sim_round_mode_thread.
17282 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
17283 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
17284 and global __sim_exceptions_global.
17285 (__sim_disabled_exceptions): Change to thread-local
17286 __sim_disabled_exceptions_thread and global
17287 __sim_disabled_exceptions_global.
17288 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17289 and global __sim_round_mode_global.
17290 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
17291 (SIM_SET_GLOBAL): Likewise.
17292 * sysdeps/powerpc/soft-fp/sfp-machine.h
17293 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
17294 __sim_round_mode_thread.
17295 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
17296 __sim_disabled_exceptions_thread.
17297 (__sim_exceptions): Change to __sim_exceptions_thread.
17298 (__sim_disabled_exceptions): Change to
17299 __sim_disabled_exceptions_thread.
17300 (__sim_round_mode): Change to __sim_round_mode_thread.
17301 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
17302 thread-local floating-point state and set global state from it as
17303 needed.
17304 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
17305 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
17306 (__sim_disabled_exceptions): Remove extern declaration.
17307 (feenableexcept): Use thread-local floating-point state and set
17308 global state from it as needed.
17309 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
17310 extern declaration.
17311 (__sim_disabled_exceptions): Likewise.
17312 (__sim_round_mode): Likewise.
17313 (__fegetenv): Use thread-local floating-point state.
17314 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
17315 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17316 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
17317 floating-point state and set global state from it as needed.
17318 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
17319 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17320 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
17321 Likewise.
17322 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
17323 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
17324 Likewise.
17325 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
17326 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
17327 Use __sim_round_mode_thread.
17328 * math/test-fenv-tls.c: New file.
17329 * math/Makefile (tests): Add test-fenv-tls.
17330 ($(objpfx)test-fenv-tls): Depend on
17331 $(common-objpfx)nptl/libpthread.so.
17332
b5449b12
AS
173332013-11-19 Andreas Schwab <schwab@suse.de>
17334
17335 * locale/programs/locale.c (show_info): Decode wordarray elements.
17336 * locale/categories.def (LC_MONETARY): Add element for
17337 _NL_MONETARY_CRNCYSTR.
17338 * locale/C-monetary.c (conversion_rate): New variable.
17339 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
17340 element.
17341
e186536b
CM
173422013-11-18 Chris Metcalf <cmetcalf@tilera.com>
17343
17344 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
17345 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
17346
5c349950
PP
173472013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
17348
17349 * elf/Makefile (tst-auxv): New test.
17350 * elf/tst-auxv.c: New
17351 * elf/rtld.c (dl_main): Adjust AT_EXECFN
17352
699df45b
JM
173532013-11-18 Joseph Myers <joseph@codesourcery.com>
17354
17355 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
17356 (hidden_proto): Caller changed.
17357 (hidden_tls_proto): New macro.
17358 (libc_hidden_tls_proto): Likewise.
17359 (rtld_hidden_tls_proto): Likewise.
17360 (libm_hidden_tls_proto): Likewise.
17361 (libresolv_hidden_tls_proto): Likewise.
17362 (librt_hidden_tls_proto): Likewise.
17363 (libdl_hidden_tls_proto): Likewise.
17364 (libnss_files_hidden_tls_proto): Likewise.
17365 (libnsl_hidden_tls_proto): Likewise.
17366 (libnss_nisplus_hidden_tls_proto): Likewise.
17367 (libutil_hidden_tls_proto): Likewise.
17368
b7589107
OB
173692013-11-18 Ondřej Bílka <neleai@seznam.cz>
17370
17371 [BZ #10253]
17372 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
17373 (decompose_rpath): Defer expansion to fillin_rpath.
17374 (_dl_init_paths): Pass linkmap to fillin_rpath.
17375
250c23bd
RS
173762013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17377
17378 * benchtests/Makefile: Add strsep.
17379 * benchtests/bench-strsep.c: New file: strsep benchtest.
17380 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
17381
a7931fcf
AS
173822013-11-18 Andreas Schwab <schwab@suse.de>
17383
17384 * locale/programs/locale.c (show_info) [case byte]: Check for
17385 '\377' instead of '\177'.
17386 * locale/C-monetary.c (not_available): Always use "\377".
17387 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
17388 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
17389 detect unavailable sign_posn locale elements.
17390 * locale/localeconv.c (__localeconv): For grouping and
17391 mon_grouping handle "\177" and "\377" like no grouping.
17392 (INT_ELEM): New macro. Use it to set all numeric members.
17393 * locale/programs/ld-monetary.c (monetary_read)
17394 <tok_mon_grouping>: Normalize single -1 to the empty string.
17395 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
17396 Likewise.
17397
728dab0e
OB
173982013-11-07 Ondřej Bílka <neleai@seznam.cz>
17399
17400 [BZ #16055]
17401 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
17402 when we match (nil).
17403 * stdio-common/tst-sscanf.c (struct test): Add testcase.
17404
66294491
JM
174052013-11-16 Joseph Myers <joseph@codesourcery.com>
17406
ce665817
JM
17407 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
17408 (NO_TEST_INLINE): Update value.
17409 (ERRNO_UNCHANGED): Likewise.
17410 (ERRNO_EDOM): Likewise.
17411 (ERRNO_ERANGE): Likewise.
17412 (IGNORE_RESULT): Likewise.
17413 (check_float_internal): Check signs of NaN results if
17414 TEST_NAN_SIGN used.
17415 (check_complex): Pass TEST_NAN_SIGN flag through to second
17416 check_float_internal call.
17417 (copysign_test_data): Add tests with quiet NaNs as second
17418 argument. Use TEST_NAN_SIGN.
17419 (fabs_test_data): Add test of negative quiet NaN argument. Use
17420 TEST_NAN_SIGN.
17421 (signbit_test_data): Add tests of quiet NaN argument.
17422 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
17423
ee1466a9
JM
17424 * math/gen-libm-test.pl (show_exceptions): Take extra argument
17425 $ignore_result.
17426 (parse_args): Handle function results specified as IGNORE.
17427 * math/libm-test.inc (IGNORE_RESULT): New macro.
17428 (check_float_internal): Do not check numerical result if flag
17429 IGNORE_RESULT set.
17430 (check_complex): Pass through IGNORE_RESULT to second
17431 check_float_internal call.
17432 (check_int): Do not check numerical result if flag IGNORE_RESULT
17433 set.
17434 (check_long): Likewise.
17435 (check_bool): Likewise.
17436 (check_longlong): Likewise.
17437 (lrint_test_data): Add tests of infinite and NaN arguments.
17438 (lrint_tonearest_test_data): Likewise.
17439 (lrint_towardzero_test_data): Likewise.
17440 (lrint_downward_test_data): Likewise.
17441 (lrint_upward_test_data): Likewise.
17442 (llrint_test_data): Likewise.
17443 (llrint_tonearest_test_data): Likewise.
17444 (llrint_towardzero_test_data): Likewise.
17445 (llrint_downward_test_data): Likewise.
17446 (llrint_upward_test_data): Likewise.
17447 (lround_test_data): Likewise.
17448 (llround_test_data): Likewise.
17449
14407b7e
JM
17450 * math/libm-test.inc (NO_TEST_INLINE): New macro.
17451 (ERRNO_UNCHANGED): Update value.
17452 (ERRNO_EDOM): Likewise.
17453 (ERRNO_ERANGE): Likewise.
17454 (NO_TEST_INLINE_FLOAT): New macro.
17455 (NO_TEST_INLINE_DOUBLE): Likewise.
17456 (enable_test): New function.
17457 (RUN_TEST_f_f): Check enable_test before running test.
17458 (RUN_TEST_2_f): Likewise.
17459 (RUN_TEST_fff_f): Likewise.
17460 (RUN_TEST_c_f): Likewise.
17461 (RUN_TEST_f_f1): Likewise.
17462 (RUN_TEST_fF_f1): Likewise.
17463 (RUN_TEST_fI_f1): Likewise.
17464 (RUN_TEST_ffI_f1): Likewise.
17465 (RUN_TEST_c_c): Likewise.
17466 (RUN_TEST_cc_c): Likewise.
17467 (RUN_TEST_f_i): Likewise.
17468 (RUN_TEST_f_i_tg): Likewise.
17469 (RUN_TEST_ff_i_tg): Likewise.
17470 (RUN_TEST_f_b): Likewise.
17471 (RUN_TEST_f_b_tg): Likewise.
17472 (RUN_TEST_f_l): Likewise.
17473 (RUN_TEST_f_L): Likewise.
17474 (RUN_TEST_fFF_11): Likewise.
17475 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
17476 conditionals.
17477 (cosh_test_data): Likewise.
17478 (exp_test_data): Likewise.
17479 (expm1_test_data): Likewise.
17480 (hypot_test_data): Likewise.
17481 (pow_test_data): Likewise.
17482 (sinh_test_data): Likewise.
17483 (tanh_test_data): Likewise.
17484 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
17485 flags argument.
17486
ca07f197
JM
17487 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
17488 tests with quiet NaN input and output.
17489 (acosh_test_data): Likewise.
17490 (asin_test_data): Likewise.
17491 (asinh_test_data): Likewise.
17492 (atan_test_data): Likewise.
17493 (atanh_test_data): Likewise.
17494 (atan2_test_data): Likewise.
17495 (cbrt_test_data): Likewise.
17496 (cos_test_data): Likewise.
17497 (cosh_test_data): Likewise.
17498 (erf_test_data): Likewise.
17499 (erfc_test_data): Likewise.
17500 (exp_test_data): Likewise.
17501 (exp10_test_data): Likewise.
17502 (exp2_test_data): Likewise.
17503 (expm1_test_data): Likewise.
17504 (hypot_test_data): Likewise.
17505 (j0_test_data): Likewise.
17506 (j1_test_data): Likewise.
17507 (jn_test_data): Likewise.
17508 (lgamma_test_data): Likewise.
17509 (log_test_data): Likewise.
17510 (log10_test_data): Likewise.
17511 (log1p_test_data): Likewise.
17512 (log2_test_data): Likewise.
17513 (pow_test_data): Likewise.
17514 (scalb_test_data): Likewise.
17515 (sin_test_data): Likewise.
17516 (sincos_test_data): Likewise.
17517 (sinh_test_data): Likewise.
17518 (tan_test_data): Likewise.
17519 (tanh_test_data): Likewise.
17520 (tgamma_test_data): Likewise.
17521 (y0_test_data): Likewise.
17522 (y1_test_data): Likewise.
17523 (yn_test_data): Likewise.
17524
66294491
JM
17525 [BZ #16167]
17526 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
17527 argument being NaN and avoid computations with second argument in
17528 that case.
17529 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17530 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17531 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17532
1820b143
CL
175332013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
17534
17535 * locale/iso-639.def: Add Chitwani Tharu (the).
17536
714bd261
AS
175372013-11-14 Andreas Schwab <schwab@suse.de>
17538
17539 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
17540 word instead of empty string.
17541
7ab44563
AZ
175422013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17543
17544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17545 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
17546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17547 (__fe_nomask_env): Likewise.
17548
e8470ea2
SE
175492013-11-13 Steve Ellcey <sellcey@mips.com>
17550
17551 * benchtests/bench-timing.h: Include time.h.
17552
17c1d9f0
L
175532013-11-13 H.J. Lu <hongjiu.lu@intel.com>
17554
17555 [BZ #15997]
17556 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
17557 to 3.4.0 for x32.
17558 * sysdeps/unix/sysv/linux/configure: Regenerated.
17559
9310c284
JM
175602013-11-13 Joseph Myers <joseph@codesourcery.com>
17561
17562 [BZ #16151]
17563 * stdlib/strtod_l.c (round_and_return): Do not consider
17564 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
17565 exponent one less than half the least subnormal exponent.
17566 * stdlib/test-strtod-round-data: Add more tests.
17567 * stdlib/tst-strtod-round.c (tests): Regenerated.
17568
7a2ad8cf
AZ
175692013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17570
17571 [BZ #14143]
17572 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
17573 (__fe_mask_env): Likewise.
17574 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
17575 libm_hidden_proto and add function prototype.
17576 (__fe_mask_env): Add function prototype.
17577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17578 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
17579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17580 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
17581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17582 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
17583
50727aa7
MS
175842013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17585
b2f386c1 17586 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
17587 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
17588
a615be46
MS
175892013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17590
17591 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
17592 of htab_find_slot().
17593
7ddace62
DM
175942013-11-11 David S. Miller <davem@davemloft.net>
17595
17596 [BZ #16150]
17597 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
17598 symbol in the non-vis3 case in static builds.
17599 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
17600 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
17601 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
17602 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
17603
9182aa67
JK
176042013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17605
17606 [BZ #387]
17607 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
17608 it is empty.
17609
450a2e2d
AZ
176102013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17611
b2f386c1
SP
17612 * benchtests/Makefile: Add bench-strtod.
17613 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 17614
8ec3f656
AS
176152013-11-11 Andreas Schwab <schwab@suse.de>
17616
17617 [BZ #16153]
17618 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
17619 terminating NUL in key length.
17620
76a9b998
AZ
176212013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17622
17623 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17624 Add artificial ODP entry for vDSO symbol for PPC64.
17625 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
17626 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17627
e4368156
OB
176282013-11-07 Ondřej Bílka <neleai@seznam.cz>
17629
17630 [BZ #15374]
17631 * nss/getent.c (services_keys): Recognize services starting with digit.
17632
8d6bb57c
DM
176332013-11-06 David S. Miller <davem@davemloft.net>
17634
17635 [BZ #15985]
17636 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
17637 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
17638
e256c421
WN
176392013-11-06 Will Newton <will.newton@linaro.org>
17640
17641 * manual/memory.texi (Malloc Examples): Remove register
17642 keyword from examples.
17643
f6e12daa 176442013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 17645
f6e12daa 17646 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 17647
9d880655
AS
176482013-11-04 Joseph Myers <joseph@codesourcery.com>
17649
fd2f9486 17650 [BZ #6981]
9d880655
AS
17651 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
17652 depending on [__GCC_IEC_559 > 0].
17653 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
17654 depending on [__GCC_IEC_559_COMPLEX > 0].
17655
ae129d3c
CL
176562013-11-03 Chris Leonard <cjl@sugarlabs.org>
17657
17658 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
17659 to iso-639.def.
17660
4a15c2a4 176612013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
17662
17663 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
17664
8b35e35d
OB
176652013-11-01 Ondřej Bílka <neleai@seznam.cz>
17666
17667 [BZ #16112]
17668 * malloc/malloc (malloc_info): Do not handle first bin as
17669 special case.
17670
1d70fd6c
CL
176712013-11-01 Chris Leonard <cjl@sugarlabs.org>
17672
17673 * locale/iso-639.def: Add Central Nahuatl (nhn).
17674
8c5c2600
BH
176752013-11-01 Bruno Haible <bruno@clisp.org>
17676
17677 [BZ #7003]
17678 * manual/math.texi (BSD Random): Specify range upper bound as
17679 in POSIX.
17680
da5579c2
CL
176812013-10-31 Chris Leonard <cjl@sugarlabs.org>
17682
17683 * locale/iso-639.def: Add Meadow Mari (mhr).
17684
5d30d853
OB
176852013-10-31 Ondřej Bílka <neleai@seznam.cz>
17686
17687 [BZ #14752], [BZ #15763]
17688 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
17689 Validate name.
17690 * rt/tst_shm.c: Add test for escaping directory.
17691
a4966c61
AS
176922013-10-31 Andreas Schwab <schwab@suse.de>
17693
8a43e768 17694 [BZ #15917]
a4966c61
AS
17695 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
17696 followed by 'x' as part of digit sequence.
17697 * stdio-common/tst-sscanf.c (double_tests2): New tests.
17698
28d708c4
MAP
176992013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
17700
17701 [BZ #16037]
17702 * configure.ac: allow GNU Make 4.0 and greater.
17703 * configure: Regenerated.
17704
a56ee40b
WN
177052013-10-30 Will Newton <will.newton@linaro.org>
17706
17707 [BZ #16038]
17708 * malloc/hooks.c (memalign_check): Limit alignment to the
17709 maximum representable power of two.
17710 * malloc/malloc.c (__libc_memalign): Likewise.
17711 * malloc/tst-memalign.c (do_test): Add test for very
17712 large alignment values.
17713 * malloc/tst-posix_memalign.c (do_test): Likewise.
17714
c6e4925d
OB
177152013-10-30 Ondřej Bílka <neleai@seznam.cz>
17716
17717 [BZ #11087]
17718 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17719 (munmap_chunk): Likewise.
17720 (mremap_chunk): Likewise.
17721
177222013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 17723
8a43e768 17724 [BZ #15799]
bbea82f7
OB
17725 * stdlib/div.c (div): Remove obsolete code.
17726 * stdlib/ldiv.c (ldiv): Likewise.
17727 * stdlib/lldiv.c (lldiv): Likewise.
17728
977f4b31
SP
177292013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17730
17731 [BZ #16071]
17732 * nss/nss_files/files-XXX.c (get_contents_ret): New
17733 enumerator.
17734 (get_contents): New function.
17735 (internal_getent): Use it. Expand size of LINEBUFLEN.
17736
cb8a6dbd
MF
177372013-10-30 Mike Frysinger <vapier@gentoo.org>
17738
17739 * configure.in: Moved to ...
17740 * configure.ac: ... here. Change reference to configure.in
17741 to configure.ac.
17742 * sysdeps/arm/preconfigure.ac: ... here.
17743 configure.in to configure.ac.
17744 * sysdeps/gnu/configure.in: Moved to ...
17745 * sysdeps/gnu/configure.ac: ... here.
17746 * sysdeps/i386/configure.in: Moved to ...
17747 * sysdeps/i386/configure.ac: ... here.
17748 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17749 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17750 * sysdeps/mach/configure.in: Moved to ...
17751 * sysdeps/mach/configure.ac: ... here.
17752 * sysdeps/mach/hurd/configure.in: Moved to ...
17753 * sysdeps/mach/hurd/configure.ac: ... here.
17754 * sysdeps/powerpc/configure.in: Moved to ...
17755 * sysdeps/powerpc/configure.ac: ... here.
17756 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17757 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17758 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17759 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17760 * sysdeps/s390/s390-32/configure.in: Moved to ...
17761 * sysdeps/s390/s390-32/configure.ac: ... here.
17762 * sysdeps/s390/s390-64/configure.in: Moved to ...
17763 * sysdeps/s390/s390-64/configure.ac: ... here.
17764 * sysdeps/sh/configure.in: Moved to ...
17765 * sysdeps/sh/configure.ac: ... here.
17766 * sysdeps/sparc/configure.in: Moved to ...
17767 * sysdeps/sparc/configure.ac: ... here.
17768 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17769 * sysdeps/unix/sysv/linux/configure.ac: ... here.
17770 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17771 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17772 * sysdeps/x86_64/configure.in: Moved to ...
17773 * sysdeps/x86_64/configure.ac: ... here.
17774 * sysdeps/x86_64/preconfigure.in: Moved to ...
17775 * sysdeps/x86_64/preconfigure.ac: ... here.
17776 * aclocal.m4: Change reference to configure.in to configure.ac.
17777 * config.h.in: Likewise.
17778 * manual/install.texi: Likewise.
17779 * manual/maint.texi: Likewise.
17780 * Makefile: Likewise.
17781 * malloc/Makefile: Likewise.
17782 * nscd/Makefile: Likewise.
17783 * Makeconfig: Change reference to configure.in and
17784 preconfigure.in to configure.ac and preconfigure.ac
17785 respectively.
17786 * INSTALL: Regenerated.
17787 * configure: Likewise.
17788 * sysdeps/gnu/configure: Likewise.
17789 * sysdeps/i386/configure: Likewise.
17790 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17791 * sysdeps/mach/configure: Likewise.
17792 * sysdeps/mach/hurd/configure: Likewise.
17793 * sysdeps/powerpc/configure: Likewise.
17794 * sysdeps/powerpc/powerpc32/configure: Likewise.
17795 * sysdeps/powerpc/powerpc64/configure: Likewise.
17796 * sysdeps/s390/s390-32/configure: Likewise.
17797 * sysdeps/s390/s390-64/configure: Likewise.
17798 * sysdeps/sh/configure: Likewise.
17799 * sysdeps/sparc/configure: Likewise.
17800 * sysdeps/unix/sysv/linux/configure: Likewise.
17801 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17802 * sysdeps/x86_64/configure: Likewise.
17803 * sysdeps/x86_64/preconfigure: Likewise.
17804
36a4953a
AS
178052013-10-29 Andreas Schwab <schwab@suse.de>
17806
17807 * stdio-common/Makefile (tst-swscanf-ENV): Define.
17808
c79a1204
SP
178092013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17810
dfa1b402
SP
17811 * benchtests/pow-inputs: Add new inputs.
17812
54f73d9c
SP
17813 * benchtests/exp-inputs: Add new inputs.
17814
c79a1204
SP
17815 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
17816 conditional check for return value.
17817 (__cos32): Likewise.
17818
67beb545 178192013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
17820
17821 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
17822 to provide a boost for large inputs with word alignment.
17823 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
17824 implementation based on optimized PPC64 strcpy.
17825 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
17826 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
17827 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
17828 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
17829
151659f6
OB
178302013-10-25 Ondřej Bílka <neleai@seznam.cz>
17831
482a077e 17832 [BZ #2801]
151659f6
OB
17833 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
17834
10b0f26b
OB
178352013-10-25 Ondřej Bílka <neleai@seznam.cz>
17836
17837 [BZ #14876]
17838 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
17839 * time/tst-strptime.c (day_tests): Add testcase.
17840
ca42d35e
OB
178412013-10-25 Ondřej Bílka <neleai@seznam.cz>
17842
482a077e 17843 [BZ #14029]
ca42d35e
OB
17844 * manual/pattern.texi: Acknowledge that fnmatch can fail.
17845
52e6d801
FB
178462013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
17847
17848 [BZ #16074]
17849 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
17850 MAP_FAILED on error.
17851
7cbcdb36
SP
178522013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17853
17854 [BZ #16072]
17855 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
17856 heap for large requests.
17857
894f3f10
AM
178582013-10-25 Aurelien Jarno <aurelien@aurel32.net>
17859
17860 [BZ #9954]
17861 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
17862 result if the result has no associated interface.
17863 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
17864 interface for all 127.X.Y.Z addresses.
17865
b85545a6
CL
178662013-10-24 Chris Leonard <cjl@sugarlabs.org>
17867
17868 * locale/iso-639.def: Add Ligurian (lij)
17869
d1f23d46
OB
178702013-10-21 Ondřej Bílka <neleai@seznam.cz>
17871
17872 [BZ #15825]
17873 * sunrpc/rpc_main.c: Document rpcgen -5.
17874
4db5b08f
MS
178752013-10-19 Michael Stahl <mstahl@redhat.com>
17876
17877 * elf/rtld.c (do_preload): Print the reason why preloading failed.
17878
a471e96a
OB
178792013-10-19 Ondřej Bílka <neleai@seznam.cz>
17880
d1f23d46 17881 [BZ #10278]
a471e96a
OB
17882 * posix/glob.c: Match only directories when trailing slash is present.
17883 * posix/tst-gnuglob.c (my_opendir): Do not open files.
17884 (main): Add testcase.
17885
45c30c61
OB
178862013-10-19 Ondřej Bílka <neleai@seznam.cz>
17887
17888 [BZ #15670]
17889 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
17890
484c12fb
CD
178912013-10-18 Carlos O'Donell <carlos@redhat.com>
17892
3d7dc513
CD
17893 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
17894 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
17895 AUTH_DES and cindex for FIPS 140-2.
17896 (DES Encryption): Add cindex FIPS 46-3.
17897
484c12fb
CD
17898 * locale/locarchive.h (struct locarhandle): Add fname.
17899 * locale/programs/localedef.c (main): Pass ARGV[remaining]
17900 if an optional argument was specified to --list-archive,
17901 otherwise NULL.
17902 * locale/programs/locarchive.c (show_archive_content): Take new
17903 argument fname and pass it via ah.fname to open_archive.
17904 * locale/programs/localedef.h: Update decl.
17905 (open_archive): If AH->fname is non-null, open that file
17906 rather than the default file name, and don't ignore ENOENT.
17907 (create_archive): Set AH.fname to NULL.
17908 (delete_locales_from_archive): Likewise.
17909 (add_locales_to_archive): Likewise.
17910 * locale/programs/locfile.c (write_all_categories): Likewise.
17911
3c8325fb
JM
179122013-10-18 Joseph Myers <joseph@codesourcery.com>
17913 Aldy Hernandez <aldyh@redhat.com>
17914
17915 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
17916 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
17917 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
17918 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
17919 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
17920 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
17921 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
17922 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
17923 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
17924 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
17925 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
17926 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
17927 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
17928 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
17929 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
17930 Likewise.
17931 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
17932 Likewise.
17933 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
17934 Likewise.
17935 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
17936 Likewise.
17937 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
17938 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
17939 Likewise.
17940 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
17941 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
17942 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
17943 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
17944 Likewise.
17945 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
17946 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
17947 * sysdeps/powerpc/preconfigure: Likewise.
17948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
17949 Likewise.
17950 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
17951 Replace contents of file by #include of <fenv_libc.h>.
17952 * sysdeps/powerpc/soft-fp/sfp-machine.h
17953 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
17954 and <sys/prctl.h>.
17955 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
17956 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
17957 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
17958 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
17959 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
17960 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
17961 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
17962 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
17963 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
17964 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
17965 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
17966 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
17967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17968 Allow copysignl PLT reference to be missing.
17969
5abe0682
RS
179702013-10-18 Richard Sandiford <richard@codesourcery.com>
17971 Joseph Myers <joseph@codesourcery.com
17972
17973 [BZ #15948]
17974 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
17975 single character.
17976 (add_to_tablewc): Assert sequence of wide characters is nonempty.
17977
c7738d08
SP
179782013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17979
17980 * elf/tst-tls-dlinfo.c: Don't include tls.h.
17981 * elf/tst-tls1.c: Likewise.
17982 * elf/tst-tls10.h: Likewise.
17983 * elf/tst-tls14.c: Likewise.
17984 * elf/tst-tls2.c: Likewise.
17985 * elf/tst-tls3.c: Likewise.
17986 * elf/tst-tls4.c: Likewise.
17987 * elf/tst-tls5.c: Likewise.
17988 * elf/tst-tls6.c: Likewise.
17989 * elf/tst-tls7.c: Likewise.
17990 * elf/tst-tls8.c: Likewise.
17991 * elf/tst-tls9.c: Likewise.
17992 * elf/tst-tlsmod1.c: Likewise.
17993 * elf/tst-tlsmod13.c: Likewise.
17994 * elf/tst-tlsmod13a.c: Likewise.
17995 * elf/tst-tlsmod14a.c: Likewise.
17996 * elf/tst-tlsmod16a.c: Likewise.
17997 * elf/tst-tlsmod16b.c: Likewise.
17998 * elf/tst-tlsmod2.c: Likewise.
17999 * elf/tst-tlsmod3.c: Likewise.
18000 * elf/tst-tlsmod4.c: Likewise.
18001 * elf/tst-tlsmod5.c: Likewise.
18002 * elf/tst-tlsmod6.c: Likewise.
18003
0bfcf2c7
OB
180042013-10-18 Ondřej Bílka <neleai@seznam.cz>
18005
18006 [BZ #12486]
18007 * malloc/malloc.c: remove checks for statistics.
18008
264aad1e
OB
180092013-10-17 Ondřej Bílka <neleai@seznam.cz>
18010
18011 [BZ #15277]
18012 * inet/inet_net.c (inet_network): Detect additional invalid strings.
18013 * inet/tst-network.c: Add testcase.
18014
b957ced8
AS
180152013-10-17 Andreas Schwab <schwab@suse.de>
18016
18017 [BZ #15218]
18018 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
18019 to determine canonical name.
18020
c5d5d574
OB
180212013-10-17 Ondřej Bílka <neleai@seznam.cz>
18022
18023 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
18024 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
18025 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18026 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18027 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18028 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18029 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18030 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18031 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18032 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18033 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18034 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18035 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18036 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18037 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18038 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18039 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18040 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18041 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18042 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18043 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18044 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18045 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18046 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
18047 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
18048 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18049 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18050 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
18051 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18052 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
18053 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18054 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18055 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18056 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18057 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18058 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18059 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18060 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18061 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18062 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18063 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18064 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18065 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18066 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18067 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18068 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18069 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18070 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18071 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18072 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18073 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18074 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18075 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18076 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18077 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18078 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18079 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18080 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18081
e5c2c2d0
JM
180822013-10-17 Joseph Myers <joseph@codesourcery.com>
18083
18084 [BZ #16041]
18085 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
18086 make result into a quiet NaN.
18087
51ca9e29
JM
180882013-10-16 Joseph Myers <joseph@codesourcery.com>
18089
18090 * soft-fp/adddf3.c: Fix horizontal whitespace.
18091 * soft-fp/addsf3.c: Likewise.
18092 * soft-fp/addtf3.c: Likewise.
18093 * soft-fp/divdf3.c: Likewise.
18094 * soft-fp/divsf3.c: Likewise.
18095 * soft-fp/divtf3.c: Likewise.
18096 * soft-fp/double.h: Likewise.
18097 * soft-fp/eqdf2.c: Likewise.
18098 * soft-fp/eqsf2.c: Likewise.
18099 * soft-fp/eqtf2.c: Likewise.
18100 * soft-fp/extenddftf2.c: Likewise.
18101 * soft-fp/extended.h: Likewise.
18102 * soft-fp/extendsfdf2.c: Likewise.
18103 * soft-fp/extendsftf2.c: Likewise.
18104 * soft-fp/extendxftf2.c: Likewise.
18105 * soft-fp/fixdfdi.c: Likewise.
18106 * soft-fp/fixdfsi.c: Likewise.
18107 * soft-fp/fixdfti.c: Likewise.
18108 * soft-fp/fixsfdi.c: Likewise.
18109 * soft-fp/fixsfsi.c: Likewise.
18110 * soft-fp/fixsfti.c: Likewise.
18111 * soft-fp/fixtfdi.c: Likewise.
18112 * soft-fp/fixtfsi.c: Likewise.
18113 * soft-fp/fixtfti.c: Likewise.
18114 * soft-fp/fixunsdfdi.c: Likewise.
18115 * soft-fp/fixunsdfsi.c: Likewise.
18116 * soft-fp/fixunsdfti.c: Likewise.
18117 * soft-fp/fixunssfdi.c: Likewise.
18118 * soft-fp/fixunssfsi.c: Likewise.
18119 * soft-fp/fixunssfti.c: Likewise.
18120 * soft-fp/fixunstfdi.c: Likewise.
18121 * soft-fp/fixunstfsi.c: Likewise.
18122 * soft-fp/fixunstfti.c: Likewise.
18123 * soft-fp/floatdidf.c: Likewise.
18124 * soft-fp/floatdisf.c: Likewise.
18125 * soft-fp/floatditf.c: Likewise.
18126 * soft-fp/floatsidf.c: Likewise.
18127 * soft-fp/floatsisf.c: Likewise.
18128 * soft-fp/floatsitf.c: Likewise.
18129 * soft-fp/floattidf.c: Likewise.
18130 * soft-fp/floattisf.c: Likewise.
18131 * soft-fp/floattitf.c: Likewise.
18132 * soft-fp/floatundidf.c: Likewise.
18133 * soft-fp/floatundisf.c: Likewise.
18134 * soft-fp/floatunditf.c: Likewise.
18135 * soft-fp/floatunsidf.c: Likewise.
18136 * soft-fp/floatunsisf.c: Likewise.
18137 * soft-fp/floatunsitf.c: Likewise.
18138 * soft-fp/floatuntidf.c: Likewise.
18139 * soft-fp/floatuntisf.c: Likewise.
18140 * soft-fp/floatuntitf.c: Likewise.
18141 * soft-fp/fmadf4.c: Likewise.
18142 * soft-fp/fmasf4.c: Likewise.
18143 * soft-fp/fmatf4.c: Likewise.
18144 * soft-fp/gedf2.c: Likewise.
18145 * soft-fp/gesf2.c: Likewise.
18146 * soft-fp/getf2.c: Likewise.
18147 * soft-fp/ledf2.c: Likewise.
18148 * soft-fp/lesf2.c: Likewise.
18149 * soft-fp/letf2.c: Likewise.
18150 * soft-fp/muldf3.c: Likewise.
18151 * soft-fp/mulsf3.c: Likewise.
18152 * soft-fp/multf3.c: Likewise.
18153 * soft-fp/negdf2.c: Likewise.
18154 * soft-fp/negsf2.c: Likewise.
18155 * soft-fp/negtf2.c: Likewise.
18156 * soft-fp/op-1.h: Likewise.
18157 * soft-fp/op-2.h: Likewise.
18158 * soft-fp/op-4.h: Likewise.
18159 * soft-fp/op-8.h: Likewise.
18160 * soft-fp/op-common.h: Likewise.
18161 * soft-fp/quad.h: Likewise.
18162 * soft-fp/single.h: Likewise.
18163 * soft-fp/soft-fp.h: Likewise.
18164 * soft-fp/sqrtdf2.c: Likewise.
18165 * soft-fp/sqrtsf2.c: Likewise.
18166 * soft-fp/sqrttf2.c: Likewise.
18167 * soft-fp/subdf3.c: Likewise.
18168 * soft-fp/subsf3.c: Likewise.
18169 * soft-fp/subtf3.c: Likewise.
18170 * soft-fp/truncdfsf2.c: Likewise.
18171 * soft-fp/trunctfdf2.c: Likewise.
18172 * soft-fp/trunctfsf2.c: Likewise.
18173 * soft-fp/trunctfxf2.c: Likewise.
18174 * soft-fp/unorddf2.c: Likewise.
18175 * soft-fp/unordsf2.c: Likewise.
18176 * soft-fp/unordtf2.c: Likewise.
18177
9ebb0332
JM
181782013-10-15 Joseph Myers <joseph@codesourcery.com>
18179
18180 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
18181 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
18182
4b1a6d8b
OB
181832013-10-15 Ondřej Bílka <neleai@seznam.cz>
18184
18185 * elf/dl-libc.c: Clear initfini list after freeing.
18186
1e145589
JM
181872013-10-14 Joseph Myers <joseph@codesourcery.com>
18188
18189 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
18190 * soft-fp/addsf3.c: Likewise.
18191 * soft-fp/addtf3.c: Likewise.
18192 * soft-fp/divdf3.c: Likewise.
18193 * soft-fp/divsf3.c: Likewise.
18194 * soft-fp/divtf3.c: Likewise.
18195 * soft-fp/double.h: Likewise.
18196 * soft-fp/eqdf2.c: Likewise.
18197 * soft-fp/eqsf2.c: Likewise.
18198 * soft-fp/eqtf2.c: Likewise.
18199 * soft-fp/extenddftf2.c: Likewise.
18200 * soft-fp/extended.h: Likewise.
18201 * soft-fp/extendsfdf2.c: Likewise.
18202 * soft-fp/extendsftf2.c: Likewise.
18203 * soft-fp/extendxftf2.c: Likewise.
18204 * soft-fp/fixdfdi.c: Likewise.
18205 * soft-fp/fixdfsi.c: Likewise.
18206 * soft-fp/fixdfti.c: Likewise.
18207 * soft-fp/fixsfdi.c: Likewise.
18208 * soft-fp/fixsfsi.c: Likewise.
18209 * soft-fp/fixsfti.c: Likewise.
18210 * soft-fp/fixtfdi.c: Likewise.
18211 * soft-fp/fixtfsi.c: Likewise.
18212 * soft-fp/fixtfti.c: Likewise.
18213 * soft-fp/fixunsdfdi.c: Likewise.
18214 * soft-fp/fixunsdfsi.c: Likewise.
18215 * soft-fp/fixunsdfti.c: Likewise.
18216 * soft-fp/fixunssfdi.c: Likewise.
18217 * soft-fp/fixunssfsi.c: Likewise.
18218 * soft-fp/fixunssfti.c: Likewise.
18219 * soft-fp/fixunstfdi.c: Likewise.
18220 * soft-fp/fixunstfsi.c: Likewise.
18221 * soft-fp/fixunstfti.c: Likewise.
18222 * soft-fp/floatdidf.c: Likewise.
18223 * soft-fp/floatdisf.c: Likewise.
18224 * soft-fp/floatditf.c: Likewise.
18225 * soft-fp/floatsidf.c: Likewise.
18226 * soft-fp/floatsisf.c: Likewise.
18227 * soft-fp/floatsitf.c: Likewise.
18228 * soft-fp/floattidf.c: Likewise.
18229 * soft-fp/floattisf.c: Likewise.
18230 * soft-fp/floattitf.c: Likewise.
18231 * soft-fp/floatundidf.c: Likewise.
18232 * soft-fp/floatundisf.c: Likewise.
18233 * soft-fp/floatunsidf.c: Likewise.
18234 * soft-fp/floatunsisf.c: Likewise.
18235 * soft-fp/floatuntidf.c: Likewise.
18236 * soft-fp/floatuntisf.c: Likewise.
18237 * soft-fp/floatuntitf.c: Likewise.
18238 * soft-fp/fmadf4.c: Likewise.
18239 * soft-fp/fmasf4.c: Likewise.
18240 * soft-fp/fmatf4.c: Likewise.
18241 * soft-fp/gedf2.c: Likewise.
18242 * soft-fp/gesf2.c: Likewise.
18243 * soft-fp/getf2.c: Likewise.
18244 * soft-fp/ledf2.c: Likewise.
18245 * soft-fp/lesf2.c: Likewise.
18246 * soft-fp/letf2.c: Likewise.
18247 * soft-fp/muldf3.c: Likewise.
18248 * soft-fp/mulsf3.c: Likewise.
18249 * soft-fp/multf3.c: Likewise.
18250 * soft-fp/negdf2.c: Likewise.
18251 * soft-fp/negsf2.c: Likewise.
18252 * soft-fp/negtf2.c: Likewise.
18253 * soft-fp/op-1.h: Likewise.
18254 * soft-fp/op-2.h: Likewise.
18255 * soft-fp/op-4.h: Likewise.
18256 * soft-fp/op-8.h: Likewise.
18257 * soft-fp/op-common.h: Likewise.
18258 * soft-fp/quad.h: Likewise.
18259 * soft-fp/single.h: Likewise.
18260 * soft-fp/soft-fp.h: Likewise.
18261 * soft-fp/sqrtdf2.c: Likewise.
18262 * soft-fp/sqrtsf2.c: Likewise.
18263 * soft-fp/sqrttf2.c: Likewise.
18264 * soft-fp/subdf3.c: Likewise.
18265 * soft-fp/subsf3.c: Likewise.
18266 * soft-fp/subtf3.c: Likewise.
18267 * soft-fp/truncdfsf2.c: Likewise.
18268 * soft-fp/trunctfdf2.c: Likewise.
18269 * soft-fp/trunctfsf2.c: Likewise.
18270 * soft-fp/trunctfxf2.c: Likewise.
18271 * soft-fp/unorddf2.c: Likewise.
18272 * soft-fp/unordsf2.c: Likewise.
18273 * soft-fp/unordtf2.c: Likewise.
18274
17c48a60
OB
182752013-10-14 Ondřej Bílka <neleai@seznam.cz>
18276
18277 [BZ #15672]
18278 * misc/error.c (error_tail): Fix possible buffer overflow.
18279
cabba934
OB
182802013-10-14 Aurelien Jarno <aurelien@aurel32.net>
18281
18282 [BZ #13028]
18283 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
18284 address.
18285
94bf958a
PM
182862013-10-14 P. J. McDermott <pj@pehjota.net>
18287
18288 [BZ #832]
18289 * elf/ldd.bash.in (try_trace): New function. Delete previous code
18290 testing pipefail option.
18291
71b4dea7
JM
182922013-10-12 Joseph Myers <joseph@codesourcery.com>
18293
18294 * soft-fp/double.h: Indent preprocessor directives inside #if.
18295 * soft-fp/extended.h: Likewise.
18296 * soft-fp/op-2.h: Likewise.
18297 * soft-fp/op-4.h: Likewise.
18298 * soft-fp/op-common.h: Likewise.
18299 * soft-fp/quad.h: Likewise.
18300 * soft-fp/single.h: Likewise.
18301 * soft-fp/soft-fp.h: Likewise.
18302
55602758
YC
183032013-10-12 Yuri Chornoivan <yurchor@ukr.net>
18304
18305 * iconv/iconv_prog.c: Fix typos.
18306 * stdio-common/psiginfo-data.h: Likewise.
18307
9cd83302
RT
183082013-10-12 Reuben Thomas <rrt@sc3d.org>
18309
18310 [BZ #15764]
18311 * locale/setlocale.c: Fix typo.
18312
99fd9f47
JM
183132013-10-12 Joseph Myers <joseph@codesourcery.com>
18314
b7ea74f0
JM
18315 [BZ #16036]
18316 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
18317 signaling NaN arguments.
18318 * soft-fp/unordsf2.c (__unordsf2): Likewise.
18319 * soft-fp/unordtf2.c (__unordtf2): Likewise.
18320
8a509447
JM
18321 [BZ #14910]
18322 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
18323 unordered operands.
18324 * soft-fp/gesf2.c (__gesf2): Likewise.
18325 * soft-fp/getf2.c (__getf2): Likewise.
18326 * soft-fp/ledf2.c (__ledf2): Likewise.
18327 * soft-fp/lesf2.c (__lesf2): Likewise.
18328 * soft-fp/letf2.c (__letf2): Likewise.
18329
98998e9f
JM
18330 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
18331 * soft-fp/eqsf2.c (__eqsf2): Likewise.
18332 * soft-fp/eqtf2.c (__eqtf2): Likewise.
18333 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
18334 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
18335 * soft-fp/fixdfti.c (__fixdfti): Likewise.
18336 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
18337 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
18338 * soft-fp/fixsfti.c (__fixsfti): Likewise.
18339 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
18340 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
18341 * soft-fp/fixtfti.c (__fixtfti): Likewise.
18342 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
18343 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
18344 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
18345 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
18346 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
18347 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
18348 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
18349 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
18350 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
18351 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
18352 * soft-fp/floatdisf.c (__floatdisf): Likewise.
18353 * soft-fp/floatsisf.c (__floatsisf): Likewise.
18354 * soft-fp/floattidf.c (__floattidf): Likewise.
18355 * soft-fp/floattisf.c (__floattisf): Likewise.
18356 * soft-fp/floattitf.c (__floattitf): Likewise.
18357 * soft-fp/floatundidf.c (__floatundidf): Likewise.
18358 * soft-fp/floatundisf.c (__floatundisf): Likewise.
18359 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
18360 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
18361 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
18362 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
18363 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
18364 * soft-fp/gesf2.c (__gesf2): Likewise.
18365 * soft-fp/getf2.c (__getf2): Likewise.
18366 * soft-fp/ledf2.c (__ledf2): Likewise.
18367 * soft-fp/lesf2.c (__lesf2): Likewise.
18368 * soft-fp/letf2.c (__letf2): Likewise.
18369
8edc4a11
JM
18370 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
18371 Undefine and redefine.
18372 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
18373 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
18374 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
18375 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
18376 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18377 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
18378 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18379 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
18380 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18381 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
18382 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18383 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
18384 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18385 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
18386 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18387
8399acaf
JM
18388 [BZ #16032]
18389 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
18390 without decrementing exponent if mantissa >= that for the
18391 denominator, not >.
18392 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
18393 denominator, not >. Decrement exponent in < case instead of
18394 incrementing in >= case.
18395 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
18396 without decrementing exponent if mantissa >= that for the
18397 denominator, not >.
18398
99fd9f47
JM
18399 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
18400 computing saturated result for unsigned overflow.
18401
10e1cf6b
SP
184022013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18403 Jeff Law <law@redhat.com>
18404
18405 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
18406 (atan2Mp): Add systemtap probe marker.
18407 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
18408 (__ieee754_log): Add systemtap probe marker.
18409 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
18410 (atanMp): Add systemtap probe marker.
18411 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
18412 (tanMp): Add systemtap probe marker.
18413 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
18414 (__slowexp): Add systemtap probe marker.
18415 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
18416 (__slowpow): Add systemtap probe marker.
18417 * manual/probes.texi: Document probes.
18418
3d110c7c
EB
184192013-10-11 Eric Biggers <ebiggers3@gmail.com>
18420
18421 [BZ #15362]
18422 * libio/fileops.c (_IO_new_file_write): Return count of bytes
18423 written.
18424 (_IO_new_file_xsputn): Don't return EOF if nothing has been
18425 written.
18426 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
18427 written to buffer but not flushed.
18428 * libio/iofwrite_u.c: Likewise.
18429 * libio/iopadn.c: Return bytes returned even if EOF was
18430 encountered.
18431 * libio/iowpadn.c: Likewise.
18432 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
18433 if _IO_padn does not write the whole buffer.
18434 [!COMPILE_WPRINTF] (PAD): Likewise.
18435
75b4202a
DM
184362013-10-10 David S. Miller <davem@davemloft.net>
18437
18438 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
18439 directory block.
18440
6c6352e6
JM
184412013-10-10 Joseph Myers <joseph@codesourcery.com>
18442
33b853c3
JM
18443 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
18444 instead of FSF address.
18445 * soft-fp/fixdfti.c: Likewise.
18446 * soft-fp/fixsfti.c: Likewise.
18447 * soft-fp/fixtfti.c: Likewise.
18448 * soft-fp/fixunsdfti.c: Likewise.
18449 * soft-fp/fixunssfti.c: Likewise.
18450 * soft-fp/fixunstfti.c: Likewise.
18451 * soft-fp/floattidf.c: Likewise.
18452 * soft-fp/floattisf.c: Likewise.
18453 * soft-fp/floattitf.c: Likewise.
18454 * soft-fp/floatuntidf.c: Likewise.
18455 * soft-fp/floatuntisf.c: Likewise.
18456 * soft-fp/floatuntitf.c: Likewise.
18457 * soft-fp/trunctfxf2.c: Likewise.
18458
6c6352e6
JM
18459 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
18460 * soft-fp/fixdfti.c: Likewise.
18461 * soft-fp/fixsfti.c: Likewise.
18462 * soft-fp/fixtfti.c: Likewise.
18463 * soft-fp/fixunsdfti.c: Likewise.
18464 * soft-fp/fixunssfti.c: Likewise.
18465 * soft-fp/fixunstfti.c: Likewise.
18466 * soft-fp/floattidf.c: Likewise.
18467 * soft-fp/floattisf.c: Likewise.
18468 * soft-fp/floattitf.c: Likewise.
18469 * soft-fp/floatuntidf.c: Likewise.
18470 * soft-fp/floatuntisf.c: Likewise.
18471 * soft-fp/floatuntitf.c: Likewise.
18472 * soft-fp/trunctfxf2.c: Likewise.
18473
3bf78b71
DM
184742013-10-10 David S. Miller <davem@davemloft.net>
18475
18476 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18477
6f10289e
JM
184782013-10-10 Joseph Myers <joseph@codsourcery.com>
18479
bd878fc0
JM
18480 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18481 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
18482 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
18483 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
18484 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
18485 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
18486 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
18487
6f10289e
JM
18488 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
18489 for NaNs before doing comparisons on argument.
18490 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18491 Likewise.
18492
321e2684
WN
184932013-10-10 Will Newton <will.newton@linaro.org>
18494
18495 * malloc/hooks.c (memalign_check): Ensure the value of bytes
18496 passed to _int_memalign does not overflow.
18497
40fefba1
TR
184982013-10-10 Torvald Riegel <triegel@redhat.com>
18499
18500 * scripts/bench.pl: Add include-sources directive.
18501 * benchtests/README: Update documentation.
18502
2ae21ed2
JM
185032013-10-10 Joseph Myers <joseph@codesourcery.com>
18504
dcc2dd3f
JM
18505 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
18506 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
18507 instead of FP_INIT_ROUNDMODE.
18508 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
18509 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
18510
2ae21ed2
JM
18511 [BZ #16034]
18512 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
18513 copy class of input value.
18514 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
18515 not handle exceptions.
18516 * soft-fp/negsf2.c (__negsf2): Likewise.
18517 * soft-fp/negtf2.c (__negtf2): Likewise.
18518 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
18519
cb8f9562
JM
185202013-10-09 Joseph Myers <joseph@codesourcery.com>
18521
18522 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
18523 semicolon. From Linux kernel.
18524
5b60c59d
AB
185252013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
18526
18527 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
18528
b86835ca
YC
185292013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
18530
18531 [BZ #156]
18532 * manual/socket.texi: Added statement about buffer
18533 for gethostbyname2_r.
18534
e7044ea7
OB
185352013-10-08 Ondřej Bílka <neleai@seznam.cz>
18536
18537 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
18538 Use .p2align directive instead, throughout.
18539 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18540 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18541 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18542 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18543 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18544 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18545 * sysdeps/x86_64/strchr.S: Likewise.
18546 * sysdeps/x86_64/strrchr.S: Likewise.
18547
09544cbc
SP
185482013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18549
88576635
SP
18550 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
18551
e7b2d1dd
SP
18552 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
18553
09544cbc
SP
18554 * sysdeps/generic/math_private.h (__mpsin1): Remove
18555 declaration.
18556 (__mpcos1): Likewise.
18557 (__mpsin): New argument __range_reduce.
18558 (__mpcos): Likewise.
18559 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18560 (slow): Use __mpsin and __mpcos.
18561 (slow1): Likewise.
18562 (slow2): Likewise.
18563 (sloww): Likewise.
18564 (sloww1): Likewise.
18565 (sloww2): Likewise.
18566 (bsloww): Likewise.
18567 (bsloww1): Likewise.
18568 (bsloww2): Likewise.
18569 (cslow2): Likewise.
18570 (csloww): Likewise.
18571 (csloww1): Likewise.
18572 (csloww2): Likewise.
18573 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
18574 range_reduce. Merge in __mpsin1.
18575 (__mpcos): Likewise.
18576 (__mpsin1): Remove.
18577 (__mpcos1): Likewise.
18578
7602d070
JM
185792013-10-07 Joseph Myers <joseph@codesourcery.com>
18580
18581 * locale/loadlocale.c (_nl_intern_locale_data): Use
18582 LOCFILE_ALIGNED_P.
18583 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
18584 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
18585 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
18586 obstack data is appropriately aligned.
18587 (obstack_int32_grow_fast): Likewise.
18588 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
18589 * locale/programs/locfile.c (add_locale_uint32): Likewise.
18590 (add_locale_uint32_array): Likewise.
18591
a357259b
SP
185922013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18593
18594 * benchtests/Makefile: Remove ARGLIST and RET variables.
18595 ($(objpfx)bench-%.c): Pass only function name to the script.
18596 * benchtests/README: Update documentation.
18597 * benchtests/acos-inputs: Add new directives.
18598 * benchtests/acosh-inputs: Likewise.
18599 * benchtests/asin-inputs: Likewise.
18600 * benchtests/asinh-inputs: Likewise.
18601 * benchtests/atan-inputs: Likewise.
18602 * benchtests/atanh-inputs: Likewise.
18603 * benchtests/cos-inputs: Likewise.
18604 * benchtests/cosh-inputs: Likewise.
18605 * benchtests/exp-inputs: Likewise.
18606 * benchtests/log-inputs: Likewise.
18607 * benchtests/pow-inputs: Likewise.
18608 * benchtests/rint-inputs: Likewise.
18609 * benchtests/sin-inputs: Likewise.
18610 * benchtests/sinh-inputs: Likewise.
18611 * benchtests/tan-inputs: Likewise.
18612 * benchtests/tanh-inputs: Likewise.
18613 * scripts/bench.pl: Add support for new directives.
18614
9ec1b13d
AM
186152013-10-07 Alan Modra <amodra@gmail.com>
18616
18617 * README: Fix careless merge.
18618
8b7d57cd
AM
186192013-10-05 Alan Modra <amodra@gmail.com>
18620
18621 * NEWS: Mention powerpc64le support and bugs fixed.
18622 * README: Both big-endian and little-endian powerpc64 supported.
18623
7b7bab13
ST
186242013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18625
57f41c40
AS
18626 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
18627 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
18628 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
18629 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
18630
d39baad1
RA
186312013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
18632
18633 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
18634 match prototype.
18635
cd78f7e7
JM
186362013-10-04 Joseph Myers <joseph@codesourcery.com>
18637
29d73d86
JM
18638 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
18639 Move -mhard-float appending from
18640 ports/sysdeps/powerpc/powerpc32/Makefile.
18641 [$(with-fp) = yes] (ASFLAGS): Likewise.
18642 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
18643 * sysdeps/powerpc/nofpu: Move directory from
18644 ports/sysdeps/powerpc/nofpu.
18645 * sysdeps/powerpc/soft-fp: Move directory from
18646 ports/sysdeps/powerpc/soft-fp.
18647 * sysdeps/powerpc/powerpc32/405: Move directory from
18648 ports/sysdeps/powerpc/powerpc32/405.
18649 * sysdeps/powerpc/powerpc32/440: Move directory from
18650 ports/sysdeps/powerpc/powerpc32/440.
18651 * sysdeps/powerpc/powerpc32/464: Move directory from
18652 ports/sysdeps/powerpc/powerpc32/464.
18653 * sysdeps/powerpc/powerpc32/476: Move directory from
18654 ports/sysdeps/powerpc/powerpc32/476.
18655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
18656 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
18657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
18658 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
18659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
18660 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
18661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
18662 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
18663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
18664 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
18665 * README: Update for powerpc-*-linux-gnu software floating point
18666 support in libc.
18667
e246b347
JM
18668 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
18669 case to powerpc/powerpc32*.
18670 * sysdeps/unix/sysv/linux/configure: Regenerated.
18671
89c2003e
JM
18672 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
18673 (_FPU_MASK_OM): Define as 0x04.
18674 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
18675 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
18676 0x00c10080.
18677 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
18678 0x0000003c.
18679 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
18680
cd78f7e7
JM
18681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
18682 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18683 getcontext_e500.
18684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
18685 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18686 setcontext_e500.
18687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
18688 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
18689 and setcontext_e500.
18690
c755294d
CL
186912013-10-04 Chris Leonard <cjl@sugarlabs,.org>
18692
18693 * locale/iso-3166.def: Update iso-1366.def and related occurrences
18694
e16d221c
SP
186952013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18696
18697 * manual/threads.texi (Default Thread Attributes): Fix typo.
18698
215c7d43
WN
186992013-10-04 Will Newton <will.newton@linaro.org>
18700
18701 * malloc/Makefile: Add tst-memalign.
18702 * malloc/tst-memalign.c: New file.
18703
27d0461b
WN
18704 * malloc/tst-posix_memalign.c: Add comments.
18705 (do_test): Add comments and call free on all potentially
18706 allocated pointers. Add space after cast.
18707
1bc92709
WN
18708 * malloc/tst-pvalloc.c: Add comments.
18709 (do_test): Add comments and call free on all potentially
18710 allocated pointers. Remove duplicate check for NULL pointer.
18711 Add space after cast.
18712
66a9be9d
WN
18713 * malloc/tst-valloc.c: Add comments.
18714 (do_test): Add comments and call free on all potentially
18715 allocated pointers. Remove duplicate check for NULL pointer.
18716 Add space after cast.
18717
4cb81307
AM
187182013-10-04 Alan Modra <amodra@gmail.com>
18719
18720 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18721 Use stdint types in rather than __attribute__((mode())).
18722 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18723
f8e3e9f3
AM
187242013-10-04 Alan Modra <amodra@gmail.com>
18725
18726 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18727 Correct handling of unaligned relocs for little-endian.
18728 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18729
8f9ebb08
AM
187302013-10-04 Alan Modra <amodra@gmail.com>
18731
18732 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18733 * configure: Regenerate.
18734 * nptl/shlib-versions: Powerpc*le starts at 2.18.
18735 * shlib-versions: Likewise.
18736
0edf96c2
AM
187372013-10-04 Alan Modra <amodra@gmail.com>
18738
18739 * string/tester.c (test_memrchr): Increment reported test cycle.
18740
e0f7a380
AM
187412013-10-04 Alan Modra <amodra@gmail.com>
18742
18743 * string/test-memcpy.c (do_one_test): When reporting errors, print
18744 string address and don't overrun end of string.
18745
466b0393
AM
187462013-10-04 Alan Modra <amodra@gmail.com>
18747
18748 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18749 insrdi. Make better use of reg selection to speed exit slightly.
18750 Schedule entry path a little better. Remove useless "are we done"
18751 checks on entry to main loop. Handle wrapping around zero address.
18752 Correct main loop count. Handle single left-over word from main
18753 loop inline rather than by using loop_small. Remove extra word
18754 case in loop_small caused by wrong loop count. Add little-endian
18755 support.
18756 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18757 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
18758 cache hint.
18759 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18760 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18761 support. Avoid rlwimi.
18762 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18763
3be87c77
AM
187642013-10-04 Alan Modra <amodra@gmail.com>
18765
18766 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 18767 insrdi. Formatting.
3be87c77
AM
18768 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18769 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18770 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18771 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18772 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18773 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18774
759cfef3
AM
187752013-10-04 Alan Modra <amodra@gmail.com>
18776
18777 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18778 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18779 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18780 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18781 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18782 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18783 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18784 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18785 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
18786 use of regs. Use power7 mtocrf. Tidy function tails.
18787
fe6e95d7
AM
187882013-10-04 Alan Modra <amodra@gmail.com>
18789
18790 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18791 Formatting. Consistently use rXXX register defines or rN defines.
18792 Use early exit labels that avoid restoring unused non-volatile regs.
18793 Make cr field use more consistent with rWORDn compares. Rename
18794 regs used as shift registers for unaligned loop, using rN defines
18795 for short lifetime/multiple use regs.
18796 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18797 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
18798 addi 1,1,64 to pop stack frame. Simplify return value code.
18799 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18800
664318c3
AM
188012013-10-04 Alan Modra <amodra@gmail.com>
18802
18803 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18804 support. Correct typos, formatting. Optimize tail. Use insrdi
18805 rather than rlwimi.
18806 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
18807 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
18808 little-endian support. Correct typos.
18809 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
18810 rather than rlwimi.
18811 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
18812 in loop and entry code to keep "and." results.
18813 (strchr): Add little-endian support. Comment. Move cntlzd
18814 earlier in tail.
18815 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
18816
43b84013
AM
188172013-10-04 Alan Modra <amodra@gmail.com>
18818
18819 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
18820 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
18821 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18822 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
18823
8a7413f9
AM
188242013-10-04 Alan Modra <amodra@gmail.com>
18825
18826 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
18827 (rTMP): Define as r11.
18828 (strcmp): Add little-endian support. Optimise tail.
18829 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
18830 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18831 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18832 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18833 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18834 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18835 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18836
33ee81de
AM
188372013-10-04 Alan Modra <amodra@gmail.com>
18838
18839 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
18840 little-endian support. Remove unnecessary "are we done" tests.
18841 Handle "s" wrapping around zero and extremely large "size".
18842 Correct main loop count. Handle single left-over word from main
18843 loop inline rather than by using small_loop. Correct comments.
18844 Delete "zero" tail, use "end_max" instead.
18845 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
18846
db9b4570
AM
188472013-10-04 Alan Modra <amodra@gmail.com>
18848
18849 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
18850 support. Don't branch over align.
18851 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
18852 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
18853 support. Rearrange tmp reg use to suit. Comment.
18854 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
18855
f7c399cf
AM
188562013-10-04 Alan Modra <amodra@gmail.com>
18857
18858 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
18859
0b2c2ace
AM
188602013-10-04 Alan Modra <amodra@gmail.com>
18861
18862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
18863 conditional form of branch and link when obtaining pc.
18864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18865
02f04a6c
AM
188662013-10-04 Alan Modra <amodra@gmail.com>
18867
18868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
18869 HIWORD/LOWORD.
18870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
18871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
18872
9b874b2f
AM
188732013-10-04 Alan Modra <amodra@gmail.com>
18874
18875 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
18876 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
18877 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18878 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
18879 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18880 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18881 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
18882 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18883 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18884 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
18885
be1e5d31
AB
188862013-10-04 Anton Blanchard <anton@au1.ibm.com>
18887 Alistair Popple <alistair@ozlabs.au.ibm.com>
18888 Alan Modra <amodra@gmail.com>
18889
18890 [BZ #15723]
18891 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
18892 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
18893 _dl_hwcap access for little-endian.
18894 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
18895 destroy vmx regs when saving unaligned.
18896 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
18897 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
18898 destroy vmx regs when saving unaligned.
18899
fef13a78
AM
189002013-10-04 Alan Modra <amodra@gmail.com>
18901
18902 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
18903 Don't use a union to pack hi/low value.
18904
76a66d51
AB
189052013-10-04 Anton Blanchard <anton@au1.ibm.com>
18906
18907 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
18908 for little-endian.
18909 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18910 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
18911 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18912 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18913 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18914
6a31fe7f
AM
189152013-10-04 Alan Modra <amodra@gmail.com>
18916
18917 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
18918 constants to usual value for .cst8 section, and remove redundant
18919 high address load.
18920 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
18921 constant for 0x1p52. Load little-endian words of double from
18922 correct stack offsets.
18923
7b88401f
AM
189242013-10-04 Alan Modra <amodra@gmail.com>
18925
18926 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
18927 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
18928 words of double from correct stack offsets.
18929 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18930 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
18931 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18932 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18933 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18934 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18935 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18936 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18937 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18938 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18939 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18940 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
18941 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
18942 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
18943 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
18944 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
18945 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
18946
9c008155
AM
189472013-10-04 Alan Modra <amodra@gmail.com>
18948
18949 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
18950 64-bit int/double union.
18951 (_FPU_SETCW): Likewise.
18952 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
18953 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
18954
da13146d
AM
189552013-10-04 Alan Modra <amodra@gmail.com>
18956
18957 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
18958 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
18959
603e8410
AM
189602013-10-04 Alan Modra <amodra@gmail.com>
18961
18962 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
18963 use vector int constants.
18964 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
18965
4a28b3ca
AB
189662013-10-04 Anton Blanchard <anton@au1.ibm.com>
18967
18968 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
18969 array with long long.
18970 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
18971 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
18972 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
18973 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
18974 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
18975 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
18976 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
18977 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
18978 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
18979 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
18980 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
18981 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
18982 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
18983
2ca85d2b
AB
189842013-10-04 Anton Blanchard <anton@au1.ibm.com>
18985
18986 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
18987 (__signbit): Likewise. Correct for little-endian.
18988 (__signbitl): Call __signbit.
18989 (lrint): Correct for little-endian.
18990 (lrintf): Call lrint.
18991
62a728ae
AM
189922013-10-04 Alan Modra <amodra@gmail.com>
18993
18994 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
18995 union 32-bit int array member with 64-bit int array.
18996 (t515, tm256): Double rather than long double.
18997 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
18998
32c301df
AM
189992013-10-04 Alan Modra <amodra@gmail.com>
19000
19001 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
19002 Delete.
19003 (IEEE854_LONG_DOUBLE_BIAS): Delete.
19004 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
19005 version of math_ldbl.h.
19006
650ef4bd
AM
190072013-10-04 Alan Modra <amodra@gmail.com>
19008
19009 [BZ #15734], [BZ #15735]
19010 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
19011 all uses of ieee875 long double macros and unions. Simplify test
19012 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
19013 ldbl_extract_mantissa value for ix,iy exponents. Properly
19014 normalize after ldbl_extract_mantissa, and don't add hidden bit
19015 already handled. Don't treat low word of ieee854 mantissa like
19016 low word of IBM long double and mask off bit when testing for
19017 zero.
19018 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
19019 all uses of ieee875 long double macros and unions. Simplify tests
19020 for 0.0L and inf. Correct double adjustment of k. Delete dead code
19021 adjusting ha,hb. Simplify code setting kld. Delete two600 and
19022 two1022, instead use their values. Recognise that tests for large
19023 "a" and small "b" are mutually exclusive. Rename vars. Comment.
19024 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
19025 Rewrite all uses of ieee875 long double macros and unions. Simplify
19026 test for 0.0L and nan. Correct negation.
19027 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
19028 ieee875 long double macros and unions. Correct output for large
19029 magnitude x. Correct absolute value calculation.
19030 (__erfcl): Likewise.
19031 * math/libm-test.inc: Add tests for errors discovered in IBM long
19032 double versions of fmodl, remainderl, erfl and erfcl.
19033
765714ca
AM
190342013-10-04 Alan Modra <amodra@gmail.com>
19035
19036 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
19037 all uses of ieee854 long double macros and unions. Simplify tests
19038 for long doubles that are fully specified by the high double.
19039 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19040 Likewise.
19041 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
19042 Remove dead code too.
19043 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19044 (__ieee754_ynl): Likewise.
19045 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
19046 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
19047 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
19048 Remove dead code too.
19049 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
19050 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
19051 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
19052 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
19053 Simplify.
19054 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
19055 Simplify.
19056 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
19057 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
19058 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
19059 Comment on variable precision.
19060 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
19061 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19062 Likewise.
19063 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19064 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19065 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19066 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
19067 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
19068
4ebd120c
AM
190692013-10-04 Alan Modra <amodra@gmail.com>
19070
19071 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
19072 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
19073 all uses of ieee854 long double macros and unions.
19074 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
19075 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19076 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
19077 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
19078 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
19079 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19080 Likewise.
19081 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
19082 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19083 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
19084 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19085 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
19086 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
19087 Simplify sign and nan test too.
19088 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
19089 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
19090 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
19091 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
19092 Likewise.
19093 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19094 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
19095 Likewise.
19096 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19097 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
19098 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
19099 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
19100 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
19101 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
19102
1b6adf88
AM
191032013-10-04 Alan Modra <amodra@gmail.com>
19104
19105 * stdio-common/printf_size.c (__printf_size): Don't use
19106 union ieee854_long_double in fpnum union.
19107 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
19108 signbit macro to retrieve sign from long double.
19109 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
19110 retrieve sign from long double.
19111 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
19112 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
19113 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
19114 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19115 * math/test-misc.c (main): Don't use union ieee854_long_double.
19116
4cf69995
AM
191172013-10-04 Alan Modra <amodra@gmail.com>
19118
19119 [BZ #15680]
19120 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
19121 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
19122 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
19123 calculation. Remove unnecessary test for denormal exponent.
19124 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
19125 Correct handling of denormals. Avoid undefined shift behaviour.
19126 Correct normalisation of low mantissa when low double is denormal.
19127 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
19128 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
19129 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
19130 Correct normalisation of low mantissa. Test for overflow of high
19131 mantissa and normalise.
19132 (ldbl_nearbyint): Use more readable constant for two52.
19133 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
19134 (__mpn_construct_long_double): Fix test for overflow of high
19135 mantissa and correct normalisation. Avoid undefined shift.
19136
9605ca6c
AM
191372013-10-04 Alan Modra <amodra@gmail.com>
19138
19139 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19140 (union ibm_extended_long_double): Define as an array of ieee754_double.
19141 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
19142 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
19143 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
19144 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19145 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19146 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
19147 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19148 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19149 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19150 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
19151 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19152
975569d0
JM
191532013-10-03 Joseph Myers <joseph@codesourcery.com>
19154
d3d23756
JM
19155 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
19156 page size instead of calling getpagesize.
19157
975569d0
JM
19158 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
19159 (LOCFILE_ALIGN_MASK): Likewise.
19160 (LOCFILE_ALIGN_UP): Likewise.
19161 (LOCFILE_ALIGNED_P): Likewise.
19162 * locale/programs/ld-collate.c (collate_output): Use the new
19163 macros instead of __alignof__ (int32_t).
19164 * locale/weight.h (findidx): Likewise.
19165
b1fe1f2b
OB
191662013-10-03 Ondřej Bílka <neleai@seznam.cz>
19167
19168 [BZ #431]
19169 * manual/string.texi: Fix strncat and wcsncat.
19170
5f855e35
BM
191712013-10-03 Brooks Moses <bmoses@google.com>
19172
19173 [BZ #15915]
19174 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
19175 * Makerules: ...here, and adjust associated comments.
19176
3cef6009
WN
191772013-10-02 Will Newton <will.newton@linaro.org>
19178
19179 * malloc/Makefile: Add tst-pvalloc.
19180 * malloc/tst-pvalloc.c: New file.
19181
7815420b
WN
191822013-10-02 Will Newton <will.newton@linaro.org>
19183
19184 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
19185 improve test coverage.
19186
4868b204
WN
191872013-10-02 Will Newton <will.newton@linaro.org>
19188
19189 * malloc/Makefile: Add tst-posix_memalign.
19190 * malloc/tst-posix_memalign.c: New file.
19191
29c793b3
EB
191922013-10-01 Eric Blake <eblake@redhat.com>
19193
19194 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
19195 Use __THROWNL rather than __THROW on static functions.
19196
fd967522
PM
191972013-09-30 Petr Machata <pmachata@redhat.com>
19198
19199 * elf/elf.h (R_AARCH64_ABS16): New macro.
19200 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
19201 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
19202 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
19203 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
19204 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
19205 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
19206 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
19207 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
19208 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
19209 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
19210 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
19211 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
19212 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
19213 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
19214 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
19215 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
19216 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
19217 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
19218 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
19219 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
19220 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
19221 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
19222 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
19223 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
19224 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
19225 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
19226 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
19227 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
19228 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
19229 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
19230 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
19231 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
19232 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
19233 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
19234 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
19235 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
19236 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
19237 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
19238 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
19239 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
19240 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
19241 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
19242 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
19243 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
19244 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
19245 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
19246 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
19247 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
19248 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
19249 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
19250 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
19251 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
19252 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
19253 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
19254 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
19255 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
19256 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
19257 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
19258 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
19259 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
19260 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
19261 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
19262 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
19263 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
19264 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
19265 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
19266 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
19267 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
19268 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
19269 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
19270 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
19271 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
19272 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
19273 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
19274 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
19275 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
19276 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
19277 (R_AARCH64_TLSDESC_LDR): Likewise.
19278 (R_AARCH64_TLSDESC_ADD): Likewise.
19279 (R_AARCH64_TLSDESC_CALL): Likewise.
19280
b2179107
AS
192812013-09-30 Andreas Schwab <schwab@suse.de>
19282
19283 [BZ #15048]
19284 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
19285 the nss database lookup.
19286 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19287 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19288
47f28d0a
MF
192892013-09-28 Mike Frysinger <vapier@gentoo.org>
19290
19291 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
19292
192932013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
19294
19295 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
19296 ${Bash-specific parameter/pattern/string} parameter expansion.
19297 * sysdeps/unix/make-syscalls.sh: Likewise.
19298
f4518a17
KK
192992013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19300
19301 * sysdeps/sh/stackguard-macros.h: New file.
19302
dc1a95c7
OB
193032013-09-26 Ondřej Bílka <neleai@seznam.cz>
19304
19305 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19306 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
19307 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
19308 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
19309 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19310 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
19311
5ebbff8f
AZ
193122013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19313
19314 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
19315 Fix thread ID register.
19316
4fd2cf9f
JM
193172013-09-25 Joseph Myers <joseph@codesourcery.com>
19318
19319 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
19320 [POSIX || UNIX98]: Require rather than permitting all symbols from
19321 <time.h>.
19322 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
19323 element of struct sched_param.
19324 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
19325 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
19326 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
19327 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
19328 constant.
19329
12c22bc4
OL
193302013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
19331
19332 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
19333 argument calculation.
19334
a03d8ea7
JM
193352013-09-24 Joseph Myers <joseph@codesourcery.com>
19336
19337 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
19338 Expect macro.
19339 [POSIX] (pthread_attr_t): Do not require type.
19340 [POSIX] (pthread_cond_t): Likewise.
19341 [POSIX] (pthread_condattr_t): Likewise.
19342 [POSIX] (pthread_key_t): Likewise.
19343 [POSIX] (pthread_mutex_t): Likewise.
19344 [POSIX] (pthread_mutexattr_t): Likewise.
19345 [POSIX] (pthread_once_t): Likewise.
19346 [POSIX] (pthread_t): Likewise.
19347 [POSIX-based standards] (pthread_atfork): Expect function.
19348
6055173a
JM
193492013-09-24 Joseph Myers <joseph@codesourcery.com>
19350 Richard Sandiford <richard@codesourcery.com>
19351
19352 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
19353 (swap_endianness_p): New extern variable.
19354 (set_big_endian): New inline function.
19355 (maybe_swap_uint32): Likewise.
19356 (maybe_swap_uint32_array): Likewise.
19357 (maybe_swap_uint32_obstack): Likewise.
19358 * locale/programs/locfile.c: Include <stdbool.h>.
19359 (swap_endianness_p): New variable.
19360 (add_locale_uint32): Call maybe_swap_uint32.
19361 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
19362 (write_locale_data): Call maybe_swap_uint32_array.
19363 * locale/programs/ld-collate.c (obstack_int32_grow): Call
19364 maybe_swap_uint32.
19365 (obstack_int32_grow_fast): Likewise.
19366 (output_weightwc): Call maybe_swap_uint32_obstack.
19367 (collate_output): Likewise.
19368 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
19369 (OPT_LITTLE_ENDIAN): Likewise.
19370 (options): Add --little-endian and --big-endian options.
19371 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
19372 * locale/programs/locarchive.c: Include "locfile.h".
19373 (GET): New macro.
19374 (SET): Likewise.
19375 (INC): Likewise.
19376 (create_archive): Use the new macros to access fields of
19377 structures directly mapped from or written to locale archives.
19378 (oldlocrecentcmp): Likewise.
19379 (enlarge_archive): Likewise.
19380 (insert_name): Likewise.
19381 (add_alias): Likewise.
19382 (add_locale): Likewise.
19383 (delete_locales_from_archive): Likewise.
19384 (show_archive_content): Likewise.
19385 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
19386 locale data.
19387
39bf0bb4
RM
193882013-09-24 Roland McGrath <roland@hack.frob.com>
19389
19390 * manual/freemanuals.texi: Updated from (newly) canonical copy at
19391 http://www.gnu.org/doc/freemanuals.texi.
19392 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
19393
f02eed10
WN
193942013-09-24 Will Newton <will.newton@linaro.org>
19395
19396 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
19397 macro.
19398
a3a6c312
JM
193992013-09-23 Joseph Myers <joseph@codesourcery.com>
19400
19401 * locale/hashval.h (compute_hashval): Interpret bytes of key as
19402 unsigned char.
19403
107375ac
MR
194042013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
19405
19406 * manual/threads.texi (POSIX Threads): Fix a typo.
19407
141f3a77
SP
194082013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19409
303e567a
SP
19410 [BZ #14547]
19411 * string/tst-strcoll-overflow.c: New test case.
19412 * string/Makefile (xtests): Add tst-strcoll-overflow.
19413 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
19414 cache if string sizes may cause integer overflow.
19415
141f3a77
SP
19416 [BZ #14547]
19417 * string/strcoll_l.c (coll_seq): New members rule, idx,
19418 save_idx and back_us.
19419 (get_next_seq_nocache): New function.
19420 (do_compare_nocache): New function.
19421 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
19422 when malloc fails.
19423
c61b4d41
CD
194242013-09-23 Carlos O'Donell <carlos@redhat.com>
19425
0b1f8e35
CD
19426 [BZ #15754]
19427 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
19428 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
19429 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
19430
c61b4d41
CD
19431 [BZ #15754]
19432 * elf/Makefile (tests): Add tst-ptrguard1.
19433 (tests-static): Add tst-ptrguard1-static.
19434 (tst-ptrguard1-ARGS): Define.
19435 (tst-ptrguard1-static-ARGS): Define.
19436 * elf/tst-ptrguard1.c: New file.
19437 * elf/tst-ptrguard1-static.c: New file.
19438 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
19439 * sysdeps/i386/stackguard-macros.h: Likewise.
19440 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19441 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19442 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19443 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19444 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19445 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19446
194472013-09-23 Hector Marco <hecmargi@upv.es>
19448 Ismael Ripoll <iripoll@disca.upv.es>
19449 Carlos O'Donell <carlos@redhat.com>
19450
19451 [BZ #15754]
19452 * sysdeps/generic/stackguard-macros.h: Define
19453 __pointer_chk_guard_local and POINTER_CHK_GUARD.
19454 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
19455 Define __pointer_chk_guard_local.
19456 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
19457 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
19458
f5f4e7b4
VV
194592013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
19460
19461 [BZ #15859]
19462 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
19463
5bb43a43
AS
194642013-09-20 Andreas Schwab <schwab@linux-m68k.org>
19465
19466 * include/string.h (__ffs): Declare as hidden.
19467 * string/ffs.c (__ffs): Define as hidden.
19468 * sysdeps/i386/ffs.c (__ffs): Likewise.
19469 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
19470 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
19471 * sysdeps/s390/ffs.c (__ffs): Likewise.
19472 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
19473
3ea5be54
AO
194742013-09-20 Alexandre Oliva <aoliva@redhat.com>
19475
ffb89e53
AO
19476 * NEWS: Mention malloc probes.
19477
322dea08
AO
19478 * malloc/arena.c (new_heap): New memory_heap_new probe.
19479 (grow_heap): New memory_heap_more probe.
19480 (shrink_heap): New memory_heap_less probe.
19481 (heap_trim): New memory_heap_free probe.
19482 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
19483 (systrim): New memory_sbrk_less probe.
19484 * manual/probes.texi: Document them.
19485
655673f3
AO
19486 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
19487 * manual/probes.texi: Document it.
19488
35fed6f1
AO
19489 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
19490 (__libc_realloc): Add memory_realloc_retry probe.
19491 (__libc_memalign): Add memory_memalign_retry probe.
19492 (__libc_valloc): Add memory_valloc_retry probe.
19493 (__libc_pvalloc): Add memory_pvalloc_retry probe.
19494 (__libc_calloc): Add memory_calloc_retry probe.
19495 * manual/probes.texi: Document them.
19496
6999d38c
AO
19497 * malloc/arena.c (get_free_list): Add probe
19498 memory_arena_reuse_free_list.
19499 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
19500 and memory_arena_reuse.
19501 (arena_get2) [!PER_THREAD]: Likewise.
19502 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
19503 memory_arena_reuse_realloc.
19504 * manual/probes.texi: Document them.
19505
0653427f
AO
19506 * malloc/malloc.c (__libc_free): Add
19507 memory_mallopt_free_dyn_thresholds probe.
19508 (__libc_mallopt): Add multiple memory_mallopt probes.
19509 * manual/probes.texi: Document them.
19510
3ea5be54
AO
19511 * malloc/malloc.c: Include stap-probe.h.
19512 (__libc_mallopt): Add memory_mallopt probe.
19513 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
19514 * manual/probes.texi: New.
19515 * manual/Makefile (chapters): Add probes.
19516 * manual/threads.texi: Set next node.
19517
e35696c3 195182013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 19519
e35696c3
CL
19520 [BZ #15963, #13985]
19521 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
19522 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
19523 Add `Chinese' to `nan' entry name.
19524
4aafb73c
SP
195252013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19526
19527 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
19528 (POLYNOMIAL): Likewise.
19529 (TAYLOR_SINCOS): Likewise.
19530 (TAYLOR_SLOW): Likewise.
19531 (__sin): Use TAYLOR_SINCOS.
19532 (__cos): Likewise.
19533 (slow): Use TAYLOR_SLOW.
19534 (sloww): Likewise.
19535 (bsloww): Likewise.
19536 (csloww): Likewise.
19537
d84f25c7
LD
195382013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19539
19540 * stdlib/strtod_l.c: Fix buffer overrun.
19541
5eea0404
SP
195422013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19543
7849ff93
SP
19544 * benchtests/Makefile (bench): Add sincos.
19545 * benchtests/bench-sincos.c: New file.
19546
cfa3c886
SP
19547 * math/libm-test.inc (cos_test_data): New test inputs.
19548 (sin_test_data): Likewise.
19549
b348e1e3
SP
19550 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
19551 macro.
19552 (__sin): Use it.
19553 (__cos): Likewise.
19554 (slow1): Likewise.
19555 (slow2): Likewise.
19556 (sloww1): Likewise.
19557 (sloww2): Likewise.
19558 (bsloww1): Likewise.
19559 (bsloww2): Likewise.
19560 (cslow2): Likewise.
19561 (csloww1): Likewise.
19562 (csloww2): Likewise.
19563
6cce25f8
SP
19564 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
19565 function.
19566 (__sin): Use it.
19567 (__cos): Likewise.
19568
5eea0404
SP
19569 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
19570 gotos.
19571 (__cos): Likewise.
19572
9c21573c
MR
195732013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
19574
19575 * config.h.in (HAVE_MIPS_NAN2008): New macro.
19576 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
19577 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
19578 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
19579 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
19580 * elf/cache.c (print_entry): Handle the new cache flags.
19581
24d22e65
JM
195822013-09-18 Joseph Myers <joseph@codesourcery.com>
19583 Aldy Hernandez <aldyh@redhat.com>
19584
19585 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
19586 Change condition to [_SOFT_FLOAT].
19587 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
19588 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
19589 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
19590 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
19591 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
19592 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
19593 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
19594 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
19595 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
19596 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
19597 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
19598 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
19599 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
19600 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
19601 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
19602 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
19603 declaration.
19604
d13ef066
JM
196052013-09-18 Joseph Myers <joseph@codesourcery.com>
19606
2e071de0
JM
19607 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
19608 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19609 (__longjmp): Use LOAD_GP to load saved GPRs.
19610 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
19611 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19612 (__sigsetjmp): Use SAVE_GP to save GPRs.
19613
d13ef066
JM
19614 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
19615 Do not append -msoft-float.
19616 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
19617
97a0650b
SP
196182013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19619
19620 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
19621
11ca09e9
JM
196222013-09-17 Joseph Myers <joseph@codesourcery.com>
19623
19624 [BZ #15966]
19625 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
19626 (_FPU_GETCW): Use initial "__" on variable and field names but not
19627 on macro parameter name.
19628 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
19629 parentheses around reference to macro parameter.
19630
08ffcf34
RS
196312013-09-13 Richard Sandiford <richard@codesourcery.com>
19632
19633 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
19634 prototype.
19635 (ctype_startup): Use uint32_t in cast and sizeof for
19636 ctype->charnames.
19637
ae7080d3
JL
196382013-09-11 Jia Liu <proljc@gmail.com>
19639
19640 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
19641 __daddr_t_defined.
19642 [__FreeBSD__]: Likewise.
19643
5905e7b3
OB
196442013-09-11 Ondřej Bílka <neleai@seznam.cz>
19645
19646 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19647 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
19648 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
19649 (strchr): Remove __strchr_sse42 ifunc selection.
19650 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
19651 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
19652
b987c776
WN
196532013-09-11 Will Newton <will.newton@linaro.org>
19654
19655 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
19656 parameter to RES. Remove hardcoded 1000 value.
19657 * benchtests/bench-skeleton.c (main): Pass RES parameter
19658 to TIMING_INIT and multiply result by 1000.
19659
ddf985af
AZ
196602013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19661
19662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19663
ffdd3181
AS
196642013-09-11 Andreas Schwab <schwab@suse.de>
19665
19666 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19667 if not defined.
19668 (O_TMPFILE) [__USE_GNU]: Define.
19669 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
19670 Define.
19671
b73ed247
WN
196722013-09-11 Will Newton <will.newton@linaro.org>
19673
19674 [BZ #15857]
19675 * malloc/malloc.c (__libc_memalign): Check the value of bytes
19676 does not overflow.
19677
55e17aad
WN
196782013-09-11 Will Newton <will.newton@linaro.org>
19679
19680 [BZ #15856]
19681 * malloc/malloc.c (__libc_valloc): Check the value of bytes
19682 does not overflow.
19683
1159a193
WN
196842013-09-11 Will Newton <will.newton@linaro.org>
19685
19686 [BZ #15855]
19687 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
19688 does not overflow.
19689
5905e7b3 196902013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
19691
19692 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
19693 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19694 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19695 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19696 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19697
cdfc721b
AM
196982013-09-10 Allan McRae <allan@archlinux.org>
19699
aa04af00
AM
19700 [BZ #15748]
19701 * manual/arith.texi (Parsing of Floats): Clarify
19702 cross-reference.
19703
cdfc721b
AM
19704 [BZ #15849]
19705 * manual/install.texi (Running make install): Mention
19706 --enable-pt-chown.
19707 * INSTALL: Regenerated.
19708
95e7cf29
MR
197092013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19710
19711 * csu/init-first.c (_init): Remove the !SHARED condition around
19712 FPU control word initialization.
19713 * elf/dl-support.c (_dl_fpu_control): New variable.
19714 (_dl_aux_init) <AT_FPUCW>: Initialize it.
19715 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19716 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19717 * math/test-fpucw-static.c: New file.
19718 * math/test-fpucw-ieee.c: New file.
19719 * math/test-fpucw-ieee-static.c: New file.
19720 * math/Makefile (tests): Add `test-fpucw-ieee' and
19721 `$(tests-static)'.
19722 (tests-static): New variable.
19723 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19724 dependency to...
19725 [($(build-shared),yes)]
19726 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19727 ... this.
19728 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19729 New dependency.
19730
83e43bf0
AM
197312013-09-09 Allan McRae <allan@archlinux.org>
19732
a9f5ce09
AM
19733 [BZ #15939]
19734 * manual/string.texi (Collation Functions): Fix typo in
19735 strcoll example.
19736 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19737
34829bc2
AM
19738 [BZ #15893]
19739 * stdlib/isomac.c (get_null_defines): Fix memory leak.
19740
3932737d
AM
19741 [BZ #15892]
19742 * libio/memstream.c (open_memstream): Fix memory leak.
19743 * libio/wmemstream.c (open_wmemstream): Likewise.
19744
83e43bf0
AM
19745 [BZ #15895]
19746 * nscd/netgroupcache.c: Fix nesting of ifdefs.
19747
0c66b8e9
WN
197482013-09-09 Will Newton <will.newton@linaro.org>
19749
19750 * malloc/Makefile: Add tst-realloc to tests.
19751 * malloc/tst-realloc.c: New file.
19752
f6b00fd1
AM
197532013-09-09 Allan McRae <allan@archlinux.org>
19754
19755 [BZ #15844]
19756 * COPYING: Update from GNU website to fix FSF address.
19757 * COPYING.LIB: Likewise.
19758
eec55e16
DM
197592013-09-06 David S. Miller <davem@davemloft.net>
19760
19761 * po/zh_TW.po: Update Chinese (traditional) translation from
19762 translation project.
19763
1ecbb381
RS
197642013-09-06 Richard Sandiford <richard@codesourcery.com>
19765 Joseph Myers <joseph@codesourcery.com>
19766
19767 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19768 "localeinfo.h".
19769 (obstack_chunk_alloc): New macro.
19770 (obstack_chunk_free): Likewise.
19771 (record_offset): New function.
19772 (init_locale_data): Likewise.
19773 (align_locale_data): Likewise.
19774 (add_locale_empty): Likewise.
19775 (add_locale_raw_data): Likewise.
19776 (add_locale_raw_obstack): Likewise.
19777 (add_locale_string): Likewise.
19778 (add_locale_wstring): Likewise.
19779 (add_locale_uint32): Likewise.
19780 (add_locale_uint32_array): Likewise.
19781 (add_locale_char): Likewise.
19782 (start_locale_structure): Likewise.
19783 (end_locale_structure): Likewise.
19784 (start_locale_prelude): Likewise.
19785 (end_locale_prelude): Likewise.
19786 (write_locale_data): Take locale_file structure rather than an
19787 iovec.
19788 * locale/programs/locfile.h: Include "obstack.h".
19789 (struct locale_file): Change to store locale file contents instead
19790 of header.
19791 (init_locale_data): New prototype.
19792 (align_locale_data): Likewise.
19793 (add_locale_empty): Likewise.
19794 (add_locale_raw_data): Likewise.
19795 (add_locale_raw_obstack): Likewise.
19796 (add_locale_string): Likewise.
19797 (add_locale_wstring): Likewise.
19798 (add_locale_uint32): Likewise.
19799 (add_locale_uint32_array): Likewise.
19800 (add_locale_char): Likewise.
19801 (start_locale_structure): Likewise.
19802 (end_locale_structure): Likewise.
19803 (start_locale_prelude): Likewise.
19804 (end_locale_prelude): Likewise.
19805 (write_locale_data): Update prototype.
19806 * locale/programs/3level.h (struct TABLE): Remove result field.
19807 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
19808 Use new locale_file interface.
19809 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
19810 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
19811 * locale/programs/ld-address.c (address_output): Use new
19812 locale_file interface.
19813 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
19814 NO_ADD_LOCALE.
19815 (collate_finish): Don't call collseq_table_finalize.
19816 (collate_output): Use new locale_file interface.
19817 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
19818 in file.
19819 (NO_FINALIZE): Change to NO_ADD_LOCALE.
19820 (TABLE): Move defines earlier in file.
19821 (ELEMENT): Likewise.
19822 (DEFAULT): Likewise.
19823 (wctrans_table_add): Move macro and inline function earlier in
19824 file.
19825 (struct wctype_table): Move type earlier in file.
19826 (add_locale_wctype_table): New static prototype.
19827 (struct locale_ctype_t): Use logical types instead of struct iovec
19828 pointers for members.
19829 (ctype_output): Use new locale_file interface.
19830 (wctype_table_finalize): Change to add_locale_wctype_table. Use
19831 new locale_file interface.
19832 (allocate_arrays): Update for use of new locale_file interface.
19833 * locale/programs/ld-identification.c (identification_output): Use
19834 new locale_file interface.
19835 * locale/programs/ld-measurement.c (measurement_output): Likewise.
19836 * locale/programs/ld-messages.c (messages_output): Likewise.
19837 * locale/programs/ld-monetary.c (monetary_output): Likewise.
19838 * locale/programs/ld-name.c (name_output): Likewise.
19839 * locale/programs/ld-numeric.c (numeric_output): Likewise.
19840 * locale/programs/ld-paper.c (paper_output): Likewise.
19841 * locale/programs/ld-telephone.c (telephone_output): Likewise.
19842 * locale/programs/ld-time.c (time_output): Likewise.
19843
e029e2e5
AZ
198442013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19845
19846 * benchtests/Makefile: Add memrchr benchmark.
19847 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
19848 benchmark as memrchr.
19849 * benchtests/bench-memrchr-ifunc.c: New file.
19850 * benchtests/bench-memrchr.c: New file.
19851
bbf6e8e4
WN
198522013-09-06 Will Newton <will.newton@linaro.org>
19853
19854 * benchtests/Makefile (string-bench): Add memcpy.
19855
6c82a2f8
CD
198562013-09-05 Carlos O'Donell <carlos@redhat.com>
19857 Cong Wang <amwang@redhat.com>
19858
e732c5f0 19859 [BZ #15850]
6c82a2f8
CD
19860 * sysdeps/unix/sysv/linux/bits/in.h
19861 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
19862 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
19863 before __USE_KERNEL_IPV6_DEFS uses.
19864 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
19865 IPPROTO_BEETPH.
19866 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
19867 sockaddr_in6, or ipv6_mreq.
19868
5430fc65
AZ
198692013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19870
19871 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
19872 memory access for final bytes in some large inputs.
19873 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
19874
4660856c
AZ
198752013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19876
19877 * string/test-memrchr.c: New file.
19878 * string/test-memrchr-ifunc.c: New file.
19879 * string/Makefile: Add new memrchr testcase.
19880
bb8ea713
MF
198812013-09-05 Mike Frysinger <vapier@gentoo.org>
19882
19883 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
19884 fanotify_init returns EPERM.
19885
b92a20b5
JM
198862013-09-04 Joseph Myers <joseph@codesourcery.com>
19887
19888 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
19889 errors.
19890 (top level): Treat second token from macro or constant entries for
19891 allowed headers as allowed.
19892 * include/complex.h: Condition internal declarations on
19893 [!_ISOMAC].
19894 * include/fenv.h: Condition include of <stdbool.h> and internal
19895 declarations on [!_ISOMAC].
7447ccd9
CL
19896
198972013-09-04 Chris Leonard <cjl@sugarlabs,.org>
19898
3e181dda 19899 [BZ #15923]
7447ccd9
CL
19900 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
19901
3f2e46a4
JM
199022013-09-04 Joseph Myers <joseph@codesourcery.com>
19903
19904 * configure.in (--enable-versioning): Remove configure option.
19905 (libc_cv_asm_symver_directive): Remove configure test.
19906 (libc_cv_ld_version_script_option): Likewise.
19907 (VERSIONING): Remove variable and AC_SUBST.
19908 (DO_VERSIONING): Remove AC_DEFINE.
19909 * configure: Regenerated.
19910 * config.h.in (DO_VERSIONING): Remove macro.
19911 * Makerules [$(versioning) = yes]: Change conditionals to
19912 [$(build-shared) = yes].
19913 * config.make.in (versioning): Remove variable.
19914 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
19915 [$(build-shared) = yes].
19916 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
19917 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
19918 * elf/Makefile [$(versioning) = yes]: Change conditionals to
19919 [$(build-shared) = yes].
19920 * extra-lib.mk [$(versioning) = yes]: Likewise.
19921 * hurd/Makefile [$(versioning) = yes]: Likewise.
19922 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
19923 [SHARED].
19924 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
19925 [SHARED].
19926 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19927 [SHARED && !NO_HIDDEN].
19928 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
19929 [SHARED].
19930 [SHARED && DO_VERSIONING]: Likewise..
19931 * libio/Makefile [$(versioning) = yes]: Change conditionals to
19932 [$(build-shared) = yes].
19933 * manual/install.texi (--disable-versioning): Remove
19934 documentation.
19935 * INSTALL: Regenerated.
19936 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
19937 to [SHARED].
19938 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
19939 [$(build-shared) = yes].
19940 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
19941 * sysdeps/i386/i686/multiarch/strstr-c.c
19942 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19943 [SHARED && !NO_HIDDEN].
19944 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
19945 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
19946 * sysdeps/powerpc/powerpc32/dl-machine.c
19947 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
19948 * sysdeps/powerpc/powerpc32/sysdep.h
19949 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
19950 to [SHARED && PIC && !NO_HIDDEN].
19951 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
19952 conditional to [SHARED].
19953
44558701
WN
199542013-09-04 Will Newton <will.newton@linaro.org>
19955
19956 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
19957 * benchtests/bench-string.h: Include bench-timing.h instead
19958 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
19959 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
19960 call to HP_TIMING_DIFF_INIT.
19961 * benchtests/bench-memccpy.c: Use bench-timing.h macros
19962 instead of hp-timing.h macros.
19963 * benchtests/bench-memchr.c: Likewise.
19964 * benchtests/bench-memcmp.c: Likewise.
19965 * benchtests/bench-memcpy.c: Likewise.
19966 * benchtests/bench-memmem.c: Likewise.
19967 * benchtests/bench-memmove.c: Likewise.
19968 * benchtests/bench-memset.c: Likewise.
19969 * benchtests/bench-rawmemchr.c: Likewise.
19970 * benchtests/bench-strcasecmp.c: Likewise.
19971 * benchtests/bench-strcasestr.c: Likewise.
19972 * benchtests/bench-strcat.c: Likewise.
19973 * benchtests/bench-strchr.c: Likewise.
19974 * benchtests/bench-strcmp.c: Likewise.
19975 * benchtests/bench-strcpy.c: Likewise.
19976 * benchtests/bench-strcpy_chk.c: Likewise.
19977 * benchtests/bench-strlen.c: Likewise.
19978 * benchtests/bench-strncasecmp.c: Likewise.
19979 * benchtests/bench-strncat.c: Likewise.
19980 * benchtests/bench-strncmp.c: Likewise.
19981 * benchtests/bench-strncpy.c: Likewise.
19982 * benchtests/bench-strnlen.c: Likewise.
19983 * benchtests/bench-strpbrk.c: Likewise.
19984 * benchtests/bench-strrchr.c: Likewise.
19985 * benchtests/bench-strspn.c: Likewise.
19986 * benchtests/bench-strstr.c: Likewise.
19987
cae16d66
WN
199882013-09-04 Will Newton <will.newton@linaro.org>
19989
19990 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
19991
ffa3cd7f
JM
199922013-09-03 Joseph Myers <joseph@codesourcery.com>
19993
19994 [BZ #15427]
19995 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19996 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
19997 * math/libm-test.inc (lgamma_test_data): Add more tests.
19998 * sysdeps/i386/fpu/libm-test-ulps: Update.
19999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20000
8f02859f
OB
200012013-09-03 Ondřej Bílka <neleai@seznam.cz>
20002
20003 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
20004 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20005 Add ifunc.
20006 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20007 Add strcmp-sse2-unaligned
20008 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
20009
18d43716
MF
200102013-09-02 Mike Frysinger <vapier@gentoo.org>
20011
20012 * Versions.def (libc): Add GLIBC_2.19.
20013
ac444012
MF
200142013-09-02 Mike Frysinger <vapier@gentoo.org>
20015
20016 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
20017 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
20018
b7835e32
JM
200192013-09-02 Joseph Myers <joseph@codesourcery.com>
20020
20021 [BZ #14155]
20022 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
20023 intermediate calculations in recurrence.
20024 (__ieee754_ynf): Likewise.
20025 * math/libm-test.inc (jn_test_data): Do not allow spurious
20026 underflow exception. Add more tests.
20027 (yn_test_data): Add more tests.
20028 * sysdeps/i386/fpu/libm-test-ulps: Update.
20029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20030
8220f4f0
OB
200312013-09-02 Ondřej Bílka <neleai@seznam.cz>
20032
20033 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
20034
f24a6d08
OB
200352013-08-30 Ondřej Bílka <neleai@seznam.cz>
20036
20037 * csu/init-first.c: Fix then/than typos.
20038 * locale/programs/ld-collate.c: Likewise.
20039 * locale/programs/linereader.h: Likewise.
20040 * manual/charset.texi: Likewise.
20041 * manual/filesys.texi: Likewise.
20042 * manual/stdio.texi: Likewise.
20043 * manual/string.texi: Likewise.
20044 * stdlib/fmtmsg.c: Likewise.
20045 * sysdeps/i386/stpncpy.S: Likewise.
20046 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20047 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20048 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20049 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20050
382466e0
OB
200512013-08-30 Ondřej Bílka <neleai@seznam.cz>
20052
20053 * elf/dl-open.c: Fix typos.
20054 * iconvdata/gbbig5.c: Likewise.
20055 * iconvdata/iso-2022-jp.c: Likewise.
20056 * iconv/gconv_int.h: Likewise.
20057 * iconv/loop.c: Likewise.
20058 * nis/rpcsvc/nis.h: Likewise.
20059 * resolv/ns_name.c: Likewise.
20060 * stdio-common/vfscanf.c: Likewise.
20061 * streams/stropts.h: Likewise.
20062 * sunrpc/rpc_thread.c: Likewise.
20063 * sysdeps/i386/strpbrk.S: Likewise.
20064 * sysdeps/ieee754/k_standard.c: Likewise.
20065 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20066 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20067 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
20068 * sysdeps/mach/hurd/profil.c: Likewise.
20069 * sysdeps/s390/dl-procinfo.h: Likewise.
20070 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
20071 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20072 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
20073 * sysdeps/x86_64/dl-trampoline.S: Likewise.
20074 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20075
0186c6e9
OB
200762013-08-30 Ondřej Bílka <neleai@seznam.cz>
20077
20078 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
20079 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
20080
d4e16af1
OB
200812013-08-29 Ondřej Bílka <neleai@seznam.cz>
20082
20083 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
20084 aix specific files.
20085 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
20086 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
20087 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
20088 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
20089 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
20090 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
20091 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
20092 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
20093
88335980
TS
200942013-08-29 Thomas Schwinge <thomas@codesourcery.com>
20095 Roland McGrath <roland@hack.frob.com>
20096
20097 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
20098 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
20099
ed479b02
ST
201002013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
20101
20102 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
20103 __executable_start symbol instead of _start.
20104
f1cc4c86
TS
201052013-08-29 Thomas Schwinge <thomas@codesourcery.com>
20106
d821f07c
TS
20107 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
20108 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
20109 Move macros to...
20110 * sysdeps/gnu/ldsodefs.h: ... this new file.
20111
c54290cf
TS
20112 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
20113 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
20114 instead of ELFOSABI_LINUX.
20115
0007fc9b 20116 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
20117 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
20118 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
20119 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
20120 Likewise.
20121 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
20122 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
20123 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
20124 Likewise.
20125 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20126 (ibm_extended_long_double): Add ieee_nan member.
20127 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
20128 (do_test): New function.
20129
f1cc4c86
TS
20130 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
20131 TEST_TRUNC.
20132 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
20133 functions, renamed from truncdfsf_test, trunctfsf_test,
20134 trunctfdf_test.
20135 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
20136 functions.
20137 (do_test): Run all these.
20138
6f65e668
OB
201392013-08-29 Ondřej Bílka <neleai@seznam.cz>
20140
20141 * argp/argp-help.c: Fix typos.
20142 * argp/argp-parse.c: Likewise.
20143 * debug/backtracesyms.c: Likewise.
20144 * elf/elf.h: Likewise.
20145 * malloc/malloc.c: Likewise.
20146 * nis/nis_print.c: Likewise.
20147 * resolv/res_comp.c: Likewise.
20148 * stdlib/stdlib.h: Likewise.
20149 * sunrpc/clnt_tcp.c: Likewise.
20150 * sunrpc/clnt_udp.c: Likewise.
20151 * sunrpc/clnt_unix.c: Likewise.
20152 * sysdeps/unix/bsd/ptsname.c: Likewise.
20153 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
20154 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
20155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
20156 Likewise.
20157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
20158 Likewise.
20159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20160 Likewise.
6f65e668
OB
20161 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20162
3a309239
SP
201632013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20164
20165 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
20166 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20167
3b813b29
MF
201682013-08-27 Mike Frysinger <vapier@gentoo.org>
20169
20170 [BZ #15897]
20171 * dlfcn/Makefile (tests): Add bug-dl-leaf.
20172 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
20173 ($(objpfx)bug-dl-leaf): New rule.
20174 ($(objpfx)bug-dl-leaf.so): Likewise.
20175 ($(objpfx)bug-dl-leaf.out): Likewise.
20176 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
20177 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
20178 * dlfcn/bug-dl-leaf.c: New test.
20179 * dlfcn/bug-dl-leaf-lib.c: Likewise.
20180 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
20181 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
20182 (dlclose): Likewise.
20183 (dlmopen): Likewise.
20184
8cc3269f
RM
201852013-08-27 Roland McGrath <roland@hack.frob.com>
20186
7f9d0034
RM
20187 * include/netdb.h [!_ISOMAC]:
20188 Don't include <tls.h>.
20189 (h_errno, __libc_h_errno): Move declaration and macros out of
20190 [_LIBC_REENTRANT].
20191
fb431262
RM
20192 * include/resolv.h [_RESOLV_H_]:
20193 Don't include <tls.h>.
20194 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
20195 * resolv/res_libc.c: Don't include <tls.h>.
20196 (_res): Use __attribute__ ((nocommon)) in place of
20197 __attribute__ ((section (".bss"))).
20198
bd81123a
RM
20199 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
20200 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
20201
c4e42566
RM
20202 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
20203
f890a59b
RM
20204 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
20205 only under [SIOCGIFCONF && SIOCGIFNETMASK].
20206
20207 * resolv/res_mkquery.c: Include <sys/time.h>.
20208
5d1f0a09
RM
20209 * inet/ifreq.c: Moved to ...
20210 * sysdeps/unix/ifreq.c: ... here.
20211 * inet/ifreq.c: New file, true stub version.
20212
6fcf28b3
RM
20213 * socket/sa_len.c: New file.
20214 * socket/Makefile (aux): Add it.
20215 * sysdeps/unix/sysv/linux/Makefile
20216 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
20217 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
20218 and #include <socket/sa_len.c>.
20219 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
20220 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
20221
e041fb8b
RM
20222 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
20223 * bits/socket.h: ... here.
20224
8cc3269f
RM
20225 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
20226 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
20227 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
20228
5d228a43
AS
202292013-08-27 Andreas Schwab <schwab@suse.de>
20230
45b8accc
AS
20231 [BZ #15736]
20232 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
20233 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
20234 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
20235 * string/test-strcasecmp.c (test_main): Run tests in several
20236 locales.
20237 * string/test-strncasecmp.c (test_main): Likewise.
20238
5d228a43
AS
20239 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
20240 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
20241 to __strcasecmp_nonascii and __strncasecmp_nonascii.
20242 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
20243 (__strncasecmp_ssse3) [PIC]: Likewise.
20244
59d112a4
RM
202452013-08-26 Roland McGrath <roland@hack.frob.com>
20246
53234cc3
RM
20247 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
20248
59d112a4
RM
20249 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
20250 instead of explicitly declaring xdecrypt.
20251 * nis/nss_nis/nis-publickey.c: Likewise.
20252
595aba70
SP
202532013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20254
20255 [BZ #15890]
20256 * nscd/aicache.c: Include res_hconf.h.
20257 (addhstaiX): Initialize res_hconf.
20258
ffabd393
AS
202592013-08-26 Andreas Schwab <schwab@suse.de>
20260
20261 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
20262 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
20263
e0a69f5c
SP
202642013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20265
20266 * nscd/aicache.c (addhstaiX): Fix indentation.
20267
8c12f01d
MF
202682013-08-25 Mike Frysinger <vapier@gentoo.org>
20269
20270 * configure.ac: Quote $build_pt_chown test.
20271 * configure: Regenerated.
20272
8fe89494
JM
202732013-08-23 Joseph Myers <joseph@codesourcery.com>
20274
20275 [BZ #15532]
20276 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
20277 * math/s_cexpf.c (__cexpf): Likewise.
20278 * math/s_cexpl.c (__cexpl): Likewise.
20279 * math/libm-test.inc (cexp_test_data): Correct expected return
20280 value for NaN + i0. Add another test.
20281
75b181d6
DM
202822013-08-22 David S. Miller <davem@davemloft.net>
20283
20284 * po/ca.po: Update Catalan translation from translation project.
936241e4 20285 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 20286
acd06bb1
JM
202872013-08-21 Joseph Myers <joseph@codesourcery.com>
20288
20289 [BZ #15797]
20290 * math/s_fdim.c (__fdim): Check for infinite arguments if result
20291 is infinite, not alongside NaN test.
20292 * math/s_fdimf.c (__fdimf): Likewise.
20293 * math/s_fdiml.c (__fdiml): Likewise.
20294 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
20295 errno is unchanged.
20296
c0c3f78a
OB
202972013-08-21 Ondřej Bílka <neleai@seznam.cz>
20298
20299 * argp/argp-help.c: Fix typos.
20300 * crypt/speeds.c: Likewise.
20301 * csu/check_fds.c: Likewise.
20302 * elf/dl-load.c: Likewise.
20303 * elf/dl-open.c: Likewise.
20304 * elf/reldep3.c: Likewise.
20305 * elf/reldep.c: Likewise.
20306 * elf/sprof.c: Likewise.
20307 * iconv/iconv_charmap.c: Likewise.
20308 * iconv/skeleton.c: Likewise.
20309 * iconv/strtab.c: Likewise.
20310 * io/lockf64.c: Likewise.
20311 * libio/libioP.h: Likewise.
20312 * resolv/gai_notify.c: Likewise.
20313 * resolv/ns_name.c: Likewise.
20314 * resolv/ns_samedomain.c: Likewise.
20315 * resolv/res_send.c: Likewise.
20316 * stdlib/random.c: Likewise.
20317 * sunrpc/rpc/xdr.h: Likewise.
20318 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
20319 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20320 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20321 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20322 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20323 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20324 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20325 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20326 * sysdeps/mach/hurd/check_fds.c: Likewise.
20327 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20328 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20329 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20330 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20331 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20332 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20333 * sysdeps/pthread/aio_notify.c: Likewise.
20334 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
20335 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
20336 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
20337 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20338 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20339
46ed1038
LD
203402013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20341
20342 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
20343 version if bit_Slow_SSE4_2 is set.
20344 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20345 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20346
d400dcac
AZ
203472013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20348
20349 [BZ #15867]
20350 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
20351 trampoline stack frame information.
20352 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
20353 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
20354 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
20355 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
20356 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
20357 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20358 (_libc_vdso_platform_setup): Initialize the signal trampolines.
20359 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
20360 sa_flags value.
20361 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
20362 interrupting a syscall and set with option SA_SIGINFO.
20363
42c8fdd8
JM
203642013-08-20 Joseph Myers <joseph@codesourcery.com>
20365
c980f2f4
JM
20366 [BZ #15531]
20367 * math/s_cproj.c (__cproj): Only return an infinity if one part of
20368 argument is infinite.
20369 * math/s_cprojf.c (__cprojf): Likewise.
20370 * math/s_cprojl.c (__cprojl): Likewise.
20371 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
20372 * math/libm-test.inc (cproj_test_data): Add more tests.
20373
0716c4fc
JM
20374 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
20375
42c8fdd8
JM
20376 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
20377 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
20378 size. Use __ffs to determine corresponding shift.
20379
b31469d0
JM
203802013-08-20 Joseph Myers <joseph@codesourcery.com>
20381 Roland McGrath <roland@hack.frob.com>
20382
20383 * Makefile (INSTALL): Remove trailing blank lines from output of
20384 makeinfo.
20385
4e39af6e
AK
203862013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20387
20388 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
20389 Align 32 bit compat elf_greg to 8 bytes.
20390
f315524e
AA
203912013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
20392
20393 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
20394
1326ba1a
SP
203952013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20396
20397 * string/strcoll_l.c (coll_seq): New structure.
20398 (get_next_seq_cached): New function.
20399 (get_next_seq): New function.
20400 (do_compare): New function.
20401 (STRCOLL): Use GNU style definition. Simplify implementation
20402 by using get_next_seq, get_next_seq_cached and do_compare.
20403
91ce4085
FW
204042013-08-16 Florian Weimer <fweimer@redhat.com>
20405
20406 [BZ #14699]
20407 CVE-2013-4237
20408 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
20409 member.
20410 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
20411 member.
20412 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
20413 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
20414 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
20415 conditional.
20416 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
20417 GETDENTS_64BIT_ALIGNED.
20418 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20419 * manual/filesys.texi (Reading/Closing Directory): Document
20420 ENAMETOOLONG return value of readdir_r. Recommend readdir more
20421 strongly.
20422 * manual/conf.texi (Limits for Files): Add portability note to
20423 NAME_MAX, PATH_MAX.
20424 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
20425
ca0a6bc4
AS
204262013-08-13 Andreas Schwab <schwab@suse.de>
20427
20428 [BZ #15749]
20429 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
20430 of fabs.
20431 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
20432 LDBL_MAX_EXP >= 16384]: Add tests for it.
20433
6c1fd795
DM
204342013-08-12 David S. Miller <davem@davemloft.net>
20435
20436 * version.h (RELEASE): Set to "development".
20437 (VERSION): Set to "2.18.90".
20438 * NEWS: Add 2.19 section.
20439
31ad488d
DM
204402013-08-03 David S. Miller <davem@davemloft.net>
20441
20442 * po/ko.po: Update Korean translation from translation project.
20443
db24e684
DM
204442013-08-01 David S. Miller <davem@davemloft.net>
20445
20446 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
20447 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
20448 Bilka.
20449
f723285b
DM
204502013-07-30 David S. Miller <davem@davemloft.net>
20451
20452 * po/fr.po: Update French translation from translation project.
20453
3cbc52db
DM
204542013-07-28 David S. Miller <davem@davemloft.net>
20455
30bbc0cc
DM
20456 * po/cs.po: Update Czech translation from translation project.
20457
3cbc52db
DM
20458 * po/sv.po: Update Swedish translation from translation project.
20459
d492e6d0
DM
204602013-07-27 David S. Miller <davem@davemloft.net>
20461
f1a7f492
DM
20462 * po/eo.po: Update Esperanto translation from translation project.
20463
90e62a4a
DM
20464 * po/vi.po: Update Vietnamese translation from translation project.
20465
d492e6d0
DM
20466 * po/de.po: Update German translation from translation project.
20467
d4baa62d
DM
204682013-07-26 David S. Miller <davem@davemloft.net>
20469
641aa7b4
DM
20470 * po/bg.po: Update Bulgarian translation from translation project.
20471
d4baa62d
DM
20472 * po/nl.po: Update Dutch translation from translation project.
20473 * po/pl.po: Update Polish translation from translation project.
20474 * po/ru.po: Update Russian translation from translation project.
20475
61a9dcb9
DM
204762013-07-24 David S. Miller <davem@davemloft.net>
20477
20478 * po/libc.pot: Update.
20479
7b1f8b58
AZ
204802013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20481
20482 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
20483 variable page size.
20484 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
20485 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
20486 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
20487
a8fc7a03
AK
204882013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20489
20490 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
20491
e4608715
CD
204922013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20493 Andreas Schwab <schwab@suse.de>
20494 Roland McGrath <roland@hack.frob.com>
20495 Joseph Myers <joseph@codesourcery.com>
20496 Carlos O'Donell <carlos@redhat.com>
20497
20498 [BZ #15755]
20499 * config.h.in: Define HAVE_PT_CHOWN.
20500 * config.make.in (build-pt-chown): New variable.
20501 * configure.in (--enable-pt_chown): New configure option.
20502 * configure: Regenerate.
20503 * login/Makefile: Include Makeconfig. Build pt_chown only if
20504 build-pt-chown is enabled.
20505 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
20506 pt_chown to fix pty ownership.
20507 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
20508 CLOSE_ALL_FDS.
20509 * manual/install.texi (Configuring and compiling): Mention
20510 --enable-pt_chown. Add @findex for grantpt.
20511 * INSTALL: Regenerate.
20512
da2d62df
DM
205132013-07-20 David S. Miller <davem@davemloft.net>
20514
20515 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
20516 difference between 32-bit and 64-bit.
20517
d7e06450
CD
205182013-07-15 Carlos O'Donell <carlos@redhat.com>
20519
20520 [BZ #15711]
20521 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
20522 Avoid system header dependency with -ffreestanding.
20523 ($(objpfx)bits/syscall%d): Likewise.
20524
f959cfd7
DM
205252013-07-13 David S. Miller <davem@davemloft.net>
20526
20527 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
20528 underflows from atanl/atan2l due to bug 15319.
20529 (casinh_test_data): Likewise.
20530
c61f8513
DM
205312013-07-07 David S. Miller <davem@davemloft.net>
20532
20533 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20534
72c90ed0
JA
205352013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
20536
20537 * sysdeps/i386/fpu/libm-test-ulps: Update.
20538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20539
52dfbe13
SP
205402013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20541
20542 * configure.in (--enable-lock-elision): Fix message text.
20543 * INSTALL: Regenerate.
20544 * configure: Regenerate.
20545
3f169543
AZ
205462013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20547
20548 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20549
521c6785
AJ
205502013-07-03 Andreas Jaeger <aj@suse.de>
20551
20552 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
20553 define.
20554 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
20555 (ptrace_peeksiginfo_args): Add.
20556 (__ptrace_peeksiginfo_flags): Add.
20557 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20558 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20559 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20560
d2cc15cb
AM
205612013-07-03 Allan McRae <allan@archlinux.org>
20562
20563 * sysdeps/i386/fpu/libm-test-ulps: Update.
20564
3aaeeca7
DM
205652013-07-02 David S. Miller <davem@davemloft.net>
20566
20567 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20568
5314ed1a
MT
205692013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
20570
20571 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20572
67338156
JM
205732013-07-02 Joseph Myers <joseph@codesourcery.com>
20574
20575 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20577
1717da59
AK
205782013-07-02 Andi Kleen <ak@linux.intel.com>
20579
20580 * config.h.in (ENABLE_LOCK_ELISION): Add.
20581 * configure.in (--enable-lock-elision): Add option.
20582 * manual/install.texi: Document --enable lock elision.
20583 * configure: Regenerate
20584 * INSTALL: Regenerate.
20585
1c81621c
L
205862013-07-02 H.J. Lu <hongjiu.lu@intel.com>
20587
20588 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
20589 SSE4.2 strcasecmp for libc.a.
20590 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20591
77f01ab5
JM
205922013-07-02 Joseph Myers <joseph@codesourcery.com>
20593
20594 [BZ #13304]
20595 * soft-fp/op-common.h (_FP_FMA): New macro.
20596 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
20597 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
20598 (_FP_MUL_MEAT_1_imm): ... here.
20599 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
20600 (_FP_MUL_MEAT_1_wide): ... here.
20601 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
20602 (_FP_MUL_MEAT_1_hard): ... here.
20603 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
20604 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
20605 (_FP_MUL_MEAT_2_wide): ... here.
20606 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
20607 (_FP_MUL_MEAT_2_wide_3mul): ... here.
20608 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
20609 (_FP_MUL_MEAT_2_gmp): ... here.
20610 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
20611 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
20612 (_FP_MUL_MEAT_4_wide): ... here.
20613 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
20614 (_FP_MUL_MEAT_4_gmp): ... here.
20615 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
20616 (_FP_WFRACBITS_DW_S): Likewise.
20617 (_FP_WFRACXBITS_DW_S): Likewise.
20618 (_FP_HIGHBIT_DW_S): Likewise.
20619 (FP_FMA_S): Likewise.
20620 (_FP_FRAC_HIGH_DW_S): Likewise.
20621 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
20622 (_FP_WFRACBITS_DW_D): Likewise.
20623 (_FP_WFRACXBITS_DW_D): Likewise.
20624 (_FP_HIGHBIT_DW_D): Likewise.
20625 (FP_FMA_D): Likewise.
20626 (_FP_FRAC_HIGH_DW_D): Likewise.
20627 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
20628 (_FP_WFRACBITS_DW_E): Likewise.
20629 (_FP_WFRACXBITS_DW_E): Likewise.
20630 (_FP_HIGHBIT_DW_E): Likewise.
20631 (FP_FMA_E): Likewise.
20632 (_FP_FRAC_HIGH_DW_E): Likewise.
20633 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
20634 (_FP_WFRACBITS_DW_Q): Likewise.
20635 (_FP_WFRACXBITS_DW_Q): Likewise.
20636 (_FP_HIGHBIT_DW_Q): Likewise.
20637 (FP_FMA_Q): Likewise.
20638 (_FP_FRAC_HIGH_DW_Q): Likewise.
20639 * soft-fp/fmasf4.c: New file.
20640 * soft-fp/fmadf4.c: Likewise.
20641 * soft-fp/fmatf4.c: Likewise.
20642
6308fd9a
LD
206432013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20644
20645 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20646 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
20647 Silvermont.
20648 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
20649 macro.
20650 (index_Slow_SSE4_2): Likewise.
20651 (index_Prefer_PMINUB_for_stringop): Likewise.
20652 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
20653 bit_Slow_SSE4_2 is set.
20654 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20655 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20656
89cd9569
RA
206572013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20658
20659 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
20660 rtld_global._dl_hwcap2.
20661 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
20662 POWER8.
20663 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
20664 POWER8 feature descriptions defined in _dl_hwcap2.
20665 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
20666 string handling for POWER8 feature bits.
20667 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
20668 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
20669 _dl_powerpc_cap_flags.
20670 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
20671 * sysdeps/powerpc/rtld-global-offsets.sym
20672 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
20673 _dl_hwcap2 in the rtld_global_ro structure.
20674
1ae8bfe0
RA
206752013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20676
20677 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
20678 hardware capabilities in support of AT_HWCAP2.
20679 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
20680 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
20681 GLRO(dl_hwcap2).
20682 (_dl_show_auxv): Add support for calling _dl_procinfo to display
20683 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
20684 explicitly the unknown a_type display mechanism is used.
20685 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
20686 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
20687 struct member.
20688 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
20689 to macro prototype for AT_HWCAP2 support.
20690 * sysdeps/i386/dl-procinfo.h: Likewise.
20691 * sysdeps/s390/dl-procinfo.h: Likewise.
20692 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
20693 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
20694 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
20695 return -1 for unknown a_type display fallback.
20696 * sysdeps/sparc/dl-procinfo.h: Likewise.
20697 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
20698 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
20699
8fbec010
JM
207002013-06-28 Joseph Myers <joseph@codesourcery.com>
20701
20702 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
20703 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
20704
0432680e
PY
207052013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
20706
20707 [BZ #12492]
20708 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
20709 mprotect making __stack_prot writable.
20710
ce61a2ad
NF
207112013-06-28 Nathan Froyd <froydnj@codesourcery.com>
20712 Joseph Myers <joseph@codesourcery.com>
20713
20714 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20715 as being properly aligned.
20716
f91f1c0f
MR
207172013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
20718
3d0f5d0c
MR
20719 * dlfcn/modstatic5.c: New file.
20720 * dlfcn/tststatic5.c: New file.
20721 * dlfcn/Makefile (tests): Add tststatic5.
20722 (tests-static): Likewise.
20723 (modules-names): Add modstatic5.
20724 (tststatic5-ENV): New variable.
20725 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20726
f91f1c0f
MR
20727 [BZ #15022]
20728 * elf/dl-support.c (_dl_main_map): New variable.
20729 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20730 (_dl_nns, _dl_load_adds): Set to 1.
20731 (_dl_initial_searchlist): Refer to _dl_main_map.
20732 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20733 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20734 call to _dl_get_origin.
20735 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20736 around call_map.
20737 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20738 * dlfcn/modstatic3.c: New file.
20739 * dlfcn/tststatic3.c: New file.
20740 * dlfcn/tststatic4.c: New file.
20741 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20742 (tests-static): Likewise.
20743 (modules-names): Add modstatic3.
20744 (tststatic3-ENV, tststatic4-ENV): New variables.
20745 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20746 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20747
cbe7d24b
JM
207482013-06-26 Joseph Myers <joseph@codesourcery.com>
20749
20750 * configure.in (CC): Require GCC version 4.4 or later.
20751 * configure: Regenerated.
20752 * manual/install.texi (Tools for Compilation): Update GCC version
20753 requirement.
20754 * INSTALL: Regenerated.
20755
11b8a0e1
LD
207562013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20757
20758 [BZ #15674]
bb5bb87c
L
20759 * string/test-memcmp.c (check2): New.
20760 (main): Call check2.
20761
11b8a0e1
LD
20762 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20763
b0037103
MR
207642013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
20765
20766 [BZ #15022]
20767 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20768 over to...
20769 (dl_open_worker) [!SHARED]: ... here.
20770
c18c701d
RA
207712013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20772
20773 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20774
1d17fa5f
RH
207752013-06-25 Richard Henderson <rth@redhat.com>
20776
20777 * locale/programs/locarchive.c: Include <libc-internal.h>
20778
8fcb833a
JM
207792013-06-25 Joseph Myers <joseph@codesourcery.com>
20780
20781 * manual/texinfo.tex: Update to version 2013-06-21.17, with
20782 trailing whitespace removed.
20783
17db6e8d
MF
207842013-06-24 Mike Frysinger <vapier@gentoo.org>
20785
20786 [BZ #10283]
17db6e8d
MF
20787 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20788 * locale/programs/locarchive.c: Include libc-mmap.h.
20789 (prepare_address_space): Take two new outputs (the mmap base and len).
20790 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
20791 values.
20792 (create_archive): Declare new mmap base and len values for
20793 prepare_address_space, and store the result in ah.
20794 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20795 (enlarge_archive): If ah->mmap_base is not NULL, use that and
20796 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20797 Declare new mmap base and len values for
20798 prepare_address_space, and store the result in new_ah.
20799 (open_archive): Declare new mmap base and len values for
20800 prepare_address_space, and store the result in ah.
20801 (close_archive): If ah->mmap_base is not NULL, use that and
20802 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20803 * sysdeps/generic/libc-mmap.h: New file.
20804
d605071e
MF
208052013-06-24 Mike Frysinger <vapier@gentoo.org>
20806
20807 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
20808 (ALIGN_UP): Likewise.
20809 (PTR_ALIGN_DOWN): Likewise.
20810 (PTR_ALIGN_UP): Likewise.
20811
2f063a6e
RA
208122013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20813
20814 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
20815 entry mapped to PPC_PLATFORM_POWER8.
20816 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
20817 POWER8.
20818 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
20819 (_dl_string_platform): Add case for exporting platform position for
20820 POWER8.
20821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
20822 search path to sysdeps/powerpc/powerpc32/power8 directory.
20823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
20824 search path to sysdeps/powerpc/powerpc64/power8 directory.
20825 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
20826 power7 directories.
20827 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
20828 power7 directories.
20829
a31ee4b3
SP
208302013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20831
a74ca98f
SP
20832 * INSTALL: Regenerate.
20833
a31ee4b3
SP
20834 * nscd/connections.c (nscd_init): Fix comment.
20835
695c378f
JM
208362013-06-22 Joseph Myers <joseph@codesourcery.com>
20837
d8412221
JM
20838 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
20839
695c378f
JM
20840 [BZ #15667]
20841 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
20842 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
20843
d1d54715
MR
208442013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20845
20846 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
20847 DL_DST_REQ_STATIC.
20848 (DL_DST_REQ_STATIC): Remove macro.
20849
8fdda7af
JM
208502013-06-21 Joseph Myers <joseph@codesourcery.com>
20851
20852 [BZ #7006]
20853 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
20854 with a shift of 0 bits.
20855
f3bc5e5a
MR
208562013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20857
20858 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
20859 $(tststatic-ENV).
20860
be09e8c9
KK
208612013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20862
20863 [BZ #15655]
20864 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
20865
85c2e611
AZ
208662013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20867
20868 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
20869 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
20870 accepts -fno-tree-loop-distribute-patterns.
20871 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
20872 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
20873 recursive call.
20874 * string/memset.c (memset): Likewise.
20875 * string/test-memmove.c (simple_memmove): Disable loop transformation
20876 to library calls.
20877 * string/test-memset.c (simple_memset): Likewise.
20878 * benchtests/bench-memmove.c (simple_memmove): Likewise.
20879 * benchtests/bench-memset.c (simple_memset): Likewise.
20880 * configure: Regenerated.
20881
c91e0825
JM
208822013-06-20 Joseph Myers <joseph@codesourcery.com>
20883
b8c792af
JM
20884 * math/test-misc.c (main): Ignore fesetround failure when failures
20885 of subsequent rounding tests would be ignored.
20886
c91e0825
JM
20887 [BZ #15654]
20888 * math/fedisblxcpt.c (fedisableexcept): Return 0.
20889 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
20890 * math/fegetenv.c (__fegetenv): Return 0.
20891 * math/fegetexcept.c (fegetexcept): Return 0.
20892 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
20893 FE_TONEAREST.
20894 * math/feholdexcpt.c (feholdexcept): Return 0.
20895 * math/fesetenv.c (__fesetenv): Return 0.
20896 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
20897 argument FE_TONEAREST.
20898 * math/feupdateenv.c (__feupdateenv): Return 0.
20899 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
20900
bfcacbde
RM
209012013-06-18 Roland McGrath <roland@hack.frob.com>
20902
20903 * elf/rtld-Rules (rtld-compile-command.S): New variable.
20904 (rtld-compile-command.s, rtld-compile-command.c): New variables.
20905 ($(objpfx)rtld-%.os rules): Use them.
20906
e55a9b25
AZ
209072013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20908
20909 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
20910 fields.
20911
346d65b3
RM
209122013-06-17 Roland McGrath <roland@hack.frob.com>
20913
12086fb4
RM
20914 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
20915 length of target pattern, then descending length of dependency pattern.
20916 * configure.in (AWK): Require gawk 3.1.2 or newer.
20917 * manual/install.texi (Tools for Compilation): Say that we do.
20918 * configure: Regenerated.
20919
346d65b3
RM
20920 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
20921 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
20922 * scripts/sysd-rules.awk: ... this new script.
20923 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
20924 than a glob-style pattern.
20925
1a846317
JM
209262013-06-17 Joseph Myers <joseph@codesourcery.com>
20927
20928 * math/test-misc.c (main): Do not treat incorrectly rounded
20929 conversions as failure unless ROUNDING_TESTS passes.
20930
8fc75e6f
JM
209312013-06-15 Joseph Myers <joseph@codesourcery.com>
20932
3711a167
JM
20933 [BZ #15631]
20934 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
20935 restore exception state around main square root computation, then
20936 check for inexactness explicitly.
20937
8fc75e6f
JM
20938 * math/libm-test.inc (fma_test_data): Add another test.
20939
61dd6208
SP
209402013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20941
adf23d2c
SP
20942 * manual/threads.texi (Non-POSIX Extensions): New document
20943 node. Document pthread_getattr_default_np and
20944 pthread_setattr_default_np.
20945
61dd6208
SP
20946 * Versions.def (libpthread): Add GLIBC_2.18.
20947 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
20948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
20949 Likewise.
20950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20951 Likewise.
20952 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20953 Likewise.
20954 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20955 Likewise.
20956 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
20957 Likewise.
20958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20959 Likewise.
20960 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20961 Likewise.
20962 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20963 Likewise.
20964 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20965 Likewise.
20966
d086fc7b
LD
209672013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20968
20969 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20970 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
20971
747ef469
SP
209722013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20973 H.J. Lu <hjl.tools@gmail.com>
20974
20975 [BZ #15627]
20976 * sysdeps/x86_64/rtld-memset.c: Remove file.
20977 * sysdeps/x86_64/rtld-memset.S: New file.
20978
1b2feed2
JM
209792013-06-14 Joseph Myers <joseph@codesourcery.com>
20980
20981 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
20982 (test_in_one_mode): Take arguments for whether the rounding mode
20983 is supported for each floating-point type.
20984 (do_test): Pass new arguments to test_in_one_mode using
20985 ROUNDING_TESTS.
20986
a58ad3f8
RM
209872013-06-13 Roland McGrath <roland@hack.frob.com>
20988
20989 * posix/tst-waitid.c (do_test): Distinguish different instances of
20990 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
20991 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
20992 before entering the kernel for waitpid.
20993
c204ab28
SP
209942013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20995
20996 * NEWS: Fix note on clock function precision. Text by Roland
20997 McGrath.
20998
f4a29fba
RM
209992013-06-13 Roland McGrath <roland@hack.frob.com>
21000
21001 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
21002 it into place only when and if the sanity check passes.
21003
1f24b9ad
JM
210042013-06-13 Joseph Myers <joseph@codesourcery.com>
21005
21006 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
21007 output for whether conversion result is exact. Take argument
21008 indicating whether type is IBM long double.
21009 (round_for_all): Change need_exact field to ibm_ld.
21010 * stdlib/tst-strtod-round.c (struct exactness): New type.
21011 (struct test): Change bool ld_ok field to struct exactness exact.
21012 (TEST): Update all definitions for change to field.
21013 (tests): Regenerate array contents.
21014 (test_in_one_mode): Take pointer to new field instead of old ld_ok
21015 field value. Check for IBM long double here.
21016 (do_test): Update calls to test_in_one_mode.
21017
58206c68
SP
210182013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21019
21020 [BZ #12515]
21021 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
21022 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
21023
2d6f4c5b 210242013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
21025
21026 [BZ #15605]
21027 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
21028 generated by the compiler on loop optimizations.
21029 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
21030 general definitions.
21031
94f2c076
JM
210322013-06-12 Joseph Myers <joseph@codesourcery.com>
21033
21034 * math/bug-nextafter.c: Include <math-tests.h>.
21035 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21036 the relevant type.
21037 * math/bug-nexttoward.c: Include <math-tests.h>.
21038 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21039 the relevant type.
21040 * math/test-misc.c: Include <math-tests.h>.
21041 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21042 the relevant type.
21043
e0e50a0a
AJ
210442013-06-12 Andreas Jaeger <aj@suse.de>
21045
21046 * po/ia.po: Update Interlingua translation from translation
21047 project.
21048
25061094
SP
210492013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21050
21051 * include/fenv.h: Include stdbool.h.
21052 (struct rm_ctx): New structure.
21053 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
21054 Define macro.
21055 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
21056 (SET_RESTORE_ROUNDF): Likewise.
21057 (SET_RESTORE_ROUNDL): Likewise.
21058 (SET_RESTORE_ROUND_NOEX): Likewise.
21059 (SET_RESTORE_ROUND_NOEXF): Likewise.
21060 (SET_RESTORE_ROUND_NOEXL): Likewise.
21061 (SET_RESTORE_ROUND_53BIT): Likewise.
21062 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
21063 (libc_feresetround_noexf_ctx): Likewise.
21064 (libc_feresetround_noexl_ctx): Likewise.
21065 (libc_feholdsetround_53bit_ctx): Likewise.
21066 (libc_feresetround_53bit_ctx): Likewise.
21067 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
21068 (libc_feholdexcept_setround_sse_ctx): New function.
21069 (libc_fesetenv_sse_ctx): Likewise.
21070 (libc_feupdateenv_sse_ctx): Likewise.
21071 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
21072 (libc_feholdexcept_setround_387_ctx): Likewise.
21073 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
21074 (libc_feholdsetround_387_prec_ctx): Likewise.
21075 (libc_feholdsetround_387_ctx): Likewise.
21076 (libc_feholdsetround_387_53bit_ctx): Likewise.
21077 (libc_feholdsetround_sse_ctx): Likewise.
21078 (libc_feresetround_sse_ctx): Likewise.
21079 (libc_feresetround_387_ctx): Likewise.
21080 (libc_feupdateenv_387_ctx): Likewise.
21081 (libc_feholdexcept_setroundf_ctx): Define macro.
21082 (libc_fesetenvf_ctx): Likewise.
21083 (libc_feupdateenvf_ctx): Likewise.
21084 (libc_feholdsetroundf_ctx): Likewise.
21085 (libc_feresetroundf_ctx): Likewise.
21086 (libc_feholdexcept_setround_ctx): Likewise.
21087 (libc_fesetenv_ctx): Likewise.
21088 (libc_feupdateenv_ctx): Likewise.
21089 (libc_feholdsetround_ctx): Likewise.
21090 (libc_feresetround_ctx): Likewise.
21091 (libc_feholdexcept_setroundl_ctx): Likewise.
21092 (libc_feupdateenvl_ctx): Likewise.
21093 (libc_feholdsetroundl_ctx): Likewise.
21094 (libc_feresetroundl_ctx): Likewise.
21095 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
21096 (libc_feresetround_53bit_ctx): Likewise.
21097
59b30555
SP
210982013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21099
21100 * locale/iso-639.def: Convert to UTF-8.
21101
f1d73d30
JM
211022013-06-11 Joseph Myers <joseph@codesourcery.com>
21103
21104 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
21105 (EXCEPTION_TESTS_double): Likewise.
21106 (EXCEPTION_TESTS_long_double): Likewise.
21107 (EXCEPTION_TESTS): Likewise.
21108 * math/libm-test.inc (test_exceptions): Only test exceptions if
21109 EXCEPTION_TESTS (FLOAT).
21110
94aca5e7
SP
211112013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21112
21113 * benchtests/Makefile (string-bench): Add strcpy_chk and
21114 stpcpy_chk.
21115 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
21116 * benchtests/bench-stpcpy_chk.c: New file.
21117 * benchtests/bench-strcpy_chk-ifunc.c: New file.
21118 * benchtests/bench-strcpy_chk.c: New file.
21119 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
21120 code.
21121 (do_test): Likewise.
21122
fac0c5f2
RA
211232013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21124
21125 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
21126 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
21127 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
21128 with tabs where appropriate.
21129 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
21130 dl-procinfo.h.
21131 [PPC_PLATFORM_PPC440]: Likewise.
21132 [PPC_PLATFORM_PPC464]: Likewise.
21133 [PPC_PLATFORM_PPC476]: Likewise.
21134 (_dl_string_platform): Add support for detecting ppc405, ppc440,
21135 ppc464, and ppc476 platform strings merging from ports/
21136 dl-procinfo.h.
21137
f22bc486
AS
211382013-06-11 Andreas Schwab <schwab@suse.de>
21139
21140 [BZ #14991]
21141 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
21142 (from_ucs4_idx): Regenerate.
21143 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
21144 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
21145 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
21146 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
21147 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
21148 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
21149 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
21150 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
21151 from FROM_LOOP and TO_LOOP specific macros.
21152 (BODY): Handle combining characters.
21153 * iconvdata/BIG5HKSCS.irreversible: Update.
21154 * iconvdata/BIG5HKSCS.precomposed: New file.
21155 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
21156 characters.
21157 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
21158
c1f75dc3
SP
211592013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21160
4eacded2
SP
21161 * include/sys/time.h: Fix indentation and add copyright header.
21162
fec799f8
SP
21163 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
21164 (do_test): Likewise.
21165 * string/test-memchr.c (do_one_test): Likewise.
21166 (do_test): Likewise.
21167 * string/test-memcmp.c (do_one_test): Likewise.
21168 (do_test): Likewise.
21169 * string/test-memcpy.c (do_one_test): Likewise.
21170 (do_test): Likewise.
21171 * string/test-memmem.c (do_one_test): Likewise.
21172 (do_test): Likewise.
21173 (do_random_tests): Likewise.
21174 * string/test-memmove.c (do_one_test): Likewise.
21175 (do_test): Likewise.
21176 * string/test-memset.c (do_one_test): Likewise.
21177 (do_test): Likewise.
21178 * string/test-rawmemchr.c (do_one_test): Likewise.
21179 (do_test): Likewise.
21180 * string/test-strcasecmp.c (do_one_test): Likewise.
21181 (do_test): Likewise.
21182 * string/test-strcasestr.c (do_one_test): Likewise.
21183 (do_test): Likewise.
21184 * string/test-strcat.c (do_one_test): Likewise.
21185 (do_test): Likewise.
21186 * string/test-strchr.c (do_one_test): Likewise.
21187 (do_test): Likewise.
21188 * string/test-strcmp.c (do_one_test): Likewise.
21189 (do_test): Likewise.
21190 * string/test-strcpy.c (do_one_test): Likewise.
21191 (do_test): Likewise.
21192 * string/test-string.h: Likewise.
21193 (test_init): Likewise.
21194 * string/test-strlen.c (do_one_test): Likewise.
21195 (do_test): Likewise.
21196 * string/test-strncasecmp.c (do_one_test): Likewise.
21197 (do_test): Likewise.
21198 * string/test-strncat.c (do_one_test): Likewise.
21199 (do_test): Likewise.
21200 * string/test-strncmp.c (do_one_test): Likewise.
21201 (do_test_limit): Likewise.
21202 (do_test): Likewise.
21203 * string/test-strncpy.c (do_one_test): Likewise.
21204 (do_test): Likewise.
21205 * string/test-strnlen.c (do_one_test): Likewise.
21206 (do_test): Likewise.
21207 * string/test-strpbrk.c (do_one_test): Likewise.
21208 (do_test): Likewise.
21209 * string/test-strrchr.c (do_one_test): Likewise.
21210 (do_test): Likewise.
21211 * string/test-strspn.c (do_one_test): Likewise.
21212 (do_test): Likewise.
21213 * string/test-strstr.c (do_one_test): Likewise.
21214 (do_test): Likewise.
21215
97020474
SP
21216 * benchtests/Makefile (string-bench): Add string benchmarks.
21217 * benchtests/bench-bcopy-ifunc.c: New file.
21218 * benchtests/bench-bcopy.c: New file.
21219 * benchtests/bench-bzero-ifunc.c: New file.
21220 * benchtests/bench-bzero.c: New file.
21221 * benchtests/bench-memccpy-ifunc.c: New file.
21222 * benchtests/bench-memccpy.c: New file.
21223 * benchtests/bench-memchr-ifunc.c: New file.
21224 * benchtests/bench-memchr.c: New file.
21225 * benchtests/bench-memcmp-ifunc.c: New file.
21226 * benchtests/bench-memcmp.c: New file.
21227 * benchtests/bench-memmem-ifunc.c: New file.
21228 * benchtests/bench-memmem.c: New file.
21229 * benchtests/bench-memmove-ifunc.c: New file.
21230 * benchtests/bench-memmove.c: New file.
21231 * benchtests/bench-mempcpy-ifunc.c: New file.
21232 * benchtests/bench-mempcpy.c: New file.
21233 * benchtests/bench-memset-ifunc.c: New file.
21234 * benchtests/bench-memset.c: New file.
21235 * benchtests/bench-rawmemchr-ifunc.c: New file.
21236 * benchtests/bench-rawmemchr.c: New file.
21237 * benchtests/bench-stpcpy-ifunc.c: New file.
21238 * benchtests/bench-stpcpy.c: New file.
21239 * benchtests/bench-stpncpy-ifunc.c: New file.
21240 * benchtests/bench-stpncpy.c: New file.
21241 * benchtests/bench-strcasecmp-ifunc.c: New file.
21242 * benchtests/bench-strcasecmp.c: New file.
21243 * benchtests/bench-strcasestr-ifunc.c: New file.
21244 * benchtests/bench-strcasestr.c: New file.
21245 * benchtests/bench-strcat-ifunc.c: New file.
21246 * benchtests/bench-strcat.c: New file.
21247 * benchtests/bench-strchr-ifunc.c: New file.
21248 * benchtests/bench-strchr.c: New file.
21249 * benchtests/bench-strchrnul-ifunc.c: New file.
21250 * benchtests/bench-strchrnul.c: New file.
21251 * benchtests/bench-strcmp-ifunc.c: New file.
21252 * benchtests/bench-strcmp.c: New file.
21253 * benchtests/bench-strcpy-ifunc.c: New file.
21254 * benchtests/bench-strcpy.c: New file.
21255 * benchtests/bench-strcspn-ifunc.c: New file.
21256 * benchtests/bench-strcspn.c: New file.
21257 * benchtests/bench-strlen-ifunc.c: New file.
21258 * benchtests/bench-strlen.c: New file.
21259 * benchtests/bench-strncasecmp-ifunc.c: New file.
21260 * benchtests/bench-strncasecmp.c: New file.
21261 * benchtests/bench-strncat-ifunc.c: New file.
21262 * benchtests/bench-strncat.c: New file.
21263 * benchtests/bench-strncmp-ifunc.c: New file.
21264 * benchtests/bench-strncmp.c: New file.
21265 * benchtests/bench-strncpy-ifunc.c: New file.
21266 * benchtests/bench-strncpy.c: New file.
21267 * benchtests/bench-strnlen-ifunc.c: New file.
21268 * benchtests/bench-strnlen.c: New file.
21269 * benchtests/bench-strpbrk-ifunc.c: New file.
21270 * benchtests/bench-strpbrk.c: New file.
21271 * benchtests/bench-strrchr-ifunc.c: New file.
21272 * benchtests/bench-strrchr.c: New file.
21273 * benchtests/bench-strspn-ifunc.c: New file.
21274 * benchtests/bench-strspn.c: New file.
21275 * benchtests/bench-strstr-ifunc.c: New file.
21276 * benchtests/bench-strstr.c: New file.
21277
c1f75dc3
SP
21278 * benchtests/Makefile: Disable parallel execution of targets.
21279 (string-bench): Add memcpy.
21280 (benchset): New variable to store a list of benchmark sets.
21281 (bench-func): Renamed from bench.
21282 (bench-set): New target.
21283 (bench): Depend on bench-func and bench-set.
21284 * benchtests/README: Add section on benchmark sets.
21285 * benchtests/bench-memcpy-ifunc.c: New file.
21286 * benchtests/bench-memcpy.c: New file.
21287 * benchtests/bench-string.h: New file.
21288
50fd745b
AS
212892013-06-11 Andreas Schwab <schwab@suse.de>
21290
21291 [BZ #15577]
21292 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
21293 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
21294 values in the triple.
21295 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
21296 terminator in the group key.
21297
3ee7e9fe
AJ
212982013-06-11 Andreas Jaeger <aj@suse.de>
21299
21300 * po/zh_TW.po: Update Chinese (traditional) translation from
21301 translation project.
21302
89fb6835
SP
213032013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21304
21305 * include/time.h (__clock_gettime): Add libc_hidden_proto.
21306 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
21307 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
21308 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21309 (clock_getcpuclockid): Likewise.
21310 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
21311 Add weak_alias and libc_hidden_def.
21312 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
21313 * rt/clock_gettime.c (clock_gettime): Rename to
21314 __clock_gettime. Add weak_alias and libc_hidden_def.
21315 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
21316 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
21317 __clock_nanosleep. Add weak_alias and libc_hidden_def.
21318 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
21319 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
21320 Likewise.
21321 * rt/clock_settime.c (clock_settime): Rename to
21322 __clock_settime. Add weak_alias and libc_hidden_def.
21323 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
21324
0efa6f8b
JM
213252013-06-10 Joseph Myers <joseph@codesourcery.com>
21326
b8c61b4b
JM
21327 * mach/err_boot.sub: Remove trailing whitespace.
21328 * mach/err_ipc.sub: Likewise.
21329 * mach/err_mach.sub: Likewise.
21330
0efa6f8b
JM
21331 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
21332 (ROUNDING_TESTS_double): Likewise.
21333 (ROUNDING_TESTS_long_double): Likewise.
21334 (ROUNDING_TESTS): Likewise.
21335 * math/libm-test.inc: Include <math-tests.h>.
21336 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
21337 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21338 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21339 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21340
50b818bf
SP
213412013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21342
21343 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
21344 of assigning.
21345
60d2f8f3
JM
213462013-06-08 Joseph Myers <joseph@codesourcery.com>
21347
4902d2c3
JM
21348 * sysdeps/gnu/errlist.awk: Do not generate space at end of
21349 otherwise empty TRANS lines.
21350 * sysdeps/gnu/errlist.c: Regenerated.
21351
60d2f8f3
JM
21352 * catgets/gencat.c (error_print): Use (void) in function
21353 definition.
21354 * crypt/crypt_util.c (__init_des): Likewise.
21355 * crypt/speeds.c (Stop): Likewise.
21356 (main): Likewise.
21357 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
21358 * inet/ruserpass.c (token): Likewise.
21359 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
21360 * intl/localealias.c (extend_alias_table): Likewise.
21361 * intl/plural-exp.c (init_germanic_plural): Likewise.
21362 * libio/fcloseall.c (__fcloseall): Likewise.
21363 * libio/genops.c (_IO_flush_all): Likewise.
21364 (_IO_flush_all_linebuffered): Likewise.
21365 (_IO_cleanup): Likewise.
21366 (_IO_iter_begin): Likewise.
21367 (_IO_iter_end): Likewise.
21368 (_IO_list_lock): Likewise.
21369 (_IO_list_unlock): Likewise.
21370 (_IO_list_resetlock): Likewise.
21371 * libio/getchar.c (getchar): Likewise.
21372 * libio/getchar_u.c (getchar_unlocked): Likewise.
21373 * libio/getwchar.c (getwchar): Likewise.
21374 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
21375 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
21376 * login/getpt.c (__getpt): Likewise.
21377 * login/tst-utmp.c (main): Likewise.
21378 * malloc/hooks.c (__malloc_check_init): Likewise.
21379 * malloc/malloc.c (__malloc_stats): Likewise.
21380 * malloc/mtrace.c (tr_break): Likewise.
21381 (mtrace): Likewise.
21382 (muntrace): Likewise.
21383 * misc/fstab.c (endfsent): Likewise.
21384 * misc/getclktck.c (__getclktck): Likewise.
21385 * misc/getdtsz.c (__getdtablesize): Likewise.
21386 * misc/gethostid.c (gethostid): Likewise.
21387 * misc/getpagesize.c (__getpagesize): Likewise.
21388 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
21389 (__get_nprocs): Likewise.
21390 (__get_phys_pages): Likewise.
21391 (__get_avphys_pages): Likewise.
21392 * misc/getttyent.c (getttyent): Likewise.
21393 (setttyent): Likewise.
21394 (endttyent): Likewise.
21395 * misc/getusershell.c (getusershell): Likewise.
21396 (endusershell): Likewise.
21397 (setusershell): Likewise.
21398 (initshells): Likewise.
21399 * misc/hsearch.c (__hdestroy): Likewise.
21400 * misc/sync.c (sync): Likewise.
21401 * misc/syslog.c (closelog_internal): Likewise.
21402 (closelog): Likewise.
21403 * misc/ttyslot.c (ttyslot): Likewise.
21404 * misc/vhangup.c (vhangup): Likewise.
21405 * posix/fork.c (__fork): Likewise.
21406 * posix/getegid.c (__getegid): Likewise.
21407 * posix/geteuid.c (__geteuid): Likewise.
21408 * posix/getgid.c (__getgid): Likewise.
21409 * posix/getpid.c (__getpid): Likewise.
21410 * posix/getppid.c (__getppid): Likewise.
21411 * posix/getuid.c (__getuid): Likewise.
21412 * posix/pause.c (pause): Likewise.
21413 * posix/setpgrp.c (setpgrp): Likewise.
21414 * posix/setsid.c (__setsid): Likewise.
21415 * posix/test-vfork.c (noop): Likewise.
21416 * resolv/gethnamaddr.c (_endhtent): Likewise.
21417 (_gethtent): Likewise.
21418 (ht_endhostent): Likewise.
21419 (gethostent): Likewise.
21420 (dns_service): Likewise.
21421 * stdlib/drand48.c (drand48): Likewise.
21422 * stdlib/lrand48.c (lrand48): Likewise.
21423 * stdlib/mrand48.c (mrand48): Likewise.
21424 * stdlib/rand.c (rand): Likewise.
21425 * stdlib/random.c (__random): Likewise.
21426 * stdlib/setenv.c (clearenv): Likewise.
21427 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
21428 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
21429 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
21430 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
21431 (__get_nprocs): Likewise.
21432 (__get_phys_pages): Likewise.
21433 (__get_avphys_pages): Likewise.
21434 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
21435 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
21436 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
21437 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
21438 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
21439 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
21440 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
21441 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
21442 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
21443 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
21444 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
21445 * sysdeps/mach/hurd/sync.c (sync): Likewise.
21446 * sysdeps/posix/clock.c (clock): Likewise.
21447 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
21448 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
21449 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
21450 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
21451 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
21452 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
21453 (__get_nprocs_conf): Likewise.
21454 (__get_phys_pages): Likewise.
21455 (__get_avphys_pages): Likewise.
21456 * time/clock.c (clock): Likewise.
21457 * time/tzset.c (__tzname_max): Likewise.
21458
2e09a79a
JM
214592013-06-07 Joseph Myers <joseph@codesourcery.com>
21460
21461 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
21462 (__bswap_32): Do not use "register".
21463 * crypt/crypt.c (_ufc_doit_r): Likewise.
21464 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21465 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21466 * gmon/gmon.c (__monstartup): Likewise.
21467 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
21468 * hurd/hurdmalloc.c (more_memory): Likewise.
21469 (malloc): Likewise.
21470 (free): Likewise.
21471 (realloc): Likewise.
21472 (malloc_fork_prepare): Likewise.
21473 (malloc_fork_parent): Likewise.
21474 (malloc_fork_child): Likewise.
21475 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
21476 (_svcauth_des): Likewise.
21477 * inet/inet_lnaof.c (inet_lnaof): Likewise.
21478 * inet/inet_net.c (inet_network): Likewise.
21479 * inet/inet_netof.c (inet_netof): Likewise.
21480 * inet/rcmd.c (__validuser2_sa): Likewise.
21481 * io/fts.c (fts_open): Likewise.
21482 (fts_load): Likewise.
21483 (fts_close): Likewise.
21484 (fts_read): Likewise.
21485 (fts_children): Likewise.
21486 (fts_build): Likewise.
21487 (fts_stat): Likewise.
21488 (fts_sort): Likewise.
21489 (fts_alloc): Likewise.
21490 (fts_lfree): Likewise.
21491 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
21492 (_IO_file_xsgetn): Likewise.
21493 (_IO_file_xsgetn_mmap): Likewise.
21494 * libio/iofopncook.c (_IO_cookie_read): Likewise.
21495 (_IO_cookie_write): Likewise.
21496 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
21497 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
21498 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
21499 * malloc/obstack.c (_obstack_begin): Likewise.
21500 (_obstack_begin_1): Likewise.
21501 (_obstack_newchunk): Likewise.
21502 (_obstack_allocated_p): Likewise.
21503 (obstack_free): Likewise.
21504 (_obstack_memory_used): Likewise.
21505 * misc/getttyent.c (getttynam): Likewise.
21506 (getttyent): Likewise.
21507 (skip): Likewise.
21508 (value): Likewise.
21509 * misc/getusershell.c (initshells): Likewise.
21510 * misc/syslog.c (__vsyslog_chk): Likewise.
21511 * misc/ttyslot.c (ttyslot): Likewise.
21512 * nis/nis_hash.c (__nis_hash): Likewise.
21513 * posix/fnmatch_loop.c (FCT): Likewise.
21514 * posix/getconf.c (print_all): Likewise.
21515 (main): Likewise.
21516 * posix/getopt.c (exchange): Likewise.
21517 * posix/glob.c (globfree): Likewise.
21518 (prefix_array): Likewise.
21519 (__glob_pattern_type): Likewise.
21520 * resolv/arpa/nameser.h (NS_GET16): Likewise.
21521 (NS_GET32): Likewise.
21522 (NS_PUT16): Likewise.
21523 (NS_PUT32): Likewise.
21524 * resolv/gethnamaddr.c (getanswer): Likewise.
21525 (gethostbyname2): Likewise.
21526 (gethostbyaddr): Likewise.
21527 (_gethtent): Likewise.
21528 (_gethtbyname2): Likewise.
21529 (_gethtbyaddr): Likewise.
21530 * resolv/ns_print.c (dst_s_get_int16): Likewise.
21531 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21532 * resolv/res_init.c (__res_vinit): Likewise.
21533 (net_mask): Likewise.
21534 * resolv/res_mkquery.c (outchar): Likewise.
21535 (PRINT): Likewise.
21536 * stdio-common/printf_fp.c (outchar): Likewise.
21537 (PRINT): Likewise.
21538 * stdio-common/printf_fphex.c (outchar): Likewise.
21539 (PRINT): Likewise.
21540 * stdio-common/printf_size.c (outchar): Likewise.
21541 (PRINT): Likewise.
21542 * stdio-common/test_rdwr.c (main): Likewise.
21543 * stdio-common/tfformat.c (matches): Likewise.
21544 * stdio-common/vfprintf.c (outchar): Likewise.
21545 (printf_unknown): Likewise.
21546 (buffered_vfprintf): Likewise.
21547 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21548 * stdio-common/xbug.c (AppendToBuffer): Likewise.
21549 (ReadFile): Likewise.
21550 * stdlib/qsort.c (SWAP): Likewise.
21551 (_quicksort): Likewise.
21552 * stdlib/setenv.c (__add_to_environ): Likewise.
21553 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21554 * stdlib/strtol_l.c (__strtol_l): Likewise.
21555 * stdlib/tst-strtod.c (main): Likewise.
21556 * stdlib/tst-strtol.c (main): Likewise.
21557 * stdlib/tst-strtoll.c (main): Likewise.
21558 * string/bits/string2.h (__strcmp_cc): Likewise.
21559 (__strcmp_cg): Likewise.
21560 (__strcspn_c1): Likewise.
21561 (__strcspn_c2): Likewise.
21562 (__strcspn_c3): Likewise.
21563 (__strspn_c1): Likewise.
21564 (__strspn_c2): Likewise.
21565 (__strspn_c3): Likewise.
21566 (__strsep_1c): Likewise.
21567 (__strsep_2c): Likewise.
21568 (__strsep_3c): Likewise.
21569 * string/memccpy.c (__memccpy): Likewise.
21570 * string/stpcpy.c (__stpcpy): Likewise.
21571 * string/strcmp.c (strcmp): Likewise.
21572 * string/strrchr.c (strrchr): Likewise.
21573 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
21574 Likewise.
21575 * sysdeps/mach/hurd/getcwd.c
21576 (_hurd_canonicalize_directory_name_internal): Likewise.
21577 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
21578 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
21579 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
21580 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
21581 Likewise, in both definitions.
21582 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
21583 definitions.
21584 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
21585 64] (__bswap_64): Likewise.
21586 * time/test_time.c (main): Likewise.
21587 * time/tzfile.c (__tzfile_read): Likewise.
21588 (__tzfile_compute): Likewise.
21589 * time/tzset.c (__tzset_parse_tz): Likewise.
21590 (tzset_internal): Likewise.
21591 (compute_change): Likewise.
21592 * wcsmbs/wcscat.c (__wcscat): Likewise.
21593 * wcsmbs/wcschr.c (wcschr): Likewise.
21594 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21595 * wcsmbs/wcscspn.c (wcscspn): Likewise.
21596 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21597 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
21598 * wcsmbs/wcsspn.c (wcsspn): Likewise.
21599 * wcsmbs/wcsstr.c (wcsstr): Likewise.
21600 * wcsmbs/wmemchr.c (wmemchr): Likewise.
21601 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21602 * wcsmbs/wmemset.c (wmemset): Likewise.
21603
9e54314b
JM
216042013-06-06 Joseph Myers <joseph@codesourcery.com>
21605
21606 * scripts/config.guess: Update to version 2013-05-16.
21607 * scripts/config.sub: Update to version 2013-04-24.
21608 * scripts/install-sh: Update to version 2011-11-20.07.
21609 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
21610 * scripts/move-if-change: Update to version 2012-01-06 07:23.
21611
350635a5
OB
216122013-06-06 Ondřej Bílka <neleai@seznam.cz>
21613
21614 * debug/fgetws_u_chk.c: Fix leading whitespaces.
21615 * elf/sln.c: Likewise.
21616 * hurd/hurd/ioctl.h: Likewise.
21617 * hurd/hurdmalloc.c: Likewise.
21618 * hurd/xattr.c: Likewise.
21619 * include/shlib-compat.h: Likewise.
21620 * inet/ruserpass.c: Likewise.
21621 * libio/iofgets_u.c: Likewise.
21622 * libio/iofgetws_u.c: Likewise.
21623 * locale/programs/ld-identification.c: Likewise.
21624 * locale/programs/ld-time.c: Likewise.
21625 * mach/msg-destroy.c: Likewise.
21626 * nss/nss_files/files-netgrp.c: Likewise.
21627 * resolv/res_data.c: Likewise.
21628 * soft-fp/op-1.h: Likewise.
21629 * soft-fp/op-2.h: Likewise.
21630 * soft-fp/op-4.h: Likewise.
21631 * soft-fp/op-common.h: Likewise.
21632 * stdio-common/printf_fphex.c: Likewise.
21633 * stdlib/strtod_l.c: Likewise.
21634 * sunrpc/rpc/clnt.h: Likewise.
21635 * sysdeps/generic/framestate.c: Likewise.
21636 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21637 * sysdeps/i386/bsd-setjmp.S: Likewise.
21638 * sysdeps/i386/__longjmp.S: Likewise.
21639 * sysdeps/i386/setjmp.S: Likewise.
21640 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21641 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21642 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21643 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21644 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21645 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21646 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21647 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21648 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21649 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21650 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21651 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21652 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21653 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21654 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21655 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21656 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21657 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
21658 * sysdeps/ieee754/support.c: Likewise.
21659 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21660 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
21661 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
21662 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
21663 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
21664 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
21665 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
21666 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
21667 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
21668 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
21669 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
21670 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
21671 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
21672 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
21673 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
21674 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
21675 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21677
44a988af
OB
216782013-06-05 Ondřej Bílka <neleai@seznam.cz>
21679
25506f09 21680 * posix/transbug.c: Remove executable mode.
44a988af 21681
9c84384c
JM
216822013-06-05 Joseph Myers <joseph@codesourcery.com>
21683
21684 * crypt/speeds.c: Remove trailing whitespace.
21685 * dlfcn/default.c: Likewise.
21686 * elf/ifuncdep2.c: Likewise.
21687 * elf/ifuncmain1.c: Likewise.
21688 * elf/ifuncmain1vis.c: Likewise.
21689 * elf/testobj.h: Likewise.
21690 * elf/tst-stackguard1.c: Likewise.
21691 * gmon/sys/gmon.h: Likewise.
21692 * hurd/hurdmsg.c: Likewise.
21693 * hurd/new-fd.c: Likewise.
21694 * hurd/ports-get.c: Likewise.
21695 * iconvdata/ibm1008_420.c: Likewise.
21696 * inet/tst-getni1.c: Likewise.
21697 * inet/tst-getni2.c: Likewise.
21698 * libio/ioungetc.c: Likewise.
21699 * libio/wfiledoalloc.c: Likewise.
21700 * manual/libm-err-tab.pl: Likewise.
21701 * math/w_dremf.c: Likewise.
21702 * misc/ftruncate.c: Likewise.
21703 * posix/bug-glob2.c: Likewise.
21704 * posix/tst-pcre.c: Likewise.
21705 * posix/wait4.c: Likewise.
21706 * resolv/README: Likewise.
21707 * resolv/res_debug.h: Likewise.
21708 * resolv/tst-inet_ntop.c: Likewise.
21709 * setjmp/bug269-setjmp.c: Likewise.
21710 * soft-fp/extended.h: Likewise.
21711 * soft-fp/op-1.h: Likewise.
21712 * soft-fp/op-2.h: Likewise.
21713 * soft-fp/op-4.h: Likewise.
21714 * soft-fp/op-8.h: Likewise.
21715 * soft-fp/testit.c: Likewise.
21716 * stdio-common/bug16.c: Likewise.
21717 * stdlib/random.c: Likewise.
21718 * sunrpc/rpcsvc/rquota.x: Likewise.
21719 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21720 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21721 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21722 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21723 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21724 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21725 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21726 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21727 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21728 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21729 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21730 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21731 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21732 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21733 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21734 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21735 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21736 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21737 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21738 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21739 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21740 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21741 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21742 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21743 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21744 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21745 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21746 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21747 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21748 * sysdeps/ieee754/s_lib_version.c: Likewise.
21749 * sysdeps/mach/hurd/check_fds.c: Likewise.
21750 * sysdeps/mach/hurd/getsockname.c: Likewise.
21751 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21752 * sysdeps/mach/hurd/recvfrom.c: Likewise.
21753 * sysdeps/powerpc/bits/link.h: Likewise.
21754 * sysdeps/powerpc/dl-procinfo.c: Likewise.
21755 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21756 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21757 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21758 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21759 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21760 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21761 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21762 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21763 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21764 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21765 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21766 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21767 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21768 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21769 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21770 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21771 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21772 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21773 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21774 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21775 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21776 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21777 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21778 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21779 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21780 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21781 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21782 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21783 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21784 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21785 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21786 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21787 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21788 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21789 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21790 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21791 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21792 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21793 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21794 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21795 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21796 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21797 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21798 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21799 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21800 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21801 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21802 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21803 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21804 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21805 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21806 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21807 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21808 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
21809 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21810 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21811 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21812 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
21813 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21814 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
21815 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
21816 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
21817 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21818 * sysdeps/powerpc/sysdep.h: Likewise.
21819 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21820 * sysdeps/s390/s390-64/sub_n.S: Likewise.
21821 * sysdeps/sh/dl-trampoline.S: Likewise.
21822 * sysdeps/sh/memset.S: Likewise.
21823 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
21824 * sysdeps/sh/strlen.S: Likewise.
21825 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
21826 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
21827 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
21828 * sysdeps/sparc/sparc32/rem.S: Likewise.
21829 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21830 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
21831 * sysdeps/sparc/sparc32/strchr.S: Likewise.
21832 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21833 * sysdeps/sparc/sparc32/urem.S: Likewise.
21834 * sysdeps/sparc/sparc64/add_n.S: Likewise.
21835 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21836 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
21837 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
21838 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
21839 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
21840 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21841 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
21842 * sysdeps/unix/bsd/times.c: Likewise.
21843 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
21844 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
21845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21848 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
21849 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21850 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
21851 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
21852 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
21853 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
21854 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21855 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
21856 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21857 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21858 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21859 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21860 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
21861 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
21862 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
21863 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
21864 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
21865 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21866 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
21867 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
21868 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21869 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
21870 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21871 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
21872 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
21873 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
21874 * sysdeps/x86_64/strcspn.S: Likewise.
21875
869378a5
RA
218762013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21877
21878 * locale/C-translit.h: Revert #include <stdint.h> because this is a
21879 generated file. Regenerate properly from gen-translit.pl.
21880 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
21881 locale/C-translit.h.
21882
840e2943
AS
218832013-06-05 Andreas Schwab <schwab@suse.de>
21884
21885 [BZ #15100]
21886 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
21887 week as 6 instead of -1.
21888 * time/tst-strptime.c (day_tests): Add test case.
21889
4c60cb0c
SP
218902013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21891
21892 * sysdeps/generic/math_private.h
21893 (libc_feholdexcept_setround_53bit): Replace with
21894 libc_feholdsetround_53bit.
21895 (libc_feupdateenv_53bit): Replace with
21896 libc_feresetround_53bit.
21897 (SET_RESTORE_ROUND_53BIT): Adjust.
21898
d180203e
SP
218992013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21900
96df079a
SP
21901 * string/test-strchrnul.c: Add copyright header.
21902
d180203e
SP
21903 * posix/tst-getaddrinfo4.c: Increase test timeout.
21904
8b0ccb2d
CD
219052013-06-03 Carlos O'Donell <carlos@redhat.com>
21906
21907 [BZ #15536]
21908 * math/libm-test.inc (MAX_EXP): Remove
21909 (MIN_EXP): Define.
21910 (ulp): Use MIN_EXP - MANT_DIG.
21911 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
21912
3b3c4d40
CD
219132013-05-31 Carlos O'Donell <carlos@redhat.com>
21914
21915 * po/be.po: Revert last change.
21916 * po/zh_CN.po: Likewise.
21917 * po/header.pot: Likewise.
21918
fab7ce3f
JM
219192013-05-31 Joseph Myers <joseph@codesourcery.com>
21920
21921 * Makefile ($(common-objpfx)linkobj/libc.so): Define
21922 link-libc-deps to empty as target-specific variable.
21923 * Makerules (link-libc-args): New variable.
21924 (libc-for-link): Likewise.
21925 (link-libc-deps): Likewise.
21926 (lib%.so): Depend on $(link-libc-deps). Link with
21927 $(link-libc-args).
21928 (build-module): Link with $(link-libc-args).
21929 (build-module-asneeded): Likewise.
21930 (build-module-helper-objlist): Filter out $(link-libc-deps) from
21931 list of objects.
21932 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
21933 target-specific variable.
21934 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
21935 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
21936 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
21937 libc.
21938 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
21939 libc and ld.so.
21940 ($(objpfx)libpcprofile.so): Likewise.
21941 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
21942 libc_nonshared.a.
21943 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
21944 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
21945 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
21946 $(link-libc-deps).
21947 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
21948 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
21949 * login/Makefile ($(objpfx)libutil.so): Likewise.
21950 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
21951 * math/Makefile ($(objpfx)libm.so): Likewise.
21952 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
21953 $(objpfx)libnsl.so): Define libc-for-link as target-specific
21954 variable instead of depending directly on libc.
21955 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
21956 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
21957 $(link-libc-deps).
21958 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
21959 libc.
21960 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
21961 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
21962 ($(objpfx)libanl.so): Likewise.
21963 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
21964 ld.so.
21965 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
21966 $(link-libc-deps).
21967 * sysdeps/i386/fpu/Makefile: Remove file.
21968 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
21969 ($(objpfx)libm.so): Remove dependency on ld.so.
21970
eca5920c
PF
219712013-05-30 Patsy Franklin <pfrankli@redhat.com>
21972
21973 [BZ # 15553]
21974 * nis/yp_xdr.c (XDRMAXNAME): Define.
21975 (XDRMAXRECORD): Define.
21976 (xdr_domainname): Use XDRMAXNAME.
21977 (xdr_mapname): Likewise.
21978 (xdr_peername): Likewise.
21979 (xdr_keydat): Use XDRMAXRECORD.
21980 (xdr_valdat): Likewise.
21981
219822013-05-30 Jeff Law <law@redhat.com>
96945714
JL
21983
21984 [BZ #14256]
21985 * manual/errno.texi (ESTALE): Update to account for more than
21986 just NFS file systems.
21987 * sysdeps/gnu/errlist.c: Regenerated.
21988
b9375348
SP
219892013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21990
21991 [BZ #15465]
21992 * elf/Makefile (tests): Add tst-null-argv.
21993 (modules-names): Add tst-null-argv-lib.
21994 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
21995 (tst-null-argv-ENV): Set environment for tst-null-argv.
21996 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
21997 (RTLD_PROGNAME): New macro.
21998 * elf/tst-null-argv.c: New test case.
21999 * elf/tst-null-argv-lib.c: Library for test case.
22000 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
22001 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
22002 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
22003 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
22004 * elf/dl-init.c (call_init): Likewise.
22005 (_dl_init): Likewise.
22006 * elf/dl-load.c (print_search_path): Likewise.
22007 (_dl_map_object): Likewise.
22008 * elf/dl-lookup.c (do_lookup_x): Likewise.
22009 (add_dependency): Likewise.
22010 (_dl_lookup_symbol_x): Likewise.
22011 (_dl_debug_bindings): Likewise.
22012 * elf/dl-open.c (_dl_show_scope): Likewise.
22013 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22014 * elf/dl-version.c (match_symbol): Likewise.
22015 (_dl_check_map_versions): Likewise.
22016 * elf/rtld.c (dl_main): Likewise.
22017 (print_unresolved): Use RTLD_PROGNAME.
22018 (print_missing_version): Likewise.
22019 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
22020 (elf_machine_rela): Likewise.
22021 * sysdeps/powerpc/powerpc32/dl-machine.c
22022 (__process_machine_rela): Likewise.
22023 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22024 Likewise.
22025 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22026 Likewise.
22027 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
22028 Likewise.
22029 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22030 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
22031 Likewise.
22032 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
22033 Likewise.
22034 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22035
8a9f20c8
CD
220362013-05-28 Carlos O'Donell <carlos@redhat.com>
22037
22038 * po/be.po: Add descriptive title.
22039 * po/zh_CN.po: Likewise.
22040 * po/header.pot: Likewise.
22041
0e60d68e
MF
220422013-05-28 Mike Frysinger <vapier@gentoo.org>
22043
22044 * locale/programs/locarchive.c (create_archive): Inlucde fname in
22045 error message.
22046 (enlarge_archive): Likewise.
22047
56b672e9
BN
220482013-05-28 Ben North <ben@redfrontdoor.org>
22049
22050 * manual/arith.texi (frexp): It is the magnitude of the return
22051 value which lies in [0.5, 1), not the return value itself.
22052
5e056687
AZ
220532013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22054
22055 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22056
2b66ef5d
TS
220572013-05-26 Thomas Schwinge <thomas@codesourcery.com>
22058
528c2405
TS
22059 * stdio-common/bug26.c (main): Correct fscanf template.
22060
07b4c13d
TS
22061 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
22062 declare _dl_skip_args.
22063
ec9dd97c
TS
22064 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
22065 Don't declare.
22066
2b66ef5d
TS
22067 * manual/platform.texi: Add missing @end deftypefun.
22068
4f8dfe27
JM
220692013-05-24 Joseph Myers <joseph@codesourcery.com>
22070
0323d086
JM
22071 [BZ #15529]
22072 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
22073 bit of mantissa of 2^16382.
22074 * math/libm-test.inc (hypot_test_data): Add more tests.
22075
dd4259b9
JM
22076 * math/libm-test.inc: Add drem and pow10 to list of tested
22077 functions.
22078 (pow10_test): New function.
22079 (drem_test): Likewise.
22080 (drem_test_tonearest): Likewise.
22081 (drem_test_towardzero): Likewise.
22082 (drem_test_downward): Likewise.
22083 (drem_test_upward): Likewise.
22084 (main): Call the new functions.
22085
4f8dfe27
JM
22086 * math/libm-test.inc (finite_test_data): Remove.
22087 (finite_test): Run tests from isfinite_test_data.
22088 (gamma_test_data): Remove.
22089 (gamma_test): Run tests from lgamma_test_data.
22090 * sysdeps/i386/fpu/libm-test-ulps: Update.
22091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22092
d116b7c4
AZ
220932013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22094
22095 * manual/platform.texi: Add PowerPC PPR function set documentation.
22096 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
22097 implementation.
22098
e96e3767
CD
220992013-05-24 Carlos O'Donell <carlos@redhat.com>
22100
22101 * math/libm-test.inc (MAX_EXP): Define.
22102 (ULPDIFF): Define.
22103 (ulp): New function.
22104 (check_float_internal): Use ULPDIFF.
22105 (cpow_test): Disable failing test.
22106 (check_ulp): Test ulp() implemetnation.
22107 (main): Call check_ulp before starting tests.
22108
b679a606
JM
221092013-05-24 Joseph Myers <joseph@codesourcery.com>
22110
e8bdba36
JM
22111 * math/gen-libm-test.pl (generate_testfile): Do not handle
22112 START_DATA and END_DATA.
22113 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
22114 END_DATA.
22115 (acos_tonearest_test_data): Likewise.
22116 (acos_towardzero_test_data): Likewise.
22117 (acos_downward_test_data): Likewise.
22118 (acos_upward_test_data): Likewise.
22119 (acosh_test_data): Likewise.
22120 (asin_test_data): Likewise.
22121 (asin_tonearest_test_data): Likewise.
22122 (asin_towardzero_test_data): Likewise.
22123 (asin_downward_test_data): Likewise.
22124 (asin_upward_test_data): Likewise.
22125 (asinh_test_data): Likewise.
22126 (atan_test_data): Likewise.
22127 (atanh_test_data): Likewise.
22128 (atan2_test_data): Likewise.
22129 (cabs_test_data): Likewise.
22130 (cacos_test_data): Likewise.
22131 (cacosh_test_data): Likewise.
22132 (carg_test_data): Likewise.
22133 (casin_test_data): Likewise.
22134 (casinh_test_data): Likewise.
22135 (catan_test_data): Likewise.
22136 (catanh_test_data): Likewise.
22137 (cbrt_test_data): Likewise.
22138 (ccos_test_data): Likewise.
22139 (ccosh_test_data): Likewise.
22140 (ceil_test_data): Likewise.
22141 (cexp_test_data): Likewise.
22142 (cimag_test_data): Likewise.
22143 (clog_test_data): Likewise.
22144 (clog10_test_data): Likewise.
22145 (conj_test_data): Likewise.
22146 (copysign_test_data): Likewise.
22147 (cos_test_data): Likewise.
22148 (cos_tonearest_test_data): Likewise.
22149 (cos_towardzero_test_data): Likewise.
22150 (cos_downward_test_data): Likewise.
22151 (cos_upward_test_data): Likewise.
22152 (cosh_test_data): Likewise.
22153 (cosh_tonearest_test_data): Likewise.
22154 (cosh_towardzero_test_data): Likewise.
22155 (cosh_downward_test_data): Likewise.
22156 (cosh_upward_test_data): Likewise.
22157 (cpow_test_data): Likewise.
22158 (cproj_test_data): Likewise.
22159 (creal_test_data): Likewise.
22160 (csin_test_data): Likewise.
22161 (csinh_test_data): Likewise.
22162 (csqrt_test_data): Likewise.
22163 (ctan_test_data): Likewise.
22164 (ctan_tonearest_test_data): Likewise.
22165 (ctan_towardzero_test_data): Likewise.
22166 (ctan_downward_test_data): Likewise.
22167 (ctan_upward_test_data): Likewise.
22168 (ctanh_test_data): Likewise.
22169 (ctanh_tonearest_test_data): Likewise.
22170 (ctanh_towardzero_test_data): Likewise.
22171 (ctanh_downward_test_data): Likewise.
22172 (ctanh_upward_test_data): Likewise.
22173 (erf_test_data): Likewise.
22174 (erfc_test_data): Likewise.
22175 (exp_test_data): Likewise.
22176 (exp_tonearest_test_data): Likewise.
22177 (exp_towardzero_test_data): Likewise.
22178 (exp_downward_test_data): Likewise.
22179 (exp_upward_test_data): Likewise.
22180 (exp10_test_data): Likewise.
22181 (exp2_test_data): Likewise.
22182 (expm1_test_data): Likewise.
22183 (fabs_test_data): Likewise.
22184 (fdim_test_data): Likewise.
22185 (finite_test_data): Likewise.
22186 (floor_test_data): Likewise.
22187 (fma_test_data): Likewise.
22188 (fma_towardzero_test_data): Likewise.
22189 (fma_downward_test_data): Likewise.
22190 (fma_upward_test_data): Likewise.
22191 (fmax_test_data): Likewise.
22192 (fmin_test_data): Likewise.
22193 (fmod_test_data): Likewise.
22194 (fpclassify_test_data): Likewise.
22195 (frexp_test_data): Likewise.
22196 (gamma_test_data): Likewise.
22197 (hypot_test_data): Likewise.
22198 (ilogb_test_data): Likewise.
22199 (isfinite_test_data): Likewise.
22200 (isgreater_test_data): Likewise.
22201 (isgreaterequal_test_data): Likewise.
22202 (isinf_test_data): Likewise.
22203 (isless_test_data): Likewise.
22204 (islessequal_test_data): Likewise.
22205 (islessgreater_test_data): Likewise.
22206 (isnan_test_data): Likewise.
22207 (isnormal_test_data): Likewise.
22208 (issignaling_test_data): Likewise.
22209 (isunordered_test_data): Likewise.
22210 (j0_test_data): Likewise.
22211 (j1_test_data): Likewise.
22212 (jn_test_data): Likewise.
22213 (ldexp_test_data): Likewise.
22214 (lgamma_test_data): Likewise.
22215 (lrint_test_data): Likewise.
22216 (lrint_tonearest_test_data): Likewise.
22217 (lrint_towardzero_test_data): Likewise.
22218 (lrint_downward_test_data): Likewise.
22219 (lrint_upward_test_data): Likewise.
22220 (llrint_test_data): Likewise.
22221 (llrint_tonearest_test_data): Likewise.
22222 (llrint_towardzero_test_data): Likewise.
22223 (llrint_downward_test_data): Likewise.
22224 (llrint_upward_test_data): Likewise.
22225 (log_test_data): Likewise.
22226 (log10_test_data): Likewise.
22227 (log1p_test_data): Likewise.
22228 (log2_test_data): Likewise.
22229 (logb_test_data): Likewise.
22230 (logb_downward_test_data): Likewise.
22231 (lround_test_data): Likewise.
22232 (llround_test_data): Likewise.
22233 (modf_test_data): Likewise.
22234 (nearbyint_test_data): Likewise.
22235 (nextafter_test_data): Likewise.
22236 (nexttoward_test_data): Likewise.
22237 (pow_test_data): Likewise.
22238 (pow_tonearest_test_data): Likewise.
22239 (pow_towardzero_test_data): Likewise.
22240 (pow_downward_test_data): Likewise.
22241 (pow_upward_test_data): Likewise.
22242 (remainder_test_data): Likewise.
22243 (remainder_tonearest_test_data): Likewise.
22244 (remainder_towardzero_test_data): Likewise.
22245 (remainder_downward_test_data): Likewise.
22246 (remainder_upward_test_data): Likewise.
22247 (remquo_test_data): Likewise.
22248 (rint_test_data): Likewise.
22249 (rint_tonearest_test_data): Likewise.
22250 (rint_towardzero_test_data): Likewise.
22251 (rint_downward_test_data): Likewise.
22252 (rint_upward_test_data): Likewise.
22253 (round_test_data): Likewise.
22254 (scalb_test_data): Likewise.
22255 (scalbn_test_data): Likewise.
22256 (scalbln_test_data): Likewise.
22257 (signbit_test_data): Likewise.
22258 (sin_test_data): Likewise.
22259 (sin_tonearest_test_data): Likewise.
22260 (sin_towardzero_test_data): Likewise.
22261 (sin_downward_test_data): Likewise.
22262 (sin_upward_test_data): Likewise.
22263 (sincos_test_data): Likewise.
22264 (sinh_test_data): Likewise.
22265 (sinh_tonearest_test_data): Likewise.
22266 (sinh_towardzero_test_data): Likewise.
22267 (sinh_downward_test_data): Likewise.
22268 (sinh_upward_test_data): Likewise.
22269 (sqrt_test_data): Likewise.
22270 (tan_test_data): Likewise.
22271 (tan_tonearest_test_data): Likewise.
22272 (tan_towardzero_test_data): Likewise.
22273 (tan_downward_test_data): Likewise.
22274 (tan_upward_test_data): Likewise.
22275 (tanh_test_data): Likewise.
22276 (tgamma_test_data): Likewise.
22277 (trunc_test_data): Likewise.
22278 (y0_test_data): Likewise.
22279 (y1_test_data): Likewise.
22280 (yn_test_data): Likewise.
22281 (significand_test_data): Likewise.
22282
b679a606
JM
22283 * math/gen-libm-test.pl (@functions): Remove variable.
22284 (generate_testfile): Don't handle START and END lines.
22285 * math/libm-test.inc (START): New macro.
22286 (END): Likewise.
22287 (END_COMPLEX): Likewise.
22288 (acos_test): Use END macro without arguments.
22289 (acos_test_tonearest): Likewise.
22290 (acos_test_towardzero): Likewise.
22291 (acos_test_downward): Likewise.
22292 (acos_test_upward): Likewise.
22293 (acosh_test): Likewise.
22294 (asin_test): Likewise.
22295 (asin_test_tonearest): Likewise.
22296 (asin_test_towardzero): Likewise.
22297 (asin_test_downward): Likewise.
22298 (asin_test_upward): Likewise.
22299 (asinh_test): Likewise.
22300 (atan_test): Likewise.
22301 (atanh_test): Likewise.
22302 (atan2_test): Likewise.
22303 (cabs_test): Likewise.
22304 (cacos_test): Use END_COMPLEX macro without arguments.
22305 (cacosh_test): Likewise.
22306 (carg_test): Use END macro without arguments.
22307 (casin_test): Use END_COMPLEX macro without arguments.
22308 (casinh_test): Likewise.
22309 (catan_test): Likewise.
22310 (catanh_test): Likewise.
22311 (cbrt_test): Use END macro without arguments.
22312 (ccos_test): Use END_COMPLEX macro without arguments.
22313 (ccosh_test): Likewise.
22314 (ceil_test): Use END macro without arguments.
22315 (cexp_test): Use END_COMPLEX macro without arguments.
22316 (cimag_test): Use END macro without arguments.
22317 (clog_test): Use END_COMPLEX macro without arguments.
22318 (clog10_test): Likewise.
22319 (conj_test): Likewise.
22320 (copysign_test): Use END macro without arguments.
22321 (cos_test): Likewise.
22322 (cos_test_tonearest): Likewise.
22323 (cos_test_towardzero): Likewise.
22324 (cos_test_downward): Likewise.
22325 (cos_test_upward): Likewise.
22326 (cosh_test): Likewise.
22327 (cosh_test_tonearest): Likewise.
22328 (cosh_test_towardzero): Likewise.
22329 (cosh_test_downward): Likewise.
22330 (cosh_test_upward): Likewise.
22331 (cpow_test): Use END_COMPLEX macro without arguments.
22332 (cproj_test): Likewise.
22333 (creal_test): Use END macro without arguments.
22334 (csin_test): Use END_COMPLEX macro without arguments.
22335 (csinh_test): Likewise.
22336 (csqrt_test): Likewise.
22337 (ctan_test): Likewise.
22338 (ctan_test_tonearest): Likewise.
22339 (ctan_test_towardzero): Likewise.
22340 (ctan_test_downward): Likewise.
22341 (ctan_test_upward): Likewise.
22342 (ctanh_test): Likewise.
22343 (ctanh_test_tonearest): Likewise.
22344 (ctanh_test_towardzero): Likewise.
22345 (ctanh_test_downward): Likewise.
22346 (ctanh_test_upward): Likewise.
22347 (erf_test): Use END macro without arguments.
22348 (erfc_test): Likewise.
22349 (exp_test): Likewise.
22350 (exp_test_tonearest): Likewise.
22351 (exp_test_towardzero): Likewise.
22352 (exp_test_downward): Likewise.
22353 (exp_test_upward): Likewise.
22354 (exp10_test): Likewise.
22355 (exp2_test): Likewise.
22356 (expm1_test): Likewise.
22357 (fabs_test): Likewise.
22358 (fdim_test): Likewise.
22359 (finite_test): Likewise.
22360 (floor_test): Likewise.
22361 (fma_test): Likewise.
22362 (fma_test_towardzero): Likewise.
22363 (fma_test_downward): Likewise.
22364 (fma_test_upward): Likewise.
22365 (fmax_test): Likewise.
22366 (fmin_test): Likewise.
22367 (fmod_test): Likewise.
22368 (fpclassify_test): Likewise.
22369 (frexp_test): Likewise.
22370 (gamma_test): Likewise.
22371 (hypot_test): Likewise.
22372 (ilogb_test): Likewise.
22373 (isfinite_test): Likewise.
22374 (isgreater_test): Likewise.
22375 (isgreaterequal_test): Likewise.
22376 (isinf_test): Likewise.
22377 (isless_test): Likewise.
22378 (islessequal_test): Likewise.
22379 (islessgreater_test): Likewise.
22380 (isnan_test): Likewise.
22381 (isnormal_test): Likewise.
22382 (issignaling_test): Likewise.
22383 (isunordered_test): Likewise.
22384 (j0_test): Likewise.
22385 (j1_test): Likewise.
22386 (jn_test): Likewise.
22387 (ldexp_test): Likewise.
22388 (lgamma_test): Likewise.
22389 (lrint_test): Likewise.
22390 (lrint_test_tonearest): Likewise.
22391 (lrint_test_towardzero): Likewise.
22392 (lrint_test_downward): Likewise.
22393 (lrint_test_upward): Likewise.
22394 (llrint_test): Likewise.
22395 (llrint_test_tonearest): Likewise.
22396 (llrint_test_towardzero): Likewise.
22397 (llrint_test_downward): Likewise.
22398 (llrint_test_upward): Likewise.
22399 (log_test): Likewise.
22400 (log10_test): Likewise.
22401 (log1p_test): Likewise.
22402 (log2_test): Likewise.
22403 (logb_test): Likewise.
22404 (logb_test_downward): Likewise.
22405 (lround_test): Likewise.
22406 (llround_test): Likewise.
22407 (modf_test): Likewise.
22408 (nearbyint_test): Likewise.
22409 (nextafter_test): Likewise.
22410 (nexttoward_test): Likewise.
22411 (pow_test): Likewise.
22412 (pow_test_tonearest): Likewise.
22413 (pow_test_towardzero): Likewise.
22414 (pow_test_downward): Likewise.
22415 (pow_test_upward): Likewise.
22416 (remainder_test): Likewise.
22417 (remainder_test_tonearest): Likewise.
22418 (remainder_test_towardzero): Likewise.
22419 (remainder_test_downward): Likewise.
22420 (remainder_test_upward): Likewise.
22421 (remquo_test): Likewise.
22422 (rint_test): Likewise.
22423 (rint_test_tonearest): Likewise.
22424 (rint_test_towardzero): Likewise.
22425 (rint_test_downward): Likewise.
22426 (rint_test_upward): Likewise.
22427 (round_test): Likewise.
22428 (scalb_test): Likewise.
22429 (scalbn_test): Likewise.
22430 (scalbln_test): Likewise.
22431 (signbit_test): Likewise.
22432 (sin_test): Likewise.
22433 (sin_test_tonearest): Likewise.
22434 (sin_test_towardzero): Likewise.
22435 (sin_test_downward): Likewise.
22436 (sin_test_upward): Likewise.
22437 (sincos_test): Likewise.
22438 (sinh_test): Likewise.
22439 (sinh_test_tonearest): Likewise.
22440 (sinh_test_towardzero): Likewise.
22441 (sinh_test_downward): Likewise.
22442 (sinh_test_upward): Likewise.
22443 (sqrt_test): Likewise.
22444 (tan_test): Likewise.
22445 (tan_test_tonearest): Likewise.
22446 (tan_test_towardzero): Likewise.
22447 (tan_test_downward): Likewise.
22448 (tan_test_upward): Likewise.
22449 (tanh_test): Likewise.
22450 (tgamma_test): Likewise.
22451 (trunc_test): Likewise.
22452 (y0_test): Likewise.
22453 (y1_test): Likewise.
22454 (yn_test): Likewise.
22455 (significand_test): Likewise.
22456
bae143d2
OB
224572013-05-24 Ondřej Bílka <neleai@seznam.cz>
22458
22459 [BZ #15381]
22460 * libio/genops.c (_IO_no_init): Initialize wide struct info.
22461
9323d39b
EM
224622013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
22463
d4ea44a0 22464 [BZ #14894]
9323d39b
EM
22465 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
22466 __ppc_mdoio and __ppc_mdoom.
22467 * manual/platform.texi: Document new functions __ppc_yield,
22468 __ppc_mdoio and __ppc_mdoom.
22469
13e23af7
CD
224702013-05-22 Carlos O'Donell <carlos@redhat.com>
22471
22472 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
22473 (main): Mention "tls" pseudo-hwcap is legacy.
22474 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
22475
351fe550
JM
224762013-05-22 Joseph Myers <joseph@codesourcery.com>
22477
22478 * math/gen-libm-test.pl (parse_args): Output only string of
22479 arguments as text for test name, not full call or descriptions of
22480 tests for extra outputs.
22481 (generate_testfile): Do not pass function name to parse_args.
22482 Generate this_func variable from START.
22483 * math/libm-test.inc (struct test_f_f_data): Rename test_name
22484 field to arg_str.
22485 (struct test_ff_f_data): Likewise.
22486 (test_ff_f_data_nexttoward): Likewise.
22487 (struct test_fi_f_data): Likewise.
22488 (struct test_fl_f_data): Likewise.
22489 (struct test_if_f_data): Likewise.
22490 (struct test_fff_f_data): Likewise.
22491 (struct test_c_f_data): Likewise.
22492 (struct test_f_f1_data): Likewise. Remove field extra_name.
22493 (struct test_fF_f1_data): Likewise.
22494 (struct test_ffI_f1_data): Likewise.
22495 (struct test_c_c_data): Rename test_name field to arg_str.
22496 (struct test_cc_c_data): Likewise.
22497 (struct test_f_i_data): Likewise.
22498 (struct test_ff_i_data): Likewise.
22499 (struct test_f_l_data): Likewise.
22500 (struct test_f_L_data): Likewise.
22501 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
22502 and extra2_name.
22503 (COMMON_TEST_SETUP): New macro.
22504 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
22505 (COMMON_TEST_CLEANUP): Likewise.
22506 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
22507 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
22508 macros.
22509 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
22510 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
22511 macros.
22512 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
22513 (RUN_TEST_fff_f): Take argument string. Call new setup and
22514 cleanup macros.
22515 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
22516 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
22517 macros.
22518 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
22519 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
22520 macros.
22521 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22522 (RUN_TEST_fF_f1): Take argument string. Call new setup and
22523 cleanup macros.
22524 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22525 (RUN_TEST_fI_f1): Take argument string. Call new setup and
22526 cleanup macros.
22527 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22528 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
22529 cleanup macros.
22530 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22531 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
22532 macros.
22533 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
22534 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
22535 macros.
22536 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
22537 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
22538 macros.
22539 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
22540 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
22541 cleanup macros.
22542 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
22543 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
22544 cleanup macros.
22545 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
22546 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
22547 macros.
22548 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
22549 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
22550 cleanup macros.
22551 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
22552 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
22553 macros.
22554 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
22555 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
22556 macros.
22557 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
22558 (RUN_TEST_fFF_11): Take argument string. Call new setup and
22559 cleanup macros.
22560 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
22561
85118d4d
EBM
225622013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22563
22564 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
22565 to _sifields.sigfault.
22566 (si_addr_lsb): Define new macro.
22567 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22568 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22569 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
22570
7a44c18f
CD
225712013-05-03 Carlos O'Donell <carlos at redhat.com>
22572
22573 [BZ #15441]
22574 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
22575 returns -1.
22576 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
22577 null return -1.
22578 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
22579 loading the domain.
22580
b50a7181
JM
225812013-05-22 Joseph Myers <joseph@codesourcery.com>
22582
22583 * math/gen-libm-test.pl (parse_args): Do not include expected
22584 result in test name.
22585 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
22586 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22587 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22588 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22589 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22591
051063c8
SP
225922013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22593
3ce9e010
SP
22594 * benchtests/Makefile: Sort function entries.
22595
051063c8
SP
22596 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
22597 tanh, asinh, acosh, atanh.
22598 * benchtests/acos-inputs: New file.
22599 * benchtests/acosh-inputs: New file.
22600 * benchtests/asin-inputs: New file.
22601 * benchtests/asinh-inputs: New file.
22602 * benchtests/atanh-inputs: New file.
22603 * benchtests/cosh-inputs: New file.
22604 * benchtests/log-inputs: New file.
22605 * benchtests/sinh-inputs: New file.
22606 * benchtests/tanh-inputs: New file.
22607
47c22455
DL
226082013-05-21 Dmitry V. Levin <ldv@altlinux.org>
22609
22610 [BZ #15339]
22611 * posix/tst-getaddrinfo4.c: New test.
22612 * posix/Makefile (tests): Add it.
22613
3d04f5db
SP
226142013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22615
22616 [BZ #15339]
22617 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
22618 when no services were used.
22619 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
22620 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
22621
d5dd6189
AS
226222013-05-21 Andreas Schwab <schwab@suse.de>
22623
22624 [BZ #15014]
22625 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
22626 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
22627 successful.
22628 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
22629 redundant variable declarations and reallocation of buffer when
22630 parsing as IPv6 address. Always set NSS status when called from
22631 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
22632 buffer too small. Correct computation of needed size.
22633 * nss/Makefile (tests): Add test-digits-dots.
22634 * nss/test-digits-dots.c: New test.
22635
fef94eab
SP
226362013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22637
22638 * benchtests/Makefile: Remove instructions for adding
22639 benchmark tests.
22640 * benchtests/README: New file to explain how to execute and
22641 enhance the benchmark tests.
22642
e39adf43
AS
226432013-05-21 Andreas Schwab <schwab@suse.de>
22644
22645 [BZ #15493]
22646 * setjmp/Makefile (tests): Add tst-sigsetjmp.
22647 * setjmp/tst-sigsetjmp.c: New test.
22648
b2b671b6
OB
226492013-05-20 Ondřej Bílka <neleai@seznam.cz>
22650
22651 * sysdeps/x86_64/memset.S (memset): New implementation.
22652 (__bzero): Likewise.
22653 (__memset_tail): New function.
22654
2d48b41c
OB
226552013-05-20 Ondřej Bílka <neleai@seznam.cz>
22656
22657 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
22658 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
22659 __memcpy_sse2_unaligned ifunc selection.
22660 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22661 Add memcpy-sse2-unaligned.S.
22662 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22663 Add: __memcpy_sse2_unaligned.
22664
f16cc3eb
JM
226652013-05-19 Joseph Myers <joseph@codesourcery.com>
22666
3e694268
JM
22667 [BZ #15490]
22668 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22669 math_force_eval before restoring floating-point envrionment.
22670 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
22671 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
22672 Likewise.
22673 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
22674 <math_private.h>.
22675 (__nearbyintl): Use math_force_eval before restoring
22676 floating-point environment.
22677 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
22678
db62a907
JM
22679 * math/gen-libm-test.pl (special_functions): Remove.
22680 (parse_args): Don't handle TEST_extra. Handle functions with no
22681 return value.
22682 * math/libm-test.inc (struct test_sincos_data): Replace with
22683 struct test_fFF_11_data.
22684 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
22685 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
22686 (sincos_test_data): Change element type to struct
22687 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
22688 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
22689 RUN_TEST_LOOP_sincos.
22690 * math/README.libm-test: Don't mention special handling of
22691 individual functions.
22692 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
22693 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22694 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22695 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22696 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22698
f16cc3eb
JM
22699 * math/gen-libm-test.pl (get_variable): Remove function.
22700 (parse_args): Don't show pointer parameters to call in test
22701 names. Use "extra output N" in test names for extra outputs
22702 rather than naming variables.
22703
3779b5b6
JM
227042013-05-18 Joseph Myers <joseph@codesourcery.com>
22705
2ee094ff
JM
22706 [BZ #15488]
22707 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
22708 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
22709 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22710 double tests.
22711 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22712 disable.
22713 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22714 check_long_double.
22715
3779b5b6
JM
22716 * math/gen-libm-test.pl (@tests): Remove variable.
22717 ($count): Likewise.
22718 (new_test): Remove function.
22719 (show_exceptions): New function.
22720 (special_functions): Use show_exceptions instead of new_test.
22721 (parse_args): Likewise.
22722 (generate_testfile): Pass only function name in generated call to
22723 print_max_error or print_complex_max_error.
22724 (get_ulps): Do not handle complex tests specially.
22725 (output_test): Rename to ...
22726 (get_all_ulps_for_test): ... this. Return a string rather than
22727 printing to a file. Require ulps to be present.
22728 (output_ulps): Generate arrays rather than #defines.
22729 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22730 (struct ulp_data): New type.
22731 (BUILD_COMPLEX_ULP): Remove macro.
22732 (compare_ulp_data): New function.
22733 (find_ulps): Likewise.
22734 (find_test_ulps): Likewise.
22735 (find_function_ulps): Likewise.
22736 (find_complex_function_ulps): Likewise.
22737 (print_max_error): Determine allowed ulps using
22738 find_function_ulps.
22739 (print_complex_max_error): Determine allowed ulps using
22740 find_complex_function_ulps.
22741 (check_float_internal): Determine max ulps using find_test_ulps.
22742 (check_float): Do not take max_ulp parameter. Update call to
22743 check_float_internal.
22744 (check_complex): Likewise.
22745 (check_int): Do not take max_ulp parameter.
22746 (check_long): Likewise.
22747 (check_bool): Likewise.
22748 (check_longlong): Likewise.
22749 (struct test_f_f_data): Remove max_ulp field.
22750 (struct test_ff_f_data): Likewise.
22751 (struct test_ff_f_data_nexttoward): Likewise.
22752 (struct test_fi_f_data): Likewise.
22753 (struct test_fl_f_data): Likewise.
22754 (struct test_if_f_data): Likewise.
22755 (struct test_fff_f_data): Likewise.
22756 (struct test_c_f_data): Likewise.
22757 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22758 (struct test_fF_f1_data): Likewise.
22759 (struct test_ffI_f1_data): Likewise.
22760 (struct test_c_c_data): Remove max_ulp field.
22761 (struct test_cc_c_data): Likewise.
22762 (struct test_f_i_data): Likewise.
22763 (struct test_ff_i_data): Likewise.
22764 (struct test_f_l_data): Likewise.
22765 (struct test_f_L_data): Likewise.
22766 (struct test_sincos_data): Likewise.
22767 (RUN_TEST_f_f): Do not handle ulps.
22768 (RUN_TEST_LOOP_f_f): Likewise.
22769 (RUN_TEST_2_f): Likewise.
22770 (RUN_TEST_LOOP_2_f): Likewise.
22771 (RUN_TEST_fff_f): Likewise.
22772 (RUN_TEST_LOOP_fff_f): Likewise.
22773 (RUN_TEST_c_f): Likewise.
22774 (RUN_TEST_LOOP_c_f): Likewise.
22775 (RUN_TEST_f_f1): Likewise.
22776 (RUN_TEST_LOOP_f_f1): Likewise.
22777 (RUN_TEST_fF_f1): Likewise.
22778 (RUN_TEST_LOOP_fF_f1): Likewise.
22779 (RUN_TEST_fI_f1): Likewise.
22780 (RUN_TEST_LOOP_fI_f1): Likewise.
22781 (RUN_TEST_ffI_f1): Likewise.
22782 (RUN_TEST_LOOP_ffI_f1): Likewise.
22783 (RUN_TEST_c_c): Likewise.
22784 (RUN_TEST_LOOP_c_c): Likewise.
22785 (RUN_TEST_cc_c): Likewise.
22786 (RUN_TEST_LOOP_cc_c): Likewise.
22787 (RUN_TEST_f_i): Likewise.
22788 (RUN_TEST_LOOP_f_i): Likewise.
22789 (RUN_TEST_f_i_tg): Likewise.
22790 (RUN_TEST_LOOP_f_i_tg): Likewise.
22791 (RUN_TEST_ff_i_tg): Likewise.
22792 (RUN_TEST_LOOP_ff_i_tg): Likewise.
22793 (RUN_TEST_f_b): Likewise.
22794 (RUN_TEST_LOOP_f_b): Likewise.
22795 (RUN_TEST_f_b_tg): Likewise.
22796 (RUN_TEST_LOOP_f_b_tg): Likewise.
22797 (RUN_TEST_f_l): Likewise.
22798 (RUN_TEST_LOOP_f_l): Likewise.
22799 (RUN_TEST_f_L): Likewise.
22800 (RUN_TEST_LOOP_f_L): Likewise.
22801 (RUN_TEST_sincos): Likewise.
22802 (RUN_TEST_LOOP_sincos): Likewise.
22803
8269107f
JM
228042013-05-17 Joseph Myers <joseph@codesourcery.com>
22805
bb38759d
JM
22806 [BZ #15480]
22807 [BZ #15485]
22808 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
22809 main case of finite arguments, set rounding mode to FE_TONEAREST
22810 and discard exceptions.
22811 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
22812 exceptions.
22813 (remainder_tonearest_test_data): New variable.
22814 (remainder_test_tonearest): New function.
22815 (remainder_towardzero_test_data): New variable.
22816 (remainder_test_towardzero): New function.
22817 (remainder_downward_test_data): New variable.
22818 (remainder_test_downward): New function.
22819 (remainder_upward_test_data): New variable.
22820 (remainder_test_upward): New function.
22821 (main): Call the new test functions.
22822
a00bdcf0
JM
22823 * math/libm-test.inc (struct test_f_f1_data): Remove field
22824 extra_init.
22825 (struct test_fF_f1_data): Likewise.
22826 (struct test_ffI_f1_data): Likewise.
22827 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
22828 based on value of EXTRA_EXPECTED.
22829 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22830 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
22831 EXTRA_VAR based on value of EXTRA_EXPECTED.
22832 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22833 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
22834 EXTRA_VAR based on value of EXTRA_EXPECTED.
22835 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22836 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
22837 EXTRA_VAR based on value of EXTRA_EXPECTED.
22838 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22839 * math/gen-libm-test.pl (parse_args): Don't output initializers
22840 for extra output values.
22841
de407f79
JM
22842 * math/libm-test.inc (check_int): Expect result to be exactly
22843 equal to expected value and do not handle ulps.
22844 (check_long): Likewise.
22845 (check_longlong): Likewise.
22846
8269107f
JM
22847 * math/libm-test.inc (ceil_test_data): Test for "inexact"
22848 exceptions.
22849 (cimag_test_data): Likewise.
22850 (conj_test_data): Likewise.
22851 (copysign_test_data): Likewise.
22852 (cproj_test_data): Likewise.
22853 (creal_test_data): Likewise.
22854 (fabs_test_data): Likewise.
22855 (fdim_test_data): Likewise.
22856 (finite_test_data): Likewise.
22857 (floor_test_data): Likewise.
22858 (fmax_test_data): Likewise.
22859 (fmin_test_data): Likewise.
22860 (fmod_test_data): Likewise.
22861 (fpclassify_test_data): Likewise.
22862 (frexp_test_data): Likewise.
22863 (ilogb_test_data): Likewise.
22864 (isfinite_test_data): Likewise.
22865 (isgreater_test_data): Likewise.
22866 (isgreaterequal_test_data): Likewise.
22867 (isinf_test_data): Likewise.
22868 (isless_test_data): Likewise.
22869 (islessequal_test_data): Likewise.
22870 (islessgreater_test_data): Likewise.
22871 (isnan_test_data): Likewise.
22872 (isnormal_test_data): Likewise.
22873 (issignaling_test_data): Likewise.
22874 (isunordered_test_data): Likewise.
22875 (ldexp_test_data): Likewise.
22876 (lrint_test_data): Likewise.
22877 (lrint_test_data) [TEST_FLOAT]: Disable one test.
22878 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
22879 (lrint_tonearest_test_data): Test for "inexact" exceptions.
22880 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22881 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
22882 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22883 test input.
22884 (lrint_towardzero_test_data): Test for "inexact" exceptions.
22885 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22886 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
22887 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
22888 that test input.
22889 (lrint_downward_test_data): Test for "inexact" exceptions.
22890 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22891 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
22892 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22893 test input.
22894 (lrint_upward_test_data): Test for "inexact" exceptions.
22895 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
22896 test input.
22897 (llrint_test_data): Test for "inexact" exceptions.
22898 (llrint_test_data) [TEST_FLOAT]: Disable one test.
22899 (llrint_tonearest_test_data): Test for "inexact" exceptions.
22900 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22901 (llrint_towardzero_test_data): Test for "inexact" exceptions.
22902 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22903 (llrint_downward_test_data): Test for "inexact" exceptions.
22904 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22905 (llrint_upward_test_data): Test for "inexact" exceptions.
22906 (logb_test_data): Likewise.
22907 (logb_downward_test_data): Likewise.
22908 (nextafter_test_data): Likewise.
22909 (nexttoward_test_data): Likewise.
22910 (remainder_test_data): Likewise.
22911 (remquo_test_data): Likewise.
22912 (scalbn_test_data): Likewise.
22913 (scalbln_test_data): Likewise.
22914 (signbit_test_data): Likewise.
22915 (sqrt_test_data): Likewise.
22916 (significand_test_data): Likewise.
22917
48a18de1
SP
229182013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22919
22920 [BZ #15424]
22921 * benchtests/bench-modf.c (struct args): Mark arg0 as
22922 volatile.
22923 * scripts/bench.pl: Mark members of struct args as volatile.
22924
13d3b41a
AZ
229252013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22926
68191c1d 22927 [BZ # 15497]
13d3b41a
AZ
22928 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
22929 negative infinity on POWER6 or lower.
22930 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
22931
2848b105
MR
229322013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
22933
22934 [BZ #15442]
22935 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
22936 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
22937 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
22938 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
22939 (_FP_SETQNAN): New macro.
22940 (_FP_SETQNAN_SEMIRAW): Likewise.
22941 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
22942 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
22943 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
22944 (FP_EXTEND): Use _FP_FRAC_SNANP.
22945 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
22946 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
22947 into account.
22948 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22949 New macro.
22950 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
22951 Likewise.
22952
323e5cb7
JM
229532013-05-16 Joseph Myers <joseph@codesourcery.com>
22954
c58b274f
JM
22955 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
22956 with DIVIDE_BY_ZERO_EXCEPTION.
22957 (gamma_test_data): Likewise.
22958 (lgamma_test_data): Likewise.
22959 (log_test_data): Likewise.
22960 (log10_test_data): Likewise.
22961 (log2_test_data): Likewise.
22962 (tgamma_test_data): Likewise.
22963
0ab34904
JM
22964 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
22965 (acos_test_tonearest): Likewise.
22966 (acos_test_towardzero): Likewise.
22967 (acos_test_downward): Likewise.
22968 (acos_test_upward): Likewise.
22969 (acosh_test): Likewise.
22970 (asin_test): Likewise.
22971 (asin_test_tonearest): Likewise.
22972 (asin_test_towardzero): Likewise.
22973 (asin_test_downward): Likewise.
22974 (asin_test_upward): Likewise.
22975 (asinh_test): Likewise.
22976 (atan_test): Likewise.
22977 (atanh_test): Likewise.
22978 (atan2_test): Likewise.
22979 (cabs_test): Likewise.
22980 (cacos_test): Likewise.
22981 (cacosh_test): Likewise.
22982 (casin_test): Likewise.
22983 (casinh_test): Likewise.
22984 (catan_test): Likewise.
22985 (catanh_test): Likewise.
22986 (cbrt_test): Likewise.
22987 (ccos_test): Likewise.
22988 (ccosh_test): Likewise.
22989 (cexp_test): Likewise.
22990 (clog_test): Likewise.
22991 (clog10_test): Likewise.
22992 (cos_test): Likewise.
22993 (cos_test_tonearest): Likewise.
22994 (cos_test_towardzero): Likewise.
22995 (cos_test_downward): Likewise.
22996 (cos_test_upward): Likewise.
22997 (cosh_test): Likewise.
22998 (cosh_test_tonearest): Likewise.
22999 (cosh_test_towardzero): Likewise.
23000 (cosh_test_downward): Likewise.
23001 (cosh_test_upward): Likewise.
23002 (cpow_test): Likewise.
23003 (csin_test): Likewise.
23004 (csinh_test): Likewise.
23005 (csqrt_test): Likewise.
23006 (ctan_test): Likewise.
23007 (ctan_test_tonearest): Likewise.
23008 (ctan_test_towardzero): Likewise.
23009 (ctan_test_downward): Likewise.
23010 (ctan_test_upward): Likewise.
23011 (ctanh_test): Likewise.
23012 (ctanh_test_tonearest): Likewise.
23013 (ctanh_test_towardzero): Likewise.
23014 (ctanh_test_downward): Likewise.
23015 (ctanh_test_upward): Likewise.
23016 (erf_test): Likewise.
23017 (erfc_test): Likewise.
23018 (exp_test): Likewise.
23019 (exp_test_tonearest): Likewise.
23020 (exp_test_towardzero): Likewise.
23021 (exp_test_downward): Likewise.
23022 (exp_test_upward): Likewise.
23023 (exp10_test): Likewise.
23024 (exp2_test): Likewise.
23025 (expm1_test): Likewise.
23026 (fmod_test): Likewise.
23027 (gamma_test): Likewise.
23028 (hypot_test): Likewise.
23029 (j0_test): Likewise.
23030 (j1_test): Likewise.
23031 (jn_test): Likewise.
23032 (lgamma_test): Likewise.
23033 (log_test): Likewise.
23034 (log10_test): Likewise.
23035 (log1p_test): Likewise.
23036 (log2_test): Likewise.
23037 (logb_test_downward): Likewise.
23038 (pow_test): Likewise.
23039 (pow_test_tonearest): Likewise.
23040 (pow_test_towardzero): Likewise.
23041 (pow_test_downward): Likewise.
23042 (pow_test_upward): Likewise.
23043 (remainder_test): Likewise.
23044 (remquo_test): Likewise.
23045 (sin_test): Likewise.
23046 (sin_test_tonearest): Likewise.
23047 (sin_test_towardzero): Likewise.
23048 (sin_test_downward): Likewise.
23049 (sin_test_upward): Likewise.
23050 (sincos_test): Likewise.
23051 (sinh_test): Likewise.
23052 (sinh_test_tonearest): Likewise.
23053 (sinh_test_towardzero): Likewise.
23054 (sinh_test_downward): Likewise.
23055 (sinh_test_upward): Likewise.
23056 (sqrt_test): Likewise.
23057 (tan_test): Likewise.
23058 (tan_test_tonearest): Likewise.
23059 (tan_test_towardzero): Likewise.
23060 (tan_test_downward): Likewise.
23061 (tan_test_upward): Likewise.
23062 (tanh_test): Likewise.
23063 (tgamma_test): Likewise.
23064 (y0_test): Likewise.
23065 (y1_test): Likewise.
23066 (yn_test): Likewise.
23067
323e5cb7
JM
23068 * math/gen-libm-test.pl (adjust_arg): Remove function.
23069 (special_function): Remove argument $in_func. Only handle
23070 generating output for tables of tests, not inside functions.
23071 (parse_args): Likewise.
23072 (generate_testfile): Remove variable $in_func. Update call to
23073 parse_args.
23074 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
23075 (MINUS_ZERO_INIT): Rename macro to minus_zero.
23076 (PLUS_INFTY_INIT): Rename macro to plus_infty.
23077 (MINUS_INFTY_INIT): Rename macro to minus_infty.
23078 (QNAN_VALUE_INIT): Rename macro to qnan_value.
23079 (MAX_VALUE_INIT): Rename macro to max_value.
23080 (MIN_VALUE_INIT): Rename macro to min_value.
23081 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
23082 (plus_zero): Remove variable.
23083 (minus_zero): Likewise.
23084 (plus_infty): Likewise.
23085 (minus_infty): Likewise.
23086 (qnan_value): Likewise.
23087 (max_value): Likewise.
23088 (min_value): Likewise.
23089 (min_subnorm_value): Likewise.
23090
e054f494
RA
230912013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23092
23093 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
23094 uint64_t or uint32_t usage.
23095 * crypt/sha256-block.c: Likewise.
23096 * crypt/sha256-crypt.c: Likewise.
23097 * crypt/sha256.c: Likewise.
23098 * crypt/sha512-block.c: Likewise.
23099 * crypt/sha512-crypt.c: Likewise.
23100 * crypt/sha512.c: Likewise.
23101 * debug/backtrace-tst.c: Likewise.
23102 * debug/pcprofiledump.c: Likewise.
23103 * elf/cache.c: Likewise.
23104 * elf/dl-cache.c: Likewise.
23105 * elf/dl-misc.c: Likewise.
23106 * elf/dl-profile.c: Likewise.
23107 * elf/dl-support.c: Likewise.
23108 * elf/ldconfig.c: Likewise.
23109 * elf/sprof.c: Likewise.
23110 * iconv/dummy-repertoire.c: Likewise.
23111 * iconv/iconv_charmap.c: Likewise.
23112 * iconv/skeleton.c: Likewise.
23113 * iconvdata/8bit-generic.c: Likewise.
23114 * iconvdata/cp737.h: Likewise.
23115 * iconvdata/cp775.h: Likewise.
23116 * iconvdata/ibm1008.h: Likewise.
23117 * iconvdata/ibm1025.h: Likewise.
23118 * iconvdata/ibm1046.h: Likewise.
23119 * iconvdata/ibm1097.h: Likewise.
23120 * iconvdata/ibm1112.h: Likewise.
23121 * iconvdata/ibm1122.h: Likewise.
23122 * iconvdata/ibm1123.h: Likewise.
23123 * iconvdata/ibm1124.h: Likewise.
23124 * iconvdata/ibm1129.h: Likewise.
23125 * iconvdata/ibm1130.h: Likewise.
23126 * iconvdata/ibm1132.h: Likewise.
23127 * iconvdata/ibm1133.h: Likewise.
23128 * iconvdata/ibm1137.h: Likewise.
23129 * iconvdata/ibm1140.h: Likewise.
23130 * iconvdata/ibm1141.h: Likewise.
23131 * iconvdata/ibm1142.h: Likewise.
23132 * iconvdata/ibm1143.h: Likewise.
23133 * iconvdata/ibm1144.h: Likewise.
23134 * iconvdata/ibm1145.h: Likewise.
23135 * iconvdata/ibm1146.h: Likewise.
23136 * iconvdata/ibm1147.h: Likewise.
23137 * iconvdata/ibm1148.h: Likewise.
23138 * iconvdata/ibm1149.h: Likewise.
23139 * iconvdata/ibm1153.h: Likewise.
23140 * iconvdata/ibm1154.h: Likewise.
23141 * iconvdata/ibm1155.h: Likewise.
23142 * iconvdata/ibm1156.h: Likewise.
23143 * iconvdata/ibm1157.h: Likewise.
23144 * iconvdata/ibm1158.h: Likewise.
23145 * iconvdata/ibm1160.h: Likewise.
23146 * iconvdata/ibm1161.h: Likewise.
23147 * iconvdata/ibm1162.h: Likewise.
23148 * iconvdata/ibm1163.h: Likewise.
23149 * iconvdata/ibm1164.h: Likewise.
23150 * iconvdata/ibm1166.h: Likewise.
23151 * iconvdata/ibm1167.h: Likewise.
23152 * iconvdata/ibm12712.h: Likewise.
23153 * iconvdata/ibm1390.h: Likewise.
23154 * iconvdata/ibm1399.h: Likewise.
23155 * iconvdata/ibm16804.h: Likewise.
23156 * iconvdata/ibm4517.h: Likewise.
23157 * iconvdata/ibm4899.h: Likewise.
23158 * iconvdata/ibm4909.h: Likewise.
23159 * iconvdata/ibm4971.h: Likewise.
23160 * iconvdata/ibm5347.h: Likewise.
23161 * iconvdata/ibm803.h: Likewise.
23162 * iconvdata/ibm856.h: Likewise.
23163 * iconvdata/ibm901.h: Likewise.
23164 * iconvdata/ibm902.h: Likewise.
23165 * iconvdata/ibm9030.h: Likewise.
23166 * iconvdata/ibm9066.h: Likewise.
23167 * iconvdata/ibm921.h: Likewise.
23168 * iconvdata/ibm922.h: Likewise.
23169 * iconvdata/ibm9448.h: Likewise.
23170 * iconvdata/isiri-3342.h: Likewise.
23171 * iconvdata/jis0201.h: Likewise.
23172 * include/link.h: Likewise.
23173 * include/netdb.h: Likewise.
23174 * inet/check_native.c: Likewise.
23175 * inet/check_pf.c: Likewise.
23176 * inet/getipv4sourcefilter.c: Likewise.
23177 * inet/getnameinfo.c: Likewise.
23178 * inet/getsourcefilter.c: Likewise.
23179 * inet/htonl.c: Likewise.
23180 * inet/setipv4sourcefilter.c: Likewise.
23181 * inet/setsourcefilter.c: Likewise.
23182 * inet/test-inet6_opt.c: Likewise.
23183 * inet/tst-network.c: Likewise.
23184 * locale/C-collate.c: Likewise.
23185 * locale/C-ctype.c: Likewise.
23186 * locale/C-time.c: Likewise.
23187 * locale/C-translit.h: Likewise.
23188 * locale/loadarchive.c: Likewise.
23189 * locale/programs/3level.h: Likewise.
23190 * locale/programs/charmap.c: Likewise.
23191 * locale/programs/charmap.h: Likewise.
23192 * locale/programs/ld-address.c: Likewise.
23193 * locale/programs/ld-collate.c: Likewise.
23194 * locale/programs/ld-ctype.c: Likewise.
23195 * locale/programs/ld-identification.c: Likewise.
23196 * locale/programs/ld-measurement.c: Likewise.
23197 * locale/programs/ld-messages.c: Likewise.
23198 * locale/programs/ld-monetary.c: Likewise.
23199 * locale/programs/ld-name.c: Likewise.
23200 * locale/programs/ld-numeric.c: Likewise.
23201 * locale/programs/ld-paper.c: Likewise.
23202 * locale/programs/ld-telephone.c: Likewise.
23203 * locale/programs/ld-time.c: Likewise.
23204 * locale/programs/linereader.c: Likewise.
23205 * locale/programs/locale.c: Likewise.
23206 * locale/programs/locarchive.c: Likewise.
23207 * locale/programs/locfile.h: Likewise.
23208 * locale/programs/repertoire.c: Likewise.
23209 * locale/programs/simple-hash.c: Likewise.
23210 * locale/programs/simple-hash.h: Likewise.
23211 * malloc/memusage.c: Likewise.
23212 * malloc/memusagestat.c: Likewise.
23213 * nis/nis_defaults.c: Likewise.
23214 * nis/nis_hash.c: Likewise.
23215 * nis/nis_print.c: Likewise.
23216 * nis/nis_xdr.c: Likewise.
23217 * nscd/connections.c: Likewise.
23218 * nscd/hstcache.c: Likewise.
23219 * nscd/nscd_gethst_r.c: Likewise.
23220 * nscd/nscd_getserv_r.c: Likewise.
23221 * nscd/nscd_helper.c: Likewise.
23222 * nscd/servicescache.c: Likewise.
23223 * nss/makedb.c: Likewise.
23224 * nss/nss_db/db-XXX.c: Likewise.
23225 * nss/nss_db/db-initgroups.c: Likewise.
23226 * nss/nss_db/db-netgrp.c: Likewise.
23227 * nss/nss_files/files-network.c: Likewise.
23228 * nss/nss_files/files-parse.c: Likewise.
23229 * posix/bug-regex5.c: Likewise.
23230 * posix/fnmatch_loop.c: Likewise.
23231 * posix/regcomp.c: Likewise.
23232 * posix/regexec.c: Likewise.
23233 * posix/tst-rfc3484-2.c: Likewise.
23234 * posix/tst-rfc3484-3.c: Likewise.
23235 * posix/tst-rfc3484.c: Likewise.
23236 * resolv/nss_dns/dns-canon.c: Likewise.
23237 * resolv/nss_dns/dns-network.c: Likewise.
23238 * resolv/res_init.c: Likewise.
23239 * resolv/res_mkquery.c: Likewise.
23240 * resolv/tst-aton.c: Likewise.
23241 * stdlib/cxa_atexit.c: Likewise.
23242 * stdlib/cxa_finalize.c: Likewise.
23243 * stdlib/gen-fpioconst.c: Likewise.
23244 * stdlib/strtol_l.c: Likewise.
23245 * string/tst-endian.c: Likewise.
23246 * sunrpc/auth_des.c: Likewise.
23247 * sunrpc/clnt_udp.c: Likewise.
23248 * sunrpc/rtime.c: Likewise.
23249 * sunrpc/svcauth_des.c: Likewise.
23250 * sunrpc/xdr.c: Likewise.
23251 * sunrpc/xdr_intXX_t.c: Likewise.
23252 * sunrpc/xdr_rec.c: Likewise.
23253 * sysdeps/generic/ldconfig.h: Likewise.
23254 * sysdeps/generic/ldsodefs.h: Likewise.
23255 * sysdeps/generic/memusage.h: Likewise.
23256 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23257 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
23258 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
23259 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23260 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23261 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23262 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23263 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23264 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23265 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23266 * sysdeps/posix/getaddrinfo.c: Likewise.
23267 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23268 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23269 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23270 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23271 * sysdeps/powerpc/test-gettimebase.c: Likewise.
23272 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23273 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
23274 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
23275 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
23276 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
23277 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23278 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23279 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
23280 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
23281 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
23282 * sysdeps/x86_64/dl-tls.h: Likewise.
23283 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
23284 * time/alt_digit.c: Likewise.
23285 * time/era.c: Likewise.
23286 * wcsmbs/tst-c16c32-1.c: Likewise.
23287
8c75f674
JM
232882013-05-16 Joseph Myers <joseph@codesourcery.com>
23289
23290 * math/libm-test.inc (struct test_sincos_data): New type.
23291 (RUN_TEST_LOOP_sincos): New macro.
23292 (sincos_test_data): New variable.
23293 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
23294
e6e49e59
RH
232952013-05-16 Richard Henderson <rth@redhat.com>
23296
23297 * math/atest-exp2.c (LIMB64): New macro.
23298 (CONSTSZ): New macro.
23299 (mp_exp1, mp_exp_m1, mp_log2): New variables.
23300 (hexdig): Move ...
23301 (print_mpn_fp): ... to function scope.
23302 (read_mpn_hex): Remove.
23303 (get_log2): Remove.
23304 (exp2_mpn): Use mp_log2.
23305 (main): Use mp_exp1.
23306
15c7c18d
JM
233072013-05-16 Joseph Myers <joseph@codesourcery.com>
23308
105a07df
JM
23309 * math/libm-test.inc: Remove comment about not testing "inexact"
23310 exceptions.
23311 (INEXACT_EXCEPTION): New macro.
23312 (NO_INEXACT_EXCEPTION): Likewise.
23313 (INVALID_EXCEPTION_OK): Update value.
23314 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23315 (OVERFLOW_EXCEPTION_OK): Likewise.
23316 (UNDERFLOW_EXCEPTION_OK): Likewise.
23317 (IGNORE_ZERO_INF_SIGN): Likewise.
23318 (ERRNO_UNCHANGED): Likewise.
23319 (ERRNO_EDOM): Likewise.
23320 (ERRNO_ERANGE): Likewise.
23321 (test_exceptions): Handle testing "inexact" exceptions.
23322 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
23323 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
23324 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
23325 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
23326 INEXACT_EXCEPTION.
23327 (rint_towardzero_test_data): Likewise.
23328 (rint_downward_test_data): Likewise.
23329 (rint_upward_test_data): Likewise.
23330
e9eee333
JM
23331 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
23332 with OVERFLOW_EXCEPTION.
23333 (exp10_test_data): Likewise.
23334 (exp2_test_data): Likewise.
23335 (expm1_test_data): Likewise.
23336 (lgamma_test_data): Likewise.
23337 (pow_test_data): Likewise.
23338 (tgamma_test_data): Likewise.
23339 (yn_test_data): Remove duplicate test of overflow.
23340
1c38ff73
JM
23341 * math/libm-test.inc (struct test_cc_c_data): New type.
23342 (RUN_TEST_LOOP_cc_c): New macro.
23343 (cpow_test_data): New variable.
23344 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
23345
15c7c18d
JM
23346 * math/libm-test.inc (struct test_f_L_data): New type.
23347 (RUN_TEST_LOOP_f_L): New macro.
23348 (llrint_test_data): New variable.
23349 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
23350 (llrint_tonearest_test_data): New variable.
23351 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
23352 (llrint_towardzero_test_data): New variable.
23353 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
23354 (llrint_downward_test_data): New variable.
23355 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
23356 (llrint_upward_test_data): New variable.
23357 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
23358 (llround_test_data): New variable.
23359 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
23360
f137ff13
PC
233612013-05-13 Peter Collingbourne <pcc@google.com>
23362
23363 * math/atest-exp2.c (get_log2): Remove const attribute.
23364
3608cb24
JM
233652013-05-15 Joseph Myers <joseph@codesourcery.com>
23366
23367 * math/libm-test.inc (struct test_f_l_data): New type.
23368 (RUN_TEST_LOOP_f_l): New macro.
23369 (lrint_test_data): New variable.
23370 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
23371 (lrint_tonearest_test_data): New variable.
23372 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
23373 (lrint_towardzero_test_data): New variable.
23374 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
23375 (lrint_downward_test_data): New variable.
23376 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
23377 (lrint_upward_test_data): New variable.
23378 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
23379 (lround_test_data): New variable.
23380 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
23381
39b1f617
PC
233822013-05-15 Peter Collingbourne <pcc@google.com>
23383
1deff3dc
PC
23384 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
23385 (EXTRACT_WORDS64) Use where appropriate.
23386 (INSERT_WORDS64) Likewise.
23387
791f3ba0
PC
23388 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
23389 constraints with x constraints.
23390 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
23391
39b1f617
PC
23392 * malloc/obstack.c (_obstack_compat): Add initializer.
23393
12fba011
EM
233942013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
23395
23396 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
23397 si_trapno and add si_addr_lsb to _sifields.sigfault.
23398 (si_trapno): Remove macro.
23399 (si_addr_lsb): Define new macro.
23400 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23401
d369f531
JM
234022013-05-15 Joseph Myers <joseph@codesourcery.com>
23403
b861c6c4
JM
23404 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
23405 instead of TEST_f_l.
23406 (llrint_test_tonearest): Likewise.
23407 (llrint_test_towardzero): Likewise.
23408 (llrint_test_downward): Likewise.
23409 (llrint_test_upward): Likewise.
23410 (llround_test): Likewise.
23411
7abeee12
JM
23412 * math/libm-test.inc (struct test_f_i_data): Add comment.
23413 (RUN_TEST_LOOP_f_b): New macro.
23414 (RUN_TEST_LOOP_f_b_tg): Likewise.
23415 (finite_test_data): New variable.
23416 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
23417 (isfinite_test_data): New variable.
23418 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23419 (isinf_test_data): New variable.
23420 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23421 (isnan_test_data): New variable.
23422 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23423 (isnormal_test_data): New variable.
23424 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23425 (issignaling_test_data): New variable.
23426 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23427 (signbit_test_data): New variable.
23428 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23429
cbe8c4d3
JM
23430 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
23431 with INVALID_EXCEPTION.
23432 (acosh_test_data): Likewise.
23433 (asin_test_data): Likewise.
23434 (atanh_test_data): Likewise.
23435 (fmod_test_data): Likewise.
23436 (log_test_data): Likewise.
23437 (log10_test_data): Likewise.
23438 (log2_test_data): Likewise.
23439 (pow_test_data): Likewise.
23440 (sqrt_test_data): Likewise.
23441 (y0_test_data): Likewise.
23442 (y1_test_data): Likewise.
23443 (yn_test_data): Likewise.
23444
5575c0e5
JM
23445 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
23446 function contents.
23447
d369f531
JM
23448 * math/libm-test.inc (struct test_ff_i_data): New type.
23449 (RUN_TEST_LOOP_ff_i_tg): New macro.
23450 (isgreater_test_data): New variable.
23451 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23452 (isgreaterequal_test_data): New variable.
23453 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23454 (isless_test_data): New variable.
23455 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23456 (islessequal_test_data): New variable.
23457 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23458 (islessgreater_test_data): New variable.
23459 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23460 (isunordered_test_data): New variable.
23461 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23462
781fd748
DM
234632013-05-14 David S. Miller <davem@davemloft.net>
23464
23465 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23466
87aa21df
JM
234672013-05-14 Joseph Myers <joseph@codesourcery.com>
23468
5e908270
JM
23469 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
23470
f71172e5
JM
23471 * math/libm-test.inc (struct test_fF_f1_data): Change type of
23472 extra_test to int.
23473 (struct test_f_i_data): Change type of max_ulp to int.
23474
8cfa635a
JM
23475 * math/libm-test.inc (test_ffI_f1_data): New type.
23476 (RUN_TEST_LOOP_ffI_f1): New macro.
23477 (remquo_test_data): New variable.
23478 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
23479
2bcb36b2
JM
23480 * setjmp/tst-setjmp-fp.c: New file.
23481 * setjmp/Makefile (tests): Add tst-setjmp-fp.
23482 (link-libm): New variable.
23483 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
23484
acbd839a
JM
23485 * math/libm-test.inc (struct test_f_i_data): New type.
23486 (RUN_TEST_LOOP_f_i): New macro.
23487 (RUN_TEST_LOOP_f_i_tg): Likewise.
23488 (fpclassify_test_data): New variable.
23489 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
23490 (ilogb_test_data): New variable.
23491 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
23492
e414d745
JM
23493 * math/libm-test.inc (scalbln_test): Correct function name in END
23494 call.
23495
d9c2a0fd
JM
23496 * math/libm-test.inc (struct test_f_f1_data): Add comment.
23497 (RUN_TEST_LOOP_fI_f1): New macro.
23498 (frexp_test_data): New variable.
23499 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
23500
9dc9095d
JM
23501 * math/libm-test.inc (struct test_fF_f1_data): New type.
23502 (RUN_TEST_LOOP_fF_f1): New macro.
23503 (modf_test_data): New variable.
23504 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
23505
87aa21df
JM
23506 * math/libm-test.inc (struct test_f_f1_data): New type.
23507 (RUN_TEST_LOOP_f_f1): New macro.
23508 (gamma_test_data): New variable.
23509 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23510 (lgamma_test_data): New variable.
23511 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23512
141af660
CD
235132013-05-13 Carlos O'Donell <carlos@redhat.com>
23514
23515 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
23516 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
23517 (main): Comment "tls" pseudo-hwcap.
23518
6d33265c
JM
235192013-05-13 Joseph Myers <joseph@codesourcery.com>
23520
68fc074c
JM
23521 * math/libm-test.inc (struct test_fl_f_data): New type.
23522 (RUN_TEST_LOOP_fl_f): New variable.
23523 (scalbln_test_data): New variable.
23524 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
23525
243216e1
JM
23526 * math/libm-test.inc (struct test_fi_f_data): New type.
23527 (RUN_TEST_LOOP_fi_f): New macro.
23528 (ldexp_test_data): New variable.
23529 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
23530 (scalbn_test_data): New variable.
23531 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
23532
6a1992e2
JM
23533 * math/libm-test.inc (struct test_c_f_data): New type.
23534 (RUN_TEST_LOOP_c_f): New macro.
23535 (cabs_test_data): New variable.
23536 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
23537 (carg_test_data): New variable.
23538 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
23539 (cimag_test_data): New variable.
23540 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
23541 (creal_test_data): New variable.
23542 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
23543
0e400df5
JM
23544 * math/libm-test.inc (struct test_if_f_data): New type.
23545 (RUN_TEST_LOOP_if_f): New macro.
23546 (jn_test_data): New variable.
23547 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
23548 (yn_test_data): New variable.
23549 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
23550
6d33265c
JM
23551 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
23552
f98ece5f
AZ
235532013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23554
23555 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
23556 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
23557
0f7d347b
SP
235582013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23559
43fe811b
SP
23560 * benchtests/Makefile (CPPFLAGS-nonlib): Add
23561 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
23562 (bench-deps): Add bench-timing.h.
23563 * benchtests-bench-skeleton.c: Include bench-timing.h.
23564 (main): Use TIMING_* macros instead of clock_gettime.
23565 * benchtests/bench-timing.h: New file.
23566
0f7d347b
SP
23567 [BZ #14582]
23568 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
23569 Renamed from _LIB_VERSION.
23570 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
23571
601a3a5f
JM
235722013-05-12 Joseph Myers <joseph@codesourcery.com>
23573
4f184d30
JM
23574 * math/libm-test.inc (struct test_fff_f_data): New type.
23575 (RUN_TEST_LOOP_fff_f): New macro.
23576 (fma_test_data): New variable.
23577 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
23578 (fma_towardzero_test_data): New variable.
23579 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
23580 (fma_downward_test_data): New variable.
23581 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
23582 (fma_upward_test_data): New variable.
23583 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
23584
08198877
JM
23585 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
23586 (struct test_c_c_data): New type.
23587 (RUN_TEST_LOOP_c_c): New macro.
23588 (cacos_test_data): New variable.
23589 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
23590 (cacosh_test_data): New variable.
23591 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
23592 (casin_test_data): New variable.
23593 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
23594 (casinh_test_data): New variable.
23595 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
23596 (catan_test_data): New variable.
23597 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
23598 (catanh_test_data): New variable.
23599 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
23600 (ccos_test_data): New variable.
23601 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
23602 (ccosh_test_data): New variable.
23603 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
23604 (cexp_test_data): New variable.
23605 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
23606 (clog_test_data): New variable.
23607 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
23608 (clog10_test_data): New variable.
23609 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
23610 (conj_test_data): New variable.
23611 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
23612 (cproj_test_data): New variable.
23613 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
23614 (csin_test_data): New variable.
23615 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
23616 (csinh_test_data): New variable.
23617 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
23618 (csqrt_test_data): New variable.
23619 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
23620 (ctan_test_data): New variable.
23621 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
23622 (ctan_tonearest_test_data): New variable.
23623 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23624 (ctan_towardzero_test_data): New variable.
23625 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23626 (ctan_downward_test_data): New variable.
23627 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23628 (ctan_upward_test_data): New variable.
23629 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23630 (ctanh_test_data): New variable.
23631 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
23632 (ctanh_tonearest_test_data): New variable.
23633 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23634 (ctanh_towardzero_test_data): New variable.
23635 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23636 (ctanh_downward_test_data): New variable.
23637 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23638 (ctanh_upward_test_data): New variable.
23639 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23640 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
23641 of BUILD_COMPLEX.
23642
601a3a5f
JM
23643 * math/libm-test.inc (struct test_ff_f_data): New type.
23644 (struct test_ff_f_data_nexttoward): Likewise.
23645 (RUN_TEST_LOOP_2_f): New macro.
23646 (RUN_TEST_LOOP_ff_f): Likewise.
23647 (atan2_test_data): New variable.
23648 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
23649 (copysign_test_data): New variable.
23650 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
23651 (fdim_test_data): New variable.
23652 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
23653 (fmax_test_data): New variable.
23654 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
23655 (fmin_test_data): New variable.
23656 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
23657 (fmod_test_data): New variable.
23658 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
23659 (hypot_test_data): New variable.
23660 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
23661 (nextafter_test_data): New variable.
23662 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
23663 (nexttoward_test_data): New variable.
23664 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
23665 (pow_test_data): New variable.
23666 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
23667 (pow_tonearest_test_data): New variable.
23668 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
23669 (pow_towardzero_test_data): New variable.
23670 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
23671 (pow_downward_test_data): New variable.
23672 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
23673 (pow_upward_test_data): New variable.
23674 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
23675 (remainder_test_data): New variable.
23676 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
23677 (scalb_test_data): New variable.
23678 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
23679 * sysdeps/i386/fpu/libm-test-ulps: Update.
23680
74c57478
JM
236812013-05-11 Joseph Myers <joseph@codesourcery.com>
23682
8329e4da
JM
23683 * math/libm-test.inc (fma_test): Use max_value instead of local
23684 variable fltmax.
23685 (nextafter_test): Likewise.
23686
74c57478
JM
23687 * math/libm-test.inc (acos_towardzero_test_data): New variable.
23688 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23689 (acos_downward_test_data): New variable.
23690 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23691 (acos_upward_test_data): New variable.
23692 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23693 (acosh_test_data): New variable.
23694 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
23695 (asin_test_data): New variable.
23696 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
23697 (asin_tonearest_test_data): New variable.
23698 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23699 (asin_towardzero_test_data): New variable.
23700 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23701 (asin_downward_test_data): New variable.
23702 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23703 (asin_upward_test_data): New variable.
23704 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23705 (asinh_test_data): New variable.
23706 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
23707 (atan_test_data): New variable.
23708 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
23709 (atanh_test_data): New variable.
23710 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23711 (cbrt_test_data): New variable.
23712 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23713 (ceil_test_data): New variable.
23714 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23715 (cos_test_data): New variable.
23716 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23717 (cos_tonearest_test_data): New variable.
23718 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23719 (cos_towardzero_test_data): New variable.
23720 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23721 (cos_downward_test_data): New variable.
23722 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23723 (cos_upward_test_data): New variable.
23724 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23725 (cosh_test_data): New variable.
23726 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23727 (cosh_tonearest_test_data): New variable.
23728 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23729 (cosh_towardzero_test_data): New variable.
23730 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23731 (cosh_downward_test_data): New variable.
23732 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23733 (cosh_upward_test_data): New variable.
23734 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23735 (erf_test_data): New variable.
23736 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23737 (erfc_test_data): New variable.
23738 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23739 (exp_test_data): New variable.
23740 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23741 (exp_tonearest_test_data): New variable.
23742 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23743 (exp_towardzero_test_data): New variable.
23744 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23745 (exp_downward_test_data): New variable.
23746 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23747 (exp_upward_test_data): New variable.
23748 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23749 (exp10_test_data): New variable.
23750 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23751 (exp2_test_data): New variable.
23752 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23753 (expm1_test_data): New variable.
23754 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23755 (fabs_test_data): New variable.
23756 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23757 (floor_test_data): New variable.
23758 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23759 (j0_test_data): New variable.
23760 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23761 (j1_test_data): New variable.
23762 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23763 (log_test_data): New variable.
23764 (log_test): Run tests with RUN_TEST_LOOP_f_f.
23765 (log10_test_data): New variable.
23766 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23767 (log1p_test_data): New variable.
23768 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23769 (log2_test_data): New variable.
23770 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23771 (logb_test_data): New variable.
23772 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23773 (logb_downward_test_data): New variable.
23774 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23775 (nearbyint_test_data): New variable.
23776 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23777 (rint_test_data): New variable.
23778 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23779 (rint_tonearest_test_data): New variable.
23780 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23781 (rint_towardzero_test_data): New variable.
23782 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23783 (rint_downward_test_data): New variable.
23784 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23785 (rint_upward_test_data): New variable.
23786 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23787 (round_test_data): New variable.
23788 (round_test): Run tests with RUN_TEST_LOOP_f_f.
23789 (sin_test_data): New variable.
23790 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23791 (sin_tonearest_test_data): New variable.
23792 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23793 (sin_towardzero_test_data): New variable.
23794 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23795 (sin_downward_test_data): New variable.
23796 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23797 (sin_upward_test_data): New variable.
23798 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23799 (sinh_test_data): New variable.
23800 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23801 (sinh_tonearest_test_data): New variable.
23802 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23803 (sinh_towardzero_test_data): New variable.
23804 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23805 (sinh_downward_test_data): New variable.
23806 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23807 (sinh_upward_test_data): New variable.
23808 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23809 (sqrt_test_data): New variable.
23810 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
23811 (tan_test_data): New variable.
23812 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
23813 (tan_tonearest_test_data): New variable.
23814 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23815 (tan_towardzero_test_data): New variable.
23816 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23817 (tan_downward_test_data): New variable.
23818 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23819 (tan_upward_test_data): New variable.
23820 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23821 (tanh_test_data): New variable.
23822 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
23823 (tgamma_test_data): New variable.
23824 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
23825 (trunc_test_data): New variable.
23826 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
23827 (y0_test_data): New variable.
23828 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
23829 (y1_test_data): New variable.
23830 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
23831 (significand_test_data): New variable.
23832 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
23833
7187d844
CG
238342013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
23835
23836 [BZ #12387]
23837 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
23838
f63fae73
PT
238392013-05-10 Pino Toscano <toscano.pino@tiscali.it>
23840
23841 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
23842
8a67a4b3
AJ
238432013-05-10 Andreas Jaeger <aj@suse.de>
23844
23845 [BZ #15448]
23846 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
23847 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
23848
51df539d
JM
238492013-05-10 Joseph Myers <joseph@codesourcery.com>
23850
23851 * math/gen-libm-test.pl (adjust_arg): New function.
23852 (special_functions): Handle generating output in both functions
23853 and arrays.
23854 (parse_args): Likewise.
23855 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
23856 $in_func argument to parse_args.
23857 * math/libm-test.inc (struct test_f_f_data): New type.
23858 (IF_ROUND_INIT_): New macro.
23859 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
23860 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23861 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23862 (IF_ROUND_INIT_FE_UPWARD): Likewise.
23863 (ROUND_RESTORE_): Likewise.
23864 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
23865 (ROUND_RESTORE_FE_TONEAREST): Likewise.
23866 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
23867 (ROUND_RESTORE_FE_UPWARD): Likewise.
23868 (RUN_TEST_LOOP_f_f): New macro.
23869 (acos_test_data): New variable.
23870 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
23871 (acos_tonearest_test_data): New variable.
23872 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23873
5c637fe5
SP
238742013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23875
23876 * benchtests/bench-skeleton.c (startup): Fix coding style.
23877
ab2b9461
JM
238782013-05-10 Joseph Myers <joseph@codesourcery.com>
23879
23880 [BZ #6809]
23881 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
23882 negative infinity argument.
23883 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
23884 negative infinity argument.
23885 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
23886 negative infinity argument.
23887 * math/libm-test.inc (tgamma_test): Expect errno to be set for
23888 domain errors.
23889
4c0fe6fe
FW
238902013-05-10 Florian Weimer <fweimer@redhat.com>
23891
23892 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
23893 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
23894 * iconv/iconv_prog.c (main): Likewise.
23895 * locale/programs/charmap-dir.c (charmap_readdir)
23896 (fopen_uncompressed): Likewise.
23897 * locale/programs/locfile.c (siblings_uncached)
23898 (write_locale_data): Use lstat64 instead of lstat.
23899 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
23900 stat.
23901
a3375d29
AJ
239022013-05-10 Andreas Jaeger <aj@suse.de>
23903
23904 [BZ #15395]
23905 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
23906 localization.
23907 Include <locale.h>.
23908
36129722
CD
239092013-05-09 Carlos O'Donell <carlos@redhat.com>
23910
23911 * elf/dl-close.c (_dl_close_worker): Add comments.
23912
faa7f811
JM
239132013-05-09 Joseph Myers <joseph@codesourcery.com>
23914
ed41ffef
JM
23915 [BZ #15359]
23916 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
23917 high part of pi/2.
23918 (__ieee754_rem_pio2l): Update comments.
23919
d0213cd0
JM
23920 [BZ #15429]
23921 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
23922 high part of pi/2.
23923 (__ieee754_rem_pio2l): Update comments.
23924
0d3e777a
JM
23925 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
23926 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
23927
24f56066
JM
23928 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
23929 M_PI_4l.
23930
faa7f811
JM
23931 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
23932 (M_PI_34_LOG10El): Likewise.
23933 (M_PI2_LOG10El): Likewise.
23934 (M_PI4_LOG10El): Likewise.
23935 (M_PI_LOG10El): Likewise.
23936
e9a5e0fd
AZ
239372013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23938
23939 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23940
d8cd06db
JM
239412013-05-08 Joseph Myers <joseph@codesourcery.com>
23942
a0d9f9d7
JM
23943 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
23944 (MINUS_ZERO_INIT): Likewise.
23945 (PLUS_INFTY_INIT): Likewise.
23946 (MINUS_INFTY_INIT): Likewise.
23947 (QNAN_VALUE_INIT): Likewise.
23948 (MAX_VALUE_INIT): Likewise.
23949 (MIN_VALUE_INIT): Likewise.
23950 (MIN_SUBNORM_VALUE_INIT): Likewise.
23951 (plus_zero): Initialize with PLUS_ZERO_INIT.
23952 (minus_zero): Initialize with MINUS_ZERO_INIT.
23953 (plus_infty): Initialize with PLUS_INFTY_INIT.
23954 (minus_infty): Initialize with MINUS_INFTY_INIT.
23955 (qnan_value): Initialize with QNAN_VALUE_INIT.
23956 (max_value): Initialize with MAX_VALUE_INIT.
23957 (min_value): Initialize with MIN_VALUE_INIT.
23958 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
23959
ae08db3b
JM
23960 * math/libm-test.inc (RUN_TEST_if_f): New macro.
23961 (jn_test): Use TEST_if_f instead of TEST_ff_f.
23962 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
23963 (yn_test): Use TEST_if_f instead of TEST_ff_f.
23964
f44bf14a
JM
23965 * math/libm-test.inc (RUN_TEST_f_f): New macro.
23966 (RUN_TEST_2_f): Likewise.
23967 (RUN_TEST_ff_f): Likewise.
23968 (RUN_TEST_fi_f): Likewise.
23969 (RUN_TEST_fl_f): Likewise.
23970 (RUN_TEST_fff_f): Likewise.
23971 (RUN_TEST_c_f): Likewise.
23972 (RUN_TEST_f_f1): Likewise.
23973 (RUN_TEST_fF_f1): Likewise.
23974 (RUN_TEST_fI_f1): Likewise.
23975 (RUN_TEST_ffI_f1): Likewise.
23976 (RUN_TEST_c_c): Likewise.
23977 (RUN_TEST_cc_c): Likewise.
23978 (RUN_TEST_f_i): Likewise.
23979 (RUN_TEST_f_i_tg): Likewise.
23980 (RUN_TEST_ff_i_tg): Likewise.
23981 (RUN_TEST_f_b): Likewise.
23982 (RUN_TEST_f_b_tg): Likewise.
23983 (RUN_TEST_f_l): Likewise.
23984 (RUN_TEST_f_L): Likewise.
23985 (RUN_TEST_sincos): Likewise.
23986 * math/gen-libm-test.pl (new_test): Take new argument to indicate
23987 whether to show exceptions. Do not include ");\n" in return
23988 value.
23989 (special_functions): Output call to RUN_TEST_sincos instead of
23990 check_float calls. Update calls to new_test.
23991 (parse_args): Output call to single RUN_TEST_* macro instead of
23992 check_* calls and other assignments. Update calls to new_test.
23993
d8cd06db
JM
23994 [BZ #2546]
23995 [BZ #2560]
23996 [BZ #5159]
23997 [BZ #15426]
23998 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
23999 input to result for tgamma overflow.
24000 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
24001 (gamma_coeff): New variable.
24002 (NCOEFF): New macro.
24003 (gamma_positive): New function.
24004 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
24005 underflow here. Use gamma_positive instead of exp (lgamma) for
24006 other arguments.
24007 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
24008 (gamma_coeff): New variable.
24009 (NCOEFF): New macro.
24010 (gammaf_positive): New function.
24011 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
24012 underflow here. Use gamma_positive instead of exp (lgamma) for
24013 other arguments.
24014 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
24015 (gamma_coeff): New variable.
24016 (NCOEFF): New macro.
24017 (gammal_positive): New function.
24018 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
24019 underflow here. Use gamma_positive instead of exp (lgamma) for
24020 other arguments.
24021 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
24022 (gamma_coeff): New variable.
24023 (NCOEFF): New macro.
24024 (gammal_positive): New function.
24025 (__ieee754_gammal_r): Handle positive infinity, overflow and
24026 underflow here. Handle NaN the same as positive infinity. Remove
24027 check x < 0xffffffff for negative integers. Use gamma_positive
24028 instead of exp (lgamma) for other arguments.
24029 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
24030 (gamma_coeff): New variable.
24031 (NCOEFF): New macro.
24032 (gammal_positive): New function.
24033 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
24034 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
24035 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
24036 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
24037 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
24038 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
24039 * sysdeps/generic/math_private.h (__gamma_productf): New
24040 prototype.
24041 (__gamma_product): Likewise.
24042 (__gamma_productl): Likewise.
24043 * math/Makefile (libm-calls): Add gamma_product.
24044 * math/libm-test.inc (tgamma_test): Add more tests.
24045 * sysdeps/i386/fpu/libm-test-ulps: Update.
24046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24047
bb7cf681
OB
240482013-05-08 Ondřej Bílka <neleai@seznam.cz>
24049
24050 * benchtests/bench-skeleton.c (main): Preheat CPU.
24051
ba853947
AJ
240522013-05-07 Aurelien Jarno <aurelien@aurel32.net>
24053
24054 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
24055
8347c74c
RM
240562013-05-07 Roland McGrath <roland@hack.frob.com>
24057
24058 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
24059 and _dl_skip_args_internal.
24060
e8dd4791
CD
240612013-05-07 Carlos O'Donell <carlos@redhat.com>
24062
24063 * manual/message.texi (Message Translation): Talk about users.
24064 Message to key mapping impacts design.
24065
c7405830
RM
240662013-05-06 Roland McGrath <roland@hack.frob.com>
24067
a9173057
RM
24068 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
24069
976e2f03
RM
24070 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
24071
9723ffc5
RM
24072 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
24073 * sysdeps/wordsize-64/glob64.c: ... here.
24074
962e6658
RM
24075 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
24076 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
24077 New macros.
24078
ee586a6d
RM
24079 * debug/getlogin_r_chk.c: Moved to ...
24080 * login/getlogin_r_chk.c: ... here.
24081 * debug/Makefile (routines): Move getlogin_r_chk to ...
24082 * login/Makefile (routines): ... here.
24083 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
24084 * login/Versions (libc: GLIBC_2.4): ... here.
24085
355f9165
RM
24086 * io/poll.c (__poll): Renamed from poll.
24087 Add libc_hidden_def.
24088 (poll): Define as weak alias.
24089
bd9ffde6
RM
24090 * debug/ptsname_r_chk.c: Moved to ...
24091 * login/ptsname_r_chk.c: ... here.
24092 * debug/Makefile (routines): Move ptsname_r_chk to ...
24093 * login/Makefile (routines): ... here.
24094 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
24095 * login/Versions (libc: GLIBC_2.4): ... here.
24096
8fb16a04
RM
24097 * posix/getlogin.c: Moved to ...
24098 * login/getlogin.c: ... here.
24099 * posix/getlogin_r.c: Moved to ...
24100 * login/getlogin_r.c: ... here.
24101 * posix/getlogin_r.c: Moved to ...
24102 * login/getlogin_r.c: ... here.
24103 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
24104 * login/Makefile (routines): ... here.
24105 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
24106 * login/Versions (libc: GLIBC_2.0): ... here.
24107
b99b892f
RM
24108 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
24109 (setrlimit): Define as weak alias.
24110
c7405830
RM
24111 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
24112 Call __ names for open, ftruncate, and close.
24113 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
24114 (truncate): Define as weak alias.
24115
5bf96de5
JM
241162013-05-06 Joseph Myers <joseph@codesourcery.com>
24117
9ea3513c
JM
24118 * math/gen-libm-test.pl (parse_args): Initialize x before each
24119 test of frexp, modf and remquo.
24120
5bf96de5
JM
24121 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
24122 test signgam value.
24123
16e616a7
AZ
241242013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24125
24126 [BZ #15418]
24127 [BZ #15419]
24128 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
24129 internal tests.
24130 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24131
d5e82754
RM
241322013-05-06 Roland McGrath <roland@hack.frob.com>
24133
24134 * elf/dl-writev.h: New file.
24135 * elf/dl-misc.c: Include it.
24136 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
24137 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
24138
a7548d41
JM
241392013-05-04 Joseph Myers <joseph@codesourcery.com>
24140
b7dab1e4
JM
24141 * math/libm-test.inc (noXFails): Remove variable.
24142 (noXPasses): Likewise.
24143 (BUILD_COMPLEX_INT): Remove macro.
24144 (print_screen): Remove xfail argument.
24145 (print_screen_max_error): Likewise.
24146 (update_stats): Likewise.
24147 (print_max_error): Likewise. Update calls to other affected
24148 functions.
24149 (print_complex_max_error): Likewise.
24150 (test_single_exception): Update calls to print_screen.
24151 (test_single_errno): Likewise.
24152 (check_float_internal): Remove xfail argument. Update calls to
24153 other affected functions.
24154 (check_float): Likewise.
24155 (check_complex): Likewise.
24156 (check_int): Likewise.
24157 (check_long): Likewise.
24158 (check_bool): Likewise.
24159 (check_longlong): Likewise.
24160 (main): Don't print noXFails and noXPasses.
24161 * math/gen-libm-test.pl (top level): Don't mention expected
24162 failure handling in comment.
24163 (new_test): Don't handle expected failures.
24164 (parse_args): Don't mention expected failure handling in comment.
24165 (generate_testfile): Don't handle expected failures.
24166 (parse_ulps): Likewise.
24167 (print_ulps_file): Likewise.
24168 (get_failure): Remove function.
24169 (output_test): Don't handle expected failures.
24170 * make/README.libm-test: Don't mention expected failure handling.
24171
a7548d41
JM
24172 * math/libm-test.inc (plus_zero): Make const. Add initializer.
24173 (minus_zero): Likewise.
24174 (plus_infty): Likewise.
24175 (minus_infty): Likewise.
24176 (qnan_value): Likewise.
24177 (max_value): Likewise.
24178 (min_value): Likewise.
24179 (min_subnorm_value): Likewise.
24180 (initialize): Do not initialize those variables dynamically.
24181
60bfd54c
RM
241822013-05-03 Roland McGrath <roland@hack.frob.com>
24183
cc0e6ed8
RM
24184 * io/open.c (__open_2): Moved to ...
24185 * io/open_2.c: ... this new file.
24186 * io/open64.c (__open64_2): Moved to ...
24187 * io/open64_2.c: ... this new file.
24188 * io/openat.c (__openat_2): Moved to ...
24189 * io/openat_2.c: ... this new file.
24190 * io/openat64.c (__openat64_2): Moved to ...
24191 * io/openat64_2.c: ... this new file.
24192 * io/Makefile (routines): Add them.
24193 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
24194 * sysdeps/unix/sysv/linux/open_2.c: File removed.
24195 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
24196 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
24197 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
24198 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
24199 (__openat64): Add hidden_ver.
24200 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
24201 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
24202
60bfd54c
RM
24203 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
24204 Separately conditionalize setting of GLRO(dl_sysinfo) so
24205 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
24206 as well, but the actual setting is only under [NEED_DL_SYSINFO].
24207
83e7640f
AZ
242082013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24209
24210 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
24211 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
24212 definition.
24213 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
24214 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24215 (_libc_vdso_platform_setup): Add __vdso_time initialization.
24216 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
24217 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
24218
d5dc2af3
JM
242192013-05-03 Joseph Myers <joseph@codesourcery.com>
24220
c31a5b1e
JM
24221 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
24222 test signgam value.
24223
d5dc2af3
JM
24224 * math/libm-test.inc (hypot_test): Do not use
24225 IGNORE_ZERO_INF_SIGN.
24226
164fd39d
AJ
242272013-05-03 Andreas Jaeger <aj@suse.de>
24228
24229 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
24230 Linux 3.9.
24231 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
24232 (PF_MAX): Adjust for VSOCK change.
24233
8237f48c
AZ
242342013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24235
24236 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24237
9df02941
CD
242382013-05-02 Carlos O'Donell <carlos@redhat.com>
24239
24240 [BZ #15264]
24241 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
24242 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
24243 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
24244
d422395e
DM
242452013-05-02 David S. Miller <davem@davemloft.net>
24246
24247 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24248
a07c5731
OB
242492013-05-01 Ondřej Bílka <neleai@seznam.cz>
24250
24251 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
24252
1324e37f
RM
242532013-05-01 Roland McGrath <roland@hack.frob.com>
24254
24255 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
24256
0695940b
RS
242572013-05-01 Richard Smith <richard@metafoo.co.uk>
24258
bb5f27ad 24259 [BZ #14952]
0695940b
RS
24260 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
24261 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24262 Use __attribute__ ((__gnu_inline__)).
24263 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24264 Don't use __attribute__ ((__gnu_inline__)).
24265
10de07f5
JM
242662013-05-01 Joseph Myers <joseph@codesourcery.com>
24267
24268 [BZ #15423]
24269 * math/s_catan.c (__catan): Handle small real or imaginary part of
24270 input specially to avoid spurious underflow.
24271 * math/s_catanf.c (__catanf): Likewise.
24272 * math/s_catanh.c (__catanh): Likewise.
24273 * math/s_catanhf.c (__catanhf): Likewise.
24274 * math/s_catanhl.c (__catanhl): Likewise.
24275 * math/s_catanl.c (__catanl): Likewise.
24276 * math/libm-test.inc (catan_test): Add more tests.
24277 (catanh_test): Likewise.
24278 * sysdeps/i386/fpu/libm-test-ulps: Update.
24279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24280
cb4d5414
AZ
242812013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24282
24283 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24284
caf84319
JM
242852013-04-30 Joseph Myers <joseph@codesourcery.com>
24286
24287 [BZ #15416]
24288 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
24289 accurately for denominator in atan2.
24290 * math/s_catanf.c (__catanf): Likewise.
24291 * math/s_catanh.c (__catanh): Likewise.
24292 * math/s_catanhf.c (__catanhf): Likewise.
24293 * math/s_catanhl.c (__catanhl): Likewise.
24294 * math/s_catanl.c (__catanl): Likewise.
24295 * math/libm-test.inc (catan_test): Add more tests.
24296 (catanh_test): Likewise.
24297 * sysdeps/i386/fpu/libm-test-ulps: Update.
24298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24299
d569c6ee
SP
243002013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24301
6dbe713d
SP
24302 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
24303
f0ee064b
SP
24304 * benchtests/Makefile (bench): Remove slow benchmarks.
24305 * benchtests/atan-inputs: Add slow benchmark inputs.
24306 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
24307 (BENCH_FUNC): Accept variant offset.
24308 (VARIANT): Define.
24309 * benchtests/bench-skeleton.c (main): Run benchmark for each
24310 variant.
24311 * benchtests/cos-inputs: Add slow benchmark inputs.
24312 * benchtests/exp-inputs: Likewise.
24313 * benchtests/pow-inputs: Likewise.
24314 * benchtests/sin-inputs: Likewise.
24315 * benchtests/slowatan-inputs: Remove.
24316 * benchtests/slowatan.c: Remove.
24317 * benchtests/slowcos-inputs: Remove.
24318 * benchtests/slowcos.c: Remove.
24319 * benchtests/slowexp-inputs: Remove.
24320 * benchtests/slowexp.c: Remove.
24321 * benchtests/slowpow-inputs: Remove.
24322 * benchtests/slowpow.c: Remove.
24323 * benchtests/slowsin-inputs: Remove.
24324 * benchtests/slowsin.c: Remove.
24325 * benchtests/slowtan-inputs: Remove.
24326 * benchtests/slowtan.c: Remove.
24327 * benchtests/tan-inputs: Add slow benchmark inputs.
24328 * scripts/bench.pl: Parse comments and directives.
24329
d569c6ee
SP
24330 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
24331 in CPPFLAGS.
24332 ($(objpfx)bench-%.c): Remove *-ITER.
24333 * benchtests/bench-modf.c: Remove definition of ITER.
24334 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
24335 (main): Loop for DURATION seconds instead of fixed number of
24336 iterations.
24337 * scripts/bench.pl: Don't expect iterations in parameters.
24338
a6a242fe
RM
243392013-04-29 Roland McGrath <roland@hack.frob.com>
24340
24341 * io/fchdir.c (__fchdir): Renamed from fchdir.
24342 (fchdir): Define as weak alias.
24343
f2da7793
JM
243442013-04-29 Joseph Myers <joseph@codesourcery.com>
24345
24346 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
24347 (ERRNO_EDOM): Likewise.
24348 (ERRNO_ERANGE): Likewise.
24349 (noErrnoTests): New variable.
24350 (init_max_error): Set errno to 0.
24351 (test_single_errno): New function.
24352 (test_errno): Likewise.
24353 (check_float_internal): Call test_errno. Set errno to 0.
24354 (check_complex): Refer to errno tests in comment.
24355 (check_int): Call test_errno. Set errno to 0.
24356 (check_long): Likewise.
24357 (check_bool): Likewise.
24358 (check_longlong): Likewise.
24359 (cos_test): Use ERRNO_* flags for errno tests instead of
24360 check_int.
24361 (expm1_test): Likewise.
24362 (fmod_test): Likewise.
24363 (ilogb_test): Likewise.
24364 (lgamma_test): Likewise.
24365 (pow_test): Likewise.
24366 (remainder_test): Likewise.
24367 (sin_test): Likewise.
24368 (tan_test): Likewise.
24369 (yn_test): Likewise.
24370 (initialize): Set errno to 0.
24371 (main): Print number of errno tests.
24372 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
24373
b1a36ceb
AJ
243742013-04-29 Andreas Jaeger <aj@suse.de>
24375
c3ed8088
AJ
24376 [BZ #15084]
24377 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
24378 and RES_USEVC.
24379
f1a24198
AJ
24380 [BZ #15085]
24381 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
24382 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
24383 unimplemented.
24384
9ce3b2cb
AJ
24385 [BZ #15380]
24386 * stdlib/random.c (__initstate): Return NULL if
24387 __initstate fails.
24388
f1a24198 24389 [BZ #15086]
b1a36ceb
AJ
24390 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
24391 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
24392 RES_SNGLKUPREOP.
24393
7e7b6f36
AZ
243942013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24395
24396 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24397
4d14f449
JM
243982013-04-29 Joseph Myers <joseph@codesourcery.com>
24399
24400 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
24401 of individual tests.
24402 (casin_test): Likewise.
24403 (casinh_test): Likewise.
24404
5b4217d7
JM
244052013-04-27 Joseph Myers <joseph@codesourcery.com>
24406
24407 [BZ #15409]
24408 * math/s_catan.c (__catan): Handle arguments with large real or
24409 imaginary part separately without squaring.
24410 * math/s_catanf.c (__catanf): Likewise.
24411 * math/s_catanh.c (__catanh): Likewise.
24412 * math/s_catanhf.c (__catanhf): Likewise.
24413 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24414 and redefine.
24415 (__catanhl): Handle arguments with large real or imaginary part
24416 separately without squaring.
24417 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24418 and redefine.
24419 (__catanl): Handle arguments with large real or imaginary part
24420 separately without squaring.
24421 * math/libm-test.inc (catan_test): Add more tests.
24422 (catanh_test): Likewise.
24423 * sysdeps/i386/fpu/libm-test-ulps: Update.
24424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24425
4220c3ef
AJ
244262013-04-27 Andreas Jaeger <aj@suse.de>
24427
24428 [BZ #15007]
24429 * stdlib/stdlib.h: Update guards for qecvt.
24430 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
24431 <stdlib.h>.
24432
4721b2d1
AM
244332013-04-27 Allan McRae <allan@archlinux.org>
24434
24435 * sysdeps/i386/fpu/libm-test-ulps: Update.
24436
f0302940
JM
244372013-04-26 Joseph Myers <joseph@codesourcery.com>
24438
9457fd95
JM
24439 [BZ #15406]
24440 * math/s_catan.c: Include <float.h>.
24441 (__catan): Ensure underflow exception occurs for underflowed
24442 result.
24443 * math/s_catanf.c: Include <float.h>.
24444 (__catanf): Ensure underflow exception occurs for underflowed
24445 result.
24446 * math/s_catanh.c: Include <float.h>.
24447 (__catanh): Ensure underflow exception occurs for underflowed
24448 result.
24449 * math/s_catanhf.c: Include <float.h>.
24450 (__catanhf): Ensure underflow exception occurs for underflowed
24451 result.
24452 * math/s_catanhl.c: Include <float.h>.
24453 (__catanhl): Ensure underflow exception occurs for underflowed
24454 result.
24455 * math/s_catanl.c: Include <float.h>.
24456 (__catanl): Ensure underflow exception occurs for underflowed
24457 result.
24458 * math/libm-test.inc (catan_test): Add more tests.
24459 (catanh_test): Likewise.
24460
f0302940
JM
24461 [BZ #15405]
24462 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
24463 underflowed result.
24464 * math/s_ccoshf.c (__ccoshf): Likewise.
24465 * math/s_ccoshl.c (__ccoshl): Likewise.
24466 * math/s_csin.c (__csin): Likewise.
24467 * math/s_csinf.c (__csinf): Likewise.
24468 * math/s_csinh.c (__csinh): Likewise.
24469 * math/s_csinhf.c (__csinhf): Likewise.
24470 * math/s_csinhl.c (__csinhl): Likewise.
24471 * math/s_csinl.c (__csinl): Likewise.
24472 * math/libm-test.inc (ccos_test): Add more tests.
24473 (ccosh_test): Likewise.
24474 (csin_test): Likewise.
24475 (csinh_test): Likewise.
24476
aa630f59
AZ
244772013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24478
24479 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
24480 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
24481 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
24482 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
24483 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
24484 powerpc/power5+/fpu folders.
24485 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
24486
24487
1b835983
MT
244882013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24489
24490 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24491
73709b26
JM
244922013-04-25 Joseph Myers <joseph@codesourcery.com>
24493
24494 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
24495 additions to variable.
24496 [$(config-machine) = x86_64] (modules-names): Likewise.
24497 ($(objpfx)tst-audit3): Remove dependency.
24498 ($(objpfx)tst-audit3.out): Likewise.
24499 ($(objpfx)tst-audit4): Likewise.
24500 ($(objpfx)tst-audit4.out): Likewise.
24501 ($(objpfx)tst-audit5): Likewise.
24502 ($(objpfx)tst-audit5.out): Likewise.
24503 ($(objpfx)tst-audit6): Likewise.
24504 ($(objpfx)tst-audit6.out): Likewise.
24505 ($(objpfx)tst-audit7): Likewise.
24506 ($(objpfx)tst-audit7.out): Likewise.
24507 (tst-audit3-ENV): Remove variable.
24508 (tst-audit4-ENV): Likewise.
24509 (tst-audit5-ENV): Likewise.
24510 (tst-audit6-ENV): Likewise.
24511 (tst-audit7-ENV): Likewise.
24512 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
24513 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
24514 addition to variable.
24515 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
24516 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
24517 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
24518 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
24519 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
24520 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
24521 tst-audit3, tst-audit4 and tst-audit5.
24522 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
24523 tst-audit6 and tst-audit7.
24524 [$(subdir) = elf] (modules-names): Add audit modules for those
24525 tests.
24526 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
24527 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
24528 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
24529 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
24530 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
24531 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
24532 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
24533 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
24534 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
24535 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
24536 [$(subdir) = elf] (tst-audit3-ENV): New variable.
24537 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
24538 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
24539 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
24540 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
24541 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
24542 Likewise.
24543 [$(subdir) = elf && $(config-cflags-avx) = yes]
24544 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
24545 [$(subdir) = elf && $(config-cflags-avx) = yes]
24546 (CFLAGS-tst-auditmod4a.c): Likewise.
24547 [$(subdir) = elf && $(config-cflags-avx) = yes]
24548 (CFLAGS-tst-auditmod4b.c): Likewise.
24549 [$(subdir) = elf && $(config-cflags-avx) = yes]
24550 (CFLAGS-tst-auditmod6b.c): Likewise.
24551 [$(subdir) = elf && $(config-cflags-avx) = yes]
24552 (CFLAGS-tst-auditmod6c.c): Likewise.
24553 [$(subdir) = elf && $(config-cflags-avx) = yes]
24554 (CFLAGS-tst-auditmod7b.c): Likewise.
24555 * elf/tst-audit3.c: Move to ...
24556 * sysdeps/x86_64/tst-audit3.c: ... here.
24557 * elf/tst-audit4.c: Move to ...
24558 * sysdeps/x86_64/tst-audit4.c: ... here.
24559 * elf/tst-audit5.c: Move to ...
24560 * sysdeps/x86_64/tst-audit5.c: ... here.
24561 * elf/tst-audit6.c: Move to ...
24562 * sysdeps/x86_64/tst-audit6.c: ... here.
24563 * elf/tst-audit7.c: Move to ...
24564 * sysdeps/x86_64/tst-audit7.c: ... here.
24565 * elf/tst-auditmod3a.c: Move to ...
24566 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
24567 * elf/tst-auditmod3b.c: Move to ...
24568 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
24569 * elf/tst-auditmod4a.c: Move to ...
24570 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
24571 * elf/tst-auditmod4b.c: Move to ...
24572 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
24573 * elf/tst-auditmod5a.c: Move to ...
24574 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
24575 * elf/tst-auditmod5b.c: Move to ...
24576 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
24577 * elf/tst-auditmod6a.c: Move to ...
24578 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
24579 * elf/tst-auditmod6b.c: Move to ...
24580 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
24581 * elf/tst-auditmod6c.c: Move to ...
24582 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
24583 * elf/tst-auditmod7a.c: Move to ...
24584 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
24585 * elf/tst-auditmod7b.c: Move to ...
24586 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
24587
1ef74943
PP
245882013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
24589
24590 [BZ #15366]
24591 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
24592 define unconditionally.
24593 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
24594 define unconditionally.
24595 (INT8_C, INT16_C, etc.): Likewise.
24596
93fd48c5
MR
245972013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
24598
ae9552cf
MR
24599 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
24600 __ehdr_start with hidden visibility.
24601
93fd48c5
MR
24602 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
24603
418601aa
CD
246042013-04-24 Carlos O'Donell <carlos@redhat.com>
24605
24606 * math/libm-test.inc (cos_test): Use accurate hex constants.
24607 (sincost_test): Likewise.
24608
2f38fbfe
JM
246092013-04-24 Joseph Myers <joseph@codesourcery.com>
24610
5e221800
JM
24611 * math/libm-test.inc (catan_test): Add more tests.
24612 (catanh_test): Likewise.
24613
77f143fd
JM
24614 * math/s_catanf.c (__catanf): Use suffixed floating-point
24615 constants.
24616 * math/s_catanhf.c (__catanhf): Likewise.
24617 * math/s_catanhl.c (__catanhl): Likewise.
24618 * math/s_catanl.c (__catanl): Likewise.
24619
2f38fbfe
JM
24620 [BZ #15394]
24621 * math/s_catan.c (__catan): Calculate imaginary part of result
24622 with log1p not log unless computing log of number close to 0.
24623 * math/s_catanf.c (__catanf): Likewise.
24624 * math/s_catanl.c (__catanl): Likewise.
24625 * math/s_catanh.c (__catanh): Calculate real part of result with
24626 log1p not log unless computing log of number close to 0.
24627 * math/s_catanhf.c (__catanhf): Likewise.
24628 * math/s_catanhl.c (__catanhl): Likewise.
24629 * math/libm-test.inc (catan_test): Add more tests.
24630 (catanh_test): Likewise.
24631 * sysdeps/i386/fpu/libm-test-ulps: Update.
24632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24633
45d69176
SP
246342013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24635
24636 * benchtests/Makefile: Mention files in which fast and slow
24637 paths of math functions are implemented.
24638
87f51853
RM
246392013-04-23 Roland McGrath <roland@hack.frob.com>
24640
24641 * sysdeps/posix/timespec_get.c: New file.
24642
3c026539
AZ
246432013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24644
24645 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
24646 POWER.
24647 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
24648 for POWER.
24649 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
24650 powerpc/power5/fpu folders.
24651 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
24652 * benchtests/Makefile: Add modf testcase.
24653 * benchtests/bench-modf.c: New file: Benchmark test for mo
24654
ff491d14
SP
246552013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24656
24657 [BZ #14888]
24658 * time/Makefile (tests): Add tst-strptime-whitespace.
24659 * time/strptime_l.c (get_number): Use ISSPACE.
24660 (__strptime_internal): Likewise.
24661 * time/tst-strptime-whitespace.c: New test case.
24662
7ed3f4e8
AS
246632013-04-23 Andreas Schwab <schwab@linux-m68k.org>
24664
24665 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
24666 member.
24667 (_nss_files_init): Set it here.
24668
5c95f7b6
HC
246692013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
24670
24671 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
24672 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
24673 unsigned.
24674
d34c9158
JBG
246752013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
24676
24677 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
24678
2169712d
SP
246792013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24680
24681 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
24682 size just once.
24683
29c5de99
DM
246842013-04-21 David S. Miller <davem@davemloft.net>
24685
24686 * po/ru.po: Update Russion translation from translation project.
24687
ccdad15d
AC
246882013-04-17 Adam Conrad <adconrad@0c3.net>
24689
24690 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
24691 and setfsgid.
24692
0f122b8d
CD
246932013-04-17 Carlos O'Donell <carlos@redhat.com>
24694
5c5b07da 24695 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 24696 * configure: Regenerate.
5c5b07da 24697 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
24698 Add example to error message.
24699 * sysdeps/i386/configure: Regenerate.
24700
037714dd
SP
247012013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24702
24703 * benchtests/Makefile (bench): Add cos, tan, slowcos and
24704 slowtan.
24705 * benchtests/cos-inputs: New file.
24706 * benchtests/slowcos-inputs: New file.
24707 * benchtests/slowcos.c: New file.
24708 * benchtests/slowtan-inputs: New file.
24709 * benchtests/slowtan.c: New file.
24710 * benchtests/tan-inputs: New file.
24711
e913141d
RM
247122013-04-16 Roland McGrath <roland@hack.frob.com>
24713
24714 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24715 considered kosher.
24716
a2964074
SP
247172013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24718
4856bcd2
SP
24719 * benchtests/Makefile: Include cppflags-iterator.mk to add
24720 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24721
a2964074
SP
24722 * Makefile.in (bench-clean): New target.
24723 * benchtests/Makefile (bench-clean): Likewise.
24724
9fbf9aca
DH
247252013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
24726
24727 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24728
207d1e2a
TS
247292013-04-15 Thomas Schwinge <thomas@codesourcery.com>
24730
24731 * stdio-common/tstdiomisc.c: Fix coding-style violation.
24732
306dfba9
AS
247332013-04-15 Andreas Schwab <schwab@suse.de>
24734
24735 * nscd/grpcache.c (cache_addgr): Properly check for short write.
24736 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24737 * nscd/pwdcache.c (cache_addpw): Likewise.
24738 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
24739 more than recsize.
24740
206a6699
SP
247412013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24742
24743 * benchtests/Makefile (bench): Write all output to
24744 bench-out.tmp together.
24745
0582f6b3
AS
247462013-04-15 Andreas Schwab <schwab@suse.de>
24747
24748 * nscd/nscd.c (main): Don't fork again after closing files.
24749
acb4325f
SP
247502013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24751
5cb26d0a
SP
24752 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24753
acb4325f
SP
24754 * benchtests/Rules (bench-deps): Collect dependencies into a
24755 single variable. Add Makefile to dependencies.
24756 ($(objpfx)bench-%.c): Depend on bench-deps.
24757
47792506
RM
247582013-04-12 Roland McGrath <roland@hack.frob.com>
24759 Xavier Roche <roche+kml2@exalead.com>
24760
24761 [BZ #15361]
24762 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24763 just that it's a file descriptor.
24764 * manual/llio.texi (Synchronizing AIO Operations): Update description
24765 for EBADF error from aio_fsync.
24766
8fc1bee5
SP
247672013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24768
24769 * Rules (bench): Move target definition...
24770 * benchtests/Makefile: ... here.
24771
aba5e333
CD
247722013-04-11 Carlos O'Donell <carlos@redhat.com>
24773
24774 * math/libm-test.inc (cos_test): Fix PI/2 test.
24775 (sincos_test): Likewise.
24776 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24777 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24778
273cdee8
AS
247792013-04-11 Andreas Schwab <schwab@suse.de>
24780
6ecec3b6
AS
24781 [BZ #13988]
24782 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24783 accept exponent character only when digits were seen.
24784 * stdio-common/Makefile (tests): Add bug26.
24785 * stdio-common/bug26.c: New file.
24786
273cdee8
AS
24787 [BZ #14293]
24788 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24789 non-freeable.
24790
8da491f5
SP
247912013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24792
01dc6df9
SP
24793 * Makeconfig (rtld-prefix): Define built linker prefix.
24794 * Rules (run-bench): Use it.
24795 * math/Makefile (run-regen-ulps): Likewise.
24796
8da491f5
SP
24797 * Rules (bench): Remove eval.
24798
abe7f530
SP
247992013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24800 Roland McGrath <roland@hack.frob.com>
24801 Ondrej Bilka <neleai@seznam.cz>
24802
24803 [BZ #15346]
24804 * time/getdate.c: Include ctype.h and alloca.h.
24805 (__getdate_r): Trim leading and trailing spaces of input.
24806 * time/tst-getdate.c (tests): Add tests with leading and
24807 trailing spaces.
24808
61c23e62
RM
248092013-04-08 Roland McGrath <roland@hack.frob.com>
24810
24811 [BZ #14280]
24812 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
24813 when computing value.
24814
7208a313
CD
248152013-04-06 Carlos O'Donell <carlos@redhat.com>
24816
085b2d41
CD
24817 * math/README.libm-test (How can I generate "libm-test-ulps"?):
24818 Use testrun.sh to run libm tests.
24819
7208a313
CD
24820 [BZ #15309]
24821 * elf/dl-open.c (dl_open_worker): memset all of seen array.
24822
872c0acd
MM
248232013-04-06 Marko Myllynen <myllynen@redhat.com>
24824
24825 [BZ #15264]
24826 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
24827
26510bdd
CD
248282013-04-06 Carlos O'Donell <carlos@redhat.com>
24829
24830 * Makefile.in (regen-ulps): New target.
24831 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
24832 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
24833 [ifneq (no,$(PERL)] (regen-ulps): New target.
24834 [ifeq (no,$(PERL)] (regen-ulps): New target.
24835 * math/libm-test.inc (ulps_file_name): Define.
24836 (output_dir): New variable.
24837 (options): Add "output-dir" option.
24838 (parse_opt): Handle 'o' case.
24839 (main): If output_dir is non-NULL use it as a prefix
24840 otherwise use "".
24841 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
24842
a01f19c8
CD
248432013-04-06 Carlos O'Donell <carlos@redhat.com>
24844
24845 [BZ #10060, #10062]
24846 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
24847 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
24848 fail configure if __sync_val_compare_and_swap is not inlined.
24849 * sysdeps/i386/configure: Regenerate.
24850 * configure.in: Build for i686 when configured for i386.
24851 * configure: Regenerate.
24852 * README: Remove i386 reference.
24853
b7a329a5
CD
248542013-04-06 Carlos O'Donell <carlos@redhat.com>
24855
24856 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
24857 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24858
bf0f50df
TS
248592013-04-05 Thomas Schwinge <thomas@codesourcery.com>
24860
ee091edf
TS
24861 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
24862 (lmsnanval): New variables.
24863 (F): Add conversion tests.
24864 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
24865 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
24866
a8b792d6
TS
24867 * stdio-common/tstdiomisc.c (F): Properly collect individual
24868 tests' results.
24869
a1cbf437
TS
24870 [BZ #14686, #15336]
24871 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
24872 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24873 Instead, use input NaN values or generate a qNaN by arithmetic
24874 operation. Also fix bugs to comply with the standard.
24875 * math/libm-test.inc (remainder_test): Add more tests.
24876
8b43a0c9
TS
24877 [BZ #15335, #15342]
24878 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
24879 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
24880 input NaN values or generate a qNaN by arithmetic operation.
24881
d91da4ce
TS
24882 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
24883 unreachable code.
24884
bf0f50df
TS
24885 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
24886 definitions.
24887
05e166c8
JM
248882013-04-03 Joseph Myers <joseph@codesourcery.com>
24889
24890 [BZ #14478]
24891 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
24892 underflowed result.
24893 * math/s_cexpf.c (__cexpf): Likewise.
24894 * math/s_cexpl.c (__cexpl): Likewise.
24895 * math/libm-test.inc (cexp_test): Add more tests.
24896
1cef1b19
AS
248972013-04-03 Andreas Schwab <schwab@suse.de>
24898
24899 [BZ #15330]
24900 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
24901 order arrays from heap if bigger than alloca cutoff.
24902
74d87055
TS
249032013-04-03 Thomas Schwinge <thomas@codesourcery.com>
24904
24905 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
24906 (SNAN_TESTS_double): Refer to GCC PR56831.
24907 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
24908 GCC PR56828.
24909
d755bba4
SP
249102013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24911
90d5d5bb
SP
24912 * Rules (bench): Move bench.out after the run is complete.
24913
73e0cd5d
SP
24914 * Rules (bench): Echo currently running benchmark.
24915
64aabd4b
SP
24916 * benchtests/Makefile (bench): Add atan and slowatan.
24917 * benchtests/atan-inputs: New file.
24918 * benchtests/slowatan-inputs: New file.
24919 * benchtests/slowatan.c: New file.
24920
c871eccd
SP
24921 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
24922 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
24923 its value.
24924
d755bba4
SP
24925 [BZ #15305]
24926 * sysdeps/unix/sysv/linux/kernel-features.h
24927 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
24928 __ASSUME_XFS_RESTRICTED_CHOWN.
24929 * sysdeps/unix/sysv/linux/pathconf.c
24930 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24931 Save and restore errno.
24932
52ce4860
JM
249332013-04-02 Joseph Myers <joseph@codesourcery.com>
24934
24935 [BZ #15327]
24936 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
24937 arguments using __kernel_casinh.
24938 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
24939 arguments using __kernel_casinhf.
24940 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
24941 arguments using __kernel_casinhl.
24942 * math/libm-test.inc (cacosh_test): Add more tests.
24943 * sysdeps/i386/fpu/libm-test-ulps: Update.
24944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24945
81f311c2
SP
249462013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24947
e7906a47
SP
24948 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
24949 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
24950
92e3664b
SP
24951 * bench/Makefile (bench): Add sin and slowsin.
24952 * benchtests/sin-inputs: New file.
24953 * benchtests/slowsin-inputs: New file.
24954 * benchtests/slowsin.c: New file.
24955
81f311c2
SP
24956 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
24957 (bench): Add slowexp and slowpow.
24958 (exp-ITER): Increase iterations.
24959 (pow-ITER): Likewise.
24960 * benchtests/exp-inputs: Change input.
24961 * benchtests/pow-inputs: Likewise.
24962 * benchtests/slowexp-inputs: New file.
24963 * benchtests/slowexp.c: New file.
24964 * benchtests/slowpow-inputs: New file.
24965 * benchtests/slowpow.c: New file.
24966
ab0f1aa9
AZ
249672013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24968
24969 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
24970 instructions.
24971 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
24972 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
24973 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24974 * benchtests/Makefile: Add rint benchtest.
24975 * benchtests/rint-inputs: Input for rint benchtest.
24976
57267616
TS
249772013-04-02 Thomas Schwinge <thomas@codesourcery.com>
24978
24979 * Versions.def (libm): Add GLIBC_2.18.
24980 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
24981 hidden libm prototypes.
24982 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
24983 * math/Makefile (libm-calls): Add s_issignaling.
24984 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
24985 __issignalingf, __issignalingl. Adjust all libm.abilist files.
24986 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
24987 declaration.
24988 * math/math.h [__USE_GNU] (issignaling): New macro.
24989 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
24990 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
24991 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
24992 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
24993 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
24994 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
24995 * manual/arith.texi (issignaling): New section.
24996 * manual/libm-err-tab.pl (@all_functions): Update comment.
24997 * math/gen-libm-test.pl (parse_args): Apply special handling for
24998 issignaling.
24999 * math/libm-test.inc (print_float, issignaling_test): New
25000 functions.
25001 (check_float_internal): Add issignaling checks.
25002 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
25003 default definition.
25004 * sysdeps/powerpc/math-tests.h: New file.
25005 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
25006 tests.
25007 * math/test-snan.c (TEST_FUNC): Likewise.
25008
6142896d
DM
250092013-03-30 David S. Miller <davem@davemloft.net>
25010
25011 * po/de.po: Update from translation team.
25012
ccc8cadf
JM
250132013-03-30 Joseph Myers <joseph@codesourcery.com>
25014
25015 [BZ #10357]
25016 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25017 imaginary part less than 1.0 and real part less than 0.5
25018 specially.
25019 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25020 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25021 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
25022 (cacos_test): Add more tests.
25023 (casin_test): Likewise.
25024 (casinh_test): Likewise.
25025 * sysdeps/i386/fpu/libm-test-ulps: Update.
25026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25027
0f6a8d4b
SP
250282013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25029
0d1029de
SP
25030 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
25031 ONE with its value.
25032
c2d94018
SP
25033 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
25034 (__pow_mp): Replace ONE and MONE with their values.
25035 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25036 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
25037 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25038 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
25039 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25040 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25041
27ec37f1
SP
25042 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
25043
a64d7e0e
SP
25044 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
25045 (__pow_mp): Replace ZERO and MZERO with their values.
25046 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25047 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25048 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25049 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25050 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25051 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
25052 (__sqr): Likewise.
25053
d26dd3eb
SP
25054 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
25055
0f6a8d4b
SP
25056 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
25057
e57b0c61
RM
250582013-03-28 Roland McGrath <roland@hack.frob.com>
25059
25060 * include/stdlib.h [!SHARED] (__call_tls_dtors):
25061 Declare with __attribute__ ((weak)).
25062 * stdlib/exit.c (__libc_atexit) [!SHARED]:
25063 Call __call_tls_dtors only if it's not NULL.
25064
356b3480
RM
250652013-03-28 Roland McGrath <roland@hack.frob.com>
25066
288f7d79
RM
25067 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
25068 didn't do it already, then set _dl_phdr and _dl_phnum based on the
25069 magic __ehdr_start linker symbol if it's defined.
25070 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
25071 them up here if it was already done.
25072
dc0a0263
RM
25073 * elf/dl-support.c (_dl_phdr): Make pointer to const.
25074 (_dl_aux_init): Use const in cast when setting it.
25075 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
25076 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
25077 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
25078
3d3436ae
RM
25079 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
25080 Declare them here.
25081 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
25082 * csu/libc-tls.c: Nor here.
25083 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
25084
356b3480
RM
25085 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
25086 (__libc_message): Never call vsyslog.
25087
b0f1246a
AM
250882013-03-28 Alan Modra <amodra@gmail.com>
25089
25090 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
25091 Define as empty.
25092 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
25093 Likewise.
25094
fbbe2b9a
AZ
250952013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25096
25097 [BZ #15214]
25098 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
25099 underflow.
25100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25101
1728ab37
SP
251022013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25103
7a86be6e
SP
25104 [BZ #15304]
25105 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25106 Don't add gid passed as argument.
25107
1728ab37
SP
25108 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
25109
3a7182a1
JM
251102013-03-27 Joseph Myers <joseph@codesourcery.com>
25111
25112 [BZ #15307]
25113 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25114 imaginary part between 1.0 and 1.5 and real part less than 0.5
25115 specially.
25116 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25117 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25118 * math/libm-test.inc (cacos_test): Add more tests.
25119 (casin_test): Likewise.
25120 (casinh_test): Likewise.
25121 * sysdeps/i386/fpu/libm-test-ulps: Update.
25122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25123
6f2e90e7
SP
251242013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25125
5739f705
SP
25126 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
25127 constants.
25128 (norm): Likewise.
25129 (denorm): Likewise.
25130 (__dbl_mp): Likewise.
25131 (add_magnitudes): Likewise.
25132 (sub_magnitudes): Likewise.
25133 (__add): Likewise.
25134 (__sub): Likewise.
25135 (__mul): Likewise.
25136 (__sqr): Likewise.
25137 (__inv): Likewise.
25138 (__dvd): Likewise.
25139
e375e83d
SP
25140 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
25141 commented code.
25142 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
25143 (__dubcos): Likewise.
25144 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
25145 (__ieee754_acos): Likewise.
25146 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25147 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
25148 (__exp1): Likewise.
25149 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25150 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25151 (log1): Likewise.
25152 (my_log2): Likewise.
25153 (checkint): Likewise.
25154 * sysdeps/ieee754/dbl-64/e_remainder.c
25155 (__ieee754_remainder): Likewise.
25156 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25157 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
25158 (bsloww): Likewise.
25159 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25160
6f2e90e7
SP
25161 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25162 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
25163 MANTISSA_STORE_T to store computations on mantissa. Use
25164 macros for rounding and division.
25165 (denorm): Likewise.
25166 (__dbl_mp): Likewise.
25167 (add_magnitudes): Likewise.
25168 (sub_magnitudes): Likewise.
25169 (__mul): Likewise.
25170 (__sqr): Likewise.
25171 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25172 powers of two in terms of TWOPOW macro.
25173 (mp_no): Make type of mantissa as MANTISSA_T.
25174 [!RADIXI]: Define RADIXI.
25175 [!TWO52]: Define TWO52.
25176 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25177
fce14d4e
AZ
251782013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25179
25180 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
25181 llroundl symbol when building for PPC32.
25182
9ad027fb
MW
251832013-03-24 Mark H Weaver <mhw@netris.org>
25184
25185 * manual/arith.texi (Normalization Functions): Fix prototypes for
25186 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
25187
e42a38dd
AZ
251882013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25189
25190 [BZ #13889]
25191 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
25192 high value to check if expl overflow.
25193 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
25194 to check for underflow and overflow.
25195 * math/libm-test.inc: Add exp test.
25196
2e0fb521
DL
251972013-03-21 Dmitry V. Levin <ldv@altlinux.org>
25198
25199 [BZ #11120]
25200 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
25201 with NOT_IN_libc.
25202
b5784d95
AZ
252032013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25204
25205 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
25206 symbol.
25207
5aa4a1a1
TS
252082013-03-21 Thomas Schwinge <thomas@codesourcery.com>
25209
bdef0be7
TS
25210 * math/gen-libm-test.pl (parse_args, special_functions): Properly
25211 wrap blocks consisting of several statements.
25212
5aa4a1a1
TS
25213 * sysdeps/generic/math-tests.h: New file.
25214 * sysdeps/i386/fpu/math-tests.h: Likewise.
25215 * math/test-snan.c: Include it.
25216 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
25217
98c48fe5
JM
252182013-03-21 Joseph Myers <joseph@codesourcery.com>
25219
25220 [BZ #15285]
25221 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
25222 (__ieee754_j0l): Do not improve calculations using cos of twice
25223 input for inputs above LDBL_MAX / 2.0L.
25224 (__ieee754_y0l): Likewise.
25225 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
25226 (__ieee754_j1l): Do not improve calculations using cos of twice
25227 input for inputs above LDBL_MAX / 2.0L.
25228 (__ieee754_y1l): Likewise.
25229 * math/libm-test.inc (j0_test): Add another test.
25230 (j1_test): Likewise.
25231 (y0_test): Likewise.
25232 (y1_test): Likewise.
25233 * sysdeps/i386/fpu/libm-test-ulps: Update.
25234
3775a8bc
SP
252352013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25236
25237 * Rules ($(objpfx)bench-%.c): Include code from a C source
25238 file.
25239
0a1b2ae6
JM
252402013-03-21 Joseph Myers <joseph@codesourcery.com>
25241
25242 [BZ #15287]
25243 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25244 imaginary part 1.0 and real part less than 0.5 specially.
25245 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25246 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25247 * math/libm-test.inc (cacos_test): Add more tests.
25248 (casin_test): Likewise.
25249 (casinh_test): Likewise.
25250 * sysdeps/i386/fpu/libm-test-ulps: Update.
25251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25252
b33d4ce4
SP
252532013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25254
25255 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
25256 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
25257
bef0b507
JM
252582013-03-20 Joseph Myers <joseph@codesourcery.com>
25259
25260 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
25261 * config.make.in (config-cflags-sse4): Remove variable.
25262 (config-cflags-avx): Likewise.
25263 (config-cflags-sse2avx): Likewise.
25264 (config-cflags-novzeroupper): Likewise.
25265 (config-asflags-i686): Likewise.
25266 (have-mfma4): Likewise.
25267 (have-as-vis3): Likewise.
25268 (MIG): Likewise.
25269 * configure.in (MIG): Do not AC_SUBST.
25270 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
25271 (libc_cv_cc_sse4): Do not AC_SUBST.
25272 (libc_cv_cc_avx): Likewise.
25273 (libc_cv_cc_sse2avx): Likewise.
25274 (libc_cv_cc_novzeroupper): Likewise.
25275 (libc_cv_cc_fma4): Likewise.
25276 (libc_cv_as_i686): Likewise.
25277 (libc_cv_sparc_as_vis3): Likewise.
25278 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
25279 LIBC_CONFIG_VAR.
25280 (config-asflags-i686): Likewise.
25281 (config-cflags-avx): Likewise.
25282 (config-cflags-sse2avx): Likewise.
25283 (have-mfma4): Likewise.
25284 (config-cflags-novzeroupper): Likewise.
25285 * sysdeps/mach/configure.in (MIG): Likewise.
25286 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
25287 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
25288 LIBC_CONFIG_VAR.
25289 (config-cflags-avx): Likewise.
25290 (config-cflags-sse2avx): Likewise.
25291 (have-mfma4): Likewise.
25292 (config-cflags-novzeroupper): Likewise.
25293 * configure: Regenerated.
25294 * sysdeps/i386/configure: Likewise.
25295 * sysdeps/mach/configure: Likewise.
25296 * sysdeps/sparc/configure: Likewise.
25297 * sysdeps/x86_64/configure: Likewise.
25298
912cc4b3
RM
252992013-03-20 Roland McGrath <roland@hack.frob.com>
25300
25301 [BZ #14812]
25302 * locale/programs/localedef.c (options): Put N_ translation marker
25303 on argument names, not just descriptions.
25304
04eed2b0
MS
253052013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25306
25307 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
25308
a065ceff
OB
253092013-03-20 Ondřej Bílka <neleai@seznam.cz>
25310
9bb2a810 25311 [BZ #14176]
a065ceff
OB
25312 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
25313
a600e5ce
RM
253142013-03-19 Roland McGrath <roland@hack.frob.com>
25315
25316 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
25317 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
25318 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
25319 [!BEFORE_ABORT] (before_abort): New function.
25320 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
25321 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
25322 (writev_for_fatal): New function.
25323 (WRITEV_FOR_FATAL): New macro; call that.
25324 (backtrace_and_maps): New function.
25325 (BEFORE_ABORT): New macro; call that.
25326 (struct str_list): Type removed.
25327 (__libc_message, __libc_fatal): Functions removed.
25328 Include <sysdeps/posix/libc_fatal.c> instead.
25329
6b18bea6
JM
253302013-03-19 Joseph Myers <joseph@codesourcery.com>
25331
25332 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
25333 constants.
25334 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
25335 double constants.
25336
aaa8cb4b
AS
253372013-03-19 Andreas Schwab <schwab@suse.de>
25338
44673770
AS
25339 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
25340 * sysdeps/gnu/configure: Regenerate.
25341
aaa8cb4b
AS
25342 * configure.in: Substitute libc_cv_rtlddir.
25343 * configure: Regenerate.
25344 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
25345 * Makeconfig (rtlddir, inst_rtlddir): New variables.
25346 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
25347 * elf/Makefile (install-others, CFLAGS-interp.c)
25348 (ldso_install, common-ldd-rewrite): Likewise.
25349 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
25350 $(inst_slibdir)/$(rtld-installed-name).
25351 * scripts/rellns-sh: Add -p option.
25352 * Makerules (make-shlib-link): Use rellns-sh to get relative name
25353 for source.
25354
d3cfc668
SP
253552013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25356
25357 * manual/nptl.texi: Renamed to ...
25358 * manual/threads.texi: ... this.
25359 * manual/Makefile (chapters): Update.
25360
0e2b9cdd
RM
253612013-03-18 Roland McGrath <roland@hack.frob.com>
25362
25363 [BZ #14812]
25364 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
25365 on argument names, not just descriptions.
0e2b9cdd
RM
25366 * malloc/memusagestat.c (options): Likewise.
25367 * nss/getent.c (options): Likewise.
63270c24
RM
25368
253692013-03-18 Benno Schulenberg <bensberg@justemail.net>
25370
25371 [BZ #14812]
25372 * iconv/iconv_prog.c (options): Put N_ translation marker
25373 on argument names, not just descriptions.
25374 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 25375
b2e1393c
OB
253762013-03-18 Ondrej Bilka <neleai@seznam.cz>
25377
25378 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
25379 implementation which is faster on all x86_64 architectures.
25380 Tested on AMD, Intel Nehalem, SNB, IVB.
25381 * sysdeps/x86_64/strnlen.S: Likewise.
25382
25383 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25384 Remove all multiarch strlen and strnlen versions.
25385 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25386 Remove strlen and strnlen related parts.
25387
25388 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
25389 Inline strlen part.
25390 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25391
25392 * sysdeps/x86_64/multiarch/strlen.S: Remove.
25393 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
25394 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
25395 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
25396 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25397 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
25398
ec4ff04d
CD
253992013-03-17 Carlos O'Donell <carlos@redhat.com>
25400
25401 * manual/memory.texi (Malloc Tunable Parameters):
25402 Sort parameters alphabetically. Add comments for missing entries.
25403
cd18e90a
DM
254042013-03-17 David S. Miller <davem@davemloft.net>
25405
25406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25407
2a185d32
JM
254082013-03-16 Joseph Myers <joseph@codesourcery.com>
25409
d2f9799e
JM
25410 [BZ #15283]
25411 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
25412 for arguments at most half maximum finite value.
25413 * math/libm-test.inc (j0_test): Add more tests.
25414 (j1_test): Likewise.
25415 (y0_test): Likewise.
25416 (y1_test): Likewise.
25417 * sysdeps/i386/fpu/libm-test-ulps: Update.
25418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25419
2a185d32
JM
25420 [BZ #14155]
25421 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
25422 1 / x and functions P and Q for arguments above 0x1p256L.
25423 (__ieee754_y0l): Likewise.
25424 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
25425 (__ieee754_y1l): Likewise.
25426 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
25427 (j1_test): Likewise.
25428 (y0_test): Likewise.
25429 (y1_test): Likewise.
25430
6cbec759
TS
254312013-03-16 Thomas Schwinge <thomas@codesourcery.com>
25432
25433 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
25434 variable.
25435
bc16e260
RM
254362013-03-15 Roland McGrath <roland@hack.frob.com>
25437
aefc9b8c
RM
25438 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
25439 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
25440 zero since it's initialized to EXEC_PAGESIZE.
25441
bc16e260
RM
25442 * sysdeps/unix/sysv/linux/ldsodefs.h
25443 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
25444 * sysdeps/generic/ldsodefs.h: ... here.
25445
a57da955
TS
254462013-03-15 Thomas Schwinge <thomas@codesourcery.com>
25447
af00a34d
TS
25448 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
25449
495ded2c
TS
25450 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
25451 math/test-snan.c.
25452 * math/test-snan.c: Renamed from
25453 sysdeps/powerpc/fpu/test-powerpc-snan.c.
25454 * math/Makefile (tests): Add test-snan.
25455 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
25456 test-powerpc-snan.
25457
777b0332
TS
25458 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
25459 SUFFIX. Initialize qNaN_var with __builtin_nan family of
25460 functions.
25461 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
25462 __builtin_nan family of functions.
25463 * math/libm-test.inc (initialize): Initialize qnan_value with
25464 __builtin_nan family of functions.
25465 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
25466 Remove variables.
25467 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
25468 Remove functions.
25469 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
25470 storage class. Initialize qNaN_var and sNaN_var with
25471 __builtin_nan and __builtin_nans families of functions,
25472 respectively.
25473
64d063b8
TS
25474 * math/libm-test.inc (acosh_test): Also test with qNaN input.
25475 (sqrt_test): Remove duplicate test with qNaN input.
25476 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
25477 (round_test, signbit_test, significand_test): Note missing +/-Inf
25478 as well as qNaN tests.
25479
67e971f1
TS
25480 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
25481 qNaN_var. Fix a few strings, too.
25482 * math/libm-test.inc (nan_value): Rename to qnan_value.
25483 * math/gen-libm-test.pl (%beautify): Adjust to that.
25484 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
25485 * math/test-misc.c (main): Likewise.
25486 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
25487 to __qnan_bytes, and __qnan_union, respectively.
25488 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
25489 Likewise.
25490 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
25491 and lqnanval, respectively.
25492 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
25493 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
25494 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
25495 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
25496
64487e12
TS
25497 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
25498 * math/test-misc.c (main) [__x86_64__]: Enable test for long
25499 doubles.
25500
e015e27b
TS
25501 * math/test-misc.c (main): Fix copy'n'pastos.
25502 * misc/tst-efgcvt.c (special): Likewise.
25503
a57da955
TS
25504 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
25505 Remove declarations.
25506
1e380345
SP
255072013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25508
25509 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
25510 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
25511 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
25512 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
25513
ef26eece
AZ
255142013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25515
25516 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
25517 macro to return vdso values correctly in IFUNC implementations.
25518 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25519 Optimization by using IFUNC.
25520
8cfdb7e0
SP
255212013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25522 Richard Henderson <rth@redhat.com>
25523 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25524
25525 * Makefile.in (bench): New target.
25526 * NEWS: Mention the benchmark framework.
25527 * Rules (bench): Likewise.
25528 (binaries-bench): Generate binaries for functions to
25529 benchmark.
25530 * benchtests/Makefile: New makefile for benchmark tests.
25531 * benchtests/bench-skeleton.c: New skeleton file for benchmark
25532 programs.
25533 * benchtests/exp-inputs: New input file for EXP function.
25534 * benchtests/pow-inputs: New input file for POW function.
25535 * scripts/bench.pl: New script to generate source files for
25536 benchmark programs.
25537
bcda9880
SP
255382013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25539
d22ca8cd
SP
25540 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25541 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
25542 computations on mantissa. Use macros for rounding and
25543 division.
25544 (denorm): Likewise.
25545 (__dbl_mp): Likewise.
25546 (add_magnitudes): Likewise.
25547 (sub_magnitudes): Likewise.
25548 (__mul): Likewise.
25549 (__sqr): Likewise.
25550 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25551 powers of two in terms of TWOPOW macro.
25552 (mp_no): Make type of mantissa as MANTISSA_T.
25553 [!RADIXI]: Define RADIXI.
25554 [!TWO52]: Define TWO52.
25555 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25556
bcda9880
SP
25557 * manual/nptl.texi (cindex): Modify threads to pthreads.
25558
06d5adfb
JM
255592013-03-15 Joseph Myers <joseph@codesourcery.com>
25560
25561 * sysdeps/x86_64/preconfigure: Regenerated.
25562
41c7328e
JM
255632013-03-14 Joseph Myers <joseph@codesourcery.com>
25564
25565 [BZ #14155]
25566 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
25567 0x1p28 and above.
25568 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
25569 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
25570 0x1p28 and above.
25571 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
25572 * math/libm-test.inc (j0_test): Do not allow one spurious
25573 underflow exception.
25574 (y1_test): Likewise.
25575
e25cfa60
SP
255762013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25577
0409959c
SP
25578 * manual/Makefile (chapters): Add nptl.
25579 * manual/debug.texi (Debugging Support): Add link to Threads
25580 chapter.
25581 * manual/nptl.texi: New file.
25582
e25cfa60
SP
25583 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
25584
58a1335e
PB
255852013-03-14 Petr Baudis <pasky@ucw.cz>
25586
25587 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
25588 for non-NULL pointer before the memory validity test. Pointed
25589 out by Holger Brunck <holger.brunck@keymile.com>.
25590
9dc7c64f
AS
255912013-03-13 Andreas Schwab <schwab@suse.de>
25592
25593 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
25594 instead of .os.
25595
54206aa6
JM
255962013-03-13 Joseph Myers <joseph@codesourcery.com>
25597
25598 * timezone/zic.c: Update from tzcode 2013b.
25599
e98cdb38
CD
256002013-03-12 Carlos O'Donell <carlos@redhat.com>
25601
25602 * manual/install.texi (Configuring and compiling):
25603 Mention i686 and i586.
25604 * INSTALL: Regenerate.
25605
9967e003
RM
256062013-03-12 Roland McGrath <roland@hack.frob.com>
25607
25608 * sysdeps/init_array/elf-init.c: New file.
25609 * csu/elf-init.c
25610 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
25611 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
25612
25613 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
25614 __gmon_start__ as global, but as static with a .preinit_array pointer.
25615 * sysdeps/init_array/gmon-start.c: New file. Use that.
25616 * sysdeps/init_array/crti.S: New file, empty except for comments.
25617 * sysdeps/init_array/crtn.S: Likewise.
25618
e6b5a293 256192013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
25620
25621 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
25622 definining bcopy.
80f844c9
OB
25623 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25624 Remove Prefer_SSE_for_memop.
25625 * sysdeps/x86_64/multiarch/init-arch.h: Remove
25626 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
25627 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
25628 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
25629 memset-x86-64.
80f844c9 25630 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 25631 Remove bzero, memset ifunc support.
80f844c9
OB
25632 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
25633 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
25634 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25635 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25636
fb6b0fcb
AS
256372013-03-11 Andreas Schwab <schwab@suse.de>
25638
25639 [BZ #15234]
25640 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
25641 by SHLIB_COMPAT.
25642 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
25643 (GLIBC_2.16): Remove pthread_atfork.
25644
3e6bd4b1
PP
256452013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
25646
25647 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
25648 (ptestcases.h): Likewise.
25649
222d7f00
RM
256502013-03-08 Roland McGrath <roland@hack.frob.com>
25651
25652 * Makeconfig ($(common-objpfx)config.status): Depend on
25653 sysdeps/*/preconfigure{,.in} too.
25654
1ba4f030
JM
256552013-03-08 Joseph Myers <joseph@codesourcery.com>
25656
a222d91a
JM
25657 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
25658 (__free_hook): Use void * instead of __malloc_ptr_t.
25659 (__malloc_hook): Likewise.
25660 (__realloc_hook): Likewise.
25661 (__memalign_hook): Likewise.
25662 (__after_morecore_hook): Likewise.
25663 * malloc/arena.c (save_malloc_hook): Likewise.
25664 (save_free_hook): Likewise.
25665 * malloc/hooks.c (malloc_hook_ini): Likewise.
25666 (realloc_hook_ini): Likewise.
25667 (memalign_hook_ini): Likewise.
25668 * malloc/malloc.c (malloc_hook_ini): Likewise.
25669 (realloc_hook_ini): Likewise.
25670 (memalign_hook_ini): Likewise.
25671 (__free_hook): Likewise.
25672 (__malloc_hook): Likewise.
25673 (__realloc_hook): Likewise.
25674 (__memalign_hook): Likewise.
25675 (__libc_malloc): Likewise.
25676 (__libc_free): Likewise.
25677 (__libc_realloc): Likewise.
25678 (__libc_memalign): Likewise.
25679 (__libc_valloc): Likewise.
25680 (__libc_pvalloc): Likewise.
25681 (__libc_calloc): Likewise.
25682 (__posix_memalign): Likewise.
25683 * malloc/morecore.c (__sbrk): Likewise.
25684 (__default_morecore): Likewise.
25685
5cc45e10
JM
25686 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
25687
dd54b864
JM
25688 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
25689 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
25690 __malloc_ptrdiff_t.
25691
1ba4f030
JM
25692 * malloc/malloc.h (__malloc_size_t): Remove macro.
25693 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
25694 __malloc_size_t.
25695 (old_memalign_hook): Likewise.
25696 (old_realloc_hook): Likewise.
25697 (struct hdr): Likewise.
25698 (flood): Likewise.
25699 (mallochook): Likewise.
25700 (memalignhook): Likewise.
25701 (reallochook): Likewise.
25702 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
25703 (tr_old_realloc_hook): Likewise.
25704 (tr_old_memalign_hook): Likewise.
25705 (tr_mallochook): Likewise.
25706 (tr_reallochook): Likewise.
25707 (tr_memalignhook): Likewise.
25708
edf66e57
AZ
257092013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25710
25711 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25712 default_ldbl_pack and using as default implementation.
25713 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25714 implementation.
25715 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25716 redundant definition.
25717 (ldbl_insert_mantissa): Likewise.
25718 (ldbl_canonicalize): Likewise.
25719 (ldbl_nearbyint): Likewise.
25720 (ldbl_pack): Rename to ldbl_pack_ppc.
25721 (ldbl_unpack): Rename to ldbl_unpack_ppc.
25722 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25723 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25724
6d9145d8
SP
257252013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25726
25727 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25728 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25729 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25730 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25731 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25732 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25733 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25734 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25735
4dd4e157
AJ
257362013-03-07 Andreas Jaeger <aj@suse.de>
25737
25738 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25739 bits/mman-linux.h.
25740
adbb8027
SP
257412013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25742
ce544b5b
SP
25743 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25744 Include mpa.h and declare __MPEXP.
25745 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25746 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25747 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25748 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25749 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25750 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25751 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25752
4cc149fd
SP
25753 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25754 (__slowpow): Use long double EXPL and LOGL functions to
25755 compute POW.
25756 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25757 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25758 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25759 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25760 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25761 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25762
e6ebd4a7
SP
25763 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25764 intermediate variable to calculate exponent.
25765 (__sqr): Likewise.
25766 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25767 Likewise.
25768 (__sqr): Likewise.
25769
82a9811d
SP
25770 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25771 [!NO__SQR]: Define __sqr.
25772 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25773 and NO__SQR. Remove all code except __mul and __sqr. Include
25774 sysdeps/ieee754/dbl-64/mpa.c.
25775 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25776
adbb8027
SP
25777 [BZ #12723]
25778 * posix/Makefile (tests): Add tst-pathconf.
25779 * posix/tst-pathconf.c: New test case.
25780 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25781 _PC_PIPE_BUF.
25782 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25783
39120df9
PF
257842013-03-06 Patsy Franklin <pfrankli@redhat.com>
25785
25786 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25787
67525cb8
AJ
257882013-03-06 Andreas Jaeger <aj@suse.de>
25789
664a9ce4
AJ
25790 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25791 definition via __MAP_ANONYMOUS.
25792
8e39047d
AJ
25793 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25794 it's not part of Linux headers.
25795
67525cb8
AJ
25796 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25797 (MAP_HUGE_MASK): Define.
25798
25799 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25800 Define.
25801 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25802 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25803 Define.
25804 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25805 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25806 Define.
25807 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25808 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
25809 Define.
25810 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25811
25812 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
25813 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
25814 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
25815 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
25816 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
25817 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
25818
25819 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25820 Handle f2fs.
25821
25822 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25823 Handle f2fs and efivarfs.
25824
25825 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
25826 f2fs.
25827
25828 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
25829 (EFIVARFS_MAGIC): Add.
25830 (F2FS_LINK_MAX): Add.
25831
e1b42695
PP
258322013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25833
25834 * stdio-common/vfprintf.c: Replace __builtin_expect with
25835 __glibc_unlikely.
25836
2d67d91a
JM
258372013-03-06 Joseph Myers <joseph@codesourcery.com>
25838
25839 [BZ #13550]
25840 * sysdeps/generic/bp-sym.h: Remove file.
25841 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
25842 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
25843 <bp-sym.h> and <bp-asm.h>.
25844 (__longjmp): Don't use BP_SYM.
25845 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
25846 and <bp-asm.h>.
25847 (memcpy): Don't use BP_SYM.
25848 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
25849 <bp-sym.h> and <bp-asm.h>.
25850 (memcpy): Don't use BP_SYM.
25851 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
25852 <bp-asm.h>.
25853 (memcpy): Don't use BP_SYM.
25854 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
25855 <bp-asm.h>.
25856 (memset): Don't use BP_SYM.
25857 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25858 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25859 (__bzero): Don't use BP_SYM.
25860 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25861 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25862 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
25863 <bp-sym.h> and <bp-asm.h>.
25864 (memcmp): Don't use BP_SYM. Remove comment about bounded
25865 pointers.
25866 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
25867 <bp-sym.h> and <bp-asm.h>.
25868 (memcpy): Don't use BP_SYM.
25869 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
25870 <bp-sym.h> and <bp-asm.h>.
25871 (memset): Don't use BP_SYM.
25872 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25873 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25874 (__bzero): Don't use BP_SYM.
25875 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25876 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25877 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
25878 <bp-sym.h> and <bp-asm.h>.
25879 (strncmp): Don't use BP_SYM. Remove comment about bounded
25880 pointers.
25881 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
25882 <bp-sym.h> and <bp-asm.h>.
25883 (memcpy): Don't use BP_SYM.
25884 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
25885 <bp-sym.h> and <bp-asm.h>.
25886 (memset): Don't use BP_SYM.
25887 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25888 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25889 (__bzero): Don't use BP_SYM.
25890 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25891 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25892 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
25893 <bp-sym.h> and <bp-asm.h>.
25894 (__memchr): Don't use BP_SYM.
25895 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
25896 <bp-sym.h> and <bp-asm.h>.
25897 (memcmp): Don't use BP_SYM. Remove comment about bounded
25898 pointers.
25899 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
25900 <bp-sym.h> and <bp-asm.h>.
25901 (memcpy): Don't use BP_SYM.
25902 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
25903 <bp-sym.h> and <bp-asm.h>.
25904 (__mempcpy): Don't use BP_SYM.
25905 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
25906 <bp-sym.h> and <bp-asm.h>.
25907 (__memrchr): Don't use BP_SYM.
25908 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
25909 <bp-sym.h> and <bp-asm.h>.
25910 (memset): Don't use BP_SYM.
25911 (__bzero): Likewise.
25912 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
25913 <bp-sym.h> and <bp-asm.h>.
25914 (__rawmemchr): Don't use BP_SYM.
25915 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
25916 <bp-sym.h> and <bp-asm.h>.
25917 (__STRCMP): Don't use BP_SYM.
25918 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
25919 <bp-sym.h> and <bp-asm.h>.
25920 (strchr): Don't use BP_SYM.
25921 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
25922 <bp-sym.h> and <bp-asm.h>.
25923 (__strchrnul): Don't use BP_SYM.
25924 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
25925 <bp-sym.h> and <bp-asm.h>.
25926 (strlen): Don't use BP_SYM.
25927 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
25928 <bp-sym.h> and <bp-asm.h>.
25929 (strncmp): Don't use BP_SYM. Remove comment about bounded
25930 pointers.
25931 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
25932 <bp-sym.h> and <bp-asm.h>.
25933 (__strnlen): Don't use BP_SYM.
25934 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
25935 <bp-sym.h> and <bp-asm.h>.
25936 (__GI__setjmp): Don't use BP_SYM.
25937 (_setjmp): Likewise.
25938 (__sigsetjmp): Likewise.
25939 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
25940 (L(start_addresses)): Don't use BP_SYM.
25941 (_start): Likewise.
25942 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
25943 <bp-asm.h>.
25944 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
25945 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
25946 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25947 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25948 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
25949 <bp-asm.h>.
25950 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
25951 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
25952 about bounded pointers.
25953 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
25954 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
25955 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
25956 <bp-asm.h>.
25957 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25958 about bounded pointers. Remove GKM FIXME comments.
25959 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
25960 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
25961 <bp-asm.h>.
25962 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
25963 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
25964 Remove GKM FIXME comments.
25965 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
25966 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
25967 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
25968 <bp-asm.h>.
25969 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
25970 about bounded pointers. Remove GKM FIXME comment.
25971 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
25972 and <bp-asm.h>.
25973 (strncmp): Don't use BP_SYM. Remove comment about bounded
25974 pointers.
25975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
25976 <bp-sym.h> and <bp-asm.h>.
25977 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
25978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
25979 <bp-sym.h> and <bp-asm.h>.
25980 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
25981 comment.
25982
cdcf361f
PP
259832013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25984
25985 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
25986 call free(NULL).
25987
3c4a2b15
DM
259882013-03-05 David S. Miller <davem@davemloft.net>
25989
25990 * po/es.po: Update from translation team.
25991
cdcf361f 259922013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
25993
25994 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
25995 <bits/mman-linux.h>.
25996 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
25997 is fine.
25998 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
25999 <bits/mman-linux.h> to end of file.
26000 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26001 is fine.
26002 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
26003 <bits/mman-linux.h> to end of file.
26004 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26005 is fine.
26006 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
26007 <bits/mman-linux.h> to end of file.
26008
26009 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
26010 (MCL_CURRENT, MCL_FUTURE): Define here.
26011
5f67c04f
AK
260122013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26013
8a4473cc 26014 [BZ #15232]
5f67c04f
AK
26015 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
26016 attribute_hidden.
26017 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26018
c3e94a95
AK
260192013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26020
26021 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
26022 fourth parameter needed for rt_sigprocmask syscall.
26023 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
26024 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26025 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26026 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26027 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26028 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
26029
cfb6382a
JM
260302013-03-04 Joseph Myers <joseph@codesourcery.com>
26031
26032 [BZ #13550]
26033 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
26034 comment about bounded pointers.
26035 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
26036 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
26037
539d8e01
AJ
260382013-03-04 Andreas Jaeger <aj@suse.de>
26039
26040 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
26041 common definitions.
26042
26043 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
26044 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
26045 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
26046 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26047 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
26048 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26049
2e167a70 260502013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
26051
26052 [BZ #15055]
26053 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
26054 __ieee754_sqrl instead of __sqrl.
26055
68508633
JM
260562013-03-01 Joseph Myers <joseph@codesourcery.com>
26057
26058 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
26059 * sysdeps/powerpc/fpu_control.h: ... here.
26060 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
26061 * sysdeps/powerpc/bits/fenvinline.h: ... here.
26062 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
26063 * sysdeps/powerpc/bits/mathinline.h: ... here.
26064
7775448e
RM
260652013-03-01 Roland McGrath <roland@hack.frob.com>
26066
26067 * elf/dl-hwcaps.c (_dl_important_hwcaps):
26068 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
26069 to just [NEED_DL_SYSINFO_DSO].
26070 * elf/dl-support.c: Likewise.
26071 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26072 * elf/rtld.c (dl_main): Likewise.
26073 * elf/setup-vdso.h (setup_vdso): Likewise.
26074 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
26075 * sysdeps/unix/sysv/linux/dl-sysdep.c
26076 (_dl_discover_osversion): Likewise.
26077
4e9b5995
CD
260782013-03-01 Carlos O'Donell <carlos@redhat.com>
26079
26080 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
26081 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26082
e23872c8
SP
260832013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
26084
e5c74c63
SP
26085 * NEWS: Mention libm performance improvements and non-x86 PI
26086 futex support.
26087
e23872c8
SP
26088 * csu/libc-start.c (__pthread_initialize_minimal): Change
26089 function arguments.
26090 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26091
b5510883
JM
260922013-02-28 Joseph Myers <joseph@codesourcery.com>
26093
26094 [BZ #13550]
26095 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
26096 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
26097 <bp-sym.h> and <bp-asm.h>.
26098 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26099 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
26100 and <bp-asm.h>.
26101 (memcpy): Don't use BP_SYM.
26102 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
26103 <bp-asm.h>.
26104 (__mpn_add_n): Don't use BP_SYM.
26105 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
26106 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
26107 and <bp-asm.h>.
26108 (__mpn_addmul_1): Don't use BP_SYM.
26109 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26110 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
26111 <bp-sym.h>.
26112 (_setjmp): Don't use BP_SYM.
26113 (__novmx_setjmp): Likewise.
26114 (__GI__setjmp): Likewise.
26115 (__vmx_setjmp): Likewise.
26116 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
26117 <bp-sym.h>.
26118 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
26119 (__bzero): Don't use BP_SYM.
26120 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26121 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26122 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
26123 <bp-sym.h> and <bp-asm.h>.
26124 (memcpy): Don't use BP_SYM.
26125 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
26126 <bp-sym.h> and <bp-asm.h>.
26127 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26128 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
26129 <bp-sym.h> and <bp-asm.h>.
26130 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26131 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
26132 <bp-asm.h>.
26133 (__mpn_lshift): Don't use BP_SYM.
26134 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26135 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
26136 <bp-asm.h>.
26137 (memset): Don't use BP_SYM.
26138 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26139 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26140 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
26141 <bp-asm.h>.
26142 (__mpn_mul_1): Don't use BP_SYM.
26143 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26144 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
26145 <bp-sym.h> and <bp-asm.h>.
26146 (memcmp): Don't use BP_SYM.
26147 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
26148 <bp-sym.h> and <bp-asm.h>.
26149 (memcpy): Don't use BP_SYM.
26150 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
26151 <bp-sym.h> and <bp-asm.h>.
26152 (memset): Don't use BP_SYM.
26153 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
26154 <bp-sym.h> and <bp-asm.h>.
26155 (strncmp): Don't use BP_SYM.
26156 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
26157 <bp-sym.h> and <bp-asm.h>.
26158 (memcpy): Don't use BP_SYM.
26159 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
26160 <bp-sym.h> and <bp-asm.h>.
26161 (memset): Don't use BP_SYM.
26162 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
26163 <bp-sym.h> and <bp-asm.h>.
26164 (__memchr): Don't use BP_SYM.
26165 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
26166 <bp-sym.h> and <bp-asm.h>.
26167 (memcmp): Don't use BP_SYM.
26168 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
26169 <bp-sym.h> and <bp-asm.h>.
26170 (memcpy): Don't use BP_SYM.
26171 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
26172 <bp-sym.h> and <bp-asm.h>.
26173 (__mempcpy): Don't use BP_SYM.
26174 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
26175 <bp-sym.h> and <bp-asm.h>.
26176 (__memrchr): Don't use BP_SYM.
26177 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
26178 <bp-sym.h> and <bp-asm.h>.
26179 (memset): Don't use BP_SYM.
26180 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
26181 <bp-sym.h> and <bp-asm.h>.
26182 (__rawmemchr): Don't use BP_SYM.
26183 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
26184 <bp-sym.h> and <bp-asm.h>.
26185 (__STRCMP): Don't use BP_SYM.
26186 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
26187 <bp-sym.h> and <bp-asm.h>.
26188 (strchr): Don't use BP_SYM.
26189 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
26190 <bp-sym.h> and <bp-asm.h>.
26191 (__strchrnul): Don't use BP_SYM.
26192 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
26193 <bp-sym.h> and <bp-asm.h>.
26194 (strlen): Don't use BP_SYM.
26195 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
26196 <bp-sym.h> and <bp-asm.h>.
26197 (strncmp): Don't use BP_SYM.
26198 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
26199 <bp-sym.h> and <bp-asm.h>.
26200 (__strnlen): Don't use BP_SYM.
26201 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
26202 <bp-asm.h>.
26203 (__mpn_rshift): Don't use BP_SYM.
26204 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26205 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
26206 <bp-sym.h> and <bp-asm.h>.
26207 (__sigsetjmp): Don't use BP_SYM.
26208 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
26209 (L(start_addresses)): Don't use BP_SYM.
26210 (_start): Likewise.
26211 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
26212 <bp-asm.h>.
26213 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
26214 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26215 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26216 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
26217 <bp-asm.h>.
26218 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
26219 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26220 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26221 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
26222 <bp-asm.h>.
26223 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
26224 comments.
26225 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26226 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
26227 <bp-asm.h>.
26228 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
26229 FIXME comments.
26230 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26231 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26232 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
26233 <bp-asm.h>.
26234 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
26235 comment.
26236 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
26237 and <bp-asm.h>.
26238 (strncmp): Don't use BP_SYM,
26239 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
26240 <bp-asm.h>.
26241 (__mpn_sub_n): Don't use BP_SYM.
26242 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26243 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
26244 and <bp-asm.h>.
26245 (__mpn_submul_1): Don't use BP_SYM.
26246 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
26248 <bp-sym.h> and <bp-asm.h>.
26249 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
26251 <bp-sym.h> and <bp-asm.h>.
26252 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
26253 comment.
26254
8d19fe64
SP
262552013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26256
26257 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
26258 Use ZK to minimize writes to Z.
26259 (sub_magnitudes): Simplify code a bit.
26260 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
26261 Use ZK to minimize writes to Z.
26262 (sub_magnitudes): Simplify code a bit.
26263
85bd816a
RM
262642013-02-27 Roland McGrath <roland@hack.frob.com>
26265
26266 * csu/gmon-start.c: Add special exception to license text.
26267
b5977bf2
RH
262682013-02-27 Richard Henderson <rth@redhat.com>
26269
26270 * scripts/config.guess: Update from config.git.
26271 * scripts/config.sub: Likewise.
26272
11d6e2f2
SP
262732013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26274
09c14ed2
SP
26275 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
26276
a688864e
SP
26277 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
26278
6295157a
SP
26279 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
26280
b8de2202
SP
26281 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
26282
11d6e2f2
SP
26283 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
26284
7e80ddb8
RM
262852013-02-26 Roland McGrath <roland@hack.frob.com>
26286
26287 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
26288 [$(build-shared = yes].
7e80ddb8 26289
7da6d9ed
SP
262902013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26291
45f05884
SP
26292 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
26293 (__mul): Reduce iterations for calculating mantissa.
26294
2236d359
SP
26295 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
26296 MPTWO.
26297 (__mpranred): Likewise.
26298
7da6d9ed
SP
26299 [BZ #15160]
26300 * malloc/memusagestat.c (main): Draw graphs for heap and stack
26301 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
26302
b7688c42
PE
263032013-02-26 Paul Eggert <eggert@cs.ucla.edu>
26304
26305 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
26306 Define __attribute__.
26307
53a5c423
SP
263082013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26309
26310 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
26311 unused.
26312 * posix/regex_internal.h (__attribute): Remove.
26313 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
26314 (re_string_context_at): Likewise.
26315 (bitset_not): Use __attribute__ and mark function as possibly
26316 unused.
26317 (bitset_merge): Likewise.
26318 (bitset_mask): Likewise.
26319 (re_string_char_size_at): Likewise.
26320 (re_string_wchar_at): Likewise.
26321 (re_string_elem_size_at): Likewise.
26322
60f5a8b5
SP
263232013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26324
2a983a2e
SP
26325 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
26326 code.
26327 (cc32): Likewise.
26328
e69804d1
SP
26329 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
26330 (__acr): Likewise.
26331 (__cpy): Likewise.
26332 (norm): Likewise.
26333 (denorm): Likewise.
26334 (__dbl_mp): Likewise.
26335 (add_magnitudes): Likewise.
26336 (sub_magnitudes): Likewise.
26337 (__mul): Likewise.
26338 (__inv): Likewise.
26339
2f22a1e8
SP
26340 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
26341 style.
26342
8930ddc7
SP
26343 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
26344 style.
26345
dc60cb11
SP
26346 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
26347 code.
26348
60f5a8b5
SP
26349 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
26350 up changes with default code.
26351 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
26352 Likewise.
26353
b4d1fd33
AM
263542013-02-24 Allan McRae <allan@archlinux.org>
26355
faf6f8bc
AM
26356 * manual/socket.texi (The Internet Namespace): Order menu items
26357 to match that in the file.
26358
b4d1fd33
AM
26359 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
26360 node listing of the info page menu.
26361
2366713d
JM
263622013-02-21 Joseph Myers <joseph@codesourcery.com>
26363
26364 [BZ #13550]
26365 * sysdeps/i386/bp-asm.h: Remove file.
26366 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26367 (PARMS): Do not use macros from bp-asm.h.
26368 (S1): Likewise.
26369 (S2): Likewise.
26370 (SIZE): Likewise.
26371 (__mpn_add_n): Do not use BP_SYM
26372 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
26373 "bp-asm.h".
26374 (PARMS): Do not use macros from bp-asm.h.
26375 (S1): Likewise.
26376 (SIZE): Likewise.
26377 (__mpn_addmul_1): Do not use BP_SYM
26378 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
26379 "bp-asm.h".
26380 (PARMS): Do not use macros from bp-asm.h.
26381 (SIGMSK): Likewise.
26382 (_setjmp): Likewise. Do not use BP_SYM.
26383 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
26384 "bp-asm.h".
26385 (PARMS): Do not use macros from bp-asm.h.
26386 (SIGMSK): Likewise.
26387 (setjmp): Likewise. Do not use BP_SYM.
26388 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
26389 "bp-asm.h".
26390 (PARMS): Do not use macros from bp-asm.h.
26391 (__frexp): Do not use BP_SYM.
26392 (frexp): Likewise.
26393 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
26394 "bp-asm.h".
26395 (PARMS): Do not use macros from bp-asm.h.
26396 (__frexpf): Do not use BP_SYM.
26397 (frexpf): Likewise.
26398 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
26399 "bp-asm.h".
26400 (PARMS): Do not use macros from bp-asm.h.
26401 (__frexpl): Do not use BP_SYM.
26402 (frexpl): Likewise.
26403 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
26404 "bp-asm.h".
26405 (PARMS): Do not use macros from bp-asm.h.
26406 (__remquo): Do not use BP_SYM.
26407 (remquo): Likewise.
26408 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
26409 "bp-asm.h".
26410 (PARMS): Do not use macros from bp-asm.h.
26411 (__remquof): Do not use BP_SYM.
26412 (remquof): Likewise.
26413 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
26414 "bp-asm.h".
26415 (PARMS): Do not use macros from bp-asm.h.
26416 (__remquol): Do not use BP_SYM.
26417 (remquol): Likewise.
26418 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
26419 "bp-asm.h".
26420 (PARMS): Do not use macros from bp-asm.h.
26421 (DEST): Likewise.
26422 (SRC): Likewise.
26423 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
26424 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
26425 "bp-asm.h".
26426 (PARMS): Do not use macros from bp-asm.h.
26427 (strlen): Do not use BP_SYM.
26428 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
26429 "bp-asm.h".
26430 (PARMS): Do not use macros from bp-asm.h.
26431 (S1): Likewise.
26432 (S2): Likewise.
26433 (SIZE): Likewise.
26434 (__mpn_add_n): Do not use BP_SYM.
26435 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
26436 "bp-asm.h".
26437 (PARMS): Do not use macros from bp-asm.h.
26438 (S1): Likewise.
26439 (SIZE): Likewise.
26440 (__mpn_addmul_1): Do not use BP_SYM.
26441 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
26442 weak_alias.
26443 (bzero): Likewise.
26444 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
26445 "bp-asm.h".
26446 (PARMS): Do not use macros from bp-asm.h.
26447 (S): Likewise.
26448 (SIZE): Likewise.
26449 (__mpn_lshift): Do not use BP_SYM.
26450 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
26451 "bp-asm.h".
26452 (PARMS): Do not use macros from bp-asm.h.
26453 (DEST): Likewise.
26454 (SRC): Likewise.
26455 (LEN): Likewise.
26456 (memcpy): Likewise. Do not use BP_SYM.
26457 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
26458 libc_hidden_def and weak_alias.
26459 (mempcpy): Do not use BP_SYM in weak_alias.
26460 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
26461 "bp-asm.h".
26462 (PARMS): Do not use macros from bp-asm.h.
26463 (DEST): Likewise.
26464 (LEN): Likewise.
26465 [!BZERO_P] (CHR): Likewise.
26466 (memset): Likewise. Do not use BP_SYM.
26467 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
26468 "bp-asm.h".
26469 (PARMS): Do not use macros from bp-asm.h.
26470 (S1): Likewise.
26471 (SIZE): Likewise.
26472 (__mpn_mul_1): Do not use BP_SYM.
26473 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
26474 "bp-asm.h".
26475 (PARMS): Do not use macros from bp-asm.h.
26476 (S): Likewise.
26477 (SIZE): Likewise.
26478 (__mpn_rshift): Do not use BP_SYM.
26479 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
26480 "bp-asm.h".
26481 (PARMS): Do not use macros from bp-asm.h.
26482 (STR): Likewise.
26483 (CHR): Likewise.
26484 (strchr): Likewise. Do not use BP_SYM.
26485 (index): Do not use BP_SYM in weak_alias.
26486 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
26487 "bp-asm.h".
26488 (PARMS): Do not use macros from bp-asm.h.
26489 (DEST): Likewise.
26490 (SRC): Likewise.
26491 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
26492 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
26493 "bp-asm.h".
26494 (PARMS): Do not use macros from bp-asm.h.
26495 (strlen): Do not use BP_SYM.
26496 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
26497 "bp-asm.h".
26498 (PARMS): Do not use macros from bp-asm.h.
26499 (S1): Likewise.
26500 (S2): Likewise.
26501 (SIZE): Likewise.
26502 (__mpn_sub_n): Do not use BP_SYM.
26503 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
26504 "bp-asm.h".
26505 (PARMS): Do not use macros from bp-asm.h.
26506 (S1): Likewise.
26507 (SIZE): Likewise.
26508 (__mpn_submul_1): Do not use BP_SYM.
26509 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
26510 "bp-asm.h".
26511 (PARMS): Do not use macros from bp-asm.h.
26512 (S1): Likewise.
26513 (S2): Likewise.
26514 (SIZE): Likewise.
26515 (__mpn_add_n): Do not use BP_SYM.
26516 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
26517 weak_alias.
26518 (bzero): Likewise.
26519 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
26520 "bp-asm.h".
26521 (PARMS): Do not use macros from bp-asm.h.
26522 (BLK2): Likewise.
26523 (LEN): Likewise.
26524 (memcmp): Do not use BP_SYM.
26525 (bcmp): Do not use BP_SYM in weak_alias.
26526 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
26527 "bp-asm.h".
26528 (PARMS): Do not use macros from bp-asm.h.
26529 (DEST): Likewise.
26530 (SRC): Likewise.
26531 (LEN): Likewise.
26532 (memcpy): Likewise. Do not use BP_SYM.
26533 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
26534 "bp-asm.h".
26535 (PARMS): Do not use macros from bp-asm.h.
26536 (DEST): Likewise.
26537 (SRC): Likewise.
26538 (LEN): Likewise.
26539 (memmove): Likewise. Do not use BP_SYM.
26540 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
26541 "bp-asm.h".
26542 (PARMS): Do not use macros from bp-asm.h.
26543 (DEST): Likewise.
26544 (SRC): Likewise.
26545 (LEN): Likewise.
26546 (__mempcpy): Likewise. Do not use BP_SYM.
26547 (mempcpy): Do not use BP_SYM in weak_alias.
26548 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
26549 "bp-asm.h".
26550 (PARMS): Do not use macros from bp-asm.h.
26551 (DEST): Likewise.
26552 (LEN): Likewise.
26553 [!BZERO_P] (CHR): Likewise.
26554 (memset): Likewise. Do not use BP_SYM.
26555 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
26556 "bp-asm.h".
26557 (PARMS): Do not use macros from bp-asm.h.
26558 (STR2): Likewise.
26559 (strcmp): Do not use BP_SYM.
26560 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
26561 "bp-asm.h".
26562 (PARMS): Do not use macros from bp-asm.h.
26563 (STR): Likewise.
26564 (DELIM): Likewise.
26565 [USE_AS_STRTOK_R] (SAVE): Likewise.
26566 (FUNCTION): Likewise. Do not use BP_SYM.
26567 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
26568 aliases.
26569 (strtok_r): Likewise.
26570 (__GI___strtok_r): Likewise.
26571 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26572 (PARMS): Do not use macros from bp-asm.h.
26573 (S): Likewise.
26574 (SIZE): Likewise.
26575 (__mpn_lshift): Do not use BP_SYM.
26576 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26577 (PARMS): Do not use macros from bp-asm.h.
26578 (STR): Likewise.
26579 (CHR): Likewise.
26580 (__memchr): Do not use BP_SYM.
26581 (memchr): Do not use BP_SYM in weak_alias.
26582 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26583 (PARMS): Do not use macros from bp-asm.h.
26584 (BLK2): Likewise.
26585 (LEN): Likewise.
26586 (memcmp): Do not use BP_SYM.
26587 (bcmp): Do not use BP_SYM in weak_alias.
26588 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
26589 (PARMS): Do not use macros from bp-asm.h.
26590 (S1): Likewise.
26591 (SIZE): Likewise.
26592 (__mpn_mul_1): Do not use BP_SYM.
26593 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
26594 "bp-asm.h".
26595 (PARMS): Do not use macros from bp-asm.h.
26596 (STR): Likewise.
26597 (CHR): Likewise.
26598 (__rawmemchr): Do not use BP_SYM.
26599 (rawmemchr): Do not use BP_SYM in weak_alias.
26600 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26601 (PARMS): Do not use macros from bp-asm.h.
26602 (S): Likewise.
26603 (SIZE): Likewise.
26604 (__mpn_rshift): Do not use BP_SYM.
26605 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26606 (PARMS): Do not use macros from bp-asm.h.
26607 (SIGMSK): Likewise.
26608 (__sigsetjmp): Likewise. Do not use BP_SYM.
26609 * sysdeps/i386/start.S: Do not include "bp-sym.h".
26610 (_start): Do not use BP_SYM.
26611 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
26612 (PARMS): Do not use macros from bp-asm.h.
26613 (DEST): Likewise.
26614 (SRC): Likewise.
26615 (__stpcpy): Likewise. Do not use BP_SYM.
26616 (stpcpy): Do not use BP_SYM in weak_alias.
26617 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
26618 "bp-asm.h".
26619 (PARMS): Do not use macros from bp-asm.h.
26620 (DEST): Likewise.
26621 (SRC): Likewise.
26622 (LEN): Likewise.
26623 (__stpncpy): Likewise. Do not use BP_SYM.
26624 (stpncpy): Do not use BP_SYM in weak_alias.
26625 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26626 (PARMS): Do not use macros from bp-asm.h.
26627 (STR): Likewise.
26628 (CHR): Likewise.
26629 (strchr): Likewise. Do not use BP_SYM.
26630 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
26631 "bp-asm.h".
26632 (PARMS): Do not use macros from bp-asm.h.
26633 (STR): Likewise.
26634 (CHR): Likewise.
26635 (__strchrnul): Likewise. Do not use BP_SYM.
26636 (strchrnul): Do not use BP_SYM in weak_alias.
26637 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
26638 "bp-asm.h".
26639 (PARMS): Do not use macros from bp-asm.h.
26640 (STOP): Likewise.
26641 (strcspn): Do not use BP_SYM.
26642 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
26643 "bp-asm.h".
26644 (PARMS): Do not use macros from bp-asm.h.
26645 (STR): Likewise.
26646 (STOP): Likewise.
26647 (strpbrk): Likewise. Do not use BP_SYM.
26648 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
26649 "bp-asm.h".
26650 (PARMS): Do not use macros from bp-asm.h.
26651 (STR): Likewise.
26652 (CHR): Likewise.
26653 (strrchr): Likewise. Do not use BP_SYM.
26654 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
26655 (PARMS): Do not use macros from bp-asm.h.
26656 (SKIP): Likewise.
26657 (strspn): Do not use BP_SYM.
26658 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
26659 (PARMS): Do not use macros from bp-asm.h.
26660 (STR): Likewise.
26661 (DELIM): Likewise.
26662 (SAVE): Likewise.
26663 (FUNCTION): Likewise. Do not use BP_SYM.
26664 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
26665 aliases.
26666 (strtok_r): Likewise.
26667 (__GI___strtok_r): Likewise.
26668 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26669 (PARMS): Do not use macros from bp-asm.h.
26670 (S1): Likewise.
26671 (S2): Likewise.
26672 (SIZE): Likewise.
26673 (__mpn_sub_n): Do not use BP_SYM.
26674 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
26675 "bp-asm.h".
26676 (PARMS): Do not use macros from bp-asm.h.
26677 (S1): Likewise.
26678 (SIZE): Likewise.
26679 (__mpn_submul_1): Do not use BP_SYM.
26680 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
26681 <bp-sym.h>.
26682 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
26683 and <bp-asm.h>.
26684 (PARMS): Do not use macros from bp-asm.h.
26685 (FLAGS): Likewise.
26686 (PTID): Likewise.
26687 (TLS): Likewise.
26688 (CTID): Likewise.
26689 (__clone): Do not use BP_SYM.
26690 (clone): Do not use BP_SYM in weak_alias.
26691 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
26692 and <bp-asm.h>.
26693 (PARMS): Do not use macros from bp-asm.h.
26694 (LEN): Likewise.
26695 (__mmap64): Do not use BP_SYM.
26696 (mmap64): Do not use BP_SYM in weak_alias.
26697 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26698 <bp-sym.h> and <bp-asm.h>.
26699 (PARMS): Do not use macros from bp-asm.h.
26700 (__posix_fadvise64_l64): Do not use BP_SYM.
26701 * sysdeps/unix/sysv/linux/i386/semtimedop.S
26702 (PARMS): Do not use macros from bp-asm.h.
26703 (NSOPS): Likewise.
26704 (semtimedop): Do not use BP_SYM.
26705 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
26706 and <bp-asm.h>.
26707
582a3cff
AM
267082013-02-21 Allan McRae <allan@archlinux.org>
26709
26710 * manual/message.texi (Charset conversion in gettext):
26711 Move @end statement to beginning of line.
26712
bab8a695
SP
267132013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26714
80945231
SP
26715 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26716 static.
26717 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26718 Likewise.
26719
bab8a695
SP
26720 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26721 (denorm): Likewise.
26722 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26723 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26724
e21d7aa7
AK
267252013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26726
26727 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26728 tail-call to the resolved function if pltexit isn't needed.
26729
4c7a4263
SP
267302013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26731
26732 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26733 or Y being zero as being unlikely.
26734 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26735 Likewise.
26736
41f49342
CD
267372013-02-20 Carlos O'Donell <carlos@redhat.com>
26738
26739 * manual/nss.texi (System Databases and Name Service Switch):
26740 Remove frobnicate @pxref.
26741
50022a93
TS
267422013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26743
26744 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26745 __attribute__ ((unused)) to __attribute__ ((__unused__)).
26746
08cbd996
PM
267472013-02-20 Petr Machata <pmachata@redhat.com>
26748
26749 * elf/elf.h (R_ARM_TARGET1): New macro.
26750 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26751 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26752 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26753 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26754 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26755 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26756 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26757 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26758 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26759 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26760 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26761 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26762 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26763 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26764 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26765 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26766 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26767 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26768 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26769 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26770 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26771 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26772 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26773 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26774 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26775 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26776 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26777 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26778 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26779 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26780 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26781 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26782 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26783 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26784 (R_ARM_THM_GOT_BREL12): Likewise.
26785 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26786 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26787 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26788 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26789 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26790 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26791 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26792 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26793 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26794
c7b275d6
TS
267952013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26796
26797 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26798 __attribute_used__ to __attribute__ ((unused)).
26799
20cd7fb3
SP
268002013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26801
26802 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26803 powerpc mpa.c.
26804 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
26805 comment formatting.
26806 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
26807
92945b52
JM
268082013-02-19 Joseph Myers <joseph@codesourcery.com>
26809
26810 [BZ #13550]
26811 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
26812 Remove macro.
26813 (ENTER): Remove both macro definitions.
26814 (LEAVE): Likewise.
26815 (CHECK_BOUNDS_LOW): Likewise.
26816 (CHECK_BOUNDS_HIGH): Likewise.
26817 (CHECK_BOUNDS_BOTH): Likewise.
26818 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
26819 (RETURN_BOUNDED_POINTER): Likewise.
26820 (RETURN_NULL_BOUNDED_POINTER): Likewise.
26821 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
26822 (POP_ERRNO_LOCATION_RETURN): Likewise.
26823 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
26824 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26825 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
26826 macros.
26827 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26828 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
26829 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
26830 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
26831 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
26832 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
26833 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
26834 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
26835 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
26836 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
26837 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
26838 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
26839 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26840 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
26841 removed macros.
26842 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26843 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
26844 macros.
26845 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26846 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
26847 * sysdeps/i386/i586/memset.S (memset): Likewise.
26848 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
26849 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26850 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
26851 macros.
26852 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26853 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
26854 Change uses of L(2) to L(out).
26855 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
26856 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
26857 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
26858 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26859 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
26860 removed macros.
26861 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26862 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
26863 macros.
26864 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26865 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
26866 (RETURN): Do not use macro LEAVE.
26867 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
26868 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
26869 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
26870 * sysdeps/i386/i686/memset.S (memset): Likewise.
26871 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
26872 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
26873 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26874 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
26875 Likewise.
26876 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26877 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
26878 L(1_2) and L(1_3) into L(1).
26879 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26880 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
26881 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26882 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
26883 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26884 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
26885 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
26886 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26887 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
26888 macros.
26889 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
26890 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26891 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
26892 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
26893 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
26894 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26895 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
26896 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
26897 * sysdeps/i386/strcspn.S (strcspn): Likewise.
26898 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
26899 * sysdeps/i386/strrchr.S (strrchr): Likewise.
26900 * sysdeps/i386/strspn.S (strspn): Likewise.
26901 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
26902 conditional code.
26903 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26904 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
26905 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26906 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
26907 L(1_3) into L(1_1).
26908 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
26909 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26910 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
26911 macros.
26912 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26913
2389741a
JJ
269142013-02-19 Jakub Jelinek <jakub@redhat.com>
26915
26916 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
26917 macro.
26918
2016b3cd
SP
269192013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26920
e4f22324
SP
26921 * math/atest-exp.c (exp_mpn): Remove ROUND.
26922 * math/atest-exp2.c (exp_mpn): Likewise.
26923 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
26924
2016b3cd
SP
26925 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
26926 * stdlib/tst-tls-atexit-lib.c: Likewise.
26927 * stdlib/tst-tls-atexit.c: Likewise.
26928
4be9b544
MF
269292013-02-18 Mike Frysinger <vapier@gentoo.org>
26930
26931 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
26932 and __attribute_alloc_size__.
26933
2f62b9ee
MF
269342013-02-18 Mike Frysinger <vapier@gentoo.org>
26935
26936 * include/programs/xmalloc.h: Change __attribute_alloc_size to
26937 __attribute_alloc_size__.
26938 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
26939 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
26940
6ff444c4
MF
269412013-02-18 Mike Frysinger <vapier@gentoo.org>
26942
26943 * include/programs/xmalloc.h: New file.
26944 * catgets/gencat.c: Include it.
26945 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
26946 * elf/pldd.c: Likewise.
26947 * iconv/iconv_charmap.c: Likewise.
26948 * iconv/iconvconfig.c: Likewise.
26949 * iconv/strtab.c: Likewise.
26950 * locale/programs/locale.c: Likewise.
26951 * locale/programs/localedef.h: Likewise.
26952 * locale/programs/simple-hash.c: Likewise.
26953 * nscd/nscd.h: Likewise.
26954 * nss/makedb.c: Likewise.
26955 * sysdeps/generic/ldconfig.h: Likewise.
26956
be179c8a
SP
269572013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26958
ba384f6e
SP
26959 * Versions.def: Add GLIBC_2.18.
26960 * include/link.h (struct link_map): New member l_tls_dtor_count.
26961 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
26962 (__call_tls_dtors): Likewise.
26963 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
26964 __cxa_thread_atexit_impl.
26965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26966 Likewise.
26967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26968 Likewise.
26969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
26970 Likewise.
26971 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
26972 Likewise.
26973 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26974 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
26975 Likewise.
26976 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
26977 Likewise.
26978 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26979 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26980 Likewise.
26981 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
26982 (tests): Add test case tst-tls-atexit.
26983 (modules-names): Add shared library for tst-tls-atexit.
85891aca 26984 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
26985 (GLIBC_PRIVATE): Add __call_tls_dtors.
26986 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
26987 for libstdc++.
26988 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
26989 * stdlib/tst-tls-atexit.c: New test case.
26990 * stdlib/tst-tls-atexit-lib.c: New test case.
26991
ffaa74cf 26992 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 26993
be179c8a
SP
26994 * elf/Versions (ld): Add _dl_find_dso_for_object.
26995 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
26996 * elf/dl-open.c (_dl_find_dso_for_object): New function.
26997 (dl_open_worker): Use _dl_find_dso_for_object.
26998 * elf/dl-sym.c (do_sym): Likewise.
26999 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
27000
f78b5caa
AK
270012013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27002
27003 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
27004 Syntactic changes only.
27005 (_dl_runtime_profile): Do a tail-call to the resolved function.
27006
29691210
JM
270072013-02-17 Joseph Myers <joseph@codesourcery.com>
27008
27009 [BZ #13550]
27010 * sysdeps/x86_64/bp-asm.h: Remove file.
27011 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
27012 <bp-sym.h> and <bp-asm.h>.
27013 (__clone): Do not use BP_SYM.
27014 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
27015 <bp-sym.h> and <bp-asm.h>.
27016 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27017 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
27018 "bp-asm.h".
27019 (_setjmp): Do not use BP_SYM.
27020 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
27021 "bp-asm.h".
27022 (setjmp): Do not use BP_SYM.
27023 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
27024 libc_hidden_def.
27025 (mempcpy): Do not use BP_SYM in weak_alias.
27026 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
27027 "bp-asm.h".
27028 (strchr): Do not use BP_SYM.
27029 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
27030 "bp-asm.h".
27031 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
27032 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
27033 (_start): Do not use BP_SYM.
27034 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
27035 "bp-asm.h".
27036 (strcat): Do not use BP_SYM.
27037 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
27038 "bp-asm.h".
27039 (STRCMP): Do not use BP_SYM.
27040 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
27041 "bp-asm.h".
27042 (STRCPY): Do not use BP_SYM.
27043 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
27044 "bp-asm.h".
27045 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
27046 "bp-asm.h".
27047 (FUNCTION): Do not use BP_SYM.
27048 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
27049 weak_alias.
27050 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
27051
f238fd19
AJ
270522013-02-17 Andreas Jaeger <aj@suse.de>
27053
27054 * time/Versions: Sort entries.
27055 * string/Versions: Likewise.
27056 * resolv/Versions: Likewise.
27057 * posix/Versions: Likewise.
27058 * iconv/Versions: Likewise.
27059 * elf/Versions: Likewise.
27060 * wcsmbs/Versions: Likewise.
27061
bd07f23c 270622013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 27063
22af19f9
SP
27064 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
27065 loop termination condition.
27066
4709fe76
SP
27067 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
27068 variable to calculate EZ.
27069 (__sqr): Likewise.
2d0e0f29
SP
27070
27071 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
27072 the lower precision input.
27073
daaa7713
JM
270742013-02-15 Joseph Myers <joseph@codesourcery.com>
27075
27076 [BZ #13550]
27077 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
27078 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
27079 (run-via-rtld-prefix): Do not handle %-bp tests.
27080 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
27081 (all-object-suffixes): Remove .ob.
27082 (bppfx): Remove variable.
27083 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
27084 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
27085 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
27086 [$(build-bounded) = yes] (libtype.ob): Likewise.
27087 * Makerules (elide-routines.ob): Remove variable.
27088 (do-tests-clean): Do not handle *-bp.out.
27089 (common-mostlyclean): Do not handle *-bp and *-bp.out.
27090 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
27091 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
27092 (tests): Do not include $(tests-bp.out).
27093 (xtests): Do not include $(xtests-bp.out).
27094 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
27095 [$(build-bounded) = yes] ($(addprefix
27096 $(objpfx),$(binaries-bounded))): Remove rule.
27097 ($(objpfx)%-bp.out): Remove rule.
27098 * config.make.in (build-bounded): Remove variable.
27099 * crypt/Makefile [$(build-bounded) = yes]
27100 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
27101 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
27102 append to variable.
27103 [$(build-bounded) = yes] (install-lib): Likewise.
27104 [$(build-bounded) = yes] (generated): Likewise.
27105 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
27106 Remove rule.
27107 * intl/Makefile [$(build-bounded) = yes]
27108 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
27109 * math/Makefile [$(build-bounded) = yes]
27110 ($(tests:%=$(objpfx)%-bp): Likewise.
27111 * misc/Makefile [$(build-bounded) = yes]
27112 ($(objpfx)tst-tsearch-bp): Likewise.
27113 * nptl/Makeconfig (bounded-thread-library): Remove variable.
27114 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
27115 Remove dependency.
27116 * string/Makefile (o-objects.ob): Remove variable.
27117 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
27118 (CFLAGS-.ob): Remove variable.
27119 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
27120 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
27121 both definitions of variable.
27122 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
27123 (ASFLAGS-.ob): Remove variable.
27124
e97ed6dd
JM
271252013-02-14 Joseph Myers <joseph@codesourcery.com>
27126
2bdd4ca6
JM
27127 [BZ #13550]
27128 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
27129 Remove __BOUNDED_POINTERS__ from condition.
27130 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
27131 * string/bits/string2.h [!__NO_STRING_INLINES &&
27132 !__BOUNDED_POINTERS__]: Likewise.
27133 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
27134 Likewise.
27135 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
27136 Remove conditional code.
27137 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
27138 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
27139 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
27140 condition.
27141
e97ed6dd
JM
27142 [BZ #13550]
27143 * csu/libc-start.c: Do not include <bp-sym.h>.
27144 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
27145 * elf/dl-open.c: Do not include <bp-sym.h>.
27146 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
27147 * math/fegetenv.c: Do not include <bp-sym.h>.
27148 (fegetenv): Do not use BP_SYM in versioned symbols.
27149 * nptl/sysdeps/pthread/bits/libc-lockP.h
27150 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
27151 <bp-sym.h>.
27152 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27153 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
27154 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27155 (__pthread_mutex_destroy): Likewise.
27156 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27157 (__pthread_mutex_lock): Likewise.
27158 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27159 (__pthread_mutex_trylock): Likewise.
27160 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27161 (__pthread_mutex_unlock): Likewise.
27162 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27163 (__pthread_mutexattr_init): Likewise.
27164 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27165 (__pthread_mutexattr_destroy): Likewise.
27166 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27167 (__pthread_mutexattr_settype): Likewise.
27168 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27169 (__pthread_rwlock_init): Likewise.
27170 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27171 (__pthread_rwlock_destroy): Likewise.
27172 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27173 (__pthread_rwlock_rdlock): Likewise.
27174 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27175 (__pthread_rwlock_tryrdlock): Likewise.
27176 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27177 (__pthread_rwlock_wrlock): Likewise.
27178 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27179 (__pthread_rwlock_trywrlock): Likewise.
27180 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27181 (__pthread_rwlock_unlock): Likewise.
27182 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27183 (__pthread_key_create): Likewise.
27184 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27185 (__pthread_setspecific): Likewise.
27186 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27187 (__pthread_getspecific): Likewise.
27188 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
27189 Likewise.
27190 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27191 (_pthread_cleanup_push_defer): Likewise.
27192 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27193 (_pthread_cleanup_pop_restore): Likewise.
27194 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27195 (pthread_setcancelstate): Likewise.
27196 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
27197 <bp-sym.h>.
27198 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
27199 (memchr): Do not use BP_SYM in weak_alias.
27200 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
27201 (fegetenv): Do not use BP_SYM in versioned symbols.
27202 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
27203 (fesetenv): Do not use BP_SYM in versioned symbols.
27204 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27205 (feupdateenv): Do not use BP_SYM in versioned symbols.
27206 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27207 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27208 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
27209 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
27210 (open64): Do not use BP_SYM in weak_alias.
27211 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
27212 (fegetenv): Do not use BP_SYM in versioned symbols.
27213 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
27214 (fesetenv): Do not use BP_SYM in versioned symbols.
27215 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27216 (feupdateenv): Do not use BP_SYM in versioned symbols.
27217 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
27218 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
27219 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
27220 (feraiseexcept): Do not use BP_SYM in versioned symbols.
27221 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27222 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27223 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
27224 <bp-sym.h>.
27225 (__libc_start_main): Do not use BP_SYM.
27226
d6752ccd
SP
272272013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27228
cb57ce60
SP
27229 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
27230 redundant return line.
27231 (norm): Likewise.
27232 (denorm): Likewise.
27233 (dbl_mp): Likewise.
27234 (sub_magnitudes): Likewise.
27235 (__add): Likewise.
27236 (__sub): Likewise.
27237 (__mul): Likewise.
27238 (__inv): Likewise.
27239 (__dvd): Likewise.
27240 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
27241 (norm): Likewise.
27242 (denorm): Likewise.
27243 (dbl_mp): Likewise.
27244 (sub_magnitudes): Likewise.
27245 (__add): Likewise.
27246 (__sub): Likewise.
27247 (__mul): Likewise.
27248 (__inv): Likewise.
27249 (__dvd): Likewise.
27250
f414520d
SP
27251 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
27252 instead of __mul.
27253 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27254 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
27255 (cc32): Likewise.
27256
d6752ccd
SP
27257 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
27258 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
27259 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
27260 of __mul for squares.
27261 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
27262 function
27263 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
27264 Likewise.
27265 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
27266 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27267
70d9946a
JM
272682013-02-13 Joseph Myers <joseph@codesourcery.com>
27269
27270 [BZ #13550]
27271 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
27272 code.
27273 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
27274 prototype or function definition. Rename ubp_* variables and
27275 parameters. Remove argv definitions conditional on
27276 [__BOUNDED_POINTERS__].
27277 * debug/backtrace.c (__backtrace): Do not use __unbounded.
27278 * elf/dl-runtime.c (_dl_fixup): Likewise.
27279 * include/set-hooks.h (RUN_HOOK): Likewise.
27280 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
27281 definition.
27282 * string/strcpy.c (strcpy): Do not use __unbounded.
27283 * sysdeps/generic/frame.h (struct layout): Likewise.
27284 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
27285 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
27286 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
27287 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
27288 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
27289 (__backtrace): Likewise.
27290 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
27291 use __ptrvalue.
27292 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
27293 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27294 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27295 Likewise.
27296 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
27297 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
27298 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27299 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27300 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
27301 Do not use __unbounded.
27302 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
27303 Rename __unboundedrlimits parameter to rlimits in prototype.
27304 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
27305 Do not use __unbounded.
27306 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
27307 not use __ptrvalue.
27308 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27309 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
27310 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27311 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
27312 __ptrvalue or __unbounded.
27313 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
27314 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
27315 use __unbounded.
27316 (__new_msgctl): Do not use __ptrvalue.
27317 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
27318 __unbounded.
27319 (__libc_msgrcv): Do not use __ptrvalue.
27320 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
27321 startup_info): Do not use __unbounded.
27322 (__libc_start_main): Likewise. Rename ubp_* variables and
27323 parameters. Remove argv definitions conditional on
27324 [__BOUNDED_POINTERS__].
27325 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
27326 __ptrvalue.
27327 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
27328 use __unbounded.
27329 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
27330 or __ptrvalue.
27331 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
27332 use __unbounded.
27333 (__new_shmctl): Do not use __ptrvalue.
27334 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
27335 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
27336 Likewise.
27337 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
27338 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
27339 (__libc_sigaction): Likewise.
27340 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
27341 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
27342 Likewise.
27343 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27344
cc7834d6
OB
273452013-02-13 Ondřej Bílka <neleai@seznam.cz>
27346
ffb1ec7b 27347 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
27348
27349 * string/mempcpy.c: Implement by calling memcpy.
27350
bdf02814
SP
273512013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27352
c2af38aa
SP
27353 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
27354
4e92d59e
SP
27355 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
27356 evaluation.
27357
909279a5
SP
27358 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
27359 values in the mantissa.
27360
bdf02814
SP
27361 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
27362 minimize writes to Z.
27363 (sub_magnitudes): Simplify code a bit.
27364
cd525923
RM
273652013-02-12 Roland McGrath <roland@hack.frob.com>
27366
27367 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
27368 from the message. The linker prefixes all warnings with that already.
27369
7e2f0d2d
AS
273702013-02-12 Andreas Schwab <schwab@suse.de>
27371
a445af0b
AS
27372 [BZ #15078]
27373 * posix/regexec.c (extend_buffers): Add parameter min_len.
27374 (check_matching): Pass minimum needed length.
27375 (clean_state_log_if_needed): Likewise.
27376 (get_subexp): Likewise.
27377 * posix/Makefile (tests): Add bug-regex34.
27378 (bug-regex34-ENV): Define.
27379 * posix/bug-regex34.c: New file.
27380
7e2f0d2d
AS
27381 [BZ #11561]
27382 * posix/regcomp.c (parse_bracket_exp): When looking up collating
27383 elements compare against the byte sequence of it, not its name.
27384 * posix/Makefile (tests): Add bug-regex35.
27385 (bug-regex35-ENV): Define.
27386 * posix/bug-regex35.c: New file.
27387
a175b684
TV
273882013-02-11 Tom de Vries <tom@codesourcery.com>
27389
27390 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
27391 comment.
27392 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
27393 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
27394 (CHECK_EOL): Add undef.
27395
310998fe 273962013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
27397
27398 * bits/stdlib-bsearch.h: New file.
27399 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 27400 * stdlib/stdlib.h: Likewise.
41eda41d 27401
8ded91fb
RM
274022013-02-11 Roland McGrath <roland@hack.frob.com>
27403
27404 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
27405 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
27406 declaration.
27407 * manual/search.texi (Array Search Function): Add missing const in
27408 lfind prototype.
27409 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
27410 declaration to use rlim_t.
27411 (Basic Scheduling Functions): Remove erroneous const from
27412 sched_getparam prototype. Remove erroneous * from
27413 sched_get_priority_max and sched_get_priority_min prototypes.
27414 (Resource Usage): Fix summary @comment on vtimes to refer to
27415 sys/vtimes.h rather than vtimes.h.
27416 Add missing *s in vtimes prototype.
27417 (Limits on Resources): Fix ulimit prototype to return long int.
27418 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
27419 prototypes to use long int rather than double.
27420 (BSD Random): Fix initstate and setstate to use char *, not void *.
27421 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
27422 prototype to make second argument 'struct aiocb64 *const[]'.
27423 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
27424 (Status of AIO Operations): Remove erroneous const in aio_return and
27425 aio_return64 prototypes.
27426 (Synchronizing I/O): Fix sync prototype to return void.
27427 * manual/startup.texi (Suboptions): Remove an erroneous const in
27428 getsubopt prototype.
27429 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
27430 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
27431 use size_t rather than int.
27432 (Scanning All Users): Likewise for getpwent_r.
27433 (Setting Groups): Add missing const to setgroups prototype.
27434 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
27435 * manual/socket.texi (Host Names): Fix gethostbyaddr and
27436 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
27437 'const void *' rather than 'const char *'.
27438 (Host Address Functions): Likewise for inet_ntop.
27439 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
27440 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
27441 ssize_t for return value.
27442 (Sending Data): Likewise for send, sendto, sendmsg.
27443 (Socket Option Functions): Add a missing const in setsockopt prototype.
27444 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
27445 use wchar_t for the argument.
27446 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
27447 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
27448 take no arguments.
27449 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
27450 double/float/long double for second argument.
27451 Fix return types of significand, significandf, significandl.
27452 * manual/filesys.texi (Setting Permissions): Use mode_t for second
27453 argument in fchmod prototype.
27454 (File Owner): Use uid_t and gid_t in fchown prototype.
27455 (File Times): Add const to utimes, futimes, and lutimes prototypes.
27456 (Making Special Files): Use mode_t and dev_t in mknod prototype.
27457 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
27458 use 'const struct dirent **' as argument types to CMP function pointer
27459 argument.
27460 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
27461 (File Times): Fix summary magic @comment for struct utimbuf and utime
27462 to refer to utime.h, not time.h.
27463 * manual/string.texi (Argz Functions): Add missing const in
27464 argz_extract and argz_next prototypes.
27465 (Finding Tokens in a String): Likewise for basename.
27466 (String/Array Comparison): Fix typo in wcscasecmp prototype.
27467 (Copying and Concatenation): Fix typo in wmemmove prototype.
27468 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
27469 (Signal Stack): Remove erroneous const in sigstack prototype.
27470 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
27471 prototype.
27472 (Simple Calendar Time): Likewise for stime.
27473 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
27474 prototype.
27475 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
27476 say sys/sysctl.h instead.
27477 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
27478 and vsyslog prototypes.
27479
fe77fe6d
TV
274802013-02-11 Tom de Vries <tom@codesourcery.com>
27481
27482 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
27483 Remove.
27484
3a09b620
RM
274852013-02-11 Roland McGrath <roland@hack.frob.com>
27486
27487 * misc/sys/mman.h: Fix typo in mremap comment.
27488
550a0b89
RM
274892013-02-08 Roland McGrath <roland@hack.frob.com>
27490
27491 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
27492 the '\0' terminator.
27493
a2da1673
JM
274942013-02-08 Joseph Myers <joseph@codesourcery.com>
27495
27496 [BZ #13550]
27497 * debug/segfault.c: Don't include <bp-checks.h>.
27498 * sysdeps/generic/bp-checks.h: Remove file.
27499 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
27500 (__GETDENTS): Don't use CHECK_N.
27501 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
27502 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
27503 (__getgroups): Don't use CHECK_N.
27504 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
27505 (setgroups): Don't use CHECK_N.
27506 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
27507 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
27508 (__libc_msgrcv): Don't use CHECK_N.
27509 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
27510 (__libc_msgsnd): Don't use CHECK_N.
27511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
27512 <bp-checks.h>.
27513 (__libc_pread): Don't use CHECK_N.
27514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
27515 include <bp-checks.h>.
27516 (__libc_pread64): Don't use CHECK_N.
27517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
27518 include <bp-checks.h>.
27519 (__libc_pwrite): Don't use CHECK_N.
27520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
27521 include <bp-checks.h>.
27522 (__libc_pwrite64): Don't use CHECK_N.
27523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
27524 <bp-checks.h>.
27525 (__libc_pread): Don't use CHECK_N.
27526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
27527 include <bp-checks.h>.
27528 (__libc_pread64): Don't use CHECK_N.
27529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
27530 include <bp-checks.h>.
27531 (__libc_pwrite): Don't use CHECK_N.
27532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
27533 include <bp-checks.h>.
27534 (__libc_pwrite64): Don't use CHECK_N.
27535 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
27536 (do_pread): Don't use CHECK_N.
27537 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
27538 (do_pread64): Don't use CHECK_N.
27539 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
27540 (do_pwrite): Don't use CHECK_N.
27541 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
27542 (do_pwrite64): Don't use CHECK_N.
27543 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
27544 (__libc_readv): Don't use CHECK_N.
27545 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
27546 (semop): Don't use CHECK_N.
27547 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
27548 <bp-checks.h>.
27549 (semtimedop): Don't use CHECK_N.
27550 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
27551 (__libc_pread): Don't use CHECK_N.
27552 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
27553 <bp-checks.h>.
27554 (__libc_pread64): Don't use CHECK_N.
27555 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
27556 <bp-checks.h>.
27557 (__libc_pwrite): Don't use CHECK_N.
27558 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
27559 <bp-checks.h>.
27560 (__libc_pwrite64): Don't use CHECK_N.
27561 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
27562 <bp-checks.h>.
27563 (__libc_msgrcv): Don't use CHECK_N.
27564 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
27565 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
27566 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
27567 (__libc_writev): Don't use CHECK_N.
27568
b84660a8
RM
275692013-02-08 Roland McGrath <roland@hack.frob.com>
27570
7f3e75f8
RM
27571 * string/strcpy.c: Removed unused variable.
27572
b84660a8
RM
27573 * Makeconfig (+sysdep-includes): Define with := rather than =.
27574 Use an existing include/ subdir of each sysdeps dir before it.
27575
471514d3
CD
275762013-02-08 Carlos O'Donell <carlos@redhat.com>
27577
27578 * nscd/connection.c (register_traced_file): Comment function.
27579 [HAVE_INOTIFY] (union __inev): Define.
27580 [HAVE_INOTIFY] (inotify_check_files): New function.
27581 [HAVE_INOTIFY] (clear_db_cache): Likewise.
27582 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
27583 clear_db_cache.
27584 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
27585
b2d3c3be
CD
275862013-02-08 Carlos O'Donell <carlos@redhat.com>
27587
27588 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
27589 loaded if not already and that a failure is permanent.
27590
b39949d2
CD
275912013-02-08 Carlos O'Donell <carlos@redhat.com>
27592
ddacd1db 27593 [BZ #15006]
b39949d2
CD
27594 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
27595 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
27596
b2c9eff4
JM
275972013-02-08 Joseph Myers <joseph@codesourcery.com>
27598
f3aae3f3
JM
27599 [BZ #13550]
27600 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
27601 (CHECK_1_NULL_OK): Likewise.
27602 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
27603 (__fxstat): Do not use CHECK_1.
27604 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
27605 <bp-checks.h>.
27606 (___fxstat64): Do not use CHECK_1.
27607 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27608 <bp-checks.h>.
27609 (__fxstatat): Do not use CHECK_1.
27610 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27611 <bp-checks.h>.
27612 (__fxstatat64): Do not use CHECK_1.
27613 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
27614 <bp-checks.h>.
27615 (__fxstat): Do not use CHECK_1.
27616 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27617 <bp-checks.h>.
27618 (__fxstatat): Do not use CHECK_1.
27619 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27620 <bp-checks.h>.
27621 (__getresgid): Do not use CHECK_1.
27622 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27623 <bp-checks.h>.
27624 (__getresuid): Do not use CHECK_1.
27625 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
27626 <bp-checks.h>.
27627 (__lxstat): Do not use CHECK_1.
27628 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27629 <bp-checks.h>.
27630 (__old_msgctl): Do not use CHECK_1.
27631 (__new_msgctl): Likewise.
27632 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
27633 <bp-checks.h>.
27634 (__new_setrlimit): Do not use CHECK_1.
27635 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27636 <bp-checks.h>.
27637 (__old_shmctl): Do not use CHECK_1.
27638 (__new_shmctl): Likewise.
27639 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
27640 <bp-checks.h>.
27641 (__xstat): Do not use CHECK_1.
27642 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
27643 (__lxstat): Do not use CHECK_1.
27644 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
27645 <bp-checks.h>.
27646 (___lxstat64): Do not use CHECK_1.
27647 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
27648 (__old_msgctl): Do not use CHECK_1.
27649 (__new_msgctl): Likewise.
27650 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
27651 <bp-checks.h>.
27652 (__gettimeofday): Do not use CHECK_1.
27653 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
27654 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
27655 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
27656 <bp-checks.h>.
27657 (__gettimeofday): Do not use CHECK_1.
27658 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
27659 (__old_shmctl): Do not use CHECK_1_NULL_OK.
27660 (__new_shmctl): Do not use CHECK_1.
27661 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
27662 <bp-checks.h>.
27663 (do_sigtimedwait): Do not use CHECK_1.
27664 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
27665 <bp-checks.h>.
27666 (do_sigwaitinfo): Do not use CHECK_1.
27667 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
27668 <bp-checks.h>.
27669 (msgctl): Do not use CHECK_1.
27670 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
27671 <bp-checks.h>.
27672 (shmctl): Do not use CHECK_1.
27673 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
27674 (ustat): Do not use CHECK_1.
27675 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
27676 <bp-checks.h>.
27677 (__fxstat): Do not use CHECK_1.
27678 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27679 <bp-checks.h>.
27680 (__fxstatat): Do not use CHECK_1.
27681 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
27682 <bp-checks.h>.
27683 (__lxstat): Do not use CHECK_1.
27684 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
27685 <bp-checks.h>.
27686 (__xstat): Do not use CHECK_1.
27687 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
27688 (__xstat): Do not use CHECK_1.
27689 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
27690 (___xstat64): Do not use CHECK_1.
27691
b2c9eff4
JM
27692 [BZ #13550]
27693 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
27694 definitions.
27695 (CHECK_BOUNDS_HIGH): Likewise.
27696 * string/strcpy.c: Do not include <bp-checks.h>.
27697 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
27698
f1d70dad
RM
276992013-02-07 Roland McGrath <roland@hack.frob.com>
27700
27701 * nscd/nscd-client.h (__nscd_drop_map_ref):
27702 Add __attribute__ ((unused)).
27703 * nis/nss-nisplus.h (niserr2nss): Likewise.
27704
27705 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
27706 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
27707
27708 * csu/libc-tls.c (init_static_tls, init_slotinfo):
27709 Remove inline keyword.
27710 * include/rounding-mode.h (round_away): Likewise.
27711 * libio/wfileops.c (adjust_wide_data): Likewise.
27712 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27713 (__m128i_strloadu_tolower): Likewise.
27714 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27715 (__m128i_strloadu_tolower): Likewise.
27716 * time/mktime.c (ydhms_diff): Likewise.
27717 * locale/elem-hash.h (elem_hash): Likewise.
27718 * locale/setlocale.c (setdata): Likewise.
27719 * posix/regex_internal.h (re_string_char_size_at): Likewise.
27720 (re_string_wchar_at): Likewise.
27721 (bitset_not, bitset_merge, bitset_mask): Likewise.
27722 [!(__GNUC__ > 3)] (inline): Remove macro.
27723 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27724 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27725 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27726 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27727 * string/memcmp.c (memcmp_bytes): Likewise.
27728 * locale/programs/locarchive.c (compute_hashval): Likewise.
27729 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27730 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27731 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27732 * nss/getent.c (print_rpc, print_protocols): Likewise.
27733 (print_passwd, print_group, print_aliases): Likewise.
27734 * nis/nss-nisplus.h (niserr2nss): Likewise.
27735 * nscd/connections.c (restart_p): Likewise.
27736 Change return type to bool.
27737
eab55bfb
RM
277382013-02-05 Roland McGrath <roland@hack.frob.com>
27739
7bd642f5
RM
27740 * Makeconfig (all-Depend-files): Add existing
27741 $(sorted-subdirs:=/Depend) files.
27742 (all-subdirs): Remove nss.
27743 * sysdeps/unix/inet/Subdirs: Add it here instead.
27744 * hesiod/Depend: New file.
27745
573c29b2
RM
27746 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27747 instead of calling alloca.
27748
b2e25af0
RM
27749 * io/lseek.c (__lseek): Rename to __libc_lseek.
27750 Define __lseek as an alias.
27751
eab55bfb
RM
27752 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27753
9a0d1941
CD
277542013-02-04 Carlos O'Donell <carlos@redhat.com>
27755
27756 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27757 else clause and remove check for non-standard endianness.
27758
b83bbec4
DM
277592013-02-04 David S. Miller <davem@davemloft.net>
27760
27761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27762
6277fdab
JM
277632013-02-04 Joseph Myers <joseph@codesourcery.com>
27764
27765 [BZ #13550]
27766 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27767 (__ubp_memchr): Remove prototype.
27768 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27769 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27770 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27771 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27772 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27773 Remove alias.
27774 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27775 (__ubp_memchr): Likewise.
27776 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27777 (__ubp_memchr): Likewise.
27778 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27779 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27780 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27781 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27782 CHECK_STRING.
27783 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27784 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27785 (__getcwd): Do not use CHECK_STRING.
27786 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27787 <bp-checks.h>.
27788 (__real_chown): Do not use CHECK_STRING.
27789 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27790 <bp-checks.h>.
27791 (fchownat): Do not use CHECK_STRING.
27792 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27793 CHECK_STRING.
27794 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27795 <bp-checks.h>.
27796 (__lchown): Do not use CHECK_STRING.
27797 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27798 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27799 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27800 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27802 include <bp-checks.h>.
27803 (truncate64): Do not use CHECK_STRING.
27804 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27805 <bp-checks.h>.
27806 (__real_chown): Do not use CHECK_STRING.
27807 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27808 <bp-checks.h>.
27809 (__lchown): Do not use CHECK_STRING.
27810 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27811 <bp-checks.h>.
27812 (__chown): Do not use CHECK_STRING.
27813 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
27814 <bp-checks.h>.
27815 (truncate64): Do not use CHECK_STRING.
27816 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
27817 Likewise.
27818 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
27819 (__xmknod): Do not use CHECK_STRING.
27820 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27821 <bp-checks.h>.
27822 (__xmknodat): Do not use CHECK_STRING.
27823 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27824 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
27825
903ae060
AS
278262013-02-04 Andreas Schwab <schwab@suse.de>
27827
27828 [BZ #14142]
27829 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
27830 * include/netdb.h: Likewise for h_errno.
27831 * elf/tst-stackguard1.c: Include <tls.h>.
27832
542f9466
JK
278332013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
27834
27835 * elf/link.h (struct link_map): Extend the l_addr comment.
27836 * include/link.h (struct link_map): Likewise.
27837
e782a927
JM
278382013-02-01 Joseph Myers <joseph@codesourcery.com>
27839
27840 [BZ #13550]
27841 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
27842 (BOUNDED_1): Remove macro.
27843 * debug/backtrace.c: Don't include <bp-checks.h>.
27844 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
27845 (__backtrace): Likewise.
27846 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
27847 <bp-checks.h>.
27848 (__backtrace): Don't use BOUNDED_1.
27849 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
27850 <bp-checks.h>.
27851 (__backtrace): Don't use BOUNDED_1.
27852 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
27853 (__backtrace): Don't use BOUNDED_1.
27854 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
27855 (shmat): Don't use BOUNDED_N.
27856
8cf28c5e
JM
278572013-01-31 Joseph Myers <joseph@codesourcery.com>
27858
3a7ac8a0
JM
27859 [BZ #13550]
27860 * sysdeps/generic/bp-start.h: Remove file.
27861 * csu/libc-start.c: Don't include <bp-start.h>.
27862 (LIBC_START_MAIN): Set up __environ directly instead of using
27863 INIT_ARGV_and_ENVIRON.
27864 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
27865 <bp-start.h>.
27866
f3499f95
JM
27867 [BZ #13550]
27868 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
27869 definitions.
27870 (CHECK_FCNTL): Likewise.
27871 (CHECK_N_PAGES): Likewise.
27872
32a45bea
JM
27873 [BZ #13550]
27874 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
27875 definitions.
27876 (CHECK_SIGSET_NULL_OK): Likewise.
27877 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
27878 <bp-checks.h>.
27879 (sigpending): Don't use CHECK_SIGSET.
27880 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
27881 <bp-checks.h>.
27882 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27883 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
27884 <bp-checks.h>.
27885 (do_sigsuspend): Don't use CHECK_SIGSET.
27886 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
27887 use CHECK_SIGSET.
27888 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
27889 (do_sigwait): Don't use CHECK_SIGSET.
27890 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
27891 use CHECK_SIGSET.
27892 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
27893 include <bp-checks.h>.
27894 (sigpending): Don't use CHECK_SIGSET.
27895 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
27896 include <bp-checks.h>.
27897 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27898 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
27899 <bp-checks.h>.
27900 (sigpending): Don't use CHECK_SIGSET.
27901 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
27902 <bp-checks.h>.
27903 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27904
2e8a5c8c
JM
27905 [BZ #13550]
27906 * sysdeps/generic/bp-semctl.h: Remove file.
27907 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
27908 <bp-checks.h> and <bp-semctl.h>.
27909 (__old_semctl): Don't use CHECK_SEMCTL.
27910 (__new_semctl): Likewise.
27911 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
27912 and <bp-semctl.h>.
27913 (__old_semctl): Don't use CHECK_SEMCTL.
27914 (__new_semctl): Likewise.
27915 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
27916 <bp-checks.h> and <bp-semctl.h>.
27917 (__old_semctl): Don't use CHECK_SEMCTL.
27918 (__new_semctl): Likewise.
27919 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
27920 <bp-checks.h> and <bp-semctl.h>.
27921 (semctl): Don't use CHECK_SEMCTL.
27922
c2d54929
JM
27923 [BZ #13550]
27924 * Makerules (elide-bp-thunks): Remove variable.
27925 (elide-routines.oS): Don't use $(elide-bp-thunks).
27926 (elide-routines.os): Likewise.
27927 (elide-routines.o): Likewise.
27928 (elide-routines.op): Likewise.
27929 (elide-routines.og): Likewise.
27930 (objects): Don't use $(bp-thunks).
27931 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
27932 include.
27933 (common-generated): Do not add s-proto-bp.d.
27934 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
27935 (int): Likewise.
27936 (typ): Likewise.
27937 Do not generate makefile rules for bounded-pointer thunks.
27938 * sysdeps/generic/bp-thunks.h: Remove file.
27939 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
27940 * sysdeps/unix/s-proto-bp.S: Likewise.
27941
8cf28c5e
JM
27942 [BZ #15062]
27943 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
27944 parts of result separately when argument is not close to line from
27945 -i to i and one part of argument is small.
27946 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27947 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27948 * math/libm-test.inc (cacos_test): Add more tests.
27949 (casin_test): Likewise.
27950 (casinh_test): Likewise.
27951 * sysdeps/i386/fpu/libm-test-ulps: Update.
27952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27953
c4e33b8d
DM
279542013-01-31 David S. Miller <davem@davemloft.net>
27955
27956 * po/de.po: Update from translation team.
27957
3b60b421
MK
279582013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
27959
27960 * time/tzfile.c: Include stdint.h for SIZE_MAX.
27961
bb931195
TS
279622013-01-25 Thomas Schwinge <thomas@codesourcery.com>
27963
b5a5da23
TS
27964 * configure.in (_AC_PROG_CC_C89): New definition.
27965 * configure: Regenerate.
27966
bb931195
TS
27967 * configure.in (AC_PROG_CPP): New definition.
27968 * configure: Regenerate.
27969
8c53a12c
JM
279702013-01-23 Joseph Myers <joseph@codesourcery.com>
27971
27972 * debug/tst-backtrace.h: New file.
27973 * debug/tst-backtrace2.c: Include tst-backtrace.h.
27974 (ret): Remove variable.
27975 (x): Likewise.
27976 (FAIL): Remove macro.
27977 (NO_INLINE): Likewise.
27978 (fn1): Use match function instead of strstr.
27979 * debug/tst-backtrace3.c: Include tst-backtrace.h.
27980 (ret): Remove variable.
27981 (x): Likewise.
27982 (FAIL): Remove macro.
27983 (NO_INLINE): Likewise.
27984 (fn): Use match function instead of strstr.
27985 * debug/tst-backtrace4.c: Include tst-backtrace.h.
27986 (ret): Remove variable.
27987 (x): Likewise.
27988 (FAIL): Remove macro.
27989 (NO_INLINE): Likewise.
27990 (handle_signal): Use match function instead of strstr.
27991 * debug/tst-backtrace5.c: Include tst-backtrace.h.
27992 (ret): Remove variable.
27993 (x): Likewise.
27994 (FAIL): Remove macro.
27995 (NO_INLINE): Likewise.
27996 (handle_signal): Use match function instead of strstr.
27997
4858fa2a
RM
279982013-01-23 Roland McGrath <roland@hack.frob.com>
27999
28000 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
28001
bae8e7f5
DM
280022013-01-23 David S. Miller <davem@davemloft.net>
28003
28004 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
28005 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
28006 argument of CAS if possible.
28007 * sysdeps/sparc/sparc64/bits/atomic.h
28008 (__arch_compare_and_exchange_val_32_acq): Likewise.
28009 (__arch_compare_and_exchange_val_64_acq): Likewise.
28010
9cbbc4ae
PT
280112013-01-23 Pino Toscano <toscano.pino@tiscali.it>
28012
28013 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
28014 * sysdeps/posix/ulimit.c: ... this.
92a601b8 28015 Include <limits.h>.
67b3f58c 28016 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 28017
5655a0b5
AC
280182013-01-23 Adam Conrad <adconrad@0c3.net>
28019
28020 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
28021 (LDFLAGS-tst-array5): Likewise.
28022
052aff95
JM
280232013-01-23 Joseph Myers <joseph@codesourcery.com>
28024
28025 [BZ #15036]
28026 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
28027 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
28028 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
28029 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
28030
7c1e01aa
DM
280312013-01-21 David S. Miller <davem@davemloft.net>
28032
28033 * sysdeps/sparc/backtrace.c: New file.
28034 * sysdeps/sparc/sparc32/backtrace.h: New file.
28035 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
28036 * sysdeps/sparc/sparc64/backtrace.h: New file.
28037 * sysdeps/sparc/sparc64/backtrace.c: Delete.
28038 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
28039 -funwind-tables.
28040
ab087e0a
AS
280412013-01-21 Andreas Schwab <schwab@suse.de>
28042
28043 [BZ #15020]
28044 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
28045 closed its stdout.
28046
ed689c2f
AS
280472013-01-20 Andreas Schwab <schwab@linux-m68k.org>
28048
28049 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
28050 "mpa2.h".
28051 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28052
31d470ac
JM
280532013-01-18 Joseph Myers <joseph@codesourcery.com>
28054 Mark Mitchell <mark@codesourcery.com>
28055 Tom de Vries <tom@codesourcery.com>
28056 Paul Pluzhnikov <ppluzhnikov@google.com>
28057
28058 * debug/tst-backtrace2.c: New file.
28059 * debug/tst-backtrace3.c: Likewise.
28060 * debug/tst-backtrace4.c: Likewise.
28061 * debug/tst-backtrace5.c: Likewise.
28062 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
28063 (CFLAGS-tst-backtrace3.c): Likewise.
28064 (CFLAGS-tst-backtrace4.c): Likewise.
28065 (CFLAGS-tst-backtrace5.c): Likewise.
28066 (LDFLAGS-tst-backtrace2): Likewise.
28067 (LDFLAGS-tst-backtrace3): Likewise.
28068 (LDFLAGS-tst-backtrace4): Likewise.
28069 (LDFLAGS-tst-backtrace5): Likewise.
28070 (tests): Add new tests tst-backtrace2, tst-backtrace3,
28071 tst-backtrace4 and tst-backtrace5.
28072
90567f30 280732013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
28074 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28075
28076 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
28077 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
28078 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
28079 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
28080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28081 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
28082 "+r" and remove output regs list as redundant. Add explicit inline
28083 asm to specify register of return val to work around compiler codegen
28084 bug. Remove (int) cast on return value. Add return type parameter to
28085 use in macro so that this macro does not truncate return value for
28086 64-bit values.
28087 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
28088 pass to INTERNAL_VSYSCALL_NCS.
28089 (INLINE_VSYSCALL): Add 'long int' as return type to
28090 INTERNAL_VSYSCALL_NCS macro invocation.
28091 (INTERNAL_VSYSCALL): Add 'long int' as return type to
28092 INTERNAL_VSYSCALL_NCS macro invocation.
28093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28094
d3b9ea61
SP
280952013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28096
0b57daeb
SP
28097 [BZ #14496]
28098 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
28099 Fix application of SIMD FP exception mask.
28100
caa99d06
SP
28101 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
28102 mp_no from a power of two.
28103 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
28104 __mpexp_twomm1. Use __pow_mp.
28105
d3b9ea61
SP
28106 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
28107 multiplication.
28108
1dbaee3c
DM
281092013-01-17 David S. Miller <davem@davemloft.net>
28110
28111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28112
728d7b43
JM
281132013-01-17 Joseph Myers <joseph@codesourcery.com>
28114
28115 [BZ #15023]
28116 * include/complex.h: Condition contents on [!_COMPLEX_H].
28117 (__kernel_casinhf): New prototype.
28118 (__kernel_casinh): Likewise.
28119 (__kernel_casinhl): Likewise.
28120 * math/Makefile (libm_calls): Add k_casinh.
28121 * math/k_casinh.c: New file.
28122 * math/k_casinhf.c: Likewise.
28123 * math/k_casinhl.c: Likewise.
28124 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
28125 finite nonzero arguments.
28126 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
28127 finite nonzero arguments.
28128 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
28129 finite nonzero arguments.
28130 * math/s_casinh.c: Do not include <float.h>.
28131 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
28132 * math/s_casinhf.c: Do not include <float.h>.
28133 (__casinhf): Move code for finite nonzero arguments to
28134 k_casinhf.c.
28135 * math/s_casinhl.c: Do not include <float.h>.
28136 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
28137 redefine.
28138 (__casinhl): Move code for finite nonzero arguments to
28139 k_casinhl.c.
28140 * math/libm-test.inc (cacos_test): Add more tests.
28141 * sysdeps/i386/fpu/libm-test-ulps: Update.
28142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28143
2a26ef3a
PT
281442013-01-17 Pino Toscano <toscano.pino@tiscali.it>
28145
28146 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
28147 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
28148 [!HAVE_MREMAP]: Remove [defined linux] case.
28149 * malloc/arena.c: Do not include <malloc-sysdep.h>.
28150
a897655d
SP
281512013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28152
28153 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
28154
881ebe89 281552013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
28156
28157 * elf/elf.h (R_386_SIZE32): New relocation.
28158 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
28159 R_386_SIZE32.
28160 (elf_machine_rela): Likewise.
28161 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28162 R_X86_64_SIZE64 and R_X86_64_SIZE32.
28163
59981e9b
JM
281642013-01-17 Joseph Myers <joseph@codesourcery.com>
28165
28166 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
28167 (FP_FAST_FMA): Do not define.
28168 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
28169 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
28170 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
28171 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
28172 !_SOFT_FLOAT]: Likewise.
28173 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
28174 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
28175 value.
28176 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
28177 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
28178 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
28179 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
28180 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
28181 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
28182 file.
28183
cfa8054f
AS
281842013-01-16 Andreas Schwab <schwab@suse.de>
28185
28186 [BZ #14327]
28187 * include/stdlib.h (__mktemp): Add declaration.
28188 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
28189 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
28190
dd930cc5
SP
281912013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28192
881ebe89
SP
28193 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
28194 definitions.
28195 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28196 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
28197 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
28198 definitions here.
28199 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
28200 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
28201 definitions.
28202 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
28203 and ONE.
28204 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
28205 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
28206 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
28207 definitions.
28208 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
28209 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
28210 definitions.
28211 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 28212
dd930cc5
SP
28213 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
28214
c19a9f89
DM
282152013-01-15 David S. Miller <davem@davemloft.net>
28216
1aa61767
DM
28217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28218 trunc{,f} to libm-sysdep_routes.
28219 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
28221 file.
28222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
28223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
28224 file.
28225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
28226 file.
28227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
28228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
28229 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
28230 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
28231 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
28232 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
28233 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
28234 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
28235
c42d5e98
DM
28236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28237 nearbyint{,f} to libm-sysdep_routes.
28238 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
28240 New file.
28241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
28242 file.
28243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
28244 New file.
28245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
28246 file.
28247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
28248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
28249 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
28250 file.
28251 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
28252 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
28253 file.
28254 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
28255 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
28256 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
28257
c19a9f89
DM
28258 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28259 libc_feholdexcept and libc_fesetenv.
28260
357679d2
MF
282612013-01-15 Mike Frysinger <vapier@gentoo.org>
28262
28263 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
28264
65a82e3d
DM
282652013-01-14 David S. Miller <davem@davemloft.net>
28266
8b954ab9
DM
28267 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
28268 (SPARC_ASM_VIS2_IFUNC): Likewise.
28269 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
28270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
28271 use of 'siam' instruction.
28272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
28273 Likewise.
28274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
28275 Likewise.
28276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
28277 Likewise.
28278 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
28279 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
28280 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
28281 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
28282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
28283 file.
28284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
28285 file.
28286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
28287 file.
28288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
28289 file.
28290 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
28291 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
28292 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
28293 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
28294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
28295 new VIS2 routines.
28296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28299 Likewise.
28300 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28301 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28302 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28303 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
28305 routines to libm-sysdep_routines.
28306 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28307
65a82e3d
DM
28308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28309 fdim/fdimf to libm-sysdep_routines.
28310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
28311 file.
28312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
28313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
28314 file.
28315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
28316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
28317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
28318 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
28319 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
28320 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
28321 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
28322
e34ab705
SP
283232013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28324
2a91b573
SP
28325 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
28326 to optimize copies.
28327
1066a534
SP
28328 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
28329 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28330 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28331
e34ab705
SP
28332 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
28333 local variable MPTWO.
28334 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28335 Likewise.
28336
aba5e596
MF
283372013-01-13 Mike Frysinger <vapier@gentoo.org>
28338
28339 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
28340 GLOB_NOESCAPE.
28341
e557e9e5
MF
283422013-01-13 Mike Frysinger <vapier@gentoo.org>
28343
28344 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
28345
0428cec9
MF
283462013-01-13 Mike Frysinger <vapier@gentoo.org>
28347
28348 * manual/pattern.texi (glob_t): Document gl_flags.
28349 (glob64_t): Likewise.
28350
8794a964
DM
283512013-01-11 David S. Miller <davem@davemloft.net>
28352
66438c3f
RM
28353 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
28354 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
28355 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
28356 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
28357 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
28358 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
28359 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
28360 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
28361 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
28362 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
28363 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
28364 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
28365 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
28366
4ae4244d
DM
28367 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28368 sparc V9 rather than using V8 code.
28369 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28370 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28371
8794a964
DM
28372 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28373 Move to...
28374 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
28375 Here.
28376
6270516e
RM
283772013-01-11 Roland McGrath <roland@hack.frob.com>
28378
28379 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
28380 not in the main loop.
28381 * configure: Regenerated.
28382
6a57d931
JM
283832013-01-11 Joseph Myers <joseph@codesourcery.com>
28384
28385 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
28386 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
28387 to just #else.
28388 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
28389 [!__GLIBC_HAVE_LONG_LONG] case.
28390 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
28391 condition to just #else.
28392 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
28393 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
28394 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
28395 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
28396 unconditional.
28397 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
28398 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28399 #elif condition to just #else.
28400 * sysdeps/unix/sysv/linux/sys/sysmacros.h
28401 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
28402 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28403 #elif condition to just #else.
28404
0e8529e9
SE
284052013-01-11 Steve Ellcey <sellcey@mips.com>
28406
28407 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
28408 (EF_MIPS_ARCH_64): Fix value.
28409 (EF_MIPS_ARCH_32R2): New.
28410 (EF_MIPS_ARCH_64R2): New.
28411
740b3dbe
L
284122013-01-11 H.J. Lu <hongjiu.lu@intel.com>
28413
28414 * Makeconfig (+link-pie-before-libc): New.
28415 (+link-pie-after-libc): Likewise.
28416 (+link-pie-tests): Likewise.
28417 (+link-pie): Rewritten.
28418 (link-before-libc): Remove $(config-LDFLAGS).
28419 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
28420 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
28421 (config-LDFLAGS): Renamed to ...
28422 (rtld-LDFLAGS): This.
28423 (rtld-tests-LDFLAGS): New macro.
28424 (link-libc-rpath-link): Likewise.
28425 (link-libc-tests-rpath-link): Likewise.
28426 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
28427 (link-libc): Prepand $(link-libc-rpath-link).
28428 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
28429 (test-program-prefix): New macro.
28430 (test-via-rtld-prefix): Likewise.
28431 (test-program-cmd): Likewise.
28432 (host-test-program-cmd): Likewise.
28433 * Makefile ($(common-objpfx)testrun.sh): Replace
28434 $(run-program-prefix) with $(test-program-prefix).
28435 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
28436 $(rtld-LDFLAGS).
28437 ($(common-objpfx)shlib.lds): Likewise.
28438 (build-module-helper): Likewise.
28439 ($(common-objpfx)format.lds): Likewise.
28440 * Rules (binaries-pie-tests): New.
28441 (binaries-pie-notests): Likewise.
28442 (binaries-pie): Rewritten.
28443 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
28444 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
28445 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
28446 (make-test-out): Replace $(host-built-program-cmd) with
28447 $(host-test-program-cmd).
28448 * config.make.in (build-hardcoded-path-in-tests): New variable.
28449 * configure.in (--enable-hardcoded-path-in-tests): New configure
28450 option.
28451 (hardcoded_path_in_tests): New AC_SUBST.
28452 * configure: Regenerated.
28453 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
28454 $(built-program-cmd) with $(test-program-cmd).
28455 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
28456 (test_program_cmd): This.
28457 * elf/Makefile ($(objpfx)order.out): Run test with
28458 $(test-program-prefix).
28459 ($(objpfx)order2.out): Likewise.
28460 ($(objpfx)tst-initorder.out): Likewise.
28461 ($(objpfx)tst-initorder2.out): Likewise.
28462 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
28463 $(test-program-cmd).
28464 ($(objpfx)tst-array1-static.out): Likewise.
28465 ($(objpfx)tst-array2.out): Likewise.
28466 ($(objpfx)tst-array3.out): Likewise.
28467 ($(objpfx)tst-array4.out): Likewise.
28468 ($(objpfx)tst-array5.out): Likewise.
28469 ($(objpfx)tst-array5-static.out): Likewise.
28470 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
28471 $(test-program-cmd).
28472 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
28473 $(run-program-prefix) with $(test-program-prefix).
28474 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
28475 (test_program_prefix): This.
28476 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
28477 $(run-program-prefix) with $(test-program-prefix).
28478 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
28479 (test_program_prefix): This.
28480 * iconvdata/tst-tables.sh: Likewise.
28481 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
28482 $(run-program-prefix) with $(test-program-prefix).
28483 ($(objpfx)tst-translit.out): Likewise.
28484 ($(objpfx)tst-gettext2.out): Likewise.
28485 ($(objpfx)tst-gettext4.out): Likewise.
28486 ($(objpfx)tst-gettext6.out): Likewise.
28487 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
28488 (test_program_prefix): This.
28489 * intl/tst-gettext2.sh: Likewise.
28490 * intl/tst-gettext4.sh Likewise.
28491 * intl/tst-gettext6.sh: Likewise.
28492 * intl/tst-translit.sh: Likewise.
28493 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
28494 with $(test-program-cmd).
28495 * libio/Makefile ($(objpfx)test-freopen.out): Replace
28496 $(run-program-prefix) with $(test-program-prefix).
28497 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
28498 (test_program_prefix): This.
28499 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
28500 $(run-program-prefix) with $(test-program-prefix).
28501 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
28502 (test_program_prefix): This.
28503 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
28504 * posix/Makefile ($(objpfx)globtest.out): Replace
28505 $(run-via-rtld-prefix) and $(test-wrapper) with
28506 $(test-program-prefix) and $(test-via-rtld-prefix).
28507 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
28508 $(test-program-prefix).
28509 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
28510 $(host-test-program-cmd).
28511 (tst-spawn-ARGS): Likewise.
28512 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
28513 $(test-program-prefix).
28514 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
28515 (test_via_rtld_prefix): This.
28516 (test_wrapper): Renamed to ...
28517 (test_program_prefix): This.
28518 (run_program_prefix): Replaced by test_program_prefix.
28519 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
28520 (test_program_prefix): This.
28521 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
28522 with $(host-test-program-cmd).
28523 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
28524 $(run-program-prefix) with $(test-program-prefix).
28525 ($(objpfx)tst-printf.out): Likewise.
28526 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
28527 $(test-program-cmd).
28528 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
28529 (test_program_prefix): This.
28530 * stdio-common/tst-unbputc.sh: Likewise.
28531 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
28532 $(run-program-prefix) with $(test-program-prefix).
28533 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
28534 (test_program_prefix): This.
28535 * string/Makefile ($(objpfx)tst-svc.out): Replace
28536 $(built-program-cmd) with $(test-program-cmd).
28537
c6fe55cf
AJ
285382013-01-11 Andreas Jaeger <aj@suse.de>
28539
28540 [BZ #15003]
28541 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
28542 value. Sync with Linux 3.7.
28543
9e6919c8
DM
285442013-01-10 David S. Miller <davem@davemloft.net>
28545
28546 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
28547 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28548 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28549
1c9f1a02
RM
285502013-01-10 Roland McGrath <roland@hack.frob.com>
28551
28552 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
28553 never set.
28554 * configure: Regenerated.
28555
b9de2dde
DM
285562013-01-10 David S. Miller <davem@davemloft.net>
28557
28558 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28559 sparc V9 rather than using V8 code.
28560 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28561 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28562
e7f68ef4
RM
285632013-01-10 Roland McGrath <roland@hack.frob.com>
28564
28565 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
28566 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
28567 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
28568 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
28569 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
28570 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
28571 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
28572 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
28573 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
28574 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
28575 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
28576 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
28577 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
28578 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
28579 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
28580 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
28581 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
28582 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
28583 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
28584 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
28585 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
28586 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
28587 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
28588 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
28589 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
28590 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
28591 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
28592
5a47cc9c
DM
285932013-01-10 David S. Miller <davem@davemloft.net>
28594
28595 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28596
4cf8f209
L
285972013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28598
28599 * posix/Makefile (tests-static): New variable.
28600 (tests): Add $(tests-static).
28601 (tst-exec-static-ARGS): New variable.
28602 (tst-spawn-static-ARGS): Likewise.
28603 * posix/tst-exec-static.c: New file.
28604 * posix/tst-spawn-static.c: Likewise.
28605 * posix/tst-exec.c: Support run directly.
28606 * posix/tst-spawn.c: Likewise.
28607
fed0faa1
JM
286082013-01-10 Joseph Myers <joseph@codesourcery.com>
28609
828beb13
JM
28610 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
28611 long.
28612 * math/bits/mathcalls.h (llrint): Likewise.
28613 (llround): Likewise.
28614 * stdlib/stdlib.h (struct drand48_data): Likewise.
28615 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
28616 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
28617 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
28618 Likewise.
28619 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
28620 Likewise.
28621 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
28622 (elf_greg_t): Likewise.
28623 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
28624 (__jmp_buf): Likewise.
28625 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
28626 definitions.
28627 (llrint): Likewise, for all definitions.
28628 (llrintl): Likewise.
28629
fed0faa1
JM
28630 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
28631 Remove [__GNUC__] condition.
28632 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
28633 condition to just [__USE_ISOC99].
28634 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
28635
1a20cb20
L
286362013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28637
28638 [BZ #14200]
28639 * sysdeps/unix/sysv/linux/x86/bits/environments.h
28640 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
28641 defined.
28642 (_POSIX_V6_ILP32_OFF32): Likewise.
28643 (_XBS5_ILP32_OFF32): Likewise.
28644 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
28645 (__ILP32_OFFBIG_LDFLAGS): Likewise.
28646
751b85f7
SP
286472013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28648
7490eb81
SP
28649 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
28650
751b85f7
SP
28651 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
28652 doubles __mpexp_twomm1. Adjust usage.
28653 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
28654 Remove.
28655
988197f0
AS
286562013-01-10 Andreas Schwab <schwab@suse.de>
28657
28658 [BZ #14964]
28659 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
28660 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
28661
e83d7298
DM
286622013-01-09 David S. Miller <davem@davemloft.net>
28663
034ed64b 28664 [BZ #15003]
57f41c40
AS
28665 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
28666 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
28667 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
28668 (TCP_FASTOPEN): Define.
e83d7298
DM
28669 (tcp_repair_opt): New structure.
28670 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
28671 enum values.
57f41c40
AS
28672 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
28673 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
28674 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
28675 (tcp_cookie_transactions): New structure.
28676
d5e0b9bd
AB
286772013-01-09 Anton Blanchard <anton@samba.org>
28678
28679 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
28680 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
28681 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
28682 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28683
0c07e3ea
JM
286842013-01-09 Joseph Myers <joseph@codesourcery.com>
28685
28686 * include/features.h (__USE_ANSI): Remove.
28687
232f7002
RM
286882013-01-09 Roland McGrath <roland@hack.frob.com>
28689
ad98e30c
RM
28690 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
28691
232f7002
RM
28692 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
28693
950c99ca
SP
286942013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
28695
b5792741
SP
28696 * sysdeps/s390/fpu/libm-test-ulps: Update.
28697
47cf2278
SP
28698 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28699
950c99ca
SP
28700 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
28701 (__acr): Likewise.
28702 (__cpy): Likewise.
28703 (norm): Likewise.
28704 (denorm): Likewise.
28705 (__mp_dbl): Likewise.
28706 (__dbl_mp): Likewise.
28707 (add_magnitudes): Likewise.
28708 (sub_magnitudes): Likewise.
28709 (__add): Likewise.
28710 (__sub): Likewise.
28711 (__mul): Likewise.
28712 (__inv): Likewise.
28713 (__dvd): Likewise.
28714 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
28715 (__acr): Likewise.
28716 (__cpy): Likewise.
28717 (norm): Likewise.
28718 (denorm): Likewise.
28719 (__mp_dbl): Likewise.
28720 (__dbl_mp): Likewise.
28721 (add_magnitudes): Likewise.
28722 (sub_magnitudes): Likewise.
28723 (__add): Likewise.
28724 (__sub): Likewise.
28725 (__mul): Likewise.
28726 (__inv): Likewise.
28727 (__dvd): Likewise.
28728 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
28729 (__acr): Likewise.
28730 (__cpy): Likewise.
28731 (norm): Likewise.
28732 (denorm): Likewise.
28733 (__mp_dbl): Likewise.
28734 (__dbl_mp): Likewise.
28735 (add_magnitudes): Likewise.
28736 (sub_magnitudes): Likewise.
28737 (__add): Likewise.
28738 (__sub): Likewise.
28739 (__mul): Likewise.
28740 (__inv): Likewise.
28741 (__dvd): Likewise.
28742
eede9df9
JM
287432013-01-08 Joseph Myers <joseph@codesourcery.com>
28744
28745 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28746 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28747 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28748 2 && __USE_EXTERN_INLINES]: Likewise.
28749
c40ea3d9
AJ
287502013-01-08 Andreas Jaeger <aj@suse.de>
28751
28752 [BZ# 14985]
28753 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28754 Remove.
28755 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28756 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28757
2ccdea26
AB
287582013-01-07 Anton Blanchard <anton@samba.org>
28759
28760 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28761 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28762 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28763 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28764 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28765 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28766 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28767 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28768 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28769 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28770 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28771 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28772 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28773 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28774 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28775 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28776 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28777 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28778 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28779 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28780 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28781 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28782 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28783 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28784 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28785 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28786 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28787 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28788 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28789 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28790 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28791 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28792 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28793 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28794 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28795 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28796 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28797 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28798 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28799 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28800 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28801 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28802 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28803
a9708fed
JM
288042013-01-07 Joseph Myers <joseph@codesourcery.com>
28805
375607b9
JM
28806 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
28807 (__MALLOC_PMT): Likewise.
28808 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
28809 [__GNUC__], only on [_LIBC].
28810 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28811 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
28812 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28813 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
28814 forward declaration.
28815 (realloc_hook_ini): Likewise.
28816 (memalign_hook_ini): Likewise.
28817 (__libc_memalign): Do not use __MALLOC_PMT in variable
28818 declaration.
28819 (__libc_valloc): Likewise.
28820 (__libc_pvalloc): Likewise.
28821 (__libc_calloc): Likewise.
28822 (__posix_memalign): Likewise.
28823
a9708fed
JM
28824 [BZ #14996]
28825 * math/s_casinh.c: Include <float.h>.
28826 (__casinh): Do not do computation with squaring and square root
28827 for large arguments.
28828 * math/s_casinhf.c: Include <float.h>.
28829 (__casinhf): Do not do computation with squaring and square root
28830 for large arguments.
28831 * math/s_casinhl.c: Include <float.h>.
28832 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
28833 (__casinhl): Do not do computation with squaring and square root
28834 for large arguments.
28835 * math/libm-test.inc (casin_test): Add more tests.
28836 (casinh_test): Likewise.
28837 * sysdeps/i386/fpu/libm-test-ulps: Update.
28838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28839
afec409a
L
288402013-01-04 H.J. Lu <hongjiu.lu@intel.com>
28841
28842 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
28843 (__x86_64_raw_data_cache_size): Likewise.
28844 (__x86_64_data_cache_size_half): Likewise.
28845 (__x86_64_raw_data_cache_size_half): Likewise.
28846 (__x86_64_shared_cache_size): Likewise.
28847 (__x86_64_raw_shared_cache_size): Likewise.
28848 (__x86_64_shared_cache_size_half): Likewise.
28849 (__x86_64_raw_shared_cache_size_half): Likewise.
28850 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
28851 to ...
28852 (__x86_data_cache_size): This.
28853 (__x86_64_raw_data_cache_size): Renamed to ...
28854 (__x86_raw_data_cache_size): This.
28855 (__x86_64_data_cache_size_half): Renamed to ...
28856 (__x86_data_cache_size_half): This.
28857 (__x86_64_raw_data_cache_size_half): Renamed to ...
28858 (__x86_raw_data_cache_size_half): This.
28859 (__x86_64_shared_cache_size): Renamed to ...
28860 (__x86_shared_cache_size): This.
28861 (__x86_64_raw_shared_cache_size): Renamed to ...
28862 (__x86_raw_shared_cache_size): This.
28863 (__x86_64_shared_cache_size_half): Renamed to ...
28864 (__x86_shared_cache_size_half): This.
28865 (__x86_64_raw_shared_cache_size_half): Renamed to ...
28866 (__x86_raw_shared_cache_size_half): This.
28867 * sysdeps/x86_64/memcpy.S: Updated.
28868 * sysdeps/x86_64/memset.S: Likewise.
28869 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28870 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28871 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28872
0b3986d0
DM
288732013-01-04 David S. Miller <davem@davemloft.net>
28874
28875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28876
e47686e9
AS
288772013-01-04 Andreas Schwab <schwab@linux-m68k.org>
28878
d643bac1
AS
28879 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
28880 1 to avoid redefinition warning.
28881 (__USE_GNU): Don't define.
28882 (init_signaling_nan): Protoize.
28883
e47686e9
AS
28884 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28885
b18decba
SP
288862013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28887
fffb407f
SP
28888 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
28889 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
28890 (__cpymn): Likewise.
28891 (norm): Remove commented code.
28892 (denorm): Likewise.
28893 (__mp_dbl): Likewise.
28894 (__inv): Likewise.
28895 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
28896 (__cpymn): Likewise.
28897 (norm): Remove commented code.
28898 (denorm): Likewise.
28899 (__mp_dbl): Likewise.
28900 (__inv): Likewise.
28901
b18decba
SP
28902 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
28903 mp_no value for 1.0 and 2.0.
28904 (norm): Use RADIXI instead of radixi.d.
28905 (denorm): Likewise.
28906 (__mul): Use 0.0 instead of zero.d.
28907 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
28908 mp_no value for 1.0 and 2.0.
28909 (norm): Use RADIXI instead of radixi.d.
28910 (denorm): Likewise.
28911 (__mul): Use 0.0 instead of zero.d.
28912
cdc1c96f
JM
289132013-01-04 Joseph Myers <joseph@codesourcery.com>
28914
28915 [BZ #14994]
28916 * math/s_casinh.c (__casinh): Reduce finite argument to first
28917 quadrant then set signs of results at the end.
28918 * math/s_casinhf.c (__casinhf): Likewise.
28919 * math/s_casinhl.c (__casinhl): Likewise.
28920 * math/libm-test.inc (casin_test): Add more tests.
28921 (casinh_test): Likewise.
28922 * sysdeps/i386/fpu/libm-test-ulps: Update.
28923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28924
302913e1
SP
289252013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28926
6420d207
SP
28927 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
28928
a9e48ab4
SP
28929 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
28930
b7837264
SP
28931 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
28932 declarations.
28933 (denorm): Likewise.
28934 (__mp_dbl): Likewise.
28935 (__inv): Likewise.
28936
f8af25d2
SP
28937 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
28938 and adjust the header comment.
28939
302913e1
SP
28940 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
28941 variable name from declaration.
28942
5d7dd1ca
L
289432013-01-03 H.J. Lu <hongjiu.lu@intel.com>
28944
28945 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28946 Initialize COMMON_CPUID_INDEX_7 element.
28947 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
28948 (CPUID_RTM): Likewise.
28949 (HAS_RTM): Likewise.
28950 (COMMON_CPUID_INDEX_7): New enum.
28951
2f5f40f4
AS
289522013-01-03 Andreas Schwab <schwab@linux-m68k.org>
28953
28954 [BZ #14981]
28955 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
28956 size is zero, record memory as freed.
28957
4056f4a0
AJ
289582013-01-03 Andreas Jaeger <aj@suse.de>
28959
28960 * po/ia.po: Add new Interlingua translation.
28961
ab15736f 289622012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
28963
28964 * locale/programs/localedef.c: Fix description of '--posix' flag.
28965
568035b7
JM
289662013-01-02 Joseph Myers <joseph@codesourcery.com>
28967
e6898b8d
JM
28968 * NEWS: Update dates in second copyright notice.
28969 * README: Update copyright dates in example.
28970 * manual/libc.texinfo: Update copyright dates.
28971 * scripts/test-installation.pl: Update copyright date in --version
28972 output.
28973
0e2f9562
JM
28974 * hurd/ctty-input.c: Fix copyright notice formatting.
28975 * hurd/ctty-output.c: Likewise.
28976 * hurd/dtable.c: Likewise.
28977 * hurd/hurd-raise.c: Likewise.
28978 * hurd/hurdprio.c: Likewise.
28979 * hurd/msgportdemux.c: Likewise.
28980 * misc/sys/file.h: Likewise.
28981 * misc/sys/ioctl.h: Likewise.
28982 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
28983 * sysdeps/mach/hurd/chdir.c: Likewise.
28984 * sysdeps/mach/hurd/fchdir.c: Likewise.
28985 * sysdeps/mach/hurd/rename.c: Likewise.
28986 * sysdeps/mach/hurd/rmdir.c: Likewise.
28987 * sysdeps/mach/hurd/seekdir.c: Likewise.
28988 * sysdeps/mach/hurd/setsid.c: Likewise.
28989 * sysdeps/posix/wait3.c: Likewise.
28990
568035b7
JM
28991 * All files with FSF copyright notices: Update copyright dates
28992 using scripts/update-copyrights.
28993 * intl/plural.c: Regenerated.
28994 * locale/programs/charmap-kw.h: Likewise.
28995 * locale/programs/locfile-kw.h: Likewise.
28996
da08f647
SP
289972013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28998
0f5477af
SP
28999 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
29000 four values.
29001
44e0d4c2
SP
29002 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
29003 calculation loop and add branch prediction.
29004
4d55b4e5
SP
29005 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
29006 check access beyond bounds of m1np.
29007
da08f647
SP
29008 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29009 MPTWO.
29010 (__inv): Remove local variable MPTWO to use the global
29011 constant.
29012 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
29013 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29014 variable MPTWO.
29015 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
29016 MP3HALFS static const.
29017
8e051029
DM
290182013-01-01 David S. Miller <davem@davemloft.net>
29019
29020 * po/ca.po: Update from translation team.
29021
f4cf5f2d
JM
290222013-01-01 Joseph Myers <joseph@codesourcery.com>
29023
29024 * scripts/update-copyrights: New file.
29025 * Makeconfig: Reformat copyright notice.
29026 * ctype/ctype.h: Likewise.
29027 * debug/swprintf_chk.c: Likewise.
29028 * elf/dl-cache.c: Likewise.
29029 * elf/dl-debug.c: Likewise.
29030 * elf/dl-object.c: Likewise.
29031 * grp/initgroups.c: Likewise.
29032 * hurd/Makefile: Likewise.
29033 * hurd/hurd/signal.h: Likewise.
29034 * hurd/hurdfault.c: Likewise.
29035 * hurd/hurdioctl.c: Likewise.
29036 * hurd/hurdlookup.c: Likewise.
29037 * hurd/intr-msg.c: Likewise.
29038 * iconv/gconv_open.c: Likewise.
29039 * libio/swprintf.c: Likewise.
29040 * locale/lc-ctype.c: Likewise.
29041 * locale/nl_langinfo.c: Likewise.
29042 * mach/Machrules: Likewise.
29043 * mach/Makefile: Likewise.
29044 * malloc/obstack.h: Likewise.
29045 * manual/Makefile: Likewise.
29046 * manual/tsort.awk: Likewise.
29047 * misc/bits/stab.def: Likewise.
29048 * nis/nis_print_group_entry.c: Likewise.
29049 * nis/nis_table.c: Likewise.
29050 * nis/nss_compat/compat-pwd.c: Likewise.
29051 * nis/nss_compat/compat-spwd.c: Likewise.
29052 * po/Makefile: Likewise.
29053 * posix/fnmatch.c: Likewise.
29054 * posix/regex.h: Likewise.
29055 * resolv/Makefile: Likewise.
29056 * resolv/nss_dns/dns-network.c: Likewise.
29057 * resolv/res_hconf.c: Likewise.
29058 * scripts/gen-sorted.awk: Likewise.
29059 * soft-fp/soft-fp.h: Likewise.
29060 * stdio-common/printf.h: Likewise.
29061 * stdlib/monetary.h: Likewise.
29062 * stdlib/random.c: Likewise.
29063 * stdlib/random_r.c: Likewise.
29064 * sysdeps/generic/Makefile: Likewise.
29065 * sysdeps/gnu/Makefile: Likewise.
29066 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29067 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29068 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29069 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29070 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29071 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29072 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29073 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29074 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29075 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29076 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29077 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29078 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29079 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29080 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
29081 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29082 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29083 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29084 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29085 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29086 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29087 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29088 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29089 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29090 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
29091 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29092 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29093 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
29094 * sysdeps/mach/hurd/errnos.awk: Likewise.
29095 * sysdeps/mach/hurd/fork.c: Likewise.
29096 * sysdeps/mach/hurd/getcwd.c: Likewise.
29097 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
29098 * sysdeps/mach/hurd/mmap.c: Likewise.
29099 * sysdeps/mach/hurd/utimes.c: Likewise.
29100 * sysdeps/mach/hurd/xmknod.c: Likewise.
29101 * sysdeps/posix/profil.c: Likewise.
29102 * sysdeps/posix/readdir_r.c: Likewise.
29103 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29104 * sysdeps/powerpc/bits/setjmp.h: Likewise.
29105 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
29106 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29107 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29108 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29109 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29110 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29111 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29112 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29113 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29114 * sysdeps/pthread/lio_listio.c: Likewise.
29115 * sysdeps/sparc/dl-procinfo.h: Likewise.
29116 * sysdeps/unix/i386/sysdep.S: Likewise.
29117 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
29118 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
29119 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
29120 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
29121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29122 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
29123 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
29124 * sysdeps/unix/sysv/linux/speed.c: Likewise.
29125 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29126 * sysdeps/wordsize-32/divdi3.c: Likewise.
29127 * time/sys/time.h: Likewise.
29128 * wcsmbs/Makefile: Likewise.
29129
0549fbba
DM
291302013-01-01 David S. Miller <davem@davemloft.net>
29131
a141f1a7
DM
29132 * po/fr.po: Update from translation team.
29133
0549fbba
DM
29134 * catgets/gencat.c: Update copyright year.
29135 * csu/version.c: Likewise.
29136 * debug/catchsegv.sh: Likewise.
29137 * debug/pcprofiledump.c: Likewise.
29138 * debug/xtrace.sh: Likewise.
29139 * elf/ldconfig.c: Likewise.
29140 * elf/ldd.bash.in: Likewise.
29141 * elf/pldd.c: Likewise.
29142 * elf/sotruss.ksh: Likewise.
29143 * elf/sprof.c: Likewise.
29144 * iconv/iconv_prog.c: Likewise.
29145 * iconv/iconvconfig.c: Likewise.
29146 * locale/programs/locale.c: Likewise.
29147 * locale/programs/localedef.c: Likewise.
29148 * login/programs/pt_chown.c: Likewise.
29149 * malloc/memusage.sh: Likewise.
29150 * malloc/memusagestat.c: Likewise.
29151 * malloc/mtrace.pl: Likewise.
29152 * nscd/nscd.c: Likewise.
29153 * nss/getent.c: Likewise.
29154 * nss/makedb.c: Likewise.
29155 * posix/getconf.c: Likewise.
29156
18ea052c
SP
291572012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
29158
29159 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
29160 numbers.
29161
9c89fca6
MF
291622012-12-30 Mike Frysinger <vapier@gentoo.org>
29163
29164 * math/bits/mathcalls.h (modf): Use __nonnull.
29165
085ec079
SP
291662012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29167
29168 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
29169 (split): Use macro CN instead of the bare value.
29170 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
29171 could be used.
29172 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
29173 instead of the bare value.
29174 (power1): Likewise.
29175
6d9f97e1
SP
291762012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29177
d63f73be
SP
29178 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
29179 __ATAN_TWOM.
29180 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29181
6d9f97e1
SP
29182 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
29183 their values.
29184 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29185 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29186 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
29187 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29188
4c4febf5
AJ
291892012-12-28 Andreas Jaeger <aj@suse.de>
29190
af5843ef
AJ
29191 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
29192 values are from Linux 3.7.
29193
4c4febf5
AJ
29194 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
29195 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
29196
99136f82
SP
291972012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29198
2f216c3c 29199 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
29200 TRUE case.
29201
99136f82
SP
29202 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
29203 (norm): Likewise.
29204 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
29205 variables with preprocessor constants.
29206 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29207 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29208 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29209
7fffbdff
BH
292102012-12-27 Bruno Haible <bruno@clisp.org>
29211
29212 [BZ #14317]
29213 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
29214 only if needed.
29215
b76eb5f0
SP
292162012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29217
31a7fe5c
SP
29218 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
29219 and use variable directly.
29220 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
29221
b76eb5f0
SP
29222 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29223 MPONE.
29224 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
29225 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29226 variable MPONE.
29227 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29228 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29229 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
29230 include directive. Remove local variable MPONE.
29231 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
29232 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
29233 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29234
2c8bfe7d
DM
292352012-12-25 David S. Miller <davem@davemloft.net>
29236
29237 * version.h (RELEASE): Set to "development".
29238 (VERSION): Set to "2.17.90".
29239 * NEWS: Add 2.18 section.
29240
147d03b0
DM
292412012-12-21 David S. Miller <davem@davemloft.net>
29242
29243 * po/hr.po: Update from translation team.
29244
a8ebb2b9
AK
292452012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29246
29247 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
29248
95b4f1b6
SE
292492012-12-19 Steve Ellcey <sellcey@mips.com>
29250
b2d94007 29251 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 29252
cedb2a90
MS
292532012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29254
29255 * manual/contrib.texi (Contributors): Spelling correction.
29256
bbf527d6
DM
292572012-12-15 David S. Miller <davem@davemloft.net>
29258
29259 * po/ru.po: Update from translation team.
29260
bc38c906
DM
292612012-12-13 David S. Miller <davem@davemloft.net>
29262
85429b1a
DM
29263 * NEWS: Mention IFUNC testsuite enhancements.
29264
d283e353
DM
29265 * po/pl.po: Update from translation team.
29266 * po/bg.po: Likewise.
29267
bc38c906
DM
29268 * manual/contrib.texi (Contributors): Update entries for Hongjiu
29269 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
29270
a181b0d7
DM
292712012-12-11 David S. Miller <davem@davemloft.net>
29272
4641d57e
DM
29273 * po/sv.po: Update from translation team.
29274
f7bc6495
DM
29275 * po/vi.po: Update from translation team.
29276
6fc9048f
DM
29277 * po/cs.po: Update from translation team.
29278
a181b0d7
DM
29279 * po/de.po: Update from translation team.
29280 * po/eo.po: Likewise.
29281 * po/nl.po: Likewise.
29282
f70bfe80
SP
292832012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29284
3c8b4190
SP
29285 [BZ #14246]
29286 * manual/argp.texi (Argp Helper Functions): Move node to follow
29287 Argp Parsing State.
29288
f70bfe80
SP
29289 [BZ #14872]
29290 * manual/conf.texi (Limits on File System Capacity): Mention if
29291 terminating null is included in the max size.
29292
188f0adf
AJ
292932012-12-10 Andreas Jaeger <aj@suse.de>
29294
29295 * po/cs.po: Update from translation team.
29296
56e7d3ad
SP
292972012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29298
29299 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
29300 void pointer and cast to uintptr_t.
29301 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
29302 path.
29303 * sysdeps/s390/s390-64/memcpy.S: Likewise.
29304 * sysdeps/s390/s390-64/memset.S: Likewise.
29305
76f2d2ea 293062012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
29307
29308 [BZ #14833]
29309 * menual/message.texi (Message Translation): Fix typos.
29310 (Helper programs for gettext): Likewise.
29311
67cbf9a2
AS
293122012-12-07 Andreas Schwab <schwab@linux-m68k.org>
29313
29314 [BZ #14898]
29315 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
29316 Change to -1.
29317
682d0e9a
DM
293182012-12-07 David S. Miller <davem@davemloft.net>
29319
29320 * po/libc.pot: Update.
29321
573cd484
RH
293222012-12-07 Richard Henderson <rth@redhat.com>
29323
7e9da188 29324 [BZ #10114]
573cd484
RH
29325 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
29326 normal/normal case to before the switch.
29327 (_FP_DIV): Likewise.
29328
e933a943
MF
293292012-12-06 Carlos O'Donell <carlos@systemhalted.org>
29330 Mike Frysinger <vapier@gentoo.org>
29331
29332 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
29333 check for __NR_fadvise64_64.
29334
82123268
CM
293352012-12-06 Chris Metcalf <cmetcalf@tilera.com>
29336
29337 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
29338 0, not just to plain "0" as a statement.
29339 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
29340 with cw.
29341
d9814526
JM
293422012-12-06 Joseph Myers <joseph@codesourcery.com>
29343
29344 * NEWS: Use sourceware.org in Bugzilla URL.
29345
7728c574
SP
293462012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29347
f16946dd
SP
29348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29349 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29350
5704bbcb
SP
29351 * stdio-common/tst-put-error.c (do_test): Add newline to the
29352 padded test to ensure flush.
29353
17aa0516
JL
293542012-12-05 Jeff Law <law@redhat.com>
29355
29356 * sunrpc/etc.rpc (fedfs_admin): Add entry.
29357
363313b5
JM
293582012-12-05 Joseph Myers <joseph@codesourcery.com>
29359
effbd42a
JM
29360 * README: Don't refer to ports add-on as distributed separately.
29361 Mention AArch64 in list of systems supported in the ports add-on.
29362
87600365
JM
29363 * LICENSES: Add more non-FSF copyright and license notices.
29364
a0d7066a
JM
29365 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
29366 ((unused)).
29367
66ca5a5b
JM
29368 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
29369
363313b5
JM
29370 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
29371 10000 as width of padded output.
29372
b37984ad
JM
293732012-12-04 Joseph Myers <joseph@codesourcery.com>
29374
9003570a
JM
29375 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
29376
b37984ad
JM
29377 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
29378 variable LX with __attribute__ ((unused)).
29379 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29380 Likewise.
29381 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29382 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29383 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
29384 with __attribute__ ((unused)).
29385
c8df52ec
DM
293862012-12-04 David S. Miller <davem@abraco.davemloft.net>
29387
29388 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
29389
b3b099af
JM
293902012-12-04 Joseph Myers <joseph@codesourcery.com>
29391
c33aa6e3
JM
29392 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
29393 (CFLAGS-nldbl-acos.c): New variable.
29394 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
29395 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
29396 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
29397 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
29398 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
29399 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
29400 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
29401 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
29402 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
29403 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
29404 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
29405 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
29406 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
29407 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
29408 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
29409 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
29410 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
29411 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
29412 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
29413 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
29414 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
29415 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
29416 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
29417 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
29418 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
29419 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
29420 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
29421 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
29422 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
29423 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
29424 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
29425 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
29426 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
29427 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
29428 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
29429 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
29430 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
29431 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
29432 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
29433 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
29434 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
29435 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
29436 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
29437 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
29438 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
29439 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
29440 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
29441 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
29442 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
29443 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
29444 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
29445 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
29446 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
29447 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
29448 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
29449 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
29450 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
29451 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
29452 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
29453 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
29454 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
29455 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
29456 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
29457 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
29458 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
29459 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
29460 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
29461 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
29462 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
29463 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
29464 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
29465 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
29466 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
29467 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
29468 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
29469 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
29470 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
29471 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
29472 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
29473 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
29474 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
29475 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
29476 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
29477 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
29478 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
29479 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
29480 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
29481 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
29482 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
29483 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
29484 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
29485 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
29486 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
29487 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
29488 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
29489 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
29490 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
29491
20f0018d
JM
29492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29493 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29494
b3b099af
JM
29495 [BZ #14914]
29496 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
29497 whole low double instead of just low 47 bits when splitting values
29498 into two parts.
29499
029264d1
AM
295002012-12-03 Allan McRae <allan@archlinux.org>
29501
29502 * manual/stdio.texi (Predefined Printf Handlers): Remove
29503 @hsep and @vsep usage.
29504
c9d6789e
MF
295052012-12-03 Mike Frysinger <vapier@gentoo.org>
29506
29507 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
29508 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
29509
4b7634a5
JL
295102012-12-03 Jeff Law <law@redhat.com>
29511
29512 * time/sys/time.h (settimeofday): Do not mark TV argument
29513 as __nonnull.
29514
eb6cbd24
MF
295152012-12-01 Mike Frysinger <vapier@gentoo.org>
29516
29517 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
29518 when currently writing and seek to current position when not.
29519 * libio/Makefile (tests): Remove bug-fclose1.
29520 * libio/bug-fclose1.c: Delete.
29521
f638872a
JM
295222012-12-01 Joseph Myers <joseph@codesourcery.com>
29523
29524 * manual/arith.texi (feenableexcept): Fix typo.
29525 (fedisableexcept): Likewise.
29526
48085d14
RM
295272012-11-30 Roland McGrath <roland@hack.frob.com>
29528
29529 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
29530 second, differently-typed declaration, rather than a cast.
29531
1a538b9f
SP
295322012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29533
29534 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
29535 * include/rpc/svc.h: ... here.
29536
d07f2ff1 295372012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
29538
29539 [BZ #13013]
29540 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
29541 depending n and resplen2 to catch cases where answer
29542 equals answerp2.
29543
c93ec1f0
CD
295442012-11-29 Carlos O'Donell <carlos@systemhalted.org>
29545
29546 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
29547 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
29548
37db69de
MF
295492012-11-29 Mike Frysinger <vapier@gentoo.org>
29550
29551 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
29552
e10c4e4f
RM
295532012-11-29 Roland McGrath <roland@hack.frob.com>
29554
29555 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
29556
2af1b328
JL
295572012-11-28 Jeff Law <law@redhat.com>
29558
29559 [BZ #13761]
29560 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
29561 dataset_temporary. Track alloca usage into alloca_used.
29562 If dataset is large allocate and release it via malloc/free.
29563
111db5b1
FW
295642012-06-04 Florian Weimer <fweimer@redhat.com>
29565
f06cc227 29566 [BZ #14197]
111db5b1
FW
29567 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
29568
dd694abd
DM
295692012-11-28 David S. Miller <davem@davemloft.net>
29570
29571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29572
9984dd01
JM
295732012-11-28 Joseph Myers <joseph@codesourcery.com>
29574
29575 [BZ #14803]
29576 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
29577 of pi/2 rounded to nearest to 64 bits.
29578 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
29579 nearest to 64 bits.
29580 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
29581 bits.
29582
14bc93a9
JL
295832012-11-28 Jeff Law <law@redhat.com>
29584 Martin Osvald <mosvald@redhat.com>
29585
29586 [BZ #14889]
29587 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
29588 * sunrpc/svc.c: Include time.h.
29589 (__svc_accept_failed): New function.
29590 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
29591 any reason other than EINTR, call __svc_accept_failed.
29592 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
29593 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
29594
e3c6aa3a
AS
295952012-11-28 Andreas Schwab <schwab@suse.de>
29596
29597 * scripts/abilist.awk: Also handle indirect functions in .opd
29598 section.
29599
1bead169
JM
296002012-11-28 Joseph Myers <joseph@codesourcery.com>
29601
29602 [BZ #13881]
29603 * sysdeps/x86/fpu/powl_helper.c: New file.
29604 * sysdeps/x86/fpu/Makefile: Likewise.
29605 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
29606 (p3): New object.
29607 (__ieee754_powl): Use __powl_helper for finite arguments except
29608 integer exponents below 8.
29609 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
29610 (p3): New object.
29611 (__ieee754_powl): Use __powl_helper for finite arguments except
29612 integer exponents below 8.
29613 * math/libm-test.inc (pow_test): Add more tests and enable some
29614 previously disabled tests.
29615 * sysdeps/i386/fpu/libm-test-ulps: Update.
29616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29617
0817d63d
SP
296182012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29619 Carlos O'Donell <carlos_odonell@mentor.com>
29620
29621 * nss/makedb.c (is_prime): Assert that input is odd and greater
29622 than 4. Note that fact in a comment too.
29623 (next_prime): Add 4 to input.
29624
de2fd463
SP
296252012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29626
29627 [BZ #11741]
29628 * libio/Makefile (tests): Add test case tst-fwrite-error.
29629 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
29630 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
29631 * libio/tst-fwrite-error.c: New test case.
29632
c515fb51
L
296332012-11-26 H.J. Lu <hongjiu.lu@intel.com>
29634
29635 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
29636 before casting to void *.
29637 * include/libc-internal.h (__pointer_type): New macro.
29638 (__integer_if_pointer_type_sub): Likewise.
29639 (__integer_if_pointer_type): Likewise.
29640 (cast_to_integer): Likewise.
29641 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
29642 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
29643 before casting to atomic64_t.
29644 (atomic_exchange_acq): Likewise.
29645 (__arch_exchange_and_add_body): Likewise.
29646 (__arch_add_body): Likewise.
29647 (atomic_add_negative): Likewise.
29648 (atomic_add_zero): Likewise.
29649
4cf77aa9
JM
296502012-11-26 Joseph Myers <joseph@codesourcery.com>
29651
29652 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
29653 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
29654 (add_fdes): Likewise.
29655 (linear_search_fdes): Likewise.
29656 (binary_search_unencoded_fdes): Likewise.
29657
d260b3b4
AS
296582012-11-26 Andreas Schwab <schwab@linux-m68k.org>
29659
29660 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
29661
67060746
AC
296622012-11-24 Adam Conrad <adconrad@0c3.net>
29663
29664 * configure.in: Autodetect C++ header directories.
29665 * configure: Regenerated.
29666
800938a1
MF
296672012-11-23 Mike Frysinger <vapier@gentoo.org>
29668
29669 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
29670
4e6e34e6
AS
296712012-11-23 Andreas Schwab <schwab@linux-m68k.org>
29672
29673 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29674
7c7feb47
JM
296752012-11-22 Joseph Myers <joseph@codesourcery.com>
29676
7184dcdf
JM
29677 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
29678 LDBL_MANT_DIG == 106]: Disable some tests.
29679 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29680 Likewise.
29681 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29682 Likewise.
29683
0a42601f
JM
29684 [BZ #14871]
29685 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
29686 input for small inputs. Return +/- pi/2 for large inputs.
29687 * math/libm-test.inc (atan_test): Add more tests.
29688
79c9b9fe
JM
29689 * sysdeps/generic/unwind-dw2-fde-glibc.c
29690 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
29691 __attribute__ ((unused)).
29692
c60d3bf2
JM
29693 [BZ #14645]
29694 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
29695 x * y if x and y are nonzero and z is zero.
29696
ef1e0867
JM
29697 [BZ #14811]
29698 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
29699 nonzero exponents with absolute value below 0x1p-117 to +/-
29700 0x1p-117.
29701
1468ded3
JM
29702 [BZ #14869]
29703 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
29704 up arguments below 2**-450, not just those below 2**-500.
29705 * math/libm-test.inc (hypot_test): Add another test.
29706
8e27e3cc
JM
29707 [BZ #14868]
29708 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29709 Return a+b for ratio over 2**120, not 2**60.
29710 * math/libm-test.inc (hypot_test): Add another test.
29711
c9c0279b
JM
29712 * math/libm-test.inc (clog_test): Use
29713 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29714 (clog10_test): Likewise.
29715
7c7feb47
JM
29716 [BZ #6778]
29717 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29718
fff1530e
AS
297192012-11-22 Andreas Schwab <schwab@suse.de>
29720
29721 * sysdeps/i386/fpu/libm-test-ulps: Update.
29722
94558d30
PT
297232012-11-22 Pino Toscano <toscano.pino@tiscali.it>
29724
29725 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29726 printf output with newline.
29727
7e1be741
L
297282012-11-21 H.J. Lu <hongjiu.lu@intel.com>
29729
6bfea974
L
29730 [BZ #14865]
29731 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29732 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29733 -z nodlopen, -z initfirst and -z execstack support.
29734 * configure: Regenerated.
29735
7e1be741
L
29736 * elf/elf.h (DF_1_NODIRECT): New macro.
29737 (DF_1_IGNMULDEF): Likewise.
29738 (DF_1_NOKSYMS): Likewise.
29739 (DF_1_NOHDR): Likewise.
29740 (DF_1_EDITED): Likewise.
29741 (DF_1_NORELOC): Likewise.
29742 (DF_1_SYMINTPOSE): Likewise.
29743 (DF_1_GLOBAUDIT): Likewise.
29744 (DF_1_SINGLETON): Likewise.
29745 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29746 DT_1_SUPPORTED_MASK bits.
29747 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29748
105ce2ce
CD
297492012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
29750
29751 * sysdeps/unix/make-syscalls.sh: Document prefixes.
29752
123be9de
TS
297532012-11-20 Thomas Schwinge <thomas@codesourcery.com>
29754
d072f3f7
TS
29755 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29756 macro.
29757
123be9de
TS
29758 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29759 (sendmmsg): Move declarations...
29760 * socket/sys/socket.h: ... here.
29761 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29762 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29763 include it from...
29764 * socket/recvmmsg.c: ... this new file.
29765 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29766 (sendmmsg): Rename to __sendmmsg, create weak alias and make
29767 definition of __sendmmsg hidden.
29768 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29769 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29770 Move ENOSYS stub into and include it from...
29771 * socket/sendmmsg.c: ... this new file.
29772 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29773 (sysdep_routines): Move recvmmsg and sendmmsg...
29774 * socket/Makefile (routines): ... here.
29775 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29776 (GLIBC_PRIVATE): Add __sendmmsg.
29777 * include/sys/socket.h (__sendmmsg): Add declarations.
29778 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29779 sendmmsg.
29780
cf9a5d18
JM
297812012-11-20 Joseph Myers <joseph@codesourcery.com>
29782
29783 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29784 variable I1 with __attribute__ ((unused)).
29785 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29786
ecd4caf9
JM
297872012-11-19 Joseph Myers <joseph@codesourcery.com>
29788
be14d48f
JM
29789 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29790 DUMMY variables with __attribute__ ((unused)).
29791
ecd4caf9
JM
29792 * bits/byteswap.h: Include <bits/types.h>.
29793 (__bswap_64): Use __uint64_t instead of unsigned long long int.
29794
986cab95
PT
297952012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29796
29797 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29798 string_t. Do not manually set errno.
29799 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29800 length with __strnlen. Make sure to both set errno and return it on
29801 failure.
29802
6d33cc9d
DM
298032012-11-19 David S. Miller <davem@davemloft.net>
29804
29805 With help from Joseph Myers.
29806 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
29807 very large arguments properly.
29808 * math/libm-test.inc (atan_test): New tests.
29809 (atan2_test): New tests.
29810 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29811 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29812
ee663277
JM
298132012-11-19 Joseph Myers <joseph@codesourcery.com>
29814
877f2d8e
JM
29815 [BZ #14856]
29816 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
29817 Define to 3.
29818
116fc08a
JM
29819 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
29820 [POSIX] (EADDRNOTAVAIL): Likewise.
29821 [POSIX] (EAFNOSUPPORT): Likewise.
29822 [POSIX] (EALREADY): Likewise.
29823 [POSIX] (ECONNABORTED): Likewise.
29824 [POSIX] (ECONNREFUSED): Likewise.
29825 [POSIX] (ECONNRESET): Likewise.
29826 [POSIX] (EDESTADDRREQ): Likewise.
29827 [POSIX] (EDQUOT): Likewise.
29828 [POSIX] (EHOSTUNREACH): Likewise.
29829 [POSIX] (EIDRM): Likewise.
29830 [POSIX] (EISCONN): Likewise.
29831 [POSIX] (ELOOP): Likewise.
29832 [POSIX] (EMULTIHOP): Likewise.
29833 [POSIX] (ENETDOWN): Likewise.
29834 [POSIX] (ENETUNREACH): Likewise.
29835 [POSIX] (ENOBUFS): Likewise.
29836 [POSIX] (ENODATA): Likewise.
29837 [POSIX] (ENOLINK): Likewise.
29838 [POSIX] (ENOMSG): Likewise.
29839 [POSIX] (ENOPROTOOPT): Likewise.
29840 [POSIX] (ENOSR): Likewise.
29841 [POSIX] (ENOSTR): Likewise.
29842 [POSIX] (ENOTCONN): Likewise.
29843 [POSIX] (ENOTSOCK): Likewise.
29844 [POSIX] (EOPNOTSUPP): Likewise.
29845 [POSIX] (EOVERFLOW): Likewise.
29846 [POSIX] (EPROTO): Likewise.
29847 [POSIX] (EPROTONOSUPPORT): Likewise.
29848 [POSIX] (EPROTOTYPE): Likewise.
29849 [POSIX] (ESTALE): Likewise.
29850 [POSIX] (ETIME): Likewise.
29851 [POSIX] (ETXTBSY): Likewise.
29852 [POSIX] (EWOULDBLOCK): Likewise.
29853 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
29854 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
29855 [POSIX] (SEEK_CUR): Likewise.
29856 [POSIX] (SEEK_END): Likewise.
29857 [POSIX || UNIX98] (mode_t): Do not require.
29858 [POSIX] (off_t): Likewise.
29859 [POSIX] (pid_t): Likewise.
29860 [POSIX] (sys/stat.h): Do not allow header.
29861 [POSIX] (unistd.h): Likewise.
29862 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
29863 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
29864 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
29865 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
29866 require.
29867 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
29868 sigevent): Specify elements.
29869 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
29870 entry.
29871 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
29872 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
29873
a483863f
JM
29874 * conform/data/cpio.h-data [POSIX]: Disable whole file.
29875 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
29876 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
29877 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
29878 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
29879 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
29880 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
29881 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
29882 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
29883 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
29884 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
29885 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
29886 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
29887 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
29888 Likewise.
29889 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
29890 Likewise.
29891 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
29892 Likewise.
29893 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
29894 Likewise.
29895 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
29896 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
29897 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
29898 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
29899 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
29900 Specify lower bound on value.
29901 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
29902 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
29903 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
29904 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
29905 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
29906 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
29907 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
29908 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
29909 value.
29910 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
29911 as optional.
29912 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
29913 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
29914 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
29915 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
29916 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
29917 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
29918 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
29919 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
29920 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
29921 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
29922 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
29923 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
29924 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
29925 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
29926 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
29927 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
29928 entry.
29929 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
29930 optional.
29931 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
29932 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
29933 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
29934 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
29935 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
29936 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
29937 Likewise.
29938 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
29939 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
29940 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
29941 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
29942 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
29943 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
29944 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
29945 as optional.
29946 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
29947 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
29948 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
29949 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
29950 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
29951 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
29952 specify as optional.
29953 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
29954 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
29955 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
29956 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
29957 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
29958 [XPG3] (NL_LANGMAX): Likewise.
29959 [POSIX || XPG3] (NL_MSGMAX): Likewise.
29960 [POSIX || XPG3] (NL_NMAX): Likewise.
29961 [POSIX || XPG3] (NL_SETMAX): Likewise.
29962 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
29963 [XPG3] (NZERO): Likewise.
29964 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
29965 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
29966 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
29967 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
29968 (REG_ERANGE): Expect.
29969 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
29970 optional-constant.
29971 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
29972 Use (void) in prototype.
29973 [POSIX] (*_t): Allow.
29974 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
29975 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
29976 (WRDE_BADVAL): Expect.
29977
5ba924e3
JM
29978 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
29979 expect.
29980 [XPG3 || XPG4] (O_RSYNC): Likewise.
29981 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
29982 Likewise.
29983 [XPG3 || XPG4] (pthread_sigmask): Likewise.
29984 [XPG3 || XPG4] (sigqueue): Likewise.
29985 [XPG3 || XPG4] (sigtimedwait): Likewise.
29986 [XPG3 || XPG4] (sigwaitinfo): Likewise.
29987 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
29988 [XPG3 || XPG4] (vsnprintf): Likewise.
29989 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
29990 Likewise.
29991 [XPG3 || XPG4] (blksize_t): Likewise.
29992 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
29993 Likewise.
29994 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
29995 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
29996 [XPG3 || XPG4] (struct itimerspec): Likewise.
29997 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
29998 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
29999 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
30000 [XPG3 || XPG4] (clockid_t): Likewise.
30001 [XPG3 || XPG4] (timer_t): Likewise.
30002 [XPG3 || XPG4] (clock_getres): Likewise.
30003 [XPG3 || XPG4] (clock_gettime): Likewise.
30004 [XPG3 || XPG4] (clock_settime): Likewise.
30005 [XPG3 || XPG4] (nanosleep): Likewise.
30006 [XPG3 || XPG4] (timer_create): Likewise.
30007 [XPG3 || XPG4] (timer_delete): Likewise.
30008 [XPG3 || XPG4] (timer_gettime): Likewise.
30009 [XPG3 || XPG4] (timer_getoverrun): Likewise.
30010 [XPG3 || XPG4] (timer_settime): Likewise.
30011 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
30012 [XPG3 || XPG4] (getlogin_r): Likewise.
30013 [XPG3 || XPG4] (pread): Likewise.
30014 [XPG3 || XPG4] (pthread_atfork): Likewise.
30015 [XPG3 || XPG4] (pwrite): Likewise.
30016
ee663277
JM
30017 [BZ #14835]
30018 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
30019 <bits/siginfo.h>.
30020
942caa16
PT
300212012-11-19 Pino Toscano <toscano.pino@tiscali.it>
30022
e19af380
PT
30023 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
30024 finalizing MALLSTREAM.
30025
942caa16
PT
30026 * sysdeps/mach/hurd/syncfs.c: New file.
30027
cfde9b46
SP
300282012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30029
30030 [BZ #14719]
30031 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
30032 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
30033 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
30034 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
30035 (_nss_dns_gethostbyname4_r): Likewise.
30036 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
30037 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
30038
f6da27e5
PH
300392012-11-19 Peng Haitao <penght@cn.fujitsu.com>
30040
30041 [BZ #13763]
30042 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
30043
6665d4a2
SM
300442012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
30045
1f51ee92
SM
30046 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
30047 * elf/cache.c (print_entry): Print ",AArch64" for
30048 FLAG_AARCH64_LIB64
30049
6665d4a2
SM
30050 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
30051 * elf/cache.c (print_entry): Print ",hard-float" for
30052 FLAG_ARM_LIBHF.
30053
05b227bd
DM
300542012-11-18 David S. Miller <davem@davemloft.net>
30055
30056 With help from Joseph Myers.
30057 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
30058 cutoff to 2**-13.
30059 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
30060 cutoff to 2**-25.
30061 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
30062 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
30063 small.
30064 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
30065 * math/libm-test.inc (y0_test): New tests.
30066 (y1_test): New tests.
30067 * sysdeps/i386/fpu/libm-test-ulps: Update.
30068 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30069 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30070
786b0b67
AS
300712012-11-18 Andreas Schwab <schwab@linux-m68k.org>
30072
30073 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
30074 64-bit targets.
30075 * configure: Regenerated.
30076
8e18b86d
DM
300772012-11-17 David S. Miller <davem@davemloft.net>
30078
30079 [BZ #14811]
30080 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
30081 nonzero exponents with absolute value below 0x1p-128 to +/-
30082 0x1p-128.
30083
531f1ae0
JM
300842012-11-17 Joseph Myers <joseph@codesourcery.com>
30085
12df29e2
JM
30086 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
30087
150dc1a0
JM
30088 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
30089
531f1ae0
JM
30090 * posix/getconf-speclist.c: New file.
30091 * posix/posix-envs.def: Likewise.
30092 * posix/confstr.c (START_ENV_GROUP): New macro.
30093 (END_ENV_GROUP): Likewise.
30094 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30095 (KNOWN_PRESENT_ENV_STRING): Likewise.
30096 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30097 (UNKNOWN_ENVIRONMENT): Likewise.
30098 (confstr): Include posix-envs.def instead of handling
30099 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
30100 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
30101 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
30102 (END_ENV_GROUP): Likewise.
30103 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30104 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30105 (UNKNOWN_ENVIRONMENT): Likewise.
30106 (__sysconf): Include posix-envs.def instead of handling associated
30107 cases directly here.
30108 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
30109 preprocessing getconf-speclist.c rather than running getconf or
30110 generating empty file.
30111
a93f9cbc
PT
301122012-11-16 Pino Toscano <toscano.pino@tiscali.it>
30113
30114 * scripts/check-local-headers.sh: Ignore 'mach' headers.
30115
d64d9f87
AL
301162012-11-16 Andrej Lajovic <natrij@gmail.com>
30117
30118 [BZ #14672]
30119 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
30120
447885eb
DM
301212012-11-16 David S. Miller <davem@davemloft.net>
30122
30123 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
30124 smaller than LDBL_EPSILON/2.0L, just return xm1.
30125
bcbf9830
L
301262012-11-16 H.J. Lu <hongjiu.lu@intel.com>
30127
30128 * elf/tst-array1.c (init): Set constructor priority to 1000.
30129 (fini): Set destructor priority to 1000.
30130 * elf/tst-array2dep.c: Likewise.
30131
2b766585
SP
301322012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30133
30134 [BZ #11741]
30135 * libio/fileops.c (_IO_new_file_write): Correctly return error.
30136 (_IO_new_file_xsputn): Also return EOF if none of the input
30137 data was written when overflow failed.
30138 * libio/iopadn.c (_IO_padn): Likewise.
30139 * libio/iowpadn.c (_IO_wpadn): Likewise.
30140 * stdio-common/tst-put-error.c: Add copyright notice.
30141 (do_test): Add case for printing padded string.
30142 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
30143 _IO_padn returned error.
30144 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
30145 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
30146 return EOF.
30147
b1848fde
SP
301482012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30149
30150 * libio/libioP.h: Add comment note that the references to C++
30151 bits are now obsolete.
30152
2fd89785
MS
301532012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30154
30155 * math/libm-test.inc (check_complex): Use asprintf.
30156
e3ea5409
JM
301572012-11-14 Joseph Myers <joseph@codesourcery.com>
30158
30159 * debug/pcprofiledump.c (print_version): Update copyright year.
30160 * malloc/memusagestat.c (print_version): Likewise.
30161
2e64d265
L
301622012-11-14 H.J. Lu <hongjiu.lu@intel.com>
30163
30164 [BZ #14831]
30165 * elf/Makefile (tests): Add tst-audit8.
30166 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
30167 ($(objpfx)tst-audit8.out): New target.
30168 (tst-audit8-ENV): New variable.
30169 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
30170 audit if l_reloc_result is NULL.
30171 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
30172 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
30173 * elf/tst-audit8.c: New file.
30174
c485e4d2
MS
301752012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30176
30177 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
30178 * misc/Makefile (CFLAGS-select.c): Define.
30179 * posix/Makefile (CFLAGS-pause.c): Define.
30180
3a0d900a
DM
301812012-11-13 David S. Miller <davem@davemloft.net>
30182
30183 * crypt/Makefile: Move test targets after toplevel Rules
30184 inclusion. Grab any necessary sysdep routines when linking.
30185 * crypt/md5.c (md5_process_block): Remove define, we will always
30186 name it __md5_process_block.
30187 (md5_finish_ctx): Update md5_process_block call.
30188 (md5_stream): Likewise.
30189 (md5_process_bytes): Likewise.
30190 (md5_process_block): Rename to __md5_process_block and move to ...
30191 * crypt/md5-block.c: ... here.
30192 * crypt/sha256.c (sha256_process_block): Move to ...
30193 * crypt/sha256-block.c: ... here.
30194 * crypt/sha512.c (sha512_process_block): Move to ...
30195 * crypt/sha512-block.c: ... here.
30196 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
30197 path.
30198 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
30199 * sysdeps/sparc/sparc64/multiarch/Makefile
30200 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
30201 crypt subdir.
30202 (localedef-aux): Add md5 crypto assembler when in locale subdir.
30203 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
30204 multiarch changes.
30205 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
30206 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
30207 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
30208 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
30209 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
30210 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
30211 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
30212 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
30213 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
30214 file.
30215 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
30216 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
30217 file.
30218 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
30219
8ca89318
JM
302202012-11-13 Joseph Myers <joseph@codesourcery.com>
30221
e27d476a
JM
30222 * timezone/tzselect.ksh: Update from tzcode git revision
30223 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
30224 * timezone/zdump.c: Likewise.
30225 * timezone/zic.c: Likewise.
30226 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
30227 in TZVERSION setting, not $(PKGVERSION).
30228 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
30229 REPORT_BUGS_TO settings.
30230
8ca89318
JM
30231 [BZ #14838]
30232 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
30233 macro.
30234
47594329
MS
302352012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30236
30237 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
30238 detection to immediately after _FP_ROUND().
30239 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
30240 bits are 0.
30241
640ac3f1
DM
302422012-11-11 David S. Miller <davem@davemloft.net>
30243
30244 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
30245 inttypes.h
30246 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
30247 __close rather than their public counterparts.
30248
3d2577bb
JM
302492012-11-10 Joseph Myers <joseph@codesourcery.com>
30250
30251 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
30252 file.
30253 [UNIX98] (sem_timedwait): Do not expect.
30254 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
30255 [XPG4 || UNIX98] (sockatmark): Do not expect.
30256 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
30257 (clock_getcpuclockid): Do not expect.
30258 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
30259 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
30260 Do not expect.
30261 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
30262 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
30263 [UNIX98] (vwscanf): Likewise.
30264 [UNIX98] (vswscanf): Likewise.
30265
fb1ae1ee
JM
302662012-11-09 Joseph Myers <joseph@codesourcery.com>
30267
9ec6f8bd
JM
30268 * timezone/version.h: Remove file.
30269 * timezone/README: Do not refer to version.h.
30270 * timezone/Makefile ($(objpfx)zic.o): New dependency on
30271 $(objpfx)version.h.
30272 ($(objpfx)zdump.o): Likewise.
c3f81911 30273 ($(objpfx)version.h): New target.
9ec6f8bd 30274
0aa8f8a1
JM
30275 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
30276 2012i.
30277 * timezone/README: Don't mention modification to tzselect.ksh.
30278 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
30279 work on unmodified tzselect.ksh. Substitute version numbers in
30280 tzselect.ksh.
30281
4e87147f
JM
30282 * Makefile (format-me): Remove.
30283 (INSTALL): Adjust indentation. Use commands directly instead of
30284 using $(format-me).
30285
8b748aed
JM
30286 * aclocal.m4 (ACX_PKGVERSION): New macro.
30287 (ACX_BUGURL): Likewise.
30288 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
30289 (PKGVERSION): New AC_DEFINE_UNQUOTED.
30290 (REPORT_BUGS_TO): Likewise.
30291 * configure: Regenerated.
30292 * config.h.in (PKGVERSION): New macro.
30293 (REPORT_BUGS_TO): Likewise.
30294 * config.make.in (PKGVERSION): New variable.
30295 (PKGVERSION_TEXI): Likewise.
30296 (REPORT_BUGS_TO): Likewise.
30297 (REPORT_BUGS_TEXI): Likewise.
30298 * Makefile (format-me): Use -I$(common-objpfx)manual.
30299 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
30300 ($(common-objpfx)manual/%): New target.
30301 (manual/%): Remove target.
30302 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
30303 (print_version): Use PKGVERSION.
30304 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
30305 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
30306 and REPORT_BUGS_TO.
30307 ($(objpfx)xtrace): Likewise.
30308 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
30309 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
30310 (print_version): Use PKGVERSION.
30311 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
30312 (do_version): Use PKGVERSION.
30313 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
30314 REPORT_BUGS_TO.
30315 (common-ldd-rewrite): Likewise.
30316 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
30317 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
30318 (print_version): Use PKGVERSION.
30319 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
30320 * elf/pldd.c (argp_program_bug_address): Remove variable.
30321 (more_help): New function.
30322 (argp): Use more_help.
30323 (print_version): Use PKGVERSION.
30324 * elf/sln.c (main): Use PKGVERSION.
30325 (usage): Use REPORT_BUGS_TO.
30326 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
30327 (top level): Use PKGVERSION.
30328 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
30329 (print_version): Use PKGVERSION.
30330 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
30331 (print_version): Use PKGVERSION.
30332 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
30333 (print_version): Use PKGVERSION.
30334 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
30335 (print_version): Use PKGVERSION.
30336 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
30337 (print_version): Use PKGVERSION.
30338 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
30339 (print_version): Use PKGVERSION.
30340 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
30341 and BUGURL.
30342 ($(objpfx)memusage): Likewise.
30343 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
30344 (do_version): Use PKGVERSION.
30345 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
30346 (print_version): Use PKGVERSION.
30347 * malloc/mtrace.pl ($PACKAGE): Remove variable.
30348 ($PKGVERSION): New variable.
30349 ($REPORT_BUGS_TO): Likewise.
30350 (usage): Use $REPORT_BUGS_TO.
30351 (top level): Use $PKGVERSION.
30352 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
30353 ($(objpfx)pkgvers.texi): New rule.
30354 ($(objpfx)stamp-pkgvers): Likewise.
30355 * manual/install.texi: Include pkgvers.texi.
30356 (--with-pkgversion): Document new configure option.
30357 (--with-bugurl): Likewise.
30358 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
30359 than necessarily for this particular distribution. Use
30360 REPORT_BUGS_TO for where to report bugs.
30361 * INSTALL: Regenerated.
30362 * manual/libc.texinfo: Include pkgvers.texi.
30363 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
30364 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
30365 (print_version): Use PKGVERSION.
30366 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
30367 (print_version): Use PKGVERSION.
30368 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
30369 (print_version): Use PKGVERSION.
30370 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
30371 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
30372 macro.
30373 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
30374 (print_version): Use PKGVERSION.
30375 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
30376 (print_version): Use PKGVERSION.
30377 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
30378 and PKGVERSION.
30379
92e4b6a9
JM
30380 * timezone/checktab.awk: Update from tzcode 2012i.
30381 * timezone/ialloc.c: Likewise.
30382 * timezone/private.h: Likewise.
30383 * timezone/scheck.c: Likewise.
30384 * timezone/tzfile.h: Likewise.
30385 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
30386 (TZVERSION): Hardcode tzcode version number.
30387 * timezone/zdump.c: Update from tzcode 2012i.
30388 * timezone/zic.c: Likewise.
30389 * timezone/version.h: New file.
30390 * timezone/README: Describe version.h. Update upstream location.
30391
9bde902c
JM
30392 [BZ #14824]
30393 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
30394 (mktemp): Enable declaration.
30395 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
30396 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
30397 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
30398 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
30399 Likewise.
30400 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
30401 Likewise.
30402 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
30403 Likewise.
30404 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
30405 Likewise.
30406 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
30407 Likewise.
30408 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
30409 Likewise.
30410
fb1ae1ee
JM
30411 [BZ #14821]
30412 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
30413 offset in buffer as u_int32_t not u_long. Consistently use memcpy
30414 for copies of such integer values.
30415 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30416 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30417
2c1adbcb
AJ
304182012-11-09 Andreas Jaeger <aj@suse.de>
30419
30420 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
30421 definitions and declarations that are provided by
30422 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30423
d0f8457e
AK
304242012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30425
3a235abb 30426 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
30427 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
30428 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
30429 definition.
30430
57241e26
MS
304312012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30432
30433 * elf/elf.h: Update comment before AArch64 relocations.
30434
60e8270d
DM
304352012-11-07 David S. Miller <davem@davemloft.net>
30436
30437 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
30438 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30439 (__start_context): Declare.
30440 (__makecontext_ret): Delete.
30441 (__makecontext): Hook up __start_context instead of
30442 __makecontext_ret.
30443 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
30444 (sysdep_routines): Add __start_context when in stdlib.
30445
0fbb0fbc
JM
304462012-11-07 Joseph Myers <joseph@codesourcery.com>
30447
30448 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
30449 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
30450 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
30451 hardcoded "nm".
30452 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
30453 (READELF): New variable. Use it instead of hardcoded "readelf".
30454
eb48db7e
L
304552012-11-07 H.J. Lu <hongjiu.lu@intel.com>
30456
30457 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
30458 * sysdeps/x86/Makefile: Here.
30459 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
30460 * sysdeps/x86/tst-xmmymm.sh: This.
30461
05bcf62a
JM
304622012-11-07 Joseph Myers <joseph@codesourcery.com>
30463
c4b6cf53
JM
30464 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
30465 expectations.
30466 [UNIX98] (pthread_barrier_t): Do not expect.
30467 [UNIX98] (pthread_barrierattr_t): Likewise.
30468 [UNIX98] (pthread_spinlock_t): Likewise.
30469 [UNIX98] (pthread_barrier_destroy): Likewise.
30470 [UNIX98] (pthread_barrier_init): Likewise.
30471 [UNIX98] (pthread_barrier_wait): Likewise.
30472 [UNIX98] (pthread_barrierattr_destroy): Likewise.
30473 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
30474 [UNIX98] (pthread_barrierattr_init): Likewise.
30475 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
30476 [UNIX98] (pthread_getcpuclockid): Likewise.
30477 [UNIX98] (pthread_mutex_timedlock): Likewise.
30478 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
30479 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
30480 [UNIX98] (pthread_sigmask): Likewise.
30481 [UNIX98] (pthread_spin_destroy): Likewise.
30482 [UNIX98] (pthread_spin_init): Likewise.
30483 [UNIX98] (pthread_spin_lock): Likewise.
30484 [UNIX98] (pthread_spin_trylock): Likewise.
30485 [UNIX98] (pthread_spin_unlock): Likewise.
30486 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
30487 Do not expect.
30488 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
30489 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
30490 [XPG3 || XPG4] (pthread_cond_t): Likewise.
30491 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
30492 [XPG3 || XPG4] (pthread_key_t): Likewise.
30493 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
30494 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
30495 [XPG3 || XPG4] (pthread_once_t): Likewise.
30496 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
30497 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
30498 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
30499 [XPG3 || XPG4] (pthread_t): Likewise.
30500
cbe6e120
JM
30501 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
30502 not expect.
30503 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
30504
1b126443
JM
30505 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
30506 Change function return type to int.
30507
b961a573
JM
30508 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
30509 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
30510 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
30511 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
30512 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
30513 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
30514 [!POSIX] (posix_madvise): Likewise.
30515 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
30516 && !UNIX98].
30517 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
30518 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
30519 (mode_t): Likewise.
30520 (posix_mem_offset): Likewise.
30521 (posix_typed_mem_get_info): Likewise.
30522 (posix_typed_mem_open): Likewise.
30523
9e188909
JM
30524 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
30525 Change condition to [XOPEN2K8].
30526
05bcf62a
JM
30527 * conform/conformtest.pl: Preprocess allow-header data with -x c
30528 instead of from stdin.
30529 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
30530 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
30531 [C99-based standards] (cerfc): Likewise.
30532 [C99-based standards] (cexp2): Likewise.
30533 [C99-based standards] (cexpm1): Likewise.
30534 [C99-based standards] (clog10): Likewise.
30535 [C99-based standards] (clog1p): Likewise.
30536 [C99-based standards] (clog2): Likewise.
30537 [C99-based standards] (clgamma): Likewise.
30538 [C99-based standards] (ctgamma): Likewise.
30539 [C99-based standards] (cerff): Likewise.
30540 [C99-based standards] (cerfcf): Likewise.
30541 [C99-based standards] (cexp2f): Likewise.
30542 [C99-based standards] (cexpm1f): Likewise.
30543 [C99-based standards] (clog10f): Likewise.
30544 [C99-based standards] (clog1pf): Likewise.
30545 [C99-based standards] (clog2f): Likewise.
30546 [C99-based standards] (clgammaf): Likewise.
30547 [C99-based standards] (ctgammaf): Likewise.
30548 [C99-based standards] (cerfl): Likewise.
30549 [C99-based standards] (cerfcl): Likewise.
30550 [C99-based standards] (cexp2l): Likewise.
30551 [C99-based standards] (cexpm1l): Likewise.
30552 [C99-based standards] (clog10l): Likewise.
30553 [C99-based standards] (clog1pl): Likewise.
30554 [C99-based standards] (clog2l): Likewise.
30555 [C99-based standards] (clgammal): Likewise.
30556 [C99-based standards] (ctgammal): Likewise.
30557 * conform/data/inttypes.h-data [C99-based standards]: Include
30558 stdint.h-data. Remove all expectations for stdint.h contents.
30559 [C99-based standards] (PRI*): Do not allow.
30560 [C99-based standards] (SCN*): Likewise.
30561 [C99-based standards] (*_t): Likewise.
30562 [C99-based-standards] (PRId8): Expect macro.
30563 [C99-based-standards] (PRIi8): Likewise.
30564 [C99-based-standards] (PRIo8): Likewise.
30565 [C99-based-standards] (PRIu8): Likewise.
30566 [C99-based-standards] (PRIx8): Likewise.
30567 [C99-based-standards] (PRIX8): Likewise.
30568 [C99-based-standards] (SCNd8): Likewise.
30569 [C99-based-standards] (SCNi8): Likewise.
30570 [C99-based-standards] (SCNo8): Likewise.
30571 [C99-based-standards] (SCNu8): Likewise.
30572 [C99-based-standards] (SCNx8): Likewise.
30573 [C99-based-standards] (PRIdLEAST8): Likewise.
30574 [C99-based-standards] (PRIiLEAST8): Likewise.
30575 [C99-based-standards] (PRIoLEAST8): Likewise.
30576 [C99-based-standards] (PRIuLEAST8): Likewise.
30577 [C99-based-standards] (PRIxLEAST8): Likewise.
30578 [C99-based-standards] (PRIXLEAST8): Likewise.
30579 [C99-based-standards] (SCNdLEAST8): Likewise.
30580 [C99-based-standards] (SCNiLEAST8): Likewise.
30581 [C99-based-standards] (SCNoLEAST8): Likewise.
30582 [C99-based-standards] (SCNuLEAST8): Likewise.
30583 [C99-based-standards] (SCNxLEAST8): Likewise.
30584 [C99-based-standards] (PRIdFAST8): Likewise.
30585 [C99-based-standards] (PRIiFAST8): Likewise.
30586 [C99-based-standards] (PRIoFAST8): Likewise.
30587 [C99-based-standards] (PRIuFAST8): Likewise.
30588 [C99-based-standards] (PRIxFAST8): Likewise.
30589 [C99-based-standards] (PRIXFAST8): Likewise.
30590 [C99-based-standards] (SCNdFAST8): Likewise.
30591 [C99-based-standards] (SCNiFAST8): Likewise.
30592 [C99-based-standards] (SCNoFAST8): Likewise.
30593 [C99-based-standards] (SCNuFAST8): Likewise.
30594 [C99-based-standards] (SCNxFAST8): Likewise.
30595 [C99-based-standards] (PRId16): Likewise.
30596 [C99-based-standards] (PRIi16): Likewise.
30597 [C99-based-standards] (PRIo16): Likewise.
30598 [C99-based-standards] (PRIu16): Likewise.
30599 [C99-based-standards] (PRIx16): Likewise.
30600 [C99-based-standards] (PRIX16): Likewise.
30601 [C99-based-standards] (SCNd16): Likewise.
30602 [C99-based-standards] (SCNi16): Likewise.
30603 [C99-based-standards] (SCNo16): Likewise.
30604 [C99-based-standards] (SCNu16): Likewise.
30605 [C99-based-standards] (SCNx16): Likewise.
30606 [C99-based-standards] (PRIdLEAST16): Likewise.
30607 [C99-based-standards] (PRIiLEAST16): Likewise.
30608 [C99-based-standards] (PRIoLEAST16): Likewise.
30609 [C99-based-standards] (PRIuLEAST16): Likewise.
30610 [C99-based-standards] (PRIxLEAST16): Likewise.
30611 [C99-based-standards] (PRIXLEAST16): Likewise.
30612 [C99-based-standards] (SCNdLEAST16): Likewise.
30613 [C99-based-standards] (SCNiLEAST16): Likewise.
30614 [C99-based-standards] (SCNoLEAST16): Likewise.
30615 [C99-based-standards] (SCNuLEAST16): Likewise.
30616 [C99-based-standards] (SCNxLEAST16): Likewise.
30617 [C99-based-standards] (PRIdFAST16): Likewise.
30618 [C99-based-standards] (PRIiFAST16): Likewise.
30619 [C99-based-standards] (PRIoFAST16): Likewise.
30620 [C99-based-standards] (PRIuFAST16): Likewise.
30621 [C99-based-standards] (PRIxFAST16): Likewise.
30622 [C99-based-standards] (PRIXFAST16): Likewise.
30623 [C99-based-standards] (SCNdFAST16): Likewise.
30624 [C99-based-standards] (SCNiFAST16): Likewise.
30625 [C99-based-standards] (SCNoFAST16): Likewise.
30626 [C99-based-standards] (SCNuFAST16): Likewise.
30627 [C99-based-standards] (SCNxFAST16): Likewise.
30628 [C99-based-standards] (PRId32): Likewise.
30629 [C99-based-standards] (PRIi32): Likewise.
30630 [C99-based-standards] (PRIo32): Likewise.
30631 [C99-based-standards] (PRIu32): Likewise.
30632 [C99-based-standards] (PRIx32): Likewise.
30633 [C99-based-standards] (PRIX32): Likewise.
30634 [C99-based-standards] (SCNd32): Likewise.
30635 [C99-based-standards] (SCNi32): Likewise.
30636 [C99-based-standards] (SCNo32): Likewise.
30637 [C99-based-standards] (SCNu32): Likewise.
30638 [C99-based-standards] (SCNx32): Likewise.
30639 [C99-based-standards] (PRIdLEAST32): Likewise.
30640 [C99-based-standards] (PRIiLEAST32): Likewise.
30641 [C99-based-standards] (PRIoLEAST32): Likewise.
30642 [C99-based-standards] (PRIuLEAST32): Likewise.
30643 [C99-based-standards] (PRIxLEAST32): Likewise.
30644 [C99-based-standards] (PRIXLEAST32): Likewise.
30645 [C99-based-standards] (SCNdLEAST32): Likewise.
30646 [C99-based-standards] (SCNiLEAST32): Likewise.
30647 [C99-based-standards] (SCNoLEAST32): Likewise.
30648 [C99-based-standards] (SCNuLEAST32): Likewise.
30649 [C99-based-standards] (SCNxLEAST32): Likewise.
30650 [C99-based-standards] (PRIdFAST32): Likewise.
30651 [C99-based-standards] (PRIiFAST32): Likewise.
30652 [C99-based-standards] (PRIoFAST32): Likewise.
30653 [C99-based-standards] (PRIuFAST32): Likewise.
30654 [C99-based-standards] (PRIxFAST32): Likewise.
30655 [C99-based-standards] (PRIXFAST32): Likewise.
30656 [C99-based-standards] (SCNdFAST32): Likewise.
30657 [C99-based-standards] (SCNiFAST32): Likewise.
30658 [C99-based-standards] (SCNoFAST32): Likewise.
30659 [C99-based-standards] (SCNuFAST32): Likewise.
30660 [C99-based-standards] (SCNxFAST32): Likewise.
30661 [C99-based-standards] (PRId64): Likewise.
30662 [C99-based-standards] (PRIi64): Likewise.
30663 [C99-based-standards] (PRIo64): Likewise.
30664 [C99-based-standards] (PRIu64): Likewise.
30665 [C99-based-standards] (PRIx64): Likewise.
30666 [C99-based-standards] (PRIX64): Likewise.
30667 [C99-based-standards] (SCNd64): Likewise.
30668 [C99-based-standards] (SCNi64): Likewise.
30669 [C99-based-standards] (SCNo64): Likewise.
30670 [C99-based-standards] (SCNu64): Likewise.
30671 [C99-based-standards] (SCNx64): Likewise.
30672 [C99-based-standards] (PRIdLEAST64): Likewise.
30673 [C99-based-standards] (PRIiLEAST64): Likewise.
30674 [C99-based-standards] (PRIoLEAST64): Likewise.
30675 [C99-based-standards] (PRIuLEAST64): Likewise.
30676 [C99-based-standards] (PRIxLEAST64): Likewise.
30677 [C99-based-standards] (PRIXLEAST64): Likewise.
30678 [C99-based-standards] (SCNdLEAST64): Likewise.
30679 [C99-based-standards] (SCNiLEAST64): Likewise.
30680 [C99-based-standards] (SCNoLEAST64): Likewise.
30681 [C99-based-standards] (SCNuLEAST64): Likewise.
30682 [C99-based-standards] (SCNxLEAST64): Likewise.
30683 [C99-based-standards] (PRIdFAST64): Likewise.
30684 [C99-based-standards] (PRIiFAST64): Likewise.
30685 [C99-based-standards] (PRIoFAST64): Likewise.
30686 [C99-based-standards] (PRIuFAST64): Likewise.
30687 [C99-based-standards] (PRIxFAST64): Likewise.
30688 [C99-based-standards] (PRIXFAST64): Likewise.
30689 [C99-based-standards] (SCNdFAST64): Likewise.
30690 [C99-based-standards] (SCNiFAST64): Likewise.
30691 [C99-based-standards] (SCNoFAST64): Likewise.
30692 [C99-based-standards] (SCNuFAST64): Likewise.
30693 [C99-based-standards] (SCNxFAST64): Likewise.
30694 [C99-based-standards] (PRIdMAX): Likewise.
30695 [C99-based-standards] (PRIiMAX): Likewise.
30696 [C99-based-standards] (PRIoMAX): Likewise.
30697 [C99-based-standards] (PRIuMAX): Likewise.
30698 [C99-based-standards] (PRIxMAX): Likewise.
30699 [C99-based-standards] (PRIXMAX): Likewise.
30700 [C99-based-standards] (SCNdMAX): Likewise.
30701 [C99-based-standards] (SCNiMAX): Likewise.
30702 [C99-based-standards] (SCNoMAX): Likewise.
30703 [C99-based-standards] (SCNuMAX): Likewise.
30704 [C99-based-standards] (SCNxMAX): Likewise.
30705 [C99-based-standards] (PRIdPTR): Likewise.
30706 [C99-based-standards] (PRIiPTR): Likewise.
30707 [C99-based-standards] (PRIoPTR): Likewise.
30708 [C99-based-standards] (PRIuPTR): Likewise.
30709 [C99-based-standards] (PRIxPTR): Likewise.
30710 [C99-based-standards] (PRIXPTR): Likewise.
30711 [C99-based-standards] (SCNdPTR): Likewise.
30712 [C99-based-standards] (SCNiPTR): Likewise.
30713 [C99-based-standards] (SCNoPTR): Likewise.
30714 [C99-based-standards] (SCNuPTR): Likewise.
30715 [C99-based-standards] (SCNxPTR): Likewise.
30716 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30717 allow.
30718 * conform/data/stdint.h-data: Update comments to clarify
30719 requirements.
30720 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
30721 type.
30722 [C99-based standards] (INT8_MAX): Likewise.
30723 [C99-based standards] (INT16_MIN): Likewise.
30724 [C99-based standards] (INT16_MAX): Likewise.
30725 [C99-based standards] (INT32_MIN): Likewise.
30726 [C99-based standards] (INT32_MAX): Likewise.
30727 [C99-based standards] (INT64_MIN): Likewise.
30728 [C99-based standards] (INT64_MAX): Likewise.
30729 [C99-based standards] (UINT8_MAX): Likewise.
30730 [C99-based standards] (UINT16_MAX): Likewise.
30731 [C99-based standards] (UINT32_MAX): Likewise.
30732 [C99-based standards] (UINT64_MAX): Likewise.
30733 [C99-based standards] (INT_LEAST8_MIN): Likewise.
30734 [C99-based standards] (INT_LEAST8_MAX): Likewise.
30735 [C99-based standards] (INT_LEAST16_MIN): Likewise.
30736 [C99-based standards] (INT_LEAST16_MAX): Likewise.
30737 [C99-based standards] (INT_LEAST32_MIN): Likewise.
30738 [C99-based standards] (INT_LEAST32_MAX): Likewise.
30739 [C99-based standards] (INT_LEAST64_MIN): Likewise.
30740 [C99-based standards] (INT_LEAST64_MAX): Likewise.
30741 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30742 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30743 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30744 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30745 [C99-based standards] (INT_FAST8_MIN): Likewise.
30746 [C99-based standards] (INT_FAST8_MAX): Likewise.
30747 [C99-based standards] (INT_FAST16_MIN): Likewise.
30748 [C99-based standards] (INT_FAST16_MAX): Likewise.
30749 [C99-based standards] (INT_FAST32_MIN): Likewise.
30750 [C99-based standards] (INT_FAST32_MAX): Likewise.
30751 [C99-based standards] (INT_FAST64_MIN): Likewise.
30752 [C99-based standards] (INT_FAST64_MAX): Likewise.
30753 [C99-based standards] (UINT_FAST8_MAX): Likewise.
30754 [C99-based standards] (UINT_FAST16_MAX): Likewise.
30755 [C99-based standards] (UINT_FAST32_MAX): Likewise.
30756 [C99-based standards] (UINT_FAST64_MAX): Likewise.
30757 [C99-based standards] (INTPTR_MIN): Likewise.
30758 [C99-based standards] (INTPTR_MAX): Likewise.
30759 [C99-based standards] (UINTPTR_MAX): Likewise.
30760 [C99-based standards] (INTMAX_MIN): Likewise.
30761 [C99-based standards] (INTMAX_MAX): Likewise.
30762 [C99-based standards] (UINTMAX_MAX): Likewise.
30763 [C99-based standards] (PTRDIFF_MIN): Likewise.
30764 [C99-based standards] (PTRDIFF_MAX): Likewise.
30765 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30766 [C99-based standards] (SIZE_MAX): Likewise.
30767 [C99-based standards] (WCHAR_MAX): Likewise.
30768 [C99-based standards] (WINT_MAX): Likewise.
30769 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
30770 constraint on value.
30771 [C99-based standards] (WCHAR_MIN): Likewise.
30772 [C99-based standards] (WINT_MIN): Likewise.
30773 [C99-based standards] (*_t): Allow.
30774 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30775 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30776 Include math.h-data and complex.h-data. Remove all expectations
30777 of math.h and complex.h contents.
30778 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30779 at end of line.
30780 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30781 (struct tm): Expect tag.
30782 [C99-based-standards] (wcstof): Expect function.
30783 [C99-based-standards] (wcstold): Likewise.
30784 [C99-based-standards] (wcstoll): Likewise.
30785 [C99-based-standards] (wcstoull): Likewise.
30786 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30787 macro-int-constant. Specify type.
30788 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
30789 constraint on value.
30790 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30791 Specify type.
30792 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30793 Specify value.
30794 [ISO C standards]: Do not allow headers.
30795 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30796 wcs[abcdefghijklmnopqrstuvwxyz]*.
30797 [ISO C standards] (*_t): Do not allow.
30798 * conform/data/wctype.h-data [C99-based standards] (iswblank):
30799 Expect function.
30800 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30801 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30802 Specify type.
30803 [ISO C standards]: Do not allow headers.
30804 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
30805 is[abcdefghijklmnopqrstuvwxyz]*.
30806 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
30807 to[abcdefghijklmnopqrstuvwxyz]*.
30808 [ISO C standards] (*_t): Do not allow.
30809 * conform/data/stdalign.h-data: New file.
30810 * conform/data/stdbool.h-data: Likewise.
30811 * conform/data/stdnoreturn.h-data: Likewise.
30812
7514feb8
RM
308132012-11-07 Roland McGrath <roland@hack.frob.com>
30814
30815 [BZ #14815]
30816 * manual/filesys.texi (Directory Entries): Typo fix.
30817 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
30818
19b2ecfc
MS
308192012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30820
30821 * elf/elf.h (EM_AARCH64): New macro.
30822 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
30823 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
30824 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
30825 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
30826 (R_AARCH64_TLSDESC): Likewise.
30827 (NT_ARM_TLS): Likewise.
30828 (NT_ARM_HW_BREAK): Likewise.
30829 (NT_ARM_HW_WATCH): Likewise.
30830
60e235ee
JM
308312012-11-07 Joseph Myers <joseph@codesourcery.com>
30832
30833 [BZ #14811]
30834 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
30835 (__ieee754_powl): Saturate nonzero exponents with absolute value
30836 below 0x1p-79 to +/- 0x1p-79.
30837 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
30838 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
30839 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
30840 nonzero exponents with absolute value below 0x1p-32 to +/-
30841 0x1p-32.
30842 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
30843 (__ieee754_powl): Saturate nonzero exponents with absolute value
30844 below 0x1p-79 to +/- 0x1p-79.
30845 * math/libm-test.inc (pow_test): Add more tests.
30846
0ab234b7
AK
308472012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30848
30849 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
30850 _dl_s390_cap_flags with kernel. Increase string length.
30851 (_dl_s390_platforms): Add z196 and zEC12.
30852
45832f74
JM
308532012-11-07 Joseph Myers <joseph@codesourcery.com>
30854
30855 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
30856 Change XOPEN21K to XOPEN2K.
30857
19218757
MK
308582012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
30859
30860 * string/memmove.c: Use memcpy when possible.
30861
c5f45721
AJ
308622012-11-06 Andreas Jaeger <aj@suse.de>
30863
30864 * po/eo.po: Update from translation team.
30865
82477c28
JM
308662012-11-06 Joseph Myers <joseph@codesourcery.com>
30867
30868 [BZ #14793]
30869 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
30870 exponent and small x and y exponents, scale x or y up. Increase
30871 by 2 the exponent used in scaling up.
30872 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30873 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30874 * math/libm-test.inc (fma_test): Add more tests.
30875 (fma_test_towardzero): Likewise.
30876 (fma_test_downward): Likewise.
30877 (fma_test_upward): Likewise.
30878
99252c8c
JM
308792012-11-05 Joseph Myers <joseph@codesourcery.com>
30880
acfa885f
JM
30881 [BZ #14805]
30882 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
30883 fenv_t *.
30884
99252c8c
JM
30885 [BZ #14801]
30886 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
30887 namespace for names of struct fields.
30888 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
30889 fenv_t fields.
30890 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30891 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
30892
d6d98dea
ST
308932012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
30894
30895 [BZ #3665]
30896 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
30897
e10bb107
TS
308982012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30899
30900 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
30901 PTR_DEMANGLE.
30902
30903 [BZ #5246]
30904 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
30905 PTR_DEMANGLE.
30906
a0c2940d
JM
309072012-11-04 Joseph Myers <joseph@codesourcery.com>
30908
30909 [BZ #14797]
30910 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
30911 definitely overflow as x * y not x * y + z.
30912 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30913 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30914 * math/libm-test.inc (fma_test): Add more tests.
30915 (fma_test_towardzero): Likewise.
30916 (fma_test_downward): Likewise.
30917 (fma_test_upward): Likewise.
30918
b830319d
TS
309192012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30920
30921 [BZ #157]
30922
30923 * include/stub-tag.h: Remove file.
30924 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
30925 '#include' of it.
30926 * manual/maint.texi (Porting): Don't reference it.
30927 * Makerules ($(objpfx)stubs): Likewise.
30928 * dirent/closedir.c: Don't include <stub-tag.h>.
30929 * dirent/dirfd.c: Likewise.
30930 * dirent/fdopendir.c: Likewise.
30931 * dirent/getdents.c: Likewise.
30932 * dirent/getdents64.c: Likewise.
30933 * dirent/opendir.c: Likewise.
30934 * dirent/readdir.c: Likewise.
30935 * dirent/readdir64.c: Likewise.
30936 * dirent/readdir64_r.c: Likewise.
30937 * dirent/readdir_r.c: Likewise.
30938 * dirent/rewinddir.c: Likewise.
30939 * dirent/seekdir.c: Likewise.
30940 * dirent/telldir.c: Likewise.
30941 * gmon/profil.c: Likewise.
30942 * grp/setgroups.c: Likewise.
30943 * inet/if_index.c: Likewise.
30944 * io/access.c: Likewise.
30945 * io/chdir.c: Likewise.
30946 * io/chmod.c: Likewise.
30947 * io/chown.c: Likewise.
30948 * io/close.c: Likewise.
30949 * io/dup.c: Likewise.
30950 * io/dup2.c: Likewise.
30951 * io/dup3.c: Likewise.
30952 * io/euidaccess.c: Likewise.
30953 * io/faccessat.c: Likewise.
30954 * io/fchdir.c: Likewise.
30955 * io/fchmod.c: Likewise.
30956 * io/fchmodat.c: Likewise.
30957 * io/fchown.c: Likewise.
30958 * io/fchownat.c: Likewise.
30959 * io/fcntl.c: Likewise.
30960 * io/flock.c: Likewise.
30961 * io/fstatfs.c: Likewise.
30962 * io/fstatfs64.c: Likewise.
30963 * io/fstatvfs.c: Likewise.
30964 * io/fstatvfs64.c: Likewise.
30965 * io/futimens.c: Likewise.
30966 * io/fxstat.c: Likewise.
30967 * io/fxstat64.c: Likewise.
30968 * io/fxstatat.c: Likewise.
30969 * io/fxstatat64.c: Likewise.
30970 * io/getcwd.c: Likewise.
30971 * io/isatty.c: Likewise.
30972 * io/lchmod.c: Likewise.
30973 * io/lchown.c: Likewise.
30974 * io/link.c: Likewise.
30975 * io/linkat.c: Likewise.
30976 * io/lseek.c: Likewise.
30977 * io/lseek64.c: Likewise.
30978 * io/lxstat64.c: Likewise.
30979 * io/mkdir.c: Likewise.
30980 * io/mkdirat.c: Likewise.
30981 * io/mkfifo.c: Likewise.
30982 * io/mkfifoat.c: Likewise.
30983 * io/open.c: Likewise.
30984 * io/open64.c: Likewise.
30985 * io/openat.c: Likewise.
30986 * io/openat64.c: Likewise.
30987 * io/pipe.c: Likewise.
30988 * io/pipe2.c: Likewise.
30989 * io/poll.c: Likewise.
30990 * io/posix_fadvise.c: Likewise.
30991 * io/posix_fadvise64.c: Likewise.
30992 * io/posix_fallocate.c: Likewise.
30993 * io/posix_fallocate64.c: Likewise.
30994 * io/read.c: Likewise.
30995 * io/readlink.c: Likewise.
30996 * io/readlinkat.c: Likewise.
30997 * io/rmdir.c: Likewise.
30998 * io/sendfile.c: Likewise.
30999 * io/sendfile64.c: Likewise.
31000 * io/statfs.c: Likewise.
31001 * io/statfs64.c: Likewise.
31002 * io/statvfs.c: Likewise.
31003 * io/statvfs64.c: Likewise.
31004 * io/symlink.c: Likewise.
31005 * io/symlinkat.c: Likewise.
31006 * io/ttyname.c: Likewise.
31007 * io/ttyname_r.c: Likewise.
31008 * io/umask.c: Likewise.
31009 * io/unlink.c: Likewise.
31010 * io/unlinkat.c: Likewise.
31011 * io/utime.c: Likewise.
31012 * io/utimensat.c: Likewise.
31013 * io/write.c: Likewise.
31014 * io/xmknod.c: Likewise.
31015 * io/xmknodat.c: Likewise.
31016 * io/xstat.c: Likewise.
31017 * io/xstat64.c: Likewise.
31018 * login/getpt.c: Likewise.
31019 * login/grantpt.c: Likewise.
31020 * login/unlockpt.c: Likewise.
31021 * math/e_acoshl.c: Likewise.
31022 * math/e_acosl.c: Likewise.
31023 * math/e_asinl.c: Likewise.
31024 * math/e_atan2l.c: Likewise.
31025 * math/e_atanhl.c: Likewise.
31026 * math/e_coshl.c: Likewise.
31027 * math/e_expl.c: Likewise.
31028 * math/e_fmodl.c: Likewise.
31029 * math/e_gammal_r.c: Likewise.
31030 * math/e_hypotl.c: Likewise.
31031 * math/e_j0l.c: Likewise.
31032 * math/e_j1l.c: Likewise.
31033 * math/e_jnl.c: Likewise.
31034 * math/e_lgammal_r.c: Likewise.
31035 * math/e_log10l.c: Likewise.
31036 * math/e_log2l.c: Likewise.
31037 * math/e_logl.c: Likewise.
31038 * math/e_powl.c: Likewise.
31039 * math/e_rem_pio2l.c: Likewise.
31040 * math/e_sinhl.c: Likewise.
31041 * math/e_sqrtl.c: Likewise.
31042 * math/fclrexcpt.c: Likewise.
31043 * math/fedisblxcpt.c: Likewise.
31044 * math/feenablxcpt.c: Likewise.
31045 * math/fegetenv.c: Likewise.
31046 * math/fegetexcept.c: Likewise.
31047 * math/fegetround.c: Likewise.
31048 * math/feholdexcpt.c: Likewise.
31049 * math/fesetenv.c: Likewise.
31050 * math/fesetround.c: Likewise.
31051 * math/feupdateenv.c: Likewise.
31052 * math/fgetexcptflg.c: Likewise.
31053 * math/fraiseexcpt.c: Likewise.
31054 * math/fsetexcptflg.c: Likewise.
31055 * math/ftestexcept.c: Likewise.
31056 * math/k_cosl.c: Likewise.
31057 * math/k_rem_pio2l.c: Likewise.
31058 * math/k_sinl.c: Likewise.
31059 * math/k_tanl.c: Likewise.
31060 * math/s_asinhl.c: Likewise.
31061 * math/s_atanl.c: Likewise.
31062 * math/s_cbrtl.c: Likewise.
31063 * math/s_erfl.c: Likewise.
31064 * math/s_expm1l.c: Likewise.
31065 * math/s_log1pl.c: Likewise.
31066 * math/s_tanhl.c: Likewise.
31067 * misc/acct.c: Likewise.
31068 * misc/brk.c: Likewise.
31069 * misc/chflags.c: Likewise.
31070 * misc/chroot.c: Likewise.
31071 * misc/fchflags.c: Likewise.
31072 * misc/fgetxattr.c: Likewise.
31073 * misc/flistxattr.c: Likewise.
31074 * misc/fremovexattr.c: Likewise.
31075 * misc/fsetxattr.c: Likewise.
31076 * misc/fsync.c: Likewise.
31077 * misc/ftruncate.c: Likewise.
31078 * misc/futimes.c: Likewise.
31079 * misc/futimesat.c: Likewise.
31080 * misc/getdomain.c: Likewise.
31081 * misc/getdtsz.c: Likewise.
31082 * misc/gethostid.c: Likewise.
31083 * misc/gethostname.c: Likewise.
31084 * misc/getloadavg.c: Likewise.
31085 * misc/getpagesize.c: Likewise.
31086 * misc/getsysstats.c: Likewise.
31087 * misc/getxattr.c: Likewise.
31088 * misc/gtty.c: Likewise.
31089 * misc/ioctl.c: Likewise.
31090 * misc/lgetxattr.c: Likewise.
31091 * misc/listxattr.c: Likewise.
31092 * misc/llistxattr.c: Likewise.
31093 * misc/lremovexattr.c: Likewise.
31094 * misc/lsetxattr.c: Likewise.
31095 * misc/lutimes.c: Likewise.
31096 * misc/madvise.c: Likewise.
31097 * misc/mincore.c: Likewise.
31098 * misc/mlock.c: Likewise.
31099 * misc/mlockall.c: Likewise.
31100 * misc/mmap.c: Likewise.
31101 * misc/mprotect.c: Likewise.
31102 * misc/msync.c: Likewise.
31103 * misc/munlock.c: Likewise.
31104 * misc/munlockall.c: Likewise.
31105 * misc/munmap.c: Likewise.
31106 * misc/preadv.c: Likewise.
31107 * misc/preadv64.c: Likewise.
31108 * misc/ptrace.c: Likewise.
31109 * misc/pwritev.c: Likewise.
31110 * misc/pwritev64.c: Likewise.
31111 * misc/readv.c: Likewise.
31112 * misc/reboot.c: Likewise.
31113 * misc/remap_file_pages.c: Likewise.
31114 * misc/removexattr.c: Likewise.
31115 * misc/revoke.c: Likewise.
31116 * misc/select.c: Likewise.
31117 * misc/setdomain.c: Likewise.
31118 * misc/setegid.c: Likewise.
31119 * misc/seteuid.c: Likewise.
31120 * misc/sethostid.c: Likewise.
31121 * misc/sethostname.c: Likewise.
31122 * misc/setregid.c: Likewise.
31123 * misc/setreuid.c: Likewise.
31124 * misc/setxattr.c: Likewise.
31125 * misc/sstk.c: Likewise.
31126 * misc/stty.c: Likewise.
31127 * misc/swapoff.c: Likewise.
31128 * misc/swapon.c: Likewise.
31129 * misc/sync.c: Likewise.
31130 * misc/syncfs.c: Likewise.
31131 * misc/syscall.c: Likewise.
31132 * misc/truncate.c: Likewise.
31133 * misc/ualarm.c: Likewise.
31134 * misc/usleep.c: Likewise.
31135 * misc/ustat.c: Likewise.
31136 * misc/utimes.c: Likewise.
31137 * misc/vhangup.c: Likewise.
31138 * misc/writev.c: Likewise.
31139 * posix/_exit.c: Likewise.
31140 * posix/alarm.c: Likewise.
31141 * posix/execve.c: Likewise.
31142 * posix/fexecve.c: Likewise.
31143 * posix/fork.c: Likewise.
31144 * posix/fpathconf.c: Likewise.
31145 * posix/getaddrinfo.c: Likewise.
31146 * posix/getegid.c: Likewise.
31147 * posix/geteuid.c: Likewise.
31148 * posix/getgid.c: Likewise.
31149 * posix/getgroups.c: Likewise.
31150 * posix/getlogin.c: Likewise.
31151 * posix/getlogin_r.c: Likewise.
31152 * posix/getpgid.c: Likewise.
31153 * posix/getpid.c: Likewise.
31154 * posix/getppid.c: Likewise.
31155 * posix/getresgid.c: Likewise.
31156 * posix/getresuid.c: Likewise.
31157 * posix/getsid.c: Likewise.
31158 * posix/getuid.c: Likewise.
31159 * posix/glob64.c: Likewise.
31160 * posix/nanosleep.c: Likewise.
31161 * posix/pathconf.c: Likewise.
31162 * posix/pause.c: Likewise.
31163 * posix/posix_madvise.c: Likewise.
31164 * posix/pread.c: Likewise.
31165 * posix/pread64.c: Likewise.
31166 * posix/pwrite.c: Likewise.
31167 * posix/pwrite64.c: Likewise.
31168 * posix/sched_getaffinity.c: Likewise.
31169 * posix/sched_getp.c: Likewise.
31170 * posix/sched_gets.c: Likewise.
31171 * posix/sched_primax.c: Likewise.
31172 * posix/sched_primin.c: Likewise.
31173 * posix/sched_rr_gi.c: Likewise.
31174 * posix/sched_setaffinity.c: Likewise.
31175 * posix/sched_setp.c: Likewise.
31176 * posix/sched_sets.c: Likewise.
31177 * posix/sched_yield.c: Likewise.
31178 * posix/setgid.c: Likewise.
31179 * posix/setlogin.c: Likewise.
31180 * posix/setpgid.c: Likewise.
31181 * posix/setresgid.c: Likewise.
31182 * posix/setresuid.c: Likewise.
31183 * posix/setsid.c: Likewise.
31184 * posix/setuid.c: Likewise.
31185 * posix/sleep.c: Likewise.
31186 * posix/spawni.c: Likewise.
31187 * posix/sysconf.c: Likewise.
31188 * posix/times.c: Likewise.
31189 * posix/wait.c: Likewise.
31190 * posix/wait3.c: Likewise.
31191 * posix/wait4.c: Likewise.
31192 * posix/waitpid.c: Likewise.
31193 * resolv/gai_sigqueue.c: Likewise.
31194 * resource/getpriority.c: Likewise.
31195 * resource/getrlimit.c: Likewise.
31196 * resource/getrusage.c: Likewise.
31197 * resource/nice.c: Likewise.
31198 * resource/setpriority.c: Likewise.
31199 * resource/setrlimit.c: Likewise.
31200 * resource/ulimit.c: Likewise.
31201 * rt/aio_cancel.c: Likewise.
31202 * rt/aio_fsync.c: Likewise.
31203 * rt/aio_read.c: Likewise.
31204 * rt/aio_sigqueue.c: Likewise.
31205 * rt/aio_suspend.c: Likewise.
31206 * rt/aio_write.c: Likewise.
31207 * rt/clock_getres.c: Likewise.
31208 * rt/clock_gettime.c: Likewise.
31209 * rt/clock_nanosleep.c: Likewise.
31210 * rt/clock_settime.c: Likewise.
31211 * rt/lio_listio.c: Likewise.
31212 * rt/mq_close.c: Likewise.
31213 * rt/mq_getattr.c: Likewise.
31214 * rt/mq_notify.c: Likewise.
31215 * rt/mq_open.c: Likewise.
31216 * rt/mq_receive.c: Likewise.
31217 * rt/mq_send.c: Likewise.
31218 * rt/mq_setattr.c: Likewise.
31219 * rt/mq_timedreceive.c: Likewise.
31220 * rt/mq_timedsend.c: Likewise.
31221 * rt/mq_unlink.c: Likewise.
31222 * rt/shm_open.c: Likewise.
31223 * rt/shm_unlink.c: Likewise.
31224 * rt/timer_create.c: Likewise.
31225 * rt/timer_delete.c: Likewise.
31226 * rt/timer_getoverr.c: Likewise.
31227 * rt/timer_gettime.c: Likewise.
31228 * rt/timer_settime.c: Likewise.
31229 * setjmp/__longjmp.c: Likewise.
31230 * setjmp/setjmp.c: Likewise.
31231 * signal/kill.c: Likewise.
31232 * signal/killpg.c: Likewise.
31233 * signal/raise.c: Likewise.
31234 * signal/sigaction.c: Likewise.
31235 * signal/sigaltstack.c: Likewise.
31236 * signal/sigblock.c: Likewise.
31237 * signal/sigignore.c: Likewise.
31238 * signal/sigintr.c: Likewise.
31239 * signal/signal.c: Likewise.
31240 * signal/sigpause.c: Likewise.
31241 * signal/sigpending.c: Likewise.
31242 * signal/sigqueue.c: Likewise.
31243 * signal/sigreturn.c: Likewise.
31244 * signal/sigset.c: Likewise.
31245 * signal/sigsetmask.c: Likewise.
31246 * signal/sigstack.c: Likewise.
31247 * signal/sigsuspend.c: Likewise.
31248 * signal/sigtimedwait.c: Likewise.
31249 * signal/sigvec.c: Likewise.
31250 * signal/sigwait.c: Likewise.
31251 * signal/sigwaitinfo.c: Likewise.
31252 * signal/sysv_signal.c: Likewise.
31253 * socket/accept.c: Likewise.
31254 * socket/accept4.c: Likewise.
31255 * socket/bind.c: Likewise.
31256 * socket/connect.c: Likewise.
31257 * socket/getpeername.c: Likewise.
31258 * socket/getsockname.c: Likewise.
31259 * socket/getsockopt.c: Likewise.
31260 * socket/isfdtype.c: Likewise.
31261 * socket/listen.c: Likewise.
31262 * socket/recv.c: Likewise.
31263 * socket/recvfrom.c: Likewise.
31264 * socket/recvmsg.c: Likewise.
31265 * socket/send.c: Likewise.
31266 * socket/sendmsg.c: Likewise.
31267 * socket/sendto.c: Likewise.
31268 * socket/setsockopt.c: Likewise.
31269 * socket/shutdown.c: Likewise.
31270 * socket/sockatmark.c: Likewise.
31271 * socket/socket.c: Likewise.
31272 * socket/socketpair.c: Likewise.
31273 * stdio-common/ctermid.c: Likewise.
31274 * stdio-common/cuserid.c: Likewise.
31275 * stdio-common/remove.c: Likewise.
31276 * stdio-common/rename.c: Likewise.
31277 * stdio-common/renameat.c: Likewise.
31278 * stdio-common/tempname.c: Likewise.
31279 * stdlib/getcontext.c: Likewise.
31280 * stdlib/makecontext.c: Likewise.
31281 * stdlib/setcontext.c: Likewise.
31282 * stdlib/swapcontext.c: Likewise.
31283 * stdlib/system.c: Likewise.
31284 * streams/fattach.c: Likewise.
31285 * streams/fdetach.c: Likewise.
31286 * streams/getmsg.c: Likewise.
31287 * streams/getpmsg.c: Likewise.
31288 * streams/putmsg.c: Likewise.
31289 * streams/putpmsg.c: Likewise.
31290 * sysdeps/unix/bsd/getpt.c: Likewise.
31291 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
31292 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
31293 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31295 Likewise.
31296 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
31297 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31298 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
31299 * sysvipc/msgctl.c: Likewise.
31300 * sysvipc/msgget.c: Likewise.
31301 * sysvipc/msgrcv.c: Likewise.
31302 * sysvipc/msgsnd.c: Likewise.
31303 * sysvipc/semctl.c: Likewise.
31304 * sysvipc/semget.c: Likewise.
31305 * sysvipc/semop.c: Likewise.
31306 * sysvipc/semtimedop.c: Likewise.
31307 * sysvipc/shmat.c: Likewise.
31308 * sysvipc/shmctl.c: Likewise.
31309 * sysvipc/shmdt.c: Likewise.
31310 * sysvipc/shmget.c: Likewise.
31311 * termios/tcdrain.c: Likewise.
31312 * termios/tcflow.c: Likewise.
31313 * termios/tcflush.c: Likewise.
31314 * termios/tcgetattr.c: Likewise.
31315 * termios/tcgetpgrp.c: Likewise.
31316 * termios/tcsendbrk.c: Likewise.
31317 * termios/tcsetattr.c: Likewise.
31318 * termios/tcsetpgrp.c: Likewise.
31319 * time/adjtime.c: Likewise.
31320 * time/clock.c: Likewise.
31321 * time/getitimer.c: Likewise.
31322 * time/gettimeofday.c: Likewise.
31323 * time/setitimer.c: Likewise.
31324 * time/settimeofday.c: Likewise.
31325 * time/stime.c: Likewise.
31326 * time/time.c: Likewise.
31327
313282012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 31329
a20492cf
PT
31330 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
31331 /usr/old/bin.
31332
72e182e3
PT
31333 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
31334 instead of spaces.
31335 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
31336
fbeafede
JM
313372012-11-03 Joseph Myers <joseph@codesourcery.com>
31338
5b5b04d6
JM
31339 [BZ #14796]
31340 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
31341 FE_TONEAREST before applying Dekker multiplication and Knuth
31342 addition. Clear inexact exceptions and check for exact zero
31343 results afterwards.
31344 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31345 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31346 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31347 * math/libm-test.inc (fma_test): Add more tests.
31348 (fma_test_towardzero): Likewise.
31349 (fma_test_downward): Likewise.
31350 (fma_test_upward): Likewise.
31351 * sysdeps/generic/math_private.h (default_libc_fesetround): New
31352 function.
31353 (libc_fesetround): New macro.
31354 (libc_fesetroundf): Likewise.
31355 (libc_fesetroundl): Likewise.
31356 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
31357 function.
31358 (libc_fesetround_387): Likewise.
31359 (libc_fesetroundf): New macro.
31360 (libc_fesetround): Likewise.
31361 (libc_fesetroundl): Likewise.
31362 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
31363 function.
31364 (libc_fesetroundf): New macro.
31365 (libc_fesetround): Likewise.
31366 (libc_fesetroundl): Likewise.
31367 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
31368 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
31369 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
31370 libm_hidden_ver.
31371 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
31372 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
31373 libm_hidden_def.
31374 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
31375 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
31376 libm_hidden_ver.
31377 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
31378 libm_hidden_def.
31379
fbeafede
JM
31380 [BZ #3439]
31381 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
31382 integer constant usable in #if and use that to give value to enum
31383 constant.
31384 (FE_DIVBYZERO): Likewise.
31385 (FE_UNDERFLOW): Likewise.
31386 (FE_OVERFLOW): Likewise.
31387 (FE_INVALID): Likewise.
31388 (FE_INVALID_SNAN): Likewise.
31389 (FE_INVALID_ISI): Likewise.
31390 (FE_INVALID_IDI): Likewise.
31391 (FE_INVALID_ZDZ): Likewise.
31392 (FE_INVALID_IMZ): Likewise.
31393 (FE_INVALID_COMPARE): Likewise.
31394 (FE_INVALID_SOFTWARE): Likewise.
31395 (FE_INVALID_SQRT): Likewise.
31396 (FE_INVALID_INTEGER_CONVERSION): Likewise.
31397 (FE_TONEAREST): Likewise.
31398 (FE_TOWARDZERO): Likewise.
31399 (FE_UPWARD): Likewise.
31400 (FE_DOWNWARD): Likewise.
31401 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
31402 (FE_DIVBYZERO): Likewise.
31403 (FE_OVERFLOW): Likewise.
31404 (FE_UNDERFLOW): Likewise.
31405 (FE_INEXACT): Likewise.
31406 (FE_TONEAREST): Likewise.
31407 (FE_DOWNWARD): Likewise.
31408 (FE_UPWARD): Likewise.
31409 (FE_TOWARDZERO): Likewise.
31410 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
31411 (FE_UNDERFLOW): Likewise.
31412 (FE_OVERFLOW): Likewise.
31413 (FE_DIVBYZERO): Likewise.
31414 (FE_INVALID): Likewise.
31415 (FE_TONEAREST): Likewise.
31416 (FE_TOWARDZERO): Likewise.
31417 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
31418 (FE_OVERFLOW): Likewise.
31419 (FE_UNDERFLOW): Likewise.
31420 (FE_DIVBYZERO): Likewise.
31421 (FE_INEXACT): Likewise.
31422 (FE_TONEAREST): Likewise.
31423 (FE_TOWARDZERO): Likewise.
31424 (FE_UPWARD): Likewise.
31425 (FE_DOWNWARD): Likewise.
31426 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
31427 (FE_DIVBYZERO): Likewise.
31428 (FE_OVERFLOW): Likewise.
31429 (FE_UNDERFLOW): Likewise.
31430 (FE_INEXACT): Likewise.
31431 (FE_TONEAREST): Likewise.
31432 (FE_DOWNWARD): Likewise.
31433 (FE_UPWARD): Likewise.
31434 (FE_TOWARDZERO): Likewise.
31435
105ca950
CM
314362012-11-02 Chris Metcalf <cmetcalf@tilera.com>
31437
31438 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
31439
a542b389
AS
314402012-11-03 Andreas Schwab <schwab@linux-m68k.org>
31441
31442 * scripts/cross-test-ssh.sh (command): Use newlines to separate
31443 commands. Quote $PWD.
31444 (blacklist_exports): Don't use remove_newlines. Replace "declare
31445 -x" by "export".
31446 (remove_newlines): Remove.
31447
f62c8abc
L
314482012-11-02 H.J. Lu <hongjiu.lu@intel.com>
31449
31450 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
31451 * stdlib/stdlib.h (atof): Moved to ...
31452 * include/bits/stdlib-float.h: Here. New file.
31453 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
31454 * stdlib/bits/stdlib-float.h: New file.
31455 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
31456 -mno-sse -mno-mmx.
31457 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
31458 <xmmintrin.h>.
31459
0155d5b2
JM
314602012-11-02 Joseph Myers <joseph@codesourcery.com>
31461
a68d0680
JM
31462 * conform/conformtest.pl (@headers): Add fenv.h.
31463 * conform/data/fenv.h-data: New file.
31464 * include/fenv.h [_ISOMAC]: Disable all contents of file except
31465 include of <math/fenv.h>.
31466
caf7f573
JM
31467 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
31468 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
31469 && !UNIX98]. Enables tests for XOPEN2K8.
31470 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
31471 POSIX2008]: Likewise.
31472
6c073ad6
JM
31473 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
31474 (struct rusage): Do not expect type or its members.
31475
0155d5b2
JM
31476 [BZ #3439]
31477 * math/math.h (FP_NAN): Define macro to integer constant usable in
31478 #if and use that to give value to enum constant.
31479 (FP_INFINITE): Likewise.
31480 (FP_ZERO): Likewise.
31481 (FP_SUBNORMAL): Likewise.
31482 (FP_NORMAL): Likewise.
31483
b5dcacb4
AS
314842012-11-02 Andreas Schwab <schwab@linux-m68k.org>
31485
31486 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
31487 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
31488 arguments.
31489
f7934be8
RM
314902012-11-02 Roland McGrath <roland@hack.frob.com>
31491
31492 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
31493 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
31494 autoconf-time if not.
31495 * configure.in: Remove AC_PREREQ.
31496
d7d08bde
TMQMF
314972012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31498
31499 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
31500 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
31501 of the internal implementation.
31502
dcdae19a
JM
315032012-11-02 Joseph Myers <joseph@codesourcery.com>
31504
31505 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
31506 except include of <misc/sys/syslog.h>.
31507
d6cffd3e
AS
315082012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31509
31510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
31511 function returns with a NULL context exit with zero.
31512
b3563932
TMQMF
315132012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31514
31515 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
31516
b288a93d
L
315172012-11-01 H.J. Lu <hongjiu.lu@intel.com>
31518
31519 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
31520 (run_program_cmd): This.
31521 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
31522 (tst_langinfo): New variable. Use it.
31523
a2421a68
SAS
315242012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
31525
31526 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
31527 floating point opcodes.
31528
6f796e1b
TS
315292012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31530
7402596b
TS
31531 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
31532 variable.
31533
d0d4f868
TS
31534 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
31535
6f796e1b
TS
31536 * sysdeps/mach/hurd/powerpc: Remove directory.
31537 * sysdeps/mach/powerpc: Likewise.
31538
4da224a2
AS
315392012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31540
31541 * scripts/check-local-headers.sh: Ignore c++ headers.
31542
341dd673
TS
315432012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31544
31545 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
31546 __libc_cleanup_region_start argument.
31547
473611b2
JM
315482012-11-01 Joseph Myers <joseph@codesourcery.com>
31549
31550 [BZ #14784]
31551 [BZ #14785]
31552 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
31553 x * y using scaling, not as x * y + z.
31554 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31555 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31556 * math/libm-test.inc (fma_test): Add more tests.
31557 (fma_test_towardzero): Likewise.
31558 (fma_test_downward): Likewise.
31559 (fma_test_upward): Likewise.
31560
4078da3d
TS
315612012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31562
31563 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
31564
903252aa
JM
315652012-10-31 Joseph Myers <joseph@codesourcery.com>
31566
31567 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
31568 New variable.
31569
cbc818d0
TS
315702012-10-31 Thomas Schwinge <thomas@codesourcery.com>
31571
31572 * rt/tst-shm.c (worker): Correct checking for mmap failure.
31573
5a03cb1e
AS
315742012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31575
31576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31577 Fix sort order.
31578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31579 Likewise.
31580
90aff2ff
TMQMF
315812012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31582
31583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31584 Fix the order of the list for glibc 2.17.
31585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31586 Likewise.
31587
1818fcb7
AS
315882012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31589
31590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31591
ef82f4da
JM
315922012-10-31 Joseph Myers <joseph@codesourcery.com>
31593
16a0e2ec
JM
31594 [BZ #14610]
31595 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
31596 for low part of x being zero before using __atanl (y).
31597 * math/libm-test.inc (atan2_test): Add another test.
31598
0eb69512
JM
31599 * manual/install.texi (Configuring and compiling): Document
31600 general use of test-wrapper and test-wrapper-env.
31601 * INSTALL: Regenerated.
31602
ef82f4da
JM
31603 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
31604 (__fma): Do not extract and scale down low bits on after-rounding
31605 systems when result rounded to normal precision would have normal
31606 exponent.
31607 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
31608 (__fmal): Do not extract and scale down low bits on after-rounding
31609 systems when result rounded to normal precision would have normal
31610 exponent.
31611 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
31612 (__fmal): Do not extract and scale down low bits on after-rounding
31613 systems when result rounded to normal precision would have normal
31614 exponent.
31615 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
31616 macro.
31617 (fma_test): Add more tests.
31618 (fma_test_towardzero): Likewise.
31619 (fma_test_downward): Likewise.
31620 (fma_test_upward): Likewise.
31621
954ef0d9
L
316222012-10-30 H.J. Lu <hongjiu.lu@intel.com>
31623
31624 * sysdeps/i386/tininess.h: Renamed to ...
31625 * sysdeps/x86/tininess.h: This.
31626 * sysdeps/x86_64/tininess.h: Removed.
31627
df61ffb2
JM
316282012-10-30 Joseph Myers <joseph@codesourcery.com>
31629
31630 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
31631 input. Use $(build-program-cmd).
31632 ($(objpfx)tst-array1-static.out): Likewise.
31633 ($(objpfx)tst-array2.out): Likewise.
31634 ($(objpfx)tst-array3.out): Likewise.
31635 ($(objpfx)tst-array4.out): Likewise.
31636 ($(objpfx)tst-array5.out): Likewise.
31637 ($(objpfx)tst-array5-static.out): Likewise.
31638
01767843
CM
316392012-10-30 Chris Metcalf <cmetcalf@tilera.com>
31640
47cc1490
CM
31641 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
31642 if defined.
31643
01767843
CM
31644 * nss/nsswitch.h (nss_interface_function): Provide new
31645 macro for use with NSS functions.
31646 * grp/initgroups.c: Use new macro.
31647 * nss/getXXbyYY.c: Likewise.
31648 * nss/getXXbyYY_r.c: Likewise.
31649 * nss/getXXent.c: Likewise.
31650 * nss/getXXent_r.c: Likewise.
31651 * sysdeps/posix/getaddrinfo.c: Likewise.
31652
8321aa97
AJ
316532012-10-30 Andreas Jaeger <aj@suse.de>
31654
31655 * po/ru.po: Update Russion translation from translation project.
31656
2a27fd6d
JM
316572012-10-30 Joseph Myers <joseph@codesourcery.com>
31658
8627a232
JM
31659 [BZ #14152]
31660 [BZ #14783]
31661 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
31662 result and shift together with sticky bit instead of replicating
31663 round-to-nearest rounding.
31664 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31665 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31666 * math/libm-test.inc (fma_test): Add more tests. Do not permit
31667 missing underflow exceptions.
31668 (fma_test_towardzero): Add more tests.
31669 (fma_test_downward): Likewise.
31670 (fma_test_upward): Likewise.
31671
2a27fd6d
JM
31672 [BZ #14047]
31673 * sysdeps/generic/tininess.h: New file.
31674 * sysdeps/i386/tininess.h: Likewise.
31675 * sysdeps/sh/tininess.h: Likewise.
31676 * sysdeps/x86_64/tininess.h: Likewise.
31677 * stdlib/tst-strtod-underflow.c: Likewise.
31678 * stdlib/tst-tininess.c: Likewise.
31679 * stdlib/strtod_l.c: Include <tininess.h>.
31680 (round_and_return): Do not set errno for exact underflow cases.
31681 Force an underflow exception when setting errno for underflow.
31682 Determine underflow based on rounding to normal precision if
31683 TININESS_AFTER_ROUNDING.
31684 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
31685 ERANGE for exact underflow cases.
31686 * stdlib/Makefile (tests): Add tst-tininess and
31687 tst-strtod-underflow.
31688 ($(objpfx)tst-tininess): Use $(link-libm).
31689 ($(objpfx)tst-strtod-underflow): Likewise.
31690
e7170363
AJ
316912012-10-30 Andreas Jaeger <aj@suse.de>
31692
e5088dc6
AJ
31693 [BZ#14767]
31694 * elf/Makefile (tests): Remove conditional for have-initfini-array
31695 since this is now always required and the variable does not exist
31696 anymore.
31697 (tests-static): Likewise.
31698 (modules-names): Likewise.
31699
e7170363 31700 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
31701
31702 * elf/tst-array1.c (fini_array): Make writeable so that it can be
31703 merged with constructor/destructor.
31704 (init_array): Likewise.
31705 * elf/tst-array2dep.c (fini_array): Likewise.
31706 (init_array): Likewise.
31707
60457d8a
MF
317082012-10-29 Mike Frysinger <vapier@gentoo.org>
31709
31710 * manual/message.texi: Delete @cartouche tags.
31711
8bece752
PT
317122012-10-29 Pino Toscano <toscano.pino@tiscali.it>
31713
94ce799f
PT
31714 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31715 EOPNOTSUPP.
31716 * sysdeps/mach/hurd/fsync.c: Likewise.
31717
8bece752
PT
31718 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31719 [_POSIX_REALTIME_SIGNALS]: Change condition to
31720 [_POSIX_REALTIME_SIGNALS > 0].
31721
86ebe6b1
AJ
317222012-10-27 Andreas Jaeger <aj@suse.de>
31723
31724 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31725 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31726 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31727 [__WORDSIZE != 64]: Likewise.
31728
54399c08
L
317292012-10-26 H.J. Lu <hongjiu.lu@intel.com>
31730
31731 * iconvdata/tst-table.sh: Remove ${SHELL}.
31732 * iconvdata/tst-tables.sh: Likewise.
31733
e2211bed
DM
317342012-10-25 David S. Miller <davem@davemloft.net>
31735
31736 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31737 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31738 of strtoull.
31739
f303f97c
DM
31740 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31741 ifunc-impl-list.c
31742 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31743 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31744 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31745 file.
31746
1e9d84cd
RM
317472012-10-25 Roland McGrath <roland@hack.frob.com>
31748
31749 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31750 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31751 __getdirentries.
31752
df381762
JM
317532012-10-25 Joseph Myers <joseph@codesourcery.com>
31754 Jim Blandy <jimb@codesourcery.com>
31755
31756 * scripts/cross-test-ssh.sh: New file.
31757 * manual/install.texi (Configuring and compiling): Document use of
31758 cross-test-ssh.sh.
31759 * INSTALL: Regenerated.
31760
bff64913
PT
317612012-10-25 Pino Toscano <toscano.pino@tiscali.it>
31762
31763 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31764 EOPNOTSUPP.
31765
25fe8932
JM
317662012-10-25 Joseph Myers <joseph@codesourcery.com>
31767
31768 * Makeconfig (run-program-prefix): Fix comment.
31769
cc1290d0
JM
317702012-10-24 Joseph Myers <joseph@codesourcery.com>
31771 Jim Blandy <jimb@codesourcery.com>
31772
31773 * Makeconfig (test-wrapper): New variable,
31774 (test-wrapper-env): Likewise.
31775 [$(cross-compiling) = yes && $(test-wrapper) != ""]
31776 (run-built-tests): Define to yes.
31777 (run-program-prefix): Use $(test-wrapper).
31778 (built-program-cmd): Likewise.
31779 * Rules (make-test-out): Use $(test-wrapper-env) and
31780 $(host-built-program-cmd).
31781 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31782 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31783 tst-pathopt.sh.
31784 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31785 $(test-wrapper-env) to tst-rtld-load-self.sh.
31786 ($(objpfx)order2.out): Use $(test-wrapper).
31787 ($(objpfx)tst-initorder.out): Likewise.
31788 ($(objpfx)tst-initorder2.out): Likewise.
31789 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31790 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31791 (test_wrapper_env): New variable. Use it to run ld.so.
31792 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31793 Use it to run ld.so.
31794 (test_wrapper_env): Likewise.
31795 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31796 $(test-wrapper) to run-iconv-test.sh.
31797 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31798 (ICONV): Use $test_wrapper.
31799 * posix/Makefile ($(objpfx)globtest.out): Pass
31800 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31801 globtest.sh, not $(run-program-prefix).
31802 * posix/globtest.sh (run_via_rtld_prefix): New variable.
31803 (test_wrapper): Likewise.
31804 (test_wrapper_env): Likewise. Use it to run globtest with HOME
31805 set together with run_via_rtld_prefix.
31806 (run_program_prefix): Define in terms of test_wrapper and
31807 run_via_rtld_prefix.
31808
6e6249d0
RM
318092012-10-24 Roland McGrath <roland@hack.frob.com>
31810
31811 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
31812 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
31813 Targets removed.
31814
31815 [BZ #14743]
31816 * include/time.h: Remove librt_hidden_proto (clock_gettime).
31817 Declare __clock_getres, __clock_gettime, __clock_settime,
31818 __clock_nanosleep, and __clock_getcpuclockid.
31819 * rt/clock_gettime.c: Define __clock_gettime as an alias.
31820 Remove librt_hidden_def (clock_gettime).
31821 * sysdeps/unix/clock_gettime.c: Likewise.
31822 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
31823 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31824 * rt/clock_getres.c: Define __clock_getres as an alias.
31825 * sysdeps/posix/clock_getres.c: Likewise.
31826 * rt/clock_settime.c: Define __clock_settime as an alias.
31827 * sysdeps/unix/clock_settime.c: Likewise.
31828 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
31829 * sysdeps/unix/clock_nanosleep.c: Likewise.
31830 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31831 * rt/clock-compat.c: New file.
31832 * rt/Makefile (librt-routines): Add clock-compat and move
31833 $(clock-routines) to ...
31834 (routines): ... here, new variable.
31835 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
31836 Don't add get_clockfreq here.
31837 * rt/Versions (libc: GLIBC_2.17): New version set.
31838 Add clock_* symbols here.
31839 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
31840 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
31841 (GLIBC_2.17): Add clock_* symbols.
31842 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31843 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31844 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31846 Likewise.
31847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31848 Likewise.
31849 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31850 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31851 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31852 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31853 * NEWS: Mention the move.
31854
31855 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31856 Use __open, __read, __close rather than their public counterparts.
31857 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31858 (__get_clockfreq_via_cpuinfo): Likewise.
31859 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
31860 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
31861
31862 * config.h.in (HAVE_IFUNC): New #undef.
31863 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
31864 was successful.
31865 * configure: Regenerated.
31866
0cae3f4b
MF
318672012-10-24 Mike Frysinger <vapier@gentoo.org>
31868
31869 * configure.in: Move READELF check to start of file.
31870 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
31871 libc_cv_asm_gnu_indirect_function in the process.
31872 * configure: Regenerated.
31873
8175a253
MF
318742012-10-24 Mike Frysinger <vapier@gentoo.org>
31875
31876 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
31877 send the output to /dev/null.
31878 (libc_cv_cc_with_libunwind): Likewise.
31879 (libc_cv_as_noexecstack): Likewise.
31880 * configure: Regenerate.
31881
0708a7d1
JM
318822012-10-24 Joseph Myers <joseph@codesourcery.com>
31883
10b40d85
JM
31884 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
31885
0708a7d1
JM
31886 * posix/globtest.sh (TMPDIR): Do not set.
31887 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
31888 (testout): Likewise.
31889
9fddec1a
AJ
318902012-10-24 Andreas Jaeger <aj@suse.de>
31891
3a8db22f
AJ
31892 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
31893 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
31894 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
31895 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
31896 posix_fadvise64, posix_fallocate64.
31897
9fddec1a
AJ
31898 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
31899 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
31900 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
31901 Likewise.
31902 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
31903 Likewise.
31904 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
31905
31906 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
31907 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
31908 <bits/fcntl-linux.h>.
31909 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
31910
31911 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
31912 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
31913 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
31914 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
31915 [__WORDSIZE != 64]: Likewise.
31916
ebfd1bbd
JM
319172012-10-23 Joseph Myers <joseph@codesourcery.com>
31918
03ac099f
JM
31919 * Makeconfig (run-built-tests): New variable.
31920 * Rules [$(cross-compiling) = yes]: Change condition to
31921 [$(run-built-tests) = no].
31922 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
31923 to [$(run-built-tests) = yes].
31924 * elf/Makefile [$(cross-compiling) = no]: Likewise
31925 * grp/Makefile [$(cross-compiling) = no]: Likewise.
31926 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
31927 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
31928 * intl/Makefile [$(cross-compiling) = no]: Likewise.
31929 * io/Makefile [$(cross-compiling) = no]: Likewise.
31930 * libio/Makefile [$(cross-compiling) = no]: Likewise.
31931 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
31932 * misc/Makefile [$(cross-compiling) = no]: Likewise.
31933 * posix/Makefile [$(cross-compiling) = no]: Likewise.
31934 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
31935 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
31936 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
31937 * string/Makefile [$(cross-compiling) = no]: Likewise.
31938
ebfd1bbd
JM
31939 * posix/Makefile ($(objpfx)globtest.out): Pass
31940 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
31941 $(rtld-installed-name).
31942 * posix/globtest.sh (elf_objpfx): Remove variable.
31943 (rtld_installed_name): Likewise.
31944 (library_path): Likewise.
31945 (run_program_prefix): New variable. Use for running globtest
31946 binary.
31947
166bca24
JB
319482012-10-23 Jim Blandy <jimb@codesourcery.com>
31949 Joseph Myers <joseph@codesourcery.com>
31950
31951 * Makeconfig (host-built-program-cmd): New variable.
31952 * elf/Makefile (tst-stackguard1-ARGS): Use
31953 $(host-built-program-cmd).
31954 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
31955 (tst-spawn-ARGS): Likewise.
31956 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
31957
88866099
JM
319582012-10-23 Joseph Myers <joseph@codesourcery.com>
31959 Jim Blandy <jimb@codesourcery.com>
31960
31961 * Makeconfig (run-via-rtld-prefix): New variable.
31962 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
31963 (built-program-cmd): Likewise.
31964
b4b4c296
AJ
319652012-10-22 Andreas Jaeger <aj@suse.de>
31966
31967 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
31968 __O_RSYNC if it exists, otherwise to O_SYNC.
31969
6fb54a22
JB
319702012-10-22 Jim Blandy <jimb@codesourcery.com>
31971 Joseph Myers <joseph@codesourcery.com>
31972
31973 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
31974 /dev/null.
31975 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
31976 from /dev/null
31977 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
31978 /dev/null.
31979
481b90b9
AJ
319802012-10-22 Andreas Jaeger <aj@suse.de>
31981
2a0e2669
AJ
31982 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
31983 Define always.
31984 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
31985
76e38f9a
AJ
31986 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31987 bits/fcntl-linux.h.
31988
7cd37b43
AJ
31989 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
31990 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
31991
481b90b9
AJ
31992 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
31993 to __O_LARGEFILE.
31994 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
31995 to __O_LARGEFILE.
31996
aba75984
JB
319972012-10-21 Jim Blandy <jimb@codesourcery.com>
31998 Joseph Myers <joseph@codesourcery.com>
31999
32000 * config.make.in (NM): New variable.
32001
88d4247f
AJ
320022012-10-21 Andreas Jaeger <aj@suse.de>
32003
32004 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
32005 definitions and declarations that are provided by
32006 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32007
f2eed205
L
320082012-10-20 H.J. Lu <hongjiu.lu@intel.com>
32009
32010 [BZ #14683]
32011 * elf/Makefile (tests-static): Add tst-leaks1-static.
32012 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
32013 ($(objpfx)tst-leaks1-static): New rule.
32014 ($(objpfx)tst-leaks1-static-mem): Likewise.
32015 (tst-leaks1-static-ENV): New macro.
32016 * elf/dl-open.c (dl_open_worker): Check the main application
32017 only if SHARED is defined.
32018 * elf/tst-leaks1-static.c: New file.
32019
335e6931
AJ
320202012-10-20 Andreas Jaeger <aj@suse.de>
32021
32022 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
32023 generic values for Linux.
32024 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
32025 and declarations that are provided by <bits/fcntl-linux.h> and
32026 include <bits/fcntl-linux.h>.
32027 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32028 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32029
ac5c94d3
RM
320302012-10-20 Roland McGrath <roland@hack.frob.com>
32031
32032 * io/fcntl.h: Move include of <bits/types.h> to the top and
32033 include it unconditionally.
32034
de54b33a
L
320352012-10-20 H.J. Lu <hongjiu.lu@intel.com>
32036
228cfb01
L
32037 * wcsmbs/Makefile (tests-ifunc): New variable.
32038 (tests): Add $(tests-ifunc).
32039 * wcsmbs/test-wcschr-ifunc.c: New file.
32040 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
32041 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
32042 * wcsmbs/test-wcslen-ifunc.c: Likewise.
32043 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
32044 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
32045
69f07e5f
L
32046 * string/Makefile (tests-ifunc): New variable.
32047 (tests): Add $(tests-ifunc).
32048 * string/test-memccpy.c (TEST_NAME): New macro.
32049 * string/test-memchr.c (TEST_NAME): Likewise.
32050 * string/test-memcmp.c (TEST_NAME): Likewise.
32051 * string/test-memcpy.c (TEST_NAME): Likewise.
32052 * string/test-memmem.c (TEST_NAME): Likewise.
32053 * string/test-memmove.c (TEST_NAME): Likewise.
32054 * string/test-memset.c (TEST_NAME): Likewise.
32055 * string/test-rawmemchr.c (TEST_NAME): Likewise.
32056 * string/test-stpcpy.c (TEST_NAME): Likewise.
32057 * string/test-stpncpy.c (TEST_NAME): Likewise.
32058 * string/test-strcasecmp.c (TEST_NAME): Likewise.
32059 * string/test-strcasestr.c (TEST_NAME): Likewise.
32060 * string/test-strcat.c (TEST_NAME): Likewise.
32061 * string/test-strchr.c (TEST_NAME): Likewise.
32062 * string/test-strcmp.c(TEST_NAME): Likewise.
32063 * string/test-strcpy.c (TEST_NAME): Likewise.
32064 * string/test-strcspn.c (TEST_NAME): Likewise.
32065 * string/test-strlen.c (TEST_NAME): Likewise.
32066 * string/test-strncasecmp.c (TEST_NAME): Likewise.
32067 * string/test-strncmp.c (TEST_NAME): Likewise.
32068 * string/test-strncpy.c (TEST_NAME): Likewise.
32069 * string/test-strnlen.c (TEST_NAME): Likewise.
32070 * string/test-strpbrk.c (TEST_NAME): Likewise.
32071 * string/test-strrchr.c (TEST_NAME): Likewise.
32072 * string/test-strspn.c (TEST_NAME): Likewise.
32073 * string/test-strstr.c (TEST_NAME): Likewise.
32074 * string/test-bcopy-ifunc.c: New file.
32075 * string/test-bzero-ifunc.c: Likewise.
32076 * string/test-memccpy-ifunc.c: Likewise.
32077 * string/test-memchr-ifunc.c: Likewise.
32078 * string/test-memcmp-ifunc.c: Likewise.
32079 * string/test-memcpy-ifunc.c: Likewise.
32080 * string/test-memmem-ifunc.c: Likewise.
32081 * string/test-memmove-ifunc.c: Likewise.
32082 * string/test-mempcpy-ifunc.c: Likewise.
32083 * string/test-memset-ifunc.c: Likewise.
32084 * string/test-rawmemchr-ifunc.c: Likewise.
32085 * string/test-stpcpy-ifunc.c: Likewise.
32086 * string/test-stpncpy-ifunc.c: Likewise.
32087 * string/test-strcasecmp-ifunc.c: Likewise.
32088 * string/test-strcasestr-ifunc.c: Likewise.
32089 * string/test-strcat-ifunc.c: Likewise.
32090 * string/test-strchr-ifunc.c: Likewise.
32091 * string/test-strchrnul-ifunc.c: Likewise.
32092 * string/test-strcmp-ifunc.c: Likewise.
32093 * string/test-strcpy-ifunc.c: Likewise.
32094 * string/test-strcspn-ifunc.c: Likewise.
32095 * string/test-strlen-ifunc.c: Likewise.
32096 * string/test-strncasecmp-ifunc.c: Likewise.
32097 * string/test-strncat-ifunc.c: Likewise.
32098 * string/test-strncmp-ifunc.c: Likewise.
32099 * string/test-strncpy-ifunc.c: Likewise.
32100 * string/test-strnlen-ifunc.c: Likewise.
32101 * string/test-strpbrk-ifunc.c: Likewise.
32102 * string/test-strrchr-ifunc.c: Likewise.
32103 * string/test-strspn-ifunc.c: Likewise.
32104 * string/test-strstr-ifunc.c: Likewise.
32105
de54b33a
L
32106 * debug/Makefile (tests-ifunc): New variable.
32107 (tests): Add $(tests-ifunc).
32108 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
32109 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
32110 * debug/test-stpcpy_chk-ifunc.c: New file.
32111 * debug/test-strcpy_chk-ifunc.c: Likewise.
32112
88481c16
SP
321132012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32114
32115 [BZ #13601]
32116 * elf/dl-load.c (open_verify): Retry read if the entire ELF
32117 header is not read in.
32118
135948bd
JM
321192012-10-19 Joseph Myers <joseph@codesourcery.com>
32120
89f1c388
JM
32121 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
32122 script to $(SHELL) as $<. Pass $(common-objpfx) to script
32123 directly. Pass built executable to script as
32124 $(built-program-cmd).
32125 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
32126 $testprogram without using LD_LIBRARY_PATH and $ldso.
32127
e40a0d21
JM
32128 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
32129 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
32130 $(rtld-installed-name).
32131 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
32132 (rtld_installed_name): Likewise.
32133 (library_path): Likewise.
32134 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
32135 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
32136 $(run-program-prefix) to tst-tables.sh.
32137 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
32138 it to run tst-table-from and tst-table-to.
32139 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
32140 Pass it to tst-table.sh.
32141 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
32142 $(run-program-prefix) to tst-gettext.sh.
32143 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
32144 tst-translit.sh.
32145 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
32146 tst-gettext2.sh.
32147 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
32148 to run tst-gettext.
32149 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
32150 to run tst-gettext2.
32151 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
32152 to run tst-translit.
32153 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
32154 $(run-program-prefix) to tst-mtrace.sh.
32155 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
32156 to run tst-mtrace.
32157 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
32158 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
32159 $(rtld-installed-name).
32160 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
32161 (rtld_installed_name): Likewise.
32162 (run_program_prefix): New variable. Use it to run wordexp-test.
32163
728e272a
JM
32164 * Makeconfig (ARCH): Remove all definitions.
32165 (machine): Likewise.
32166 [ARCH]: Remove conditional code.
32167 [!objdir]: Give error.
32168 [!objdir] (objpfx): Remove.
32169 [!objdir] (common-objpfx): Likewise.
32170 [!objdir] (common-objdir): Likewise.
32171 * configure.in (config_makefile): Remove. Hardcode Makefile in
32172 AC_CONFIG_FILES call.
32173 * configure: Regenerated.
32174
d528cdcf
JM
32175 [BZ #13888]
32176 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
32177 or TMPDIR.
32178 (testout): Likewise.
32179
135948bd
JM
32180 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
32181 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
32182 $(rtld-installed-name).
32183 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
32184 (rtld_installed_name): Likwise.
32185 (runit): Remove function.
32186 (run_getconf): New variable, Use it for running getconf binary.
32187
38c78296
L
321882012-10-18 H.J. Lu <hongjiu.lu@intel.com>
32189
32190 [BZ #14716]
32191 * string/test-memmem.c (check_result): New function.
32192 (do_one_test): Use it.
32193 (check1): New function.
32194 (test_main): Use it.
32195
d077f65f
MT
321962012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
32197
32198 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
32199
ced52c71
JM
322002012-10-18 Joseph Myers <joseph@codesourcery.com>
32201
32202 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
32203 (_G_LSEEK64): Likewise.
32204 (_G_MMAP64): Likewise.
32205 (_G_FSTAT64): Likewise.
32206 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
32207 (_G_LSEEK64): Likewise.
32208 (_G_MMAP64): Likewise.
32209 (_G_FSTAT64): Likewise.
32210 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
32211 unconditional. Call __mmap64 directly.
32212 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
32213 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
32214 __lseek64 directly.
32215 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
32216 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
32217 __mmap64 directly.
32218 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
32219 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
32220 __lseek64 directly.
32221 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
32222 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
32223 __lseek64 directly.
32224 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
32225 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
32226 __lseek64 directly.
32227 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
32228 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
32229 __fxstat64 directly.
32230 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
32231 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
32232 unconditional.
32233 (freopen64) [!_G_OPEN64]: Remove conditional code.
32234 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
32235 unconditional.
32236 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
32237 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
32238 unconditional.
32239 (ftello64) [!_G_LSEEK64]: Remove conditional code.
32240 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
32241 unconditional.
32242 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32243 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
32244 unconditional.
32245 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
32246 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
32247 unconditional.
32248 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32249 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
32250 unconditional.
32251 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32252 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
32253 unconditional.
32254 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32255
b741de23
SP
322562012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32257
32258 [BZ #12140]
32259 * manual/memory.texi (Malloc Tunable Parameters): Add note
32260 about free list pointers overwriting some perturb bytes.
32261 Wording suggested by Roland McGrath.
32262
f9b9d9c9
JM
322632012-10-17 Joseph Myers <joseph@codesourcery.com>
32264
32265 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
32266 (lgamma_test): Likewise.
32267 (tgamma_test): Likewise.
32268
172a631a
FW
322692012-10-16 Florian Weimer <fweimer@redhat.com>
32270
32271 [BZ #14700]
32272 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
32273 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
32274
e9f37252
MK
322752012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
32276
32277 * NEWS: Mention BZ #14716.
32278 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
32279 when removing AVAILABLE1_USES_J macro.
32280
d394eb74
L
322812012-10-12 H.J. Lu <hongjiu.lu@intel.com>
32282
32283 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
32284 (__bswap_64): __uint64_t for unsigned 64-bit int.
32285
ca38dc17
AS
322862012-10-12 Andreas Schwab <schwab@linux-m68k.org>
32287
32288 * include/string.h (memmem): Declare libc hidden alias.
32289 * string/memmem.c (memmem): Define libc hidden alias.
32290 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
32291 __read, __close instead of open, read, close.
32292
9a387d1f
L
322932012-10-11 H.J. Lu <hongjiu.lu@intel.com>
32294
ac49ecaf
L
32295 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
32296 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
32297 global and hidden.
32298 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
32299 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
32300 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
32301 Likewise.
32302 (__rawmemchr_sse2): Likewise.
32303 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
32304 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
32305 (__strchr_sse2): Likewise.
32306 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
32307 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
32308 (__strcasecmp_sse2): Likewise.
32309 (__strncasecmp_sse2): Likewise.
32310 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
32311 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
32312 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
32313 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
32314 (__strrchr_sse2): Likewise.
32315 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
32316 ifunc-impl-list.c.
32317 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32318 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32319 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32320 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32321 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32322 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32323 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32324 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32325 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
32326 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
32327 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
32328 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
32329 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
32330 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32331 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32332 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32333 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32334 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32335 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
32336 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
32337 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
32338 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
32339 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
32340 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
32341 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
32342 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32343 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32344 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32345 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32346 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32347
b090e8ea
L
32348 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
32349 global and hidden.
32350 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
32351 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
32352 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
32353 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
32354 Likewise.
32355 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
32356 Likewise.
32357 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
32358 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
32359 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
32360 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
32361 ifunc-impl-list.c.
32362 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32363 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32364 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32365 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32366 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32367 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32368 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32369 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32370 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32371 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32372 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32373 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32374 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32375 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32376 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32377 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32378 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32379 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
32380 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32381 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32382 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32383 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32384 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32385 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32386 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32387 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32388 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32389 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32390 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32391 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32392 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32393 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32394 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32395 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
32396 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32397 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32398 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32399 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32400 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32401 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32402 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
32403
11dd4af6
L
32404 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
32405 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
32406 * include/ifunc-impl-list.h: New file.
32407 * misc/ifunc-impl-list.c: Likewise.
32408 * misc/Makefile (routines): Add ifunc-impl-list.
32409 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
32410 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
32411 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
32412 TEST_NAME]: New variables.
11dd4af6
L
32413 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
32414 are defined.
32415 (test_init): Call __libc_ifunc_impl_list to initialize
32416 func_list if TEST_IFUNC and TEST_NAME are defined.
32417
9a387d1f
L
32418 * string/Makefile (strop-tests): Add bcopy and bzero.
32419 * string/test-bcopy.c: New file.
32420 * string/test-bzero.c: Likewise.
32421 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
32422 defined.
32423 * string/test-memset.c: Support bzero test if TEST_BZERO is
32424 defined.
32425 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
32426 __libc_memmove.
32427 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
32428 __libc_memset.
32429 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
32430 of memset.
32431
472371b9
JM
324322012-10-10 Joseph Myers <joseph@codesourcery.com>
32433
1e4a9536
JM
32434 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
32435 * configure: Regenerated.
32436
d173d12e
JM
32437 * Makeconfig (+link-static-before-libc): Don't include
32438 $(link-static-libc).
32439
472371b9
JM
32440 * libio/libio.h (_IO_pos_t): Remove.
32441
89a3ad0b
AO
324422012-10-10 Alexandre Oliva <aoliva@redhat.com>
32443
32444 * NEWS: Add note about FIPS mode. Wording suggested by Roland
32445 McGrath.
32446
e7451425
AO
324472012-10-10 Alexandre Oliva <aoliva@redhat.com>
32448
32449 * crypt/crypt-entry.c: Include fips-private.h.
32450 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
32451 * crypt/md5c-test.c (main): Tolerate disabled MD5.
32452 * sysdeps/unix/sysv/linux/fips-private.h: New file.
32453 * sysdeps/generic/fips-private.h: New file, dummy fallback.
32454
4ba74a35
AO
324552012-10-10 Alexandre Oliva <aoliva@redhat.com>
32456
32457 * crypt/crypt-private.h: Include stdbool.h.
32458 (_ufc_setup_salt_r): Return bool.
32459 * crypt/crypt-entry.c: Include errno.h.
32460 (__crypt_r): Return NULL with EINVAL for bad salt.
32461 * crypt/crypt_util.c (bad_for_salt): New.
32462 (_ufc_setup_salt_r): Check that salt is long enough and within
32463 the specified alphabet.
32464 * crypt/badsalttest.c: New file.
32465 * crypt/Makefile (tests): Add it.
32466 ($(objpfx)badsalttest): New.
32467
f96f1242
MK
324682012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
32469
32470 * NEWS: Add entry for BZ #14602.
32471
0e8e0c1c
JM
324722012-10-09 Joseph Myers <joseph@codesourcery.com>
32473
32474 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
32475 type-generic.
32476 * math/libm-test.inc: Update comment listing what functions and
32477 macros are tested.
32478 (isgreater_test): New function.
32479 (isgreaterequal_test): Likewise.
32480 (isless_test): Likewise.
32481 (islessequal_test): Likewise.
32482 (islessgreater_test): Likewise.
32483 (isunordered_test): Likewise.
32484 (main): Call the new functions.
32485
273edc5e
RM
324862012-10-09 Roland McGrath <roland@hack.frob.com>
32487
b8493de0
RM
32488 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
32489 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
32490 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
32491 * sysdeps/i386/configure: Regenerated.
32492 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
32493 * sysdeps/mach/configure: Regenerated.
32494 * sysdeps/mach/hurd/configure: Regenerated.
32495 * sysdeps/powerpc/configure: Regenerated.
32496 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32497 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32498 * sysdeps/s390/s390-32/configure: Regenerated.
32499 * sysdeps/s390/s390-64/configure: Regenerated.
32500 * sysdeps/sh/configure: Regenerated.
32501 * sysdeps/sparc/configure: Regenerated.
32502 * sysdeps/unix/sysv/linux/configure: Regenerated.
32503 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32504 * sysdeps/x86_64/configure: Regenerated.
32505
273edc5e
RM
32506 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
32507 defined. Don't check if MAP is NULL.
32508
c8450f70
JM
325092012-10-09 Joseph Myers <joseph@codesourcery.com>
32510
32511 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
32512 (_G_stat64): Likewise.
32513 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
32514 (_G_stat64): Likewise.
32515 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
32516 instead of struct _G_stat64.
32517 * libio/fileops.c (mmap_remap_check): Likewise.
32518 (decide_maybe_mmap): Likewise.
32519 (_IO_new_file_seekoff): Likewise.
32520 (_IO_file_stat): Likewise.
32521 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
32522 _G_off64_t.
32523 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
32524 instead of struct _G_stat64.
32525 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32526
57e605ba
MK
325272012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
32528
32529 [BZ #14602]
32530 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32531 Replace with ...
32532 (CHECK_EOL): New macro.
32533 (two_way_short_needle): Check beginning of haystack for EOL. Use
32534 CHECK_EOL.
32535 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32536 Replace with CHECK_EOL.
32537 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32538 Replace with CHECK_EOL.
32539
ef1bb361
JM
325402012-10-08 Joseph Myers <joseph@codesourcery.com>
32541
32542 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
32543 type-generic.
32544 * math/libm-test.inc: Update comment listing what functions and
32545 macros are tested.
32546 (finite_test): New function.
32547 (isinf_test): Likewise.
32548 (isnan_test): Likewise.
32549 (fpclassify_test): Test subnormal input.
32550 (isfinite_test): Likewise.
32551 (isnormal_test): Likewise.
32552 (main): Call the new functions.
32553
55f11534
JN
325542012-10-08 Jonathan Nieder <jrnieder@gmail.com>
32555
32556 [BZ #14660]
32557 * Makerules (%.dynsym): Force C locale when running
32558 $(OBJDUMP) --dynamic-syms.
32559
1ab29350
AS
325602012-10-08 Andreas Schwab <schwab@linux-m68k.org>
32561
32562 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
32563 <stdint.h>.
32564
f1ecb7ef
DM
325652012-10-06 David S. Miller <davem@davemloft.net>
32566
32567 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
32568 upper 32-bits of the length value in %o2 since we use branch-on-register
32569 tests which consider the entire 64-bit register.
32570
5d41d91a
L
325712012-10-06 H.J. Lu <hongjiu.lu@intel.com>
32572
32573 * string/test-strstr.c (check2): Add a test for page boundary.
32574
3baddb72
DM
325752012-10-05 David S. Miller <davem@davemloft.net>
32576
32577 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
32578 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
32579 file.
32580 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32581 sysdep_routines.
32582 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32583 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
32584 and bzero when HWCAP_SPARC_CRYPTO is present.
32585
9cee5585
L
325862012-10-05 H.J. Lu <hongjiu.lu@intel.com>
32587
d7e0dab9
L
32588 [BZ #14602]
32589 * string/test-strstr.c (check2): New function.
32590 (test_main): Call check2.
32591
03759f47
L
32592 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
32593 and bug-strchr1.
32594 * string/bug-strcasestr1.c (do_test): Moved to ...
32595 * string/test-strcasestr.c (check1): Here. New function.
32596 (do_one_test): Break out result checking code into ...
32597 (check_result): This. New function.
32598 (do_one_test): Call check_result.
32599 (test_main): Call check1.
32600 * string/bug-strchr1.c (do_test): Moved to ...
32601 * string/test-strchr.c (check1): Here. New function.
32602 (do_one_test): Break out result checking code into ...
32603 (check_result): This. New function.
32604 (do_one_test): Call check_result.
32605 (test_main): Call check1.
32606 * string/bug-strstr1.c (main): Moved to ...
046f153e 32607 * string/test-strstr.c (check1): Here. New function.
03759f47
L
32608 (do_one_test): Break out result checking code into ...
32609 (check_result): This. New function.
32610 (do_one_test): Call check_result.
32611 (test_main): Call check1.
32612 * string/bug-strcasestr1.c: Removed.
32613 * string/bug-strchr1.c: Likewise.
32614 * string/bug-strstr1.c: Likewise.
32615
53cea63e
L
32616 * elf/Makefile (dl-routines): Add hwcaps.
32617 * elf/dl-support.c (_dl_important_hwcaps): Removed.
32618 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
32619 (_dl_important_hwcaps): Moved to ...
32620 * elf/dl-hwcaps.c: Here. New file.
32621 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
32622
9cee5585 32623 [BZ #14557]
bb859b06
L
32624 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
32625 if IS_IN_rtld isn't defined.
32626
9cee5585
L
32627 * elf/dl-support.c (_dl_sysinfo_map): New.
32628 Include "get-dynamic-info.h" and "setup-vdso.h".
32629 (_dl_non_dynamic_init): Call setup_vdso.
32630 * elf/dynamic-link.h: Don't include <assert.h>.
32631 (elf_get_dynamic_info): Moved to ...
32632 * elf/get-dynamic-info.h: Here. New file.
32633 * elf/dynamic-link.h: Include "get-dynamic-info.h".
32634 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
32635 * elf/setup-vdso.h: Here. New file.
32636 * elf/rtld.c: Include "setup-vdso.h".
32637 (dl_main): Call setup_vdso.
32638
23c31b76
JM
326392012-10-05 Joseph Myers <joseph@codesourcery.com>
32640
28234b07
JM
32641 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
32642 creal in comment listing functions tested. List finite, isinf,
32643 isnan, isless, islessequal, isgreater, isgreaterequal,
32644 islessgreater, isunordered, lgamma_r and pow10 as functions and
32645 macros not tested. Mention which functions not tested are aliases
32646 for other functions. Fix typo. Note that signs of NaNs are not
32647 tested.
32648
23c31b76
JM
32649 * scripts/config.guess: Update from config.git.
32650 * scripts/config.sub: Likewise.
32651
9043e228
RM
326522012-10-04 Roland McGrath <roland@hack.frob.com>
32653
32654 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
32655 * misc/madvise.c (madvise): Renamed to __madvise.
32656 Make madvise a weak alias.
32657 * include/sys/mman.h: Declare __madvise.
32658 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
32659 * sysdeps/unix/syscalls.list
32660 (madvise): Make __madvise the strong name, and madvise a weak alias.
32661 * sysdeps/unix/sysv/linux/syscalls.list
32662 (madvise, mmap): Remove redundant entries.
32663 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
32664 * malloc/malloc.c (mtrim): Likewise.
32665 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
32666
f57f8055
RM
326672012-10-03 Roland McGrath <roland@hack.frob.com>
32668
32669 * sysdeps/mach/hurd/dl-cache.c: File removed.
32670 * config.h.in (USE_LDCONFIG): New #undef.
32671 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
32672 * configure: Regenerated.
32673 * elf/Makefile (dl-routines): Add dl-cache only under
32674 [$(use-ldconfig) = yes].
32675 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
32676 cache on [USE_LDCONFIG].
32677 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
32678 [USE_LDCONFIG].
32679 * elf/rtld.c (dl_main): Likewise.
32680
5bb0c10a
PT
326812012-10-03 Pino Toscano <toscano.pino@tiscali.it>
32682
32683 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
32684 _SC_LEVEL4_CACHE_LINESIZE.
32685
010188c6
RM
326862012-10-03 Roland McGrath <roland@hack.frob.com>
32687
32688 * sysdeps/unix/bsd/confstr.h: File removed.
32689
b6c5ec07
AO
326902012-10-02 Alexandre Oliva <aoliva@redhat.com>
32691
32692 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
32693 sys/sdt-config.h.
32694
408223d4
RM
326952012-10-02 Roland McGrath <roland@hack.frob.com>
32696
32697 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
32698 Make 'mapoff' field ElfW(Off) rather than off_t.
32699
bb9510dc
DL
327002012-10-02 Dmitry V. Levin <ldv@altlinux.org>
32701
fc997c6e
DL
32702 * nscd/Makefile: Remove nscd-cflags and all its users.
32703 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
32704 (CFLAGS-nonlib): Add compiler flags for nscd modules.
32705
bb9510dc
DL
32706 [BZ #10631]
32707 * malloc.c (malloc_printerr): Clarify error message.
32708
05699367
L
327092012-10-02 H.J. Lu <hongjiu.lu@intel.com>
32710
32711 [BZ #14648]
32712 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32713 Set bit_FMA_Usable if FMA is supported.
32714 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32715 macro.
32716 (bit_FMA4_Usable): Updated.
32717 (index_FMA_Usable): New macro.
32718 (CPUID_FMA): Likewise
32719 (HAS_FMA): Defined with bit_FMA_Usable.
32720
51367701
RM
327212012-10-01 Roland McGrath <roland@hack.frob.com>
32722
32723 * bits/types.h (__swblk_t): Type removed.
32724 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32725 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32726 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32727 (__SWBLK_T_TYPE): Likewise.
32728 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32729 (__SWBLK_T_TYPE): Likewise.
32730 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32731 (__SWBLK_T_TYPE): Likewise.
32732 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32733 (__SWBLK_T_TYPE): Likewise.
32734
4d57bf63 327352012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 32736 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
32737
32738 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32739 (xdr_mapname): Use YPMAXMAP as maxsize.
32740 (xdr_peername): Use YPMAXPEER as maxsize.
32741 (xdr_keydat): Use YPAXRECORD as maxsize.
32742 (xdr_valdat): Use YPMAXRECORD as maxsize.
32743
93c65d43
RM
327442012-10-01 Roland McGrath <roland@hack.frob.com>
32745
497a03d6
RM
32746 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32747
93c65d43
RM
32748 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32749 * csu/init-first.c: ... here.
32750 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32751 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32752 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32753 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32754 * sysdeps/i386/init-first.c: File removed.
32755 * sysdeps/sh/init-first.c: File removed.
32756
bec749fd
JM
327572012-10-01 Joseph Myers <joseph@codesourcery.com>
32758
32759 [BZ #14645]
32760 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32761 if x * y might underflow to zero and z is zero.
32762 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32763 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32764 * math/libm-test.inc (min_subnorm_value): New variable.
32765 (fma_test): Add more tests.
32766 (fma_test_towardzero): Likewise.
32767 (fma_test_downward): Likewise
32768 (fma_test_upward): Likewise.
32769 (initialize): Set min_subnorm_value.
32770
8ec5b013
JM
327712012-09-29 Joseph Myers <joseph@codesourcery.com>
32772
32773 [BZ #14638]
32774 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32775 0 + 0.
32776 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32777 mode for addition resulting in exact zero.
32778 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32779 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32780 exact 0 + 0.
32781 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32782 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32783 * math/libm-test.inc (fma_test): Add more tests.
32784 (fma_test_towardzero): New function.
32785 (fma_test_downward): Likewise.
32786 (fma_test_upward): Likewise.
32787 (main): Call the new functions.
32788
b1fa802e
DM
327892012-09-28 David S. Miller <davem@davemloft.net>
32790
32791 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32792
d3b9fd9e
RM
327932012-09-28 Roland McGrath <roland@hack.frob.com>
32794
ea4d37b3
RM
32795 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32796 instead of SIGALRM.
32797
ac51c949
RM
32798 * sysdeps/gnu/_G_config.h: Moved to ...
32799 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32800 * sysdeps/mach/hurd/_G_config.h: Moved to ...
32801 * sysdeps/generic/_G_config.h: ... here.
32802
28c195f7
RM
32803 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
32804
848917f9
RM
32805 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
32806
6bacf05b
RM
32807 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
32808 Conditionalize target on [libnss_test1.so-version].
32809
91363dbb
RM
32810 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
32811
cc87f7d8
RM
32812 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
32813 (elfobjdir): Move out of conditionals.
32814
b1c608fe
RM
32815 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
32816 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
32817 (__nss_lookup_function): Conditionalize label remove_from_tree on
32818 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 32819
1d9a6d96
DM
328202012-09-28 David S. Miller <davem@davemloft.net>
32821
32822 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
32823 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
32824 file.
32825 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32826 sysdep_routines.
32827 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32828 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
32829 when HWCAP_SPARC_CRYPTO is present.
32830
72581615
PT
328312012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32832
32833 * io/tst-mknodat.c: Create a FIFO instead of a socket.
32834
715a900c
JL
328352012-09-28 Andreas Schwab <schwab@linux-m68k.org>
32836
32837 [BZ #6530]
32838 * stdio-common/vfprintf.c (process_string_arg): Revert
32839 2000-07-22 change.
32840
328412011-09-28 Jonathan Nieder <jrnieder@gmail.com>
32842
32843 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
32844 for testcase.
32845 * stdio-common/tst-sprintf.c: Include <locale.h>
32846 (main): Test sprintf's handling of incomplete multibyte
32847 characters.
32848
9bac1d86
L
328492012-09-28 H.J. Lu <hongjiu.lu@intel.com>
32850
32851 * elf/dl-runtime.c (VERSYMIDX): Removed.
32852 * elf/dl-version.c (VERSYMIDX): Likewise.
32853 * elf/do-rel.h (VERSYMIDX): Likewise.
32854 (VALIDX): Likewise.
32855 * elf/dynamic-link.h (VERSYMIDX): Likewise.
32856 * elf/rtld.c (VALIDX): Likewise.
32857 (ADDRIDX): Likewise.
9bac1d86
L
32858 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
32859 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
32860 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
32861 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
32862 (VALIDX): Likewise.
32863 (ADDRIDX): Likewise.
9bac1d86 32864
b31606c0
PT
328652012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32866
32867 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
32868
11541177
JL
328692012-09-28 Dmitry V. Levin <ldv@altlinux.org>
32870
32871 [BZ #11438]
32872 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
32873 to global scope.
32874 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
32875 addresses are in the same scope as 192.0.2/24.
32876 * posix/gai.conf: Document new scope table defaults.
32877
adb26fae
SP
328782012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32879
32880 [BZ #5298]
32881 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
32882 for ftell. Compute offsets from write pointers instead.
32883 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32884
4573c6b0
SP
328852012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32886
32887 [BZ #14543]
32888 * libio/Makefile (tests): New test case tst-fseek.
32889 * libio/tst-fseek.c: New test case to verify that fseek/ftell
32890 combination works in wide mode.
32891 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
32892 state when the external buffer state changes.
32893
aa9bbfe6
DM
328942012-09-27 David S. Miller <davem@davemloft.net>
32895
32896 [BZ #14376]
32897 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
32898 pass reloc->r_addend in as the 'high' argument to
32899 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
32900
784421e7
DM
32901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32902
c39bc8b8
PT
329032012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32904
32905 * rt/tst-aio2.c: Include <pthread.h>.
32906 * rt/tst-aio3.c: Likewise.
32907
1ccc2399
SE
329082012-09-27 Steve Ellcey <sellcey@mips.com>
32909
32910 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
32911
31ed4153
L
329122012-09-27 H.J. Lu <hongjiu.lu@intel.com>
32913
25f5f885
L
32914 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
32915 contents on [SHARED].
31ed4153 32916
b7bfe116
MP
329172012-09-26 Marek Polacek <polacek@redhat.com>
32918
32919 [BZ #14530]
32920 [BZ #13741]
32921 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
32922 for C++ and GCC <4.3 as well as for non GCC compilers.
32923
43c4edba
MT
329242012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
32925
32926 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32927
6a1bf82f
RM
329282012-09-25 Roland McGrath <roland@hack.frob.com>
32929
32930 * Makefile.in (all, install): Declare with .PHONY.
32931 Reported by Michael Hope <michael.hope@linaro.org>.
32932
8ad11b9a
TMQMF
329332012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32934
32935 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
32936 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
32937 system header.
32938 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
32939 Likewise.
32940 (sydep_routines): Add the new and the internal functions.
32941 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
32942 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
32943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
32944 (GLIBC_2.17): Add the new function.
32945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
32946 (GLIBC_2.17): Likewise.
32947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
32948 (GLIBC_2.17): Likewise.
32949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
32950 (GLIBC_2.17): Likewise.
32951 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
32952
7e2fca8d
AM
329532012-09-25 Alan Modra <amodra@gmail.com>
32954
32955 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
32956 Add release barrier before setting once_control to say
32957 initialisation is done. Add hints on lwarx. Use macro in
32958 place of isync.
32959 (clear_once_control): Add release barrier.
32960
b87c4b24
JM
329612012-09-25 Joseph Myers <joseph@codesourcery.com>
32962
d032e0d2
JM
32963 [BZ #13629]
32964 * math/s_clog.c (__clog): Handle more values close to |z| = 1
32965 specially.
32966 * math/s_clog10.c (__clog10): Likewise.
32967 * math/s_clog10f.c (__clog10f): Likewise.
32968 * math/s_clog10l.c (__clog10l): Likewise.
32969 * math/s_clogf.c (__clogf): Likewise.
32970 * math/s_clogl.c (__clogl): Likewise.
32971 * math/Makefile (libm-calls): Add x2y2m1.
32972 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
32973 (__x2y2m1): Likewise.
32974 (__x2y2m1l): Likewise.
32975 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
32976 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
32977 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
32978 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32979 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
32980 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
32981 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
32982 * sysdeps/i386/fpu/libm-test-ulps: Update.
32983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32984
b87c4b24
JM
32985 [BZ #14621]
32986 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
32987 int as type of variable DEPTH.
32988 (glob): Use size_t instead of int as type of variables NEWCOUNT
32989 and OLD_PATHC.
32990
6d3bf199
LD
329912012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32992
22bf5c17
LD
32993 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
32994 Add s_sincosf-sse2.
32995 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
32996 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
32997 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
32998 macros for using routine as __sincosf_ia32.
32999 Use macro for function declaration and weak_alias.
33000 * sysdeps/i386/fpu/libm-test-ulps: Update.
33001
33002 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
33003 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33004
33005 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
33006 subnormal argument.
33007 * math/s_cexpf.c (__cexpf): Likewise.
33008 * math/s_csinf.c (__csinf): Likewise.
33009 * math/s_csinhf.c (__csinhf): Likewise.
33010 * math/s_ctanf.c (__ctanf): Likewise.
33011 * math/s_ctanhf.c (__ctanhf): Likewise.
33012 * math/s_ccosh.c (__ccoshf): Likewise.
33013 * math/s_cexp.c (__cexpl): Likewise.
33014 * math/s_csin.c (__csin): Likewise.
33015 * math/s_csinh.c (__csinh): Likewise.
33016 * math/s_ctan.c (__ctan): Likewise.
33017 * math/s_ctanh.c (ctanh): Likewise.
33018 * math/s_ccoshl.c (__ccoshl): Likewise.
33019 * math/s_cexpl.c (__cexpl): Likewise.
33020 * math/s_csinl.c (__csinl): Likewise.
33021 * math/s_csinhl.c (__csinhl): Likewise.
33022 * math/s_ctanl.c (__ctanl): Likewise.
33023 * math/s_ctanhl.c (__ctanhl): Likewise.
33024
203e5603
JM
330252012-09-25 Joseph Myers <joseph@codesourcery.com>
33026
33027 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
33028 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
33029 (_IO_off_t): Define to __off_t, not _G_off_t.
33030 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
33031 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
33032 (_IO_wint_t): Define to wint_t, not _G_wint_t.
33033 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
33034 type of __dummy and __dummy2 fields.
33035 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
33036 (_G_ssize_t): Likewise.
33037 (_G_off_t): Likewise.
33038 (_G_pid_t): Likewise.
33039 (_G_uid_t): Likewise.
33040 (_G_wchar_t): Likewise.
33041 (_G_wint_t): Likewise.
33042 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
33043 (_G_ssize_t): Likewise.
33044 (_G_off_t): Likewise.
33045 (_G_pid_t): Likewise.
33046 (_G_uid_t): Likewise.
33047 (_G_wchar_t): Likewise.
33048 (_G_wint_t): Likewise.
33049 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
33050 (_G_ssize_t): Likewise.
33051 (_G_off_t): Likewise.
33052 (_G_pid_t): Likewise.
33053 (_G_uid_t): Likewise.
33054 (_G_wchar_t): Likewise.
33055 (_G_wint_t): Likewise.
33056
9fab36eb
SP
330572012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33058
33059 * malloc/arena.c: Include malloc-sysdep.h.
33060 (shrink_heap): Use check_may_shrink_heap to decide if madvise
33061 is sufficient to shrink the heap or an unmap is needed.
33062 * sysdeps/generic/malloc-sysdep.h: New file. Define
33063 new function check_may_shrink_heap.
33064 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
33065 new function check_may_shrink_heap.
33066
2b4f00d1
SP
330672012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33068
33069 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
33070 comments.
33071
9a9028b1
DL
330722012-09-24 Dmitry V. Levin <ldv@altlinux.org>
33073
57c69bef
DL
33074 * catgets/test-gencat.sh: Add "set -e".
33075 * elf/tst-pathopt.sh: Likewise.
33076 * grp/tst_fgetgrent.sh: Likewise.
33077 * iconvdata/run-iconv-test.sh: Likewise.
33078 * intl/tst-gettext.sh: Likewise.
33079 * intl/tst-gettext2.sh: Likewise.
33080 * intl/tst-gettext4.sh: Likewise.
33081 * intl/tst-gettext6.sh: Likewise.
33082 * intl/tst-translit.sh: Likewise.
33083 * io/ftwtest-sh: Likewise.
33084 * libio/test-freopen.sh: Likewise.
33085 * malloc/tst-mtrace.sh: Likewise.
33086 * posix/globtest.sh: Likewise.
33087 * posix/tst-getconf.sh: Likewise.
33088 * posix/wordexp-tst.sh: Likewise.
33089 * stdio-common/tst-printf.sh: Likewise.
33090 * stdio-common/tst-unbputc.sh: Likewise.
33091 * stdlib/tst-fmtmsg.sh: Likewise.
33092 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33093 * catgets/Makefile: Do not specify -e option when running
33094 testsuite shell scripts.
33095 * elf/Makefile: Likewise.
33096 * grp/Makefile: Likewise.
33097 * iconvdata/Makefile: Likewise.
33098 * intl/Makefile: Likewise.
33099 * io/Makefile: Likewise.
33100 * libio/Makefile: Likewise.
33101 * malloc/Makefile: Likewise.
33102 * posix/Makefile: Likewise.
33103 * stdio-common/Makefile: Likewise.
33104 * stdlib/Makefile: Likewise.
33105 * sysdeps/x86_64/Makefile: Likewise.
33106
9a9028b1
DL
33107 * io/ftwtest-sh: Add copyright header.
33108 * posix/globtest.sh: Likewise.
33109 * posix/tst-getconf.sh: Likewise.
33110 * posix/wordexp-tst.sh: Likewise.
33111 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33112
ced6f16e
L
331132012-09-24 H.J. Lu <hongjiu.lu@intel.com>
33114
94b32c39
L
33115 [BZ #13679]
33116 * Makeconfig (+link): Defined as $(+link-static) if
33117 $(build-shared) isn't yes.
33118 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
33119 isn't yes.
33120 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
33121
189e935b
L
33122 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
33123
ced6f16e
L
33124 [BZ #14562]
33125 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
33126 new chunk size with MALLOC_ALIGN_MASK.
33127
a9f8e53a
JM
331282012-09-24 Joseph Myers <joseph@codesourcery.com>
33129
33130 [BZ #5044]
33131 * stdio-common/printf_fphex.c: Include <stdbool.h> and
33132 <rounding-mode.h>.
33133 (__printf_fphex): Determine rounding using get_rounding_mode and
33134 round_away.
33135 * stdio-common/tst-printf-round.c (struct hex_test): New
33136 structure.
33137 (hex_tests): New variable.
33138 (test_hex_in_one_mode): New function.
33139 (do_test): Also run tests for hex float output.
33140
43153109
JM
331412012-09-21 Joseph Myers <joseph@codesourcery.com>
33142
33143 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33144 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33145 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
33146 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33147 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33148 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
33149 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33150 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33151
8a26625d
JM
331522012-09-20 Joseph Myers <joseph@codesourcery.com>
33153
33154 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
33155 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
33156 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
33157 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
33158
f3fd569c
DL
331592012-09-19 Dmitry V. Levin <ldv@altlinux.org>
33160
33161 [BZ #14579]
33162 * elf/rtld.c (dl_main): Limit the check for self loading to normal
33163 mode only.
33164 * elf/tst-rtld-load-self.sh: New test.
33165 * elf/Makefile: Run it.
33166
63bbedd4
JM
331672012-09-18 Joseph Myers <joseph@codesourcery.com>
33168
33169 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
33170 (tst-writev-ENV): Remove.
33171 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
33172
626f8b6a
CM
331732012-09-17 Chris Metcalf <cmetcalf@tilera.com>
33174
33175 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
33176
b7aaa4d6
JM
331772012-09-17 Joseph Myers <joseph@codesourcery.com>
33178
33179 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
33180 unconditional.
33181 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
33182 Likewise.
33183 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
33184 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
33185 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
33186 Likewise.
33187
65513990
L
331882012-09-14 H.J. Lu <hongjiu.lu@intel.com>
33189
33190 [BZ #14587]
33191 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
33192 * config.make.in (have-cpp-asm-debuginfo): Removed.
33193 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
33194 * configure: Regenerated.
33195
784761be
JM
331962012-09-14 Joseph Myers <joseph@codesourcery.com>
33197
33198 [BZ #5044]
33199 * stdio-common/printf_fp.c: Include <stdbool.h> and
33200 <rounding-mode.h>.
33201 (___printf_fp): Determine rounding using get_rounding_mode and
33202 round_away.
33203 * stdio-common/tst-printf-round.c: New file.
33204 * stdio-common/Makefile (tests): Add tst-printf-round.
33205 (link-libm): New variable.
33206 ($(objpfx)tst-printf-round): Depend in $(link-libm).
33207
9503345f
L
332082012-09-13 H.J. Lu <hongjiu.lu@intel.com>
33209
33210 [BZ #14576]
33211 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
33212 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
33213 Likewise.
33214 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
33215 Likewise.
33216
ad35fc00
JM
332172012-09-13 Joseph Myers <joseph@codesourcery.com>
33218
33219 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
33220 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33221 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33222 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33223
6c9b0f68
JM
332242012-09-12 Joseph Myers <joseph@codesourcery.com>
33225
33226 [BZ #14518]
33227 * include/rounding-mode.h: New file.
33228 * sysdeps/generic/get-rounding-mode.h: Likewise.
33229 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
33230 * stdlib/strtod_l.c: Include <rounding-mode.h>.
33231 (MAX_VALUE): New macro.
33232 (MIN_VALUE): Likewise.
33233 (overflow_value): New function.
33234 (underflow_value): Likewise.
33235 (round_and_return): Use overflow_value and underflow_value to
33236 determine return values in overflow and underflow cases. Use
33237 round_away to determine rounding depending on rounding mode.
33238 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
33239 determine return values in overflow and underflow cases.
33240 * stdlib/tst-strtod-round.c: Include <fenv.h>.
33241 (struct test_results): New structure.
33242 (struct test): Use struct test_results to store expected results
33243 for all rounding modes.
33244 (TEST): Include expected results for all rounding modes.
33245 (test_in_one_mode): New function.
33246 (do_test): Use test_in_one_mode to compute and check results.
33247 Check results for all rounding modes.
33248 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
33249 $(link-libm).
33250
19fcedd5
AM
332512012-12-09 Allan McRae <allan@archlinux.org>
33252
1e9d84cd 33253 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 33254
8bbfd2f1
JM
332552012-09-11 Joseph Myers <joseph@codesourcery.com>
33256
33257 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
33258 (_G_int32_t): Likewise.
33259 (_G_uint16_t): Likewise.
33260 (_G_uint32_t): Likewise.
33261 (_G_HAVE_BOOL): Likewise.
33262 (_G_HAVE_ATEXIT): Likewise.
33263 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33264 (_G_HAVE_IO_FILE_OPEN): Likewise.
33265 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
33266 (_G_int32_t): Likewise.
33267 (_G_uint16_t): Likewise.
33268 (_G_uint32_t): Likewise.
33269 (_G_HAVE_BOOL): Likewise.
33270 (_G_HAVE_ATEXIT): Likewise.
33271 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33272 (_G_HAVE_IO_FILE_OPEN): Likewise.
33273 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
33274 (_G_int32_t): Likewise.
33275 (_G_uint16_t): Likewise.
33276 (_G_uint32_t): Likewise.
33277 (_G_HAVE_BOOL): Likewise.
33278 (_G_HAVE_ATEXIT): Likewise.
33279 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33280 (_G_HAVE_IO_FILE_OPEN): Likewise.
33281
b1dc5912
L
332822012-09-11 H.J. Lu <hongjiu.lu@intel.com>
33283
33284 * csu/libc-tls.c: Update copyright years.
33285
0e886ef9
JM
332862012-09-10 Joseph Myers <joseph@codesourcery.com>
33287
28361c5e
JM
33288 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
33289 [!_G_USING_THUNKS]: Remove conditional code.
33290 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
33291 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
33292
0e886ef9
JM
33293 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
33294 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
33295 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33296 (_G_VTABLE_LABEL_PREFIX): Likewise.
33297 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33298 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33299 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33300 (_G_VTABLE_LABEL_PREFIX): Likewise.
33301 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33302 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33303 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33304 (_G_VTABLE_LABEL_PREFIX): Likewise.
33305 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33306
bcba7aa2
L
333072012-09-10 H.J. Lu <hongjiu.lu@intel.com>
33308
33309 * libio/Makefile: Include ../Makeconfig before tests.
33310 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
33311 only if $(build-shared) is yes.
33312
06585ee8
L
33313 * iconv/gconv_db.c: Update copyright years.
33314
80ccd52c
LD
333152012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33316
33317 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
33318 unwind info if defined PIC. Fix special cases description.
33319 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
33320
33321 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
33322 DP_HI_MASK entry.
33323 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
33324
691bc9c1
L
333252012-09-07 H.J. Lu <hongjiu.lu@intel.com>
33326
3d9b46b3
L
33327 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
33328
de2139a9
L
33329 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
33330 is NULL.
33331
5ca78dd0
L
33332 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
33333 (LDLIBS-tst-chk4): This.
33334 (LDFLAGS-tst-chk5): Renamed to ...
33335 (LDLIBS-tst-chk5): This.
33336 (LDFLAGS-tst-chk6): Renamed to ...
33337 (LDLIBS-tst-chk6): This.
33338 (LDFLAGS-tst-lfschk4): Renamed to ...
33339 (LDLIBS-tst-lfschk4): This.
33340 (LDFLAGS-tst-lfschk5): Renamed to ...
33341 (LDLIBS-tst-lfschk5): This.
33342 (LDFLAGS-tst-lfschk6): Renamed to ...
33343 (LDLIBS-tst-lfschk6): This.
33344
691bc9c1
L
33345 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
33346 on $(common-objpfx)soversions.mk.
33347
65cafb1c
JM
333482012-09-07 Joseph Myers <joseph@codesourcery.com>
33349
33350 [BZ #10014]
33351 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
33352 example host name.
33353
c78ab094
SP
333542012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
33355
33356 * malloc/arena.c (arena_get_retry): New function that gets
33357 another arena for the caller to try its request on.
33358 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
33359 current arena cannot fulfill the request.
33360 (__libc_memalign): Likewise.
33361 (__libc_memalign): Likewise.
33362 (__libc_pvalloc): Likewise.
33363 (__libc_calloc): Likewise.
33364
01f49f59
JT
333652012-09-05 John Tobey <john.tobey@gmail.com>
33366
33367 [BZ #13542]
33368 * manual/arith.texi (Operations on Complex): Fix description
33369 of carg branch cut.
33370
4c23fed5
JM
333712012-09-06 Joseph Myers <joseph@codesourcery.com>
33372
1d3c8572
JM
33373 [BZ #10014]
33374 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
33375 host name.
33376
4c23fed5
JM
33377 [BZ #10038]
33378 * manual/memory.texi (Memory): Make order of menu items match
33379 order of sections.
33380
04570aaa
L
333812012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33382
33383 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
33384 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
33385 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
33386
b80af2f4
L
333872012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33388
33389 * csu/libc-tls.c (static_dtv): Renamed to ...
33390 (_dl_static_dtv): This. Make it global.
33391 (_dl_initial_dtv): Removed.
33392 (__libc_setup_tls): Updated.
33393 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
33394 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
33395 DL_INITIAL_DTV.
33396
2abe9f15
PM
333972012-09-06 Petr Machata <pmachata@redhat.com>
33398
33399 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
33400 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
33401 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
33402 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
33403
0948c3af
L
334042012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33405
33406 [BZ #14545]
33407 * csu/libc-tls.c (_dl_initial_dtv): New variable.
33408 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
33409 freeing dtv[-1].
33410
a5055ad1
L
334112012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33412
33413 [BZ #14544]
33414 * Makeconfig (link-static-before-libc): Replace $(+prector)
33415 with $(+prectorT).
33416 (link-static-after-libc): Replace $(+postctor) with
33417 $(+postctorT).
33418 (link-bounded): Replace $(+prector)/$(+postctor) with
33419 $(+prectorT)/$(+postctorT).
33420 (+prectorT): New macro.
33421 (+postctorT): Likewise.
33422
ed8c2ecd
JM
334232012-09-06 Joseph Myers <joseph@codesourcery.com>
33424
33425 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
33426 (round_str): Handle values above the maximum for IBM long double
33427 as inexact.
33428 * stdlib/tst-strtod-round.c (tests): Regenerated.
33429
14c996c8
AK
334302012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33431
33432 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
33433 assembler flag.
33434 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
33435 zarch_nohighgprs around the zarch optimized routines.
33436 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
33437 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
33438 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
33439 for zarch.
33440
430d6ce6
DM
334412012-09-05 David S. Miller <davem@davemloft.net>
33442
33443 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33444
57f41c40
AS
33445 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
33446 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
33447 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
33448 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33449 entries.
33450
24d4e01b
AO
334512012-09-05 Alexandre Oliva <aoliva@redhat.com>
33452
33453 * malloc/arena.c: Fold copyright years.
33454 * malloc/mcheck.c, malloc/memusage.c: Likewise.
33455
61d58174
AO
334562012-09-05 Alexandre Oliva <aoliva@redhat.com>
33457
33458 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
33459
20196a5e
AO
334602012-09-05 Alexandre Oliva <aoliva@redhat.com>
33461
33462 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
33463
5c447383
AO
334642012-09-05 Alexandre Oliva <aoliva@redhat.com>
33465
33466 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
33467 change internal state upon failure.
33468
fad64255
AO
334692012-09-05 Alexandre Oliva <aoliva@redhat.com>
33470
33471 * malloc/mcheck.c (mcheck_check_all): Fix typo.
33472 * malloc/memusage.c (mmap): Likewise.
33473 (mmap64, mremap): Likewise. Adjust name in comment.
33474
1ffb8c90
SP
334752012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33476
33477 * libio/fileops.c: Fix typos in comments.
33478 * libio/oldfileops.c: Likewise.
33479 * libio/wfileops.c: Likewise.
33480
6ef9cc37
SP
334812012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33482
33483 [BZ #1349]
33484 * malloc/Makefile (tests): Add tst-malloc-usable test case.
33485 (tst-malloc-usable-ENV): Set environment for test case.
33486 * malloc/hooks.c (malloc_check_get_size): New function to get
33487 requested size.
33488 * malloc/malloc.c (musable): Use malloc_check_get_size.
33489 * malloc/tst-malloc-usable.c: New test case.
33490
4d038ae3
AS
334912012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33492
33493 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
33494
c4e85184
AM
334952012-09-05 Allan McRae <allan@archlinux.org>
33496
b9dafc56 33497 [BZ #13966]
c4e85184
AM
33498 * configure.in (CXX_SYSINCLUDES): Use compiler output to
33499 determine header location.
33500 * configure: Regenerated.
33501
e1343020
AS
335022012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33503
33504 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
33505 float format.
33506 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
33507 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
33508 format.
e1343020
AS
33509 (test): Regenerate.
33510
0a9f1987
DM
335112012-09-04 David S. Miller <davem@davemloft.net>
33512
33513 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
33514 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
33515 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
33516
29237804
FW
335172012-09-04 Florian Weimer <fweimer@redhat.com>
33518
33519 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
33520 failures.
33521
edb3cb88
FW
33522 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
33523
60160d83
JM
335242012-09-04 Joseph Myers <joseph@codesourcery.com>
33525
33526 [BZ #9914]
33527 * libio/iogetdelim.c: Include <limits.h>.
33528 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
33529 + len + 1 would overflow.
33530
bcd6c8dc
AJ
335312012-09-03 Andreas Jaeger <aj@suse.de>
33532
33533 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33534 * sysdeps/i386/fpu/libm-test-ulps: Update.
33535
4ffffbd2
LD
335362012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33537
33538 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33539 Add s_sinf-sse2, s_conf-sse2.
33540
33541 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
33542 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
33543 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
33544 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
33545
33546 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
33547 for using routine as __sinf_ia32.
33548 Use macro for function declaration and weak_alias.
33549 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
33550 for using routine as __cosf_ia32.
33551 Use macro for function declaration and weak_alias.
33552
33553 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
33554 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
33555
33556 * sysdeps/x86_64/fpu/s_sinf.S: New file.
33557 * sysdeps/x86_64/fpu/s_cosf.S: New file.
33558 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33559
33560 * math/libm-test.inc (cos_test): Add more test cases.
33561 (sin_test): Likewise.
33562 (sincos_test): Likewise.
33563
511fa286
AK
335642012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33565
33566 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33567 (IFUNC_RESOLVE): Make pointers to the specialized implementations
33568 hidden.
33569 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33570
5f30cfec
L
335712012-09-02 H.J. Lu <hongjiu.lu@intel.com>
33572
33573 [BZ #14538]
33574 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
33575 first element of the GOT.
33576 (elf_machine_load_address): Return the difference between
33577 the runtime address of _DYNAMIC and elf_machine_dynamic ().
33578
0786794f
AM
335792012-09-01 Allan McRae <allan@archlinux.org>
33580
5f30cfec
L
33581 [BZ #13412]
33582 * configure.in (AWK): Require gawk version 3.0 or later.
33583 * configure: Regenerated.
0786794f 33584
26889eac
JM
335852012-09-01 Joseph Myers <joseph@codesourcery.com>
33586
33587 * sysdeps/unix/sysv/linux/kernel-features.h
33588 (__ASSUME_POSIX_CPU_TIMERS): Remove.
33589 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33590 [__NR_clock_getres]: Make code unconditional.
33591 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
33592 (clock_getcpuclockid): Remove code left unreachable by removal of
33593 conditionals.
33594 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
33595 code unconditional.
33596 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33597 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33598 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
33599 Make code unconditional.
33600 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33601 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33602 * sysdeps/unix/sysv/linux/clock_settime.c
33603 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
33604 conditional code.
33605 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
33606 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33607
d22e28b0
L
336082012-08-29 H.J. Lu <hongjiu.lu@intel.com>
33609
33610 [BZ #14476]
33611 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
33612 scripts/test-installation.pl.
33613
33614 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
33615 and $ld_so_version if it is set.
33616
050af9c4
SP
336172012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33618
33619 [BZ #14516]
33620 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
33621 failure if reading from procfs failed.
33622 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
33623
ad845c0b
JM
336242012-08-27 Joseph Myers <joseph@codesourcery.com>
33625
33626 * sysdeps/unix/sysv/linux/kernel-features.h
33627 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
33628 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33629 Remove conditional code.
33630 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33631 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
33632 Remove conditional code.
33633 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33634 * sysdeps/unix/sysv/linux/i386/fxstat.c
33635 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33636 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33637 * sysdeps/unix/sysv/linux/i386/fxstatat.c
33638 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33639 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33640 * sysdeps/unix/sysv/linux/i386/lxstat.c
33641 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33642 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33643 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
33644 Remove conditional code.
33645 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33646 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33647 Remove conditional code.
33648 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33649 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
33650 <kernel-features.h>.
33651 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
33652 Remove.
33653 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
33654 Remove conditional code.
33655 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33656 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
33657 Remove conditional.
33658
5dbf56af
MF
336592012-08-27 Mike Frysinger <vapier@gentoo.org>
33660
33661 [BZ #5400]
33662 * NEWS: Add fixed bug number.
33663
d6e70f43
JM
336642012-08-27 Joseph Myers <joseph@codesourcery.com>
33665
7efb4737
JM
33666 [BZ #14519]
33667 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
33668 underflowing exponent in case of negative sign.
33669 * stdlib/tst-strtod-round-data: Add more tests.
33670 * stdlib/tst-strtod-round.c (tests): Regenerated.
33671
af92131a
JM
33672 [BZ #3479]
33673 * stdlib/strtod_l.c (NDIG): Remove.
33674 (HEXNDIG): Likewise.
33675 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
33676 smallest representable value.
33677 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
33678 lie within an exact representation of 1/2 ulp of the result.
33679 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
33680 unconditionally.
33681 (TENS_P9_IDX): Define unconditionally.
33682 (TENS_P9_SIZE): Likewise.
33683 (TENS_P10_IDX): Likewise.
33684 (TENS_P10_SIZE): Likewise.
33685 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
33686 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
33687 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
33688 entries for 10^2^13 and 10^2^14.
33689 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
33690 (TENS_P13_IDX): Define.
33691 (TENS_P13_SIZE): Likewise.
33692 (TENS_P14_IDX): Likewise.
33693 (TENS_P14_SIZE): Likewise.
33694 (_fpioconst_pow10): Change array size to
33695 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
33696 unconditional.
33697 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
33698 1024]: Add entries for 10^2^13 and 10^2^14.
33699 [LAST_POW10 > _LAST_POW10]: Remove #error.
33700 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
33701 (_fpioconst_pow10): Change array size to
33702 FPIOCONST_POW10_ARRAY_SIZE.
33703 * stdlib/gen-fpioconst.c: New file.
33704 * stdlib/gen-tst-strtod-round.c: Likewise.
33705 * stdlib/tst-strtod-round-data: Likewise.
33706 * stdlib/tst-strtod-round.c: Likewise.
33707 * stdlib/Makefile (tests): Add tst-strtod-round.
33708
d6e70f43
JM
33709 [BZ #14459]
33710 * stdlib/strtod_l.c: Include <stdint.h>.
33711 (NDEBUG): Do not define.
33712 (round_and_return): Change EXPONENT parameter to type intmax_t.
33713 Rearrange calculations to avoid internal overflow possibilities.
33714 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33715 Rearrange calculations to avoid internal overflow possibilities.
33716 Assert that number fits inside MPNSIZE limbs.
33717 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33718 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
33719 calculations and add assertions to avoid internal overflow
33720 possibilities. Add casts to avoid signed/unsigned operations.
33721 * stdlib/tst-strtod-overflow.c: New file.
33722 * stdlib/Makefile (tests): Add tst-strtod-overflow.
33723
1f529f7d
MP
337242012-08-25 Marek Polacek <polacek@redhat.com>
33725
33726 * time/time.h: Fix some typos in comments.
33727
59a629f1
RM
337282012-08-23 Roland McGrath <roland@hack.frob.com>
33729
33730 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33731 * posix/tst-rfc3484-2.c: Likewise.
33732 * posix/tst-rfc3484-3.c: Likewise.
33733
d3bafbc9
SM
337342012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
33735
33736 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33737 (EF_ARM_ABI_FLOAT_HARD): Likewise.
33738
4efcc022
JM
337392012-08-23 Joseph Myers <joseph@codesourcery.com>
33740
33741 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33742 #include of fxstatat64.c.
33743
3cc3ef96
RM
337442012-08-22 Roland McGrath <roland@hack.frob.com>
33745
f04e2132
RM
33746 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33747 * shadow/getspent_r.c: Likewise.
33748 * shadow/getspnam.c: Likewise.
33749 * shadow/getspnam_r.c: Likewise.
33750 * gshadow/getsgent.c: Likewise.
33751 * gshadow/getsgent_r.c: Likewise.
33752 * gshadow/getsgnam.c: Likewise.
33753 * gshadow/getsgnam_r.c: Likewise.
33754 * inet/getnetbyad.c: Likewise.
33755 * inet/getnetbyad_r.c: Likewise.
33756 * inet/getnetbynm.c: Likewise.
33757 * inet/getnetbynm_r.c: Likewise.
33758 * inet/getnetent.c: Likewise.
33759 * inet/getnetent_r.c: Likewise.
33760 * inet/getproto.c: Likewise.
33761 * inet/getproto_r.c: Likewise.
33762 * inet/getprtent.c: Likewise.
33763 * inet/getprtent_r.c: Likewise.
33764 * inet/getprtname.c: Likewise.
33765 * inet/getprtname_r.c: Likewise.
33766 * inet/getrpcbyname.c: Likewise.
33767 * inet/getrpcbyname_r.c: Likewise.
33768 * inet/getrpcbynumber.c: Likewise.
33769 * inet/getrpcbynumber_r.c: Likewise.
33770 * inet/getrpcent.c: Likewise.
33771 * inet/getrpcent_r.c: Likewise.
33772 * inet/getaliasent.c: Likewise.
33773 * inet/getaliasent_r.c: Likewise.
33774 * inet/getaliasname.c: Likewise.
33775 * inet/getaliasname_r.c: Likewise.
33776 * nscd/getgrgid_r.c: Likewise.
33777 * nscd/getgrnam_r.c: Likewise.
33778 * nscd/gethstbyad_r.c: Likewise.
33779 * nscd/gethstbynm3_r.c: Likewise.
33780 * nscd/getpwnam_r.c: Likewise.
33781 * nscd/getpwuid_r.c: Likewise.
33782 * nscd/getsrvbynm_r.c: Likewise.
33783 * nscd/getsrvbypt_r.c: Likewise.
33784 * nscd/gai.c: Likewise.
33785
c53d909c
RM
33786 * configure.in (build_nscd): New substituted variable, set
33787 by --disable-build-nscd and defaults to $use_nscd.
33788 * configure: Regenerated.
33789 * config.make.in (build-nscd): New substituted variable.
33790 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33791 Change conditional to require [$(build-nscd) = yes] as well.
33792 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33793
3cc3ef96
RM
33794 [BZ# 13696]
33795 * configure.in (use_nscd): New substituted variable, set by
33796 --disable-nscd. If enabled, define USE_NSCD.
33797 * configure: Regenerated.
33798 * config.h.in: Add USE_NSCD.
33799 * config.make.in (use-nscd): New substituted variable.
33800 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33801 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33802 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33803 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33804 (CFLAGS-getgrnam_r.c): Likewise.
33805 (CFLAGS-initgroups.c): Likewise.
33806 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
33807 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
33808 Variables removed.
33809 * inet/getnetgrent_r.c
33810 (nscd_setnetgrent): New function, broken out of ...
33811 (setnetgrent): ... here. Call it.
33812 (innetgr): Conditionalize nscd bits on [USE_NSCD].
33813 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
33814 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
33815 * nscd/Makefile (routines, aux): Move definitions after include of
33816 Makeconfig. Conditionalize on [$(use-nscd) != no].
33817 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
33818 Conditionalize on [USE_NSCD].
33819 (is_nscd, nscd_init_cb): Likewise.
33820 (nss_load_library): Conditionalize init callback on [USE_NSCD].
33821 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
33822 * nss/nss_db/db-init.c: Likewise.
33823 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
33824 [USE_NSCD].
33825 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
33826 (make_request): Use it.
33827 (cache_valid_p): New function.
33828 (__check_pf): Use it.
33829 * NEWS: Add item for --disable-nscd.
33830
07e51550
DL
338312012-08-22 Dmitry V. Levin <ldv@altlinux.org>
33832
33833 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
33834 to support sed >= 4.2.1-20-ga9bf076.
33835 * configure: Regenerated.
33836
35a5b08b
RM
338372012-08-22 Roland McGrath <roland@hack.frob.com>
33838
33839 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
33840 Conditionalize whole body on [IREL].
33841
8479f23a
JL
338422012-08-22 Jeff Law <law@redhat.com>
33843
33844 [BZ #14505]
33845 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
33846 if the family is PF_UNSPEC.
33847
48da0b21
MF
338482012-08-22 Mike Frysinger <vapier@gentoo.org>
33849
33850 * Makerules (lib-version): Rename from V.
33851 (install-lib-nosubdir): Change V to lib-version.
33852
15d0da8c
WS
338532012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
33854
33855 [BZ #14252]
33856 * powerpc32/power6/wcschr.c: New file.
33857 * powerpc32/power6/wcscpy.c: New file.
33858 * powerpc32/power6/wcsrchr.c: New file.
33859 * powerpc64/power6/wcschr.c: New file.
33860 * powerpc64/power6/wcscpy.c: New file.
33861 * powerpc64/power6/wcsrchr.c: New file.
33862
bcca0895
MK
338632012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33864
33865 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
33866 (two_way_short_needle): Use it.
5a4aaa33
RM
33867 * string/strstr.c (AVAILABLE1_USES_J): Define.
33868 * string/strcasestr.c: Likewise.
99677e57
MK
33869
33870 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
33871 array references.
33872 * string/strcasestr.c (TOLOWER): Make side-effect safe.
33873
400726de
MK
33874 [BZ #11607]
33875 * NEWS: Add an entry.
33876 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
33877 define their defaults.
33878 (two_way_short_needle): Detect end-of-string on-the-fly.
33879 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
33880 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
33881 * string/bug-strcasestr1.c: New test.
33882 * string/Makefile: Run it.
33883
20a71f2c
MK
338842012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33885
33886 [BZ #11607]
33887 * string/str-two-way.h (two_way_short_needle): Optimize matching of
33888 the first character.
33889
21ad0558
RM
338902012-08-21 Roland McGrath <roland@hack.frob.com>
33891
33892 * csu/elf-init.c (__libc_csu_irel): Function removed.
33893 * csu/libc-start.c (apply_irel): New function.
33894 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
33895
0e1d9911
JM
338962012-08-21 Joseph Myers <joseph@codesourcery.com>
33897
33898 * sysdeps/unix/sysv/linux/kernel-features.h
33899 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
33900 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33901 <kernel-features.h>.
33902 [__NR_fadvise64_64]: Make code unconditional.
33903 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
33904 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33905 !__NR_fadvise64_64)]: Likewise.
33906 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33907 !__NR_fadvise64_64))]: Likewise.
33908 [__NR_fadvise64]: Make code unconditional.
33909 [!__NR_fadvise64]: Remove conditional code.
33910 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
33911 <kernel-features.h>.
33912 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33913 unconditional.
33914 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33915 conditional code.
33916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
33917 not include <kernel-features.h>.
33918 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33919 unconditional.
33920 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33921 conditional code.
33922 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
33923 include <kernel-features.h>.
33924 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33925 unconditional.
33926 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33927 conditional code.
33928
14a50c9d
WS
339292012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33930
33931 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
33932 slight instruction rearrangements per scrollpipe analysis.
33933 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33934
c0f4faf0
RM
339352012-08-20 Roland McGrath <roland@hack.frob.com>
33936
696da859
RM
33937 * manual/syslog.texi (syslog; vsyslog, closelog):
33938 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
33939 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
33940
c0f4faf0
RM
33941 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
33942 DSOCAPS to match condition on defining it.
33943
348363b2
JM
339442012-08-20 Joseph Myers <joseph@codesourcery.com>
33945
a35cbf28
JM
33946 * sysdeps/unix/sysv/linux/kernel-features.h
33947 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
33948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
33949 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33950 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
33952 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33953 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
33955 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
33956 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
33957
445f7ecd
JM
33958 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
33959 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
33960
348363b2
JM
33961 * sysdeps/unix/sysv/linux/kernel-features.h
33962 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
33963 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
33964 unconditional.
33965 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33966 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
33967 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33968 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33969 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
33970 Make code unconditional.
33971 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33972 (__mmap64) [!__NR_mmap2]: Likewise.
33973 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
33974 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
33975 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33976 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
33977 [__NR_mmap2]: Make code unconditional.
33978 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
33979 (__mmap64) [!__NR_mmap2]: Likewise.
33980
bc5bc0e5
AK
339812012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33982
33983 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
33984
88d506de
AJ
339852012-08-18 Andreas Jaeger <aj@suse.de>
33986
33987 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
33988
493387d2
MF
339892012-08-18 Mike Frysinger <vapier@gentoo.org>
33990
33991 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
33992 * include/unistd.h (__have_sock_cloexec): Likewise.
33993 (__have_pipe2): Likewise.
33994 (__have_dup3): Likewise.
33995
a277af22
MF
339962012-08-18 Mike Frysinger <vapier@gentoo.org>
33997
33998 [BZ #9685]
33999 * include/unistd.h (__have_pipe2): Change define into an extern int.
34000 (__have_dup3): Likewise.
34001 * socket/have_sock_cloexec.c: Include fcntl.h.
34002 (__have_pipe2): New variable.
34003 (__have_dup3): Likewise.
34004
fdab8fd3
MF
340052012-08-17 Mike Frysinger <vapier@gentoo.org>
34006
34007 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
34008
31035e80
MP
340092012-08-17 Marek Polacek <polacek@redhat.com>
34010
34011 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
34012 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
34013
3bd9e993
RM
340142012-08-17 Roland McGrath <roland@hack.frob.com>
34015
c91c505f
RM
34016 * configure.in: Add AC_SUBST for sysheaders.
34017 * configure: Regenerated.
34018 * config.make.in (sysheaders): New substituted variable.
34019
7c6f9d53
RM
34020 * sysdeps/unix/mkfifo.c: Moved ...
34021 * sysdeps/posix/mkfifo.c: ... here.
34022 * sysdeps/unix/mkfifoat.c: Moved ...
34023 * sysdeps/posix/mkfifoat.c: ... here.
34024
34025 * sysdeps/unix/utime.c: Moved ...
34026 * sysdeps/posix/utime.c: ... here.
34027
34028 * sysdeps/unix/time.c: Moved ...
34029 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
34030 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
34031 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
34032
34033 * sysdeps/unix/nice.c: Moved ...
34034 * sysdeps/posix/nice.c: ... here.
34035
34036 * sysdeps/unix/alarm.c: Moved ...
34037 * sysdeps/posix/alarm.c: ... here.
34038
3bd9e993
RM
34039 * intl/Makefile ($(codeset_mo)): Depend on the input file.
34040
d1f09384
JL
340412012-08-17 Jeff Law <law@redhat.com>
34042
34043 * intl/Makefile (codeset_mo): New variable.
34044 ($(codeset_mo)): New target.
34045 (tst-codeset.out): Depend on that. Remove explicit rule.
34046 (tst-gettext3.out, tst-gettext5.out): Likewise.
34047 (LOCPATH-ENV, tst-codeset-ENV): New variables.
34048 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
34049 * intl/tst-codeset.sh: Remove.
34050 * intl/tst-gettext3.sh: Likewise.
34051 * intl/tst-gettext5.sh: Likewise.
34052
2ae1ae5c
RM
340532012-08-17 Roland McGrath <roland@hack.frob.com>
34054
c31fdb83
RM
34055 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
34056 * sysdeps/unix/syscalls.list: ... here.
34057
a0844057
RM
34058 * sysdeps/posix/getaddrinfo.c
34059 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
34060 (gaiconf_init, gaiconf_reload): Use them.
34061 [!_STATBUF_ST_NSEC]
34062 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
34063 Define using time_t rather than struct timespec.
34064
750c1f2a
RM
34065 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
34066 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
34067 Macros removed.
34068 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
34069 [!NO_THREADS].
34070 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
34071 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
34072 Likewise.
34073
2ae1ae5c
RM
34074 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
34075 __libc_cleanup_push argument.
34076
e66a42f5
RM
34077 * bits/param.h: New file.
34078 * misc/sys/param.h: New file.
34079 * include/sys/param.h: New file.
34080 * misc/Makefile (headers): Add bits/param.h.
34081 * sysdeps/generic/sys/param.h: File removed.
34082 * sysdeps/unix/sysv/linux/bits/param.h: New file.
34083 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
34084 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 34085 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 34086
b7c08a66
RM
34087 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
34088 last change.
34089
b2e1c562
RM
34090 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
34091 [_IO_MTSAFE_IO].
34092 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
34093 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
34094 New macros.
34095
c75ccd4c
RM
34096 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
34097 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
34098 rather than -D_IO_MTSAFE_IO conditionally.
34099 * stdio-common/Makefile (CPPFLAGS): Likewise.
34100 * wcsmbs/Makefile (CPPFLAGS): Likewise.
34101 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
34102 Use $(libio-mtsafe).
34103 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
34104 of -D_IO_MTSAFE_IO.
34105 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
34106 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
34107 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
34108 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
34109 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
34110 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
34111 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
34112 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
34113 (CFLAGS-fread_u_chk.c): Likewise.
34114 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
34115 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
34116 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
34117 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
34118 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
34119 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
34120 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
34121 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
34122 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
34123
34124 * libio/Makefile: Test [$(libc-reentrant) = yes]
34125 instead of [$(filter %REENTRANT, $(defines)) nonempty].
34126
34127 * Makeconfig
34128 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
34129 * sysdeps/pthread/configure: File removed.
34130 * sysdeps/pthread/Makeconfig: New file.
34131 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
34132 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
34133
d9195db8
GB
341342012-08-16 Gary Benson <gbenson@redhat.com>
34135
34136 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
34137 unmapping the first object in a namespace.
34138
86466cd9
RM
341392012-08-16 Roland McGrath <roland@hack.frob.com>
34140
34141 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
34142 (__internal_setnetgrent): ... this. Add internal_function to
34143 definition. Add libc_hidden_def.
34144 (setnetgrent): Update caller.
34145 (internal_endnetgrent): Renamed to ...
34146 (__internal_endnetgrent): ... this. Add internal_function to
34147 definition. Add libc_hidden_def.
34148 (endnetgrent): Update caller.
34149 (internal_getnetgrent_r): Renamed to ...
34150 (__internal_getnetgrent_r): ... this. Add internal_function to
34151 definition. Add libc_hidden_def.
34152 (__getnetgrent_r): Update caller.
34153 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
34154
c3c8283c
JM
341552012-08-16 Joseph Myers <joseph@codesourcery.com>
34156
34157 * stdlib/longlong.h: Update from GCC.
34158
db1ee0a8
RM
341592012-08-16 Roland McGrath <roland@hack.frob.com>
34160
34161 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
34162 on _QL, which is set by umul_ppmm but never used.
34163 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
34164 variables, which are set by GMP macros but never used.
34165 * stdio-common/_itowa.c (_itowa): Likewise.
34166 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
34167 * stdlib/mod_1.c (mpn_mod_1): Likewise.
34168
30f69637
CD
341692012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
34170
34171 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
34172 struct La_sh_regs is not constant.
34173 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
34174 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
34175 and struct La_sparc64_regs are not constant.
34176
93a78ac4
JM
341772012-08-16 Joseph Myers <joseph@codesourcery.com>
34178
34179 * sysdeps/unix/sysv/linux/kernel-features.h
34180 (__ASSUME_POSIX_TIMERS): Remove.
34181 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34182 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34183 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
34184 Make code unconditional.
34185 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34186 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
34187 Make code unconditional.
34188 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34189 * sysdeps/unix/sysv/linux/clock_nanosleep.c
34190 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
34191 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34192 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
34193 Make code unconditional.
34194 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34195 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
34196 (__libc_missing_posix_timers): Remove.
34197
dd924cd7
RM
341982012-08-15 Roland McGrath <roland@hack.frob.com>
34199
4b4f2771
RM
34200 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
34201 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
34202
601c888b
RM
34203 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
34204
176790a7
RM
34205 * elf/dl-sym.c: Include <stdlib.h>.
34206
329bc018
RM
34207 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
34208 constants, which avoids warnings in 32-bit builds.
34209
e04e272d
RM
34210 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
34211 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
34212
952bf94a
RM
34213 * misc/lseek.c: File moved to ...
34214 * io/lseek.c: ... here.
34215
7c99b50a
RM
34216 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
34217
dd924cd7
RM
34218 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
34219 shifting LEN more than 31 bits at once.
34220
b3f479a8
LD
342212012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34222
34223 [BZ #14195]
8c4ae0d4
RM
34224 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
34225 segmentation fault for a case of two empty input strings.
b3f479a8
LD
34226 * string/test-strncasecmp.c (check1): Renamed to...
34227 (bz12205): ...this.
34228 (bz14195): Add new testcase for two empty input strings and N > 0.
34229 (test_main): Call new testcase, adapt for renamed function.
34230
9c55864e
AJ
342312012-08-15 Andreas Jaeger <aj@suse.de>
34232
34233 [BZ #14090]
34234 * crypt/md5test2.c: New test, based on test supplied by Serge
34235 Belyshev <belyshev@depni.sinp.msu.ru>.
34236 * crypt/Makefile (xtests): Add md5test-giant..
34237 * crypt/Makefile ($(objpfx)md5test-giant): Add.
34238
02dcb6c5
PE
342392012-08-15 Paul Eggert <eggert@cs.ucla.edu>
34240
34241 [BZ #14090]
34242 * crypt/md5.c (md5_process_block): Don't assume the buffer
34243 length is less than 2**32.
34244 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
34245 length is less than 2**64.
34246
a3f95dcc
RM
342472012-08-15 Roland McGrath <roland@hack.frob.com>
34248
be75d758
RM
34249 * string/str-two-way.h: Include <sys/param.h>.
34250 (MAX): Macro removed.
34251
7312ca90
RM
34252 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
34253 Move #define and #undef of memmove to just before and after
34254 including <string.h>.
34255
9a0a5486
RM
34256 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
34257 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
34258 and after including <string.h>. Move declarations of
34259 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
34260 to before #include "string/memmove.c".
34261
67cc348d
RM
34262 * include/dirent.h: Declare __getdirentries.
34263
a3f95dcc
RM
34264 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
34265 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
34266
ca98e171
MF
342672012-08-14 Mike Frysinger <vapier@gentoo.org>
34268
34269 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
34270 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
34271 * sysdeps/i386/configure: Regenerated.
34272 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
34273 STABS_CURRENT_FILE, and STABS_FUN.
34274 (END): Remove call to STABS_FUN_END.
34275 (STABS_CURRENT_FILE1): Delete.
34276 (STABS_CURRENT_FILE): Likewise.
34277 (STABS_FUN): Likewise.
34278 (STABS_FUN_END): Likewise.
34279 (STABS_FUN2): Likewise.
34280 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
34281 * sysdeps/x86_64/configure: Regenerated.
34282
5908bf46
RM
342832012-08-14 Roland McGrath <roland@hack.frob.com>
34284
34285 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 34286 * elf/dl-lookup.c: Likewise.
5908bf46 34287
f2c05b9e
JM
342882012-08-14 Joseph Myers <joseph@codesourcery.com>
34289
34290 * sysdeps/unix/sysv/linux/kernel-features.h
34291 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
34292 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
34293 unconditionally.
34294 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
34295 unconditionally.
34296 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
34297 condition on __ASSUME_CLONE_THREAD_FLAGS.
34298
e11f5155
AJ
342992012-08-14 Andreas Jaeger <aj@suse.de>
34300
34301 * sysdeps/i386/fpu/libm-test-ulps: Update.
34302
51a9ba86
MK
343032012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
34304
2fdd4f78
AJ
34305 * include/atomic.h (atomic_exchange_and_add): Split into ...
34306 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
34307 New atomic macros.
51a9ba86 34308
ba6cba9e
MT
343092012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
34310
34311 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34312
42443a47
JL
343132012-08-13 Jeff Law <law@redhat.com>
34314
34315 * manual/stdio.texi (snprintf): Clarify handling of the trailing
34316 null byte in the output string.
34317
121dce05
JM
343182012-08-10 Joseph Myers <joseph@codesourcery.com>
34319
34320 * sysdeps/unix/sysv/linux/kernel-features.h
34321 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
34322 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
34323 (__ASSUME_ARG_MAX_STACK_BASED): Define.
34324 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34325 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
34326 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
34327 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
34328
bf51f568
JL
343292012-08-09 Jeff Law <law@redhat.com>
34330
34331 [BZ #13939]
34332 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
34333 When avoid_arena is set, don't retry in the that arena. Pick the
34334 next one, whatever it might be.
34335 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
34336 (arena_lock): Pass in new parameter to arena_get2.
34337 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
34338 arena_get2.
34339 (__libc_malloc): Unify retrying after main arena failure with
34340 __libc_memalign version.
34341 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
34342
f85fa270
L
343432012-08-09 H.J. Lu <hongjiu.lu@intel.com>
34344
34345 [BZ #14166]
34346 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
34347 to __redirect_strstr.
34348 (__strstr_sse42): Use typeof __redirect_strstr.
34349 (__strstr_ia32): Likewise.
34350 (__libc_strstr): New prototype.
34351 (strstr): Renamed to ...
34352 (__libc_strstr): This.
34353 (strstr): New strong alias of __libc_strstr.
34354 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34355 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
34356 __redirect_time.
34357 Include <time.h>.
34358 (__libc_time): New prototype.
34359 (time_ifunc): Replace time with __libc_time.
34360 (time): New strong alias and hidden definition of __libc_time.
34361 (__GI_time): Remove strong alias.
34362 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
34363 Include <stddef.h>.
34364 (memmove): Redefined to __redirect_memmove.
34365 (__memmove_sse2): Use typeof __redirect_memmove.
34366 (__memmove_ssse3): Likewise.
34367 (__memmove_ssse3_back): Likewise.
34368 (__libc_memmove): New prototype.
34369 (memmove): Renamed to ...
34370 (__libc_memmove): This.
34371 (memmove): New strong alias of __libc_memmove.
34372
33b4a91e
MS
343732012-08-08 Mark Salter <msalter@redhat.com>
34374
34375 * elf/elf.h
34376 (R_MN10300_TLS_GD): Define.
34377 (R_MN10300_TLS_LD): Likewise.
34378 (R_MN10300_TLS_LDO): Likewise.
34379 (R_MN10300_TLS_GOTIE): Likewise.
34380 (R_MN10300_TLS_IE): Likewise.
34381 (R_MN10300_TLS_LE): Likewise.
34382 (R_MN10300_TLS_DTPMOD): Likewise.
34383 (R_MN10300_TLS_DTPOFF): Likewise.
34384 (R_MN10300_TLS_TPOFF): Likewise.
34385 (R_MN10300_SYM_DIFF): Likewise.
34386 (R_MN10300_ALIGN): Likewise.
34387 (R_MN10300_NUM): Update.
34388
b36137f1
JM
343892012-08-08 Joseph Myers <joseph@codesourcery.com>
34390
34391 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
34392 Remove.
34393
cdd915fd
RM
343942012-08-08 Roland McGrath <roland@hack.frob.com>
34395
a2433aac
RM
34396 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
34397
cdd915fd
RM
34398 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
34399 sysdeps/unix -> sysdeps/posix move.
34400 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34401
bf9b740a
AM
344022012-08-07 Allan McRae <allan@archlinux.org>
34403
34404 [BZ #14303]
34405 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
34406 (SUNOS_CPP): Likewise.
34407 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
34408 not found.
34409 (open_input): Call CPP using execvp.
34410
93df14ee
JM
344112012-08-07 Joseph Myers <joseph@codesourcery.com>
34412
34413 * sysdeps/unix/sysv/linux/kernel-features.h
34414 (__ASSUME_PROT_GROWSUPDOWN): Remove.
34415 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34416 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34417 (__ASSUME_WAITID_SYSCALL): Likewise.
34418 * sysdeps/unix/sysv/linux/dl-execstack.c
34419 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
34420 code unconditional.
34421 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
34422 conditional code.
34423 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
34424 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
34425 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
34426 code.
34427 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
34428 unconditional.
34429 [__ASSUME_WAITID_SYSCALL]: Likewise.
34430 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
34431
d34689de
RM
344322012-08-07 Roland McGrath <roland@hack.frob.com>
34433
a281decc
RM
34434 * sysdeps/unix/closedir.c: Renamed to ...
34435 * sysdeps/posix/closedir.c: ... here.
34436 * sysdeps/unix/dirfd.c: Renamed to ...
34437 * sysdeps/posix/dirfd.c: ... here.
34438 * sysdeps/unix/dirstream.h: Renamed to ...
34439 * sysdeps/posix/dirstream.h: ... here.
34440 * sysdeps/unix/fdopendir.c: Renamed to ...
34441 * sysdeps/posix/fdopendir.c: ... here.
34442 * sysdeps/unix/opendir.c: Renamed to ...
34443 * sysdeps/posix/opendir.c: ... here.
34444 * sysdeps/unix/readdir.c: Renamed to ...
34445 * sysdeps/posix/readdir.c: ... here.
34446 * sysdeps/unix/readdir_r.c: Renamed to ...
34447 * sysdeps/posix/readdir_r.c: ... here.
34448 * sysdeps/unix/rewinddir.c: Renamed to ...
34449 * sysdeps/posix/rewinddir.c: ... here.
34450 * sysdeps/unix/seekdir.c: Renamed to ...
34451 * sysdeps/posix/seekdir.c: ... here.
34452 * sysdeps/unix/telldir.c: Renamed to ...
34453 * sysdeps/posix/telldir.c: ... here.
34454 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
34455 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
34456 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34457 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
34458
22895b47
RM
34459 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
34460 * bits/fcntl.h: ... here.
34461
707a53b6
RM
34462 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
34463 not 0.
34464 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
34465 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
34466 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
34467 (struct flock): Move l_start, l_len to the beginning.
34468 Use __pid_t for l_pid.
34469 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
34470 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
34471 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
34472 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
34473 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
34474 [__USE_LARGEFILE64] (struct flock64): New type.
34475 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
34476
f0bd3e25
RM
34477 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
34478 * bits/dirent.h: ... here.
34479
d34689de
RM
34480 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
34481 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
34482
6dad2c06
JM
344832012-08-07 Joseph Myers <joseph@codesourcery.com>
34484
34485 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34486 Change from 2.6.0 to 2.6.16.
34487 * sysdeps/unix/sysv/linux/configure: Regenerated.
34488 * sysdeps/unix/sysv/linux/kernel-features.h
34489 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
34490 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
34491 version.
34492 (__ASSUME_UTIMES): Likewise.
34493 (__ASSUME_CLONE_STOPPED): Remove.
34494 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
34495 architectures, not kernel version.
34496 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
34497 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34498 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34499 (__ASSUME_WAITID_SYSCALL): Likewise.
34500 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
34501 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
34502 * README: State 2.6.16 as minimum Linux kernel version. Do not
34503 refer to older versions.
34504
03af9520
RM
345052012-08-06 Roland McGrath <roland@hack.frob.com>
34506
8e49df1d
RM
34507 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
34508 Define alphasort64 as an alias.
34509 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
34510 Define versionsort64 as an alias.
34511 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
34512 Define scandir64 as an alias.
34513 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
34514 Define scandirat64 as an alias.
34515 * dirent/alphasort64.c (alphasort64):
34516 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
34517 * dirent/versionsort64.c: Likewise.
34518 * dirent/scandir64.c: Likewise.
34519 * dirent/scandirat64.c: Likewise.
34520 * sysdeps/wordsize-64/alphasort.c: File removed.
34521 * sysdeps/wordsize-64/alphasort64.c: File removed.
34522 * sysdeps/wordsize-64/scandir.c: File removed.
34523 * sysdeps/wordsize-64/scandir64.c: File removed.
34524 * sysdeps/wordsize-64/scandirat.c: File removed.
34525 * sysdeps/wordsize-64/scandirat64.c: File removed.
34526 * sysdeps/wordsize-64/versionsort.c: File removed.
34527 * sysdeps/wordsize-64/versionsort64.c: File removed.
34528 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
34529 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
34530 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
34531 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
34532 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
34533 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
34534 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
34535 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
34536
34537 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
34538 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34539 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
34540 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34541 [defined __arch64__ || defined __sparcv9]
34542 (__INO_T_MATCHES_INO64_T): New macro.
34543 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34544 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
34545 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
34546 * sysdeps/unix/sysv/linux/bits/dirent.h
34547 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
34548 (_DIRENT_MATCHES_DIRENT64): New macro.
34549
03af9520
RM
34550 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
34551 Define lockf64 as an alias.
34552 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
34553 Define fseeko64 as an alias.
34554 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
34555 Define ftello64 as an alias.
34556 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
34557 Define _IO_fgetpos64 and fgetpos64 as aliases.
34558 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
34559 Define _IO_fsetpos64 and fsetpos64 as aliases.
34560 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
34561 Conditionalize body on this.
34562 * libio/fseeko64.c: Likewise.
34563 * libio/ftello64.c: Likewise.
34564 * libio/iofgetpos64.c: Likewise.
34565 * libio/iofsetpos64.c: Likewise.
34566 * sysdeps/wordsize-64/lockf.c: File removed.
34567 * sysdeps/wordsize-64/lockf64.c: File removed.
34568 * sysdeps/wordsize-64/fseeko.c: File removed.
34569 * sysdeps/wordsize-64/fseeko64.c: File removed.
34570 * sysdeps/wordsize-64/ftello.c: File removed.
34571 * sysdeps/wordsize-64/ftello64.c: File removed.
34572 * sysdeps/wordsize-64/iofgetpos.c: File removed.
34573 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
34574 * sysdeps/wordsize-64/iofsetpos.c: File removed.
34575 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
34576 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
34577 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
34578 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
34579 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
34580 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
34581 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
34582 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
34583 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
34584 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
34585 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
34586
34587 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34588 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34589 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
34590 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34591 [defined __arch64__ || defined __sparcv9]
34592 (__OFF_T_MATCHES_OFF64_T): New macro.
34593 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34594 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34595 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34596 (__OFF_T_MATCHES_OFF64_T): New macro.
34597
c5757acd
L
345982012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34599
34600 * stdlib/secure-getenv.c (__secure_getenv): Replace
34601 GLIBC_2_16 with GLIBC_2_17.
34602
3a31811e
L
346032012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34604
34605 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
34606 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34607
faa2bccb
DM
346082012-08-03 David S. Miller <davem@davemloft.net>
34609
34610 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34611
85fe1997
JM
346122012-08-03 Joseph Myers <joseph@codesourcery.com>
34613
34614 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
34615 Remove.
34616 (__ASSUME_CORRECT_SI_PID): Likewise.
34617 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
34618 (__ASSUME_TMPFS_NAME): Likewise.
34619 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
34620 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
34621 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
34622 (HAVE_AUX_SECURE): Make definition unconditional.
34623 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
34624 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
34625
4f75b7a0
RM
346262012-08-03 Roland McGrath <roland@hack.frob.com>
34627
34628 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
34629 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
34630 * sysdeps/mach/hurd/eloop-threshold.h: New file.
34631 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34632 __eloop_threshold instead of SYMLOOP_MAX.
34633
34634 * sysdeps/generic/eloop-threshold.h: New file.
34635 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
34636 of MAXSYMLINKS.
34637 * elf/chroot_canon.c (chroot_canon): Likewise.
34638
7aab07e4
JM
346392012-08-03 Joseph Myers <joseph@codesourcery.com>
34640
34641 [BZ #13717]
34642 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34643 Change to 2.6.0 everywhere.
34644 * sysdeps/unix/sysv/linux/configure: Regenerated.
34645 * sysdeps/unix/sysv/linux/kernel-features.h
34646 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
34647 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
34648 kernel versions.
34649 (__ASSUME_POSIX_TIMERS): Define unconditionally.
34650 (__ASSUME_FUTEX_REQUEUE): Remove.
34651 (__ASSUME_STATFS64): Define unconditionally.
34652 (__ASSUME_AT_SECURE): Likewise.
34653 (__ASSUME_CORRECT_SI_PID): Likewise.
34654 (__ASSUME_TGKILL): Define without depending on kernel version for
34655 i386.
34656 (__ASSUME_UTIMES): Likewise.
34657 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
34658 kernel version.
34659 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
34660 (__ASSUME_TMPFS_NAME): Likewise.
34661 * README: Update reference to Linux kernel versions.
34662
b67e9372
MP
346632012-08-02 Marek Polacek <polacek@redhat.com>
34664
1f529f7d 34665 [BZ# 14150]
b67e9372
MP
34666 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
34667 libc_cv_asm_type_prefix with %.
34668 * configure: Regenerated.
d2441631
RM
34669 * include/libc-symbols.h: Remove comment about
34670 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
34671 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
34672 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
34673 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
34674 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
34675 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34676 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
34677 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
34678 * elf/tst-unique2mod1.c: Likewise.
34679 * elf/tst-unique1mod2.c: Likewise.
34680 * elf/tst-unique1mod1.c: Likewise.
34681 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
34682 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
34683 Replace ASM_TYPE_DIRECTIVE with .type.
34684 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34685 * sysdeps/i386/sysdep.h: Likewise.
34686 * sysdeps/x86_64/sysdep.h: Likewise.
34687 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
34688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34689 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 34690 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
34691 * sysdeps/powerpc/powerpc32/sysdep.h:
34692 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
34693 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34694 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34695 * sysdeps/i386/fpu/e_powf.S: Likewise.
34696 * sysdeps/i386/fpu/e_expl.S: Likewise.
34697 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34698 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34699 * sysdeps/i386/fpu/e_pow.S: Likewise.
34700 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34701 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34702 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34703 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34704 * sysdeps/i386/fpu/e_log2.S: Likewise.
34705 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34706 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34707 * sysdeps/i386/fpu/e_powl.S: Likewise.
34708 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34709 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34710 * sysdeps/i386/fpu/e_logl.S: Likewise.
34711 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34712 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34713 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34714 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34715 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34716 * sysdeps/i386/fpu/e_log.S: Likewise.
34717 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34718 * sysdeps/i386/fpu/e_logf.S: Likewise.
34719 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34720 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34721 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34722 * sysdeps/i386/fpu/e_log10.S: Likewise.
34723 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34724 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34725 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34726 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34727 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34728 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34729 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34730 * sysdeps/i386/i686/strtok.S: Likewise.
34731 * sysdeps/i386/i386-mcount.S: Likewise.
34732 * sysdeps/i386/strtok.S: Likewise.
34733 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34734 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34735 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34736 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34737 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34738 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34739 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34740 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34741 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34742 * sysdeps/x86_64/_mcount.S: Likewise.
34743 * sysdeps/x86_64/strtok.S: Likewise.
34744 * sysdeps/sh/_mcount.S: Likewise.
34745
2747bf9a
RM
347462012-08-01 Roland McGrath <roland@hack.frob.com>
34747
34748 * libio/iofopen.c: Include <fcntl.h>.
34749 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34750 (_IO_fopen64, fopen64): Define as aliases.
34751 * libio/iofopen64.c: Include <fcntl.h>.
34752 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34753 Conditionalize body on this.
34754 * sysdeps/wordsize-64/iofopen.c: File removed.
34755 * sysdeps/wordsize-64/iofopen64.c: File removed.
34756
3fb791b8
MP
347572012-08-01 Marek Polacek <polacek@redhat.com>
34758
34759 * libc/Makeconfig: Use elf in place of binfmt-subdir.
34760 Use dlfcn directly instead of a variable.
34761 (binfmt-subdir): Do not define.
34762 (dlfcn): Likewise.
34763
a9f1039f
JM
347642012-08-01 Joseph Myers <joseph@codesourcery.com>
34765
23bddc06
JM
34766 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34767 Remove all definitions.
34768 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34769 <kernel-features.h>.
34770 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34771 (miss_F_GETOWN_EX): Remove all definitions.
34772 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34773 macro definition.
34774 [!__ASSUME_FCNTL64]: Remove conditional code.
34775 [__ASSUME_FCNTL64]: Make code unconditional.
34776 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34777 <kernel-features.h>.
34778 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34779 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34780 (lockf64) [__NR_fcntl64]: Make code unconditional.
34781 (lockf64) [__ASSUME_FCNTL64]: Likewise.
34782
a9f1039f
JM
34783 * sysdeps/unix/sysv/linux/kernel-features.h
34784 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34785 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34786 Make code unconditional.
34787 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34788 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34790 [__NR_vfork]: Make code unconditional.
34791 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34792 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34794 [__NR_vfork]: Make code unconditional.
34795 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34796 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34797
09c0ee5f
RM
347982012-08-01 Roland McGrath <roland@hack.frob.com>
34799
48aec5b9
RM
34800 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34801 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34802
cd97c966
RM
34803 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34804 Define mkstemp64 as an alias.
3f55550c
RM
34805 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34806 Define mkstemps64 as an alias.
cd97c966
RM
34807 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34808 Define mkostemp64 as an alias.
b8625cfc
RM
34809 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34810 Define mkostemps64 as an alias.
cd97c966
RM
34811 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
34812 Conditionalize body on this.
34813 * misc/mkostemp64.c: Likewise.
b8625cfc 34814 * misc/mkostemps64.c: Likewise.
3f55550c 34815 * misc/mkstemps64.c: Likewise.
cd97c966
RM
34816 * sysdeps/wordsize-64/mkstemp64.c: File removed.
34817 * sysdeps/wordsize-64/mkostemp64.c: File removed.
34818 * sysdeps/wordsize-64/mkostemp.c: File removed.
34819 * sysdeps/wordsize-64/mkstemp.c: File removed.
34820 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
34821 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
34822 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
34823 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
34824
09c0ee5f
RM
34825 [BZ #14138]
34826 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
34827 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
34828 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
34829 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
34830
34831 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
34832 compat_symbol macros from <shlib-compat.h> rather than the underlying
34833 default_symbol_version and symbol_version macros, so that DEFAULT
34834 lines in shlib-versions are respected.
34835 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
34836
7e66ee51
FW
348372012-08-01 Florian Weimer <fweimer@redhat.com>
34838
34839 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
34840 Declare with warn_unused_result.
34841 (setgid, setregid, setegid, setresgid): Likewise.
34842 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
34843 Likewise.
34844 * WUR-REPORT: Remove set*id functions.
34845
d2a54255
PT
348462012-07-31 Pino Toscano <toscano.pino@tiscali.it>
34847
34848 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
34849
7ecdb005
RM
348502012-07-31 Roland McGrath <roland@hack.frob.com>
34851
b4180a5e 34852 [BZ #10191]
789bd351
RM
34853 * include/sys/socket.h (__libc_accept, __libc_accept4):
34854 Add attribute_hidden.
34855 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
34856
40ce302d
RM
34857 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
34858 use of PTR_MANGLE.
34859 * inet/getnetgrent_r.c (setup): Likewise.
34860
7ecdb005
RM
34861 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
34862
e2eabb2c
DM
348632012-07-31 David S. Miller <davem@davemloft.net>
34864
34865 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34866
d0419dbf
JM
348672012-07-31 Joseph Myers <joseph@codesourcery.com>
34868
34869 [BZ #13629]
34870 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
34871 value between 1.0 and 2.0 and smaller part has absolute value less
34872 than 1.0.
34873 * math/s_clog10.c (__clog10): Likewise.
34874 * math/s_clog10f.c (__clog10f): Likewise.
34875 * math/s_clog10l.c (__clog10l): Likewise.
34876 * math/s_clogf.c (__clogf): Likewise.
34877 * math/s_clogl.c (__clogl): Likewise.
34878 * math/libm-test.inc (clog_test): Add more tests.
34879 (clog10_test): Likewise.
34880 * sysdeps/i386/fpu/libm-test-ulps: Update.
34881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34882
2bc13872
FW
348832012-07-31 Florian Weimer <fweimer@redhat.com>
34884
34885 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
34886 Exit with zero in case no suitable GID is found, and write a
34887 message to standard error.
34888
bea9b193
RM
348892012-07-30 Roland McGrath <roland@hack.frob.com>
34890
34891 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
34892 rather than to 1.
34893 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
34894 (MAXPATHLEN): Removed.
34895 (NOGROUP, NODEV): New macros.
34896 (setbit, clrbit, isset, isclr): New macros.
34897 (howmany, roundup, powerof2): New macros.
34898 (DEV_BSIZE): New macro.
34899
34900 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
34901 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
34902
34903 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
34904 definition on [!__NO_LONG_DOUBLE_MATH].
34905
34906 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
34907 PTR_MANGLE and PTR_DEMANGLE.
34908
34909 * socket/accept4.c (accept4): Rename to __libc_accept4.
34910 Define accept4 as a weak alias.
34911
34912 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
34913 on [_DIRENT_HAVE_D_TYPE].
34914 * io/ftw.c (ftw_dir): Likewise.
34915
34916 * io/xmknod.c (__xmknod): Don't check PATH for being null.
34917
34918 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
34919
34920 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
34921 Use the BSD numbers rather than the arbitrary ones we had.
34922 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
34923 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
34924 (SIGXCPU, SIGXFSZ): New macros.
34925 (_NSIG): Now 32.
34926
34927 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
34928 initializer on [_LIBC_REENTRANT].
34929
34930 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
34931 definitions inside [_POSIX_MAPPED_FILES].
34932
34933 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
34934
34935 * dirent/opendir.c: Include <fcntl.h>.
34936
34937 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
34938 (__libc_getspecific): Likewise.
34939 (__libc_key_create): Likewise.
34940
34941 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
34942 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
34943 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
34944 (tmpfile64): Define as alias.
34945 * sysdeps/wordsize-64/tmpfile.c: File removed.
34946 * sysdeps/wordsize-64/tmpfile64.c: File removed.
34947 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
34948 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
34949
34950 * stdio-common/vfscanf.c: Include <stdbool.h>.
34951 * nss/makedb.c: Likewise.
34952 * stdio-common/_i18n_number.h: Likewise.
34953 * argp/argp-help.c: Likewise.
34954 * posix/wordexp.c: Likewise.
34955 * sysdeps/posix/spawni.c: Likewise.
34956 * nss/nss_files/files-initgroups.c: Likewise.
34957 * stdio-common/reg-modifier.c: Include <stdlib.h>.
34958 * nss/nss_files/files-initgroups.c: Likewise.
34959 * nss/nss_db/db-netgrp.c: Likewise.
34960 * nss/nss_db/db-initgroups.c: Likewise.
34961 * io/fchmodat.c: Include <sys/stat.h>.
34962
34963 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
34964 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
34965
34966 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
34967 [HAVE_MMAP].
34968
34969 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
34970 Add multiple inclusion protection.
34971
e5abc686
DM
349722012-07-27 David S. Miller <davem@davemloft.net>
34973
34974 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34975
815e6fa3
GB
349762012-07-27 Gary Benson <gbenson@redhat.com>
34977
34978 [BZ #14298]
34979 * elf/rtld.c: Include <stap-probe.h>.
34980 (dl_main): Added static probes "init_start" and "init_complete".
34981 * elf/dl-load.c: Include <stap-probe.h>.
34982 (lose): Take new parameter "nsid".
34983 Added static probe "map_failed".
34984 (_dl_map_object_from_fd): Pass namespace id to lose.
34985 Added static probe "map_start".
34986 (open_verify): Pass namespace id to lose.
34987 * elf/dl-open.c: Include <stap-probe.h>.
34988 (dl_open_worker) Added static probes "map_complete", "reloc_start"
34989 and "reloc_complete".
34990 * elf/dl-close.c: Include <stap-probe.h>.
34991 (_dl_close_worker): Added static probes "unmap_start" and
34992 "unmap_complete".
34993 * elf/rtld-debugger-interface.txt: New file documenting the above.
34994
9f98c16c
RM
349952012-07-26 Roland McGrath <roland@hack.frob.com>
34996
34997 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
34998 rather than a string variable.
34999 * sunrpc/rpc_main.c (h_output): Likewise.
35000 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
35001
f3c22df3
PT
350022012-07-26 Pino Toscano <toscano.pino@tiscali.it>
35003
35004 * inet/check_native.c: New file.
35005
3129cfc6
JM
350062012-07-26 Joseph Myers <joseph@codesourcery.com>
35007
da865e95
JM
35008 [BZ #13629]
35009 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
35010 if larger part has absolute value 1.0.
35011 * math/s_clog10.c (__clog10): Likewise.
35012 * math/s_clog10f.c (__clog10f): Likewise.
35013 * math/s_clog10l.c (__clog10l): Likewise.
35014 * math/s_clogf.c (__clogf): Likewise.
35015 * math/s_clogl.c (__clogl): Likewise.
35016 * math/libm-test.inc (clog_test): Add more tests.
35017 (clog10_test): Likewise.
35018 * sysdeps/i386/fpu/libm-test-ulps: Update.
35019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35020
3129cfc6
JM
35021 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
35022 (pltexit): Likewise.
35023 (La_regs): Likewise.
35024 (La_retval): Likewise.
35025 (int_retval): Likewise.
35026 Update #error for removed macros to refer only to definitions in
35027 tst-audit.h.
35028 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
35029 macro.
35030 (pltexit): Likewise.
35031 (La_regs): Likewise.
35032 (La_retval): Likewise.
35033 (int_retval): Likewise.
35034 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
35035 macro.
35036 (pltexit): Likewise.
35037 (La_regs): Likewise.
35038 (La_retval): Likewise.
35039 (int_retval): Likewise.
35040 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
35041 macro.
35042 (pltexit): Likewise.
35043 (La_regs): Likewise.
35044 (La_retval): Likewise.
35045 (int_retval): Likewise.
35046 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
35047 macro.
35048 (pltexit): Likewise.
35049 (La_regs): Likewise.
35050 (La_retval): Likewise.
35051 (int_retval): Likewise.
35052 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
35053 macro.
35054 (pltexit): Likewise.
35055 (La_regs): Likewise.
35056 (La_retval): Likewise.
35057 (int_retval): Likewise.
35058 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
35059 macro.
35060 (pltexit): Likewise.
35061 (La_regs): Likewise.
35062 (La_retval): Likewise.
35063 (int_retval): Likewise.
35064 * sysdeps/generic/tst-audit.h: Update comment to refer only to
35065 macro definitions in tst-audit.h.
35066 * sysdeps/i386/tst-audit.h: New file.
35067 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
35068 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
35069 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
35070 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
35071 * sysdeps/sh/tst-audit.h: Likewise.
35072 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
35073 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
35074 * sysdeps/x86_64/tst-audit.h: Likewise.
35075
bfc07087
AJ
350762012-07-26 Andreas Jaeger <aj@suse.de>
35077
b1b2aaf8
AJ
35078 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
35079 ptrace.
35080
35081 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
35082 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
35083 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
35084 PTRACE_O_MASK.
35085 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
35086 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
35087 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
35088
bfc07087
AJ
35089 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
35090 value.
35091
35092 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
35093 _sigsys.
35094 (si_call_addr, si_syscall, si_arch): Define new macro.
35095 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
35096 _sigsys.
35097 (si_call_addr, si_syscall, si_arch): Define new marcro.
35098 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
35099 _sigsys.
35100 (si_call_addr, si_syscall, si_arch): Define new macro.
35101 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
35102 _sigsys.
35103 (si_call_addr, si_syscall, si_arch): Define new macro.
35104
89b4b02f
JM
351052012-07-25 Joseph Myers <joseph@codesourcery.com>
35106
35107 [BZ #13717]
35108 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35109 Change to 2.4.21 where previously 2.4.1.
35110 * sysdeps/unix/sysv/linux/configure: Regenerated.
35111 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
35112 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
35113 Linux kernel version.
35114 (__ASSUME_STD_AUXV): Remove.
35115 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
35116 kernel version.
35117 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
35118 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
35119 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
35120 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
35121 (__ASSUME_NETLINK_SUPPORT): Likewise.
35122 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
35123 (__no_netlink_support): Remove conditional definition.
35124 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
35125 Remove.
35126 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35127 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
35128 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
35129 (if_nameindex_ioctl): Remove.
35130 (if_nameindex_netlink): Do not handle __no_netlink_support.
35131 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35132 code.
35133 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
35134 Remove conditional code.
35135 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35136 code.
35137 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
35138 unconditional.
35139 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35140 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
35141 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
35142 Remove.
35143 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
35144 [!__ASSUME_STD_AUXV]: Remove conditional code.
35145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
35146 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
35147 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
35148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
35149 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
35150 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35151 code.
35152 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35154 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
35155 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35156 conditional code.
35157 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
35159 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35160 code.
35161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35162 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35163 conditional code.
35164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
35165 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35166 code unconditional.
35167 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35168 conditional code.
35169 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35170 unconditional.
35171 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35172 conditional code.
35173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35174 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35175 unconditional.
35176 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35177 conditional code.
35178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
35179 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35180 code unconditional.
35181 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35182 conditional code.
35183 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35184 unconditional.
35185 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35186 conditional code.
35187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
35188 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35189 code unconditional.
35190 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35191 conditional code.
35192 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35193 unconditional.
35194 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35195 conditional code.
35196
842a39cd
AS
351972012-07-25 Andreas Schwab <schwab@linux-m68k.org>
35198
35199 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
35200 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
35201 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35202 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
35203 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
35204 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
35205 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
35206 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
35207 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
35208 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
35209 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
35210 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
35211 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
35212 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
35213 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
35214 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
35215 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
35216 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
35217 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
35218 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
35219 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
35220 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
35221 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35222
84b3fd84
FW
352232012-07-25 Florian Weimer <fweimer@redhat.com>
35224
35225 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
35226 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
35227 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
35228 Introduce __libc_secure_getenv.
0c7936d5
FW
35229 * stdlib/Versions (2.17): Add secure_getenv
35230 (GLIBC_PRIVATE): Add __libc_secure_getenv.
35231 * stdlib/secure-getenv.c: Rename __secure_getenv to
35232 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
35233 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
35234 * stdlib/tst-secure-getenv.c: New.
35235 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
35236 * manual/startup.texi (Environment Access): Document
35237 secure_getenv.
84b3fd84
FW
35238 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
35239 __libc_secure_getenv.
35240 * inet/ruserpass.c (ruserpass): Likewise.
35241 * malloc/mtrace.c (mtrace): Likewise.
35242 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 35243 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
35244 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
35245 * sysdeps/posix/tempname.c: Likewise. Evaluate
35246 HAVE_SECURE_GETENV.
35247 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 35248 __secure_getenv to __libc_secure_getenv.
84b3fd84 35249 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
35250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35251 Likewise.
35252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35253 Likewise.
35254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35256 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35257 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35258 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35260 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 35261
56e49b71
JM
352622012-07-25 Joseph Myers <joseph@codesourcery.com>
35263
35264 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
35265 (struct La_i86_retval): Likewise.
35266 (struct La_x86_64_regs): Likewise.
35267 (struct La_x86_64_retval): Likewise.
35268 (struct La_x32_regs): Likewise.
35269 (struct La_x32_retval): Likewise.
35270 (struct La_ppc32_regs): Likewise.
35271 (struct La_ppc32_retval): Likewise.
35272 (struct La_ppc64_regs): Likewise.
35273 (struct La_ppc64_retval): Likewise.
35274 (struct La_sh_regs): Likewise.
35275 (struct La_sh_retval): Likewise.
35276 (struct La_s390_32_regs): Likewise.
35277 (struct La_s390_32_retval): Likewise.
35278 (struct La_s390_64_regs): Likewise.
35279 (struct La_s390_64_retval): Likewise.
35280 (struct La_sparc32_regs): Likewise.
35281 (struct La_sparc32_retval): Likewise.
35282 (struct La_sparc64_regs): Likewise.
35283 (struct La_sparc64_retval): Likewise.
35284 (struct audit_ifaces): Remove architecture-specific pltenter and
35285 pltexit members.
35286 * sysdeps/i386/ldsodefs.h: New file.
35287 * sysdeps/powerpc/ldsodefs.h: Likewise.
35288 * sysdeps/s390/ldsodefs.h: Likewise.
35289 * sysdeps/sh/ldsodefs.h: Likewise.
35290 * sysdeps/sparc/ldsodefs.h: Likewise.
35291 * sysdeps/x86_64/ldsodefs.h: Likewise.
35292
354691b7
MP
352932012-07-25 Marek Polacek <polacek@redhat.com>
35294
35295 [BZ #6808]
35296 * math/libm-test.inc (yn_test): Add another test.
35297 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
35298 to ERANGE when the result is +-Inf.
35299 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
35300 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35301 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
35302 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
35303
bf9e2071
JM
353042012-07-24 Joseph Myers <joseph@codesourcery.com>
35305
35306 * conform/data/time.h-data (NULL): Use macro-constant. Require
35307 equal to 0.
35308 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
35309 clock_t.
35310 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
35311
57633811
TS
353122012-07-23 Thomas Schwinge <thomas@codesourcery.com>
35313
35314 * configure.in <sysdeps resolving>: Correct printing
35315 Implies_before.
35316 * configure: Regenerate.
35317
c23c33b0
TS
353182012-07-22 Thomas Schwinge <thomas@codesourcery.com>
35319
35320 * math/w_ilogb.c: Include <limits.h>.
35321 * math/w_ilogbl.c: Likewise.
35322
b5982523
JM
353232012-07-20 Joseph Myers <joseph@codesourcery.com>
35324
35325 * manual/lang.texi (__va_copy): Document primarily as ISO C99
35326 va_copy. Document allowing for unavailable va_copy only as
35327 pre-C99 compatibility.
35328 * manual/string.texi (Copying and Concatenation): Use va_copy
35329 instead of __va_copy in concat example.
35330
ac4ea442
PT
353312012-07-20 Pino Toscano <toscano.pino@tiscali.it>
35332
35333 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
35334 (__sendto): Use create_address_port. Initialize APORT and deallocate
35335 it if not null.
35336
f98eafbd
PT
35337 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
35338 with O_NOLINK passed to __file_name_lookup.
35339
898c7aab
PT
35340 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
35341 with O_NOLINK passed to __file_name_lookup.
35342
0ced335a
PT
35343 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
35344 negative N or less than NGIDS.
35345
b3404dbd
PT
35346 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
35347 type to string_t. Set ERANGE as errno and return it if NAME is not big
35348 enough. Use memcpy instead of strncpy.
35349
0f48659e
JM
353502012-07-20 Joseph Myers <joseph@codesourcery.com>
35351
35352 * elf/Makefile (check-data): Remove.
35353 (localplt.data): New vpath directive.
35354 ($(objpfx)check-localplt.out): Use localplt.data from vpath
35355 instead of $(check-data).
35356 * scripts/data/localplt-generic.data: Move to ...
35357 * sysdeps/generic/localplt.data: ... here.
35358 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
35359 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
35360 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
35361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
35362 ... here.
35363 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
35364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
35365 ... here.
35366 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
35367 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
35368 ... here.
35369 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
35370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35371 ... here.
35372 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
35373 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
35374 ... here.
35375 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
35376 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
35377 ... here.
35378
d37cbdaa
AZ
353792012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35380
35381 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
35382 PPC32 and PPC64 files.
35383 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
35384 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
35385
46f85fc2
AK
353862012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35387
35388 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
35389 __makecontext_ret to ...
35390 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
35391 ... here and call exit if uc_link is NULL. New file.
35392 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
35393 __makecontext_ret.S.
35394 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
35395 __makecontext_ret to ...
35396 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
35397 ... here and call exit if uc_link is NULL. New file.
35398 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
35399 __makecontext_ret.S.
35400
08f43f9b
AK
354012012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35402
35403 * elf/elf.h (R_390_IRELATIVE): New definition.
35404 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
35405 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
35406 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
35407 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35408 (elf_machine_lazy_rel): Likewise.
35409 * sysdeps/s390/dl-irel.h: New file.
35410 * sysdeps/s390/s390-64/memcpy.S: New asm code.
35411 * sysdeps/s390/s390-64/memset.S: New asm code.
35412 * sysdeps/s390/s390-64/memcmp.S: New asm code.
35413 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
35414 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
35415 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
35416 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
35417 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
35418 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
35419 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
35420 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
35421 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
35422 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
35423 * sysdeps/s390/s390-32/memcpy.S: New asm code.
35424 * sysdeps/s390/s390-32/memset.S: New asm code.
35425 * sysdeps/s390/s390-32/memcmp.S: New asm code.
35426
3b05db33
MP
354272012-07-17 Marek Polacek <polacek@redhat.com>
35428
35429 [BZ #14349]
35430 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
35431 * sysdeps/s390/s390-64/configure.in: Likewise.
35432 * sysdeps/sparc/configure.in: Likewise.
35433 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
35434 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
35435 * sysdeps/i386/configure.in: Likewise.
35436 * sysdeps/x86_64/configure.in: Likewise.
35437 * sysdeps/sh/configure.in: Likewise.
35438 * sysdeps/s390/s390-32/configure: Regenerated.
35439 * sysdeps/s390/s390-64/configure: Likewise.
35440 * sysdeps/x86_64/configure: Likewise.
35441 * sysdeps/sh/configure: Likewise.
35442 * sysdeps/powerpc/powerpc64/configure: Likewise.
35443 * sysdeps/powerpc/powerpc32/configure: Likewise.
35444 * sysdeps/sparc/configure: Likwise.
35445 * sysdeps/i386/configure: Likewise.
35446
a66877c6
MP
35447 * elf/dl-open.c: Comment fixes.
35448
cfc82fd8
JM
354492012-07-17 Joseph Myers <joseph@codesourcery.com>
35450
bd29910a
JM
35451 * Makefile [CXX] (check-data): Remove.
35452 [CXX] (c++-types.data): New vpath directive.
35453 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
35454 vpath. Do not allow for C++ type data being missing.
35455 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
35456 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
35457 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
35458 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
35459 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
35460 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
35461 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
35462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
35463 ... here.
35464 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
35465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
35466 ... here.
35467 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
35468 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
35469 ... here.
35470 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
35471 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
35472 ... here.
35473 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
35474 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
35475 ... here.
35476 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
35477 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
35478 ... here.
35479 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
35480 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
35481 ... here.
35482 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
35483 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
35484
cfc82fd8
JM
35485 * elf/tls-macros.h (TLS_LE): Move architecture-specific
35486 definitions to architecture-specific files.
35487 (TLS_IE): Likewise.
35488 (TLS_LD): Likewise.
35489 (TLS_GD): Likewise.
35490 * sysdeps/i386/tls-macros.h: New file.
35491 * sysdeps/powerpc/tls-macros.h: Likewise.
35492 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
35493 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
35494 * sysdeps/sh/tls-macros.h: Likewise.
35495 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
35496 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
35497 * sysdeps/x86_64/tls-macros.h: Likewise.
35498
f7db3170
TS
354992012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35500
07cbfc23
TS
35501 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
35502 zero value for regular exit case.
35503
f7db3170
TS
35504 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
35505 (__start_context): Preserve zero value for regular exit case.
35506
dc97c227
TS
355072012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35508 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35509
35510 * manual/setjmp.texi (setcontext): Clarify normal process
35511 termination when uc_link is the null pointer.
35512 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
35513 exit call.
35514
d0cd7d02
AS
355152012-07-16 Andreas Schwab <schwab@linux-m68k.org>
35516
35517 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
35518 preprocessor. Test for each exception mask separately.
35519
dd318934
AJ
355202012-07-16 Andreas Jaeger <aj@suse.de>
35521
35522 * po/ru.po: Update from translation team.
35523
8048311a
JM
355242012-07-15 Joseph Myers <joseph@codesourcery.com>
35525
35526 * conform/data/string.h-data (NULL): Use macro-constant. Require
35527 equal to 0.
35528 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35529 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35530 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
35531 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
35532 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35533
b637d46e
AJ
355342012-07-13 Andreas Jaeger <aj@suse.de>
35535
35536 * po/fr.po: Update from translation team.
35537
541428fe
MP
355382012-07-12 Marek Polacek <polacek@redhat.com>
35539
35540 [BZ #14173]
35541 * math/libm-test.inc (yn_test): Add test for BZ #14173.
35542 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
35543 loop condition.
35544
ec332e94
JM
355452012-07-12 Joseph Myers <joseph@codesourcery.com>
35546
35547 [BZ #13717]
35548 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35549 Change to 2.4.1 where previously 2.4.0.
35550 * sysdeps/unix/sysv/linux/configure: Regenerated.
35551 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
35552 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
35553 version.
35554 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
35555 (__ASSUME_AT_CLKTCK): Remove.
35556 (__ASSUME_AT_PAGESIZE): Likewise.
35557 (__ASSUME_AT_XID): Likewise.
35558 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
35559 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
35560 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
35561 unconditionally.
35562 (HAVE_AUX_PAGESIZE): Likewise.
35563 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
35564 [__ASSUME_AT_CLKTCK]: Make code unconditional.
35565 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
35566
7b6e99be
JB
355672012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
35568
35569 [BZ #14307]
35570 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
35571 the temporary buffer used to invoke __gethostbyname2_r,
35572 __gethostbyaddr_r and gethostbyname4_r to make room for struct
35573 host_data / struct gaih_addrtuple.
35574 * resolv/nss_dns/dns-host.c (global scope): Move definition of
35575 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
35576 header file nss/nsswitch.h.
35577 * nss/nsswitch.h (global scope): Add definition of implementation
35578 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
35579 resolv/nss_dns/dns-host.c).
35580
608404eb
AJ
355812012-07-11 Andreas Jaeger <aj@suse.de>
35582
35583 * po/fr.po: Update from translation team.
35584
71220aca
AJ
35585 * po/sv.po: Update from translation team
35586 * po/fr.po: Another update from translation team.
35587
28cfe843
AZ
355882012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35589
35590 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
35591 for subnormals or multiply small sinh result by itself.
35592 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35594
6b90f981
DM
355952012-07-11 David S. Miller <davem@davemloft.net>
35596
35597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35598
c6825772
AS
355992012-07-10 Andreas Schwab <schwab@linux-m68k.org>
35600
35601 [BZ #14347]
35602 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
35603 (INTERNAL_MARK): Shift it here.
35604
7b8e0d49
MP
356052012-07-10 Marek Polacek <polacek@redhat.com>
35606
35607 [BZ #14151]
35608 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
35609 libc_cv_asm_global_directive with .globl.
35610 * configure: Regenerated.
35611 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
35612 with .globl.
35613 * sysdeps/i386/configure: Regenerated.
35614 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
35615 with .globl.
35616 * sysdeps/x86_64/configure: Regenerated.
35617 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
35618 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
35619 * elf/tst-unique2mod2.c: Likewise.
35620 * elf/tst-unique2mod1.c: Likewise.
35621 * elf/tst-unique1mod2.c: Likewise.
35622 * elf/tst-unique1mod1.c: Likewise.
35623 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35624 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35625 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35626 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35627 * sysdeps/mach/sysdep.h: Likewise.
35628 * sysdeps/i386/sysdep.h: Likewise.
35629 * sysdeps/i386/i386-mcount.S: Likewise.
35630 * sysdeps/x86_64/_mcount.S: Likewise.
35631 * sysdeps/x86_64/sysdep.h: Likewise.
35632 * sysdeps/sh/_mcount.S: Likewise.
35633 * sysdeps/sh/sysdep.h: Likewise.
35634 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
35635 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
35636 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
35637 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35638 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
35639 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
35640 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
35641 * locale/localeinfo.h: Likewise.
35642 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
35643 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
35644
6c55cda3
RM
356452012-07-09 Roland McGrath <roland@hack.frob.com>
35646
35647 [BZ #14336]
35648 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
35649 system".
35650 * manual/message.texi (The Uniforum approach): Likewise.
35651 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
35652 (glibc iconv Implementation): Likewise.
35653
638a572e
JM
356542012-07-09 Joseph Myers <joseph@codesourcery.com>
35655
35656 [BZ #14337]
35657 * math/s_clog.c (__clog): Avoid scaling a value down where that
35658 could result in underflow.
35659 * math/s_clog10.c (__clog10): Likewise.
35660 * math/s_clog10f.c (__clog10f): Likewise.
35661 * math/s_clog10l.c (__clog10l): Likewise.
35662 * math/s_clogf.c (__clogf): Likewise.
35663 * math/s_clogl.c (__clogl): Likewise.
35664 * math/libm-test.inc (clog_test): Add more tests.
35665 (clog10_test): Likewise.
35666 * sysdeps/i386/fpu/libm-test-ulps: Update.
35667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35668
261f4859
AS
356692012-07-06 Andreas Schwab <schwab@linux-m68k.org>
35670
0abaf3e4
AS
35671 [BZ #14283]
35672 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
35673 by 7 not 8 to examine high bit of fractional part.
35674
261f4859
AS
35675 [BZ #14042]
35676 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
35677 for call to __mcount_internal.
35678 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
35679 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
35680 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
35681
f17ac40d
JM
356822012-07-06 Joseph Myers <joseph@codesourcery.com>
35683
9ad63c23
JM
35684 [BZ #14154]
35685 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
35686 approximation for values within 0x1p-13f of an odd multiple of
35687 pi/4.
35688 * math/libm-test.inc (tan_test): Do not allow spurious underflow
35689 exception. Add more tests.
35690 * sysdeps/i386/fpu/libm-test-ulps: Update.
35691
f17ac40d
JM
35692 [BZ #6778]
35693 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
35694 inputs and return -1 for them. Do not check for +Inf in case not
35695 reachable for +Inf.
35696 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35697 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
35698 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35699 and return -1 for them. Do not check for +Inf in case not
35700 reachable for +Inf.
35701 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
35702 define.
35703 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35704 and return -1 for them. Do not check for +Inf in case not
35705 reachable for +Inf.
35706 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
35707 spurious underflow.
35708 * sysdeps/i386/fpu/libm-test-ulps: Update.
35709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35710
fb21f89b
MF
357112012-07-06 Mike Frysinger <vapier@gentoo.org>
35712
35713 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35714
cdfe2c5e
JM
357152012-07-05 Joseph Myers <joseph@codesourcery.com>
35716
35717 [BZ #14157]
35718 [BZ #14331]
35719 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35720 could result in spurious underflow. Scale down values above
35721 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35722 * math/s_csqrtf.c (__csqrtf): Likewise.
35723 * math/s_csqrtl.c (__csqrtl): Likewise.
35724 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
35725 spurious underflow.
35726 * sysdeps/i386/fpu/libm-test-ulps: Update.
35727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35728
70d35b67
AS
357292012-07-04 Andreas Schwab <schwab@linux-m68k.org>
35730
704bc459
AS
35731 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35732 xopen-msg.sed.
35733 * catgets/xopen-msg.awk: New file.
35734 * catgets/xopen-msg.sed: Removed.
35735
70d35b67
AS
35736 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35737 po2text.sed.
35738 * intl/po2test.awk: New file.
35739 * intl/po2test.sed: Removed.
35740
ca61cf32
JM
357412012-07-04 Joseph Myers <joseph@codesourcery.com>
35742
35743 [BZ #14328]
35744 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35745 or multiply small sinh result by itself.
35746 * math/s_ctanf.c (__ctanf): Likewise.
35747 * math/s_ctanh.c (__ctanh): Likewise.
35748 * math/s_ctanhf.c (__ctanhf): Likewise.
35749 * math/s_ctanhl.c (__ctanhl): Likewise.
35750 * math/s_ctanl.c (__ctanl): Likewise.
35751 * math/libm-test.inc (ctan_test_tonearest): New function.
35752 (ctan_test_towardzero): Likewise.
35753 (ctan_test_downward): Likewise.
35754 (ctan_test_upward): Likewise.
35755 (ctanh_test_tonearest): Likewise.
35756 (ctanh_test_towardzero): Likewise.
35757 (ctanh_test_downward): Likewise.
35758 (ctanh_test_upward): Likewise.
35759 (main): Call these new functions.
35760 * sysdeps/i386/fpu/libm-test-ulps: Update.
35761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35762
ca48a46a
MF
357632012-07-03 Mike Frysinger <vapier@gentoo.org>
35764
35765 * .gitignore: Delete /ports entry.
35766
9d63d37d
AJ
357672012-07-03 Andreas Jaeger <aj@suse.de>
35768
35769 * po/bg.po: Update from translation team.
35770 * po/cs.po: Likewise.
35771 * po/de.po: Likewise.
35772 * po/hr.po: Likewise.
35773 * po/nl.pl: Likewise.
35774 * po/pl.po: Likewise.
35775 * po/vi.po: Likewise.
35776
370ca3d2
JM
357772012-07-03 Joseph Myers <joseph@codesourcery.com>
35778
95f5a9a8
JM
35779 * Makeconfig [!+link] (+link-before-libc): New variable.
35780 [!+link] (+link-after-libc): Likewise.
35781 [!+link] (+link-tests): Likewise.
35782 [!+link] (+link): Define in terms of $(+link-before-libc) and
35783 $(+link-after-libc).
35784 [!+link-static] (+link-static-before-libc): New variable.
35785 [!+link-static] (+link-static-after-libc): Likewise.
35786 [!+link-static] (+link-static-tests): Likewise.
35787 [!+link-static] (+link-static): Define in terms of
35788 $(+link-static-before-libc) and $(+link-static-after-libc).
35789 [build-shared] (link-libc-before-gnulib): New variable.
35790 [build-shared] (link-libc-tests): Likewise.
35791 [build-shared] (link-libc): Define in terms of
35792 $(link-libc-before-gnulib).
35793 [!build-shared] (link-libc-tests): New variable.
35794 (link-libc-static-tests): New variable.
35795 [!gnulib] (gnulib-arch): New variable.
35796 [!gnulib] (gnulib-tests): Likewise.
35797 [!gnulib] (static-gnulib-arch): Likewise.
35798 [!gnulib] (static-gnulib-tests): Likewise.
35799 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
35800 Define with "=" instead of ":=".
35801 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
35802 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
35803 * Rules (binaries-all-notests): New variable.
35804 (binaries-all-tests): Likewise.
35805 (binaries-static-notests): Likewise.
35806 (binaries-static-tests): Likewise.
35807 (binaries-all): Define using $(binaries-all-notests) and
35808 $(binaries-all-tests).
35809 (binaries-static): Define using $(binaries-static-notests) and
35810 $(binaries-static-tests).
35811 (binaries-shared-tests): New variable.
35812 (binaries-shared-notests): Likewise.
35813 (binaries-shared): Remove variable.
35814 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
35815 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
35816 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
35817 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
35818 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
35819 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
35820 * elf/Makefile (sln-modules): New variable.
35821 (extra-objs): Add $(sln-modules:=.o).
35822 (ldconfig-modules): Add static-stubs.
35823 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
35824 * elf/static-stubs.c: New file.
35825
7a845b2c
JM
35826 [BZ #14283]
35827 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
35828 by 7 not 8 to examine high bit of fractional part. Use volatile
35829 variables when splitting into final array of floats if
35830 __FLT_EVAL_METHOD__ != 0.
35831 * math/libm-test.inc (cos_test): Add another test.
35832 (sin_test): Likewise.
35833 * sysdeps/i386/fpu/libm-test-ulps: Update.
35834
e2283f38
JM
35835 [BZ #14273]
35836 * math/libm-test.inc (cosh_test): Add more tests.
35837
370ca3d2
JM
35838 * version.h (RELEASE): Set to "development".
35839 (VERSION): Set to "2.16.90".
35840
ee9247c3
CD
358412012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
35842
35843 * NEWS: Update copyright. Remove last-updated date.
35844 Mention math library bug fixes and timezone data changes.
35845 * README: Mention GNU/Hurd, x32, and HPPA support status.
35846
4648c381
TS
358472012-06-28 Thomas Schwinge <thomas@codesourcery.com>
35848
35849 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
35850
aac78a43
AJ
358512012-06-27 Andreas Jaeger <aj@suse.de>
35852
35853 * manual/contrib.texi (Contributors): Add Samuel Thibault.
35854
ed3dbfad
AJ
358552012-06-25 Andreas Jaeger <aj@suse.de>
35856
35857 * sysdeps/s390/fpu/libm-test-ulps: Update.
35858
4d0ee855
AS
358592012-06-23 Andreas Schwab <schwab@linux-m68k.org>
35860 Thomas Schwinge <thomas@codesourcery.com>
35861
35862 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
35863 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
35864 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
35865 fanotify_mark.
35866
af1bce34
TS
358672012-06-23 Thomas Schwinge <thomas@codesourcery.com>
35868
a9fa33ba
TS
35869 * sysdeps/mach/start.c: Remove file.
35870 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
35871 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
35872 * sysdeps/sh/init-first.c: Likewise.
35873
58f902b8
TS
35874 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
35875 registers for frame unwinding purposes, add CFI directives.
35876 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35877 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
35878 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
35879 Likewise.
35880
1518f58b
TS
35881 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
35882 __fortify_fail returning.
35883 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35884
db9b5059
TS
35885 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
35886 sysdeps/sh/____longjmp_chk.S.
35887 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
35888 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
35889 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
35890 (gen-as-const-headers): Append sigaltstack-offsets.sym.
35891
967705fe
TS
35892 * sysdeps/sh/abort-instr.h: New file.
35893 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
35894 process in case exit returns.
35895
a9def8c4
TS
35896 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
35897 initialize the GOT register before use.
35898
2a649725
TS
35899 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
35900 calculation of ARGC > 4.
35901
af1bce34
TS
35902 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
35903 meaningful names to some local labels.
35904
d230f50a
KK
359052012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35906 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35907
35908 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
35909 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
35910 (__arch_compare_and_exchange_val_16_acq): Likewise.
35911 (__arch_compare_and_exchange_val_32_acq): Likewise.
35912 (atomic_exchange_and_add): Fix gUSA sequence.
35913 (atomic_add): Likewise.
35914 (atomic_add_negative): Likewise.
35915 (atomic_add_zero): Likewise.
35916 (atomic_bit_test_set): Likewise.
35917
0479b305
AS
359182012-06-22 Andreas Schwab <schwab@redhat.com>
35919
35920 [BZ #13579]
35921 * include/link.h (struct link_map): Add l_free_initfini.
35922 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
35923 l_initfini.
35924 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
35925 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
35926 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
35927 set.
35928
0e3933b9
CD
359292012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
35930
35931 * configure.in: Use AC_LANG_SOURCE.
35932 * configure: Regenerate.
35933
4248b1b1
RM
359342012-06-22 Roland McGrath <roland@hack.frob.com>
35935
35936 * configure.in (libc_cv_localstatedir): New substituted variable.
35937 * configure: Regenerated.
35938 * config.make.in (localstatedir): New variable, substituted from
35939 libc_cv_localstatedir.
35940 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
35941 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
35942 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
35943 * sysdeps/gnu/configure: Regenerated.
35944
006dd861
JL
359452012-06-21 Jeff Law <law@redhat.com>
35946
35947 [BZ #14277]
35948 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
35949 free. Simplify list management for _LIBC case.
35950
79662d42
JM
359512012-06-21 Joseph Myers <joseph@codesourcery.com>
35952
b7abb4bf
JM
35953 [BZ #14273]
35954 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35955 Clear sign bit of 64-bit integer value before comparing against
35956 overflow value.
35957
79662d42
JM
35958 * sysdeps/mach/configure: Regenerated.
35959
1f150908
L
359602012-06-21 H.J. Lu <hongjiu.lu@intel.com>
35961
35962 [BZ #14278]
35963 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
35964
28363bbf
JL
359652012-06-21 Jeff Law <law@redhat.com>
35966
35967 [BZ #13882]
35968 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
35969 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 35970 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
35971 * elf/dl-open.c (dl_open_worker): Likewise.
35972
09615db4
CD
359732012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
35974
35975 * scripts/list-sources.sh: Scan PORTS for translations.
35976 * po/libc.pot: Regenerated.
35977
2174c6dd
AJ
359782012-06-21 Andreas Jaeger <aj@suse.de>
35979
35980 [BZ #12194]
35981 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
35982 warning.
35983 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
35984 * bits/byteswap-16.h (__bswap_16): Likewise.
35985 * bits/byteswap.h (__bswap_constant_16): Likewise.
35986
3ee947b1
L
359872012-06-18 H.J. Lu <hongjiu.lu@intel.com>
35988
35989 [BZ #14117]
a2f34833
L
35990 * sysdeps/i386/fpu_control.h: Removed.
35991 * sysdeps/x86_64/fpu_control.h: Moved to ...
35992 * sysdeps/x86/fpu_control.h: Here.
35993
3ee947b1
L
35994 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
35995 (_FPU_SETCW): Likewise.
35996
ed1825f8
L
359972012-06-15 H.J. Lu <hongjiu.lu@intel.com>
35998
25f1282a
L
35999 [BZ #14117]
36000 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
36001 * sysdeps/x86/fpu/bits/mathinline.h: This.
36002 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
36003
ed1825f8
L
36004 [BZ #14050]
36005 [BZ #14117]
36006 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
36007 functions if __x86_64__ is defined.
36008
36d54b74
CLT
360092012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
36010
36011 * string/endian.h: Add !__ASSEMBLER__ condition for including
36012 conversion interfaces.
36013
10285c21
JM
360142012-06-15 Joseph Myers <joseph@codesourcery.com>
36015
36016 [BZ #14241]
36017 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
36018 of ABS(x) in calculating zero to negative powers other than odd
36019 integers.
36020 * math/libm-test.inc (pow_test): Add more tests.
36021
06c5abbd
AJ
360222012-06-15 Andreas Jaeger <aj@suse.de>
36023
36024 * manual/contrib.texi (Contributors): Update entry of Liubov
36025 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
36026 Machado Filho.
36027
a3aeac40
CH
360282012-06-15 Cyril Hrubis <metan@ucw.cz>
36029
36030 * string/string.h: Add __wur to GNU version of strerror_r.
36031
49bdf4c1
L
360322012-06-14 H.J. Lu <hongjiu.lu@intel.com>
36033
36034 [BZ #14229]
36035 * string/Makefile (tests): Add tst-strtok_r.
36036 * string/tst-strtok_r.c: New file.
36037 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
36038 RAX_LP/RDX_LP on SAVE_PTR.
36039
834f9b8d
RM
360402012-06-14 Roland McGrath <roland@hack.frob.com>
36041
36042 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
36043
75fa1921
JM
360442012-06-14 Joseph Myers <joseph@codesourcery.com>
36045
36046 * libm_test.inc (csqrt_test): Allow more spurious underflow
36047 exceptions.
36048 (j0_test): Likewise.
36049 (j1_test): Likewise.
36050 (y0_test): Likewise.
36051 (y1_test): Likewise.
36052
771766df
CD
360532012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
36054
36055 * po/Makefile (libc.pot): Use UTF-8 charset.
36056
ceb9e56b
PP
360572012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
36058
36059 [BZ #14210]
36060 Suppress sign-conversion warning from FD_SET.
36061 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
36062 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
36063 not unsigned long int.
36064 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
36065
ddb28975
L
360662012-06-12 H.J. Lu <hongjiu.lu@intel.com>
36067
36068 [BZ #14050]
36069 [BZ #14117]
36070 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
36071 __extern_always_inline instead of __extern_inline.
36072 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
36073 (__signbit): Likewise.
36074 (__signbitl): Support C++ namespace.
36075 (lrintf): New inline function.
36076 (lrint): Likewise.
36077 (llrintf): Likewise.
36078 (llrint): Likewise.
36079 (fmaxf): Likewise.
36080 (fmax): Likewise.
36081 (fminf): Likewise.
36082 (fmin): Likewise.
36083 (rint): Likewise.
36084 (rintf): Likewise.
36085 (ceil): Likewise.
36086 (ceilf): Likewise.
36087 (floor): Likewise.
36088 (floorf): Likewise.
36089 (nearbyint): Likewise.
36090 (nearbyintf): Likewise.
36091
d7b4fb26
TS
360922012-06-12 Thomas Schwinge <thomas@codesourcery.com>
36093
36094 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
36095 non-default versions.
36096
eb55f5c2
RM
360972012-06-11 Roland McGrath <roland@hack.frob.com>
36098
36099 [BZ #14218]
36100 * manual/argp.texi (Argp): Reword argp_parse description slightly.
36101
366af02c
TS
361022012-06-09 Thomas Schwinge <thomas@codesourcery.com>
36103
99ff6e5c
TS
36104 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
36105 (FE_UPWARD, FE_DOWNWARD): Don't define.
36106 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
36107 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36108
366af02c
TS
36109 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
36110 reading it.
36111 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36112 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36113
793ea851
KK
361142012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36115
36116 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36117 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
36118 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
36119 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
36120
a728a38f
L
361212012-06-06 H.J. Lu <hongjiu.lu@intel.com>
36122
36123 [BZ #14117]
c08010c7
L
36124 * sysdeps/i386/fpu/bits/fenv.h: Removed.
36125 * sysdeps/i386/fpu/Implies: New file.
36126 * sysdeps/x86_64/fpu/Implies: Likewise.
36127 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
36128 * sysdeps/x86/fpu/bits/fenv.h: This.
36129
a728a38f
L
36130 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
36131 __SSE_MATH__.
36132
6e230d11
SP
361332012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
36134
36135 [BZ #14134]
36136 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
36137 character 0xffff that matches the last element of the
36138 conversion table.
36139
1b671feb
AZ
361402012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36141
36142 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
36143 fmodl commit.
36144
6043738b
AZ
361452012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36146
36147 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
36148 values higher than 25.6283.
36149
34ae0b32
AZ
361502012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36151
36152 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
36153 subnormal exponent extraction and add some __builtin_expect.
36154 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
36155 Fix for subnormal mantissa calculation.
36156
1214ec8f
MF
361572012-06-04 Mike Frysinger <vapier@gentoo.org>
36158
36159 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
36160 cpu2 is -1 and errno is not ENOSYS.
36161
f3d1f93c
L
361622012-06-04 H.J. Lu <hongjiu.lu@intel.com>
36163
36164 [BZ #14117]
0e4a3cd7
L
36165 * sysdeps/i386/i486/bits/string.h: Renamed to ...
36166 * sysdeps/x86/bits/string.h: This.
36167 * sysdeps/x86_64/bits/string.h: Removed.
36168
6704c645
L
36169 * sysdeps/i386/i486/bits/string.h: Define inline functions only
36170 if not compiling for x86-64, but compiling for >= i486.
36171
48495318
L
36172 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
36173 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
36174
14adcbfc
L
36175 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
36176 New macro from Linux kernel 3.4.0.
36177 (FP_XSTATE_MAGIC2): Likewise.
36178 (FP_XSTATE_MAGIC2_SIZE): Likewise.
36179 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
36180 (struct _fpx_sw_bytes): New struct.
36181 (struct _xsave_hdr): Likewise.
36182 (struct _ymmh_state): Likewise.
36183 (struct _xstate): Likewise.
36184
68e408ab
L
36185 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
36186 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
36187 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
36188 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
36189 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
36190 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
36191
f3d1f93c
L
36192 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
36193 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
36194 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
36195 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
36196 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
36197 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
36198
d9dc34cd
TMQMF
361992012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36200
36201 [BZ #13743]
36202 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
36203 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
36204 (sysdep_headers): Include sys/platform/ppc.h.
36205 * sysdeps/powerpc/test-gettimebase.c: Test for
36206 __ppc_get_timebase() to catch future ISA opcode/insn changes.
36207 * manual/Makefile (appendices): Include platform.texi.
36208 * manual/contrib.texi (Contributors): Update @node pointers.
36209 * manual/maint.texi (Maintenance): Likewise.
36210 (Platform): New node.
36211 * manual/platform.texi: New file. Document the new features.
36212
4af3879c
SP
362132012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36214 Jakub Jelinek <jakub@redhat.com>
36215
36216 [BZ #14188]
36217 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
36218 where __builtin_expect is unavailable.
36219
2fd6ff13
DM
362202012-06-03 David S. Miller <davem@davemloft.net>
36221
36222 * stdlib/longlong.h: Updated from GCC.
36223
173f7220
AS
362242012-06-02 Andreas Schwab <schwab@linux-m68k.org>
36225
36226 [BZ #14042]
36227 * sysdeps/powerpc/powerpc32/mcount.c: New file.
36228 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
36229 __mcount_internal.
36230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36231 (GLIBC_2.16): Likewise.
36232
f34a1c6f
L
362332012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36234
36235 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
36236
88a4576f
JM
362372012-06-01 Joseph Myers <joseph@codesourcery.com>
36238
ea32bcdd
JM
36239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
36240 (default-abi): New variable.
36241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
36242 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
36243 variable.
36244 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
36245 Likewise.
36246 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
36247 Likewise.
36248 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
36249 Likewise.
36250
88a4576f
JM
36251 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
36252 definition. Document in comment.
36253
402fe938
DM
362542012-06-01 David S. Miller <davem@davemloft.net>
36255
36256 * stdlib/longlong.h: Updated from GCC.
36257
3553723f
L
362582012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36259
36260 [BZ #14117]
3bd872c4
L
36261 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
36262 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
36263 sys/debugreg.h sys/io.h here.
36264 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
36265 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
36266 sys/io.h.
36267 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
36268 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
36269 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
36270 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
36271 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
36272 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
36273
3553723f
L
36274 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
36275 Define only if __x86_64__ is defined.
36276
4842e4fe
JM
362772012-06-01 Joseph Myers <joseph@codesourcery.com>
36278
c5bfe3d5
JM
36279 [BZ #14048]
36280 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
36281 Use int64_t for variable i.
36282 * math/libm-test.inc (fmod_test): Add more tests.
36283
4842e4fe
JM
36284 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
36285 z computation is not scheduled after fetestexcept.
36286 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
36287 Use math_force_eval instead of asm to ensure calculation scheduled
36288 before exception test.
36289 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
36290 Ensure a1 + u.d computation is not scheduled after fetestexcept.
36291
efb73488
AJ
362922012-06-01 Aurelien Jarno <aurelien@aurel32.net>
36293
36294 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
36295 computation is not scheduled after fetestexcept.
36296
29bcce7c
L
362972012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36298
36299 [BZ #14117]
36300 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
36301 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
36302
73a68f94
AZ
363032012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36304
36305 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
36306 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36307
67b6df78
L
363082012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36309
edf2933a 36310 [BZ #14117]
ebc64a18
L
36311 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
36312 <bits/wordsize.h>.
36313 (__WCHAR_MIN): Support __WORDSIZE == 64.
36314 (__WCHAR_MAX): Likewise.
36315
edf2933a
L
36316 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
36317 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
36318
57c6cf40
L
36319 [BZ #14183]
36320 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
36321 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
36322
67b6df78 36323 [BZ #14117]
8eb6281e
L
36324 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
36325 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
36326
aac639f4
L
36327 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
36328 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
36329
67b6df78
L
36330 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
36331 Defined to 1 if __x86_64__ isn't defined.
36332 (_STAT_VER_LINUX_OLD): New.
36333 (st_atime): Remove duplicate.
36334 (st_mtime): Likewise.
36335 (st_ctime): Likewise.
36336
1c2cfe81
DM
363372012-05-31 David S. Miller <davem@davemloft.net>
36338
36339 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
36340 entries.
36341
5be8418c
AS
363422012-06-01 Andreas Schwab <schwab@linux-m68k.org>
36343
e7725326
AS
36344 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
36345 gen-libm-test.pl.
36346
5be8418c
AS
36347 [BZ #14132]
36348 * elf/dl-reloc.c: Include <_itoa.h>.
36349 (_dl_reloc_bad_type): Remove use of INTUSE.
36350 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
36351 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
36352 * stdio-common/psiginfo.c (psiginfo): Likewise.
36353 * stdio-common/psignal.c (psignal): Likewise.
36354 * string/strsignal.c (strsignal): Likewise.
36355 * include/signal.h (_sys_siglist): Declare hidden proto.
36356 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
36357 INTVARDEF with libc_hidden_data_def.
36358 * stdio-common/itoa-udigits.c: Likewise.
36359 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
36360 (_itoa_lower_digits_internal): Remove declaration.
36361 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
36362 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
36363 (_sys_sigabbrev_internal): Remove aliases.
36364 (_sys_siglist): Define hidden alias.
36365
507352f1
MT
363662012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
36367
36368 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36369 bits/sysctl.h.
36370
42bbb1c3
L
363712012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36372
36373 [BZ #14117]
6bd784b6
L
36374 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
36375 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
36376
8bca20f0
L
36377 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
36378 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
36379 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
36380 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
36381 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
36382 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
36383
f9e890a9
L
36384 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
36385 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
36386 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
36387
471101a1
L
36388 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
36389 with __addr.
36390 (insw): Likewise.
36391 (insl): Likewise.
36392 (outsb): Likewise.
36393 (outsw): Likewise.
36394 (outsl): Likewise.
36395
6451c862
L
36396 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
36397 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
36398 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
36399
a254b8c9
L
36400 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
36401 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
36402 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
36403 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
36404 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
36405 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
36406
b8dfdd92
L
36407 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
36408 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
36409
578cd270
L
36410 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
36411 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
36412
de662f5f
L
36413 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
36414 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
36415 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
36416
25653439
L
36417 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
36418 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
36419 to ...
36420 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
36421
6bad24a0
L
36422 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
36423 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
36424 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
36425
42bbb1c3
L
36426 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
36427 for x86-64.
36428 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
36429
2d10d547
JM
364302012-05-31 Joseph Myers <joseph@codesourcery.com>
36431
36432 * math/math.h (M_El): Use two more decimal places.
36433 (M_LOG2El): Likewise.
36434 (M_LOG10El): Likewise.
36435 (M_LN2l): Likewise.
36436 (M_LN10l): Likewise.
36437 (M_PIl): Likewise.
36438 (M_PI_2l): Likewise.
36439 (M_PI_4l): Likewise.
36440 (M_1_PIl): Likewise.
36441 (M_2_PIl): Likewise.
36442 (M_2_SQRTPIl): Likewise.
36443 (M_SQRT2l): Likewise.
36444 (M_SQRT1_2l): Likewise.
36445
f230c29b
DM
364462012-05-31 David S. Miller <davem@davemloft.net>
36447
36448 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
36449 values between float registers.
36450 * sysdeps/sparc/sparc64/memset.S: Likewise.
36451 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36452
fed806c3
MF
364532012-05-31 Mike Frysinger <vapier@gentoo.org>
36454
36455 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
36456 -D_FORTIFY_SOURCE=1.
36457 (CPPFLAGS-tst-longjmp_chk.c): Define.
36458 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
36459 (CPPFLAGS-tst-longjmp_chk2.c): Define.
36460 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
36461 CFLAGS-tst-wchar-h.c.
36462
30917259
MP
364632012-05-31 Marek Polacek <polacek@redhat.com>
36464
36465 [BZ #14132]
36466 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
36467 __endmntent_internal): Remove declaration.
36468 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
36469 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
36470 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
36471
1c58d5dc
DM
364722012-05-30 David S. Miller <davem@davemloft.net>
36473
36474 * sysdeps/sparc/sparc32/soft-fp/q_util.c
36475 (___Q_simulate_exceptions): Use real FP ops rather than writing
36476 into the %fsr.
36477 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
36478 Likewise.
36479
7dc00e0d
L
364802012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36481
36482 [BZ #14117]
0bd53985
L
36483 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
36484 * sysdeps/x86/bits/xtitypes.h: This.
36485
3a257e66
L
36486 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
36487 * sysdeps/x86/bits/wordsize.h: This.
36488
62f62904
L
36489 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
36490 * sysdeps/x86/bits/huge_vall.h: This.
36491
404fe9d9
L
36492 * sysdeps/i386/bits/select.h: Removed.
36493 * sysdeps/x86_64/bits/select.h: Renamed to ...
36494 * sysdeps/x86/bits/select.h: This.
36495
d48d0446
L
36496 * sysdeps/i386/bits/setjmp.h: Removed.
36497 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
36498 * sysdeps/x86/bits/setjmp.h: This.
36499
7dc00e0d
L
36500 * sysdeps/i386/bits/mathdef.h: Removed.
36501 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
36502 * sysdeps/x86/bits/mathdef.h: This.
36503
03277f8f
AS
365042012-05-30 Andreas Schwab <schwab@linux-m68k.org>
36505
36506 [BZ #14132]
36507 * include/sys/socket.h (__connect_internal)
36508 (__libc_sa_len_internal): Remove declaration.
36509 (__connect, __libc_sa_len): Declare hidden_proto.
36510 (SA_LEN): Remove use of INTUSE.
36511 * socket/connect.c: Add libc_hidden_def.
36512 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
36513 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
36514 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
36515 alias.
36516 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
36517 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
36518 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
36519 of adding _internal alias.
36520
13764867
L
365212012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36522
36523 [BZ #14117]
6bd97696
L
36524 * sysdeps/i386/bits/link.h: Removed.
36525 * sysdeps/i386/bits/linkmap.h: Likewise.
36526 * sysdeps/x86_64/bits/link.h: Renamed to ...
36527 * sysdeps/x86/bits/link.h: This.
36528 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
36529 * sysdeps/x86/bits/linkmap.h: This.
36530
f726f0bb
L
36531 * sysdeps/i386/bits/endian.h: Removed.
36532 * sysdeps/x86_64/bits/endian.h: Renamed to ...
36533 * sysdeps/x86/bits/endian.h: This.
36534
13764867
L
36535 * sysdeps/i386/bits/byteswap.h: Removed.
36536 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36537 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
36538 * sysdeps/x86/bits/byteswap.h: This.
36539 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
36540 * sysdeps/x86/bits/byteswap-16.h: This.
36541 * sysdeps/i386/Implies: Add x86.
36542 * sysdeps/x86_64/Implies: Likewise.
36543
ae251b0b
DM
365442012-05-30 David S. Miller <davem@davemloft.net>
36545
36546 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
36547 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
36548 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36549 (FP_TRAPPING_EXCEPTIONS): Define.
36550 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36551 (FP_TRAPPING_EXCEPTIONS): Define.
36552 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
36553 subnormals only when inexact has been signalled or underflow
36554 exceptions are enabled.
36555 (_FP_PACK_CANONICAL): Likewise.
36556
d5c90867
L
365572012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36558
36559 [BZ #14183]
36560 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
36561 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
36562
63f1549e
RH
365632012-05-30 Richard Henderson <rth@twiddle.net>
36564
8d8f2279
RH
36565 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
36566 with #ifndef NOT_IN_libc.
36567
63f1549e
RH
36568 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
36569 marked to avoid plt entry.
36570
0ab0291b
L
365712012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36572
36573 [BZ #14112]
36574 * Makeconfig (default-abi): New macro.
36575 (abi-includes): Likewise.
36576 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
36577 $(abi-$(default-abi)-lib-soname) for soname if defined.
36578 ($(common-objpfx)gnu/lib-names.stmp): Generate from
36579 abi-variants.
36580 * Makefile (installed-stubs): Likewise.
36581 * include/stubs-biarch.h: Removed.
36582 * scripts/lib-names.awk: Only handle one library at a time.
36583 * scripts/soversions.awk: Remove WORDSIZE support.
36584 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
36585 entries.
36586 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
36587 Removed.
36588 (syscall-list-default-condition): Likewise.
36589 (syscall-list-default-condition): Likewise.
36590 (syscall-list-includes): Likewise.
36591 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
36592 syscall-list-* with abi-*. Handle undefined abi-variants.
36593 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
36594 * sysdeps/unix/sysv/linux/i386/Implies: New file.
36595 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
36596 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
36597 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
36598 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
36599 Removed.
36600 (syscall-list-32-options): Likewise.
36601 (syscall-list-32-condition): Likewise.
36602 (syscall-list-64-options): Likewise.
36603 (syscall-list-64-condition): Likewise.
36604 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
36605 macro.
36606 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
36607 Renamed to ...
36608 (abi-*): This.
36609 (abi-64-ld-soname): New macro.
36610 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
36611 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
36612 Renamed to ...
36613 (abi-*): This.
36614 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
36615 * sysdeps/x86_64/x32/shlib-versions: Likewise.
36616
4da0431d
JM
366172012-05-30 Joseph Myers <joseph@codesourcery.com>
36618
3a85279c
JM
36619 * sysdeps/unix/sysv/linux/kernel-features.h
36620 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
36621 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
36622 include <kernel-features.h>.
36623 [!__NR_ftruncate64]: Remove conditional code.
36624 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36625 [__NR_ftruncate64]: Make code unconditional.
36626 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36627 * sysdeps/unix/sysv/linux/truncate64.c: Do not
36628 include <kernel-features.h>.
36629 [!__NR_ftruncate64]: Remove conditional code.
36630 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36631 [__NR_ftruncate64]: Make code unconditional.
36632 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
36634 include <kernel-features.h>.
36635 [!__NR_ftruncate64]: Remove conditional code.
36636 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36637 [__NR_ftruncate64]: Make code unconditional.
36638 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36640 include <kernel-features.h>.
36641 [!__NR_ftruncate64]: Remove conditional code.
36642 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36643 [__NR_ftruncate64]: Make code unconditional.
36644 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36645
4da0431d
JM
36646 * configure.in (libc_cv_fpie): Weaken to a compile test using
36647 LIBC_TRY_CC_OPTION.
36648 * configure: Regenerated.
36649
11ef492c
AK
366502012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36651
36652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
36653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
36654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
36655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36656 Refreshed.
36657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
36658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
36659 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
36660 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
36661 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
36662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36663 Refreshed.
36664
d66ef399
DM
366652012-05-27 David S. Miller <davem@davemloft.net>
36666
36667 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
36668 (___Q_zero): New.
36669 (__Q_simulate_exceptions): Return void. Change to simulate
36670 exceptions by writing into the %fsr.
36671 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
36672 (__Qp_handle_exceptions): Likewise.
36673 (numbers): Delete.
36674 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
36675 __Qp_handle_exceptions.
36676 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
36677 __Qp_handle_exceptions.
36678 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36679 as unused and give dummy FP_RND_NEAREST initializer.
36680 (FP_INHIBIT_RESULTS): Define.
36681 (___Q_simulate_exceptions): Update declaration.
36682 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
36683 formatting.
36684 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36685 as unused and give dummy FP_RND_NEAREST initializer.
36686 (__Qp_handle_exceptions): Update declaration.
36687 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
36688 formatting.
36689
04fb54b5
TS
366902012-05-27 Thomas Schwinge <thomas@codesourcery.com>
36691
36692 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
36693 the temporary FPU control word.
36694 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36695 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
36696 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36697 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36698 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36699 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36700 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36701 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36702 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36703 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
36704 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36705
3f99608f
KK
367062012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36707
36708 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36709 fields.
36710
65a4de4e
CLT
367112012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
36712
36713 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36714 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36715 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36716 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36717 Likewise.
36718 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36719 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36720 Likewise.
36721
15749d40
UD
367222012-05-27 Ulrich Drepper <drepper@gmail.com>
36723
36724 * po/h.po: Update from translation team.
36725
25dbcb27
AS
367262012-05-26 Andreas Schwab <schwab@linux-m68k.org>
36727
3d3f8e55
AS
36728 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36729
25dbcb27
AS
36730 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36731 handling of denormals.
36732 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36733 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36734 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36735 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36736 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36737 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36738 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36739 Likewise.
36740
7ad47a80 367412012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
36742
36743 [BZ #14152]
36744 * math/libm-test.inc (fma_test): Don't always expect underflow
36745 exception.
36746
9c6ea9fa
SP
367472012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36748
36749 [BZ #12416]
36750 * elf/tst-execstack.c: Include stackinfo.h.
36751 (do_test): Adjust test case to ensure that pthread_getattr_np
36752 behaviour remains the same after marking stack executable.
36753
a8239222
JM
367542012-05-25 Joseph Myers <joseph@codesourcery.com>
36755
36756 * sysdeps/unix/sysv/linux/kernel-features.h
36757 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36758 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36759 kernel-features.h.
36760 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36761 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36762 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36763 kernel-features.h.
36764 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36765 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36766
918b5606
L
367672012-05-25 H.J. Lu <hongjiu.lu@intel.com>
36768
36769 * configure.in: Define the default includes to being none.
36770 * configure: Regenerated.
36771
3a097cc7
RM
367722012-05-25 Roland McGrath <roland@hack.frob.com>
36773
8422c9a5
RM
36774 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36775 * sysdeps/x86_64/setjmp.S: Likewise.
36776 * sysdeps/i386/bsd-setjmp.S: Likewise.
36777 * sysdeps/i386/bsd-_setjmp.S: Likewise.
36778 * sysdeps/i386/setjmp.S: Likewise.
36779 * sysdeps/i386/__longjmp.S: Likewise.
36780 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36781 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36782
3a097cc7
RM
36783 * include/stap-probe.h: New file.
36784 * configure.in: Handle --enable-systemtap.
36785 * configure: Regenerated.
36786 * config.h.in (USE_STAP_PROBE): New #undef.
36787 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36788 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36789 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36790
21708942
JM
367912012-05-25 Joseph Myers <joseph@codesourcery.com>
36792
36793 [BZ #13717]
36794 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36795 to 2.4.0 where earlier.
36796 * sysdeps/unix/sysv/linux/configure: Regenerated.
36797 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36798 <kernel-features.h>.
36799 [__ASSUME_32BITUIDS]: Make code unconditional.
36800 [!__ASSUME_32BITUIDS]: Remove conditional code.
36801 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
36802 <kernel-features.h>.
36803 [__ASSUME_32BITUIDS]: Make code unconditional.
36804 [!__ASSUME_32BITUIDS]: Remove conditional code.
36805 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
36806 [__ASSUME_32BITUIDS]: Make code unconditional.
36807 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
36808 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
36809 <kernel-features.h>.
36810 [__ASSUME_32BITUIDS]: Make code unconditional.
36811 [!__ASSUME_32BITUIDS]: Remove conditional code.
36812 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
36813 <kernel-features.h>.
36814 [__ASSUME_32BITUIDS]: Make code unconditional.
36815 [!__ASSUME_32BITUIDS]: Remove conditional code.
36816 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
36817 <kernel-features.h>.
36818 [__ASSUME_32BITUIDS]: Make code unconditional.
36819 [!__ASSUME_32BITUIDS]: Remove conditional code.
36820 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
36821 <kernel-features.h>.
36822 [__ASSUME_32BITUIDS]: Make code unconditional.
36823 [!__ASSUME_32BITUIDS]: Remove conditional code.
36824 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36825 <kernel-features.h>.
36826 [__ASSUME_32BITUIDS]: Make code unconditional.
36827 [!__ASSUME_32BITUIDS]: Remove conditional code.
36828 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36829 <kernel-features.h>.
36830 [__ASSUME_32BITUIDS]: Make code unconditional.
36831 [!__ASSUME_32BITUIDS]: Remove conditional code.
36832 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
36833 <kernel-features.h>.
36834 [__ASSUME_32BITUIDS]: Make code unconditional.
36835 [!__ASSUME_32BITUIDS]: Remove conditional code.
36836 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36837 <kernel-features.h>.
36838 [__ASSUME_32BITUIDS]: Make code unconditional.
36839 [!__ASSUME_32BITUIDS]: Remove conditional code.
36840 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36841 <kernel-features.h>.
36842 [__ASSUME_32BITUIDS]: Make code unconditional.
36843 [!__ASSUME_32BITUIDS]: Remove conditional code.
36844 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
36845 <kernel-features.h>.
36846 [__ASSUME_32BITUIDS]: Make code unconditional.
36847 [!__ASSUME_32BITUIDS]: Remove conditional code.
36848 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
36849 <kernel-features.h>.
36850 [__NR_setresgid] (__setresgid): Do not declare.
36851 [__ASSUME_32BITUIDS]: Make code unconditional.
36852 [!__ASSUME_32BITUIDS]: Remove conditional code.
36853 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
36854 <kernel-features.h>.
36855 [__NR_setresuid] (__setresuid): Do not declare.
36856 [__ASSUME_32BITUIDS]: Make code unconditional.
36857 [!__ASSUME_32BITUIDS]: Remove conditional code.
36858 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
36859 <kernel-features.h>.
36860 [__ASSUME_32BITUIDS]: Make code unconditional.
36861 [!__ASSUME_32BITUIDS]: Remove conditional code.
36862 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
36863 <kernel-features.h>.
36864 [__ASSUME_32BITUIDS]: Make code unconditional.
36865 [!__ASSUME_32BITUIDS]: Remove conditional code.
36866 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
36867 <kernel-features.h>.
36868 [__ASSUME_32BITUIDS]: Make code unconditional.
36869 [!__ASSUME_32BITUIDS]: Remove conditional code.
36870 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
36871 <kernel-features.h>.
36872 [__ASSUME_32BITUIDS]: Make code unconditional.
36873 [!__ASSUME_32BITUIDS]: Remove conditional code.
36874 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
36875 <kernel-features.h>.
36876 [__ASSUME_32BITUIDS]: Make code unconditional.
36877 [!__ASSUME_32BITUIDS]: Remove conditional code.
36878 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
36879 <kernel-features.h>.
36880 [__ASSUME_32BITUIDS]: Make code unconditional.
36881 [!__ASSUME_32BITUIDS]: Remove conditional code.
36882 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
36883 <kernel-features.h>.
36884 [__ASSUME_32BITUIDS]: Make code unconditional.
36885 [!__ASSUME_32BITUIDS]: Remove conditional code.
36886 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
36887 <kernel-features.h>.
36888 [__ASSUME_32BITUIDS]: Make code unconditional.
36889 [!__ASSUME_32BITUIDS]: Remove conditional code.
36890 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
36891 <kernel-features.h>.
36892 [__ASSUME_32BITUIDS]: Make code unconditional.
36893 [!__ASSUME_32BITUIDS]: Remove conditional code.
36894 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36895 <kernel-features.h>.
36896 [__ASSUME_32BITUIDS]: Make code unconditional.
36897 [!__ASSUME_32BITUIDS]: Remove conditional code.
36898 * sysdeps/unix/sysv/linux/kernel-features.h
36899 (__ASSUME_SETRESUID_SYSCALL): Remove.
36900 (__ASSUME_SETRESGID_SYSCALL): Likewise.
36901 (__ASSUME_32BITUIDS): Likewise.
36902 (__ASSUME_LDT_WORKS): Likewise.
36903 (__ASSUME_O_DIRECTORY): Likewise.
36904 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
36905 architecture but not kernel version.
36906 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36907 (__ASSUME_MMAP2_SYSCALL): Likewise.
36908 (__ASSUME_STAT64_SYSCALL): Likewise.
36909 (__ASSUME_IPC64): Likewise.
36910 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
36911 <kernel-features.h>.
36912 [__ASSUME_32BITUIDS]: Make code unconditional.
36913 [!__ASSUME_32BITUIDS]: Remove conditional code.
36914 * sysdeps/unix/sysv/linux/opendir.c: Do not include
36915 <kernel-features.h>.
36916 [__ASSUME_O_DIRECTORY]: Make code unconditional.
36917 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
36918 132096]: Remove conditional code.
36919 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
36920 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36921 <kernel-features.h>.
36922 [__ASSUME_32BITUIDS]: Make code unconditional.
36923 [!__ASSUME_32BITUIDS]: Remove conditional code.
36924 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36925 <kernel-features.h>.
36926 [__ASSUME_32BITUIDS]: Make code unconditional.
36927 [!__ASSUME_32BITUIDS]: Remove conditional code.
36928 * sysdeps/unix/sysv/linux/setegid.c: Do not include
36929 <kernel-features.h>.
36930 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
36931 unconditional.
36932 (__setresgid): Do not declare.
36933 [__ASSUME_32BITUIDS]: Make code unconditional.
36934 [!__ASSUME_32BITUIDS]: Remove conditional code.
36935 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
36936 <kernel-features.h>.
36937 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
36938 unconditional.
36939 (__setresuid): Do not declare.
36940 [__ASSUME_32BITUIDS]: Make code unconditional.
36941 [!__ASSUME_32BITUIDS]: Remove conditional code.
36942 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36943 <kernel-features.h>.
36944 [__ASSUME_32BITUIDS]: Make code unconditional.
36945 [!__ASSUME_32BITUIDS]: Remove conditional code.
36946 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
36947 <kernel-features.h>.
36948 [__ASSUME_32BITUIDS]: Make code unconditional.
36949 [!__ASSUME_32BITUIDS]: Remove conditional code.
36950
a386f1cc
RH
369512012-05-25 Richard Henderson <rth@twiddle.net>
36952
36953 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
36954 dl_hwcap to ifunc resolver.
36955 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
36956 elf_ifunc_invoke.
36957 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
36958 dl_hwcap to ifunc resolver.
36959 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
36960
b6550497
JM
369612012-05-24 Joseph Myers <joseph@codesourcery.com>
36962
36963 [BZ #14153]
36964 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
36965 for |x| <= 2**-26, not 2**-57.
36966 * math/libm-test.inc (acos_test): Do not allow spurious underflow
36967 exception.
36968
b0bc23a1
JL
369692012-05-24 Jeff Law <law@redhat.com>
36970
36971 * stdio-common/Makefile (tests): Add bug25.
36972 * stdio-common/bug25.c: New test.
36973
347c92e9
L
369742012-05-24 H.J. Lu <hongjiu.lu@intel.com>
36975
36976 [BZ #13576]
36977 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
36978 multiple of MALLOC_ALIGNMENT in size.
36979 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
36980
6bcc8b3f
JM
369812012-05-24 Joseph Myers <joseph@codesourcery.com>
36982
36983 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
36984 Require >= 256.
36985 (FILENAME_MAX): Use macro-int-constant.
36986 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
36987 (_IOFBF): Use macro-int-constant.
36988 (_IOLBF): Likewise.
36989 (_IONBF): Likewise.
36990 (SEEK_CUR): Likewise.
36991 (SEEK_END): Likewise.
36992 (SEEK_SET): Likewise.
36993 (TMP_MAX): Likewise.
36994 (EOF): Use macro-int-constant. Require < 0.
36995 (NULL): Use macro-constant. Require == 0.
36996 (stdin): Require type to be FILE *.
36997 (stdout): Likewise.
36998 (stderr): Likewise.
36999 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
37000 macro-int-constant.
37001 (EXIT_SUCCESS): Likewise.
37002 (NULL): Use macro-constant. Require == 0.
37003 (RAND_MAX): Use macro-int-constant.
37004 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
37005 [C99-based standards] (strtof): Require function.
37006 [C99-based standards] (strtold): Likewise.
37007 [C99-based standards] (strtoll): Likewise.
37008 [C99-based standards] (strtoull): Likewise.
37009 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37010 [ISO || ISO99 || ISO11] (limits.h): Likewise.
37011 [ISO || ISO99 || ISO11] (math.h): Likewise.
37012 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
37013 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37014 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37015
d18ea0c5
AS
370162012-05-24 Andreas Schwab <schwab@linux-m68k.org>
37017
37018 [BZ #14132]
56d25bb8
AS
37019 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
37020 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
37021 * intl/dgettext.c (DCGETTEXT): Likewise.
37022 * intl/gettext.c (DCGETTEXT): Likewise.
37023 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
37024 * posix/regex_internal.h (gettext): Likewise.
37025 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
37026 Remove declaration.
37027 * include/argz.h (__argz_count_internal)
37028 (__argz_stringify_internal): Remove declaration.
37029 (__argz_count, __argz_stringify): Declare hidden proto.
37030 * intl/dcgettext.c: Remove use of INTDEF.
37031 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
37032 * string/argz-stringify.c: Likewise.
37033 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37034 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37035 Declare hidden proto.
d18ea0c5
AS
37036 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37037 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37038 Declare hidden proto.
37039 * include/stdio.h (__asprintf_internal): Don't declare.
37040 (__asprintf): Don't define as macro. Declare hidden proto.
37041 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
37042 (__fsetlocking): Declare hidden proto.
37043 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
37044 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
37045 hidden proto.
37046 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
37047 (_IO_setlinebuf): Remove use of INTUSE.
37048 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
37049 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
37050 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
37051 Remove declaration.
37052 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
37053 (_IO_do_flush): Remove use of INTUSE.
37054 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
37055 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
37056 (_IO_adjust_column, _IO_least_wmarker)
37057 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
37058 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
37059 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
37060 (_IO_default_doallocate, _IO_wdefault_doallocate)
37061 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
37062 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
37063 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
37064 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
37065 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
37066 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
37067 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
37068 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
37069 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
37070 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
37071 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
37072 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
37073 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
37074 proto.
37075 (_IO_flush_all_internal, _IO_adjust_column_internal)
37076 (_IO_default_uflow_internal, _IO_default_finish_internal)
37077 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
37078 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
37079 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
37080 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
37081 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
37082 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
37083 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
37084 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
37085 (_IO_file_close_internal, _IO_file_close_it_internal)
37086 (_IO_file_underflow_internal, _IO_file_overflow_internal)
37087 (_IO_file_init_internal, _IO_file_attach_internal)
37088 (_IO_file_fopen_internal, _IO_file_read_internal)
37089 (_IO_file_sync_internal, _IO_file_seek_internal)
37090 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
37091 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
37092 (_IO_str_underflow_internal, _IO_str_overflow_internal)
37093 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
37094 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
37095 (_IO_list_all_internal, _IO_link_in_internal)
37096 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
37097 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
37098 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
37099 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
37100 (_IO_do_write_internal, _IO_padn_internal)
37101 (_IO_getline_info_internal, _IO_getline_internal)
37102 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
37103 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
37104 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
37105 (_IO_vfscanf_internal, _IO_vfprintf_internal)
37106 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
37107 (_IO_init_internal, _IO_un_link_internal): Don't declare.
37108 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
37109 with libc_hidden_ver, remove use of INTUSE.
37110 * libio/genops.c: Likewise.
37111 * libio/freopen.c: Likewise.
37112 * libio/freopen64.c: Likewise.
37113 * libio/iofclose.c: Likewise.
37114 * libio/iofdopen.c: Likewise.
37115 * libio/iofflush.c: Likewise.
37116 * libio/iofflush_u.c: Likewise.
37117 * libio/iofgets.c: Likewise.
37118 * libio/iofgets_u.c: Likewise.
37119 * libio/iofopen.c: Likewise.
37120 * libio/iofopncook.c: Likewise.
37121 * libio/iofread.c: Likewise.
37122 * libio/iofread_u.c: Likewise.
37123 * libio/ioftell.c: Likewise.
37124 * libio/iofwrite.c: Likewise.
37125 * libio/iogetline.c: Likewise.
37126 * libio/iogets.c: Likewise.
37127 * libio/iogetwline.c: Likewise.
37128 * libio/iopadn.c: Likewise.
37129 * libio/iopopen.c: Likewise.
37130 * libio/ioseekoff.c: Likewise.
37131 * libio/ioseekpos.c: Likewise.
37132 * libio/iosetbuffer.c: Likewise.
37133 * libio/iosetvbuf.c: Likewise.
37134 * libio/ioungetc.c: Likewise.
37135 * libio/ioungetwc.c: Likewise.
37136 * libio/iovdprintf.c: Likewise.
37137 * libio/iovsprintf.c: Likewise.
37138 * libio/iovsscanf.c: Likewise.
37139 * libio/memstream.c: Likewise.
37140 * libio/obprintf.c: Likewise.
37141 * libio/oldfileops.c: Likewise.
37142 * libio/oldiofclose.c: Likewise.
37143 * libio/oldiofdopen.c: Likewise.
37144 * libio/oldiofopen.c: Likewise.
37145 * libio/oldiopopen.c: Likewise.
37146 * libio/oldstdfiles.c: Likewise.
37147 * libio/putc.c: Likewise.
37148 * libio/setbuf.c: Likewise.
37149 * libio/setlinebuf.c: Likewise.
37150 * libio/stdfiles.c: Likewise.
37151 * libio/strops.c: Likewise.
37152 * libio/vasprintf.c: Likewise.
37153 * libio/vscanf.c: Likewise.
37154 * libio/vsnprintf.c: Likewise.
37155 * libio/vswprintf.c: Likewise.
37156 * libio/wfiledoalloc.c: Likewise.
37157 * libio/wfileops.c: Likewise.
37158 * libio/wgenops.c: Likewise.
37159 * libio/wmemstream.c: Likewise.
37160 * libio/wstrops.c: Likewise.
37161 * libio/__fpurge.c: Likewise.
37162 * libio/__fsetlocking.c: Likewise.
37163 * assert/assert.c: Likewise.
37164 * debug/fgets_chk.c: Likewise.
37165 * debug/fgets_u_chk.c: Likewise.
37166 * debug/fread_chk.c: Likewise.
37167 * debug/fread_u_chk.c: Likewise.
37168 * debug/gets_chk.c: Likewise.
37169 * debug/obprintf_chk.c: Likewise.
37170 * debug/vasprintf_chk.c: Likewise.
37171 * debug/vdprintf_chk.c: Likewise.
37172 * debug/vsnprintf_chk.c: Likewise.
37173 * debug/vsprintf_chk.c: Likewise.
37174 * malloc/mtrace.c: Likewise.
37175 * misc/error.c: Likewise.
37176 * misc/syslog.c: Likewise.
37177 * stdio-common/asprintf.c: Likewise.
37178 * stdio-common/fxprintf.c: Likewise.
37179 * stdio-common/getw.c: Likewise.
37180 * stdio-common/isoc99_fscanf.c: Likewise.
37181 * stdio-common/isoc99_scanf.c: Likewise.
37182 * stdio-common/isoc99_vfscanf.c: Likewise.
37183 * stdio-common/isoc99_vscanf.c: Likewise.
37184 * stdio-common/isoc99_vsscanf.c: Likewise.
37185 * stdio-common/printf-prs.c: Likewise.
37186 * stdio-common/printf_fp.c: Likewise.
37187 * stdio-common/printf_fphex.c: Likewise.
37188 * stdio-common/printf_size.c: Likewise.
37189 * stdio-common/putw.c: Likewise.
37190 * stdio-common/scanf.c: Likewise.
37191 * stdio-common/sprintf.c: Likewise.
37192 * stdio-common/tmpfile.c: Likewise.
37193 * stdio-common/vfprintf.c: Likewise.
37194 * stdio-common/vfscanf.c: Likewise.
37195 * stdlib/strfmon_l.c: Likewise.
37196 * sunrpc/openchild.c: Likewise.
37197 * sunrpc/xdr_stdio.c: Likewise.
37198 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
37199 * sysdeps/mach/hurd/tmpfile.c: Likewise.
37200
d6c33fda
RM
372012012-05-24 Roland McGrath <roland@hack.frob.com>
37202
c1487492
RM
37203 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37204
37205 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
37206 in the third column, to generate for the shared library an IFUNC
37207 that uses _dl_vdso_vsym.
37208 * Makerules (COMPILE.c, compile-stdin.c): New variables.
37209 * Makeconfig (object-suffixes-noshared): New variable.
37210
37211 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
37212 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
37213 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
37214 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
37215
d6c33fda
RM
37216 [BZ #14132]
37217 * include/sys/time.h (__gettimeofday): Remove macro.
37218 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
37219 * time/gettimeofday.c (__gettimeofday): Remove #undef.
37220 Remove INTDEF.
37221 (__gettimeofday): Add libc_hidden_def.
37222 (gettimeofday): Add libc_hidden_weak.
37223 * sysdeps/mach/gettimeofday.c: Likewise.
37224 * sysdeps/posix/gettimeofday.c: Likewise.
37225 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
37226 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
37227 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
37228 (__gettimeofday_internal): Remove strong_alias.
37229 (__gettimeofday): Add libc_hidden_def.
37230 (gettimeofday): Add libc_hidden_weak.
37231 * sysdeps/unix/syscalls.list (gettimeofday):
37232 Remove __gettimeofday_internal alias.
37233
b5a2bbe6
L
372342012-05-24 Daniel Jacobowitz <drow@false.org>
37235 H.J. Lu <hongjiu.lu@intel.com>
37236
37237 [BZ #12495]
37238 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
37239 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
37240 (largebin_index_32_big): New.
37241 (largebin_index): Use it for 16-byte alignment.
37242 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
37243 correction with front_misalign.
37244
cfba4fda
L
372452012-05-24 H.J. Lu <hongjiu.lu@intel.com>
37246
7f907421
L
37247 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
37248 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
37249 Likewise.
37250 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
37251 Likewise.
37252 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37253 Likewise.
37254 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
37255 Likewise.
37256 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
37257 Likewise.
37258 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
37259 Likewise.
37260 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
37261 Likewise.
37262 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
37263 Likewise.
37264 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
37265 Likewise.
37266 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
37267 Likewise.
37268 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
37269 Likewise.
37270 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
37271 Likewise.
37272
cfba4fda
L
37273 * scripts/data/c++-types-x32-linux-gnu.data: New file.
37274 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
37275
80bad0cc
JM
372762012-05-24 Joseph Myers <joseph@codesourcery.com>
37277
7a25eb06
JM
37278 [BZ #10846]
37279 [BZ #14036]
37280 * math/libm-test.inc (exp_test): Add test from bug 14036.
37281 (pow_test): Add test from bug 10846.
37282
795405f9
JM
37283 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
37284 and other flags.
37285 (special_function): Do not include flags in test name.
37286 (parse_args): Likewise.
37287 * sysdeps/i386/fpu/libm-test-ulps: Update.
37288 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37289 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37290 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37292
80bad0cc
JM
37293 * math/gen-libm-test.pl (%beautify): Add entries for underflow
37294 exceptions.
37295 * math/libm-test.inc ("Philosophy"): Update comment about
37296 exception testing.
37297 (UNDERFLOW_EXCEPTION): New macro.
37298 (UNDERFLOW_EXCEPTION_OK): Likewise.
37299 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
37300 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
37301 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
37302 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
37303 (INVALID_EXCEPTION_OK): Update value.
37304 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37305 (OVERFLOW_EXCEPTION_OK): Likewise.
37306 (IGNORE_ZERO_INF_SIGN): Likewise.
37307 (test_exceptions): Handle underflow exceptions.
37308 (acos_test): Update for underflow exception expectations.
37309 (cexp_test): Likewise.
37310 (clog_test): Likewise.
37311 (clog10_test): Likewise.
37312 (csqrt_test): Likewise.
37313 (ctan_test): Likewise.
37314 (ctanh_test): Likewise.
37315 (exp_test): Likewise.
37316 (exp10_test): Likewise.
37317 (exp2_test): Likewise.
37318 (expm1_test): Likewise.
37319 (fma_test): Likewise.
37320 (j0_test): Likewise.
37321 (jn_test): Likewise.
37322 (nexttoward_test): Likewise.
37323 (pow_test): Likewise.
37324 (scalbn_test): Likewise.
37325 (scalbln_test): Likewise.
37326 (tan_test): Likewise.
37327 (y1_test): Likewise.
37328 * sysdeps/i386/fpu/libm-test-ulps: Update.
37329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37330
9e0e3d0b
DM
373312012-05-23 David S. Miller <davem@davemloft.net>
37332
37333 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37334 (__libc_sigaction): Remove unused local variables.
37335
ccd0a08f
L
373362012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37337
37338 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
37339
62bdf9a6
PE
373402012-05-23 Paul Eggert <eggert@cs.ucla.edu>
37341
f8591f80
PE
37342 mktime: avoid signed integer overflow
37343 * time/mktime.c (__mktime_internal): Do not mishandle the case
37344 where diff == INT_MIN.
37345
94c7d826
PE
37346 mktime: simplify computation of average
37347 * time/mktime.c (ranged_convert): Use new time_t_avg function
37348 instead of rolling our own (probably-slower) code.
37349
ce73d683
PE
37350 mktime: do not assume signed right shift propagates sign bit
37351 * time/mktime.c (isdst_differ): New static function.
37352 (__mktime_internal): No need to normalize tm_isdst now.
37353 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
37354 tm_isdst values.
37355
72a22e59
PE
37356 mktime: merge another wrapv change from gnulib
37357 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
37358 from some compilers.
37359
68605433
PE
37360 mktime: remove incorrect attempt at unusual arithmetics
37361 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
37362 The code didn't really work on such machines anyway.
37363 (TYPE_MINIMUM): Assume two's complement.
37364 (twos_complement_arithmetic): Verify that long_int and time_t
37365 are two's complement (or unsigned, in the latter case).
37366
03cf7fe3
PE
37367 mktime: check signed shifts on long_int and time_t, too
37368 * time/mktime.c (SHR): Check that shifts work as desired
37369 on the types long_int and time_t too, as SHR is used on
37370 such types.
37371
f04dfbc2
PE
37372 mktime: do not assume 'long' is wide enough
37373 * time/mktime.c (verify): Move decl up.
37374 (long_int): New type.
37375 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
37376 to remove assumption in the code that 'long' is wide enough to
37377 store year values. This assumption is not true on x32 and on
37378 some non-glibc platforms.
37379
62bdf9a6
PE
37380 mktime: merge wrapv change from gnulib
37381 * time/mktime.c (WRAPV): New macro.
37382 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
37383 (guess_time_tm, __mktime_internal): Do not assume that signed
37384 integer overflow wraps around; modern compilers generate code
37385 where this assumption is no longer valid.
37386
5e292e4f
L
373872012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37388
37389 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37390 Replace "jmp L(pseudo_end)" with "ret".
37391 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
37392 Likewise.
37393
8caf8c87
AJ
373942012-05-23 Andreas Jaeger <aj@suse.de>
37395
37396 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
37397 * sysdeps/unix/sysv/linux/poll.c: Remove file.
37398
1a09dc56
AJ
373992012-05-23 Andreas Jaeger <aj@suse.de>
37400 Maximilian Attems <max@stro.at>
37401
37402 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
37403 New macros.
37404
1c87aba0
L
374052012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37406
37407 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
37408 code so that pseudo_end is just ret and the stack pointer is
37409 correct also for static library in error case.
37410
40e45bd5
JM
374112012-05-23 Joseph Myers <joseph@codesourcery.com>
37412
c2670533
JM
37413 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
37414 move to syscalls.list.
37415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
37416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37419
40e45bd5
JM
37420 * manual/install.texi (Running make install): Do not mention Linux
37421 kernel version for which pt_chown is not needed.
37422 (Linux): Do not mention problems with nscd with 2.0 kernels.
37423 * INSTALL: Regenerated.
37424
be08eda5
AJ
374252012-05-23 Andreas Jaeger <aj@suse.de>
37426
37427 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
37428 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
37429 macro.
37430 * sysdeps/unix/sysv/linux/s390/bits/mman.h
37431 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37432 * sysdeps/unix/sysv/linux/sh/bits/mman.h
37433 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37434 * sysdeps/unix/sysv/linux/i386/bits/mman.h
37435 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37436 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
37437 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37438 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
37439 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37440 * sysdeps/unix/sysv/linux/bits/in.h
37441 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
37442
a6a056bb
RM
374432012-05-22 Roland McGrath <roland@hack.frob.com>
37444
37445 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
37446 (PREPARE_VERSION): Just use assert instead, it will be elided
37447 under [NDEBUG] anyway.
37448
c9009328
L
374492012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37450
37451 * sysdeps/unix/sysv/linux/Makefile: Include
37452 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 37453 (sysdep_routines): Remove sysctl.
c9009328
L
37454 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
37455 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
37456 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
37457 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
37458 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
37459
73338355
AJ
374602012-05-22 Andreas Jaeger <aj@suse.de>
37461
37462 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
37463 that pseudo_end is just ret and the stack pointer is correct also
37464 for static library in error case.
37465
d44638b0
PP
374662012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
37467
37468 [BZ #14122]
37469 * nss/nsswitch.c (defconfig_entries): New variable.
37470 (__nss_database_lookup): Don't leak defconfig entries.
37471 (nss_parse_service_list): Don't leak on error paths.
37472 (free_database_entries): New function.
37473 (free_defconfig): New function.
37474 (free_mem): Move common code to free_database_entries.
37475
31a39bd8
L
374762012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37477
da0331a8
L
37478 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
37479 Add arch_prctl.
37480 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
37481
31a39bd8
L
37482 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37483 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
37484 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
37485 New macro.
37486 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
37487 (INTERNAL_SYSCALL_TYPES): Likewise.
37488 (LOAD_ARGS_TYPES_[1-6]): Likewise.
37489 (LOAD_REGS_TYPES_[1-6]): Likewise.
37490 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
37491 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
37492
45470df3
AZ
374932012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37494
37495 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
37496 copysignl for GLIBC_2_0.
37497 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
37498 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
37499 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
37500 logbl for GLIBC_2_0.
37501 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
37502 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
37503
98a61bcb
L
375042012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37505
a4f6e481
L
37506 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
37507 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37508
f63d5db6
L
37509 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37510 Use "neg %eax".
37511
98a61bcb
L
37512 * time/mktime.c: Update copyright years.
37513
95770f14
PE
375142012-05-22 Paul Eggert <eggert@cs.ucla.edu>
37515
6226efbd
PE
37516 mktime: merge comment-quoting-style change from gnulib
37517 * time/mktime.c: Quote 'like this' in comments.
37518 The GNU coding standards suggest that we no longer quote `like this',
37519 as "`" and "'" are typically rendered asymmetrically nowadays.
37520 The typical gnulib style is to quote 'like this' when quoting
37521 code, and "like this" when quoting English.
37522
b99e4f78
PE
37523 * time/mktime.c (compile-command): Add "-I.".
37524
643e01e6
PE
37525 mktime: merge mktime-internal.h change from gnulib
37526 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
37527
2554247d
PE
37528 mktime: merge time_r change from gnulib
37529 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
37530
826dd0ab
PE
37531 mktime: merge DEBUG change from gnulib
37532 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
37533 case system <time.h> has a #define.
37534
bd83aabe
PE
37535 mktime: merge <sys/types.h> change from gnulib
37536 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
37537 since <time.t> is now guaranteed to define time_t.
37538
95770f14
PE
37539 mktime: merge HAVE_CONFIG_H change from gnulib
37540 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
37541
5e1a27a9
L
375422012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37543
0e44a77e
L
37544 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37545 Use "neg %eax".
37546
5e1a27a9
L
37547 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
37548 __rlim_t cast.
37549 (struct rusage): Use anonymous union to pad each field to
37550 __syscall_slong_t.
37551
46259bec
DM
375522012-05-21 David S. Miller <davem@davemloft.net>
37553
37554 * Makefules (o-iterator): Remove .s cases.
37555 (compile-command.s): Delete.
37556 (COMPILE.s): Delete.
37557 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
37558
59f0c22e
JM
375592012-05-21 Joseph Myers <joseph@codesourcery.com>
37560
37561 * configure.in (libc_cv_predef_stack_protector): Only consider
37562 "foobar" and "__stack_chk_fail" lines in libc_undefs.
37563 * configure: Regenerated.
37564
20c07380
L
375652012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37566
bbb3154b
L
37567 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37568 New macro. Use R*LP on int and pointer.
37569 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
37570 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
37571 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
37572 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
37573
20c07380
L
37574 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
37575 [__WORDSIZE_TIME64_COMPAT32] instead of
37576 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
37577 (struct utmp): Likewise.
37578 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
37579 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
37580 Renamed to ...
37581 (__WORDSIZE_TIME64_COMPAT32): This.
37582 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
37583 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
37584 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
37585 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
37586 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
37587 (__WORDSIZE_TIME64_COMPAT32): New macro.
37588
d8d1017e
AJ
375892012-05-21 Andreas Jaeger <aj@suse.de>
37590
37591 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
37592 only if [SHARED]. Add prototype for __wcschr_ia32.
37593
6c7fb145
RM
375942012-05-21 Roland McGrath <roland@hack.frob.com>
37595
37596 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
37597 of %rbp unmolested in the jmp_buf while mangling the low bits.
37598 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
37599 unmolested high bits of %rbp while demangling the low bits.
37600 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37601
66274218
AJ
376022012-05-21 Andreas Jaeger <aj@suse.de>
37603
07c58f8f
AJ
37604 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
37605 * sunrpc/svc_simple.c: Use it for registerrpc.
37606 * sunrpc/xcrypt.c: Use it for passwd2des.
37607
66274218
AJ
37608 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
37609
61f65140
L
376102012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37611
37612 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
37613 Don't define if [__SYSCALL_WORDSIZE != 32].
37614 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
37615 New macro.
37616
5fefb436
AJ
376172012-05-21 Bruno Haible <bruno@clisp.org>
37618 Andreas Jaeger <aj@suse.de>
37619
37620 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
37621 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
37622 inptr and inend for must_buffer_ch.
37623 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
37624 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
37625 * stdio-common/Makefile (tests): Remove bug15.
37626 (bug15-ENV): Remove macro.
37627 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
37628 anymore.
37629
d8e272ab
AJ
376302012-05-19 Andreas Jaeger <aj@suse.de>
37631 Roland McGrath <roland@hack.frob.com>
37632
37633 * manual/contrib.texi: Completely rewritten. It contains now an
37634 alphabetical list of contributors and their contributions.
37635
4a56a162
RH
376362012-05-21 Richard Henderson <rth@twiddle.net>
37637
37638 * misc/getauxval.c (__getauxval): Use unsigned long int.
37639 * misc/sys/auxv.h: Include <sys/cdefs.h>.
37640 (getauxval): Use unsigned long int.
37641
d024d23c
L
376422012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37643
37644 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37645
cbc00a03
RM
376462012-05-21 Roland McGrath <roland@hack.frob.com>
37647
37648 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
37649 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
37650 __alignof__ (long double).
37651
478143fa
AZ
376522012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37653
37654 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37655
c7683a6d
RH
376562012-05-20 Richard Henderson <rth@twiddle.net>
37657
37658 * misc/getauxval.c: New file.
37659 * misc/sys/auxv.h: New file.
37660 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
37661 (routines): Add getauxval.
37662 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
37663 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
37664 * elf/dl-sysdep.c (_dl_auxv): Remove.
37665 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
37666 * elf/dl-support.c (_dl_auxv): New variable.
37667 (_dl_aux_init): Initialize it.
37668 * manual/startup.texi (Auxiliary Vector): New node.
37669 * sysdeps/generic/bits/hwcap.h: New file.
37670 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
37671 * sysdeps/powerpc/sysdep.h: ... here. Include it.
37672 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
37673 * sysdeps/sparc/sysdep.h: ... here. Include it.
37674 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
37675 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
37676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37677 Update.
c7683a6d
RH
37678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
37679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
37680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
37681 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
37682 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37683 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37684 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
37685 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
37686
a6f1845d
AZ
376872012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37688
37689 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37690
cbcbe830
DM
376912012-05-19 David S. Miller <davem@davemloft.net>
37692
37693 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37694
e0b16cc2
JM
376952012-05-19 Joseph Myers <joseph@codesourcery.com>
37696
37697 [BZ #14123]
37698 * math/s_ccosh.c: Include <float.h>
37699 (__ccosh): Avoid internal overflow calculating sinh and cosh
37700 values before multiplying by sin and cos values.
37701 * math/s_ccoshf.c: Likewise.
37702 * math/s_ccoshl.c: Likewise.
37703 * math/s_csin.c: Likewise.
37704 * math/s_csinf.c: Likewise.
37705 * math/s_csinl.c: Likewise.
37706 * math/s_csinh.c: Likewise.
37707 * math/s_csinhf.c: Likewise.
37708 * math/s_csinhl.c: Likewise.
37709 * math/libm-test.inc (ccos_test): Add more tests.
37710 (ccosh_test): Likewise.
37711 (csin_test): Likewise.
37712 (csinh_test): Likewise.
37713 * sysdeps/i386/fpu/libm-test-ulps: Update.
37714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37715
6ad13e08
L
377162012-05-19 H.J. Lu <hongjiu.lu@intel.com>
37717
f66f0ce8
L
37718 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37719 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37720
6ad13e08
L
37721 * sysdeps/x86_64/x32/_itoa.h: Add comment.
37722
b1d072a7
JM
377232012-05-19 Joseph Myers <joseph@codesourcery.com>
37724
37725 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37726 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37727 * sysdeps/powerpc/soft-fp/Versions: Likewise.
37728 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37729 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37730 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37731 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37732 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37733 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37734 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37735 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37736 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37737 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37738 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37739 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37740 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37741 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37742 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37743 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37744 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37745 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37746 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37747 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37748 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37749 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37750 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37751 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37752 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37753 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37754 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37755 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37756
9eae47cb
AJ
377572012-05-18 Andreas Jaeger <aj@suse.de>
37758
37759 * csu/.gitignore: Delete.
37760
bb07f69f
L
377612012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37762
37763 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37764 (timex): Use __syscall_slong_t.
37765
e6bdb741
AJ
377662012-05-18 Andreas Jaeger <aj@suse.de>
37767 Carlos O'Donell <carlos_odonell@mentor.com>
37768
37769 * manual/install.texi (Configuring and compiling): Update
37770 description about files modified in the source directory.
d6c33fda 37771 * INSTALL: Regenerated.
e6bdb741 37772
1b74487e
L
377732012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37774
37775 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37776 value. Use "or" to set return value to -1.
37777 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37778 negate return value.
37779
a88b64b9
TMQMF
377802012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37781
57f41c40
AS
37782 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37783 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
37784 failure if the compiler has Graphite support disabled.
37785 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37786 Likewise.
57f41c40
AS
37787 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37788 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
37789 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37790 Likewise.
37791
3707636e
L
377922012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37793
610b8622
L
37794 * sysdeps/x86_64/x32/_itoa.h: New file.
37795
7cd195df
L
37796 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37797 getdents system call only if kernel and user dirents have the
37798 same d_ino and d_off.
37799
94b07d20
L
37800 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37801 LLONG_MAX != LONG_MAX.
37802 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37803 (_fitoa_word): Likewise.
37804
18298070
L
37805 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
37806 years.
37807 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
37808 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
37809 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
37810
553c7ea4
L
37811 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
37812 include <bits/wordsize.h>. Check __x86_64__ instead of
37813 __WORDSIZE.
37814 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
37815 if __x86_64__ is defined. Use anonymous union on fpstate.
37816
3707636e
L
37817 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
37818 anonymous union.
37819
b53ef01a
AS
378202012-05-18 Andreas Schwab <schwab@linux-m68k.org>
37821
37fb1dc0
AS
37822 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37823 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
37824 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
37825 Refer to _rtld_local_ro instead of _rtld_global_ro.
37826 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
37827 Likewise.
37828 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
37829 Likewise.
37830 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
37831 Likewise.
37832 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
37833 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
37834 of _rtld_global, and rtld_progname instead of _dl_argv[0].
37835
b53ef01a
AS
37836 * sysdeps/powerpc/powerpc32/dl-machine.c
37837 (__elf_machine_runtime_setup) [PROF]: Don't reference
37838 _dl_prof_resolve.
37839
7a185db2
AJ
378402012-05-18 Andreas Jaeger <aj@suse.de>
37841
37842 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
37843 function only available for GCCs before 3.4 since GCC 3.4
37844 introduced a builtin.
37845 (lrint): Likewise.
37846 (llrintf): Likewise.
37847 (llrint): Likewise.
37848 (fmaxf): Likewise.
37849 (fmax): Likewise.
37850 (fminf): Likewise.
37851 (fmin): Likewise.
37852 (rint): Likewise.
37853 (rintf): Likewise.
37854 (nearbyint): Likewise.
37855 (nearbyintf): Likewise.
37856 (ceil): Likewise.
37857 (ceilf): Likewise.
37858 (floor): Likewise.
37859 (floorf): Likewise.
37860
3e5aef87
L
378612012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37862
428bd707
L
37863 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
37864 on both fields and cast pointer to __syscall_ulong_t.
37865
3e5aef87
L
37866 * bits/types.h (__fsword_t): New type.
37867 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
37868 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
37869 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37870 (__FSWORD_T_TYPE): Likewise.
37871 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37872 (__FSWORD_T_TYPE): Likewise.
37873 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37874 (__FSWORD_T_TYPE): Likewise.
37875 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
37876 (__FSWORD_T_TYPE): Likewise.
37877 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
37878 __SWORD_TYPE with __fsword_t.
37879 (statfs64): Likewise.
37880
1ba7c3dc
DM
378812012-05-17 David S. Miller <davem@davemloft.net>
37882
37883 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
37884
59910343
AJ
378852012-05-17 Andreas Jaeger <aj@suse.de>
37886
37887 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
37888 warning.
37889
2e4c1e9e
L
378902012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37891
37892 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
37893
de7f5ce7
AJ
378942012-05-17 Andreas Jaeger <aj@suse.de>
37895
37896 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
37897 when it is used.
37898
286abc3d
CM
378992012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37900
37901 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
37902
477cc68e
L
379032012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37904
37905 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
37906 * sysdeps/x86_64/tst-mallocalign1.c: New file.
37907
1a0994f5
CD
379082012-05-17 Andreas Jaeger <aj@suse.de>
37909 Carlos O'Donell <carlos_odonell@mentor.com>
37910
37911 [BZ #14059]
37912 * sysdeps/x86_64/multiarch/init-arch.h
37913 (bit_YMM_Usable): Rename to...
37914 (bit_AVX_Usable): ... this.
37915 (bit_FMA4_Usable): New macro.
37916 (bit_XMM_state): New macro.
37917 (bit_YMM_state): New macro.
37918 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
37919 [__ASSEMBLER__] (index_AVX_Usable): ... this.
37920 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
37921 (CPUID_OSXSAVE): New macro.
37922 (CPUID_AVX): New macro.
37923 (CPUID_FMA4): New macro.
37924 (index_YMM_Usable): Rename to...
37925 (index_AVX_Usable): ... this.
37926 (HAS_AVX): Use HAS_ARCH_FEATURE.
37927 (HAS_FMA4): Likewise.
37928 (HAS_YMM_USABLE): Remove.
37929 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37930 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
37931 are present.
37932 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
37933 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
37934 * sysdeps/x86_64/multiarch/Makefile: Likewise.
37935 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
37936 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
37937
0af797de
CM
379382012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37939
37940 * math/libm-test.c: Support platforms without multiple rounding modes.
37941 * math/bug-nextafter.c: Support platforms without FP exceptions.
37942 * math/bug-nexttoward.c: Likewise.
37943 * math/test-fenv.c: Likewise.
37944 * math/test-misc.c: Likewise.
37945 * stdlib/bug-getcontext.c: Likewise.
37946
e39745ff
AJ
379472012-05-17 Andreas Jaeger <aj@suse.de>
37948
37949 * manual/examples/search.c (critter_cmp): Change signature to
37950 avoid warnings.
37951 * manual/string.texi (Collation Functions): Likewise.
37952
48970aba
L
379532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37954
37955 * bits/types.h: Fold copyright years.
37956 * bits/typesizes.h: Likewise.
37957 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
37958 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
37959 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
37960 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
37961 * time/time.h: Likewise.
37962
bedee953
PP
379632012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
37964
37965 [BZ #208]
37966 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
37967 in instead of returning them. Return void.
37968 (__libc_mallinfo): Accumulate over all arenas.
37969 (__malloc_stats): Adjust for change in int_mallinfo interface.
37970
61653dfb
RM
379712012-05-16 Roland McGrath <roland@hack.frob.com>
37972
30b99d79
RM
37973 [BZ #10375]
37974 * configure.in (NM): Add AC_CHECK_TOOL for it.
37975 (libc_extra_cflags): New substituted variable.
37976 Check for -fstack-protector being used implicitly.
37977 * configure: Regenerated.
37978 * config.make.in (config-extra-cflags): New variable,
37979 gets @libc_extra_cflags@.
37980 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
37981
61653dfb
RM
37982 [BZ #10375]
37983 * configure.in: Check for _FORTIFY_SOURCE being predefined.
37984 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
37985 * configure: Regenerated.
37986 * config.make.in (CPPUNDEFS): New substituted variable.
37987 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
37988 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
37989 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
37990
661768bb
L
379912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37992
37993 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
37994 (mq_attr): Use __syscall_slong_t.
37995
d4261567
L
379962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
37997
37998 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
37999 Check __x86_64__ instead of __WORDSIZE.
38000 (_STAT_VER_LINUX): Likewise.
38001 (stat): Check __x86_64__ instead of __WORDSIZE. Use
38002 __syscall_ulong_t and __syscall_slong_t.
38003 (stat64): Likewise.
38004
cf3ff365
L
380052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38006
38007 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
38008
76cf3e4d
L
380092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38010
38011 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
38012
a637753a
L
380132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38014
38015 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
38016 __syscall_ulong_t.
38017
d5e05119
L
38018 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
38019 include <bits/wordsize.h>. Check __x86_64__ instead of
38020 __WORDSIZE.
38021 (greg_t): Use "__extension__ long long int" if __x86_64__ is
38022 defined.
38023 (mcontext_t): Replace "unsigned long" with "unsigned long long".
38024
f62ee380
L
38025 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
38026 include <bits/wordsize.h>. Check __x86_64__ instead of
38027 __WORDSIZE.
38028 (user_regs_struct): Use "__extension__ unsigned long long"
38029 instead of "unsigned long" if __x86_64__ is defined.
38030 (user): Likewise. Pad after pointer field if __ILP32__ is
38031 defined.
38032
4e124ced
JM
380332012-05-16 Joseph Myers <joseph@codesourcery.com>
38034
6a3951a0
JM
38035 * configure.in (makeinfo): Require version 4.5 or later. Allow
38036 versions 5 to 9.
38037 * configure: Regenerated.
38038 * manual/install.texi (texinfo): Increase version requirement to
38039 4.5 or later.
38040 * INSTALL: Regenerated.
38041
4e124ced
JM
38042 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
38043
953ca31a
L
380442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38045
38046 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
38047
617aca05
L
38048 * sysdeps/x86_64/x32/ffs.c: New file.
38049
5762f7ae
L
38050 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
38051 __syscall_ulong_t.
38052 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
38053 defined. Use __syscall_ulong_t.
38054 (shminfo): Use __syscall_ulong_t.
38055 (shm_info): Likewise.
38056
a26b6856
L
38057 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
38058 __syscall_ulong_t.
38059
cb2b9ef7
L
38060 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
38061 <bits/wordsize.h>.
38062 (msgqnum_t): Use __syscall_ulong_t.
38063 (msglen_t): Likewise.
38064 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
38065 __syscall_ulong_t.
38066
34683bb0
L
38067 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
38068 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38069
84a68786
L
38070 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
38071
48baa5f1
L
38072 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
38073 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
38074
180be88b
L
38075 * sysvipc/sys/msg.h (msgbuf): Replace long int with
38076 __syscall_slong_t.
38077
5e90c8ad
L
38078 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
38079 include <bits/wordsize.h>. Check __x86_64__ instead of
38080 __WORDSIZE.
38081
23dfb58b
L
38082 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
38083 "unsigned long long int" if __x86_64__ is defined.
38084 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
38085
ce5d54b0
L
38086 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
38087 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38088 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
38089
13dc9eac
L
38090 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
38091 <stdint.h>.
38092 (GET_PC): Cast to uintptr_t first.
38093 (GET_FRAME): Likewise.
38094 (GET_STACK): Likewise.
38095
a7895d15
L
38096 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
38097 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
38098 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
38099 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
38100 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
38101 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
38102 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
38103 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
38104 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
38105 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
38106 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
38107 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
38108 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38109 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
38110 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
38111 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
38112 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
38113 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
38114 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
38115 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
38116 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
38117 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
38118 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
38119 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
38120 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
38121 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
38122 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
38123 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
38124 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
38125
656416c9
AS
381262012-05-16 Andreas Schwab <schwab@linux-m68k.org>
38127
5bd66283
AS
38128 * Makerules (+depfiles): Also collect depfiles from .oS in
38129 $(extra-objs).
38130 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
38131 .oS, $(libnldbl-routines)).
38132
656416c9
AS
38133 * Makerules (native-compile-mkdep-flags): Define.
38134 * sunrpc/Makefile (extra-objs): Add $(addprefix
38135 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
38136 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
38137 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
38138 calling $(make-target-directory).
38139
a46f2169
L
381402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38141
38142 * bits/types.h (__snseconds_t): Removed.
38143 * time/time.h (struct timespec): Replace __snseconds_t with
38144 __syscall_slong_t.
38145 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
38146 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
38147 Likewise.
38148 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38149 (__SNSECONDS_T_TYPE): Likewise.
38150 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38151 (__SNSECONDS_T_TYPE): Likewise.
38152 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38153 (__SNSECONDS_T_TYPE): Likewise.
38154
6af6528b
L
381552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38156
38157 * sysdeps/mach/hurd/bits/typesizes.h
38158 (__SYSCALL_SLONG_TYPE): New macro.
38159 (__SYSCALL_ULONG_TYPE): Likewise.
38160
de986b56
L
381612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38162
38163 * bits/types.h (__syscall_slong_t): New type.
38164 (__syscall_ulong_t): Likewise.
38165
38166 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
38167 (__SYSCALL_ULONG_TYPE): Likewise.
38168 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38169 (__SYSCALL_SLONG_TYPE): Likewise.
38170 (__SYSCALL_ULONG_TYPE): Likewise.
38171 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38172 (__SYSCALL_SLONG_TYPE): Likewise.
38173 (__SYSCALL_ULONG_TYPE): Likewise.
38174 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38175 (__SYSCALL_SLONG_TYPE): Likewise.
38176 (__SYSCALL_ULONG_TYPE): Likewise.
38177
85736dc7
L
381782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38179
38180 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
38181 Add sigaltstack-offsets.sym.
38182 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
38183 <sigaltstack-offsets.h>.
38184 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
38185 longjmp_msg pointer.
38186 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
38187 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
38188 signal stack.
38189 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
38190
cc03b296
JM
381912012-05-15 Joseph Myers <joseph@codesourcery.com>
38192
a9538892
JM
38193 * elf/stackguard-macros.h: Remove file.
38194 * sysdeps/generic/stackguard-macros.h: New file.
38195 * sysdeps/i386/stackguard-macros.h: Likewise.
38196 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
38197 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
38198 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
38199 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
38200 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
38201 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
38202 * sysdeps/x86_64/stackguard-macros.h: Likewise.
38203 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
38204 <elf/stackguard-macros.h>.
38205
cc03b296
JM
38206 [BZ #14109]
38207 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
38208 __aligned__ in attribute.
38209 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
38210 (gregset_t): Likewise.
38211
93171016
L
382122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38213
38214 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
38215 * sysdeps/x86_64/64/Implies-after: Here. New file.
38216 * sysdeps/x86_64/x32/Implies-after: New file.
38217
d86813a0
L
382182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38219
38220 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
38221 and access return value for _dl_profile_fixup. Use R10_LP to
38222 load frame size.
38223
2953ec75
L
382242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38225
38226 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
38227
3b550e9e
L
382282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38229
38230 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
38231 * sysdeps/x86_64/x32/sysdep.h: New file.
38232
eda41706
L
382332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38234
38235 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
38236 * sysdeps/x86_64/setjmp.S: Likewise.
38237
9ea01d93
AZ
382382012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38239
38240 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
38241 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
38242 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
38243 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
38244 remove unused global constant.
38245
02a91938
CM
382462012-05-15 Chris Metcalf <cmetcalf@tilera.com>
38247
38248 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
38249 include of <not-cancel.h>.
38250
6540185f
RM
382512012-05-15 Roland McGrath <roland@hack.frob.com>
38252
38253 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
38254
509072a0
AJ
382552012-05-15 Jeff Law <law@redhat.com>
38256 Andreas Jaeger <aj@suse.de>
38257
38258 [BZ #13594]
38259 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
38260 out from...
38261 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
38262 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
38263 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
38264 code changing __hst_map_handle.map.
38265
ba75122d
RM
382662012-05-15 Roland McGrath <roland@hack.frob.com>
38267
38268 * configure.in (sysnames): Look for Implies-before and Implies-after
38269 files.
38270 * configure: Regenerated.
38271
890d8bd8
L
382722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38273
38274 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
38275 8-byte data alignment with LP_SIZE alignment.
38276
f6ee6623
L
382772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38278
38279 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
38280 into R10_LP.
38281
ea2626f6
L
382822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38283
38284 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
38285
085f715e
L
382862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38287
38288 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
38289 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
38290 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
38291 Likewise.
38292 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38293
be8498fc
L
382942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38295
38296 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
38297 (stackinfo_sub_sp): Likewise.
38298
70bc83b9
L
382992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38300
38301 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
38302 RAX_LP.
38303
9bc0b730
L
383042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38305
38306 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
38307 into R*_LP.
38308
6d2850e7
L
383092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38310
38311 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
38312 sizes into R*_LP.
38313
3cb84561
L
383142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38315
38316 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
38317
54e2ed81
L
383182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38319
38320 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
38321 into R11_LP and load __x86_64_shared_cache_size_half into
38322 R8_LP.
38323
8a17f349
L
383242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38325
38326 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
38327 R8_LP.
38328
777b1eea
AZ
383292012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38330
38331 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
38332 logb for POWER7.
38333 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
38334 logbf for POWER7.
38335 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
38336 logbl for POWER7.
38337 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
38338 powerpc32/power7/fpu/s_logb.c via #include.
38339 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
38340 powerpc32/power7/fpu/s_logbf.c via #include.
38341 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
38342 powerpc32/power7/fpu/s_logbl.c via #include.
38343
d20d4ac2
JM
383442012-05-15 Joseph Myers <joseph@codesourcery.com>
38345
38346 * README.libm: Remove file.
38347
6cdef1ab
L
383482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38349
38350 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
38351 count for x32. Use R*_LP and omit operand-size suffix.
38352
0b254d8f
L
383532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38354
38355 * shlib-versions: Move x86_64-.*-linux.* entries to ...
38356 * sysdeps/x86_64/64/shlib-versions: Here. New file.
38357 * sysdeps/x86_64/x32/shlib-versions: New file.
38358
ceb809dc
RM
383592012-05-14 Roland McGrath <roland@hack.frob.com>
38360
38361 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
38362 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
38363 Use _dl_fatal_printf instead.
38364
37f1abd4
JM
383652012-05-14 Joseph Myers <joseph@codesourcery.com>
38366
38367 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
38368 set if not set by the user. Do not allow for being unset.
38369 * sysdeps/unix/sysv/linux/configure: Regenerated.
38370
11de3a33
L
383712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38372
38373 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
38374 the `q' suffix from lea and replace .quad with ASM_ADDR.
38375
e02f153a
L
383762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38377
38378 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
38379 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
38380 instead of $17.
38381 (PTR_DEMANGLE): Likewise.
38382
520ae0fd
L
383832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38384
38385 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
38386 (LP_OP): Likewise.
38387 (ASM_ADDR): Likewise.
38388 (RAX_LP): Likewise.
38389 (RBP_LP): Likewise.
38390 (RBX_LP): Likewise.
38391 (RCX_LP): Likewise.
38392 (RDI_LP): Likewise.
38393 (RSI_LP): Likewise.
38394 (RSP_LP): Likewise.
38395 (R8_LP): Likewise.
38396 (R9_LP): Likewise.
38397 (R10_LP): Likewise.
38398 (R10_LP): Likewise.
38399 (R11_LP): Likewise.
38400 (R12_LP): Likewise.
38401 (R13_LP): Likewise.
38402 (R14_LP): Likewise.
38403 (R15_LP): Likewise.
38404
b985be81
L
384052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38406
38407 * sysdeps/x86_64/x32/dl-machine.h: New file.
38408
6a4888ff
AJ
384092012-05-14 Andreas Jaeger <aj@suse.de>
38410
38411 * manual/Makefile (subdir): Remove export of subdir.
38412 (all): Remove target.
38413 (.PHONY): Remove all from list.
38414 (mkinstalldirs): Remove.
38415 (.PHONY): Remove installdirs from list.
38416 ($(inst_infodir)/libc.info): Use make-target-directory.
38417 (installdirs): Remove.
38418 (subdir_%): Remove.
38419 (glibc-targets): Remove.
38420 (lib): Remove.
38421 (stubs): Remove.
38422 ($(objpfx)stubs ../po/manual.pot): Remove.
38423 ($(objpfx)stamp%): Remove.
38424 (make-target-directory): Remove.
38425 (subdir_install): Remove.
38426 (routines): Remove.
38427 (aux): Remove.
38428 (sources): Remove.
38429 (objects): Remove.
38430 (headers): Remove.
38431
38432 [BZ #13750]
38433 * manual/.gitignore: Remove, it's not needed anymore.
38434 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
38435 all files in it.
38436 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
38437 directory.
38438 (texis): Renamed to $(objpfx)texis.
38439 (texis-path): New, contains path to generated files.
38440 (chapters.%): Use texis-path for complete path, add extra argument
38441 libc-texinfo.sh.
38442 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
38443 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
38444 (summary,texi, stamp-summary): Use complete path of
38445 files. Generate files in build dir.
38446 (dir-add.texi): Build in build dir.
38447 (libm-err.texi,stamp-libm-err): Likewise.
38448 (version.texi, stamp-version): Likewise.
38449 (.%c.texi): Likewise.
38450 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
38451 (mostlyclean): Remove target.
38452 (realclean): Remove target.
38453 (generated): Add new variable with contents from mostlyclean and
38454 realclean, remove entries duplicated in common-mostlyclean, add
38455 stamp-libm-err and stamp-version.
38456 (generated-dirs): Add libc directory.
38457 ($(inst_infodir)/libc.info): Install files from build dir.
38458
38459 * manual/install.texi (Configuring and compiling): Adjust since
38460 the info files are not part of the tar ball anymore.
38461
7ac77294
AJ
384622012-05-14 Andreas Jaeger <aj@suse.de>
38463
38464 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
38465 variable.
38466
ffb7875d
JM
384672012-05-14 Joseph Myers <joseph@codesourcery.com>
38468
38469 [BZ #13717]
38470 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38471 to 2.2.0 where earlier.
38472 * sysdeps/unix/sysv/linux/configure: Regenerated.
38473 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
38474 Remove conditional code.
38475 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
38476 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
38477 Remove conditional code.
38478 [!__NR_lchown]: Likewise.
38479 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38480 [__NR_lchown]: Likewise.
38481 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
38482 comment referencing __ASSUME_LCHOWN_SYSCALL.
38483 * sysdeps/unix/sysv/linux/i386/sigaction.c
38484 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38485 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38486 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
38487 Remove conditional code.
38488 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
38489 (__protocol_available): Remove #if 0 code.
38490 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
38491 conditional code.
38492 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
38493 * sysdeps/unix/sysv/linux/kernel-features.h
38494 (__ASSUME_GETCWD_SYSCALL): Don't define.
38495 (__ASSUME_REALTIME_SIGNALS): Likewise.
38496 (__ASSUME_PREAD_SYSCALL): Likewise.
38497 (__ASSUME_PWRITE_SYSCALL): Likewise.
38498 (__ASSUME_POLL_SYSCALL): Likewise.
38499 (__ASSUME_LCHOWN_SYSCALL): Likewise.
38500 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
38501 non-SPARC.
38502 (__ASSUME_SIOCGIFNAME): Don't define.
38503 (__ASSUME_MSG_NOSIGNAL): Likewise.
38504 (__ASSUME_SENDFILE): Define unconditionally.
38505 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
38506 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
38507 conditional code.
38508 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
38509 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
38510 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38511 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38512 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
38513 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38514 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
38516 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38517 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
38519 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38520 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
38522 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38523 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
38525 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38526 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
38528 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38529 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
38531 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38532 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
38534 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38535 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
38537 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38538 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38539 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
38540 Remove conditional code.
38541 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38542 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38543 Remove conditional code.
38544 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38545 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
38546 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
38547 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38548 Remove conditional code.
38549 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38550 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
38551 Remove conditional code.
38552 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38553 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
38554 Remove conditional code.
38555 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38556 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38557 Remove conditional code.
38558 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38559 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38560 Remove conditional code.
38561 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38562 * sysdeps/unix/sysv/linux/sh/pwrite64.c
38563 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38564 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38565 * sysdeps/unix/sysv/linux/sigaction.c
38566 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38567 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38568 * sysdeps/unix/sysv/linux/sigpending.c
38569 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38570 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38571 * sysdeps/unix/sysv/linux/sigprocmask.c
38572 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38573 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38574 * sysdeps/unix/sysv/linux/sigsuspend.c
38575 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38576 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38577 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38578 (__libc_missing_rt_sigs): Remove.
38579 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
38580 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
38581 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
38582 Remove conditional code.
38583 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
38584 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
38585 return 1.
38586 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
38587 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
38588 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
38589 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
38590
1bfb7291
AJ
385912012-05-14 Andreas Jaeger <aj@suse.de>
38592
caae5a81
AJ
38593 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
38594 it's not used in glibc.
38595 (__coshm1): Likewise.
38596 (__acosh1p): Likewise.
38597 (__sgn): Likewise.
38598
1bfb7291
AJ
38599 * manual/string.texi (Copying and Concatenation): Add missing
38600 variable in concat example.
38601 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38602
c044d724
L
386032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38604
144c5467 38605 [BZ #14103]
c044d724
L
38606 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
38607 __builtin_clzl with __builtin_clzll.
38608
2523c62b
L
386092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38610
38611 [BZ #14104]
38612 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
38613 libc_freeres_ptr.
38614
d7bb4c42
LD
386152012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38616
38617 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
38618 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
38619 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
38620 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
38621
9dc4e1fb
MF
386222012-05-14 Mike Frysinger <vapier@gentoo.org>
38623
38624 * NEWS: Update ia64 info.
38625
c7df0112
AS
386262012-05-12 Andreas Schwab <schwab@linux-m68k.org>
38627
38628 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
38629 used as bcopy.
38630
dc70356c
TS
386312012-05-12 Thomas Schwinge <thomas@codesourcery.com>
38632
38633 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
38634 * sysdeps/unix/syscalls.list (dup3): Likewise.
38635 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
38636 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
38637
9fb1a21f
L
386382012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38639
38640 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
38641 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
38642
4822a2a5
L
386432012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38644
38645 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
38646 thread pointer.
38647 (TLS_IE): Use mov/add instead of movq/addq to load thread
38648 pointer.
38649 (TLS_GD_PREFIX): New.
38650 (TLS_GD): Use it.
38651
842b81d6
DM
386522012-05-11 David S. Miller <davem@davemloft.net>
38653
38654 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
38655 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
38656 (_FPU_SETCW): Likewise.
38657
1cf463cd
L
386582012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38659
38660 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
38661 is 32-byte aligned.
38662
60cc4a18
AS
386632012-05-11 Andreas Schwab <schwab@linux-m68k.org>
38664
38665 [BZ #11837]
38666 * iconvdata/gb18030.c: Update tables.
38667 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
38668 characters specially.
38669 (BODY for TO_LOOP): Add encoding of missing ranges.
38670
febb44a4
TS
386712012-05-11 Thomas Schwinge <thomas@codesourcery.com>
38672
38673 [BZ #13673]
38674 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
38675 * sysdeps/mach/hurd/dup3.c: Likewise.
38676 * sysdeps/mach/hurd/readlinkat.c: Likewise.
38677 * sysdeps/powerpc/memmove.c:: Likewise.
38678
0a10fb9e
L
386792012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38680
38681 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
38682 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
38683
df8a552f
L
386842012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38685
38686 * elf/elf.h (R_X86_64_RELATIVE64): New.
38687 (R_X86_64_NUM): Updated.
38688 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38689 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
38690 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
38691 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
38692 tst-quad1pie tst-quad2pie
38693 (modules-names): Add tst-quadmod1 tst-quadmod2.
38694 ($(objpfx)tst-quad1): New dependency.
38695 ($(objpfx)tst-quad2): Likewise.
38696 ($(objpfx)tst-quad1pie): Likewise.
38697 ($(objpfx)tst-quad2pie): Likewise.
38698 * sysdeps/x86_64/tst-quad1.c: New file.
38699 * sysdeps/x86_64/tst-quad1pie.c: New file.
38700 * sysdeps/x86_64/tst-quad2.c: Likewise.
38701 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
38702 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
38703 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
38704 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
38705 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
38706
f34d6f84
ST
387072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38708
f42d41d1
ST
38709 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
38710 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38711 * streams/stropts.h (t_scalar_t): Define type.
38712
3c3571fc
ST
38713 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38714 (_PATH_PRESERVE): Set to "/var/lib".
38715 (_PATH_RWHODIR): Set to "/var/spool/rwho".
38716
61f06bd3
ST
38717 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38718 instead of int.
38719
918d4d71
ST
38720 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38721 if __dir_mkfile succeeded.
38722
f34d6f84
ST
38723 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38724 checking for _hurd_dtablesize. Unlock it right after having
38725 finished _hurd_dtable allocation.
38726
10589b4a
TS
387272012-05-10 Thomas Schwinge <thomas@schwinge.name>
38728
674cdbc7
TS
38729 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38730 * sysdeps/mach/hurd/configure: Regenerated.
38731 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38732 special-casing to...
38733 * sysdeps/gnu/configure.in: ... this new file.
38734 * sysdeps/unix/sysv/linux/configure: Regenerated.
38735 * sysdeps/gnu/configure: New generated file.
38736
8e41b99f
TS
38737 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38738 for Linux: use nsec instead of usec, as well as:
38739 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38740 members of type struct timespec.
38741 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38742 New macros.
38743 (struct stat64): Likewise.
38744 (_STATBUF_ST_NSEC): New macro.
38745 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38746
10589b4a
TS
38747 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38748 __strtoul_internal rather than strtoul.
38749
63643c85
PT
387502012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38751
38752 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38753 and reject them.
38754
3faebe6a
ST
387552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38756
38757 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38758 which preserves existing values.
38759 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38760
c6474b07
PT
387612012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38762
38763 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38764 TIMEOUT values. Return EINVAL for NFDS values either negative or
38765 greater than FD_SETSIZE.
38766
1043890b
ST
387672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38768
38769 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38770 allocated, call __vm_protect to finish enabling the existing space, and
38771 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38772 allocate the remainder.
38773
37ed8b9b
PT
387742012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38775
38776 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38777 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
38778
db653660
ST
387792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38780
37ed8b9b
PT
38781 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38782 sysdeps/mach/hurd/readlink.c.
b29d4053 38783
db653660
ST
38784 * posix/tst-sysconf.c (posix_options): Only use
38785 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38786 _POSIX_SYNCHRONIZED_IO when they are defined
38787 * sysdeps/mach/hurd/bits/posix_opt.h:
38788 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38789 (_XOPEN_REALTIME): Undefine macro.
38790 (_XOPEN_REALTIME_THREADS): Undefine macro.
38791 (_XOPEN_SHM): Undefine macro.
38792 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38793 macro to -1.
38794 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38795 macro to -1.
38796 (_POSIX_ASYNC_IO): Undefine macro.
38797 (_POSIX_PRIORITIZED_IO): Undefine macro.
38798 (_POSIX_SPIN_LOCKS): Define macro to -1.
38799
ee16e894
ST
38800 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38801 SA_NODEFER, SA_RESETHAND.
38802 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38803 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
38804 F_DUPFD_CLOEXEC.
38805
6103ae3b
TS
388062012-05-10 Thomas Schwinge <thomas@schwinge.name>
38807
38808 * elf/Makefile (pldd-modules): Define unconditionally.
38809
80b4e5f3
TS
388102012-05-10 Thomas Schwinge <thomas@schwinge.name>
38811
38812 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
38813
edadcbd6
ST
388142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38815
38816 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
38817 Return ENOENT when name is empty.
38818 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
38819
80694780
TS
388202012-05-10 Thomas Schwinge <thomas@schwinge.name>
38821
1792c087
TS
38822 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
38823
80694780
TS
38824 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
38825
6b645f0d
ST
388262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38827
80694780
TS
38828 Fix mlock in all cases except non-readable pages.
38829 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
38830 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 38831
6b645f0d
ST
38832 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
38833 (__mkdir): When path is `/', just fail with EEXIST.
38834 * sysdeps/mach/hurd/mkdirat.c: Likewise.
38835
e468f8a3
TS
388362012-05-10 Thomas Schwinge <thomas@schwinge.name>
38837
38838 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
38839 <sys/uio.h> (for writev).
38840 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
38841 and <sys/param.h> (for MIN).
38842
a4186cff
PT
388432012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38844
38845 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
38846 REQUESTED_TIME. Properly set the remaining time and return EINTR
38847 if interrupted.
38848
510bbf14
TS
388492012-05-10 Thomas Schwinge <thomas@schwinge.name>
38850
38851 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
38852 Depend on against $(link-rpcuserlibs).
38853
5d5722e8
ST
388542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38855
a4186cff
PT
38856 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
38857 (__libc_stack_end): Do not use attribute_relro.
38858 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
38859 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 38860 to libthread-provided value.
a4186cff
PT
38861 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
38862 attribute_relro.
5d5722e8 38863
37233df9
TS
388642012-05-10 Thomas Schwinge <thomas@schwinge.name>
38865
be971a2b
TS
38866 [BZ #3748]
38867 * bits/libc-lock.h (__libc_once_get): New macro.
38868 * sysdeps/mach/bits/libc-lock.h: Likewise.
38869 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
38870 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
38871 instead of using implementation details.
38872
37233df9
TS
38873 * libio/fileops.c: Unconditionally include <kernel-features.h>.
38874 * libio/freopen.c: Likewise.
38875 * libio/freopen64.c: Likewise.
38876 * misc/syslog.c: Likewise.
38877 * nscd/connections.c: Likewise.
38878 * nscd/netgroupcache.c: Likewise.
38879 * sysdeps/posix/getcwd.c: Likewise.
38880
38de94a5
RM
388812012-05-10 Roland McGrath <roland@hack.frob.com>
38882
38883 * math/w_ilogbf.c: Add #include <limits.h>.
38884
67530489
ST
388852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38886
a4186cff 38887 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
38888 path instead of returning without unlocking.
38889
67530489
ST
38890 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
38891 immediate-write ioctls.
38892 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
38893
5aa3a74a
TS
388942012-05-10 Thomas Schwinge <thomas@schwinge.name>
38895
18bad2ae
TS
38896 * sysdeps/mach/hurd/i386/init-first.c (init): Use
38897 __builtin_frame_address instead of making assumptions about the
38898 location of the return address relative to DATA. Force early load of
38899 the return address.
38900 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
38901 __builtin_frame_address.
38902
5aa3a74a
TS
38903 dup3 for GNU Hurd.
38904 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
38905 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
38906 implement dup3 and do some further code clean-ups.
38907 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
38908 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
38909
ecd0de9a
ST
389102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38911
cd9fa985
ST
38912 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
38913
a4186cff
PT
38914 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
38915 HURD_CRITICAL_END around holding _hurd_dtable_lock.
38916 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
38917 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
38918 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
38919 d->port.lock.
802ca5a5 38920
a4186cff
PT
38921 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
38922 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
38923 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 38924
bcf55240
TS
389252012-05-10 Thomas Schwinge <thomas@schwinge.name>
38926
6960eb42
TS
38927 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
38928 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
38929 definitions.
38930
eb43375f
TS
38931 accept4 for GNU Hurd.
38932 * include/sys/socket.h (__libc_accept4): New prototype.
38933 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
38934 to implement __libc_accept4.
38935 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
38936 __libc_accept4.
38937 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
38938
bcf55240
TS
38939 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
38940 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
38941 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
38942 signal-defines.sym.
38943
6178c55b
ST
389442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38945
a4186cff 38946 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 38947
6f080c2f
TS
389482012-05-10 Thomas Schwinge <thomas@schwinge.name>
38949
38950 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
38951 assertion on O_CLOEXEC flag.
38952 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
38953 * hurd/intern-fd.c: Likewise.
38954 * hurd/port2fd.c: Likewise.
38955
bcfe3a54
ST
389562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38957
38958 [BZ #3906]
38959 * bits/in.h (IPV6_PKTINFO): Define new macro.
38960 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
38961
89c9aa49
AZ
389622012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38963
38964 [BZ #13954]
38965 [BZ #13955]
38966 [BZ #13956]
38967 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
38968 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38969 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
38970 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38971 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38972 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38973 * math/libm-test.inc (logb_test) : Additional logb tests.
38974
021db4be
AJ
389752012-05-09 Andreas Schwab <schwab@linux-m68k.org>
38976 Andreas Jaeger <aj@suse.de>
38977
38978 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
38979 * configure: Regenerated.
38980 * config.h.in (LINK_OBSOLETE_RPC): New macro.
38981 * config.make.in (link-obsolete-rpc): New substituted variable.
38982 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
38983 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
38984 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38985 (shared-only-routines): Don't set it under [link-obsolete-rpc],
38986 so that libc.a contains the symbols.
38987 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
38988 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
38989 * sunrpc/auth_none.c: Likewise.
38990 * sunrpc/auth_unix.c: Likewise.
38991 * sunrpc/authdes_prot.c: Likewise.
38992 * sunrpc/authuxprot.c: Likewise.
38993 * sunrpc/clnt_gen.c: Likewise.
38994 * sunrpc/clnt_perr.c: Likewise.
38995 * sunrpc/clnt_raw.c: Likewise.
38996 * sunrpc/clnt_simp.c: Likewise.
38997 * sunrpc/clnt_tcp.c: Likewise.
38998 * sunrpc/clnt_udp.c: Likewise.
38999 * sunrpc/clnt_unix.c: Likewise.
39000 * sunrpc/des_crypt.c: Likewise.
39001 * sunrpc/des_soft.c: Likewise.
39002 * sunrpc/get_myaddr.c: Likewise.
39003 * sunrpc/key_call.c: Likewise.
39004 * sunrpc/key_prot.c: Likewise.
39005 * sunrpc/netname.c: Likewise.
39006 * sunrpc/pm_getmaps.c: Likewise.
39007 * sunrpc/pm_getport.c: Likewise.
39008 * sunrpc/pmap_clnt.c: Likewise.
39009 * sunrpc/pmap_prot.c: Likewise.
39010 * sunrpc/pmap_prot2.c: Likewise.
39011 * sunrpc/pmap_rmt.c: Likewise.
39012 * sunrpc/publickey.c: Likewise.
39013 * sunrpc/rpc_cmsg.c: Likewise.
39014 * sunrpc/rpc_common.c: Likewise.
39015 * sunrpc/rpc_dtable.c: Likewise.
39016 * sunrpc/rpc_prot.c: Likewise.
39017 * sunrpc/rpc_thread.c: Likewise.
39018 * sunrpc/rtime.c: Likewise.
39019 * sunrpc/svc.c: Likewise.
39020 * sunrpc/svc_auth.c: Likewise.
39021 * sunrpc/svc_raw.c: Likewise.
39022 * sunrpc/svc_run.c: Likewise.
39023 * sunrpc/svc_tcp.c: Likewise.
39024 * sunrpc/svc_udp.c: Likewise.
39025 * sunrpc/svc_unix.c: Likewise.
39026 * sunrpc/svcauth_des.c: Likewise.
39027 * sunrpc/xcrypt.c: Likewise.
39028 * sunrpc/xdr.c: Likewise.
39029 * sunrpc/xdr_array.c: Likewise.
39030 * sunrpc/xdr_float.c: Likewise.
39031 * sunrpc/xdr_intXX_t.c: Likewise.
39032 * sunrpc/xdr_mem.c: Likewise.
39033 * sunrpc/xdr_rec.c: Likewise.
39034 * sunrpc/xdr_ref.c: Likewise.
39035 * sunrpc/xdr_sizeof.c: Likewise.
39036 * sunrpc/xdr_stdio.c: Likewise.
39037
b5c086a2
RM
390382012-05-10 Roland McGrath <roland@hack.frob.com>
39039
39040 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
39041 change. Update copyright years.
39042
6d74dd09
JM
390432012-05-10 Joseph Myers <joseph@codesourcery.com>
39044
39045 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
39046
28e72501
MK
390472012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
39048 Joseph Myers <joseph@codesourcery.com>
39049 Paul Pluzhnikov <ppluzhnikov@google.com>
39050
39051 [BZ #14012]
39052 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
39053 requiring rpcgen.
39054 [cross-compiling] (extra-libs): Likewise.
39055 [cross-compiling] (extra-libs-others): Likewise.
39056 [cross-compiling] (librpcsvc-routines): Likewise.
39057 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
39058 [cross-compiling] (omit-deps): Likewise.
39059 (sunrpc-CPPFLAGS): New variable.
39060 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
39061 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
39062 (cross-rpcgen-objs): New variable.
39063 (extra-objs): Append $(cross-rpcgen-objs).
39064 ($(cross-rpcgen-objs)): New rule.
39065 ($(objpfx)cross-rpcgen): Likewise.
39066 (rpcgen-cmd): Define to use $(built-program-file). Expand
39067 comment.
39068 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
39069 ($(objpfx)x%.stmp): Likewise.
39070 * sunrpc/proto.h [IS_IN_build] (_): Define.
39071 [IS_IN_build] (_libc_intl_domainname): Likewise.
39072
c8c59454
L
390732012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39074
39075 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
39076 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
39077 and R_X86_64_TPOFF64.
39078
6f27cd16
JM
390792012-05-10 Joseph Myers <joseph@codesourcery.com>
39080
39081 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
39082 sysdeps/unix/sysv/syscalls.list.
39083 (stime): Likewise.
39084 (utime): Likewise.
39085 * sysdeps/unix/sysv/syscalls.list: Remove file.
39086
02467e1c
PE
390872012-05-10 Paul Eggert <eggert@cs.ucla.edu>
39088
39089 [BZ #3440]
39090 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
39091 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
39092 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
39093 (__LC_IDENTIFICATION): Make these macros useful in #if
39094 expressions, as required by C99.
39095
da392631
AS
390962012-05-10 Andreas Schwab <schwab@linux-m68k.org>
39097
39098 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
39099 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
39100 after this.
39101
8115f29b
L
391022012-05-09 H.J. Lu <hongjiu.lu@intel.com>
39103
39104 * stdlib/longlong.h: Updated from GCC.
39105
bdd74070
AJ
391062012-05-09 Andreas Jaeger <aj@suse.de>
39107
edfe0dbe
AJ
39108 * nscd/nscd.c (run_modes): Make named enum, reorder so that
39109 default is first entry.
39110 (run_mode): Set type.
39111 (main): Remove informal message about syslog.
39112 (options): Fix typo.
39113
bcfe3a54
ST
39114 [BZ #14053]
39115 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 39116 to asm.
bcfe3a54
ST
39117 (lrint): Likewise.
39118 (llrintf): Likewise.
39119 (llrint): Likewise.
39120 (rint): Likewise.
39121 (rintf): Likewise.
39122 (nearbyint): Likewise.
39123 (nearbyintf): Likewise.
bdd74070 39124
91d8d69e
AJ
391252012-05-09 Andreas Jaeger <aj@suse.de>
39126 Pedro Alves <palves@redhat.com>
39127
39128 * nscd/nscd.c (run_mode): Use enum.
39129 (main): Cleanup coding style issue.
39130
bb90b80b
AJ
391312012-05-09 Alexandre Oliva <aoliva@redhat.com>
39132 Andreas Jaeger <aj@suse.de>
39133
bcfe3a54
ST
39134 * nscd/nscd.c (go_background): Replaced with...
39135 (run_mode): ... this.
bb90b80b 39136 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
39137 (options): Add -F --foreground.
39138 (main): Implement it.
39139 (parse_opt): Parse it.
bb90b80b 39140
1a4b75a1
AJ
391412012-05-09 Andreas Jaeger <aj@suse.de>
39142
39143 [BZ #14083]
39144 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
39145 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
39146 -Wconversion warning.
39147 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
39148 Likewise.
39149
b1cc2472
JM
391502012-05-09 Joseph Myers <joseph@codesourcery.com>
39151
39152 * conform/data/locale.h-data (NULL): Use macro-constant. Require
39153 == 0.
39154 (LC_ALL): Use macro-int-constant.
39155 (LC_COLLATE): Likewise.
39156 (LC_CTYPE): Likewise.
39157 (LC_MESSAGES): Likewise.
39158 (LC_MONETARY): Likewise.
39159 (LC_NUMERIC): Likewise.
39160 (LC_TIME): Likewise.
39161 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
39162 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39163 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39164 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
39165 Specify type.
39166 [C99-based standards] (float_t): Expect type.
39167 [C99-based standards] (double_t): Expect type.
39168 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
39169 type.
39170 [C99-based standards] (HUGE_VALL): Likewise.
39171 [C99-based standards] (INFINITY): Likewise.
39172 [C99-based standards] (NAN): Likewise.
39173 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
39174 [C99-based standards] (FP_NAN): Likewise.
39175 [C99-based standards] (FP_NORMAL): Likewise.
39176 [C99-based standards] (FP_SUBNORMAL): Likewise.
39177 [C99-based standards] (FP_ZERO): Likewise.
39178 [C99-based standards] (FP_FAST_FMA): Use
39179 optional-macro-int-constant. Specify type. Require == 1.
39180 [C99-based standards] (FP_FAST_FMAF): Likewise.
39181 [C99-based standards] (FP_FAST_FMAL): Likewise.
39182 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
39183 [C99-based standards] (FP_ILOGBNAN): Likewise.
39184 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
39185 Specify type.
39186 [C99-based standards] (MATH_ERREXCEPT): Likewise.
39187 [C99-based standards] (math_errhandling): Specify type.
39188 [ISO99 || ISO11] (signgam): Do not allow.
39189 [non-C99-based standards] (copysignf): Do not allow.
39190 [non-C99-based standards] (exp2f): Likewise.
39191 [non-C99-based standards] (log2f): Likewise.
39192 [non-C99-based standards] (modff): Allow.
39193 [non-C99-based standards] (erff): Do not allow.
39194 [non-C99-based standards] (erfcf): Likewise.
39195 [non-C99-based standards] (gammaf): Likewise.
39196 [non-C99-based standards] (hypotf): Likewise.
39197 [non-C99-based standards] (j0f): Likewise.
39198 [non-C99-based standards] (j1f): Likewise.
39199 [non-C99-based standards] (jnf): Likewise.
39200 [non-C99-based standards] (lgammaf): Likewise.
39201 [non-C99-based standards] (tgammaf): Likewise.
39202 [non-C99-based standards] (y0f): Likewise.
39203 [non-C99-based standards] (y1f): Likewise.
39204 [non-C99-based standards] (ynf): Likewise.
39205 [non-C99-based standards] (isnanf): Likewise.
39206 [non-C99-based standards] (acoshf): Likewise.
39207 [non-C99-based standards] (asinhf): Likewise.
39208 [non-C99-based standards] (atanhf): Likewise.
39209 [non-C99-based standards] (cbrtf): Likewise.
39210 [non-C99-based standards] (expm1f): Likewise.
39211 [non-C99-based standards] (ilogbf): Likewise.
39212 [non-C99-based standards] (log1pf): Likewise.
39213 [non-C99-based standards] (logbf): Likewise.
39214 [non-C99-based standards] (nextafterf): Likewise.
39215 [non-C99-based standards] (remainderf): Likewise.
39216 [non-C99-based standards] (rintf): Likewise.
39217 [non-C99-based standards] (scalbf): Likewise.
39218 [non-C99-based standards] (copysignl): Likewise.
39219 [non-C99-based standards] (exp2l): Likewise.
39220 [non-C99-based standards] (log2l): Likewise.
39221 [non-C99-based standards] (modfl): Allow.
39222 [non-C99-based standards] (erfl): Do not allow.
39223 [non-C99-based standards] (erfcl): Likewise.
39224 [non-C99-based standards] (gammal): Likewise.
39225 [non-C99-based standards] (hypotl): Likewise.
39226 [non-C99-based standards] (j0l): Likewise.
39227 [non-C99-based standards] (j1l): Likewise.
39228 [non-C99-based standards] (jnl): Likewise.
39229 [non-C99-based standards] (lgammal): Likewise.
39230 [non-C99-based standards] (tgammal): Likewise.
39231 [non-C99-based standards] (y0l): Likewise.
39232 [non-C99-based standards] (y1l): Likewise.
39233 [non-C99-based standards] (ynl): Likewise.
39234 [non-C99-based standards] (isnanl): Likewise.
39235 [non-C99-based standards] (acoshl): Likewise.
39236 [non-C99-based standards] (asinhl): Likewise.
39237 [non-C99-based standards] (atanhl): Likewise.
39238 [non-C99-based standards] (cbrtl): Likewise.
39239 [non-C99-based standards] (expm1l): Likewise.
39240 [non-C99-based standards] (ilogbl): Likewise.
39241 [non-C99-based standards] (log1pl): Likewise.
39242 [non-C99-based standards] (logbl): Likewise.
39243 [non-C99-based standards] (nextafterl): Likewise.
39244 [non-C99-based standards] (remainderl): Likewise.
39245 [non-C99-based standards] (rintl): Likewise.
39246 [non-C99-based standards] (scalbl): Likewise.
39247 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39248 [non-C99-based standards] (FP_*): Do not allow.
39249 [C99-based standards] (FP_*): Change to
39250 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39251 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39252 allow.
39253 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
39254 (SIG_ERR): Likewise.
39255 [X/Open-based standards] (SIG_HOLD): Likewise.
39256 (SIG_IGN): Likewise.
39257 (SIGABRT): Use macro-int-constant. Specify type. Require
39258 positive value.
39259 (SIGFPE): Likewise.
39260 (SIGILL): Likewise.
39261 (SIGINT): Likewise.
39262 (SIGSEGV): Likewise.
39263 (SIGTER): Likewise.
39264 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
39265 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
39266 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
39267 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
39268 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
39269 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
39270 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
39271 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
39272 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
39273 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
39274 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
39275 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
39276 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
39277 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
39278 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
39279 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
39280 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
39281 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
39282 [X/Open-based standards] (SIGTRAP): Likewise.
39283 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
39284 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
39285 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
39286 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
39287 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39288 allow.
39289
b9f1922d
IW
392902012-05-08 Ian Wienand <ianw@vmware.com>
39291
39292 [BZ #14080]
39293 * time/tzset.c (__tzset_parse_tz): Update default rules for
39294 daylight time changes in the Energy Policy Act of 2005.
39295
1db86e88
AJ
392962012-05-09 Andreas Jaeger <aj@suse.de>
39297
39298 [BZ #13983]
39299 * elf/ldconfig.c (parse_conf): Change string to make clear that
39300 ldconfig only issued a warning if ld.so.conf does not exist.
39301
dee4a4e3
DM
393022012-05-08 David S. Miller <davem@davemloft.net>
39303
ee0db190
DM
39304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
39305 movxtod instead of popping the value on the stack.
39306
dee4a4e3
DM
39307 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39308
6a43ec98
CD
393092012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
39310
39311 * config.h.in: Add HAVE_ARM_PCS_VFP.
39312
05c2c961
RMG
393132012-05-08 Roland Mc Grath <roland@hack.frob.com>
39314
bcfe3a54
ST
39315 [BZ #13979]
39316 * include/features.h: Warn if user requests __FORTIFY_SOURCE
39317 checking but the checks are disabled for any reason.
05c2c961 39318
4b30f61a
L
393192012-05-08 H.J. Lu <hongjiu.lu@intel.com>
39320
39321 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
39322 and ELF64_R_TYPE with ELFW(R_TYPE).
39323
eee2bc67
JM
393242012-05-08 Joseph Myers <joseph@codesourcery.com>
39325
7ea5391a
JM
39326 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
39327 (ulimit): Likewise.
39328
eee2bc67
JM
39329 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
39330 (settimeofday): Likewise.
39331
abb66a67
MF
393322012-05-08 Mike Frysinger <vapier@gentoo.org>
39333
39334 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
39335 a struct th_u2 inside the union, and move tu_block/tu_code into
39336 a new th_u3 union of tu_block/tu_code inside of that. Move
39337 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
39338 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
39339 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
39340 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
39341 (th_stuff): Change to th_u1.tu_stuff.
39342 (th_data): Define.
39343 (th_msg): Change to th_u1.th_u2.tu_data.
39344
7f18b530
DM
393452012-05-07 David S. Miller <davem@davemloft.net>
39346
05760585
DM
39347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39348
7f18b530
DM
39349 [BZ #14074]
39350 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
39351 (SETUP_PIC_REG): Use it.
39352 (SETUP_PIC_REG_LEAF): Use it.
39353
495fd99f
JM
393542012-05-07 Joseph Myers <joseph@codesourcery.com>
39355
39356 [BZ #13885]
39357 [BZ #13923]
39358 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39359 USE_AS_EXPM1L.
39360 (EXPL_FINITE): Likewise.
39361 (FLDLOG): Likewise.
39362 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39363 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39364 e_expl.S.
39365 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39366 USE_AS_EXPM1L.
39367 (EXPL_FINITE): Likewise.
39368 (FLDLOG): Likewise.
39369 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39370 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39371 e_expl.S.
39372 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
39373 test of -max_value argument for long double.
39374 * sysdeps/i386/fpu/libm-test-ulps: Update.
39375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39376
6693d694
DM
393772012-05-06 David S. Miller <davem@davemloft.net>
39378
39379 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
39380 quad soft-float symbols whose references which are compiler
39381 generated.
39382 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39383
6c23e11c
JM
393842012-05-06 Joseph Myers <joseph@codesourcery.com>
39385
d8b82cad
JM
39386 [BZ #13884]
39387 [BZ #13914]
39388 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39389 USE_AS_EXP10L.
39390 (EXPL_FINITE): Likewise.
39391 (FLDLOG): Likewise.
39392 (c0): Likewise.
39393 (c1): Likewise.
39394 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39395 Adjust comments for base varying.
39396 (__expl_finite): Change alias to EXPL_FINITE.
39397 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
39398 e_expl.S.
39399 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
39400 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
39401 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
39402 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
39403 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39404 USE_AS_EXP10L.
39405 (EXPL_FINITE): Likewise.
39406 (FLDLOG): Likewise.
39407 (c0): Likewise.
39408 (c1): Likewise.
39409 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39410 Adjust comments for base varying.
39411 (__expl_finite): Change alias to EXPL_FINITE.
39412 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
39413 tests for bugs.
39414 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39415
6c23e11c
JM
39416 [BZ #14064]
39417 * math/libm-test.inc (check_float_internal): Correct ulp
39418 calculation for subnormal expected results.
39419
29ba805c
AJ
394202012-05-06 Andreas Jaeger <aj@suse.de>
39421
39422 * Makeconfig (+math-flags): New, set to -frounding-math.
39423 (+cflags): Add +math-flags so that all of glibc gets compiled with
39424 it.
39425
39426 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
39427
7b17aeda
JM
394282012-05-05 Joseph Myers <joseph@codesourcery.com>
39429
5779f134
JM
39430 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
39431 Disable one test.
39432
41498f4d
JM
39433 [BZ #13787]
39434 [BZ #13922]
39435 [BZ #14036]
39436 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
39437 (__ieee754_expl): Allow for and saturate large arguments.
39438 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
39439 (u_threshold): Likewise.
39440 (__exp): Call __ieee754_exp before checking for overflow and
39441 underflow.
39442 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
39443 (u_threshold): Likewise.
39444 (__expf): Call __ieee754_expf before checking for overflow and
39445 underflow.
39446 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
39447 (u_threshold): Likewise.
39448 (__expl): Call __ieee754_expl before checking for overflow and
39449 underflow.
39450 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
39451 (__ieee754_expl): Allow for and saturate large arguments.
39452 * math/libm-test.inc (exp_test): Add another test. Do not allow
39453 missing overflow exception on overflow.
39454 (expm1_test): Do not allow missing overflow exception on overflow.
39455
6698b8bf
JM
39456 * sysdeps/i386/fpu/e_expl.c: Move to ...
39457 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
39458 rather than using inline asm.
39459 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
39460 * sysdeps/x86_64/fpu/e_expl.S: Copy from
39461 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
39462
7b17aeda
JM
39463 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
39464 (nice): Likewise.
39465 (poll): Likewise.
39466 (signal): Likewise.
39467 (time): Likewise.
39468 (times): Likewise.
39469
f7c85819
JM
394702012-05-04 Joseph Myers <joseph@codesourcery.com>
39471
39472 * sysdeps/unix/syscalls.list (adjtime): Add entry from
39473 sysdeps/unix/common/syscalls.list.
39474 (fchmod): Likewise.
39475 (fchown): Likewise.
39476 (ftruncate): Likewise.
39477 (getrusage): Likewise.
39478 (gettimeofday): Likewise.
39479 (setpgid): Likewise.
39480 (setregid): Likewise.
39481 (setreuid): Likewise.
39482 (sigaction): Likewise.
39483 (truncate): Likewise.
39484 (vhangup): Likewise.
39485 * sysdeps/unix/common/syscalls.list: Remove file.
39486 * sysdeps/unix/bsd/Implies: Don't include unix/common.
39487 * sysdeps/unix/sysv/linux/Implies: Likewise.
39488
336270d0
L
394892012-05-04 H.J. Lu <hongjiu.lu@intel.com>
39490
39491 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
39492 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
39493 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
39494 Moved to ...
39495 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
39496 Here.
39497 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
39498 to ...
39499 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
39500 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
39501 to ...
39502 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
39503 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
39504 to ...
39505 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
39506 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
39507 to ...
39508 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
39509 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
39510 to ...
39511 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
39512 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
39513 to ...
39514 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
39515 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
39516 to ...
39517 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
39518 Here.
39519 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
39520 to ...
39521 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
39522 Here.
39523 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
39524 to ...
39525 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
39526 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
39527 Moved to ...
39528 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
39529 Here.
39530 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
39531 to ...
39532 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
39533
d128e450
JM
395342012-05-04 Joseph Myers <joseph@codesourcery.com>
39535
fa8ee516
JM
39536 * sysdeps/unix/common/bits/dirent.h: Remove file.
39537 * sysdeps/unix/common/bits/fcntl.h: Likewise.
39538
d128e450
JM
39539 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
39540 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
39541 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
39542 * sysdeps/unix/bsd/isatty.c: Likewise.
39543 * sysdeps/unix/bsd/tcdrain.c: Likewise.
39544 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
39545 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
39546
ff8faaf0 395472012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 39548
62881be4 39549 [BZ #13563]
31dc8730
AZ
39550 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
39551 long double comparison inaccuracies.
39552 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39553 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39554
6fef930c
AS
395552012-05-04 Andreas Schwab <schwab@linux-m68k.org>
39556
39557 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
39558 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
39559
8f203e6c
JM
395602012-05-04 Joseph Myers <joseph@codesourcery.com>
39561
39562 [BZ #14049]
39563 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
39564 nonzero digits before rounding a hex value.
39565 * stdlib/tst-strtod.c (tests): Add another test.
39566
5197d9c2
AK
395672012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39568
39569 * sysdeps/s390/fpu/libm-test-ulps: Update.
39570
f0c1dedf
AJ
395712012-05-03 Andreas Jaeger <aj@suse.de>
39572
39573 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
39574 does not get optimized out.
39575 (malloc_opt_barrier): New.
39576
a65ef2ae 395772012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 39578 Roland McGrath <roland@hack.frob.com>
a65ef2ae 39579
2b942cb7 39580 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 39581 intermediate file deletion.
2b942cb7 39582 (generated): Add .symlist files.
a65ef2ae 39583
54b71e02
JM
395842012-05-03 Joseph Myers <joseph@codesourcery.com>
39585
39586 [BZ #13775]
39587 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
39588 Redirect under this condition.
39589 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39590 [__USE_GNU] (__dprintf_chk): Not under this condition.
39591 [__USE_GNU] (__vdprintf_chk): Likewise.
39592 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
39593 under this condition.
39594 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39595 [__USE_XOPEN2K8] (dprintf): Define under this condition.
39596 [__USE_XOPEN2K8] (vdprintf): Likewise.
39597 [__USE_GNU] (__dprintf_chk): Not under this condition.
39598 [__USE_GNU] (__vdprintf_chk): Likewise.
39599 [__USE_GNU] (dprintf): Likewise.
39600 [__USE_GNU] (vdprintf): Likewise.
39601
d3dfcc41
RM
396022012-05-03 Roland McGrath <roland@hack.frob.com>
39603
39604 * elf/Makefile (common-generated): Set this instead of generated for
39605 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
39606 $(all-built-dso)-derived lists.
39607
7ac30cc5
AJ
396082012-05-03 Andreas Jaeger <aj@suse.de>
39609
0c51e550
AJ
39610 * sysdeps/i386/fpu/libm-test-ulps: Update.
39611
7ac30cc5
AJ
39612 * FAQ: Removed.
39613 * FAQ.in: Likewise.
39614 * scripts/gen-FAQ.pl: Likewise.
39615 * manual/install.texi (Installation): Point to online location of
39616 FAQ.
39617 * Makefile (files-for-dist): Remove FAQ.
39618 (FAQ): Remove.
39619
d4c2917f
AM
396202012-05-02 Allan McRae <allan@archlinux.org>
39621
39622 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
39623 (LDFLAGS-reldepmod5.so): Likewise.
39624 (LDFLAGS-reldep6mod1.so): Likewise.
39625 (LDFLAGS-reldep6mod4.so): Likewise.
39626 (LDFLAGS-reldep8mod3.so): Likewise.
39627 (LDFLAGS-unload4mod1.so): Likewise.
39628 (LDFLAGS-unload4mod2.so): Likewise.
39629 (LDFLAGS-tst-initorder): Likewise.
39630 (LDFLAGS-tst-initordera2.so): Likewise.
39631 (LDFLAGS-tst-initordera3.so): Likewise.
39632 (LDFLAGS-tst-initordera4.so): Likewise.
39633 (LDFLAGS-tst-initorderb2.so): Likewise.
39634 (LDFLAGS-noload): Likewise.
39635 (LDFLAGS-next): Likewise.
39636 (LDFLAGS-order2mod1.so): Likewise.
39637 (LDFLAGS-order2mod2.so): Likewise.
39638 (LDFLAGS-tst-initorder2): Likewise.
39639 (LDFLAGS-tst-initorder2a.so): Likewise.
39640 (LDFLAGS-tst-initorder2b.so): Likewise.
39641 (LDFLAGS-tst-initorder2c.so): Likewise.
39642 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
39643
d77f993f
DM
396442012-05-02 David S. Miller <davem@davemloft.net>
39645
39646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39647
171a70b4
PP
396482012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
39649
39650 [BZ #14055]
39651 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
39652
0be196ad
AJ
396532012-05-02 Andreas Jaeger <aj@suse.de>
39654
39655 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
39656 since we manipulate rounding mode.
39657 (CPPFLAGS-test-idouble.c): Likewise.
39658 (CPPFLAGS-test-ifloat.c): Likewise.
39659 (CFLAGS-test-ldouble.c): Likewise.
39660 (CFLAGS-test-double.c): Likewise.
39661 (CFLAGS-test-float.c): Likewise.
39662 (CFLAGS-test-misc.c): Likewise.
39663 (CFLAGS-test-test-fenv.c): Likewise.
39664
4f9d04aa
AZ
396652012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39666
2b942cb7
RM
39667 [BZ #2550]
39668 [BZ #2570]
39669 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
39670 comparisons to determine direction to adjust input.
4f9d04aa 39671
82a79e7d
RM
396722012-05-01 Roland McGrath <roland@hack.frob.com>
39673
f5a01ca9
RM
39674 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
39675 output to the target.
39676
90fe4186
RM
39677 * scripts/localplt.awk: New file.
39678 * elf/Makefile ($(objpfx)check-localplt): Target removed.
39679 (check-localplt-CFLAGS): Variable removed.
39680 ($(all-built-dso:=.jmprel)): New static pattern rule.
39681 (generated): Add those targets.
39682 (localplt-built-dso): New variable.
39683 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
39684
39685 * elf/check-localplt.c: File removed.
39686
82397ed6
RM
39687 * scripts/check-execstack.awk: New file.
39688 * elf/Makefile ($(objpfx)check-execstack): Target removed.
39689 (check-execstack-CFLAGS): Variable removed.
39690 ($(objpfx)check-execstack.h): Target removed.
39691 ($(objpfx)execstack-default): New target.
39692 (generated): Add that instead of check-execstack.h.
39693 ($(all-built-dso:=.phdr)): New static pattern rule.
39694 (generated): Add those targets.
39695 * elf/check-execstack.c: File removed.
39696
82a79e7d
RM
39697 * scripts/check-textrel.awk: New file.
39698 * elf/Makefile ($(objpfx)check-textrel): Target removed.
39699 (check-textrel-CFLAGS): Variable removed.
39700 (all-built-dso): Use := to define.o
39701 ($(all-built-dso:=.dyn)): New static pattern rule.
39702 (generated): Add those targets.
39703 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
39704 * config.make.in (READELF): New substituted variable.
39705 * elf/check-textrel.c: File removed.
39706
62fde54f 397072012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 39708
615605c9
JM
39709 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39710 allow.
39711 * conform/data/ctype.h-data [C99-based standards] (isblank):
39712 Expect function.
39713 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39714 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39715 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39716 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39717 Specify type. Require positive value.
39718 (EILSEQ): Likewise.
39719 (ERANGE): Likewise.
39720 [ISO || POSIX] (EILSEQ): Do not expect.
39721 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39722 Specify type. Require positive value.
39723 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39724 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39725 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39726 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39727 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39728 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39729 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39730 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39731 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39732 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39733 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39734 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39735 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39736 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39737 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39738 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39739 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39740 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39741 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39742 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39743 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39744 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39745 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39746 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39747 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39748 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39749 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39750 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39751 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39752 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39753 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39754 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39755 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39756 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39757 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39758 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39759 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39760 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39761 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39762 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39763 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39764 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39765 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39766 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39767 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39768 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39769 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39770 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39771 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39772 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39773 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39774 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39775 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39776 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39777 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39778 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39779 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39780 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39781 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39782 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39783 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39784 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39785 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39786 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39787 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39788 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39789 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39790 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39791 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39792 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39793 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39794 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39795 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39796 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39797 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39798 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39799 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39800 Require >= 2.
39801 (FLT_ROUNDS): Expect as macro, not constant.
39802 (FLT_MANT_DIG): Use macro-int-constant.
39803 (DBL_MANT_DIG): Likewise.
39804 (LDBL_MANT_DIG): Likewise.
39805 (FLT_DIG): Likewise.
39806 (DBL_DIG): Likewise.
39807 (LDBL_DIG): Likewise.
39808 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
39809 (DBL_MIN_EXP): Likewise.
39810 (LDBL_MIN_EXP): Likewise.
39811 (FLT_MAX_EXP): Use macro-int-constant.
39812 (DBL_MAX_EXP): Likewise.
39813 (LDBL_MAX_EXP): Likewise.
39814 (FLT_MAX_10_EXP): Likewise.
39815 (DBL_MAX_10_EXP): Likewise.
39816 (LDBL_MAX_10_EXP): Likewise.
39817 (FLT_MAX): Use macro-constant.
39818 (DBL_MAX): Likewise.
39819 (LDBL_MAX): Likewise.
39820 (FLT_EPSILON): Use macro-constant. Give upper bound.
39821 (DBL_EPSILON): Likewise.
39822 (LDBL_EPSILON): Likewise.
39823 (FLT_MIN): Likewise.
39824 (DBL_MIN): Likewise.
39825 (LDBL_MIN): Likewise.
39826 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
39827 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
39828 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
39829 [ISO11] (FLT_HAS_SUBNORM): Likewise.
39830 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
39831 [ISO11] (DBL_DECIMAL_DIG): Likewise.
39832 [ISO11] (FLT_DECIMAL_DIG): Likewise.
39833 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
39834 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
39835 [ISO11] (FLT_TRUE_MIN): Likewise.
39836 [ISO11] (LDBL_TRUE_MIN): Likewise.
39837 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39838 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
39839 (SCHAR_MIN): Use macro-int-constant. Specify type.
39840 (SCHAR_MAX): Likewise.
39841 (UCHAR_MAX): Likewise.
39842 (CHAR_MIN): Likewise.
39843 (CHAR_MAX): Likewise.
39844 (MB_LEN_MAX): Use macro-int-constant.
39845 (SHRT_MIN): Use macro-int-constant. Specify type.
39846 (SHRT_MAX): Likewise.
39847 (USHRT_MAX): Likewise.
39848 (INT_MAX): Likewise.
39849 (INT_MIN): Use macro-int-constant. Specify type. Make upper
39850 bound negative.
39851 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
39852 bound with "U".
39853 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39854 bound with "L".
39855 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
39856 bound negative. Suffix upper bound with "L".
39857 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39858 bound with "UL".
39859 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
39860 Specify type.
39861 [C99-based standards] (LLONG_MAX): Likewise.
39862 [C99-based standards] (ULLONG_MAX): Likewise.
39863 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
39864 == 0.
39865 [ISO11] (max_align_t): Require type.
39866 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39867
c9140a62
JM
39868 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
39869 from $CFLAGS, without defining away __attribute__ calls.
39870 (checknamespace): Use $CFLAGS_namespace.
39871
9af0bf29
JM
39872 * conform/conformtest.pl (@keywords): Only include C99 keywords
39873 for standards based on C99 or C11.
39874
343222a2
JM
39875 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
39876 Disable tests.
39877 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
39878 UNIX98]: Likewise.
39879
661f8cf0
JM
39880 * conform/conformtest.pl: Handle "macro-int-constant" and test for
39881 usability of symbols in #if.
39882
ee74b9cb
JM
39883 * conform/conformtest.pl: If macro or constant types start
39884 "promoted:", expect the symbol to be of the following type
39885 promoted by the integer promotions.
62fde54f 39886
aafc49b3
JM
39887 * conform/conformtest.pl: Parse all "constant" and "macro" lines
39888 in one place. Also handle "macro-constant".
39889
fefdf574
JM
39890 * conform/conformtest.pl: Only accept expected macro values with
39891 "==". Parse all "macro" lines in one place.
39892 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
39893
f2d922fe
JM
39894 * conform/conformtest.pl: Handle braced types on "constant" lines
39895 instead of handling "typed-constant".
39896 * conform/data/signal.h-data: Use "constant" instead of
39897 "typed-constant".
39898
d22956c9
JM
39899 * conform/conformtest.pl: Handle "optional-" at start of lines in
39900 one place rather than duplicating several cases. Handle each
39901 format of "macro" line with initial "optional-".
39902
028e2e38
JM
39903 * conform/conformtest.pl: Only accept expected constant or
39904 optional-constant values with "==". Parse all "constant" lines in
39905 one place. Parse all "optional-constant" lines in one place.
39906 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
39907 * conform/data/fmtmsg.h-data: Likewise.
39908 * conform/data/netinet/in.h-data: Likewise.
39909 * conform/data/tar.h-data: Likewise.
39910 * conform/data/limits.h-data: Use "==" form on "constant" and
39911 "optional-constant" lines.
39912
1b8f2850
JM
39913 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
39914 Use -std=c99 for XOPEN2K.
39915 (@knownproblems): Remove.
39916 (newtoken): Don't check %isknown.
39917
a05a144b
JM
39918 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
39919 Do not expect macro.
39920 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
39921 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
39922 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
39923 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
39924 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
39925 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
39926 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
39927 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
39928 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
39929 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
39930 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
39931 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
39932 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
39933 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
39934 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
39935 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
39936 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
39937 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
39938 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
39939 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
39940 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
39941 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
39942 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
39943 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
39944 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
39945 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
39946 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
39947 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
39948 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
39949 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
39950 [XPG3] (acosh): Likewise.
39951 [XPG3] (asinh): Likewise.
39952 [XPG3] (atanh): Likewise.
39953 [XPG3] (cbrt): Likewise.
39954 [XPG3] (expm1): Likewise.
39955 [XPG3] (ilogb): Likewise.
39956 [XPG3] (log1p): Likewise.
39957 [XPG3] (logb): Likewise.
39958 [XPG3] (nextafter): Likewise.
39959 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
39960 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
39961 [XPG3] (remainder): Likewise.
39962 [XPG3] (rint): Likewise.
39963 [XPG3 || XPG4 || UNIX98] (round): Likewise.
39964 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
39965 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
39966 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
39967 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
39968 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
39969 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
39970 [UNIX98 || XOPEN2K] (scalb): Expect.
39971 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
39972 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
39973 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
39974 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
39975 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
39976 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
39977 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
39978 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
39979 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
39980 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
39981 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
39982 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
39983 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
39984 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
39985 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
39986 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
39987 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
39988 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
39989 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
39990 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
39991 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
39992 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
39993 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
39994 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
39995 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
39996 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
39997 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
39998 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
39999 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
40000 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
40001 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
40002 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
40003 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
40004 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
40005 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
40006 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
40007 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
40008 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
40009 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
40010 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
40011 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
40012 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
40013 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
40014 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
40015 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
40016 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
40017 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
40018 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
40019 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
40020 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
40021 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
40022 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
40023 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
40024 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
40025 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
40026 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
40027 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
40028 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
40029 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
40030 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
40031 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
40032 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
40033 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
40034 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
40035 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
40036 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
40037 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
40038 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
40039 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
40040 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
40041 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
40042 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
40043 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
40044 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
40045 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
40046 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
40047 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
40048 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
40049 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
40050 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
40051 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
40052 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
40053 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
40054 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
40055 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
40056 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
40057 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
40058 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
40059 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
40060 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
40061 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
40062 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
40063 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
40064 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
40065 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
40066 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
40067 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
40068 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
40069 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
40070 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
40071 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
40072 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
40073 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
40074 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
40075 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
40076 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
40077 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
40078 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
40079 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
40080 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
40081 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
40082 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
40083 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
40084 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
40085 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
40086 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
40087 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
40088 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
40089 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
40090 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
40091 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
40092 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
40093 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
40094 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
40095 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
40096 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
40097 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
40098 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
40099 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
40100 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
40101 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
40102 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
40103 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
40104 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
40105 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
40106 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
40107 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
40108
73c5ebe3
JM
40109 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
40110 _XOPEN_SOURCE_EXTENDED for XPG4.
40111
39c33b6c
JM
40112 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
40113
62fde54f
JM
40114 * Makeconfig (localtime): Remove variable.
40115 (inst_localtime-file): Likewise.
40116
0741d64c
AS
401172012-05-01 Andreas Schwab <schwab@linux-m68k.org>
40118
40119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
40120 Update.
40121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40122 Update.
40123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
40124 Update.
40125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40126 Update.
40127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
40128 Update.
40129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
40130 Update.
40131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40132 Update.
40133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
40134 Update.
40135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40136 Update.
40137
7cb029ee
JM
401382012-05-01 Joseph Myers <joseph@codesourcery.com>
40139
40140 [BZ #2550]
40141 [BZ #2570]
40142 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
40143 comparisons to determine direction to adjust input.
40144 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
40145 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
40146 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
40147 Likewise.
40148 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
40149 Likewise.
40150 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
40151 Likewise.
40152 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
40153 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
40154 Likewise.
40155 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
40156 Likewise.
40157 * math/libm-test.inc (nexttoward_test): Add more tests.
40158
412bd966
AS
401592012-05-01 Andreas Schwab <schwab@linux-m68k.org>
40160
40161 [BZ #14040]
40162 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
40163 in version GLIBC_2.1, not GLIBC_2.0.
40164 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
40165 Likewise.
40166
9568c0c2
JM
401672012-04-30 Joseph Myers <joseph@codesourcery.com>
40168
adfbc8ac
JM
40169 [BZ #13942]
40170 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
40171 (1 - x) * (1 + x).
40172 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40173 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
40174 * math/libm-test.inc (acos_test): Add more tests.
40175 (asin_test): Likewise.
40176 * sysdeps/i386/fpu/libm-test-ulps: Update.
40177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40178
5ba3cc69
JM
40179 [BZ #14034]
40180 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
40181 of square root.
40182 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
40183 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40184 * math/libm-test.inc (acos_test_tonearest): New function.
40185 (acos_test_towardzero): Likewise.
40186 (acos_test_downward): Likewise.
40187 (acos_test_upward): Likewise.
40188 (asin_test_tonearest): Likewise.
40189 (asin_test_towardzero): Likewise.
40190 (asin_test_downward): Likewise.
40191 (asin_test_upward): Likewise.
40192 (main): Call the new functions.
40193 * sysdeps/i386/fpu/libm-test-ulps: Update.
40194 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40195
9568c0c2
JM
40196 [BZ #13884]
40197 [BZ #13924]
40198 * math/e_exp10.c: Include <float.h>.
40199 (__ieee754_exp10): Handle underflow here rather than multiplying
40200 large negative argument by M_LN10.
40201 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
40202 of __ieee754_expf.
40203 * math/e_exp10l.c: Include <float.h>.
40204 (__ieee754_exp10l): Handle underflow here rather than multiplying
40205 large negative argument by M_LN10l.
40206 * math/libm-test.inc (exp10_test): Add another test. Do not allow
40207 spurious overflow exception on underflow.
40208
5ac3ea17
MP
402092012-04-29 Marek Polacek <polacek@redhat.com>
40210
40211 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
40212 (__fortify_function): New macro.
40213 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
40214 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
40215 __extern_always_inline.
40216 * libio/bits/stdio2.h: Likewise.
40217 * libio/bits/stdio.h: Likewise.
40218 * string/string.h: Likewise.
40219 * string/bits/string3.h: Likewise.
40220 * include/stdio.h: Likewise.
40221 * stdlib/bits/stdlib.h: Likewise.
40222 * stdlib/stdlib.h: Likewise.
40223 * rt/bits/mqueue2.h: Likewise.
40224 * rt/mqueue.h: Likewise.
40225 * posix/bits/unistd.h: Likewise.
40226 * posix/unistd.h: Likewise.
40227 * io/bits/poll2.h: Likewise.
40228 * io/bits/fcntl2.h: Likewise.
40229 * io/fcntl.h: Likewise.
40230 * io/sys/poll.h: Likewise.
40231 * misc/bits/syslog.h: Likewise.
40232 * misc/bits/syslog-ldbl.h: Likewise.
40233 * misc/sys/syslog.h: Likewise.
40234 * socket/bits/socket2.h: Likewise.
40235 * socket/sys/socket.h: Likewise.
40236 * debug/tst-chk1.c: Likewise.
40237 * wcsmbs/bits/wchar2.h: Likewise.
40238 * wcsmbs/bits/wchar-ldbl.h: Likewise.
40239 * wcsmbs/wchar.h: Likewise.
40240
ecf0ebfb
AJ
402412012-04-29 Andreas Jaeger <aj@suse.de>
40242
40243 * Makerules (tests): Remove enable-check-abi protection.
40244 (check-abi-warn): Remove.
40245 (check-abi-%): Remove check-abi-warn usage.
40246
40247 * configure.in: Remove check-abi configure option.
40248 * configure: Regenerated.
40249 * config.make.in (enable-check-abi): Remove.
40250
6d5c57fa
AS
402512012-04-28 Andreas Schwab <schwab@linux-m68k.org>
40252
24c5d07e 40253 [BZ #14033]
ded5180a
AS
40254 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
40255 double functions to double *_finite functions.
40256
7e0d315d
AS
40257 [BZ #13941]
40258 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
40259 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
40260 LDBL_MIN_EXP.
40261 * stdio-common/Makefile (tests): Add tst-sprintf3.
40262 * stdio-common/tst-sprintf3.c: New file.
40263
6d5c57fa
AS
40264 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
40265 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
40266
0749ff8b
JM
402672012-04-28 Joseph Myers <joseph@codesourcery.com>
40268
40269 * conform/conformtest.pl: Remove duplicate typed-constant
40270 handling.
40271
8dbd5d7b
DM
402722012-04-28 David S. Miller <davem@davemloft.net>
40273
40274 * Makerules (%.abilist): Add vpath on sysdep_dirs.
40275 (check-abi-%): Remove AWK script prerequisite and explicit
40276 abilist directory.
40277 (check-abi): Rewrite to just diff the symlist with the abilist.
40278 (config-tls, config-abi-config): Delete, no longer used.
40279 (update-abi-%): Remove AWK script and explicit abilist directory.
40280 (update-abi): Rewrite to simply compare and conditionally copy the
40281 symlist and the sysdep abilist file. Remove update-abi-config
40282 checks.
40283 * abilist/ld.abilist: Remove.
40284 * abilist/libBrokenLocale.abilist: Remove.
40285 * abilist/libanl.abilist: Remove.
40286 * abilist/libcrypt.abilist: Remove.
40287 * abilist/libdl.abilist: Remove.
40288 * abilist/librt.abilist: Remove.
40289 * abilist/libthread_db.abilist: Remove.
40290 * abilist/libutil.abilist: Remove.
40291 * scripts/extract-abilist.awk: Remove.
40292 * scripts/merge-abilist.awk: Remove.
40293 * sysdeps/generic/libcidn.abilist: New file.
40294 * sysdeps/generic/libnss_compat.abilist: New file.
40295 * sysdeps/generic/libnss_db.abilist: New file.
40296 * sysdeps/generic/libnss_dns.abilist: New file.
40297 * sysdeps/generic/libnss_files.abilist: New file.
40298 * sysdeps/generic/libnss_hesiod.abilist: New file.
40299 * sysdeps/generic/libnss_nis.abilist: New file.
40300 * sysdeps/generic/libnss_nisplus.abilist: New file.
40301 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
40302 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
40303 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
40304 file.
40305 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
40306 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
40307 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
40308 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
40309 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
40310 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
40311 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
40312 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
40313 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
40314 file.
40315 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
40316 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
40317 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
40318 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
40319 file.
40320 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
40321 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
40322 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
40323 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
40324 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
40325 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
40326 file.
40327 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
40328 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
40329 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
40330 file.
40331 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
40332 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
40333 New file.
40334 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
40335 New file.
40336 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
40337 New file.
40338 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
40339 New file.
40340 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
40341 New file.
40342 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
40343 New file.
40344 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
40345 New file.
40346 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
40347 New file.
40348 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
40349 New file.
40350 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
40351 New file.
40352 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
40353 New file.
40354 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
40355 New file.
40356 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
40357 New file.
40358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
40359 file.
40360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
40361 New file.
40362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
40363 New file.
40364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
40365 file.
40366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
40367 New file.
40368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
40369 New file.
40370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
40371 file.
40372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
40373 New file.
40374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40375 New file.
40376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
40377 New file.
40378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
40379 New file.
40380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
40381 New file.
40382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
40383 New file.
40384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
40385 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
40386 file.
40387 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
40388 New file.
40389 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
40390 file.
40391 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
40392 file.
40393 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
40394 file.
40395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
40396 file.
40397 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
40398 file.
40399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40400 New file.
40401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
40402 file.
40403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
40404 file.
40405 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
40406 New file.
40407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
40408 file.
40409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
40410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
40411 file.
40412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
40413 New file.
40414 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
40415 file.
40416 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
40417 file.
40418 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
40419 file.
40420 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
40421 file.
40422 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
40423 file.
40424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40425 New file.
40426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
40427 file.
40428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
40429 file.
40430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
40431 New file.
40432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
40433 file.
40434 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40435 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
40436 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
40437 file.
40438 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
40439 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
40440 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
40441 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
40442 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
40443 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
40444 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
40445 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
40446 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
40447 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
40448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
40449 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
40450 file.
40451 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
40452 New file.
40453 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
40454 file.
40455 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
40456 file.
40457 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
40458 file.
40459 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
40460 file.
40461 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
40462 file.
40463 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40464 New file.
40465 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
40466 New file.
40467 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
40468 file.
40469 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
40470 New file.
40471 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
40472 file.
40473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
40474 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
40475 file.
40476 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
40477 New file.
40478 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
40479 file.
40480 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
40481 file.
40482 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
40483 file.
40484 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
40485 file.
40486 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
40487 file.
40488 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40489 New file.
40490 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
40491 New file.
40492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
40493 file.
40494 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
40495 New file.
40496 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
40497 file.
40498
41d73a1b
JM
404992012-04-28 Joseph Myers <joseph@codesourcery.com>
40500
40501 * conform/conformtest.pl: Fix typo in handling typed-constant from
40502 allow-header.
40503
28aeeda4
JM
405042012-04-27 Joseph Myers <joseph@codesourcery.com>
40505
adae8f5e
JM
40506 * README: Cut down references to pre-2.6 Linux kernels and
40507 Linuxthreads. Update lists of configurations in libc and ports
40508 and sort alphabetically. Say "or newer" with Linux kernel version
40509 requirements.
40510
28aeeda4
JM
40511 * config.h.in [IS_IN_build]: Allow compiling without optimization.
40512
a462cb63
RA
405132012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40514
40515 [BZ #887]
40516 * math/libm-test.inc (logb_test_downward): New test to expose
40517 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
40518 rounding mode.
40519
6ad3493e
JM
405202012-04-27 Joseph Myers <joseph@codesourcery.com>
40521
40522 [BZ #14027]
40523 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
40524 to be done.
40525 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
40526 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
40527
2ce4f015
JM
405282012-04-26 Joseph Myers <joseph@codesourcery.com>
40529
5aeb141a
JM
40530 * sysdeps/unix/i386/brk.S: Remove file.
40531 * sysdeps/unix/i386/dl-brk.S: Likewise.
40532 * sysdeps/unix/i386/pipe.S: Likewise.
40533 * sysdeps/unix/i386/sigreturn.S: Likewise.
40534 * sysdeps/unix/i386/syscall.S: Likewise.
40535 * sysdeps/unix/i386/vfork.S: Likewise.
40536 * sysdeps/unix/i386/wait.S: Likewise.
40537
7143acae
JM
40538 * sysdeps/unix/common/tcsendbrk.c: Move to ...
40539 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
40540
2ce4f015
JM
40541 * configure.in (arm*-none*): Do not allow without
40542 --enable-hacker-mode.
40543 (netbsd*): Remove case setting base_os.
40544 (386bsd*): Likewise.
40545 (freebsd*): Likewise.
40546 (bsdi*): Likewise.
40547 (osf*): Likewise.
40548 (sunos*): Likewise.
40549 (ultrix*): Likewise.
40550 (newsos*): Likewise.
40551 (dynix*): Likewise.
40552 (*bsd*): Likewise.
40553 (sysv*): Likewise.
40554 (isc*): Likewise.
40555 (esix*): Likewise.
40556 (sco*): Likewise.
40557 (minix*): Likewise.
40558 (irix4*): Likewise.
40559 (irix6*): Likewise.
40560 (solaris[2-9]*): Likewise.
40561 (none): Likewise.
40562 * configure: Regenerated.
40563
0ac229c8
AZ
405642012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40565
40566 [BZ #11521]
40567 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
40568 overflow or cancellation in calculating denominator.
40569 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
40570 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
40571 down expression to avoid unexpected rounding in newer GCCs.
40572 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
40573
33f244f4
DM
405742012-04-26 David S. Miller <davem@davemloft.net>
40575
40576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
40577 long-double compat symbols.
40578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
40582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
40584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
40585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
40586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
40587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
40589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
40590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40591
cfa1f3e8
DM
405922012-04-25 David S. Miller <davem@davemloft.net>
40593
40594 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
40595 HWCAP_* values only after the memory barriers have been defined.
40596 (atomic_full_barrier): Define.
40597 (atomic_read_barrier): Define.
40598 (atomic_write_barrier): Define.
40599
6e236b92
SP
406002012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40601
40602 * shlib-versions: Add libgcc_s version information.
40603 * sysdeps/generic/libgcc_s.h: Remove.
40604 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
40605 libgcc_s.h.
40606 * sysdeps/gnu/unwind-resume.c: Likewise.
40607 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
40608
aab39a09
DM
406092012-04-25 David S. Miller <davem@davemloft.net>
40610
40611 * sysdeps/unix/sparc/brk.S: Delete.
40612 * sysdeps/unix/sparc/dl-brk.S: Delete.
40613 * sysdeps/unix/sparc/pipe.S: Delete.
40614 * sysdeps/unix/sparc/sysdep.S: Delete.
40615 * sysdeps/unix/sparc/sysdep.h: Delete.
40616 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
40617 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
40618 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
40619 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
40620 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
40621 (JUMPTARGET): Remove.
40622 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
40623 sysdeps/unix/sparc/sysdep.h
40624 (ENTRY, END): Remove.
40625 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40626
a3cc4f48
JM
406272012-04-25 Joseph Myers <joseph@codesourcery.com>
40628
2ed8cda2
JM
40629 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
40630 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
40631 -DIS_IN_build.
40632
35d76d59
JM
40633 * timezone/README: Update upstream location and email address for
40634 tzcode and tzdata.
40635 * timezone/zdump.c: Update from tzcode 2012b.
40636 * timezone/zic.c: Likewise.
40637
a3cc4f48
JM
40638 * configure.in (libc_cv_as_needed): Remove test.
40639 * configure: Regenerated.
40640 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
40641 conditional definition.
40642 [$(have-as-needed) != yes] (no-as-needed): Likewise.
40643 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
40644 * config.make.in (have-as-needed): Remove variable.
40645
ceab42c3
SP
406462012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40647 Paul Pluzhnikov <ppluzhnikov@google.com>
40648
40649 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
40650 strings correctly.
40651
3ce2865f
CLT
406522012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
40653
40654 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
40655 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
40656 * sysdeps/sh/strlen.S: Likewise.
40657
f37e0d68
JM
406582012-04-24 Joseph Myers <joseph@codesourcery.com>
40659
ae186e9a
JM
40660 * sysdeps/unix/fork.S: Remove file.
40661 * sysdeps/unix/i386/fork.S: Likewise.
40662 * sysdeps/unix/sparc/fork.S: Likewise.
40663
b96914af
JM
40664 * sysdeps/unix/system.c: Remove file.
40665 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
40666
f37e0d68
JM
40667 * sysdeps/unix/getegid.S: Remove file.
40668 * sysdeps/unix/geteuid.S: Likewise.
40669
87ef29ca
RM
406702012-04-24 Roland McGrath <roland@hack.frob.com>
40671
83bcd236
RM
40672 * scripts/check-localplt.awk: New file.
40673 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
40674 of diff.
40675 * scripts/data/localplt-generic.data: Add a comment.
40676
87ef29ca
RM
40677 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
40678 NODE when __dir_mkfile failed.
40679 * sysdeps/mach/hurd/symlinkat.c: Likewise.
40680 Reported by Ludovic Courtès <ludo@gnu.org>.
40681
e5a6e567
AJ
406822012-04-24 Andreas Jaeger <aj@suse.de>
40683
40684 * Makerules (common-clean): Also remove gen-as-const-headers
40685 files.
40686
c1820385
JM
406872012-04-24 Joseph Myers <joseph@codesourcery.com>
40688
40689 * Makerules (native-compile): Do not change working directory for
40690 build. Use $(OUTPUT_OPTION) in command.
40691 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
40692
94e02fc4
AZ
406932012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40694
40695 [BZ #13886]
40696 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
40697 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
40698 * math/libm-test.inc (floor_test): Add more tests.
40699 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
40700
3a533ca3
JM
407012012-04-24 Joseph Myers <joseph@codesourcery.com>
40702
940ab4b3
JM
40703 * sysdeps/unix/getdents.c: Remove file.
40704 * sysdeps/unix/sysv/getdents.c: Likewise.
40705 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
40706
90e037bd
JM
40707 * sysdeps/unix/syscalls.list (madvise): Add syscall from
40708 sysdeps/unix/mman/syscalls.list.
40709 (mmap): Likewise.
40710 (mprotect): Likewise.
40711 (msync): Likewise.
40712 (munmap): Likewise.
40713 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40714 * sysdeps/unix/mman/syscalls.list: Remove.
40715 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40716
3a533ca3
JM
40717 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40718 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40719 * configure: Regenerated.
40720 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40721 $(libgcc_s_suffix).
40722 * config.make.in (libgcc_s_suffix): Remove variable.
40723
1ad743de
JM
407242012-04-23 Joseph Myers <joseph@codesourcery.com>
40725
4ad451e2
JM
40726 * sysdeps/unix/sysv/gethostname.c: Move to ...
40727 * sysdeps/posix/gethostname.c: ... here.
40728
5e37ce39
JM
40729 * sysdeps/unix/execve.S: Remove file.
40730
1ad743de
JM
40731 * sysdeps/unix/_exit.S: Remove file.
40732
4e681b5b
AJ
407332012-04-23 Andreas Jaeger <aj@suse.de>
40734
40735 [BZ #13739]
40736 * manual/Makefile: Remove make dist support, there's no
40737 need for a stand-alone documentation tar ball.
40738 (TEXI2DVI): Define always, it's not in Makeconfig.
40739 (dist): Removed.
40740 (tar-it): Removed.
40741 (edition): Removed.
40742 (glibc-doc-$(edition).tar): Removed
40743 (%.Z): Removed.
40744 (%.gz): Removed.
40745 (%.uu): Removed.
40746 (ETAGS): Remove, it's in Makeconfig.
40747 (move-if-change): Remove, it's in Makeconfig.
40748
38686a03 407492012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
40750
40751 [BZ #13970]
40752 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40753 (strtod, strtof, strtold, strtol, strtoul, strtoq)
40754 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40755 (strtod_l, strtof_l, strtold_l): Remove __wur.
40756 It is not necessarily an error to ignore strtol's return value.
40757 One can reliably look at the stored endptr to decide whether
40758 the number had valid syntax.
40759
7c0616fa
AJ
407602012-04-21 Andreas Jaeger <aj@suse.de>
40761
803cb6b7 40762 [BZ #13739]
7c0616fa
AJ
40763 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40764
b0fe253f
JM
407652012-04-21 Joseph Myers <joseph@codesourcery.com>
40766
40767 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40768 * sysdeps/unix/sysv/Versions: Remove file.
40769
8280f22d
MT
407702012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
40771
40772 [BZ #13927]
40773 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40774
75ce411f 407752012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
40776
40777 [BZ #7064]
40778 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40779 version from __vm86.
40780
097d59fa
JM
407812012-04-20 Joseph Myers <joseph@codesourcery.com>
40782
a90f3bcb
JM
40783 * sysdeps/unix/common/lxstat.c: Remove file.
40784 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40785
edc7ea78
JM
40786 * sysdeps/unix/sysv/Makefile: Remove file.
40787
cb78c221
JM
40788 * sysdeps/unix/sysv/direct.h: Remove file.
40789
efa6a45f
JM
40790 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40791 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40792 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40793 * sysdeps/unix/sysv/bits/signum.h: Likewise.
40794 * sysdeps/unix/sysv/bits/stat.h: Likewise.
40795 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40796 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40797
9c9f2d0c
JM
40798 * sysdeps/unix/sysv/setrlimit.c: Remove file.
40799
4541c83b
JM
40800 * sysdeps/unix/xmknod.c: Remove file.
40801 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40802
f5d153a0
JM
40803 * sysdeps/unix/sysv/settimeofday.c: Remove file.
40804
aa746595
JM
40805 * sysdeps/unix/sysv/i386/time.S: Remove file.
40806
cce5905e
JM
40807 * sysdeps/unix/fxstat.c: Remove file.
40808 * sysdeps/unix/xstat.c: Likewise.
40809 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
40810
37fa3841
JM
40811 * sysdeps/unix/sysv/sigaction.c: Remove file.
40812
ff1962a3
JM
40813 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
40814 (sysdep_headers): Remove variable.
40815 [termio.h not in sysdep_headers] (generated): Likewise.
40816 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
40817 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
40818 * sysdeps/unix/sysv/tcdrain.c: Likewise.
40819 * sysdeps/unix/sysv/tcflow.c: Likewise.
40820 * sysdeps/unix/sysv/tcflush.c: Likewise.
40821 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
40822 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
40823 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
40824 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
40825 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
40826
e7740d31
JM
40827 * sysdeps/unix/siglist.c: Remove file.
40828
ee06f18b
JM
40829 * sysdeps/unix/getppid.S: Remove file.
40830
097d59fa
JM
40831 * sysdeps/unix/mkdir.c: Remove file.
40832 * sysdeps/unix/rmdir.c: Likewise.
40833
ff3d51ec
AS
408342012-04-19 Andreas Schwab <schwab@linux-m68k.org>
40835
40836 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
40837 ERR_MAX value.
40838 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
40839 errlist-compat value.
40840
50f81fd7
DM
408412012-04-18 David S. Miller <davem@davemloft.net>
40842
40843 * sysdeps/generic/memcopy.h (reg_char): Delete.
40844 * debug/strcat_chk.c: Use char, not reg_char.
40845 * debug/strcpy_chk.c: Likewise.
40846 * debug/strncat_chk.c: Likewise.
40847 * debug/strncpy_chk.c: Likewise.
40848 * string/memchr.c: Likewise.
40849 * string/memrchr.c: Likewise.
40850 * string/rawmemchr.c: Likewise.
40851 * string/strcat.c: Likewise.
40852 * string/strchr.c: Likewise.
40853 * string/strchrnul.c: Likewise.
40854 * string/strcmp.c: Likewise.
40855 * string/strcpy.c: Likewise.
40856 * string/strncat.c: Likewise.
40857 * string/strncmp.c: Likewise.
40858 * string/strncpy.c: Likewise.
40859
8ff41c46
WS
408602012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40861
40862 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
40863 __builtin_memcopy is called when src and dest ranges are known to not
40864 overlap.
40865
6b652f46
WS
408662012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40867
40868 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
40869 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
40870 fwd_align_merge macro call.
40871 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
40872 bwd_align_merge macro call.
40873 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40874
b282631e
WS
408752012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40876
40877 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
40878 bwd_align_merge macros.
40879 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
40880 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
40881 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40882
95aa737c
DM
408832012-04-18 David S. Miller <davem@davemloft.net>
40884
40885 * sysdeps/sparc/sparc64/memcopy.h: Delete.
40886
7a99a614
AJ
408872012-04-18 Andreas Jaeger <aj@suse.de>
40888
40889 [BZ# 6794]
40890 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
40891 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
40892 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40893
40894 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
40895 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
40896 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40897
40898 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
40899 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
40900 Adjust for changed ldbl-128 files.
40901
40902 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
40903 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
40904 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40905
e5270c23
DM
409062012-04-17 David S. Miller <davem@davemloft.net>
40907
40908 * sysdeps/sparc/sparc32/memcopy.h: Delete.
40909
fb5e92c9
AS
409102012-04-17 Andreas Schwab <schwab@linux-m68k.org>
40911
40912 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
40913 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
40914 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
40915 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
40916 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40917 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
40918
76da7265
AZ
409192012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40920
40921 [BZ #6794]
40922 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
40923 * math/libm-test.inc: Add ilogb errno and exception tests.
40924 * math/w_ilogb.c: New file: ilogb wrapper.
40925 * math/w_ilogbf.c: New file: ilogbf wrapper.
40926 * math/w_ilogbl.c: New file: ilogbl wrapper.
40927 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
40928 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
40929 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
40930 exception being thrown with 0.0 as argument.
40931 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
40932 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
40933 exception being thrown with 0.0 as argument.
40934 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
40935 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40936 exception being thrown with 0.0 as argument.
40937 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
40938 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40939 exception being thrown with 0.0 as argument.
40940 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
40941 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 40942 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
40943 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
40944 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
40945 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
40946 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
40947 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
40948 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
40949
0396e69d
PB
409502012-04-17 Petr Baudis <pasky@ucw.cz>
40951
40952 * include/sys/uio.h: Change __vector to __iovec to avoid clash
40953 with altivec.
40954
750b5926
MP
409552012-04-16 Marek Polacek <polacek@redhat.com>
40956
40957 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
40958
751728a1
MP
409592012-04-16 Marek Polacek <polacek@redhat.com>
40960
40961 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
40962 operands of fdivp instruction.
40963
34a27407
L
409642012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40965
40966 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
40967 * elf/tst-auditmod3b.c: Likewise.
40968 * elf/tst-auditmod4b.c: Likewise.
40969 * elf/tst-auditmod5b.c: Likewise.
40970 * elf/tst-auditmod6b.c: Likewise.
40971 * elf/tst-auditmod6c.c: Likewise.
40972 * elf/tst-auditmod7b.c: Likewise.
40973 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
40974 * sysdeps/x86_64/preconfigure.in: Likewise.
40975 * sysdeps/x86_64/preconfigure: Regenerated.
40976
7e73e17d
L
409772012-04-13 H.J. Lu <hongjiu.lu@intel.com>
40978
40979 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
40980 __ILP32__.
40981
c7a6ab72
AB
409822012-04-13 Antoine Balestrat <merkil33@gmail.com>
40983
40984 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40985 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
40986
a9e8e0e0
CL
409872012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
40988
40989 [BZ #13973]
40990 * locale/iso-639.def: Fix gl language name. Spotted by
40991 Yaron Shahrabani.
40992
ec98af7d
RM
409932012-04-12 Roland McGrath <roland@hack.frob.com>
40994
40995 [BZ #2074]
40996 * libio/libio.h (__io_write_fn): Update comment.
40997
247c3ede
PB
409982012-04-12 Petr Baudis <pasky@ucw.cz>
40999
41000 [BZ #2074]
41001 * stdio.texi (Hook Functions): The user provided writer function
41002 is not allowed to return -1.
41003
55939d6d
DM
410042012-04-11 David S. Miller <davem@davemloft.net>
41005
41006 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41007
90020f5a
MF
410082012-04-11 Mike Frysinger <vapier@gentoo.org>
41009
41010 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
41011 Add a leading slash to rtkaio.
41012
288f9098
JM
410132012-04-11 Jim Meyering <meyering@redhat.com>
41014
90020f5a
MF
41015 [BZ #11959]
41016 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
41017 It is not necessarily an error to ignore fwrite's return
41018 value. One can reliably use ferror to test for errors after
41019 the fact.
288f9098 41020
4be2b570
L
410212012-04-10 H.J. Lu <hongjiu.lu@intel.com>
41022
41023 * bits/types.h (__snseconds_t): New type.
41024 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
41025
41026 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
41027 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41028 (__SNSECONDS_T_TYPE): Likewise.
41029 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41030 (__SNSECONDS_T_TYPE): Likewise.
41031 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41032 (__SNSECONDS_T_TYPE): Likewise.
41033
288f9098 410342012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
41035
41036 [BZ #2636]
41037 * manual/time.texi (Processor Time): Return type of times is
41038 elapsed real time since an arbitrary point in the past.
41039 (CPU Time): Move CLK_TCK from here...
41040 (Processor Time): ...to here. Correct description.
41041 * manual/conf.texi (Constants for Sysconf): Correct description of
41042 _SC_CLK_TCK.
41043
d7dd4413
DM
410442012-04-10 David S. Miller <davem@davemloft.net>
41045
41046 [BZ #13967]
41047 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
41048 where the is a gap between DT_REL(A) and DT_JMPREL.
41049
b46068fc
L
410502012-04-10 H.J. Lu <hongjiu.lu@intel.com>
41051
41052 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
41053 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41054 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41055
73d65cc3
SP
410562012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
41057
41058 * elf/dl-support.c (_dl_inhibit_cache): New variable.
41059 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
41060 (dl_main): Handle --inhibit-cache.
41061 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
41062 _dl_inhibit_cache.
41063 * elf/dl-load.c (_dl_map_object): Use it.
41064 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
41065
bcc8d661
JM
410662012-04-09 Joseph Myers <joseph@codesourcery.com>
41067
8f9a2fae
JM
41068 [BZ #13872]
41069 * sysdeps/i386/fpu/e_powl.S (p78): New object.
41070 (__ieee754_powl): Saturate large exponents rather than testing for
41071 overflow of y*log2(x).
41072 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41073 * math/libm-test.inc (pow_test): Do not permit spurious overflow
41074 exceptions.
41075
bcc8d661
JM
41076 [BZ #11521]
41077 * math/s_ctan.c: Include <float.h>.
41078 (__ctan): Avoid internal overflow or cancellation in calculating
41079 denominator.
41080 * math/s_ctanf.c: Likewise.
41081 * math/s_ctanl.c: Likewise.
41082 * math/s_ctanh.c: Likewise.
41083 * math/s_ctanhf.c: Likewise.
41084 * math/s_ctanhl.c: Likewise.
41085 * math/libm-test.inc (ctan_test): Add more tests.
41086 (ctanh_test): Likewise.
41087 * sysdeps/i386/fpu/libm-test-ulps: Update.
41088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41089
823fbbb4
AJ
410902012-04-09 Andreas Jaeger <aj@suse.de>
41091
03879793
AJ
41092 [BZ #6894]
41093 * manual/filesys.texi (Directory Entries): Mention that d_namlen
41094 is an optional BSD extension.
41095
823fbbb4
AJ
41096 [BZ #10254]
41097 * manual/stdio.texi (Opening Streams): Document additional fopen
41098 parameters.
41099
8de131cb
RM
411002012-04-09 Roland McGrath <roland@hack.frob.com>
41101
41102 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
41103 %eax without telling the compiler.
41104
c0ed9d7d
CD
411052012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
41106
41107 [BZ # 13963]
41108 * manual/install.texi: Use sourceware.org.
41109
c483f6b4
JM
411102012-04-09 Joseph Myers <joseph@codesourcery.com>
41111
d7dd9453
JM
41112 [BZ #13873]
41113 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
41114 (__ieee754_pow): Generate overflow and underflow using huge*huge
41115 and tiny*tiny rather than just returning constant infinity or zero
41116 for large exponents.
41117 * math/libm-test.inc (pow_test): Require overflow exceptions for
41118 applicable cases of large exponents.
41119
c483f6b4
JM
41120 [BZ #706]
41121 * sysdeps/i386/fpu/e_pow.S (p10): New object.
41122 (__ieee754_pow): Use iterative multiplication algorithm only for
41123 integer exponents with absolute value below 1024. Check for odd
41124 integer exponents when using algorithm for real exponents.
41125 * math/libm-test.inc (pow_test): Add more tests.
41126 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41127
d2de7579
JM
411282012-04-08 Joseph Myers <joseph@codesourcery.com>
41129
41130 [BZ #13705]
41131 * math/libm-test.inc (exp_test): Do not allow overflow exception
41132 on underflow test.
41133
f77f1232
AJ
411342012-04-08 Aurelien Jarno <aurelien@aurel32.net>
41135
41136 [BZ #13705]
41137 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
41138 instead of __kernel_standard_f.
41139
3884932b
MF
411402012-04-08 Mike Frysinger <vapier@gentoo.org>
41141
41142 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
41143 * sysdeps/x86_64/memset_chk.S: Likewise.
41144
54472e9c
AJ
411452012-04-08 Andreas Jaeger <aj@suse.de>
41146
6ab0fbfc
AJ
41147 [BZ #10153]
41148 * manual/startup.texi (Environment Access): Describe return value
41149 for putenv and setenv.
41150
61efba8c
AJ
41151 [BZ #6895]
41152 * manual/filesys.texi (Directory Entries): Add description for
41153 DT_LNK.
41154
95c3f29a
AJ
41155 [BZ #6890]
41156 * manual/filesys.texi (Directory Entries): Clarify that it's file
41157 system not operating system in the description of DT_UNKNOWN.
41158
54472e9c
AJ
41159 [BZ #6578]
41160 * manual/syslog.texi (closelog): Fix reference, it's openlog.
41161
624254b1
SC
411622012-04-08 Stephen Compall <s11@member.fsf.org>
41163
41164 [BZ #6649]
41165 * manual/llio.texi (Opening and Closing Files): Add cross
41166 reference to explain mode argument.
41167
1e4920e0
MF
411682012-04-07 Mike Frysinger <vapier@gentoo.org>
41169
41170 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
41171 * sysdeps/x86_64/memset_chk.S: Likewise.
41172
5ed848f3
DM
411732012-04-07 David S. Miller <davem@davemloft.net>
41174
41175 * elf/elf.h (R_SPARC_WDISP10): Define.
41176 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
41177 R_SPARC_SIZE32.
41178 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
41179 R_SPARC_SIZE64 and R_SPARC_H34.
41180
96154cd8
CD
411812012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
41182
41183 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
41184 conditions and remove no longer applicable assertion.
41185
9904dc47
L
411862012-04-06 H.J. Lu <hongjiu.lu@intel.com>
41187
41188 * bits/byteswap.h: Include <features.h>.
41189 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41190 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41191
f8887d0a
L
411922012-04-06 H.J. Lu <hongjiu.lu@intel.com>
41193
41194 * bits/byteswap.h (__bswap_16): Removed.
41195 Include <bits/byteswap-16.h> to get __bswap_16.
41196 * sysdeps/i386/bits/byteswap.h: Likewise.
41197 * sysdeps/s390/bits/byteswap.h: Likewise.
41198 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41199 * bits/byteswap-16.h: New file.
41200 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41201 * sysdeps/s390/bits/byteswap-16.h: Likewise.
41202 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
41203 * string/Makefile (headers): Add bits/byteswap-16.h.
41204
62470f60
PP
412052012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41206
41207 [BZ #13895]
41208 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
41209 extra indirection.
41210 * nss/Makefile (tests-static, tests): Add tst-nss-static.
41211 * nss/tst-nss-static.c: New.
41212
4dad7bab
RM
412132012-04-06 Robert Millan <rmh@gnu.org>
41214
41215 [BZ #6486]
41216 * manual/llio.texi (File Position Primitive): lseek
41217 refers to WHENCE when it really means OFFSET.
41218
e9142a17
AJ
412192012-04-06 Andreas Jaeger <aj@suse.de>
41220
2c040eff
AJ
41221 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
41222 strncmp declarations.
41223
e9142a17
AJ
41224 * abilist/libc.abilist: Add __poll and __ppoll.
41225
ff9f1c5f
DM
412262012-04-05 David S. Miller <davem@davemloft.net>
41227
dcd2ae90
DM
41228 * scripts/check-local-headers.sh: Accept a host triplet in the
41229 path matched by the exclude regexp.
41230
993eb054
DM
41231 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
41232 definition.
41233 * sysdeps/powerpc/powerpc32/dl-machine.h
41234 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
41235 * sysdeps/s390/s390-32/dl-machine.h
41236 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41237 * sysdeps/sparc/sparc32/dl-machine.h
41238 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41239 * sysdeps/sparc/sparc64/dl-machine.h
41240 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41241
ff9f1c5f
DM
41242 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
41243 lazy binding.
48e2e132 41244 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
41245 undefined symbol errors.
41246
48e2e132 41247 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
41248 DT_NEEDED entries.
41249
e80d6f94
MM
412502012-04-05 Michael Matz <matz@suse.de>
41251
41252 [BZ #13592]
41253 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
41254
349fa79f
AJ
412552012-04-05 Andreas Jaeger <aj@suse.de>
41256
41257 [BZ #13908]
41258 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
41259 comment.
41260
f402708f
KK
412612012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41262
41263 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
41264 which ROUND is no valid rounding mode.
41265
2ecccfc9
KK
412662012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41267
41268 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
41269 read again.
41270 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
41271
8a53f50f
KK
412722012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41273
41274 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
41275 an exception using FPU order intentionally.
41276
412772012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41278
41279 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
41280 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
41281 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
41282 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
41283
d653abb7
SJ
412842012-04-05 Simon Josefsson <simon@josefsson.org>
41285
41286 [BZ #12340]
41287 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
41288 EINVAL when BUFLEN is too smal.
41289
c3b1bf7d
TS
412902012-04-05 Thomas Schwinge <thomas@codesourcery.com>
41291
41292 [BZ #13553]
41293 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
41294 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
41295
b1aa60f3
AJ
412962012-04-03 Andreas Jaeger <aj@suse.de>
41297
c3b1bf7d 41298 [BZ #13938]
67f60a26
AJ
41299 * manual/setjmp.texi (System V contexts): Fix sentence.
41300
b1aa60f3
AJ
41301 [BZ #13926]
41302 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
41303 New macro for this case.
41304 [!__GNUC__] (__bswap_64): New inline function for this case.
41305 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41306 * bits/byteswap.h: Likewise.
41307 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
41308 ull, guard with __GLIBC_HAVE_LONG_LONG.
41309
41310 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
41311 __GLIBC_HAVE_LONG_LONG.
41312
41313 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
41314 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
41315
39c59c35
TMQMF
413162012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41317
41318 [BZ #13691]
41319 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
41320 inptr and inend, rather than using last_ch.
41321
135ffda8
DM
413222012-04-02 David S. Miller <davem@davemloft.net>
41323
41324 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
41325 * stdio-common/printf-parse.h (read_int): Change return type to
41326 'int', return -1 on INT_MAX overflow.
41327 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
41328 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
41329 overflows INT_MAX. Check for overflow of in-format-string precision
41330 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
41331 SIZE_MAX not INT_MAX for integer overflow test.
41332 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
41333 skip the construct in the format string but do not record anything.
41334 * stdio-common/bug22.c: Adjust to test both width/prevision
41335 INT_MAX overflow as well as total length INT_MAX overflow. Check
41336 explicitly for proper errno values.
41337
228c019e
TS
413382012-04-02 Thomas Schwinge <thomas@codesourcery.com>
41339
302cadd3
TS
41340 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
41341 CHAR_MAX.
41342 * string/test-strcmp.c [! WIDE]: Likewise.
41343 * time/tst-mktime2.c: Likewise for INT_MAX.
41344 * string/test-string.h: #include <sys/param.h> for MIN.
41345
228c019e
TS
41346 * csu/init-first.c (__libc_init_first): Call __ctype_init.
41347 * sysdeps/i386/init-first.c (init): Likewise.
41348 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
41349 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
41350 * sysdeps/sh/init-first.c (init): Likewise.
41351
cfa633f5
UD
413522012-04-01 Ulrich Drepper <drepper@gmail.com>
41353
41354 * po/ru.po: Update from translation team.
d1635ef8 41355 * po/vi.po: Likewise.
cfa633f5 41356
6cd0a5ea
SP
413572012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41358
41359 * resolv/nss_dns/dns-host.c: Merge copyright years.
41360
4b43400f
LD
413612012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41362
41363 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41364 Optimize memcpy with prefetch if
41365 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
41366 src, dst pointers have unequal 16 byte alignments.
41367
48c41d04
SP
413682012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
41369
41370 [BZ #13928]
41371 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
41372 from a CNAME entry and return the minimum ttl for the query.
41373 (gaih_getanswer_slice): Likewise.
41374
b8dc394d
JL
413752012-03-30 Jeff Law <law@redhat.com>
41376
41377 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
41378 due to long keys.
41379 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
41380 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
41381
2f5a5ed0
JL
41382 * resolv/nss_dns/dns-host.c: Update copyright year.
41383
1d39e359
UD
413842012-03-30 Ulrich Drepper <drepper@gmail.com>
41385
c030f70c 41386 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 41387 requests to save a system call. Fix check that all bytes are sent.
c030f70c 41388
1d39e359
UD
41389 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
41390 comments for sendmmsg.
41391
413922012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
41393
41394 [BZ #13691]
41395 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
41396 with only 1 character between 0x0041 and 0x01b0.
41397 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
41398 * wcsmbs/tst-mbsnrtowcs.c: New file.
41399
20fde227
DM
414002012-03-29 David S. Miller <davem@davemloft.net>
41401
41402 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
41403 small copies by hand.
41404
984a4237
JL
414052012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41406
41407 [BZ #13761]
57f41c40
AS
41408 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
41409 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
41410 group memberships.
984a4237 41411
18c9d62b
DM
414122012-03-28 David S. Miller <davem@davemloft.net>
41413
88d85d4f
DM
41414 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
41415 that branches into memcpy.
41416 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41417 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
41418 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41419 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
41420 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
41421 bits.
41422 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
41423 implementation too.
41424 * sysdeps/sparc/mempcpy.S: New file.
41425
e5aa83e1
DM
41426 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
41427 the IFUNC routine in the libc case.
41428 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41429
88570753
DM
41430 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
41431 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
41432 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
41433 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
41434 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
41435 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
41436 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
41437 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
41438
249d7567
DM
41439 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
41440 loop to 256 bytes instead of 64 bytes and fix test signedness.
41441
18c9d62b
DM
41442 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
41443 * sysdeps/sparc/sparc32/Makefile: rather than here...
41444 * sysdeps/sparc/sparc64/Makefile: and here.
41445
05f3d1f6
UD
414462012-03-28 Ulrich Drepper <drepper@gmail.com>
41447
41448 * malloc/mallocbug.c: Avoid warnings about unused variables.
41449
86ae07a8
JL
414502012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
41451
41452 [BZ #13760]
41453 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
41454 in the right place. Discard and retry query if response is
41455 larger than input buffer size.
41456
41bf21a1
JM
414572012-03-28 Joseph Myers <joseph@codesourcery.com>
41458
d6270972
JM
41459 [BZ #369]
41460 [BZ #2678]
41461 [BZ #3866]
41462 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
41463 x for large integer exponent.
41464 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41465 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
41466 sign of result as needed afterwards.
41467 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
41468 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
41469 result for underflowing pow the same as for overflow.
41470 (__kernel_standard_l): Handle powl overflow and underflow here
41471 rather than calling __kernel_standard.
41472 * math/libm-test.inc (pow_test): Add more tests.
41473
414fca03 41474 [BZ #3868]
41bf21a1
JM
41475 [BZ #13879]
41476 [BZ #13910]
41477 [BZ #13911]
41478 [BZ #13912]
41479 [BZ #13913]
41480 [BZ #13915]
41481 [BZ #13916]
41482 [BZ #13917]
41483 [BZ #13918]
41484 [BZ #13919]
41485 [BZ #13920]
41486 [BZ #13921]
41487 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
41488 * sysdeps/ieee754/k_standard.c: Include <float.h>.
41489 (__kernel_standard_l): New function.
41490 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
41491 __kernel_standard.
41492 * math/w_acosl.c (__acosl): Likewise.
41493 * math/w_asinl.c (__asinl): Likewise.
41494 * math/w_atan2l.c (__atan2l): Likewise.
41495 * math/w_atanhl.c (__atanhl): Likewise.
41496 * math/w_coshl.c (__coshl): Likewise.
41497 * math/w_exp10l.c (__exp10l): Likewise.
41498 * math/w_exp2l.c (__exp2l): Likewise.
41499 * math/w_fmodl.c (__fmodl): Likewise.
41500 * math/w_hypotl.c (__hypotl): Likewise.
41501 * math/w_j0l.c (__j0l, __y0l): Likewise.
41502 * math/w_j1l.c (__j1l, __y1l): Likewise.
41503 * math/w_jnl.c (__jnl, __ynl): Likewise.
41504 * math/w_lgammal.c (__lgammal): Likewise.
41505 * math/w_log10l.c (__log10l): Likewise.
41506 * math/w_log2l.c (__log2l): Likewise.
41507 * math/w_logl.c (__logl): Likewise.
41508 * math/w_powl.c (__powl): Likewise.
41509 * math/w_remainderl.c (__remainderl): Likewise.
41510 * math/w_scalbl.c (sysv_scalbl): Likewise.
41511 * math/w_sinhl.c (__sinhl): Likewise.
41512 * math/w_sqrtl.c (__sqrtl): Likewise.
41513 * math/w_tgammal.c (__tgammal): Likewise.
41514 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
41515 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
41516 * math/libm-test.inc (acos_test): Add more tests.
41517 (acosh_test): Likewise.
41518 (asin_test): Likewise.
41519 (atanh_test): Likewise.
41520 (exp_test): Likewise.
41521 (exp10_test): Likewise.
41522 (exp2_test): Likewise.
41523 (expm1_test): Likewise.
41524 (lgamma_test): Likewise.
41525 (log_test): Likewise.
41526 (log10_test): Likewise.
41527 (log1p_test): Likewise.
41528 (log2_test): Likewise.
41529 (pow_test): Do not allow some spurious overflow exceptions.
41530 (sqrt_test): Add more tests.
41531 (tgamma_test): Likewise.
41532 (y0_test): Likewise.
41533 (y1_test): Likewise.
41534 (yn_test): Likewise.
41535
dd62fda6
AB
415362012-03-27 Anton Blanchard <anton@samba.org>
41537
41538 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
41539 MAP_HUGETLB.
41540 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41541 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41542 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41543
1e3cdfda
AJ
415442012-03-27 David S. Miller <davem@davemloft.net>
41545
b855ab85
DM
41546 * conform/Makefile: Run run-conformtest.sh using $(BASH).
41547
1e3cdfda
AJ
41548 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
41549 have-as-vis3 check.
41550
415512012-03-27 Andreas Jaeger <aj@suse.de>
41552
41553 * sysdeps/x86_64/elf/configure.in: Moved to ...
41554 * sysdeps/x86_64/configure.in: ... here.
41555 * sysdeps/x86_64/elf/start.S: Moved to ...
41556 * sysdeps/x86_64/start.S: ... here.
41557 * sysdeps/x86_64/elf/configure: Delete.
41558
41559 * sysdeps/x86_64/configure.in: Merge contents from
41560 sysdeps/i386/configure.in (without i686 check).
41561
41562 * sysdeps/i386/elf/Versions: Merge into ...
41563 * sysdeps/i386/Versions: ... this.
41564 * sysdeps/i386/elf/Versions: Delete file.
41565 * sysdeps/i386/elf/start.S: Moved to ...
41566 * sysdeps/i386/start.S: ...here.
41567 * sysdeps/i386/elf/configure.in: Merge into...
41568 * sysdeps/i386/configure.in: ...here.
41569 * sysdeps/i386/elf/configure.in: Delete file.
41570 * sysdeps/i386/elf/configure: Delete file.
41571
41572 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
41573 * debug/backtracesyms.c: ... here.
41574 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
41575 * debug/backtracesymsfd.c: ... here.
41576 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
41577 * sysdeps/generic/ifunc-sel.h: ... here.
41578
41579 * sysdeps/unix/i386/start.c: Delete file.
41580 * sysdeps/unix/sparc/start.c: Delete file.
41581 * sysdeps/unix/start.c: Delete file.
41582
41583 * sysdeps/sh/elf/configure.in: Moved to ...
41584 * sysdeps/sh/configure.in: ... here.
41585 * sysdeps/sh/elf/start.S: Moved to ...
41586 * sysdeps/sh/start.S: ... here.
41587 * sysdeps/sh/elf/configure: Delete file.
41588
41589 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
41590 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
41591 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
41592 * sysdeps/powerpc/powerpc64/entry.h: ... here.
41593 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
41594 * sysdeps/powerpc/powerpc64/start.S: here.
41595 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
41596 * sysdeps/powerpc/powerpc64/Makefile: ... this.
41597 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
41598 * sysdeps/powerpc/powerpc64/configure.in: ... this.
41599 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
41600
41601 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
41602 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
41603 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
41604 * sysdeps/powerpc/powerpc32/start.S: ... here.
41605 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
41606 * sysdeps/powerpc/powerpc32/configure.in: ... this.
41607 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
41608
41609 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
41610 * sysdeps/powerpc/ifunc-sel.h: ... here.
41611 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
41612 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
41613
41614 * sysdeps/sparc/elf/configure.in: Moved to ...
41615 * sysdeps/sparc/configure.in: ... here.
41616 * sysdeps/sparc/elf/configure: Delete file.
41617 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
41618 * sysdeps/sparc/sparc32/start.S: ... here.
41619 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
41620 * sysdeps/sparc/sparc64/start.S: ... here.
41621 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
41622 * sysdeps/sparc/sparc32/Makefile: ... this.
41623 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
41624 * sysdeps/sparc/sparc64/Makefile: ... this.
41625
41626 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
41627 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
41628 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
41629 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
41630 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
41631 * sysdeps/s390/s390-32/setjmp.S: ... here.
41632 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
41633 * sysdeps/s390/s390-32/configure.in: ... here.
41634 * sysdeps/s390/s390-32/elf/configure: Delete file.
41635 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
41636 * sysdeps/s390/s390-32/start.S: ... here.
41637
41638 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
41639 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
41640 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
41641 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
41642 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
41643 * sysdeps/s390/s390-64/setjmp.S: ... here.
41644 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
41645 * sysdeps/s390/s390-64/configure.in: ... here
41646 * sysdeps/s390/s390-64/elf/configure: Delete file.
41647 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
41648 * sysdeps/s390/s390-64/start.S: ... here.
41649 * sysdeps/s390/s390-64/elf/configure: Delete.
41650
41651 * configure.in: Remove support for elf directories in sysdeps.
41652
41653 * configure: Regenerated.
41654 * sysdeps/i386/configure: Regenerated.
41655 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41656 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41657 * sysdeps/s390/s390-32/configure: Regenerated.
41658 * sysdeps/s390/s390-64/configure: Regenerated.
41659 * sysdeps/sh/configure: Regenerated.
41660 * sysdeps/sparc/configure: Regenerated.
41661 * sysdeps/x86_64/configure: Regenerated.
41662
a3f61311
AS
416632012-03-26 Andreas Schwab <schwab@linux-m68k.org>
41664
c876e002
AS
41665 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41666
a3f61311
AS
41667 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
41668 denormal result into account.
41669
ac4c54f0
RM
416702012-03-25 Roland McGrath <roland@hack.frob.com>
41671
41672 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
41673 Reported by Allan McRae <allan@archlinux.org>.
41674
6a9b9c02
JL
416752012-03-23 Jeff Law <law@redhat.com>
41676
41677 * nss/getnssent.c (__nss_getent): Fix typo.
41678
4c42a0c1
DM
416792012-03-23 David S. Miller <davem@davemloft.net>
41680
41681 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41682
1532c7ac
L
416832012-03-23 H.J. Lu <hongjiu.lu@intel.com>
41684
41685 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
41686 to pad to uint64_t for each field.
41687 (dl_tls_index): Replace unsigned long with uint64_t.
41688
3ff42526
PP
416892012-03-23 Daniel Jacobowitz <dmj@google.com>
41690 Paul Pluzhnikov <ppluzhnikov@google.com>
41691
41692 [BZ #6528]
41693 * grp/Makefile (otherlibs): Don't set it.
41694 * inet/Makefile (otherlibs): Likewise.
41695 * login/Makefile (otherlibs): Likewise.
41696 * nscd/Makefile (otherlibs): Likewise.
41697 * posix/Makefile (otherlibs): Likewise.
41698 * pwd/Makefile (otherlibs): Likewise.
41699 * rt/Makefile (otherlibs): Likewise.
41700 * sunrpc/Makefile (otherlibs): Likewise.
41701 * nss/Makefile (otherlibs): Likewise.
41702 Add libnss_files to routines and static-only-routines.
41703 ($(objpfx)getent): Remove rule.
41704 * resolv/Makefile: Add libnss_dns and libresolv to routines and
41705 static-only-routines.
41706
7c69cd14
JM
417072012-03-22 Joseph Myers <joseph@codesourcery.com>
41708
41709 [BZ #13892]
41710 * math/s_cexp.c: Include <float.h>.
41711 (__cexp): Handle exp result overflowing not necessarily
41712 overflowing both real and imaginary parts of result.
41713 * math/s_cexpf.c: Likewise.
41714 * math/s_cexpl.c: Likewise.
41715 * math/libm-test.inc (cexp_test): Add more tests.
41716 * sysdeps/i386/fpu/libm-test-ulps: Update.
41717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41718
81b035fe
L
417192012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41720
41721 * include/link.h (ELFW): New macro.
41722 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41723 Replace ELF64_R_TYPE with ELFW(R_TYPE).
41724
1da7940c
L
417252012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41726
41727 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41728 with uint64_t.
41729
b749dbb9
L
417302012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41731
41732 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41733 declaration.
41734 (struct La_x32_retval): Likewise.
41735
2ff87f3f
L
417362012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41737
41738 * sysdeps/x86_64/preconfigure.in: New file.
41739 * sysdeps/x86_64/preconfigure: New generated file.
41740
c0df8e69
JM
417412012-03-22 Joseph Myers <joseph@codesourcery.com>
41742
48e44791
JM
41743 [BZ #13824]
41744 * math/e_exp2l.c: Include <float.h>.
41745 (__ieee754_exp2l): Handle overflow and underflow cases
41746 separately. Only pass fractional part of argument to
41747 __ieee754_expl.
41748 * math/libm-test.inc (exp2_test): Add more tests.
41749
c0df8e69
JM
41750 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41751 negating x to take absolute value.
41752 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41753 Likewise.
41754 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41755 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41756 Likewise.
41757 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41758 computing low part if x was negated.
41759 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41760
c8e43ba7
L
417612012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41762
41763 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41764 la_x32_gnu_pltexit.
41765 (pltexit): Cast int_retval to ptrdiff_t.
41766 * elf/tst-auditmod3b.c: Likewise.
41767 * elf/tst-auditmod4b.c: Likewise.
41768 * elf/tst-auditmod5b.c: Likewise.
41769 * elf/tst-auditmod6b.c: Likewise.
41770 * elf/tst-auditmod6c.c: Likewise.
41771 * elf/tst-auditmod7b.c: Likewise.
41772
41773 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41774 and x32_gnu_pltexit.
41775
41776 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41777 __ELF_NATIVE_CLASS.
41778 (La_x32_regs): New macro.
41779 (La_x32_retval): Likewise.
41780 (la_x32_gnu_pltenter): New function prototype.
41781 (la_x32_gnu_pltexit): Likewise.
41782
7998fa78
AS
417832012-03-21 Andreas Schwab <schwab@linux-m68k.org>
41784
dcb33988
AS
41785 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41786 exponent.
41787
233fc563
AS
41788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41789
7998fa78
AS
41790 * configure.in (libc_cv_cc_nofma): Check for option to disable
41791 generation of FMA instructions.
41792 * configure: Regenerate.
41793 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41794 * sysdeps/ieee754/dbl-64/Makefile: New file.
41795 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41796 Remove brandred-fma4.
41797 (CFLAGS-brandred-fma4.c): Remove.
41798 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41799 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41800 define.
41801 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41802 define.
41803
8e95c99a
L
418042012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41805
41806 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41807 LLONG_MAX != LONG_MAX.
41808 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41809 (_fitoa_word): Likewise.
41810 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
41811 LLONG_MAX != LONG_MAX.
41812 * stdio-common/_itowa.h: Include <_itoa.h>.
41813 (_itowa_word): Use _ITOA_WORD_TYPE on value.
41814 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
41815 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
41816 only if not defined.
41817 (_ITOA_WORD_TYPE): Likewise.
41818 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41819 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
41820
6f4db457
DM
418212012-03-21 David S. Miller <davem@davemloft.net>
41822
41823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41824
7785fe5a
L
418252012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41826
41827 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
41828 of x86_64 when setting libc_cv_slibdir, libdir and
41829 libc_cv_localedir.
41830 * sysdeps/unix/sysv/linux/configure: Regenerated.
41831
4535cd55
JM
418322012-03-21 Joseph Myers <joseph@codesourcery.com>
41833
41834 * manual/lang.texi (Old Varargs): Remove section.
41835 (How Variadic): Update menu.
41836 (va_start): Do not mention varargs.h.
41837
17228132
TS
418382012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41839 Joseph Myers <joseph@codesourcery.com>
41840
41841 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
41842 link test.
41843 * configure: Regenerated.
41844
8149f976
TS
418452012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41846
05f3d1f6
UD
41847 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
41848 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
41849 conformtest.pl
8149f976 41850
1a4ac776
JM
418512012-03-21 Joseph Myers <joseph@codesourcery.com>
41852
be22ce65
JM
41853 * NOTES: Remove.
41854 * Makefile (files-for-dist): Remove NOTES.
41855 (NOTES): Remove rule.
41856 * README: Don't refer to NOTES.
41857 * manual/creature.texi: Don't include macros.texi.
41858 * manual/intro.texi (creature.texi): Remove comment referring to
41859 NOTES.
41860
40b601fb
JM
41861 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
41862 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
41863 * configure: Regenerated.
41864 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
41865 LIBC_TRY_CC_OPTION.
41866 (libc_cv_as_i686): Likewise.
41867 (libc_cv_cc_avx): Likewise.
41868 (libc_cv_cc_sse2avx): Likewise.
41869 (libc_cv_cc_fma4): Likewise.
41870 (libc_cv_cc_novzeroupper): Likewise.
41871 * sysdeps/i386/configure: Regenerated.
41872
1a4ac776
JM
41873 [BZ #13883]
41874 * sysdeps/i386/fpu/s_cexp.S: Remove.
41875 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41876 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41877 * math/libm-test.inc (cexp_test): Add more tests.
41878 * sysdeps/i386/fpu/libm-test-ulps: Update.
41879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41880
a458e7fe
AM
418812012-03-21 Allan McRae <allan@archlinux.org>
41882
41883 * timezone/Makefile: Do not install iso3166.tab and zone.tab
41884
0cb7efc5
JM
418852012-03-21 Joseph Myers <joseph@codesourcery.com>
41886
41887 [BZ #13871]
41888 * math/w_exp2.c: Do not include <float.h>.
41889 (o_threshold, u_threshold): Remove.
41890 (__exp2): Calculate result before checking finiteness and calling
41891 __kernel_standard.
41892 * math/w_exp2f.c: Likewise.
41893 * math/w_exp2l.c: Likewise.
41894 * math/libm-test.inc (exp2_test): Require overflow exception for
41895 1e6 input.
2460d3aa
JM
41896
41897 [BZ #3866]
41898 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
41899 range of signed 64-bit integers before using fistpll. Remove
41900 checks for whether integers fit in mantissa bits.
41901 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
41902 the range of signed 32-bit integers before using fistpl. Remove
41903 checks for whether integers fit in mantissa bits.
41904 * sysdeps/i386/fpu/e_powl.S (p64): New object.
41905 (__ieee754_powl): Test for y outside the range of signed 64-bit
41906 integers before using fistpll. Reduce 64-bit values to 63-bit
41907 ones as needed.
41908 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
41909 divide-by-zero is raised for zero to large negative powers.
41910 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
41911 (__ieee754_powl): Test for y outside the range of signed 64-bit
41912 integers before using fistpll. Reduce 64-bit values to 63-bit
41913 ones as needed.
41914 * math/libm-test.inc (pow_test): Add more tests.
41915
eb96ffb0
L
419162012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41917
41918 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
41919 <stdio-common/_itoa.h>.
41920 * debug/segfault.c: Likewise.
41921 * elf/dl-cache.c: Likewise.
41922 * elf/dl-minimal.c: Likewise.
41923 * elf/dl-misc.c: Likewise.
41924 * elf/dl-sysdep.c: Likewise.
41925 * elf/dl-version.c: Likewise.
41926 * elf/rtld.c: Likewise.
41927 * hurd/hurdsock.c: Likewise.
41928 * hurd/lookup-retry.c: Likewise.
41929 * malloc/malloc.c: Likewise.
41930 * malloc/mtrace.c: Likewise.
41931 * nscd/nscd_getgr_r.c: Likewise.
41932 * nscd/nscd_getpw_r.c: Likewise.
41933 * nscd/nscd_getserv_r.c: Likewise.
41934 * posix/getopt_init.c: Likewise.
41935 * posix/wordexp.c: Likewise.
41936 * stdio-common/_itoa.c: Likewise.
41937 * stdio-common/printf_fphex.c: Likewise.
41938 * stdio-common/vfprintf.c: Likewise.
41939 * string/_strerror.c: Likewise.
41940 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
41941 * sysdeps/i386/i686/hp-timing.h: Likewise.
41942 * sysdeps/mach/_strerror.c: Likewise.
41943 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
41944 * sysdeps/mach/hurd/sethostid.c: Likewise.
41945 * sysdeps/mach/hurd/xmknodat.c: Likewise.
41946 * sysdeps/mach/xpg-strerror.c: Likewise.
41947 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41948 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41949 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
41950 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
41951 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41952 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
41953 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41954 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41955 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
41956 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
41957 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
41958 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41959 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
41960 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
41961 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
41962 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
41963 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
41964 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
41965 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41966 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41967 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
41968
41969 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
41970
41971 * stdio-common/_itoa.h: Moved to ...
41972 * sysdeps/generic/_itoa.h: Here.
41973
41974 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
41975
41976 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
41977 instead of "_itoa.h" and "_itowa.h".
41978 * stdio-common/vfprintf.: Likewise.
41979
d1af992d
L
419802012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41981
41982 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
41983 <bits/wordsize.h>.
41984 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
41985 (__signbit): Likwise.
41986 (llrintf): Likwise.
41987 (llrint): Likwise.
41988
114883e0
L
419892012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41990
41991 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
41992 __WORDSIZE != 64.
41993
c135cc1b
JM
419942012-03-20 Joseph Myers <joseph@codesourcery.com>
41995
41996 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
41997 OVERFLOW_EXCEPTION_OK.
41998 * math/libm-test.inc ("Philosophy"): Update comment about
41999 exception testing.
42000 (OVERFLOW_EXCEPTION): Define.
42001 (OVERFLOW_EXCEPTION_OK): Likewise.
42002 (INVALID_EXCEPTION_OK): Renumber.
42003 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42004 (IGNORE_ZERO_INF_SIGN): Likewise.
42005 (test_exceptions): Handle FE_OVERFLOW.
42006 (exp10_test): Expect overflow exceptions.
42007 (exp2_test): Likewise.
42008 (expm1_test): Likewise.
42009 (nextafter_test): Likewise.
42010 (pow_test): Likewise.
42011 (scalbn_test): Likewise.
42012 (scalbln_test): Likewise.
42013
95443d88
L
420142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42015
42016 * sysdeps/x86_64/bits/atomic.h
42017 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
42018 64bit integer.
42019 (atomic_exchange_acq): Likewise.
42020 (__arch_exchange_and_add_body): Likewise.
42021 (__arch_add_body): Likewise.
42022 (atomic_add_negative): Likewise.
42023 (atomic_add_zero): Likewise.
42024
490df6c4
L
420252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42026
c2722551 42027 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
42028 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
42029
5e52b189
L
420302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42031
42032 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
42033 Check __x86_64__ instead of __WORDSIZE.
42034
a9879d4c
L
420352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42036
42037 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
42038
5df98260
DM
420392012-03-19 David S. Miller <davem@davemloft.net>
42040
e1497744
DM
42041 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42042
5df98260
DM
42043 * sysdeps/sparc/fpu/fenv_private.h: New file.
42044 * sysdeps/sparc/fpu/math_private.h: Use it.
42045 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
42046 Remove.
57f41c40 42047 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
42048 (libc_feholdexcept_setroundl): Remove.
42049 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
42050 Remove.
42051 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
42052 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
42053
b4c35121
L
420542012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42055
42056 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
42057 int64_t instead of long int.
42058 (INSERT_WORDS64): Likwise.
42059
56965fd7
L
420602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42061
42062 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
42063 _Unwind_GetCFA return to _Unwind_Ptr first.
42064
83d1aec8
JM
420652012-03-19 Joseph Myers <joseph@codesourcery.com>
42066
1897ad44
JM
42067 [BZ #13629]
42068 * math/s_clog.c: Include <float.h>.
42069 (__clog): Scale large or subnormal inputs.
42070 * math/s_clogf.c: Likewise.
42071 * math/s_clogl.c: Likewise.
42072 * math/s_clog10.c: Include <float.h>.
42073 (M_LOG10_2): Define.
42074 (__clog10): Scale large or subnormal inputs.
42075 * math/s_clog10f.c: Likewise.
42076 * math/s_clog10l.c: Likewise.
42077 * math/libm-test.inc (clog_test): Add more tests.
42078 (clog10_test): Likewise.
42079 * sysdeps/i386/fpu/libm-test-ulps: Update.
42080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42081
7726d6a9
JM
42082 [BZ #11451]
42083 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
42084 x and y.
42085 * math/libm-test.inc (atan2_test): Add another test.
42086
83d1aec8
JM
42087 * Makerules (common-objdir-compile): Remove.
42088 * sysdeps/unix/Makefile (config-generated): Do not add
42089 $(unix-generated) to variable.
42090 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
42091 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
42092 Remove rule.
42093 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
42094 Likewise.
42095 [generic bits/local_lim.h] (before-compile): Do not append to
42096 variable.
42097 [generic bits/local_lim.h] (common-generated): Likewise.
42098 [generic sys/param.h] (before-compile): Do not append to variable.
42099 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
42100 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
42101 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
42102 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
42103 include.
42104 [generic sys/param.h] (sys/param.h-includes): Remove variable.
42105 [generic sys/param.h] (sys/param.h-includes): Remove rule.
42106 [generic sys/param.h] ($(addprefix
42107 $(common-objpfx),$(sys/param.h-includes))): Likewise.
42108 [generic sys/param.h] (common-generated): Do not append to
42109 variable.
42110 [generic sys/param.h] (sysdep_headers): Likewise.
42111 [generic bits/errno.h] (before-compile): Do not append to
42112 variable.
42113 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
42114 rule.
42115 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
42116 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
42117 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
42118 [generic bits/errno.h] (common-generated): Do not append to
42119 variable.
42120 [generic bits/ioctls.h] (before-compile): Do not append to
42121 variable.
42122 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
42123 rule.
42124 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
42125 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
42126 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
42127 rule.
42128 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
42129 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
42130 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
42131 [generic bits/ioctls.h] (common-generated): Do not append to
42132 variable.
42133 [generic sys/syscall.h] (syscall.h): Remove variable.
42134 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
42135 rule.
42136 [generic sys/syscall.h] (before-compile): Do not append to
42137 variable.
42138 [generic sys/syscall.h] (common-generated): Likewise.
42139 * sysdeps/unix/errnos-tmpl.c: Remove file.
42140 * sysdeps/unix/errnos.awk: Likewise.
42141 * sysdeps/unix/ioctls-tmpl.c: Likewise.
42142 * sysdeps/unix/ioctls.awk: Likewise.
42143 * sysdeps/unix/mk-local_lim.c: Likewise.
42144 * sysdeps/unix/snarf-ioctls: Likewise.
42145
4851a949
RH
421462012-03-19 Richard Henderson <rth@twiddle.net>
42147
bd37f2ee
RH
42148 * sysdeps/i386/fpu/fenv_private.h: New file.
42149 * sysdeps/i386/fpu/math_private.h: Use it.
42150 (math_opt_barrier, math_force_eval): Remove.
42151 (libc_feholdexcept_setround_53bit): Remove.
42152 (libc_feupdateenv_53bit): Remove.
42153 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42154 (math_opt_barrier, math_force_eval): Remove.
42155 (libc_feholdexcept): Remove.
42156 (libc_feholdexcept_setround): Remove.
42157 (libc_fetestexcept, libc_fesetenv): Remove.
42158 (libc_feupdateenv_test): Remove.
42159 (libc_feupdateenv, libc_feholdsetround): Remove.
42160 (libc_feresetround): Remove.
42161
d0adc922
RH
42162 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
42163 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
42164
0fe0f1f8
RH
42165 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
42166 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
42167 (libc_feupdateenv_testl): New.
42168 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
42169 (libc_feupdateenv_testf): New.
42170 (libc_feupdateenv): Use libc_feupdateenv_test.
42171 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
42172 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
42173
eb92c487
RH
42174 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
42175 (libc_feholdsetroundf, libc_feholdsetroundl): New.
42176 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
42177 (libc_feresetround_noex): New.
42178 (libc_feresetround_noexf): New.
42179 (libc_feresetround_noexl): New.
42180 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
42181 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
42182 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
42183 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
42184 SET_RESTORE_ROUND.
42185 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
42186 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
42187 (__cos): Likewise.
42188 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
42189 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
42190 SET_RESTORE_ROUND_NOEX.
42191 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
42192 SET_RESTORE_ROUND_NOEXF.
42193 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
42194 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
42195 (libc_feholdsetroundf): New.
42196 (libc_feresetround, libc_feresetroundf): New.
42197
7d2e8012
RH
42198 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
42199 (libc_feholdexcept_setround_53bit): Convert from macro to function.
42200 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
42201
b4dabbb4
RH
42202 * sysdeps/generic/math_private.h: Include <fenv.h>.
42203 (default_libc_feholdexcept): New.
42204 (default_libc_feholdexcept_setround): New.
42205 (default_libc_fesetenv, default_libc_feupdateenv): New.
42206 (libc_feholdexcept): Only define if undefined.
42207 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
42208 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
42209 (libc_feholdexcept_setroundl): Likewise.
42210 (libc_feholdexcept_setround_53bit): Likewise.
42211 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
42212 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
42213 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
42214 (libc_feupdateenv_53bit): Likewise.
42215 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
42216 (libc_feholdexcept): Convert from macro to inline function.
42217 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
42218 (libc_fesetenv, libc_feupdateenv): Likewise.
42219
4851a949
RH
42220 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
42221 not previously defined.
42222 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
42223 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
42224 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
42225 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
42226 * sysdeps/ieee754/flt-32/math_private.h: New file.
42227 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
42228 math_private.h below SET_FLOAT_WORD.
42229 (__isnan, __isinf_ns, __finite): Remove.
42230 (__isnanf, __isinf_nsf, __finitef): Remove.
42231
e79d442e
AS
422322012-03-18 Andreas Schwab <schwab@linux-m68k.org>
42233
42234 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42235
90b80344
DM
422362012-03-17 David S. Miller <davem@davemloft.net>
42237
42238 [BZ #6471]
42239 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
42240 for 2.16.
42241
edc21804
DM
422422012-03-16 David S. Miller <davem@davemloft.net>
42243
77e927af
DM
42244 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
42245 warnings.
42246
374976dd
DM
42247 [BZ #6471]
42248 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
42249 properly.
42250 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
42251 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
42252 sysdep_routines when subdir is sysvipc.
42253 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
42254 __getshmlba helper.
42255
edc21804
DM
42256 * sysdeps/sparc/fpu/libm-test/ulps: Update.
42257
473c3ef3
L
422582012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42259
42260 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
42261 [__LP64__].
42262
eb0f39b6
L
422632012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42264
42265 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
42266 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
42267 (__lround): Renamed to ...
42268 (__llround): This. Replace long int with long long int.
42269 Define lround functions as aliases of llround functions.
42270 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
42271
6b6cd74b
L
422722012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42273
42274 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
42275 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
42276 adresses to uintptr_t. Replace "long int" and "unsigned long
42277 int" with "greg_t" on va_arg.
42278
f1a77b01
L
422792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42280
42281 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
42282 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
42283
42284 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
42285 Move e_machine check before EI_CLASS check. Handle x32
42286 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
42287 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
42288 SKIP_EM_IA_64 and include
42289 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
42290
42291 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
42292 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
42293 (add_system_dir): New macro.
42294
42295 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
42296 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
42297
11b90b9f
JM
422982012-03-16 Joseph Myers <joseph@codesourcery.com>
42299
c36e1d23
JM
42300 [BZ #2551]
42301 [BZ #2552]
42302 [BZ #2553]
42303 [BZ #2554]
42304 [BZ #2562]
42305 [BZ #2563]
42306 [BZ #2565]
42307 [BZ #2566]
42308 [BZ #2576]
42309 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
42310 (y0): Likewise.
42311 * math/w_j0f.c (j0f): Likewise.
42312 (y0f): Likewise.
42313 * math/w_j0l.c (__j0l): Likewise.
42314 (__y0l): Likewise.
42315 * math/w_j1.c (j1): Likewise.
42316 (y1): Likewise.
42317 * math/w_j1f.c (j1f): Likewise.
42318 (y1f): Likewise.
42319 * math/w_j1l.c (__j1l): Likewise.
42320 (__y1l): Likewise.
42321 * math/w_jn.c (jn): Likewise.
42322 (yn): Likewise.
42323 * math/w_jnf.c (jnf): Likewise.
42324 (ynf): Likewise.
42325 * math/w_jnl.c (__jnl): Likewise.
42326 (__ynl): Likewise.
42327 * math/libm-test.inc (j0_test): Add more tests.
42328 (j1_test): Likewise.
42329 (jn_test): Likewise. Add trailing semicolon to existing test.
42330 (y0_test): Likewise.
42331 (y1_test): Likewise.
42332 * sysdeps/i386/fpu/libm-test-ulps: Update.
42333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42334
11b90b9f
JM
42335 [BZ #13851]
42336 [BZ #13854]
42337 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
42338 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
42339 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
42340 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
42341 (__tanl): Set errno for infinite argument.
42342 * sysdeps/i386/fpu/mptan.c: Remove.
42343 * sysdeps/i386/fpu/s_tan.S: Likewise.
42344 * sysdeps/i386/fpu/s_tanl.S: Likewise.
42345 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
42346 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
42347 * math/libm-test.inc (tan_test): Add more tests and enable more
42348 tests for double and long double.
42349 * sysdeps/i386/fpu/libm-test-ulps: Update.
42350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42351
6a1bd2a1
JK
423522012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
42353
42354 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
42355 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
42356
10a803e0
RM
423572012-03-16 Roland McGrath <roland@hack.frob.com>
42358
42359 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
42360 * configure.in: Use it for both main tree and add-ons.
42361 * configure: Regenerated.
42362
f196c7f7
L
423632012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42364
42365 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
42366
8848d99d
JM
423672012-03-16 Joseph Myers <joseph@codesourcery.com>
42368
96cbe7f4
JM
42369 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
42370 in comment.
42371
8848d99d
JM
42372 [BZ #13851]
42373 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
42374 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
42375 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
42376 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
42377 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
42378 infinite argument.
42379 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
42380 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
42381 != 0 for prec == 2.
42382 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
42383 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
42384 * sysdeps/i386/fpu/s_cosl.S: Likewise.
42385 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
42386 * sysdeps/i386/fpu/s_sinl.S: Likewise.
42387 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
42388 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
42389 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
42390 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
42391 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
42392 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
42393 * math/libm-test.inc (cos_test): Add more tests and enable more
42394 tests for long double.
42395 (sin_test): Likewise.
42396 (sincos_test): Likewise.
42397 * sysdeps/i386/fpu/libm-test-ulps: Update.
42398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42399
dd7f4703
DM
424002012-03-16 David S. Miller <davem@davemloft.net>
42401
42402 * sysdeps/sparc/fpu/math_private.h: New file.
42403
006f1daa
DM
424042012-03-15 David S. Miller <davem@davemloft.net>
42405
c0c83bc8
DM
42406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
42407 file.
e6a62e18 42408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
42409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
42410 file.
e6a62e18
DM
42411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
42412 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
42413 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
42414 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
42415 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
42416 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
42417 sysdep routines.
42418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42419
88cb87d9
DM
42420 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
42421 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
42422
006f1daa 42423 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
42424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
42425 sparc-ifunc.h
006f1daa 42426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
42427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
42428 Likewise.
42429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
42430 Likewise.
006f1daa
DM
42431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
42432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
42433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
42434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42435 Likewise.
006f1daa
DM
42436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
42438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
42440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
42441 Likewise.
42442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
42443 Likewise.
006f1daa
DM
42444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
42446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
42447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
42448 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42449 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42450 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
42451 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
42452 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42453 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42454 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
42455 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
42456 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
42457 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
42458 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
42459 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
42460 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
42461 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
42462 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
42463 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
42464 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
42465 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
42466 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
42467 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
42468
11e0098e
AS
424692012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42470
42471 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
42472 scaling.
42473 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42474
e85b09d0
AJ
424752012-03-15 Andreas Jaeger <aj@suse.de>
42476
42477 [BZ #13852]
42478 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
42479 ieee754/flt-32 implementation for sin, cos and sincos.
42480 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
42481 * sysdeps/i386/fpu/s_cosf.S: Likewise.
42482 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
42483 * sysdeps/i386/fpu/s_sinf.S: Likewise.
42484 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
42485 ieee754/flt-32 implementation for tan.
42486
42487 * math/libm-test.inc (cos_test): Enable some large input tests for
42488 float as well
42489 (sin_test): Likewise.
42490 (sincos_test): Likewise.
42491 (tan_test): Add tests for large input.
42492
42493 * sysdeps/i386/fpu/libm-test-ulps: Update.
42494
81c64153
AJ
424952012-03-15 Andreas Jaeger <aj@suse.de>
42496
42497 [BZ #13658]
42498 * math/libm-test.inc (cos_test): Add more test cases.
42499 (sin_test): Likewise.
42500 (sincos_test): Likewise.
42501
7bbfa5c6
AJ
425022012-03-15 Andreas Jaeger <aj@suse.de>
42503
42504 [BZ #13837]
42505 * math/libm-test.inc (cos_test): Add a test case for large input
42506 value.
42507 (sin_test): Likewise.
42508 (sincos_test): Likewise.
42509
57f41c40
AS
425102012-03-15 Andreas Jaeger <aj@suse.de>
42511 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
42512
42513 [BZ #13658]
0671f479 42514 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
42515 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
42516 * sysdeps/i386/fpu/branred.c: Likewise.
42517 * sysdeps/i386/fpu/dosincos.c: Likewise.
42518 * sysdeps/i386/fpu/mpa.c: Likewise.
42519 * sysdeps/i386/fpu/s_cos.S: Likewise.
42520 * sysdeps/i386/fpu/s_sin.S: Likewise.
42521 * sysdeps/i386/fpu/s_sincos.S: Likewise.
42522 * sysdeps/i386/fpu/sincos32.c: Likewise.
42523
42524 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
42525 Define.
42526 (libc_feupdateenv_53bit): Define.
42527 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
42528 Define.
42529 (libc_feupdateenv_53bit): Define.
42530
42531 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
42532 53 bit (without extend i386 double precision).
42533
42534 * math/libm-test.inc (sincos_test): Add tests for large input.
42535 (sin): Likewise.
42536 (cos): Likewise.
42537
42538 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42539
9cad04ea
AS
425402012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42541
42542 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42543
f7062b9a
DM
425442012-03-15 David S. Miller <davem@davemloft.net>
42545
42546 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
42547 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
42548 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
42549 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
42550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
42551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
42552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
42553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
42554 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
42555 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
42556 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
42557 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
42558 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
42559 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
42560 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
42561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
42562 file.
f7062b9a 42563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
42564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
42565 file.
f7062b9a 42566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
42567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
42568 file.
f7062b9a 42569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
42570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
42571 file.
f7062b9a
DM
42572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
42573 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
42574 fmin/fmax sysdep routines.
42575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42576
7bd951ff
DM
425772012-03-14 David S. Miller <davem@davemloft.net>
42578
559398ab
DM
42579 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
42580 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
42581 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
42582 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
42583 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
42584 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
42585 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
42586 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
42587 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
42588 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
42589 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
42590 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
42591 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
42592 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
42593 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
42594 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
42595 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
42596 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
42597 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
42598 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
42599 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
42600 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
42601 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
42602 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
42603 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
42604 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
42605 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
42606 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
42607 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
42608 routines.
42609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
42610 file.
559398ab 42611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
42612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
42613 file.
559398ab 42614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
42615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
42616 file.
559398ab 42617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
42618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
42619 file.
559398ab 42620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
42621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
42622 file.
559398ab 42623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
42624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
42625 file.
42626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
42627 file.
42628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
42629 file.
42630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
42631 file.
42632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
42633 New file.
42634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
42635 file.
42636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
42637 file.
559398ab 42638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
42639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
42640 file.
559398ab 42641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
42642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
42643 file.
559398ab 42644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
42645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
42646 file.
559398ab 42647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
42648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
42649 VIS3 routines.
559398ab
DM
42650
42651 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42652 New file.
42653
5a1c1e32
DM
42654 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42655
eae47a36
DM
42656 * sysdeps/sparc/configure.in: New file.
42657 * sysdeps/sparc/configure: Generate.
42658 * configure.in (libc_cv_sparc_as_vis3): Substitute.
42659 * configure: Regenerate.
42660 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
42661 * config.make.in (have-as-vis3): New.
42662 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
42663 available use -Av9d instead of -Av9a.
42664 * sysdeps/sparc/sparc64/Makefile: Likewise.
42665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
42666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
42667 New file.
42668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
42669 file.
42670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
42671 New file.
42672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
42673 file.
eae47a36
DM
42674 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
42675 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
42676 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
42677 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
42678 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
42679
c0c83bc8
DM
42680 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
42681 fzeros/fnegs to load 0x80000000 into a float register instead of
42682 using the stack.
7bd951ff
DM
42683 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
42684
bd951ccb
JM
426852012-03-14 Joseph Myers <joseph@codesourcery.com>
42686
42687 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42688 bits/syscall.h.
42689 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
42690 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
42691 ($(inst_includedir)/bits/syscall.h): Remove rule.
42692 ($(objpfx)bits/syscall.d): Include instead of
42693 $(objpfx)syscall-list.d.
42694 (generated): Change syscall-list.h and syscall-list.d to
42695 bits/syscall.h and bits/syscall.d.
42696
bb4e6db2
RM
426972012-03-14 Roland McGrath <roland@hack.frob.com>
42698
42699 [BZ #13846]
42700 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
42701
aa4a2ae1
JM
427022012-03-14 Joseph Myers <joseph@codesourcery.com>
42703
e456826d
JM
42704 [BZ #13841]
42705 * math/s_csqrt.c: Include <float.h>.
42706 (__csqrt): Scale large or subnormal inputs.
42707 * math/s_csqrtf.c: Likewise.
42708 * math/s_csqrtl.c: Likewise.
42709 * math/libm-test.inc (csqrt_test): Add more tests.
42710 * sysdeps/i386/fpu/libm-test-ulps: Update.
42711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42712
aa4a2ae1
JM
42713 [BZ #13840]
42714 * math/libm-test.inc (hypot_test): Add more tests.
42715
7c10fd35
DM
427162012-03-13 David S. Miller <davem@davemloft.net>
42717
42718 [BZ #13840]
42719 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42720 double-precision for the calculation instead of scaling.
42721
f453b98b
JM
427222012-03-13 Joseph Myers <joseph@codesourcery.com>
42723
42724 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42725 manipulate bits before adding and subtracting TWO52[sx].
42726 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42727 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42728 Likewise.
42729 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42730
09a3453f
DM
427312012-03-13 David S. Miller <davem@davemloft.net>
42732
8e59da90
DM
42733 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42734 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42735 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42736 rtld-global-offsets.h
42737 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42738
2a8ab7f2
DM
42739 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42740 large parameters.
42741
10f62770
DM
42742 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42743
5f0bdb18
DM
42744 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42745 'err' in the ifdef scope in which it is actually used.
42746
09a3453f
DM
42747 * nss/nss_db/db-init.c: Include string.h
42748
b4b2eb5e
DM
427492012-03-12 David S. Miller <davem@davemloft.net>
42750
98bb2f1c
DM
42751 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42752 masking out of the most significant byte of random value used.
42753 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42754 Fix coding style in previous change.
42755
b4b2eb5e
DM
42756 * sysdeps/unix/sysv/linux/kernel-features.h
42757 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42758 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42759 expression.
42760 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42761 later.
42762
6e226b09
DM
427632012-03-11 David S. Miller <davem@davemloft.net>
42764
a1bcbd40
DM
42765 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42766 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42767 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42768 for 'resultvar' otherwise things get truncated on 64-bit.
42769
cb9d6174
DM
42770 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42771 Fix masking out of the most significant byte of random value used.
42772
6e226b09
DM
42773 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42774
058c132d
AS
427752012-03-10 Andreas Schwab <schwab@linux-m68k.org>
42776
42777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42778
2d2cd515
DM
427792012-03-09 David S. Miller <davem@davemloft.net>
42780
42781 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42782 variables with appropriate CPP guards.
57f41c40
AS
42783 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42784 from the frame pointer, not the stack pointer. Correct layout
42785 comments. Fix test on resulting framesize and the management of
42786 the outregs buffer for pltexit. Preserve floating point return
42787 values across _dl_call_pltexit call.
2d2cd515
DM
42788 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42789 framesize and the management of the outregs buffer for pltexit.
42790 Preserve floating point return values across _dl_call_pltexit
42791 call.
57f41c40
AS
42792 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42793 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42794 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
42795 (print_exit): Fix format string for return register value.
42796
9a07f9d0
JM
427972012-03-10 Joseph Myers <joseph@codesourcery.com>
42798
42799 * sunrpc/Makefile (others): Add rpcgen.
42800 ($(objpfx)rpcgen): Remove special build rule and dependency on
42801 libc.
42802 * sunrpc/rpcgen.c: New file.
42803
547b5e30
PE
428042012-03-09 Paul Eggert <eggert@cs.ucla.edu>
42805
c524201a
PE
42806 [BZ #13673]
42807 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
42808 * stdio-common/bug-vfprintf-nargs.c: Likewise.
42809 * sysdeps/i386/crti.S: Likewise.
42810 * sysdeps/i386/crtn.S: Likewise.
42811 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
42812 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
42813 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
42814 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
42815 * sysdeps/sh/crti.S: Likewise.
42816 * sysdeps/sh/crtn.S: Likewise.
42817 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42818
7b6235f2
PE
42819 [BZ #13673]
42820 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
42821 with URL.
42822 * locale/programs/locfile-kw.gperf: Likewise.
42823 * locale/programs/charmap-kw.h: Regenerated.
42824 * locale/programs/locfile-kw.h: Likewise.
42825
547b5e30
PE
42826 [BZ #13673]
42827 * intl/plural.y: Replace FSF snail mail address with URL.
42828 * intl/plural.c: Regenerated.
42829
5f0a5dae
RH
428302012-03-09 Richard Henderson <rth@twiddle.net>
42831
42832 * include/math_private.h: Remove file.
42833 * math/math_private.h: Move file ...
42834 * sysdeps/generic/math_private.h: ... here.
42835
b8c03620
RH
42836 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
42837 * sysdeps/powerpc/fpu/math_private.h: Likewise.
42838 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42839
4e234f5d 42840 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
42841 and <math_private.h>.
42842 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42843 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42844 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42845 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42846 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42847 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
42848 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42849 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42850 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42851 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42852 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42853 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42854 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42855 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42856 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42857 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42858 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42859 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42860 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42861 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42862 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42863 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42864 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42865 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42866 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42867 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42868 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42869 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42870 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42871 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42872 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42873 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42874 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42875 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42876 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42877 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42878 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42879 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42880 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42881 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42882 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
42883 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42884 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42885 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42886 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42887 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42888 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
42889 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42890 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42891 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42892 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42893 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
42894 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42895 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42896 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42897 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42898 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42899 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42900 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42901 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
42902 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42903 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42904 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42905 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42906 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
42907 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42908 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42909 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42910 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
42911 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
42912 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42913 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42914 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42915 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42916 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
42917 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
42918 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
42919 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42920 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
42921 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
42922 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42923 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
42924 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42925 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42926 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42927 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42928 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
42929 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
42930 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42931 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42932 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42933 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42934 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42935 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42936 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42937 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42938 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42939 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42940 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42941 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42942 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42943 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42944 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42945 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42946 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42947 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42948 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42949 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42950 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42951 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42952 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42953 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42954 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42955 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42956 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
42957 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42958 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42959 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42960 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42961 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42962 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42963 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42964 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42965 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
42966 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42967 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42968 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
42969 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
42970 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42971 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
42972 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
42973 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42974 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42975 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
42976 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
42977 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42978 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42979 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42980 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
42981 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42982 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42983 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42984 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42985 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
42986 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
42987 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42988 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42989 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42990 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
42991 * sysdeps/ieee754/k_standard.c: Likewise.
42992 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42993 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42994 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42995 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42996 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42997 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42998 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42999 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43000 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43001 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43002 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43003 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43004 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43005 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43006 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43007 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43008 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
43009 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43010 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43011 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
43012 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
43013 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
43014 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43015 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43016 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
43017 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
43018 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43019 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43020 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43021 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43022 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
43023 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43024 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43025 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43026 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
43027 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43028 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43029 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
43030 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
43031 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43032 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
43033 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
43034 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
43035 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43036 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
43037 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
43038 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43039 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43040 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43041 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43042 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43043 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
43044 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43045 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
43046 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43047 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43048 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
43049 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
43050 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43051 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43052 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43053 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
43054 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43055 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43056 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43057 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43058 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43059 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43060 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43061 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43062 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43063 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43064 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43065 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43066 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43067 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43068 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
43069 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43070 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43071 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
43072 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
43073 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
43074 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43075 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43076 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
43077 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43078 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43079 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
43080 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43081 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43082 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
43083 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43084 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43085 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
43086 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43087 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43088 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
43089 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43090 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43091 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
43092 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43093 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43094 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43095 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43096 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
43097 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43098 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43099 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43100 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
43101 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43102 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43103 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43104 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43105 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43106 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43107 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43108 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43109 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43110 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43111 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43112 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43113 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43114 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43115 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43116 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43117 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
43118 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43119 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43120 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43121 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43122 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43123 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43124 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43125 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43126 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43127 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43128 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
43129 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43130 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43131 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
43132 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
43133 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43134 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
43135 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
43136 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43137 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43138 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43139 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43140 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43141 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
43142 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43143 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43144 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43145 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43146 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
43147 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
43148 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43149 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43150 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43151 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43152 * sysdeps/ieee754/s_lib_version.c: Likewise.
43153 * sysdeps/ieee754/s_matherr.c: Likewise.
43154 * sysdeps/ieee754/s_signgam.c: Likewise.
43155 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43156 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43157 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
43158 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
43159 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
43160 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
43161 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
43162 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
43163 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
43164 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
43165 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
43166 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
43167 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43168 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43169 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
43170 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
43171 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43172 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
43173 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43174 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43175 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 43176
1991fa03
JM
431772012-03-09 Joseph Myers <joseph@codesourcery.com>
43178
43179 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
43180 * sunrpc/rpc_main.c: Likewise.
43181 * sunrpc/rpc_svcout.c: Likewise.
43182
60d6f5a6
DM
431832012-03-09 David S. Miller <davem@davemloft.net>
43184
43185 * include/math_private.h: New file.
43186
4962050e
JM
431872012-03-09 Joseph Myers <joseph@codesourcery.com>
43188
02a6f887
JM
43189 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
43190 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
43191 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
43192 from <bits/socket_type.h>.
43193 (enum __socket_type): Don't define here.
43194 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
43195 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43196 bits/socket_type.h.
43197
c6e013c1
JM
43198 [BZ #13566]
43199 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
43200 checking __USE_GNU.
43201
4962050e
JM
43202 * Makerules ($(inst_includedir)/%.h): New rule.
43203 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
43204 (install-others): Remove variable setting.
43205 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
43206
38842f45
RH
432072012-03-08 Richard Henderson <rth@twiddle.net>
43208
67bb6da6
RH
43209 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
43210 from macro to inline function; merge with the
43211 !__LIBC_INTERNAL_MATH_INLINES version.
43212 (__ieee754_sqrtf): Likewise.
43213
15194b4b
RH
43214 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
43215 to inline function.
43216 (__rintf, __floor, __floorf): Likewise.
43217
64e21ede
RH
43218 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
43219 macro to inline function.
43220 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
43221
38842f45
RH
43222 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
43223 not <math/math_private.h>.
43224
c64bf5fe
DM
432252012-03-08 David S. Miller <davem@davemloft.net>
43226
43227 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
43228 copyright year.
43229 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
43230
82d86f28
TS
432312012-03-08 Thomas Schwinge <thomas@codesourcery.com>
43232
43233 * resolv/gai_misc.c (handle_requests): Fix struct timespec
43234 normalization.
43235 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
43236 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
43237
aea5d727
UD
432382012-03-08 Ulrich Drepper <drepper@gmail.com>
43239
43240 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
43241 be defined individually, they must be defined as a block. Define
43242 S for printing a string instead of hidint the different by using a
43243 macro for adding the 'l'.
43244 * stdio-common/tst-fphex-wide.c: Adjust.
43245
70bca0a3
MP
432462012-03-07 Marek Polacek <polacek@redhat.com>
43247
43248 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
43249
65b81130
MP
432502012-03-08 Marek Polacek <polacek@redhat.com>
43251
43252 [BZ #13806]
43253 * stdio-common/Makefile (tests): Add tst-fphex-wide.
43254 * stdio-common/tst-fphex.c: Define a few macros to make the
43255 test reusable. Use them.
43256 * stdio-common/tst-fphex-wide.c: New file.
43257
07037eeb
JM
432582012-03-08 Joseph Myers <joseph@codesourcery.com>
43259
a7a93d50
JM
43260 [BZ #6911]
43261 * manual/macros.texi (gnusystems): New macro.
43262 (nongnusystems): Likewise.
43263 (gnulinuxhurdsystems): Likewise.
43264 (gnuhurdsystems): Likewise..
43265 (gnulinuxsystems): Likewise.
43266 * manual/charset.texi: Use new macros or @theglibc{} to refer to
43267 variants of the GNU system, not "GNU system".
43268 * manual/conf.texi: Likewise.
43269 * manual/errno.texi: Likewise. Update example of errno macro
43270 expansion.
43271 * manual/filesys.texi: Likewise.
43272 (getumask): Document as specific to GNU/Hurd.
43273 * manual/install.texi: Likewise. Reword some references to
43274 GNU/Linux.
43275 * manual/intro.texi: Likewise.
43276 * manual/io.texi: Likewise.
43277 (File Name Portability): Detail which constraints are inapplicable
43278 to all GNU systems and which are only inapplicable to GNU/Hurd.
43279 * manual/job.texi: Likewise.
43280 * manual/llio.texi: Likewise.
43281 (O_NOCTTY): Document as present on GNU/Linux.
43282 * manual/maint.texi: Likewise.
43283 * manual/memory.texi: Likewise.
43284 * manual/pattern.texi: Likewise.
43285 * manual/pipe.texi: Likewise.
43286 * manual/process.texi: Likewise.
43287 * manual/resource.texi: Likewise.
43288 (RUSAGE_CHILDREN): Remove statement about specifying a particular
43289 child on GNU/Hurd.
43290 * manual/setjmp.texi: Likewise.
43291 * manual/signal.texi: Likewise.
43292 * manual/startup.texi: Likewise.
43293 * manual/stdio.texi: Likewise.
43294 * manual/terminal.texi: Likewise.
43295 (ONLCR): Document as POSIX.
43296 (OXTABS): Document availability on GNU/Linux as XTABS.
43297 (ONOEOT): Document availability separately from other bits.
43298 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
43299 * manual/time.texi: Likewise.
43300 * manual/users.texi: Likewise.
43301 * INSTALL: Regenerated.
43302 * sysdeps/gnu/errlist.c: Regenerated.
43303
07037eeb
JM
43304 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
43305 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
43306 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
43307 puts.
43308 * configure: Regenerated.
43309
d1d3431a
JM
433102012-03-07 Joseph Myers <joseph@codesourcery.com>
43311
af6a1e37
JM
43312 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
43313 default includes instead of AC_HEADER_CHECK.
43314 * sysdeps/i386/configure: Regenerated.
43315
d1d3431a
JM
43316 [BZ #10716]
43317 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
43318 * math/s_cacoshf.c (__cacoshf): Likewise.
43319 * math/s_cacoshl.c (__cacoshl): Likewise.
43320 * math/s_casinh.c (__casinh): Set signs of result from argument.
43321 * math/s_casinhf.c (__casinhf): Likewise.
43322 * math/s_casinhl.c (__casinhl): Likewise.
43323 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
43324 (casinh_test): Add more tests.
43325 * sysdeps/i386/fpu/libm-test-ulps: Update.
43326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43327
482ff4da
UD
433282012-03-07 Ulrich Drepper <drepper@gmail.com>
43329
872fda05
UD
43330 * po/zh_TW.po: Update from translation team.
43331
a4300c7a
UD
43332 * login/Makefile (distribute): Remove variable.
43333 * catgets/Makefile: Likewise.
43334 * mach/Makefile: Likewise.
43335 * malloc/Makefile: Likewise.
43336 * misc/Makefile: Likewise.
43337 * iconv/Makefile: Likewise.
43338 * nscd/Makefile: Likewise.
43339 * hurd/Makefile: Likewise.
43340 * manual/Makefile: Likewise.
43341 * locale/Makefile: Likewise.
43342 * intl/Makefile: Likewise.
43343 * conform/Makefile: Likewise.
43344 * nss/Makefile: Likewise.
43345 * time/Makefile: Likewise.
43346 * soft-fp/Makefile: Likewise.
43347 * dirent/Makefile: Likewise.
43348 * gmon/Makefile: Likewise.
43349 * po/Makefile: Likewise.
43350 * rt/Makefile: Likewise.
43351 * socket/Makefile: Likewise.
43352 * math/Makefile: Likewise.
43353 * signal/Makefile: Likewise.
43354 * debug/Makefile: Likewise.
43355 * elf/Makefile: Likewise.
43356 * timezone/Makefile: Likewise.
43357 * stdlib/Makefile: Likewise.
43358 * iconvdata/Makefile: Likewise.
43359 * sunrpc/Makefile: Likewise.
43360 * io/Makefile: Likewise.
43361 * argp/Makefile: Likewise.
43362 * inet/Makefile: Likewise.
43363 * hesiod/Makefile: Likewise.
43364 * grp/Makefile: Likewise.
43365 * csu/Makefile: Likewise.
43366 * wctype/Makefile: Likewise.
43367 * crypt/Makefile: Likewise.
43368 * libio/Makefile: Likewise.
43369 * string/Makefile: Likewise.
43370 * nis/Makefile: Likewise.
43371 * resolv/Makefile: Likewise.
43372 * stdio-common/Makefile: Likewise.
43373 * wcsmbs/Makefile: Likewise.
43374 * dlfcn/Makefile: Likewise.
43375 * posix/Makefile: Likewise.
43376
3b7c4e74 43377 [BZ #6959]
482ff4da
UD
43378 * timezone/Makefile: Don't install timezone files, just the programs
43379 and scripts.
43380
f72ed77d
UD
433812012-03-06 Ulrich Drepper <drepper@gmail.com>
43382
a000466f
UD
43383 * nss/databases.def: Add missing gshadow entry.
43384
f72ed77d
UD
43385 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
43386
a53b7a4e
MP
433872012-03-06 Marek Polacek <polacek@redhat.com>
43388
43389 [BZ #13726]
43390 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
43391 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43392 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
43393 * stdio-common/tst-long-dbl-fphex.c: New file.
43394
e9258400
DM
433952012-03-06 David S. Miller <davem@davemloft.net>
43396
43397 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43398 (set_obp_int): New function.
43399 (get_obp_int): New function.
43400 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
43401 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
43402 Avoid unused variable warnings on 'val' and use builtin_expect.
43403 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
43404 __builtin_expect.
e9258400
DM
43405 (INLINE_CLONE_SYSCALL): Likewise.
43406
3bd2c723
DM
434072012-03-05 David S. Miller <davem@davemloft.net>
43408
43409 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43410
bbb78d03
AS
434112012-03-05 Andreas Schwab <schwab@linux-m68k.org>
43412
884c5db4
AS
43413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43414
bbb78d03
AS
43415 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
43416 only for |x| >= 40.
43417 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43418
1c9f702a 434192012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
43420
43421 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
43422 Replace gettimeofday with __vdso_gettimeofday.
43423
7be16f82
RM
43424 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43425 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
43426 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
43427
43428 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
43429 time with __vdso_time.
43430
ed58a00f
JM
434312012-03-05 Joseph Myers <joseph@codesourcery.com>
43432
43433 * manual/lang.texi (size_t): Note types to which size_t may be
43434 equivalent with the GNU C Library, but do not describe when
43435 differences between them are significant.
43436
30ee4ced
AJ
434372012-03-05 Andreas Jaeger <aj@suse.de>
43438
43439 * sysdeps/i386/fpu/libm-test-ulps: Update.
43440
b7cd39e8
JM
434412012-03-05 Joseph Myers <joseph@codesourcery.com>
43442
43443 [BZ #3976]
43444 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
43445 (__ieee754_pow): Save and restore rounding mode and use
43446 round-to-nearest for main computations.
43447 * math/libm-test.inc (pow_test_tonearest): New function.
43448 (pow_test_towardzero): Likewise.
43449 (pow_test_downward): Likewise.
43450 (pow_test_upward): Likewise.
43451 (main): Call the new functions.
43452 * sysdeps/i386/fpu/libm-test-ulps: Update.
43453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
43454
43455 [BZ #3976]
43456 * math/libm-test.inc (cosh_test_tonearest): New function.
43457 (cosh_test_towardzero): Likewise.
43458 (cosh_test_downward): Likewise.
43459 (cosh_test_upward): Likewise.
43460 (sinh_test_tonearest): Likewise.
43461 (sinh_test_towardzero): Likewise.
43462 (sinh_test_downward): Likewise.
43463 (sinh_test_upward): Likewise.
43464 (main): Call the new functions.
43465 * sysdeps/i386/fpu/libm-test-ulps: Update.
43466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43467
6c6a98c9
TV
434682012-03-05 Tom de Vries <tom@codesourcery.com>
43469
43470 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
43471 default stack guard is set in last bytes.
43472 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
43473
21bb2d2e 434742012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 43475
21bb2d2e 43476 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 43477
21bb2d2e
AJ
43478 [BZ #13656]
43479 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
43480 possibly allocate from heap instead of stack.
43481 * stdio-common/bug-vfprintf-nargs.c: New file.
43482 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 43483
c6922934
AS
434842012-03-03 Andreas Schwab <schwab@linux-m68k.org>
43485
43486 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43487
bc957d53
MP
434882012-03-03 Marek Polacek <polacek@redhat.com>
43489
43490 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
43491 * math/math_private.h: Likewise.
43492 * stdlib/tst-strtod.c: Likewise.
43493 * sysdeps/i386/i486/bits/atomic.h: Likewise.
43494 * sysdeps/x86_64/bits/atomic.h: Likewise.
43495
6358490d
DM
434962012-03-02 David S. Miller <davem@davemloft.net>
43497
43498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
43499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
43500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
43501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
43502 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
43503 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
43504 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
43505 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
43506
01ae168d
RM
435072012-03-02 Roland McGrath <roland@hack.frob.com>
43508
d9a17c07
RM
43509 [BZ #13792]
43510 * manual/examples/README: New file, says the example source files
43511 can be used under GPL>=2.
43512 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
43513 line containing just "*/".
43514 * manual/examples/add.c: Add copyright header (GPL>=2).
43515 * manual/examples/argp-ex1.c: Likewise.
43516 * manual/examples/argp-ex2.c: Likewise.
43517 * manual/examples/argp-ex3.c: Likewise.
43518 * manual/examples/argp-ex4.c: Likewise.
43519 * manual/examples/atexit.c: Likewise.
43520 * manual/examples/db.c: Likewise.
43521 * manual/examples/dir.c: Likewise.
43522 * manual/examples/dir2.c: Likewise.
43523 * manual/examples/execinfo.c: Likewise.
43524 * manual/examples/filecli.c: Likewise.
43525 * manual/examples/filesrv.c: Likewise.
43526 * manual/examples/fmtmsgexpl.c: Likewise.
43527 * manual/examples/genpass.c: Likewise.
43528 * manual/examples/inetcli.c: Likewise.
43529 * manual/examples/inetsrv.c: Likewise.
43530 * manual/examples/isockad.c: Likewise.
43531 * manual/examples/longopt.c: Likewise.
43532 * manual/examples/memopen.c: Likewise.
43533 * manual/examples/memstrm.c: Likewise.
43534 * manual/examples/mkfsock.c: Likewise.
43535 * manual/examples/mkisock.c: Likewise.
43536 * manual/examples/mygetpass.c: Likewise.
43537 * manual/examples/pipe.c: Likewise.
43538 * manual/examples/popen.c: Likewise.
43539 * manual/examples/rprintf.c: Likewise.
43540 * manual/examples/search.c: Likewise.
43541 * manual/examples/select.c: Likewise.
43542 * manual/examples/setjmp.c: Likewise.
43543 * manual/examples/sigh1.c: Likewise.
43544 * manual/examples/sigusr.c: Likewise.
43545 * manual/examples/stpcpy.c: Likewise.
43546 * manual/examples/strdupa.c: Likewise.
43547 * manual/examples/strftim.c: Likewise.
43548 * manual/examples/strncat.c: Likewise.
43549 * manual/examples/subopt.c: Likewise.
43550 * manual/examples/swapcontext.c: Likewise.
43551 * manual/examples/termios.c: Likewise.
43552 * manual/examples/testopt.c: Likewise.
43553 * manual/examples/testpass.c: Likewise.
43554 * manual/examples/timeval_subtract.c: Likewise.
43555
01ae168d
RM
43556 [BZ #13792]
43557 * manual/time.texi (Elapsed Time): Move timeval_subtract example
43558 function to ...
43559 * manual/timeval_subtract.c.texi: ... here, new file.
43560
49efa33d
DM
435612012-03-02 David S. Miller <davem@davemloft.net>
43562
43563 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
43564
28afd92d
JM
435652012-03-02 Joseph Myers <joseph@codesourcery.com>
43566
804360ed
JM
43567 [BZ #3976]
43568 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
43569 (__sin): Save and restore rounding mode and use round-to-nearest
43570 for all computations.
43571 (__cos): Save and restore rounding mode and use round-to-nearest
43572 for all computations.
43573 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
43574 <fenv.h>.
43575 (tan): Save and restore rounding mode and use round-to-nearest for
43576 all computations.
43577 * math/libm-test.inc (cos_test_tonearest): New function.
43578 (cos_test_towardzero): Likewise.
43579 (cos_test_downward): Likewise.
43580 (cos_test_upward): Likewise.
43581 (sin_test_tonearest): Likewise.
43582 (sin_test_towardzero): Likewise.
43583 (sin_test_downward): Likewise.
43584 (sin_test_upward): Likewise.
43585 (tan_test_tonearest): Likewise.
43586 (tan_test_towardzero): Likewise.
43587 (tan_test_downward): Likewise.
43588 (tan_test_upward): Likewise.
43589 (main): Call the new functions.
43590 * sysdeps/i386/fpu/libm-test-ulps: Update.
43591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43592
a6d06d7b
JM
43593 [BZ #10135]
43594 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
43595 small n, then large n, before computing and testing k+n.
43596 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43597 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
43598 Likewise.
43599 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
43600 Likewise.
43601 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
43602 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
43603 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
43604 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
43605 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43606 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43607 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
43608 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
43609 * math/libm-test.inc (scalbn_test): Add more tests.
43610 (scalbln_test): Likewise.
43611
07e12bb3
JM
43612 * manual/filesys.texi (mode_t): Describe constraints on size and
43613 signedness, not exact equivalence to a particular type.
43614 (ino_t): Likewise.
43615 (ino64_t): Likewise.
43616 (dev_t): Likewise.
43617 (nlink_t): Likewise.
43618 (blkcnt_t): Likewise.
43619 (blkcnt64_t): Likewise.
43620 * manual/llio.texi (off_t): Likewise.
43621
28afd92d
JM
43622 [BZ #3976]
43623 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
43624 (__ieee754_exp): Save and restore rounding mode and use
43625 round-to-nearest for all computations.
43626 * math/libm-test.inc (exp_test_tonearest): New function.
43627 (exp_test_towardzero): Likewise.
43628 (exp_test_downward): Likewise.
43629 (exp_test_upward): Likewise.
43630 (main): Call the new functions.
43631 * sysdeps/i386/fpu/libm-test-ulps: Update.
43632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43633
b1eeb65d
CD
436342012-03-01 Chris Demetriou <cgd@google.com>
43635
43636 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
43637 have predictable order.
43638
53362a4b
DM
436392012-03-01 David S. Miller <davem@davemloft.net>
43640
3c969083
DM
43641 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
43642
759707de
DM
43643 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
43644 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
43645 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
43646 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
43647
dfdb8ff2
DM
43648 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
43649 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
43650 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
43651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
43652 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
43653 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
43654 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
43655 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
43656 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
43657
ead89f96
DM
43658 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43659
7f66bd07
DM
43660 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
43661 * sysdeps/sparc/fpu/libm-test-ulps: to here.
43662 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
43663
53362a4b
DM
43664 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
43665 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43666 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43667 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
43668 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
43669 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
43670 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
43671 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43672 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43673 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
43674 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
43675 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43676 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43677 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43678 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43679 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43680 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
43681 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
43682 * sysdeps/sparc/elf/configure: Regenerated.
43683
7b1902cb
JM
436842012-03-01 Joseph Myers <joseph@codesourcery.com>
43685
bec039bc
JM
43686 * configure.in (AS, LD): Require binutils 2.20 or later.
43687 * configure: Regenerated.
43688 * manual/install.texi (Tools for Compilation): Give binutils 2.20
43689 as required minimum version.
43690 * INSTALL: Regenerated.
43691
7b1902cb
JM
43692 [BZ #2541]
43693 [BZ #4108]
43694 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
43695 before squaring exponent.
43696 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
43697 bottom long double and 27 bits of top long double before squaring
43698 exponent.
43699 * math/libm-test.inc (erfc_test): Add more tests.
43700 * sysdeps/i386/fpu/libm-test-ulps: Update.
43701 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43703
f775c276
KT
437042012-03-01 Kai Tietz <ktietz@redhat.com>
43705
43706 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
43707 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
43708 containing bit-fields.
43709 * soft-fp/extended.h (_FP_UNION_E): Likewise.
43710 * soft-fp/single.h (_FP_UNION_S): Likewise.
43711 * soft-fp/double.h (_FP_UNION_D): Likewise.
43712
5b8a4d4a
JM
437132012-02-29 Joseph Myers <joseph@codesourcery.com>
43714
0bab47b6
JM
43715 [BZ #13786]
43716 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43717 not include ../strcmp.S.
43718 [USE_AS_STRNCASECMP_L]: Likewise.
43719 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43720 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43721 * sysdeps/i386/i686/multiarch/strncase_l-c.c
43722 (__strncasecmp_l_ia32): Define as alias to
43723 __strncasecmp_l_nonascii.
43724
0fcad3e2
JM
43725 [BZ #5794]
43726 * math/libm-test.inc (expm1_test): Add test for bug 5794.
43727 * sysdeps/i386/fpu/libm-test-ulps: Update.
43728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43729
5b8a4d4a
JM
43730 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43732
8fdceb2e
JL
437332012-02-29 Jeff Law <law@redhat.com>
43734
43735 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43736 out of bounds read.
43737
1f393a11
MP
437382012-02-29 Marek Polacek <polacek@redhat.com>
43739
43740 [BZ #13706]
43741 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43742 * elf/Makefile: Add rules to run tst-unused-dep.out.
43743
8847f037
DM
437442012-02-28 David S. Miller <davem@davemloft.net>
43745
43746 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43747 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43748 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43749 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43750 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43751 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43752
169d7f11
JM
437532012-02-29 Joseph Myers <joseph@codesourcery.com>
43754
43755 * math/libm-test.inc (llround_test): Move one test from
43756 lround_test. Use TEST_f_L in moved test.
43757 (lround_test): Move misplaced test to llround_test. Add testcase
43758 from bug 2561.
43759
39adf059
UD
437602012-02-28 Ulrich Drepper <drepper@gmail.com>
43761
43762 * sysdeps/x86_64/fpu/e_expf.S: New file.
43763 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43764
71b5d1c5
SB
437652012-02-28 Stanislav Brabec <sbrabec@suse.cz>
43766
43767 [BZ #13637]
43768 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43769 of remain_len that may cause incomplete multi-byte character and
43770 false match.
43771 * posix/bug-regex33.c: New file.
43772 * posix/Makefile (tests): Add bug-regex33.
43773
1f77f049
JM
437742012-02-28 Joseph Myers <joseph@codesourcery.com>
43775
43776 * manual/macros.texi: New file.
43777 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43778 * manual/libc.texinfo: Include macros.texi.
43779 * manual/creatute.texi: Likewise.
43780 * manual/install.texi: Likewise.
43781 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43782 @glibcadj{} in references to the GNU C Library.
43783 * manual/charset.texi: Likewise.
43784 * manual/conf.texi: Likewise.
43785 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
43786 when not using those macros.
43787 * manual/creature.texi: Likewise.
43788 * manual/crypt.texi: Likewise.
43789 * manual/errno.texi: Likewise.
43790 * manual/filesys.texi: Likewise.
43791 * manual/header.texi: Likewise.
43792 * manual/install.texi: Likewise.
43793 * manual/intro.texi: Likewise.
43794 * manual/io.texi: Likewise.
43795 * manual/job.texi: Likewise.
43796 * manual/lang.texi: Likewise.
43797 * manual/libc.texiinfo: Likewise.
43798 * manual/llio.texi: Likewise.
43799 * manual/locale.texi: Likewise.
43800 * manual/maint.texi: Likewise.
43801 * manual/math.texi: Likewise.
43802 * manual/memory.texi: Likewise.
43803 * manual/message.texi: Likewise.
43804 * manual/nss.texi: Likewise.
43805 * manual/pattern.texi: Likewise.
43806 * manual/process.texi: Likewise.
43807 * manual/resource.texi: Likewise.
43808 * manual/search.texi: Likewise.
43809 * manual/setjmp.texi: Likewise.
43810 * manual/signal.texi: Likewise.
43811 * manual/socket.texi: Likewise.
43812 * manual/startup.texi: Likewise.
43813 * manual/stdio.texi: Likewise.
43814 * manual/string.texi: Likewise.
43815 * manual/sysinfo.texi: Likewise.
43816 * manual/syslog.texi: Likewise.
43817 * manual/terminal.texi: Likewise.
43818 * manual/time.texi: Likewise.
43819 * manual/users.texi: Likewise.
43820 * INSTALL: Regenerated.
43821 * NOTES: Regenerated.
d40c5d54 43822 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 43823
450bf206
AS
438242012-02-28 Andreas Schwab <schwab@linux-m68k.org>
43825
43826 * include/dirent.h: Include <dirstream.h> before
43827 <dirent/dirent.h>.
43828
741a235b
DM
438292012-02-28 David S. Miller <davem@davemloft.net>
43830
43831 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
43832 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
43833 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
43834 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
43835
d6b5aa58
DM
438362012-02-27 David S. Miller <davem@davemloft.net>
43837
1aff59a3
DM
43838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
43839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
43840 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
43841 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
43842
d6b5aa58
DM
43843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
43844 frame pointer instead of stack pointer relative arg slot.
43845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43846 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43847 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43848
433f48bf
CD
438492012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
43850
43851 [BZ #3992]
43852 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
43853
d674b76d
DM
438542012-02-27 David S. Miller <davem@davemloft.net>
43855
43856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
43857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
43860 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43861 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43862 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
43863 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
43864
0e7727f7
JM
438652012-02-27 Joseph Myers <joseph@codesourcery.com>
43866
43867 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
43868 later. Allow versions 5-9.
43be4ca2 43869 * configure: Regenerated.
0e7727f7
JM
43870 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
43871 required minimum version and 4.6 as recommended version. Do not
43872 mention bugs in GCC 2.7 and 2.8.
43be4ca2 43873 * INSTALL: Regenerated.
0e7727f7 43874
a78bc654
DM
438752012-02-27 David S. Miller <davem@davemloft.net>
43876
428d5830
DM
43877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
43878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
43879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
43880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
43881 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
43882 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
43883 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
43884 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
43885
a78bc654
DM
43886 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
43887 manipulate bits before adding and subtracting TWO112[sx].
43888 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43889
4579f81c
RM
438902012-02-27 Roland McGrath <roland@hack.frob.com>
43891
36c8acb4
RM
43892 [BZ #13775]
43893 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
43894 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
43895 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
43896 being in POSIX, because they are in 1003.1-2008.
43897
84ad622b
RM
43898 * rt/tst-aio.c: Include <fcntl.h>.
43899 * rt/tst-aio7.c: Likewise.
43900 * rt/tst-aio64.c: Likewise.
43901
4579f81c
RM
43902 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
43903
abd923db
JM
439042012-02-27 Joseph Myers <joseph@codesourcery.com>
43905
43906 * manual/install.texi (--with-headers): Describe headers as
43907 interface headers, not private headers.
43908 (Specific advice for GNU/Linux systems): Describe use of headers
43909 from "make headers_install", not private headers from older
43910 kernels.
43be4ca2 43911 * INSTALL: Regenerated.
abd923db
JM
43912 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
43913 Change to 2.6.19.
43914 * sysdeps/unix/sysv/linux/configure: Regenerated.
43915
6664049b
JM
43916 * manual/llio.texi (fclean): Remove documentation.
43917
bb8b6697
JM
43918 * manual/Makefile (libc-texi-generated): New variable. Include
43919 version.texi.
43920 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
43921 $(libc-texi-generated), not duplicated list of files.
43922 (version.texi, stamp-version): New rules.
43923 (realclean): Remove $(libc-texi-generated), not individual files
43924 from that list. Do not remove dir-add.texinfo.
43925 * manual/libc.texinfo: Comment out uses of edition numbers and
43926 references to printed manual. Remove last-updated dates.
43927 (EDITION): Comment out.
43928 (ISBN): Likewise.
43929 (VERSION, UPDATED): Remove.
43930 (version.texi): Include.
43931
12e5c3b9
AS
439322012-02-27 Andreas Schwab <schwab@linux-m68k.org>
43933
43934 * sysdeps/posix/spawni.c: Include <signal.h>.
43935 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
43936 * sysdeps/pthread/aio_fsync.c: Likewise.
43937
4efeffc1 439382012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 43939
ba63ba08
UD
43940 * conform/Makefile (tests): Run only when not cross-compiling and
43941 when fast-check is not defined.
43942
d94a4670
UD
43943 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
43944 * conform/data/limits.h-data: Fixes for POSIX2008.
43945 * conform/run-conformtest.sh: Run all tests.
43946 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
43947 headers.
43948 * include/bits/dlfcn.h: Likewise.
43949 * include/langinfo.h: Likewise.
43950 * include/monetary.h: Likewise.
43951 * include/sys/poll.h: Likewise.
43952
43953 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
43954 for __USE_GNU.
43955 * posix/spawn.h: Define __need_sigset_t.
43956 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
43957 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
43958 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
43959 to get sigevent_t only.
43960 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
43961 only for __USE_GNU.
43962 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43963 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43964 process_vm_writev only for __USE_GNU.
43965 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
43966
43967 * conform/Makefile: For now ignore errors from run-conformtest.
43968 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
43969 POSIX to avoid namespace pollution. Don't prepend headers.
43970 * conform/data/aio.h-data: Fixes for POSIX testing.
43971 * conform/data/fcntl.h-data: Likewise.
43972 * conform/data/glob.h-data: Likewise.
43973 * conform/data/grp.h-data: Likewise.
43974 * conform/data/pthread.h-data: Likewise.
43975 * conform/data/pwd.h-data: Likewise.
43976 * conform/data/signal.h-data: Likewise.
43977 * conform/data/spawn.h-data: Likewise.
43978 * conform/data/stdio.h-data: Likewise.
43979 * conform/data/stdlib.h-data: Likewise.
43980 * conform/data/stropts.h-data: Likewise.
43981 * conform/data/sys/mman.h-data: Likewise.
43982 * conform/data/sys/stat.h-data: Likewise.
43983 * conform/data/sys/types.h-data: Likewise.
43984 * conform/data/sys/wait.h-data: Likewise.
43985 * conform/data/time.h-data: Likewise.
43986 * conform/data/unistd.h-data: Likewise.
43987 * conform/data/utime.h-data: Likewise.
43988
43989 * io/sys/stat.h: fchmod was always in POSIX.
43990 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
43991 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
43992 * rt/aio.h: Define __need_timespec before including <time.h>.
43993 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
43994 struct. Add forward declaration of pthread_attr_t and use it in
43995 sigevent.
43996 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43997 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43998 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
43999 always remove CLK_TCK definition.
44000
c20105c3
AS
440012012-02-26 Andreas Schwab <schwab@linux-m68k.org>
44002
44003 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
44004
7a270350
UD
440052012-02-25 Ulrich Drepper <drepper@gmail.com>
44006
31341567
UD
44007 * conform/run-conformtest.sh: New file.
44008 * conform/Makefile: Run run-conformtest for tests.
44009 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
44010 support.
44011
44012 * conform/data/uchar.h-data: New file.
44013 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
44014 * conform/data/arpa/inet.h-data: Likewise.
44015 * conform/data/assert.h-data: Likewise.
44016 * conform/data/complex.h-data: Likewise.
44017 * conform/data/cpio.h-data: Likewise.
44018 * conform/data/ctype.h-data: Likewise.
44019 * conform/data/dirent.h-data: Likewise.
44020 * conform/data/dlfcn.h-data: Likewise.
44021 * conform/data/errno.h-data: Likewise.
44022 * conform/data/fcntl.h-data: Likewise.
44023 * conform/data/float.h-data: Likewise.
44024 * conform/data/fmtmsg.h-data: Likewise.
44025 * conform/data/fnmatch.h-data: Likewise.
44026 * conform/data/ftw.h-data: Likewise.
44027 * conform/data/glob.h-data: Likewise.
44028 * conform/data/grp.h-data: Likewise.
44029 * conform/data/iconv.h-data: Likewise.
44030 * conform/data/inttypes.h-data: Likewise.
44031 * conform/data/langinfo.h-data: Likewise.
44032 * conform/data/libgen.h-data: Likewise.
44033 * conform/data/limits.h-data: Likewise.
44034 * conform/data/locale.h-data: Likewise.
44035 * conform/data/math.h-data: Likewise.
44036 * conform/data/monetary.h-data: Likewise.
44037 * conform/data/mqueue.h-data: Likewise.
44038 * conform/data/ndbm.h-data: Likewise.
44039 * conform/data/net/if.h-data: Likewise.
44040 * conform/data/netdb.h-data: Likewise.
44041 * conform/data/netinet/in.h-data: Likewise.
44042 * conform/data/nl_types.h-data: Likewise.
44043 * conform/data/poll.h-data: Likewise.
44044 * conform/data/pthread.h-data: Likewise.
44045 * conform/data/pwd.h-data: Likewise.
44046 * conform/data/regex.h-data: Likewise.
44047 * conform/data/sched.h-data: Likewise.
44048 * conform/data/search.h-data: Likewise.
44049 * conform/data/semaphore.h-data: Likewise.
44050 * conform/data/setjmp.h-data: Likewise.
44051 * conform/data/signal.h-data: Likewise.
44052 * conform/data/spawn.h-data: Likewise.
44053 * conform/data/stdarg.h-data: Likewise.
44054 * conform/data/stdio.h-data: Likewise.
44055 * conform/data/stdlib.h-data: Likewise.
44056 * conform/data/string.h-data: Likewise.
44057 * conform/data/strings.h-data: Likewise.
44058 * conform/data/stropts.h-data: Likewise.
44059 * conform/data/sys/ipc.h-data: Likewise.
44060 * conform/data/sys/mman.h-data: Likewise.
44061 * conform/data/sys/msg.h-data: Likewise.
44062 * conform/data/sys/resource.h-data: Likewise.
44063 * conform/data/sys/select.h-data: Likewise.
44064 * conform/data/sys/sem.h-data: Likewise.
44065 * conform/data/sys/shm.h-data: Likewise.
44066 * conform/data/sys/socket.h-data: Likewise.
44067 * conform/data/sys/stat.h-data: Likewise.
44068 * conform/data/sys/statvfs.h-data: Likewise.
44069 * conform/data/sys/time.h-data: Likewise.
44070 * conform/data/sys/timeb.h-data: Likewise.
44071 * conform/data/sys/times.h-data: Likewise.
44072 * conform/data/sys/types.h-data: Likewise.
44073 * conform/data/sys/uio.h-data: Likewise.
44074 * conform/data/sys/un.h-data: Likewise.
44075 * conform/data/sys/utsname.h-data: Likewise.
44076 * conform/data/sys/wait.h-data: Likewise.
44077 * conform/data/syslog.h-data: Likewise.
44078 * conform/data/tar.h-data: Likewise.
44079 * conform/data/termios.h-data: Likewise.
44080 * conform/data/utime.h-data: Likewise.
44081 * conform/data/utmpx.h-data: Likewise.
44082 * conform/data/varargs.h-data: Likewise.
44083 * conform/data/wchar.h-data: Likewise.
44084 * conform/data/wctype.h-data: Likewise.
44085 * conform/data/wordexp.h-data: Likewise.
44086
44087 * include/stropts.h: New file.
44088 * include/uchar.h: New file.
44089 * include/aio.h: Changes to allow conformtest.pl to use the headers.
44090 * include/assert.h: Likewise.
44091 * include/ctype.h: Likewise.
44092 * include/dirent.h: Likewise.
44093 * include/dlfcn.h: Likewise.
44094 * include/fcntl.h: Likewise.
44095 * include/fnmatch.h: Likewise.
44096 * include/glob.h: Likewise.
44097 * include/grp.h: Likewise.
44098 * include/libio.h: Likewise.
44099 * include/locale.h: Likewise.
44100 * include/math.h: Likewise.
44101 * include/net/if.h: Likewise.
44102 * include/netdb.h: Likewise.
44103 * include/netinet/in.h: Likewise.
44104 * include/pthread.h: Likewise.
44105 * include/pwd.h: Likewise.
44106 * include/regex.h: Likewise.
44107 * include/sched.h: Likewise.
44108 * include/search.h: Likewise.
44109 * include/setjmp.h: Likewise.
44110 * include/signal.h: Likewise.
44111 * include/stdio.h: Likewise.
44112 * include/stdlib.h: Likewise.
44113 * include/string.h: Likewise.
44114 * include/sys/cdefs.h: Likewise.
44115 * include/sys/mman.h: Likewise.
44116 * include/sys/msg.h: Likewise.
44117 * include/sys/resource.h: Likewise.
44118 * include/sys/select.h: Likewise.
44119 * include/sys/socket.h: Likewise.
44120 * include/sys/stat.h: Likewise.
44121 * include/sys/statvfs.h: Likewise.
44122 * include/sys/time.h: Likewise.
44123 * include/sys/times.h: Likewise.
44124 * include/sys/uio.h: Likewise.
44125 * include/sys/utsname.h: Likewise.
44126 * include/sys/wait.h: Likewise.
44127 * include/termios.h: Likewise.
44128 * include/time.h: Likewise.
44129 * include/ulimit.h: Likewise.
44130 * include/unistd.h: Likewise.
44131 * include/utime.h: Likewise.
44132 * include/wchar.h: Likewise.
44133 * include/wctype.h: Likewise.
44134 * include/wordexp.h: Likewise.
44135
44136 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
44137
7a270350
UD
44138 * time/time.h: TIME_UTC must be a macro.
44139 Make timespec_get available for ISO C11 only as well.
44140
7724defc
UD
441412012-02-24 Ulrich Drepper <drepper@gmail.com>
44142
44143 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
44144 Reported by Peng Haitao <penght@cn.fujitsu.com>.
44145
6b1d1d46
JM
441462012-02-24 Joseph Myers <joseph@codesourcery.com>
44147
44148 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 44149
0f8bbd69
JM
441502012-02-24 Joseph Myers <joseph@codesourcery.com>
44151
44152 * manual/texinfo.tex: Update to version 2012-01-19.16.
44153
66ab80bc
JM
441542012-02-24 Joseph Myers <joseph@codesourcery.com>
44155
44156 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
44157
74981cc5
RM
441582012-02-24 Roland McGrath <roland@hack.frob.com>
44159
ee968201
RM
44160 [BZ #13738]
44161 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
44162 * manual/fdl-1.3.texi: New file.
44163 * manual/fdl-1.1.texi: File removed.
44164
74981cc5
RM
44165 [BZ #13738]
44166 * manual/libc.texinfo (FDL_VERSION): New @set.
44167 Use it for mention of FDL in cover text.
44168 (Documentation License): Use it in @include file name.
44169
7bb764bc
JM
441702012-02-22 Joseph Myers <joseph@codesourcery.com>
44171 Roland McGrath <roland@hack.frob.com>
44172
44173 [BZ #5461]
57f41c40
AS
44174 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
44175 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
44176 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
44177 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
44178 name.
44179 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
44180
6cbeae47
JM
441812012-02-22 Joseph Myers <joseph@codesourcery.com>
44182
44183 [BZ #2547]
44184 [BZ #11365]
44185 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
44186 manipulate bits before adding and subtracting TWO23[sx].
44187 * math/libm-test.inc (nearbyint_test): Add more tests.
44188
fe45ce09
JM
441892012-02-22 Joseph Myers <joseph@codesourcery.com>
44190
44191 [BZ #2548]
44192 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
44193 bits before adding and subtracting TWO23[sx].
44194 * math/libm-test.inc (rint_test): Add more tests.
44195 (rint_test_tonearest): Likewise.
44196 (rint_test_towardzero): Likewise.
44197 (rint_test_downward): Likewise.
44198 (rint_test_upward: Likewise.
44199
ff3b3d82
JM
442002012-02-22 Joseph Myers <joseph@codesourcery.com>
44201
44202 [BZ #10110]
44203 * include/stdc-predef.h: New file. Extracted from features.h.
44204 * include/features.h: Include stdc-predef.h.
44205 * Makefile (headers): Add stdc-predef.h.
44206 * CONFORMANCE (Compiler limitations): Update.
44207
ef0aab35
JM
442082012-02-22 Joseph Myers <joseph@codesourcery.com>
44209
44210 * manual/libc.texinfo (VERSION, UPDATED): Revert.
44211
58639409
DM
442122012-02-21 David S. Miller <davem@davemloft.net>
44213
44214 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
44215 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44216
c0e70b25
DM
442172012-02-20 David S. Miller <davem@davemloft.net>
44218
44219 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
44220 using a normal save/restore sequence, rather than allocating a
44221 dummy stack frame just to store a frame pointer and restore.
44222 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44223
fb06851d
JM
442242012-02-21 Joseph Myers <joseph@codesourcery.com>
44225
44226 * manual/install.texi: Fix stray word in line-wrapped comment.
44227
7a8b71c3
DM
442282012-02-20 David S. Miller <davem@davemloft.net>
44229
d510c123
DM
44230 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
44231 both binutils and gcc support GOTDATA.
44232
0722d7c2
DM
44233 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
44234 "rd %pc" in the PIC register setup sequences.
44235
3d2b3019
DM
44236 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
44237 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44238 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44239 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44240 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44241 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44242 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44243 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44244 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
44245 (SYSCALL_ERROR_HANDLER): Likewise.
44246 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44247 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44248 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
44249 (SYSCALL_ERROR_HANDLER): Likewise.
44250
c80098a9
DM
44251 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
44252 (HAVE_GCC_GOTDATA): New.
44253 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
44254 relocation support in both binutils and gcc.
44255 * sysdeps/sparc/elf/configure: Regenerate.
44256
3a2545a0
DM
44257 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
44258 * sysdeps/sparc/sparc32/elf/configure: Delete.
44259 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
44260 * sysdeps/sparc/sparc64/elf/configure: Delete.
44261 * sysdeps/sparc/elf/configure.in: New file.
44262 * sysdeps/sparc/elf/configure: Generate.
44263
7a8b71c3
DM
44264 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
44265 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
44266 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44267 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
44268 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
44269
f1e86fca
JM
442702012-02-21 Joseph Myers <joseph@codesourcery.com>
44271
44272 * manual/install.texi: Do not mention specific glibc version
44273 numbers.
44274 * manual/libc.texinfo (VERSION, UPDATED): Update.
44275 (@copying): Use @copyright{} and range of years.
44276
0e7dfaef
JM
442772012-02-21 Joseph Myers <joseph@codesourcery.com>
44278
44279 [BZ #13695]
44280 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
44281 [crti.S not in sysdirs] (generated): Do not append.
44282 [crti.S not in sysdirs] (omit-deps): Likewise.
44283 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
44284 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
44285 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
44286 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
44287 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
44288 Likewise.
44289 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
44290 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
44291 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
44292 * csu/defs.awk: Remove file.
44293 * sysdeps/generic/initfini.c: Likewise.
44294 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
44295 variable.
44296 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
44297 Likewise.
44298
599af3ca
JM
442992012-02-20 Joseph Myers <joseph@codesourcery.com>
44300
44301 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
44302 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
44303 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
44304 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
44305 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44306 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
44307 <bits/epoll.h>.
44308 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
44309 (__EPOLL_PACKED): Define to empty if not defined by
44310 <bits/epoll.h>.
44311 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
44312 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44313 bits/epoll.h.
44314
0e499750
JM
443152012-02-20 Joseph Myers <joseph@codesourcery.com>
44316
44317 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
44318 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
44319 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
44320 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
44321 <bits/timerfd.h>.
44322 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
44323 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44324 bits/timerfd.h.
44325
5ad91f6e
JM
443262012-02-20 Joseph Myers <joseph@codesourcery.com>
44327
44328 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
44329 in C locale.
44330 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44331 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44332 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
44333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44334
06b99b02
AJ
443352012-02-20 Aurelien Jarno <aurelien@aurel32.net>
44336
44337 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44338 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44339
7638c0fd
AS
443402012-02-19 Andreas Schwab <schwab@linux-m68k.org>
44341
44342 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
44343 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
44344 defined.
44345 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
44346 Likewise.
44347 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
44348 entry for 2.16.
44349
92221550
AJ
443502012-02-19 Aurelien Jarno <aurelien@aurel32.net>
44351
44352 * math/w_acos.c: Use non-signaling floating-point comparisons.
44353 * math/w_acosf.c: Likewise.
44354 * math/w_acosh.c: Likewise.
44355 * math/w_acoshf.c: Likewise.
44356 * math/w_acoshl.c: Likewise.
44357 * math/w_acosl.c: Likewise.
44358 * math/w_asin.c: Likewise.
44359 * math/w_asinf.c: Likewise.
44360 * math/w_asinl.c: Likewise.
44361 * math/w_atanh.c: Likewise.
44362 * math/w_atanhf.c: Likewise.
44363 * math/w_atanhl.c: Likewise.
44364 * math/w_exp2.c: Likewise.
44365 * math/w_exp2f.c: Likewise.
44366 * math/w_exp2l.c: Likewise.
44367 * math/w_j0.c: Likewise.
44368 * math/w_j0f.c: Likewise.
44369 * math/w_j0l.c: Likewise.
44370 * math/w_j1.c: Likewise.
44371 * math/w_j1f.c: Likewise.
44372 * math/w_j1l.c: Likewise.
44373 * math/w_jn.c: Likewise.
44374 * math/w_jnf.c: Likewise.
44375 * math/w_log.c: Likewise.
44376 * math/w_log10.c: Likewise.
44377 * math/w_log10f.c: Likewise.
44378 * math/w_log10l.c: Likewise.
44379 * math/w_log2.c: Likewise.
44380 * math/w_log2f.c: Likewise.
44381 * math/w_log2l.c: Likewise.
44382 * math/w_logf.c: Likewise.
44383 * math/w_logl.c: Likewise.
44384 * math/w_sqrt.c: Likewise.
44385 * math/w_sqrtf.c: Likewise.
44386 * math/w_sqrtl.c: Likewise.
44387 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44388 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
44389 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44390 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44391 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44392
ebaf36eb
JM
443932012-02-19 Joseph Myers <joseph@codesourcery.com>
44394
44395 [BZ #9739]
44396 * manual/string.texi (strnlen): Use correct parameter name in
44397 equivalent expression.
44398
71c254a6
JM
443992012-02-19 Joseph Myers <joseph@codesourcery.com>
44400
44401 [BZ #11174]
44402 * manual/users.texi (seteuid): Consistently use neweuid for
44403 argument name.
44404
16d2c631
JM
444052012-02-19 Joseph Myers <joseph@codesourcery.com>
44406
44407 [BZ #13704]
44408 * manual/nss.texi (Services in the NSS configuration): Correct
44409 list of services in example configuration file.
44410
cd837b09
NB
444112012-02-19 Nick Bowler <nbowler@draconx.ca>
44412
44413 [BZ #11322]
44414 * manual/arith.texi: Remove statements about negative zero
44415 behaving identically to zero.
44416
02c4bbad
JM
444172012-02-18 Joseph Myers <joseph@codesourcery.com>
44418
44419 [BZ #5993]
44420 * manual/install.texi: Do not document upgrading from libc5.
44421
366842e7
JM
444222012-02-18 Joseph Myers <joseph@codesourcery.com>
44423
44424 [BZ #4596]
44425 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
44426
dd54084d
DM
444272012-02-18 David S. Miller <davem@davemloft.net>
44428
44429 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
44430 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
44431 %o7 across the call.
44432 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
44433 instead.
44434 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
44435 SETUP_PIC_REG_LEAF.
44436 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44437 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
44438 * sysdeps/sparc/crtn.S: Likewise.
44439
2bcc53a3
UD
444402012-02-17 Ulrich Drepper <drepper@gmail.com>
44441
44442 * aout/Makefile: Remove.
44443
09c093b5
RK
444442012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
44445
44446 [BZ #13058]
44447 * manual/examples/argp-ex1.c (main): Format definition in GNU
44448 style.
44449 * manual/examples/argp-ex2.c (main): Likewise.
44450 * manual/examples/argp-ex3.c (main): Likewise.
44451 * manual/examples/argp-ex4.c (main): Likewise.
44452 * manual/examples/longopt.c (main): Use new-style prototype
44453 definition.
44454 * manual/examples/strncat.c (main): Specify return type and use
44455 (void) for arguments.
44456 * manual/examples/subopt.c (main): Use char **argv argument.
44457
2ee633a2
JM
444582012-02-17 Joseph Myers <joseph@codesourcery.com>
44459
44460 [BZ #5077]
44461 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
44462 rounding modes.
44463
0520adde
FB
444642012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
44465
44466 [BZ #6907]
44467 * manual/string.texi (strchr): Change when strchrnul is
44468 recommended.
44469
3f4081cd
DGM
444702012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
44471
44472 [BZ #174]
44473 * manual/locale.texi (setlocale): Document LOCPATH.
44474
d1b10e78
JM
444752012-02-17 Joseph Myers <joseph@codesourcery.com>
44476
44477 [BZ #10210]
44478 * manual/process.texi (execle): Move @dots{} before last argument.
44479
79c6869c
PB
444802012-02-17 Paul Bolle <pebolle@tiscali.nl>
44481
44482 [BZ #12047]
44483 * manual/charset.texi (Generic Charset Conversion): Fix typo
44484 (LC_TYPE -> LC_CTYPE).
44485
cc6e48bc
NB
444862012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
44487
44488 [BZ #5805]
44489 * manual/arith.texi (scalbn): Use @var{} on parameter names.
44490 (scalbnf): Likewise.
44491 (scalbnl): Likewise.
44492 (scalbln): Likewise.
44493 (scalblnf): Likewise.
44494 (scalblnl): Likewise.
44495 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
44496 (vwarnx): Likewise.
44497 (verr): Likewise.
44498 (verrx): Likewise.
44499 * manual/filesys.texi (telldir): Use braces around return type.
44500 * manual/llio.texi (mmap): Add space after comma.
44501 (mmap64): Likewise.
44502 * manual/math.texi (jn): Use @var{} on parameter names.
44503 (jnf): Likewise.
44504 (jnl): Likewise.
44505 (yn): Likewise.
44506 (ynf): Likewise.
44507 (ynl): Likewise.
44508 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
44509 line.
44510 * manual/resource.texi (ulimit): Use @dots{} instead of literal
44511 "...".
44512 (sched_get_priority_min): Remove semicolon on @deftypefun line.
44513 (sched_get_priority_max): Likewise.
44514 * manual/signal.texi (sigvec): Add space after comma.
44515 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
44516 names.
44517 (if_indextoname): Likewise.
44518 (if_freenameindex): Likewise.
44519 (sendto): Use ',' instead of '.' in prototype.
44520 * manual/startup.texi (syscall): Use @dots{} instead of literal
44521 "...".
44522 * manual/stdio.texi (__fpending): Separate initial words of
44523 paragraph from @deftypefun line.
44524 * manual/syslog.texi (syslog): Use @dots{} instead of literal
44525 "...".
44526 (vsyslog): Use @var{} on parameter names.
44527 * manual/terminal.texi (stty): Use @var{} on parameter names.
44528 * manual/users.texi (getutmp): Use @var{} on parameter names.
44529 (getutmpx): Likewise.
44530
5b23062f
JM
445312012-02-17 Joseph Myers <joseph@codesourcery.com>
44532
44533 [BZ #6884]
44534 * manual/stdio.texi (fopen): Fix typos in description of
44535 ",ccs=STRING".
44536
8dee4833
AJ
445372012-02-17 Aurelien Jarno <aurelien@aurel32.net>
44538
44539 [BZ #4026]
44540 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
44541 get clock_id definition.
44542
9078ce93
TS
445432012-02-17 Thomas Schwinge <thomas@schwinge.name>
44544
44545 [BZ #4822]
44546 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
44547 (madvise): Cast every argument to void on its own.
44548
3835c55f
JM
445492012-02-17 Joseph Myers <joseph@codesourcery.com>
44550
44551 [BZ #9902]
44552 * manual/startup.texi (Exit Status): Fix typo.
44553
35c47e37
JM
445542012-02-17 Joseph Myers <joseph@codesourcery.com>
44555
44556 [BZ #10140]
44557 * manual/examples/argp-ex1.c: Include <stdlib.h>.
44558 * manual/examples/argp-ex2.c: Likewise.
44559 * manual/examples/argp-ex3.c: Likewise.
44560
e3b69ca7
RH
445612012-02-16 Richard Henderson <rth@redhat.com>
44562
44563 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
44564 * sysdeps/s390/s390-32/initfini.c: Remove.
44565 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
44566 * sysdeps/s390/s390-64/initfini.c: Remove.
44567
df83af67
KK
445682012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44569
44570 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
44571 compiler output for sysdeps/generic/initfini.c.
44572 * sysdeps/sh/elf/initfini.c: Remove file.
44573
f63f3380
DM
445742012-02-16 David S. Miller <davem@davemloft.net>
44575
fb59b3a4
DM
44576 [BZ #11494]
44577 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
44578
f63f3380
DM
44579 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
44580 * sysdeps/sparc/crti.S: New file.
44581 * sysdeps/sparc/crtn.S: New file.
44582 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
44583 * sysdeps/sparc/sparc64/Makefile: Likewise.
44584
df6a4a4a
MF
445852012-02-15 Mike Frysinger <vapier@gentoo.org>
44586
6dd8f3dc 44587 [BZ #3335]
df6a4a4a
MF
44588 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
44589
1cac7236
RM
445902012-02-15 Roland McGrath <roland@hack.frob.com>
44591
d2c736f8
RM
44592 [BZ #4822]
44593 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
44594
1cac7236
RM
44595 * mach/devstream.c (cookie_io_functions_t): Macro removed.
44596 (write, read, close): Likewise.
44597 Patch by Aurelien Jarno <aurelien@aurel32.net>.
44598
8e475601
JM
445992012-02-15 Joseph Myers <joseph@codesourcery.com>
44600
44601 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
44602 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
44603 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
44604 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
44605 <bits/signalfd.h>.
44606 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
44607 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44608 bits/signalfd.h.
44609
ed656b40
MP
446102012-02-14 Marek Polacek <polacek@redhat.com>
44611
44612 * sysdeps/x86_64/crti.S: New file.
44613 * sysdeps/x86_64/crtn.S: New file.
44614 * sysdeps/x86_64/elf/initfini.c: Remove file.
44615
2a979d3a
JM
446162012-02-13 Joseph Myers <joseph@codesourcery.com>
44617
44618 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
44619 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
44620 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
44621 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
44622 <bits/inotify.h>.
44623 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
44624 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44625 bits/inotify.h.
44626
2a418ac3
JM
446272012-02-13 Joseph Myers <joseph@codesourcery.com>
44628
44629 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
44630 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
44631 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
44632 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
44633 <bits/eventfd.h>.
44634 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
44635 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44636 bits/eventfd.h.
44637
fb779be7
TS
446382012-02-10 Thomas Schwinge <thomas@codesourcery.com>
44639
e19e83c5
RM
44640 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
44641 __feraiseexcept instead of feraiseexcept.
7c35ffed 44642
fb779be7
TS
44643 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
44644 nanosleep invocations.
44645 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
44646 strings, and add error checking for a nanosleep invocations.
44647
59ba27a6
PE
446482012-02-09 Paul Eggert <eggert@cs.ucla.edu>
44649
44650 Replace FSF snail mail address with URLs, as per GNU coding standards.
44651 Most of the snail mail addresses were wrong anyway, and omitting
44652 them makes the source code easier to maintain. Almost all of the
44653 changes are to license notices and to locale LC_IDENTIFICATION
44654 addresses, except for this one:
44655 * manual/libc.texinfo: In "Published by", give the FSF's URL,
44656 not its snail mail address.
44657
57b957eb
RH
446582012-02-09 Richard Henderson <rth@twiddle.net>
44659
af850b1c
RH
44660 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
44661 of kernel-features.h.
44662
57b957eb
RH
44663 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
44664
6b73181a
MP
446652012-02-08 Marek Polacek <polacek@redhat.com>
44666
44667 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
44668 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
44669 * sysdeps/gnu/_G_config.h: Likewise.
44670 * sysdeps/generic/_G_config.h: Likewise.
44671
26ecc33a
AS
446722012-02-08 Andreas Schwab <schwab@linux-m68k.org>
44673
6c6dbc63
AS
44674 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
44675 tests.
44676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44677
e216c012
AS
44678 * sysdeps/powerpc/powerpc32/crti.S: New file.
44679 * sysdeps/powerpc/powerpc32/crtn.S: New file.
44680 * sysdeps/powerpc/powerpc64/crti.S: New file.
44681 * sysdeps/powerpc/powerpc64/crtn.S: New file.
44682
26ecc33a
AS
44683 * Makeconfig (have-initfini): Don't set.
44684 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
44685 * configure.in (nopic_initfini): Don't substitute.
44686 * config.h.in (HAVE_INITFINI): Don't #undef.
44687 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
44688 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
44689
3add8e13
JM
446902012-02-08 Joseph Myers <joseph@codesourcery.com>
44691
44692 Support crti.S and crtn.S provided directly by architectures.
44693 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
44694 [crti.S in sysdirs] (omit-deps): Likewise.
44695 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
44696 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
44697 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
44698 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
44699 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
44700 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
44701 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
44702 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
44703 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
44704 compiler output for sysdeps/generic/initfini.c.
44705 * sysdeps/i386/elf/Makefile: Remove file.
44706 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
44707
a22f12b4
MP
447082012-02-07 Marek Polacek <polacek@redhat.com>
44709
44710 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44711 * sysdeps/gnu/_G_config.h: Likewise.
44712 * sysdeps/mach/hurd/_G_config.h: Likewise.
44713
148cf100
MP
447142012-02-07 Marek Polacek <polacek@redhat.com>
44715
44716 * math/Makefile (tests): Add tst-CMPLX2.
44717 * math/tst-CMPLX2.c: New file.
44718
cfdc0dd7
AS
447192012-02-07 Andreas Schwab <schwab@linux-m68k.org>
44720
84ba42c4
AS
44721 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44722
cfdc0dd7
AS
44723 * math/libm-test.inc (jn_test): Add missing L suffix.
44724
622c86f4
MP
447252012-02-06 Marek Polacek <polacek@redhat.com>
44726
44727 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44728 * sysdeps/i386/fpu/e_powf.S: Likewise.
44729 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44730 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44731 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44732 * sysdeps/i386/fpu/e_pow.S: Likewise.
44733 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44734 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44735 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44736 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44737 * sysdeps/i386/fpu/e_log2.S: Likewise.
44738 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44739 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44740 * sysdeps/i386/fpu/e_powl.S: Likewise.
44741 * sysdeps/i386/fpu/s_log1p.S: Likewise.
44742 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44743 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44744 * sysdeps/i386/fpu/e_logl.S: Likewise.
44745 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44746 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44747 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44748 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44749 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44750 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44751 * sysdeps/i386/fpu/e_log.S: Likewise.
44752 * sysdeps/i386/fpu/s_cexp.S: Likewise.
44753 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44754 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44755 * sysdeps/i386/fpu/e_logf.S: Likewise.
44756 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44757 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44758 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44759 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44760 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44761 * sysdeps/i386/fpu/e_log10.S: Likewise.
44762 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44763 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44764 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44765 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44766 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44767 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44768 * sysdeps/i386/asm-syntax.h: Likewise.
44769 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44770 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44771 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44772 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44773 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44774 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44775 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44776 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44777 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44778 * sysdeps/powerpc/sysdep.h: Likewise.
44779 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44780 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44781
d4a54ac6
JM
447822012-02-06 Joseph Myers <joseph@codesourcery.com>
44783
44784 [BZ #411]
44785 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44786
314054ea
JM
447872012-02-06 Joseph Myers <joseph@codesourcery.com>
44788
44789 * sysdeps/i386/sysdep.h: Include <features.h>.
44790 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44791 version.
44792
d8e0ca50
JM
447932012-02-05 Joseph Myers <joseph@codesourcery.com>
44794
44795 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44796 Define.
44797 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44798 LOAD_PIC_REG_STR.
44799
b1da7dd9
JM
448002012-02-03 Joseph Myers <joseph@codesourcery.com>
44801
44802 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44803 (SETUP_PIC_REG): Use GET_PC_THUNK.
44804 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
44805 macro.
44806
9a1d9254
JM
448072012-02-03 Joseph Myers <joseph@codesourcery.com>
44808
44809 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
44810 for non-PIC compilation.
44811 (SETUP_PIC_REG): Add .p2align directive.
44812 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
44813 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
44814 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44815 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44816 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44817 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44818 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
44819 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44820 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44821 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44822 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44823 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44824 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44825 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44826 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44827 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44828 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44829 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44830 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44831 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44832 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44833 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44834 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44835 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44836 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44837 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44838 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44839 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44840 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44841 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44842 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44843 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44844 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44845 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44846 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44847 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44848 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44849 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44850 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44851 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44852 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44853
65dc3b75
JM
448542012-02-03 Joseph Myers <joseph@codesourcery.com>
44855
44856 * math/tst-CMPLX.c: Include <stdio.h>.
44857
d55bf177
JM
448582012-01-31 Joseph Myers <joseph@codesourcery.com>
44859
44860 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
44861 float.
44862 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44863 * sysdeps/sparc/bits/mathdef.h: Likewise.
44864
69db4f8f
MP
448652012-01-31 Marek Polacek <polacek@redhat.com>
44866
44867 * libio/libio.h: Don't define _PARAMS.
44868 * locale/programs/config.h: Don't define PARAMS.
44869 * stdlib/strtol_l.c: Likewise.
44870 (__strtol_l): Remove PARAMS from the prototype.
44871
41b81892
UD
448722012-01-31 Ulrich Drepper <drepper@gmail.com>
44873
3b49edc0
UD
44874 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
44875 names. Just use the correct names. Remove unnecessary wrapper
44876 functions.
44877 * malloc/arena.c: Likewise.
44878 * malloc/hooks.c: Likewise.
44879
41b81892
UD
44880 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
44881 ARENA_TEST says not to. Simplify test for creation of a new arena.
44882 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
44883
27a25b6e
UD
448842012-01-30 Ulrich Drepper <drepper@gmail.com>
44885
44886 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
44887 into tail calls.
44888 (update_get_addr): New function.
44889 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
44890 GET_ADDR_MODULE parameter.
44891
c8a89e7d
JM
448922012-01-30 Joseph Myers <joseph@codesourcery.com>
44893
44894 * crypt/cert.c: Remove __STDC__ conditionals.
44895 * crypt/crypt-entry.c: Likewise.
44896 * crypt/crypt_util.c: Likewise.
44897 * libio/filedoalloc.c: Likewise.
44898 * libio/fileops.c: Likewise.
44899 * libio/genops.c: Likewise.
44900 * libio/iofclose.c: Likewise.
44901 * libio/iofdopen.c: Likewise.
44902 * libio/iofopen.c: Likewise.
44903 * libio/iofopen64.c: Likewise.
44904 * libio/iogetdelim.c: Likewise.
44905 * libio/iopopen.c: Likewise.
44906 * libio/obprintf.c: Likewise.
44907 * libio/oldfileops.c: Likewise.
44908 * libio/oldiofclose.c: Likewise.
44909 * libio/oldiofdopen.c: Likewise.
44910 * libio/oldiofopen.c: Likewise.
44911 * libio/oldiopopen.c: Likewise.
44912 * libio/wfiledoalloc.c: Likewise.
44913 * libio/wgenops.c: Likewise.
44914 * locale/programs/xmalloc.c: Likewise.
44915 * misc/syslog.c: Likewise.
44916 * stdio-common/xbug.c: Likewise.
44917 * string/memchr.c: Likewise.
44918 * string/memcmp.c: Likewise.
44919 * string/memrchr.c: Likewise.
44920 * string/rawmemchr.c: Likewise.
44921 * sysdeps/posix/getcwd.c: Likewise.
44922 * time/strftime_l.c: Likewise.
44923
3b100462
JM
449242012-01-30 Joseph Myers <joseph@codesourcery.com>
44925
44926 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
44927 * config.make.in (config-cflags-sse2avx): Define.
44928 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
44929 Fix typo.
44930
607998af
CM
449312012-01-29 Chris Metcalf <cmetcalf@tilera.com>
44932
44933 * scripts/config.guess: Update from upstream config git repository.
44934 * scripts/config.sub: Likewise.
44935
3601428f
CM
449362012-01-28 Chris Metcalf <cmetcalf@tilera.com>
44937
3ac8b282
CM
44938 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
44939 (EM_NUM): Update.
44940 (R_TILEPRO_*, R_TILEGX_*): New macros.
44941
e034841e
CM
44942 * scripts/firstversions.awk: Fix bug in version range handling.
44943
540d7568
CM
44944 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
44945
3601428f
CM
44946 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
44947
463de862
CM
44948 * include/sys/epoll.h: New file.
44949 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
44950 libc_hidden_def.
44951
73139a76
UD
449522012-01-28 Ulrich Drepper <drepper@gmail.com>
44953
96bc5b45
UD
44954 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
44955 Avoid unnecessary __WORDSIZE == 64 test.
44956 (fmaxf): Use VEX format if possible.
44957 (fmax): Likewise.
44958 (fminf): Likewise.
44959 (fmin): Likewise.
44960
56f6f6a2
UD
44961 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
44962 * math/math_private.h: Remove libc_fegetround* and
44963 libc_fesetround*.
44964 * sysdeps/i386/configure.in: Check for -msse2avx.
44965 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
44966 also if SSE2AVX is defined.
44967 Remove libc_fegetround* and libc_fesetround*.
44968 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
44969 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
44970 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
44971 of HAS_YMM_USABLE.
44972 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
44973 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
44974 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
44975 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
44976 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
44977
73139a76
UD
44978 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
44979
d73f93a4
AZ
449802012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44981
44982 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
44983 size is not set.
44984 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44985
6ee65ed6
UD
449862012-01-27 Ulrich Drepper <drepper@gmail.com>
44987
44988 [BZ #13618]
44989 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
44990 relocation.
44991 * Makeconfig (libm): Define.
44992 * elf/Makefile: Add rules to build and run tst-relsort1.
44993 * elf/tst-relsort1.c: New file.
44994 * elf/tst-relsort1mod1.c: New file.
44995 * elf/tst-relsort1mod2.c: New file.
44996
8db21882
JM
449972012-01-27 Joseph Myers <joseph@codesourcery.com>
44998
44999 * math/s_ldexp.c: Remove __STDC__ conditionals.
45000 * math/s_ldexpf.c: Likewise.
45001 * math/s_ldexpl.c: Likewise.
45002 * math/s_nextafter.c: Likewise.
45003 * math/s_nexttowardf.c: Likewise.
45004 * math/s_significand.c: Likewise.
45005 * math/s_significandf.c: Likewise.
45006 * math/s_significandl.c: Likewise.
45007 * math/w_jnl.c: Likewise.
45008 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45009 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45010 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45011 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45012 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45013 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45014 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
45015 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45016 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45017 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45018 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45019 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45020 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45021 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45022 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45023 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45024 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45025 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45026 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45027 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45028 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45029 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45030 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45031 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45032 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45033 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45034 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45035 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45036 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45037 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45038 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45039 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45040 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45041 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45042 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45043 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45044 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45045 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45046 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45047 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45048 * sysdeps/ieee754/k_standard.c: Likewise.
45049 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45050 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45051 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45052 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45053 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45054 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45055 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45056 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45057 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45058 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45059 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45060 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45061 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45062 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45063 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45064 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45065 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45066 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45067 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45068 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45069 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45070 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45071 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45072 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45073 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45074 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45075 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45076 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45077 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45078 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45079 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45080 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
45081 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45082 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45083 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45084 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45085 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
45086 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45087 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45088 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
45089 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
45090 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45091 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
45092 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
45093 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45094 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
45095 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
45096 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45097 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45098 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
45099 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
45100 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45101 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45102 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45103 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45104 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45105 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
45106 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45107 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45108 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45109 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45110 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45111 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45112 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45113 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45114 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45115 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45116 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45117 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45118 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45119 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45120 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45121 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45122 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45123 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45124 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45125 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45126 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45127 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45128 * sysdeps/ieee754/s_matherr.c: Likewise.
45129 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45130 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45131 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45132 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45133
965a54a4
JM
451342012-01-26 Joseph Myers <joseph@codesourcery.com>
45135
45136 * crypt/md5.h: Remove __STDC__ conditionals.
45137 * libio/libioP.h: Likewise.
45138 * locale/programs/config.h: Likewise.
45139 * sysdeps/generic/sysdep.h: Likewise.
45140 * sysdeps/i386/asm-syntax.h: Likewise.
45141 * sysdeps/s390/asm-syntax.h: Likewise.
45142 * sysdeps/unix/sysdep.h: Likewise.
45143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
45144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45145
7071ad79
JM
451462012-01-26 Joseph Myers <joseph@codesourcery.com>
45147
45148 * libio/libio.h: Remove __STDC__ conditionals.
45149 * malloc/obstack.h: Likewise.
45150 * math/complex.h: Likewise.
45151 * math/math.h: Likewise.
45152 * sysdeps/generic/_G_config.h: Likewise.
45153 * sysdeps/gnu/_G_config.h: Likewise.
45154 * sysdeps/mach/hurd/_G_config.h: Likewise.
45155 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45156 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45157 * sysdeps/sparc/bits/mathdef.h: Likewise.
45158
afc5ed09
UD
451592012-01-26 Ulrich Drepper <drepper@gmail.com>
45160
45161 [BZ #13583]
45162 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 45163 Clean up HAS_* macros.
afc5ed09 45164 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
45165 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
45166 possible.
45167 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
45168 HAS_AVX.
45169 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45170 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45171 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45172 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45173 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 45174
bdb6de1d
JM
451752012-01-25 Joseph Myers <joseph@codesourcery.com>
45176
45177 * elf/tst-unique3.cc (gets): Remove declaration.
45178 * elf/tst-unique3lib.cc (gets): Likewise.
45179 * elf/tst-unique3lib2.cc (gets): Likewise.
45180 * elf/tst-unique4.cc (gets): Likewise.
45181
b15549e6
UD
451822012-01-24 Ulrich Drepper <drepper@gmail.com>
45183
45184 * include/stdio.h: Add C++ protection. Add gets declarations and
45185 definitions.
45186 * debug/tst-chk1.c: Don't declare gets here.
45187 * stdio-common/tst-gets.c: Likewise.
45188
a037381f
JM
451892012-01-24 Joseph Myers <joseph@codesourcery.com>
45190
45191 * posix/glob: Remove directory.
45192
f1d4aa75
JM
451932012-01-24 Joseph Myers <joseph@codesourcery.com>
45194
45195 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
45196
81c0c964
PT
451972012-01-22 Pino Toscano <toscano.pino@tiscali.it>
45198
45199 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
45200 of the non-standard EPFNOSUPPORT.
45201
0ea698ae
ST
452022011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
45203
45204 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
45205 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
45206 ANYWHERE set to 1 only on KERN_NO_SPACE error.
45207
d220b117
UD
452082012-01-21 Ulrich Drepper <drepper@gmail.com>
45209
45210 * wcsmbs/uchar.h: Test __STDC_VERSION__.
45211
3e1aa84e
UD
452122012-01-20 Ulrich Drepper <drepper@gmail.com>
45213
45214 * nscd/aicache.c (addhstaiX): Do not cache negative results of
45215 transient errors.
45216 * nscd/grpcache.c (cache_addgr): Likewise.
45217 * nscd/hstcache.c (cache_addhst): Likewise.
45218 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45219 * nscd/pwdcache.c (cache_addpw): Likewise.
45220 * nscd/servicescache.c (cache_addserv): Likewise.
45221
400aa020
UD
452222012-01-16 Ulrich Drepper <drepper@gmail.com>
45223
d77e7869
UD
45224 * malloc/malloc.c: Various cleanups.
45225 * malloc/hooks.c: Likewise.
45226
400aa020
UD
45227 * stdlib/Makefile (tests): Add bug-fmtmsg1.
45228 * stdlib/bug-fmtmsg1.c: New file.
45229
45230 * stdlib/fmtmsg.c (init): Add missing unlock.
45231 Patch by Peng Haitao <penght@cn.fujitsu.com>.
45232
e0a309cf
MP
452332012-01-12 Marek Polacek <polacek@redhat.com>
45234
45235 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
45236 and _GNU_SOURCE.
45237
929d11c7
WS
452382012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45239
45240 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
45241 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
45242 macro to ensure uniqueness of label name.
45243 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45244 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45245
41d0e869
UD
452462012-01-11 Ulrich Drepper <drepper@gmail.com>
45247
0cc5ed3b
UD
45248 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
45249
41d0e869
UD
45250 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
45251 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45252 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45253 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
45254
a47a831a
UD
452552012-01-10 Ulrich Drepper <drepper@gmail.com>
45256
daa891c0
UD
45257 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
45258
45259 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
45260 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45261 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45262
e58ef0f2
UD
45263 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
45264
a47a831a 45265 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
45266 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45267 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 45268 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
45269
45270 * math/bits/math-finite.h: Add ldexp support.
45271
a0bfc9c7
MP
452722012-01-10 Marek Polacek <polacek@redhat.com>
45273
45274 * locale/programs/localedef.h (show_archive_content): Add noreturn
45275 attribute.
45276
d6e97a1d
UD
452772012-01-09 Ulrich Drepper <drepper@gmail.com>
45278
45279 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
45280
d5835c26
UD
452812012-01-08 Ulrich Drepper <drepper@gmail.com>
45282
e5f484c6
UD
45283 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
45284
d5835c26
UD
45285 * io/Makefile (headers): Add bits/poll2.h.
45286
d1f741e9
WS
452872011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
45288
45289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
45290 typo #include statement.
45291
ec09c1c4
UD
452922012-01-08 Ulrich Drepper <drepper@gmail.com>
45293
45294 * include/sys/cdefs.h: Define __attribute_alloc_size.
45295 * catgets/gencat.c: Add alloc_size attribute and apply consistently
45296 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
45297 * elf/pldd.c: Likewise.
45298 * iconv/iconv_charmap.c: Likewise.
45299 * iconv/iconvconfig.c: Likewise.
45300 * iconv/strtab.c: Likewise.
45301 * locale/programs/locale.c: Likewise.
45302 * locale/programs/localedef.h: Likewise.
45303 * locale/programs/simple-hash.c: Likewise.
45304 * nscd/nscd.h: Likewise.
45305 * nss/makedb.c: Likewise.
45306 * sysdeps/generic/ldconfig.h: Likewise.
45307 * locale/programs/localedef.c: Remove xmalloc prototype.
45308 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
45309
20b38e03
PP
453102012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45311
45312 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
45313 appropriate.
45314
a0da5fe1
UD
453152012-01-08 Ulrich Drepper <drepper@gmail.com>
45316
1d5a644a 45317 * math/Makefile (tests): Add tst-CMPLX.
669704fd 45318 * math/tst-CMPLX.c: New file.
1d5a644a 45319
8784a6db
UD
45320 * math/complex.h (CMPLXL): Fix typo.
45321
d9a216c0
UD
45322 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
45323 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
45324 GLIBC_2.16.
45325 * debug/tst-chk1.c: Add poll and ppoll tests.
45326 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
45327 * include/sys/poll.h: Add hidden proto for ppoll.
45328 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
45329 * sysdeps/mach/hurd/ppoll.c: Likewise.
45330 * io/ppoll.c: Likewise.
45331 * debug/poll_chk.c: New file.
45332 * debug/ppoll_chk.c: New file.
45333 * include/bits/poll2.h: New file.
45334 * io/bits/poll2.h: New file.
45335
ac097f5c
UD
45336 [BZ #1350]
45337 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
45338
2119dcfa
UD
45339 * configure.in: static is always set to yes. Remove.
45340 * config.make.in: Don't set build-static.
45341 * Makeconfig: Remove use of build-static.
45342 * dlfcn/Makefile: Likewise.
45343 * elf/Makefile: Likewise.
45344 * math/Makefile: Likewise.
45345 * misc/Makefile: Likewise.
45346 * nptl/Makefile: Likewise.
45347 * sysdeps/mach/hurd/Makefile: Likewise.
45348
121766a9
UD
45349 * configure.in: PWD_P is not used anymore.
45350 * config.make.in: Remove PWD_P entry.
45351
51a1d39c 45352 * configure.in: Remove last remnants of RANLIB.
8720d066 45353 No need to check for signed size_t anymore.
215f4bdc
UD
45354 Don't set libc_commonpagesize and libc_relro_required here for Alpha
45355 and IA-64.
3857022a 45356 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
45357 * aclocal.m4: Likewise.
45358
d3ed7225
UD
45359 * wcsmbs/mbrtoc16.c: Implement using towc function.
45360 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
45361 * wcsmbs/wcsmbsload.c: Likewise.
45362 * iconv/gconv_simple.c: Likewise.
45363 * iconv/gconv_int.h: Likewise.
45364 * iconv/gconv_builtin.h: Likewise.
45365 * iconv/iconv_prog.c: Remove CHAR16 handling.
45366
45367 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
45368
45369 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
45370
a0da5fe1
UD
45371 * configure.in: Remove --with-elf and --enable-bounded options.
45372 Dont set base_machine for ia64. More non-ELF conditions removed.
45373 Remove testing and setting of leading underscore information.
45374 * config.make.in (build-bounded): Set to no.
45375 * config.h.in: Remove NO_UNDERSCORES entry.
45376 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
45377 them.
45378 * csu/start.c: Remove !NO_UNDERSCORE code.
45379 * locale/localeinfo.h: Likewise.
45380 * sysdeps/generic/machine-gmon.h: Likewise.
45381 * sysdeps/generic/sysdep.h: Likewise.
45382 * sysdeps/i386/sysdep.h: Likewise.
45383 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45384 * sysdeps/mach/sysdep.h: Likewise.
45385 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45386 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45387 * sysdeps/sh/sysdep.h: Likewise.
45388 * sysdeps/sparc/sparc32/alloca.S: Likewise.
45389 * sysdeps/unix/i386/sysdep.S: Likewise.
45390 * sysdeps/unix/sparc/start.c: Likewise.
45391 * sysdeps/unix/sparc/sysdep.S: Likewise.
45392 * sysdeps/unix/sparc/sysdep.h: Likewise.
45393 * sysdeps/unix/start.c: Likewise.
45394 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45395 * sysdeps/x86_64/sysdep.h: Likewise.
45396
df78418a
UD
453972012-01-07 Ulrich Drepper <drepper@gmail.com>
45398
a784e502
UD
45399 [BZ #13553]
45400 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
45401 for non-gcc.
45402 * argp/argp-fmtstream.h: Use const instead __const.
45403 * argp/argp.h: Likewise.
45404 * assert/assert.h: Likewise.
45405 * bits/fenv.h: Likewise.
45406 * bits/sched.h: Likewise.
45407 * bits/sigset.h: Likewise.
45408 * bits/sigthread.h: Likewise.
45409 * catgets/nl_types.h: Likewise.
45410 * conform/data/pthread.h-data: Likewise.
45411 * crypt/crypt-private.h: Likewise.
45412 * crypt/crypt.h: Likewise.
45413 * crypt/crypt_util.c: Likewise.
45414 * ctype/ctype.h: Likewise.
45415 * debug/execinfo.h: Likewise.
45416 * debug/mbsnrtowcs_chk.c: Likewise.
45417 * debug/mbsrtowcs_chk.c: Likewise.
45418 * debug/wcsnrtombs_chk.c: Likewise.
45419 * debug/wcsrtombs_chk.c: Likewise.
45420 * debug/wcstombs_chk.c: Likewise.
45421 * dirent/dirent.h: Likewise.
45422 * dlfcn/dlfcn.h: Likewise.
45423 * elf/neededtest4.c: Likewise.
45424 * grp/grp.h: Likewise.
45425 * gshadow/gshadow.h: Likewise.
45426 * iconv/gconv.h: Likewise.
45427 * iconv/gconv_int.h: Likewise.
45428 * iconv/gconv_simple.c: Likewise.
45429 * iconv/iconv.h: Likewise.
45430 * iconv/loop.c: Likewise.
45431 * iconv/skeleton.c: Likewise.
45432 * include/aio.h: Likewise.
45433 * include/aliases.h: Likewise.
45434 * include/argz.h: Likewise.
45435 * include/arpa/inet.h: Likewise.
45436 * include/assert.h: Likewise.
45437 * include/dirent.h: Likewise.
45438 * include/dlfcn.h: Likewise.
45439 * include/execinfo.h: Likewise.
45440 * include/fcntl.h: Likewise.
45441 * include/fenv.h: Likewise.
45442 * include/glob.h: Likewise.
45443 * include/grp.h: Likewise.
45444 * include/libintl.h: Likewise.
45445 * include/mntent.h: Likewise.
45446 * include/netdb.h: Likewise.
45447 * include/pwd.h: Likewise.
45448 * include/rpc/netdb.h: Likewise.
45449 * include/sched.h: Likewise.
45450 * include/search.h: Likewise.
45451 * include/shadow.h: Likewise.
45452 * include/signal.h: Likewise.
45453 * include/stdio.h: Likewise.
45454 * include/stdlib.h: Likewise.
45455 * include/string.h: Likewise.
45456 * include/sys/socket.h: Likewise.
45457 * include/sys/stat.h: Likewise.
45458 * include/sys/statfs.h: Likewise.
45459 * include/sys/statvfs.h: Likewise.
45460 * include/sys/syslog.h: Likewise.
45461 * include/sys/time.h: Likewise.
45462 * include/sys/uio.h: Likewise.
45463 * include/time.h: Likewise.
45464 * include/unistd.h: Likewise.
45465 * include/utmp.h: Likewise.
45466 * include/wchar.h: Likewise.
45467 * include/wctype.h: Likewise.
45468 * inet/aliases.h: Likewise.
45469 * inet/arpa/inet.h: Likewise.
45470 * inet/netinet/ether.h: Likewise.
45471 * inet/netinet/in.h: Likewise.
45472 * intl/libintl.h: Likewise.
45473 * io/bits/fcntl2.h: Likewise.
45474 * io/fcntl.h: Likewise.
45475 * io/ftw.h: Likewise.
45476 * io/sys/poll.h: Likewise.
45477 * io/sys/stat.h: Likewise.
45478 * io/sys/statfs.h: Likewise.
45479 * io/sys/statvfs.h: Likewise.
45480 * io/utime.h: Likewise.
45481 * libio/bits/stdio.h: Likewise.
45482 * libio/bits/stdio2.h: Likewise.
45483 * libio/libio.h: Likewise.
45484 * libio/libioP.h: Likewise.
45485 * libio/stdio.h: Likewise.
45486 * locale/lc-ctype.c: Likewise.
45487 * locale/locale.h: Likewise.
45488 * login/utmp.h: Likewise.
45489 * malloc/arena.c: Likewise.
45490 * malloc/malloc.c: Likewise.
45491 * malloc/malloc.h: Likewise.
45492 * malloc/mcheck.c: Likewise.
45493 * malloc/mtrace.c: Likewise.
45494 * math/bits/mathcalls.h: Likewise.
45495 * math/fenv.h: Likewise.
45496 * math/math_private.h: Likewise.
45497 * misc/bits/error.h: Likewise.
45498 * misc/bits/syslog.h: Likewise.
45499 * misc/err.h: Likewise.
45500 * misc/error.h: Likewise.
45501 * misc/fstab.h: Likewise.
45502 * misc/mntent.h: Likewise.
45503 * misc/regexp.h: Likewise.
45504 * misc/search.h: Likewise.
45505 * misc/sgtty.h: Likewise.
45506 * misc/sys/mman.h: Likewise.
45507 * misc/sys/syslog.h: Likewise.
45508 * misc/sys/uio.h: Likewise.
45509 * misc/sys/xattr.h: Likewise.
45510 * misc/ttyent.h: Likewise.
45511 * nis/rpcsvc/ypclnt.h: Likewise.
45512 * nss/nss.h: Likewise.
45513 * posix/bits/unistd.h: Likewise.
45514 * posix/fnmatch.h: Likewise.
45515 * posix/glob.h: Likewise.
45516 * posix/sched.h: Likewise.
45517 * posix/spawn.h: Likewise.
45518 * posix/sys/wait.h: Likewise.
45519 * posix/unistd.h: Likewise.
45520 * posix/wordexp.h: Likewise.
45521 * pwd/pwd.h: Likewise.
45522 * resolv/netdb.h: Likewise.
45523 * resource/sys/resource.h: Likewise.
45524 * rt/aio.h: Likewise.
45525 * rt/bits/mqueue2.h: Likewise.
45526 * rt/mqueue.h: Likewise.
45527 * shadow/shadow.h: Likewise.
45528 * signal/signal.h: Likewise.
45529 * socket/send.c: Likewise.
45530 * socket/sendto.c: Likewise.
45531 * socket/sys/socket.h: Likewise.
45532 * stdio-common/printf.h: Likewise.
45533 * stdlib/bits/stdlib.h: Likewise.
45534 * stdlib/fmtmsg.h: Likewise.
45535 * stdlib/monetary.h: Likewise.
45536 * stdlib/stdlib.h: Likewise.
45537 * stdlib/ucontext.h: Likewise.
45538 * streams/stropts.h: Likewise.
45539 * string/argz.h: Likewise.
45540 * string/bits/string2.h: Likewise.
45541 * string/string.h: Likewise.
45542 * string/strings.h: Likewise.
45543 * sunrpc/rpc/auth.h: Likewise.
45544 * sunrpc/rpc/auth_des.h: Likewise.
45545 * sunrpc/rpc/clnt.h: Likewise.
45546 * sunrpc/rpc/netdb.h: Likewise.
45547 * sunrpc/rpc/pmap_clnt.h: Likewise.
45548 * sunrpc/rpc/xdr.h: Likewise.
45549 * sysdeps/generic/inttypes.h: Likewise.
45550 * sysdeps/generic/net/if.h: Likewise.
45551 * sysdeps/generic/sys/swap.h: Likewise.
45552 * sysdeps/gnu/net/if.h: Likewise.
45553 * sysdeps/gnu/utmpx.h: Likewise.
45554 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
45555 * sysdeps/i386/i486/bits/string.h: Likewise.
45556 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
45557 * sysdeps/s390/bits/string.h: Likewise.
45558 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
45559 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
45560 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
45561 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
45562 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
45563 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
45564 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
45565 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
45566 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
45567 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
45568 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
45569 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45570 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
45571 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45572 * sysdeps/unix/sysv/linux/readv.c: Likewise.
45573 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
45574 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45575 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45576 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
45577 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
45578 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45579 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
45580 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
45581 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
45582 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
45583 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
45584 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
45585 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45586 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
45587 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
45588 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
45589 * sysvipc/sys/ipc.h: Likewise.
45590 * sysvipc/sys/msg.h: Likewise.
45591 * sysvipc/sys/sem.h: Likewise.
45592 * sysvipc/sys/shm.h: Likewise.
45593 * termios/termios.h: Likewise.
45594 * time/sys/time.h: Likewise.
45595 * time/time.h: Likewise.
45596 * wcsmbs/bits/wchar2.h: Likewise.
45597 * wcsmbs/uchar.h: Likewise.
45598 * wcsmbs/wchar.h: Likewise.
45599 * wctype/wctype.h: Likewise.
45600
0269750c
UD
45601 [BZ #13551]
45602 * Makeconfig: Remove all but ELF support including AIX support.
45603 * Makerules: Likewise.
45604 * config.h.in: Likewise.
45605 * config.make.in: Likewise.
45606 * configure: Likewise.
45607 * configure.in: Likewise.
45608 * csu/Makefile: Likewise.
45609 * csu/version.c: Likewise.
45610 * debug/Makefile: Likewise.
45611 * dlfcn/Makefile: Likewise.
45612 * elf/Makefile: Likewise.
45613 * extra-lib.mk: Likewise.
45614 * iconv/Makefile: Likewise.
45615 * include/libc-symbols.h: Likewise.
45616 * include/shlib-compat.h: Likewise.
45617 * resolv/Makefile: Likewise.
45618 * resolv/res_libc.c: Likewise.
45619 * rt/Makefile: Likewise.
45620 * sysdeps/i386/asm-syntax.h: Likewise.
45621 * sysdeps/i386/sysdep.h: Likewise.
45622 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45623 * sysdeps/mach/sysdep.h: Likewise.
45624 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
45625 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
45626 * sysdeps/s390/asm-syntax.h: Likewise.
45627 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45628 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45629 * sysdeps/sh/sysdep.h: Likewise.
45630 * sysdeps/unix/sparc/sysdep.h: Likewise.
45631 * sysdeps/wordsize-32/divdi3.c: Likewise.
45632 * sysdeps/x86_64/sysdep.h: Likewise.
45633
00bbd29b
UD
45634 * argp/Versions: Remove _argp_unlock_xxx.
45635
45636 [BZ #13559]
45637 * abilist/ld.abilist: Update. Adjust for removal of tls option.
45638 * abilist/libBrokenLocale.abilist: Likewise.
45639 * abilist/libanl.abilist: Likewise.
45640 * abilist/libc.abilist: Likewise.
45641 * abilist/libcrypt.abilist: Likewise.
45642 * abilist/libdl.abilist: Likewise.
45643 * abilist/libm.abilist: Likewise.
45644 * abilist/libnsl.abilist: Likewise.
45645 * abilist/libpthread.abilist: Likewise.
45646 * abilist/libresolv.abilist: Likewise.
45647 * abilist/librt.abilist: Likewise.
45648 * abilist/libthread_db.abilist: Likewise.
45649 * abilist/libutil.abilist: Likewise.
45650 * abilist/libnss_db.abilist: New file.
45651
45652 * scripts/abilist.awk: Add support for indirect functions.
45653
a2693a0e
UD
45654 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
45655
3f05895f
UD
45656 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
45657
ecb6fb48
UD
45658 * shlib-versions: Remove entries for ports architectures.
45659
664f8cb9
UD
45660 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
45661 files in ports.
45662 * elf/stackguard-macros.h: Remove support for IA-64.
45663 * elf/tst-auditmod1.c: Likewise.
45664 * sysdeps/generic/ldsodefs.h: Likewise.
45665
7ae81d88
UD
45666 * sysdeps/unix/sysv/linux/configure.in: Ports should define
45667 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
45668 configure files.
45669
bdeba135
UD
45670 [BZ #13552]
45671 * configure.in: Remove --enable-omitfp support.
45672 * FAQ.in: Adjust.
45673 * config.make.in: Likewise.
45674 * Makeconfig: Likewise.
45675 * manual/install.texi: Likewise.
45676
d75a0a62
UD
45677 In case anyone cares, the IA-64 architecture could move to ports.
45678 * sysdeps/ia64/*: Removed.
45679 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 45680 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 45681
dcc9756b
UD
45682 [BZ #13555]
45683 * configure.in: Remove entries for unsupported architectures.
45684
d3761ebc 45685 [BZ #13533]
9954432e
UD
45686 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
45687 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
45688 routines.
45689 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
45690 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
45691 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
45692 fall back to using wcrtomb.
45693 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
45694 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
45695 renaming.
45696 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
45697 * wcsmbs/tst-c16c32-1.c: New file.
45698
45699 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
45700 local variable.
45701
c3a87236
UD
45702 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
45703
28926a1b
UD
45704 * elf/tst-unique3.cc: Add explicit declaration of gets.
45705 * elf/tst-unique3lib.cc: Likewise.
45706 * elf/tst-unique3lib2.cc: Likewise.
45707 * elf/tst-unique4.cc: Likewise.
45708
df78418a
UD
45709 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45710
8ecd6b2a
JM
457112012-01-06 Joseph Myers <joseph@codesourcery.com>
45712
45713 [BZ #13566]
45714 * assert/assert.h (static_assert): Don't define for C++.
45715 * libio/stdio.h (gets): Do declare for C++ <= C++11.
45716 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45717
9f115170
UD
457182012-01-03 Ulrich Drepper <drepper@gmail.com>
45719
5e0d0300
UD
45720 * iconv/loop.c (single loop): Fix assertion in storing of
45721 remaining bytes.
45722
9f115170
UD
45723 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45724
81fb02b0
UD
457252012-01-01 Ulrich Drepper <drepper@gmail.com>
45726
45727 * posix/getconf.c: Update copyright year.
45728 * nss/getent.c: Likewise.
a316c1f6 45729 * nss/makedb.c: Likewise.
81fb02b0
UD
45730 * iconv/iconvconfig.c: Likewise.
45731 * iconv/iconv_prog.c: Likewise.
45732 * elf/ldconfig.c: Likewise.
a316c1f6
UD
45733 * elf/pldd.c: Likewise.
45734 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
45735 * catgets/gencat.c: Likewise.
45736 * csu/version.c: Likewise.
45737 * elf/ldd.bash.in: Likewise.
45738 * elf/sprof.c (print_version): Likewise.
45739 * locale/programs/locale.c: Likewise.
45740 * locale/programs/localedef.c: Likewise.
a316c1f6 45741 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
45742 * nscd/nscd.c (print_version): Likewise.
45743 * debug/xtrace.sh: Likewise.
45744 * malloc/memusage.sh: Likewise.
45745 * malloc/mtrace.pl: Likewise.
45746 * debug/catchsegv.sh: Likewise.
45747
2ba92745
JJ
457482011-12-30 Jakub Jelinek <jakub@redhat.com>
45749
45750 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45751 pure attribute.
45752
dadebdae
UD
457532011-12-24 Ulrich Drepper <drepper@gmail.com>
45754
d3761ebc 45755 [BZ #13533]
db6af3eb
UD
45756 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45757 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45758 transformations.
45759 * iconv/gconv_int.h: Likewise.
45760 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45761 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45762 from libc for GLIBC_2.16.
45763 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45764 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45765 * wcsmbs/uchar.h: Really define mbstate_t.
45766 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45767 * wcsmbs/c16rtomb.c: New file.
45768 * wcsmbs/mbrtoc16.c: New file.
45769 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45770 for C/POSIX locale.
45771 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45772 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45773
dadebdae
UD
45774 * wcsmbs/wchar.h: Add missing __restrict.
45775
67371b56
UD
457762011-12-23 Ulrich Drepper <drepper@gmail.com>
45777
74033a25
UD
45778 [BZ #13532]
45779 * time/Makefile (routines): Add timespec_get.
45780 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45781 * time/time.h: Define TIME_UTC and declare timespec_get. Define
45782 timespec for ISO C11.
45783 * time/timespec_get.c: New file.
45784 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45785 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45786
380d7e87
UD
45787 [BZ #13531]
45788 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45789 * stdlib/stdlib.h: Declare aligned_alloc.
45790 * Versions.def: Add GLIBC_2.16 for libc.
45791 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45792
4e9e7a35
UD
45793 [BZ 13527]
45794 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45795 ISO C11.
45796
380d7e87 45797 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
45798 code.
45799
03a71829
UD
45800 [BZ #13528]
45801 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45802
839e283e
UD
45803 [BZ #13529]
45804 * assert/assert.h (static_assert): Define.
45805
ce5294e2 45806 * version.h: Update for 2.16 development version.
90fa7312 45807
8d44e150 45808 [BZ #13526]
d7809905
UD
45809 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
45810 _ISOC11_SOURCE.
45811
c0da14cd
UD
45812 * version.h (RELEASE): Bump for 2.15 release.
45813 * include/features.h (__GLIBC_MINOR__): Bump to 15.
45814
530a3249
MP
45815 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
45816 Patch by Marek Polacek <mpolacek@redhat.com>.
45817
67371b56
UD
45818 * bits/byteswap.h: Protect long long constants with __extension__.
45819 * sysdeps/i386/bits/byteswap.h: Likewise.
45820 * sysdeps/ia64/bits/byteswap.h: Likewise.
45821 * sysdeps/s390/bits/byteswap.h: Likewise.
45822 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45823
15db4de1
LD
458242011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45825
45826 [BZ #13540]
bbe315ea
LD
45827 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
45828 destination buffer.
15db4de1
LD
45829 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
45830
2b2596b1
MP
458312011-12-23 Marek Polacek <polacek@redhat.com>
45832
45833 * elf/dl-addr.c (determine_info): Add inline keyword.
45834 * elf/tst-auditmod4b.c (check_avx): Likewise.
45835 * elf/tst-auditmod6b.c (check_avx): Likewise.
45836 * elf/tst-auditmod6c.c (check_avx): Likewise.
45837 * elf/tst-auditmod7b.c (check_avx): Likewise.
45838
70c6c246
UD
458392011-12-23 Ulrich Drepper <drepper@gmail.com>
45840
45841 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
45842 !__SSE_MATH__.
45843
c044cf14
LD
458442011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45845
15db4de1 45846 [BZ #13540]
c044cf14
LD
45847 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
45848 processing for last bytes.
45849
6b13d9d9
BH
458502011-08-06 Bruno Haible <bruno@clisp.org>
45851
d455f537
BH
45852 [BZ #13061]
45853 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
45854 U+0385, not to U+1FEE.
45855
6b13d9d9
BH
45856 [BZ #13062]
45857 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
45858 entry for U+00A5 U+0301.
45859
db910efd
UD
458602011-12-22 Ulrich Drepper <drepper@gmail.com>
45861
27deeafc
UD
45862 [BZ #13166]
45863 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
45864 buffer for the output is too small.
45865
aed9d171
UD
45866 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
45867 optimization.
45868
db910efd
UD
45869 [BZ #13185]
45870 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
45871 SSE flags if possible.
45872
2bd779ae
LD
458732011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45874
e7f9dac3 45875 [BZ #13540]
2bd779ae
LD
45876 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
45877 processing for last bytes.
45878
154bfc16
JM
458792011-12-22 Joseph Myers <joseph@codesourcery.com>
45880
45881 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
45882 (syscall-list-default-options, syscall-list-default-condition)
45883 (syscall-list-includes): Define.
45884 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
45885 list of ABIs and options and #if conditions for each ABI. Do not
45886 handle common syscalls between ABIs specially.
45887 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
45888 Remove.
45889 (syscall-list-variants, syscall-list-32bit-options)
45890 (syscall-list-32bit-condition, syscall-list-64bit-options)
45891 (syscall-list-64bit-condition): Define.
45892 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
45893 (syscall-list-variants, syscall-list-32bit-options)
45894 (syscall-list-32bit-condition, syscall-list-64bit-options)
45895 (syscall-list-64bit-condition): Define.
45896 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
45897 Remove.
45898 (syscall-list-variants, syscall-list-32bit-options)
45899 (syscall-list-32bit-condition, syscall-list-64bit-options)
45900 (syscall-list-64bit-condition): Define.
45901 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
45902 Remove.
45903 (syscall-list-variants, syscall-list-32bit-options)
45904 (syscall-list-32bit-condition, syscall-list-64bit-options)
45905 (syscall-list-64bit-condition): Define.
45906
21eaf3a5
UD
459072011-12-22 Ulrich Drepper <drepper@gmail.com>
45908
16c6f992
UD
45909 * locale/iso-639.def: Add brx entry.
45910
41043168
UD
45911 [BZ #13328]
45912 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
45913 Proposed by Mariusz_Cukr <marcukr@op.pl>.
45914
21eaf3a5
UD
45915 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
45916 __feraiseexcept_renamed.
45917
e3a851a2
UD
459182011-12-21 Ulrich Drepper <drepper@gmail.com>
45919
4920765e
UD
45920 [BZ #13538]
45921 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
45922 EPOLLET with unsigned values.
45923 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45924 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45925
e3a851a2
UD
45926 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
45927 to large cancellation.
45928 * math/s_cacoshf.c: Likewise.
45929 * math/s_cacoshl.c: Likewise.
45930
b27e24b8
RK
459312011-11-18 Richard B. Kreckel <kreckel@ginac.de>
45932
45933 [BZ #13305]
aebefeee 45934 [BZ #12786]
b27e24b8
RK
45935 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
45936 * math/s_cacoshf.c: Likewise.
45937 * math/s_cacoshl.c: Likewise.
45938
ee190f67
UD
459392011-12-21 Ulrich Drepper <drepper@gmail.com>
45940
45941 [BZ #13439]
45942 * iconv/gconv.h: Define __GCONV_SWAP.
45943 * iconvdata/unicode.c: The swap bit must be stored in __flags.
45944 * iconvdata/utf-16.c: Likewise.
45945 * iconvdata/utf-32.c: Likewise.
45946
707f25df
AS
459472011-12-21 Andreas Schwab <schwab@linux-m68k.org>
45948
45949 [BZ #13524]
45950 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
45951 numerator after shifting it by one limb.
45952
d2daaa1e
RÁE
459532011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
45954
45955 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
45956 under [__USE_EXTERN_INLINES].
45957
a4647e72
UD
459582011-12-17 Ulrich Drepper <drepper@gmail.com>
45959
45960 [BZ #13446]
45961 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
45962
f0b264f1
AZ
459632011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45964
45965 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
45966 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
45967 optimized code.
45968 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
45969 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
45970 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
45971 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
45972 for strncasecmp/strncasecmp_l compilation.
45973 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
45974 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
45975
8ef4f244
MP
459762011-12-08 Marek Polacek <mpolacek@redhat.com>
45977
45978 [BZ #13484]
45979 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
45980 of __asm__.
45981
97ac2654
UD
459822011-12-17 Ulrich Drepper <drepper@gmail.com>
45983
45984 [BZ #13506]
45985 * time/tzfile.c (__tzfile_read): Check values from file header.
45986
91d2a845
WS
459872011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
45988
45989 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
45990 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
45991 * powerpc/powerpc32/dl-start.S: Likewise.
45992 * powerpc/powerpc32/elf/start.S: Likewise.
45993 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45994 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
45995 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
45996 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
45997 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
45998 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
45999 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
46000 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
46001 * powerpc/powerpc32/fpu/s_round.S: Likewise.
46002 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46003 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46004 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46005 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
46006 * powerpc/powerpc32/memset.S: Likewise.
46007 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46008 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46009 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46010 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46011 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46012 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46013 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46014 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46015 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
46016 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
46017 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
46018 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46019 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46020
a1267ba1
AZ
460212011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46022
46023 * math/libm-test.inc: Added more nearbyint tests.
46024 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
46025 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
46026 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
46027 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
46028
ad8ac1bd
RL
460292011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
46030
46031 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
46032 FD_CLOEXEC.
46033
1d3e4b61
UD
460342011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46035
46036 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
46037 Add wcscpy-ssse3 wcscpy-c.
46038 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
46039 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
46040 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
46041 * sysdeps/x86_64/wcschr.S: New file.
46042 * sysdeps/x86_64/wcsrchr.S: New file.
46043 * string/test-strcmp.c: Remove checking of wcscmp function for
46044 wrong alignments.
46045 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
46046 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
46047 wcsrchr-sse2 wcsrchr-c.
46048 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
46049 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
46050 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
46051 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
46052 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
46053 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
46054 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
46055 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
46056 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
46057 * wcsmbc/wcschr.c (WCSCHR): New macro.
46058
5b330a2d
UD
460592011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46060
46061 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
46062 * wcsmbs/test-wcsrchr.c: New file.
46063 * string/test-strrchr.c: Add wcsrchr support.
46064 (WIDE): New macro.
46065 * wcsmbs/test-wcscpy.c: New file.
46066 * string/test-strcpy.c: Add wcscpy support.
46067 (WIDE): New macro.
26428b7c 46068
f039c043
UD
460692011-12-10 Ulrich Drepper <drepper@gmail.com>
46070
46071 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
46072 the inner loop.
46073
850fb039
AS
460742011-12-06 Andreas Schwab <schwab@linux-m68k.org>
46075
46076 [BZ #13472]
46077 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
46078
4efbd5cb
UD
460792011-12-04 Ulrich Drepper <drepper@gmail.com>
46080
52ff5dd0 46081 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 46082 Minor optimizations.
52ff5dd0 46083
4efbd5cb
UD
46084 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
46085 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
46086 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
46087
8a426e12
UD
460882011-12-03 Ulrich Drepper <drepper@gmail.com>
46089
aff2453d
UD
46090 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
46091 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
46092 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
46093 for gcc to avoid warnings.
46094 * inet/Makefile (tests): Add tst-checks.
46095 * inet/tst-checks.c: New file.
46096
46097 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
46098 warning.
46099
46100 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
46101 __wmemcmp_sse2.
46102
46103 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
46104 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
46105
8a426e12
UD
46106 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
46107
9bea3473
UD
461082011-12-02 Ulrich Drepper <drepper@gmail.com>
46109
3a965496
UD
46110 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
46111 problem.
46112
9bea3473
UD
46113 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
46114
f101631b
UD
461152011-11-29 Joseph Myers <joseph@codesourcery.com>
46116
46117 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
46118 conditional on GCC version.
46119 (__arch_compare_and_exchange_val_8_acq)
46120 (__arch_compare_and_exchange_val_16_acq)
46121 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
46122 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
46123 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
46124
a98275aa
UD
461252011-12-02 Joseph Myers <joseph@codesourcery.com>
46126
46127 * sysdeps/sh/backtrace.c: New file.
46128
d4cc29a2
AS
461292011-12-02 Andreas Schwab <schwab@redhat.com>
46130
46131 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
46132 parenthesis.
46133
6257af2d
AS
461342011-12-01 Andreas Schwab <schwab@redhat.com>
46135
46136 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
46137 falling back to utime.
46138
b5f44c1a
AS
461392011-11-30 Andreas Schwab <schwab@redhat.com>
46140
46141 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
46142 expectations for float.
46143
f3a6cc0a
AS
461442011-11-29 Andreas Schwab <schwab@redhat.com>
46145
46146 * locale/weight.h (findidx): Add parameter len.
46147 * locale/weightwc.h (findidx): Likewise.
46148 * posix/fnmatch_loop.c (FCT): Adjust caller.
46149 * posix/regcomp.c (build_equiv_class): Likewise.
46150 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
46151 * posix/regexec.c (check_node_accept_bytes): Likewise.
46152 * string/strcoll_l.c (STRCOLL): Likewise.
46153 * string/strxfrm_l.c (STRXFRM): Likewise.
46154
9d65ea3a
UD
461552011-11-17 Ulrich Drepper <drepper@gmail.com>
46156
46157 * Makefile.in: Remove CVSOPT handling.
46158 * configure.in: Remove use of AC_REVISION.
46159 * iconvdata/Makefile (distribute): No need to filter out CVS.
46160 * scripts/list-sources.sh: Remove CVS, subversion and monotone
46161 handling.
46162
5583a086
AS
461632011-11-16 Andreas Schwab <schwab@redhat.com>
46164
46165 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
46166 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
46167 [USE_AS_STRNCASECMP_L]: Likewise.
46168 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
46169 NO_TLS_DIRECT_SEG_REFS.
46170 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
46171 Fix argument offsets for non-PIC.
46172 [USE_AS_STRNCASECMP_L]: Likewise.
46173 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
46174 NO_TLS_DIRECT_SEG_REFS.
46175
d62a8200
UD
461762011-11-15 Ulrich Drepper <drepper@gmail.com>
46177
9d65ea3a 46178 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
46179 O_CLOEXEC.
46180 * locale/loadlocale.c (_nl_load_locale): Likewise.
46181
09f93bd3
AS
461822011-11-15 Andreas Schwab <schwab@redhat.com>
46183
446514f9
AS
46184 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
46185 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
46186 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
46187 (SYSCALL_GETTIME): Set errno on error.
46188
09f93bd3
AS
46189 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
46190 count references to noai6ai_cached.
46191
312be3f9
UD
461922011-11-15 Ulrich Drepper <drepper@gmail.com>
46193
46194 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
46195
46196 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
46197 FD_CLOEXEC for /proc/self/maps.
46198
46199 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
46200 FD_CLOEXEC for /proc/meminfo.
46201
46202 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
46203 gai.conf.
46204
46205 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
46206 FD_CLOEXEC for given file.
46207
46208 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
46209
46210 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
46211 FD_CLOEXEC for /etc/hosts.
46212 (_gethtent): Likewise.
46213
46214 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
46215
46216 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
46217 cancellation and set FD_CLOEXEC for /etc/netgroup.
46218
46219 * nss/nss_files/files-key.c (search): Don't allow cancellation when
46220 reading /etc/publickey.
46221
46222 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
46223 allow cancellation when reading /etc/group.
46224
46225 * nss/nss_files/files-alias.c (internal_setent): Don't allow
46226 cancellation.
46227 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
46228
46229 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
46230 when using data file.
46231
46232 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
46233
46234 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
46235 (write_nis_obj): Use "c" and "e" in fopen.
46236
46237 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
46238
46239 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
46240
46241 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
46242
46243 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
46244
46245 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
46246 locale.alias.
46247
46248 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
46249
46250 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
46251
46252 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
46253
46254 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
46255 file parsing and set FD_CLOEXEC.
46256
82af0fa8
UD
462572011-11-14 Ulrich Drepper <drepper@gmail.com>
46258
46259 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
46260
a5fb313c
AS
462612011-11-14 Andreas Schwab <schwab@redhat.com>
46262
46263 * malloc/arena.c (arena_get2): Don't call reused_arena when
46264 _int_new_arena failed.
46265
6abf3465
UD
462662011-11-14 Ulrich Drepper <drepper@gmail.com>
46267
46268 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
46269 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
46270 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
46271 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46272 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46273 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
46274 to compile strcasecmp and strncasecmp.
46275 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
46276 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
46277
46278 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
46279
76e3966e
UD
462802011-11-13 Ulrich Drepper <drepper@gmail.com>
46281
46282 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
46283 locale-defines.sym to gen-as-const-headers.
46284 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
46285 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
46286 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
46287 to compile strcasecmp and strncasecmp.
46288 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
46289 strcasecmp_l and strncasecmp_l.
46290 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
46291 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
46292 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
46293 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
46294 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
46295 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
46296 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
46297 * sysdeps/i386/i686/multiarch/strncase.S: New file.
46298 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
46299 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
46300 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
46301
ab26144e
UD
463022011-11-12 Ulrich Drepper <drepper@gmail.com>
46303
7edb22ef
UD
46304 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
46305 result of SYSDEP_GETTIME_CPU to retval.
46306 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
46307 parameter list to macro. Remove trailing semicolon. Adjust users.
46308
9694fc44
UD
46309 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
46310 variable.
46311
8ad89ef8
UD
46312 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
46313 mantissa words.
46314 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
46315
0c822ef9
UD
46316 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
46317 from unused variable.
46318
874e0564
UD
46319 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
46320 DWARF definitions.
46321 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
46322 for assembling.
46323
3a2edc79
UD
46324 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
46325 over namespaces.
46326
f3c2577f
UD
46327 * sunrpc/rpc_prot.c (rejected): Fix case value.
46328
294ce126
UD
46329 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
46330 unsigned long long int to avoid warnings in shift.
46331
5e2b63c6
UD
46332 * posix/regex_internal.c (re_string_reconstruct): Actually use result
46333 of use of trans.
46334 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
46335 variable tmp.
46336
e7f4b08e
UD
46337 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
46338 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
46339 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
46340
ab26144e
UD
46341 * nis/nis_table.c (nis_list): Use variable of correct type for
46342 result of __follow_path call.
46343
8a6d5255
AZ
463442011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46345
46346 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
46347 of math functions ceil, trunc, floor, round, and sqrt, when
46348 avaliable on the platform.
46349 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
46350 name clash.
46351 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46352 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46353 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46354
aaddc98c
MP
463552011-10-30 Marek Polacek <mpolacek@redhat.com>
46356
46357 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
46358 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46359
95b7042b
RM
463602011-11-11 Roland McGrath <roland@hack.frob.com>
46361
46362 * include/unistd.h: Fix __readlink return type.
46363 Reported by Chris Metcalf <cmetcalf@tilera.com>.
46364
57769839
UD
463652011-11-11 Ulrich Drepper <drepper@gmail.com>
46366
46367 * stdlib/ucontext.h: Undo last change for makecontext.
46368
edc5984d
AS
463692011-11-11 Andreas Schwab <schwab@redhat.com>
46370
98591e58
AS
46371 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
46372
edc5984d
AS
46373 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
46374 * setjmp/setjmp.h: Mark functions as non-leaf.
46375 * setjmp/bits/setjmp2.h: Likewise.
46376 * stdlib/ucontext.h: Likewise.
46377
77cdc054
AS
463782011-11-10 Andreas Schwab <schwab@redhat.com>
46379
46380 * malloc/arena.c (_int_new_arena): Don't increment narenas.
46381 (reused_arena): Don't check arena limit.
46382 (arena_get2): Atomically check arena limit.
46383
fe72eebd
UD
463842011-11-08 Ulrich Drepper <drepper@gmail.com>
46385
5f078c32
UD
46386 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
46387 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
46388
fe72eebd
UD
46389 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
46390 instructions.
46391
ae1bc2fa
AS
463922011-11-07 Andreas Schwab <schwab@redhat.com>
46393
7583a88d
AS
46394 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
46395 handler when locking.
46396
ae1bc2fa
AS
46397 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46398 Fix size of allocated buffer.
46399
10fb0bfa
AS
464002011-11-04 Andreas Schwab <schwab@redhat.com>
46401
998832a4
AS
46402 [BZ #10103]
46403 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
46404 declarations for long double functions.
46405 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
46406
10fb0bfa
AS
46407 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
46408
3d7ba52b
AS
464092011-11-03 Andreas Schwab <schwab@redhat.com>
46410
a9ae54a1
AS
46411 * nscd/nscd.c (main): Don't start AVC thread until credentials are
46412 installed.
46413
3d7ba52b
AS
46414 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
46415 is disabled.
46416
bc8db248
ST
464172011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
46418
46419 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
46420
45b96dd6
AS
464212011-11-01 Andreas Schwab <schwab@linux-m68k.org>
46422
647776f6
AS
46423 * include/alloca.h (stackinfo_alloca_round): Define.
46424 (extend_alloca): Use it.
46425 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
46426 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
46427 here.
46428
d91a8b93
AS
46429 * scripts/check-local-headers.sh: Ignore libaudit.h.
46430
45b96dd6
AS
46431 * nscd/Makefile (extra-objs): Make recursively expanded.
46432
432d41ce
UD
464332011-11-01 Ulrich Drepper <drepper@gmail.com>
46434
34372fc6
UD
46435 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
46436 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46437
fadb59f8
UD
46438 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
46439 * posix/tst-rfc3484-2.c: Likewise.
46440 * posix/tst-rfc3484-3.c: Likewise.
46441
78239589
UD
46442 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46443 process_vm_writev.
46444 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
46445 process_vm_writev.
46446 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
46447 process_vm_writev from libc using GLIBC_2.15 version.
46448
432d41ce
UD
46449 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
46450
02f9c6cf
PP
464512011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
46452
46453 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
46454 stack usage.
46455
3a2c0242
UD
464562011-10-31 Ulrich Drepper <drepper@gmail.com>
46457
f4ec4833
UD
46458 [BZ #13367]
46459 * nss/getent.c (initgroups_keys): Show error message in case no group
46460 names are given.
46461
3a2c0242
UD
46462 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
46463 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
46464 __bump_nl_timestamp.
46465 * nscd/connections (nscd_init): When host database is served open
46466 netlink socket and request notification about configuration changes.
46467 (main_loop_poll): Track netlink file descriptor and bump timestamp
46468 in case data becomes available.
46469 (main_loop_epoll): Likewise.
46470 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
46471 (database_pers_head): Add extra_data fileds.
46472 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
46473 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
46474 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
46475 Adjust caller.
46476 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
46477 in6ai data, call __free_in6ai.
46478 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
46479 Add -DHAVE_NETLINK.
46480 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
46481 interface information. Reuse previous data if netlink timestamp
46482 is not changed.
46483 (__bump_nl_timestamp): New function.
46484 (__free_in6ai): New function.
46485
636064eb
UD
464862011-10-30 Ulrich Drepper <drepper@gmail.com>
46487
46488 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
46489 close_not_cancel_no_status here.
46490 (__check_pf): Reorganize code a bit to not call close twice if OOM.
46491
9beb2334
UD
464922011-10-29 Ulrich Drepper <drepper@gmail.com>
46493
6ef76f3b
UD
46494 [BZ #13276]
46495 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
46496 return value.
46497
0ffc4f3e 46498 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
46499 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
46500 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
46501
cb95113e
UD
465022011-07-03 Andreas Jaeger <aj@suse.de>
46503
46504 [BZ #10709]
46505 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
46506 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
46507 * math/libm-test.inc (sin_test): Add test case.
46508
a1b560ff
UD
465092011-10-29 Ulrich Drepper <drepper@gmail.com>
46510
c9aaface
UD
46511 [BZ #13337]
46512 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
46513 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46514
d272e7f1
UD
46515 * elf/chroot_canon.c (chroot_canon): Cleanups.
46516
1bc33071
UD
46517 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
46518
1760874d
TJ
46519 [BZ #13335]
46520 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
46521 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46522
51d91b18
UD
46523 * string/test-strchr.c: Make usable for strchrnul testing.
46524 * string/test-strchrnul.c: New file.
46525 * string/Makefile (strop-tests): Add strchrnul.
46526
a1b560ff 46527 * po/it.po: Update from translation team.
b611fb81 46528 * po/es.po: Likewise.
a1b560ff 46529
a5b81e1f
UD
465302011-10-28 Ulrich Drepper <drepper@gmail.com>
46531
fd52bc6d
UD
46532 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
46533 the three constants needed as parameters. Drop the others.
46534 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
46535 __m128i_strloadu_tolower.
52e4b9eb
UD
46536 Create and initialize variable zero and use it in all the places
46537 where _mm_setzero_si128 was used.
fd52bc6d 46538
a5b81e1f
UD
46539 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
46540 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
46541 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
46542 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
46543 anymore.
46544 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
46545 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
46546 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
46547 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
46548 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
46549 __mpranred, __mptan.
46550 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
46551 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
46552 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
46553 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
46554 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
46555 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
46556 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
46557 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
46558 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
46559
b4343346
AS
465602011-10-28 Andreas Schwab <schwab@redhat.com>
46561
0c92d8a8
AS
46562 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
46563 redefine if SHARED.
46564 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
46565
b4343346
AS
46566 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
46567 wide char related routines to wcsmbs subdir.
46568
3871f58f
AS
465692011-10-27 Andreas Schwab <schwab@redhat.com>
46570
46571 [BZ #13344]
46572 * misc/sys/cdefs.h (__THROWNL): Define.
46573 * posix/unistd.h: Use __THREADNL instead of __THREAD
46574 for memory synchronization functions.
46575
94d44d9f
RM
465762011-10-26 Roland McGrath <roland@hack.frob.com>
46577
21b64b15 46578 [BZ #13349]
94d44d9f
RM
46579 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
46580 doesn't exist.
46581 * manual/stdio.texi (Obstack Streams): Node removed.
46582
f6ce9294
AS
465832011-10-26 Andreas Schwab <schwab@redhat.com>
46584
80479147
AS
46585 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
46586 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46587 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46588
f6ce9294
AS
46589 * math/math_private.h (math_force_eval): Allow non-addressable
46590 arguments.
46591 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
46592
618280a1
UD
465932011-10-25 Ulrich Drepper <drepper@gmail.com>
46594
e0016b11
UD
46595 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
46596 file is not needed.
46597
46598 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
46599 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
46600 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46601 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46602 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46603 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46604 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46605 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
46606 Add AVX variants.
46607 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
46608 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
46609 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
46610 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
46611 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
46612 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
46613 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
46614 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
46615 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
46616 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
46617 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
46618 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
46619 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
46620 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
46621 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
46622 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
46623 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
46624 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
46625 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
46626
46627 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
46628 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
46629
618280a1
UD
46630 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
46631 place. Use VEX encoding when compiling for AVX.
46632
37822576
AS
466332011-10-25 Andreas Schwab <schwab@redhat.com>
46634
1f1e1947
AS
46635 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
46636 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46637
37822576
AS
46638 * string/test-strchr.c (do_test): Don't generate NUL bytes.
46639
31ea014d
UD
466402011-10-25 Ulrich Drepper <drepper@gmail.com>
46641
d7826aa1 46642 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 46643 useless if() expression.
d7826aa1
UD
46644 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46645 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46646 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46647 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46648 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46649 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46650 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46651 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46652 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46653 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46654 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46655 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46656 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46657 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46658 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46659 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46660 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46661 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46662 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46663
31ea014d
UD
46664 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
46665
16437fec
AS
466662011-10-25 Andreas Schwab <schwab@redhat.com>
46667
46668 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
46669 condition.
46670 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46671
31d3cc00
UD
466722011-10-25 Ulrich Drepper <drepper@gmail.com>
46673
46674 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
46675 .text section. Avoid duplicate constants.
46676 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46677 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46678 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46679 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46680 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46681 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46682 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46683 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46684 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46685 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
46686 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46687 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46688 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46689 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46690 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46691 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46692 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46693 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46694 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46695 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46696 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46697 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46698 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46699 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
46700 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
46701 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
46702 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
46703 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
46704 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
46705 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
46706 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
46707 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
46708 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46709 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
46710 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46711 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46712 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46713 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46714 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46715 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46716 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46717 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46718 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46719 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46720 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46721
58985aa9
UD
467222011-10-24 Ulrich Drepper <drepper@gmail.com>
46723
202c9deb
UD
46724 * sysdeps/x86_64/dla.h: Move to ...
46725 * sysdeps/x86_64/fpu/dla.h: ...here.
46726 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46727 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 46728
af968f62
UD
46729 * config.make.in: Add have-mfma4 entry.
46730 * configure.in: Substitute libc_cv_cc_fma4.
46731 * math/Makefile (dbl-only-routines): Add sincostab.
46732 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46733 Use __sincostab not sincos.
46734 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46735 name is a macro.
46736 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46737 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46738 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46739 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
46740 using __copysign.
46741 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
46742 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
46743 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46744 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46745 and __inv.
46746 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46747 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46748 __copysign.
46749 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
46750 define aliases when function name is a macro.
46751 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46752 sysdeps/ieee754/dbl-64/sincos.tbl.
46753 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46754 fma4-enabled routines.
46755 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46756 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46757 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46758 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46759 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46760 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46761 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46762 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46763 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46764 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46765 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46766 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46767 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46768 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46769 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46770 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46771 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46772 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46773 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46774 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46775 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46776 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46777 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46778 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46779 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46780 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46781 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46782 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46783 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46784 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46785
58985aa9
UD
46786 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46787 rename.
46788 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46789 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46790 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46791 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46792 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46793 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46794 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46795 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46796
a201fbcf
AS
467972011-10-24 Andreas Schwab <schwab@redhat.com>
46798
46799 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46800
fc2ee42a
LD
468012011-10-23 Ulrich Drepper <drepper@gmail.com>
46802
bb3129bd
UD
46803 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
46804
0275fff8
UD
46805 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
46806 prediction.
46807 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
46808
2fa2ae85
UD
46809 * string/strnlen.c: Don't define STRNLEN, reverse logic.
46810 Remove unused variable magic_bits.
46811 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
46812
fc2ee42a
LD
46813 * string/strnlen.c: Define and use STRNLEN macro.
46814 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
46815 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
46816 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
46817 * wcsmbs/wcslen.c: Define and use WCSLEN.
46818 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
46819 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
46820 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
46821 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
46822 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
46823 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
46824 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46825
ce7dd29f
LD
468262011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46827
46828 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46829 strnlen-sse2-no-bsf.
46830 Rename strlen-no-bsf to strlen-sse2-no-bsf.
46831 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
46832 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
46833 Add strnlen support.
46834 (USE_AS_STRNLEN): New macro.
46835 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
46836 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
46837 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
46838 * sysdeps/x86_64/wcslen.S: New file.
46839
979c70a3
MZ
468402011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
46841
46842 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46843 XMM-moves are used for copying on small sizes.
46844
2d09f82f
LD
468452011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46846
46847 * wcsmbs/Makefile (strop-tests): Add wcschr.
46848 * wcsmbs/test-wcschr.c: New file.
46849 * string/test-strchr.c: Update.
46850 Add wcschr support.
46851 (WIDE): New macro.
46852
619fccca
LD
468532011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46854
2d09f82f 46855 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
46856 * wcsmbs/test-wcslen.c: New file.
46857 * string/test-strlen.c: Update.
46858 Add wcslen support.
46859 (WIDE): New macro.
46860
09f699ea
UD
468612011-10-23 Ulrich Drepper <drepper@gmail.com>
46862
46863 * po/it.po: Update from translation team.
46864
95584d3b
LD
468652011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46866
46867 * sysdeps/x86_64/wcscmp.S: Update.
46868 Fix wrong comparison semantics.
46869 wcscmp shall use signed comparison not unsigned.
46870 Don't use substraction to avoid overflow bug.
46871 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
46872 * wcsmbc/wcscmp.c: Likewise.
46873 * string/test-strcmp.c: Likewise.
46874 Add new tests to check cases with negative values.
46875
c8b3296b
UD
468762011-10-23 Ulrich Drepper <drepper@gmail.com>
46877
46878 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
46879 * sysdeps/x86_64/dla.h: ...here. New file.
46880 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
46881 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46882 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46883 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46884 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46885 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46886 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46887 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46888 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46889
246ad57a
AS
468902011-10-23 Andreas Schwab <schwab@linux-m68k.org>
46891
46892 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
46893 __ynl_finite aliases.
46894
a1a87169
UD
468952011-10-22 Ulrich Drepper <drepper@gmail.com>
46896
0d355eb7
UD
46897 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46898
a1a87169
UD
46899 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
46900 define DLA_FMA.
46901 [DLA_FMA] (EMULV): Use DLA_FMA.
46902 [DLA_FMA] (MUL12): Use EMULV.
46903 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
46904 that are not needed.
46905 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46906 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46907 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46908 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46909 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46910 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46911 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46912
ee2aafe0
AS
469132011-10-22 Andreas Schwab <schwab@linux-m68k.org>
46914
46915 * math/s_nan.c: Undef __nan.
46916 * math/s_nanf.c: Undef __nanf.
46917 * math/s_nanl.c: Undef __nanl.
46918 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
46919 "math_private.h".
46920
bc62c2fb
UD
469212011-10-22 Ulrich Drepper <drepper@gmail.com>
46922
77425c63
UD
46923 * math/s_catan.c: Add branch predictions.
46924 * math/s_catanf.c: Likewise.
46925 * math/s_catanh.c: Likewise.
46926 * math/s_catanhf.c: Likewise.
46927 * math/s_catanhl.c: Likewise.
46928 * math/s_catanl.c: Likewise.
46929 * math/s_cexp.c: Likewise.
46930 * math/s_cexpf.c: Likewise.
46931 * math/s_cexpl.c: Likewise.
46932 * math/s_clog.c: Likewise.
46933 * math/s_clog10.c: Likewise.
46934 * math/s_clog10f.c: Likewise.
46935 * math/s_clog10l.c: Likewise.
46936 * math/s_clogf.c: Likewise.
46937 * math/s_clogl.c: Likewise.
46938 * math/s_csqrt.c: Likewise.
46939 * math/s_csqrtf.c: Likewise.
46940 * math/s_csqrtl.c: Likewise.
46941 * math/s_ctanf.c: Likewise.
46942 * math/s_ctanh.c: Likewise.
46943 * math/s_ctanhf.c: Likewise.
46944 * math/s_ctanhl.c: Likewise.
46945 * math/s_ctanl.c: Likewise.
46946
bc62c2fb
UD
46947 * math/math_private.h: Define __nan, __nanf, __nanl.
46948 * math/s_cacosh.c: Include <math_private.h>.
46949 * math/s_cacoshl.c: Likewise.
46950 * math/s_casinh.c: Likewise.
46951 * math/s_casinhf.c: Likewise.
46952 * math/s_casinhl.c: Likewise.
46953 * math/s_ccos.c: Rely entire on ccosh.
46954 * math/s_ccosf.c: Rely entire on ccoshf.
46955 * math/s_ccosl.c: Rely entirely on ccoshl.
46956 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
46957 Remove tests for FE_INVALID.
46958 * math/s_ccoshf.c: Likewise.
46959 * math/s_ccoshl.c: Likewise.
46960 * math/s_csin.c: Likewise.
46961 * math/s_csinf.c: Likewise.
46962 * math/s_csinh.c Likewise.
46963 * math/s_csinhf.c: Likewise.
46964 * math/s_csinhl.c: Likewise.
46965 * math/s_csinl.c: Likewise.
46966 * math/s_ctan.c: Likewise.
46967 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
46968 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
46969 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
46970
8ec250a4
UD
469712011-10-21 Ulrich Drepper <drepper@gmail.com>
46972
c196fed8
UD
46973 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
46974 compilation problems.
46975
8ec250a4
UD
46976 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
46977 __builtin_expect.
46978
8d4f46c6
UD
469792011-10-20 Ulrich Drepper <drepper@gmail.com>
46980
ed72b654
UD
46981 * sysdeps/i386/configure.in: Test for -mfma4 option.
46982 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
46983 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
46984 COMMON_CPUID_INDEX_80000001.
46985 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
46986 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
46987 use it if FMA3 is not supported.
46988 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
46989
8d4f46c6
UD
46990 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
46991 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46992
d45c60c2
AS
469932011-10-20 Andreas Schwab <schwab@redhat.com>
46994
46995 [BZ #12892]
46996 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
46997 it would create a cycle with a link time dependency.
46998
d9a4d2ab
UD
469992011-10-19 Ulrich Drepper <drepper@gmail.com>
47000
855d1560
UD
47001 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
47002 instruction.
47003 * string/Makefile (strop-tests): Add rawmemchr.
47004 * string/test-rawmemchr.c: New file.
47005
d9a4d2ab
UD
47006 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
47007 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
47008 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
47009 when compiling str{,n}casecmp and when AVX is available. Hook up
47010 new optimized code in initializers.
47011
8f3b1ffe
AS
470122011-10-19 Andreas Schwab <schwab@redhat.com>
47013
47014 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
47015 __feraiseexcept instead of feraiseexcept.
47016
d38f1dba
UD
470172011-10-18 Ulrich Drepper <drepper@gmail.com>
47018
d9a8d0ab
UD
47019 * math/math_private.h: Define defaults for libc_fetestexcept and
47020 libc_feupdateenv.
47021 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
47022 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
47023 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47024 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47025 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47026 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47027 libc_fetestexcept and libc_feupdateenv.
47028
4855e3dd
UD
47029 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
47030 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
47031 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
47032 * sysdeps/x86_64/fpu/math_private.h: Define special version of
47033 libc_feholdexcept_setround.
47034
581d30e3
UD
47035 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
47036 Add s_nearbyint-c and s_nearbyintf-c.
47037 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
47038 nearbyintf inlines.
47039 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
47040 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
47041 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
47042 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
47043
d38f1dba
UD
47044 * math/math_private.h: Define defaults for libc_fegetround,
47045 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
47046 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
47047 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
47048 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
47049 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
47050 standard functions.
47051 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47052 Remove comments and hacks for old compiler versions.
47053 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47054 libc_fegetround, libc_fesetround, libc_feholdexcept, and
47055 libc_feholdexceptl.
47056
caa6c9d8
AS
470572011-10-18 Andreas Schwab <schwab@redhat.com>
47058
47059 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
47060 (__feraiseexcept_renamed): Add __NTH.
47061 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
47062 namespace violations.
47063
97c066e6
UD
470642011-10-17 Ulrich Drepper <drepper@gmail.com>
47065
99ce7b04
UD
47066 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
47067
1004d182
UD
47068 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
47069
228a984d
UD
47070 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
47071 recently added interfaces.
47072 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
47073
c8553a6a
UD
47074 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
47075 about macro parameter expansion.
47076
ed22dcf6
UD
47077 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
47078 __NO_MATH_INLINES is defined. Cleanups.
47079
47080 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
47081 and __floorf is target has SSE4.1.
47082 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
47083 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
47084 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
47085 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
47086
b171c137
UD
47087 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
47088 name.
47089 (floorf): Likewise.
47090
97c066e6
UD
47091 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
47092
629f62ef
AS
470932011-10-17 Andreas Schwab <schwab@redhat.com>
47094
49a43d80
AS
47095 * misc/sys/cdefs.h: Fix last change.
47096
629f62ef
AS
47097 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
47098 database lookup.
47099
e453f6cd
UD
471002011-10-16 Ulrich Drepper <drepper@gmail.com>
47101
aa78043a
UD
47102 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
47103
ad0f5cad
UD
47104 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
47105 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47106 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47107 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47108 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47109 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47110 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47111 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47112 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47113 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
47114 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
47115 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
47116 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
47117 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
47118 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
47119 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
47120 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
47121 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
47122 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
47123 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
47124 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
47125 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
47126
47127 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
47128 ceil, ceilf, floor, floorf.
47129
47130 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
47131 Perform IRELATIVE relocations last.
47132
e453f6cd
UD
47133 * elf/do-rel.h: Add another parameter nrelative, replacing the
47134 local variable with the same name. Change name of the function
47135 to end in Rel or Rela (uppercase).
47136 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
47137 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
47138 elf_dynamic_do_##reloc function.
47139
fd5bdc09
UD
471402011-10-15 Ulrich Drepper <drepper@gmail.com>
47141
79b195b5
UD
47142 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
47143 is sufficient, at least on modern CPUs.
47144
d4a28569
UD
47145 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
47146
b61099b5
UD
47147 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
47148 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
47149
bcf01e6d
UD
47150 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
47151 __expl_finite.
47152 * math/bits/math-finite.h: Add entries for exp.
47153 * math/e_expl.c: Add __*_finite alias.
47154 * sysdeps/i386/fpu/e_exp.S: Likewise.
47155 * sysdeps/i386/fpu/e_expf.S: Likewise.
47156 * sysdeps/i386/fpu/e_expl.c: Likewise.
47157 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47158 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47159 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47160 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47161 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
47162 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47163 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47164
ba1a0d59
UD
47165 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
47166 is sufficient, at least on modern CPUs.
47167
fd5bdc09
UD
47168 * ctype/ctype-info.c (__ctype_init): Define.
47169 * include/ctype.h (__ctype_init): Declare.
47170 (__ctype_b_loc): The variable is always initialized.
47171 (__ctype_toupper_loc): Likewise.
47172 (__ctype_tolower_loc): Likewise.
47173 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
47174 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
47175
7872cfb0
AS
471762011-10-15 Andreas Schwab <schwab@linux-m68k.org>
47177
b468825a
AS
47178 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
47179
7872cfb0
AS
47180 * configure.in: Also look in $cxxmachine/include for C++ system
47181 headers.
47182
be13f7bf
LD
471832011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47184
47185 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
47186 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
47187 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
47188 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
47189 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
47190 (USE_AS_WMEMCMP): New macro.
47191 Fixing indents.
47192 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
47193 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
47194 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
47195 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
47196 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47197 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
47198 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
47199 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
47200 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
47201 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
47202 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
47203 (USE_AS_WMEMCMP): New macro.
47204 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
47205 * sysdeps/string/test-memcmp.c: Update.
47206 Fix simple_wmemcmp.
47207 Add new tests.
47208 * wcsmbs/wmemcmp.c: Update.
47209 (WMEMCMP): New macro.
47210 Fix overflow bug.
47211
556a2007
AJ
472122011-10-12 Andreas Jaeger <aj@suse.de>
47213
47214 [BZ #13268]
47215 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
47216
538faaa7
UD
472172011-10-15 Ulrich Drepper <drepper@gmail.com>
47218
ab6737ff
UD
47219 * libio/iofwide.c (do_length): Avoid warning.
47220
538faaa7
UD
47221 * ctype/ctype.h (__isctype_f): Add missing __THROW.
47222
396a21b1
UD
472232011-10-14 Ulrich Drepper <drepper@gmail.com>
47224
cdf2901f
UD
47225 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
47226
38ad40ce
UD
47227 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
47228 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
47229 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
47230 * sysdeps/i386/i686/fpu/e_log.S: New file.
47231 * sysdeps/i386/i686/fpu/e_logf.S: New file.
47232 * sysdeps/i386/i686/fpu/e_logl.S: New file.
47233
396a21b1
UD
47234 * ctype/ctype.h: Add support for inlined isXXX functions when
47235 compiling C++ code.
47236
6b1f68c9
AS
472372011-10-14 Andreas Schwab <schwab@redhat.com>
47238
349290c0
AS
47239 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47240
6b1f68c9
AS
47241 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
47242
f2282d42
RM
472432011-10-13 Roland McGrath <roland@hack.frob.com>
47244
47245 [BZ #13291]
47246 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
47247
5298ffa8
AS
472482011-10-13 Andreas Schwab <schwab@redhat.com>
47249
714fad23
AS
47250 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
47251 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
47252 feraiseexcept.
47253
81dcc7fb
AS
47254 * sysdeps/x86_64/memrchr.S: Check for zero size.
47255
5298ffa8
AS
47256 * string/stratcliff.c: Add memrchr tests.
47257
951fbcec
LD
472582011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47259
47260 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47261 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
47262 rawmemchr-sse2 rawmemchr-sse2-bsf.
47263 * sysdeps/i386/i686/multiarch/memchr.S: New file.
47264 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
47265 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
47266 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
47267 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
47268 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
47269 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
47270 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
47271 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
47272 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
47273 * string/memrchr.c (MEMRCHR): New macro.
47274
0ac5ae23
UD
472752011-10-12 Ulrich Drepper <drepper@gmail.com>
47276
47277 Add integration with gcc's -ffinite-math-only and optimize wrapper
47278 functions in libm.
47279 * Versions.def: Define GLIBC_2.15 version for libm.
47280 * math/Makefile (headers): Add bits/math-finite.h.
47281 * math/bits/math-finite.h: New file.
47282 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
47283 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
47284 * math/e_acoshl.c: Add __*_finite alias.
47285 * math/e_acosl.c: Likewise.
47286 * math/e_asinl.c: Likewise.
47287 * math/e_atan2l.c: Likewise.
47288 * math/e_atanhl.c: Likewise.
47289 * math/e_coshl.c: Likewise.
47290 * math/e_exp10.c: Likewise.
47291 * math/e_exp10f.c: Likewise.
47292 * math/e_exp10l.c: Likewise.
47293 * math/e_exp2l.c: Likewise.
47294 * math/e_fmodl.c: Likewise.
47295 * math/e_gammal_r.c: Likewise.
47296 * math/e_hypotl.c: Likewise.
47297 * math/e_j0l.c: Likewise.
47298 * math/e_j1l.c: Likewise.
47299 * math/e_jnl.c: Likewise.
47300 * math/e_lgammal_r.c: Likewise.
47301 * math/e_log10l.c: Likewise.
47302 * math/e_log2l.c: Likewise.
47303 * math/e_logl.c: Likewise.
47304 * math/e_powl.c: Likewise.
47305 * math/e_sinhl.c: Likewise.
47306 * math/e_sqrtl.c: Likewise.
47307 * math/e_scalb.c: Completely rewritten and optimized.
47308 * math/e_scalbf.c: Likewise.
47309 * math/e_scalbl.c: Likewise.
47310 * math/w_acos.c: Likewise.
47311 * math/w_acosf.c: Likewise.
47312 * math/w_acosl.c: Likewise.
47313 * math/w_acosh.c: Likewise.
47314 * math/w_acoshf.c: Likewise.
47315 * math/w_acoshl.c: Likewise.
47316 * math/w_asin.c: Likewise.
47317 * math/w_asinf.c: Likewise.
47318 * math/w_asinl.c: Likewise.
47319 * math/w_atan2.c: Likewise.
47320 * math/w_atan2f.c: Likewise.
47321 * math/w_atan2l.c: Likewise.
47322 * math/w_atanh.c: Likewise.
47323 * math/w_atanhf.c: Likewise.
47324 * math/w_atanhl.c: Likewise.
47325 * math/w_exp10.c: Likewise.
47326 * math/w_exp10f.c: Likewise.
47327 * math/w_exp10l.c: Likewise.
47328 * math/w_fmod.c: Likewise.
47329 * math/w_fmodf.c: Likewise.
47330 * math/w_fmodl.c: Likewise.
47331 * math/w_j0.c: Likewise.
47332 * math/w_j0f.c: Likewise.
47333 * math/w_j0l.c: Likewise.
47334 * math/w_j1.c: Likewise.
47335 * math/w_j1f.c: Likewise.
47336 * math/w_j1l.c: Likewise.
47337 * math/w_jn.c: Likewise.
47338 * math/w_jnf.c: Likewise.
47339 * math/w_log.c: Likewise.
47340 * math/w_logf.c: Likewise.
47341 * math/w_logl.c: Likewise.
47342 * math/w_log10.c: Likewise.
47343 * math/w_log10f.c: Likewise.
47344 * math/w_log10l.c: Likewise.
47345 * math/w_log2.c: Likewise.
47346 * math/w_log2f.c: Likewise.
47347 * math/w_log2l.c: Likewise.
47348 * math/w_pow.c: Likewise.
47349 * math/w_powf.c: Likewise.
47350 * math/w_powl.c: Likewise.
47351 * math/w_remainder.c: Likewise.
47352 * math/w_remainderf.c: Likewise.
47353 * math/w_remainderl.c: Likewise.
47354 * math/w_scalb.c: Likewise.
47355 * math/w_scalbf.c: Likewise.
47356 * math/w_scalbl.c: Likewise.
47357 * math/w_sqrt.c: Likewise.
47358 * math/w_sqrtf.c: Likewise.
47359 * math/w_sqrtl.c: Likewise.
47360 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
47361 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
47362 used.
47363 * math/math_private.h: Declare __kernel_standard_f.
47364 * math/w_cosh.c: Remove cruft and optimize a bit.
47365 * math/w_coshf.c: Likewise.
47366 * math/w_coshl.c: Likewise.
47367 * math/w_exp2.c: Likewise.
47368 * math/w_exp2f.c: Likewise.
47369 * math/w_exp2l.c: Likewise.
47370 * math/w_hypot.c: Likewise.
47371 * math/w_hypotf.c: Likewise.
47372 * math/w_hypotl.c: Likewise.
47373 * math/w_lgamma.c: Likewise.
47374 * math/w_lgamma_r.c: Likewise.
47375 * math/w_lgammaf.c: Likewise.
47376 * math/w_lgammaf_r.c: Likewise.
47377 * math/w_lgammal.c: Likewise.
47378 * math/w_lgammal_r.c: Likewise.
47379 * math/w_sinh.c: Likewise.
47380 * math/w_sinhf.c: Likewise.
47381 * math/w_sinhl.c: Likewise.
47382 * math/w_tgamma.c: Likewise.
47383 * math/w_tgammaf.c: Likewise.
47384 * math/w_tgammal.c: Likewise.
47385 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47386 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47387 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
47388 Minor optimizations. Pretty printing. Remove cruft.
47389 * sysdeps/i386/fpu/e_acosf.S: Likewise.
47390 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47391 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47392 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47393 * sysdeps/i386/fpu/e_acosl.c: Likewise.
47394 * sysdeps/i386/fpu/e_asin.S: Likewise.
47395 * sysdeps/i386/fpu/e_asinf.S: Likewise.
47396 * sysdeps/i386/fpu/e_atan2.S: Likewise.
47397 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
47398 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
47399 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47400 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47401 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47402 * sysdeps/i386/fpu/e_exp10.S: Likewise.
47403 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
47404 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
47405 * sysdeps/i386/fpu/e_exp2.S: Likewise.
47406 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
47407 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
47408 * sysdeps/i386/fpu/e_fmod.S: Likewise.
47409 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
47410 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
47411 * sysdeps/i386/fpu/e_hypot.S: Likewise.
47412 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
47413 * sysdeps/i386/fpu/e_log.S: Likewise.
47414 * sysdeps/i386/fpu/e_log10.S: Likewise.
47415 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47416 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47417 * sysdeps/i386/fpu/e_log2.S: Likewise.
47418 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47419 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47420 * sysdeps/i386/fpu/e_logf.S: Likewise.
47421 * sysdeps/i386/fpu/e_logl.S: Likewise.
47422 * sysdeps/i386/fpu/e_pow.S: Likewise.
47423 * sysdeps/i386/fpu/e_powf.S: Likewise.
47424 * sysdeps/i386/fpu/e_powl.S: Likewise.
47425 * sysdeps/i386/fpu/e_remainder.S: Likewise.
47426 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
47427 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
47428 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47429 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47430 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47431 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
47432 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
47433 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
47434 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47435 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47436 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47437 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47438 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47439 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47440 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
47441 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47442 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47443 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47444 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47445 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47446 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47447 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47448 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47449 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47450 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47451 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47452 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47453 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47454 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47455 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47456 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47457 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47458 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47459 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47460 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47461 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47462 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
47463 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47464 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47465 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47466 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47467 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47468 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47469 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47470 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47471 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47472 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47473 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47474 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47475 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47476 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47477 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47478 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47479 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47480 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47481 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47482 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47483 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
47484 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47485 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47486 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47487 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47488 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47489 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47490 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47491 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47492 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47493 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47494 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47495 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47496 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47497 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47498 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47499 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47500 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47501 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47502 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
47503 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47504 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47505 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47506 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47507 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47508 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47509 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47510 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
47511 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47512 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47513 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47514 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47515 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47516 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
47517 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47518 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47519 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47520 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47521 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47522 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47523 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47524 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47525 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47526 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47527 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47528 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47529 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47530 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47531 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
47532 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
47533 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
47534 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
47535 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
47536 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
47537 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
47538 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47539 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47540 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47541 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47542 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
47543 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47544 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
47545 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
47546 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
47547 (__isnanf): Likewise.
47548 (__isinf_ns): Likewise.
47549 (__isinf_nsf): Likewise.
47550 (__finite): Likewise.
47551 (__finitef): Likewise.
47552 (__ieee754_sqrt): Define as macro.
47553 (__ieee754_sqrtf): Define as macro.
47554 (__ieee754_sqrtl): Define as macro.
47555 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
47556 inlined copy.
47557 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
47558 __FINITE_MATH_ONLY__ consistent.
47559 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
47560
12cc2fcd
AS
475612011-10-10 Andreas Schwab <schwab@linux-m68k.org>
47562
a843a204
AS
47563 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
47564 of rawmemchr.
47565
12cc2fcd
AS
47566 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
47567
c853acd5
UD
475682011-10-09 Ulrich Drepper <drepper@gmail.com>
47569
47570 * po/ja.po: Update from translation team.
47571
c658d255
RM
475722011-10-08 Roland McGrath <roland@hack.frob.com>
47573
110946e4
RM
47574 * locale/programs/locarchive.c (prepare_address_space): New function.
47575 (create_archive, enlarge_archive, open_archive): Use it.
47576
50604220
RM
47577 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
47578 inside [SHARED], where it is used.
47579
c658d255
RM
47580 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
47581
47582 * nss/getent.c (netgroup_keys): Remove unused variable.
47583 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47584
6a621eb7
UD
475852011-10-08 Ulrich Drepper <drepper@gmail.com>
47586
7edb55ce
UD
47587 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
47588 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
47589 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
47590 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
47591 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
47592 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
47593 * math/Makefile (libm-calls): Add s_isinf_ns.
47594 * math/divtc3.c: Use __isinf_nsl instead of isinf.
47595 * math/multc3.c: Likewise.
47596 * math/s_casin.c: Likewise.
47597 * math/s_casinf.c: Likewise.
47598 * math/s_casinl.c: Likewise.
47599 * math/s_ccos.c: Likewise.
47600 * math/s_ccosf.c: Likewise.
47601 * math/s_ccosl.c: Likewise.
47602 * math/s_ctan.c: Likewise.
47603 * math/s_ctanf.c: Likewise.
47604 * math/s_ctanh.c: Likewise.
47605 * math/s_ctanhf.c: Likewise.
47606 * math/s_ctanhl.c: Likewise.
47607 * math/s_ctanl.c: Likewise.
47608 * math/w_fmod.c: Likewise.
47609 * math/w_fmodf.c: Likewise.
47610 * math/w_fmodl.c: Likewise.
47611 * math/w_remainder.c: Likewise.
47612 * math/w_remainderf.c: Likewise.
47613 * math/w_remainderl.c: Likewise.
47614 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
47615 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
47616 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
47617 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
47618 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
47619 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
47620 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
47621 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
47622
187da0ae
UD
47623 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
47624 of the number.
47625 * stdio-common/printf_fphex.c: Likewise.
47626 * stdio-common/printf_size.c: Likewise.
47627
9277c064
UD
47628 * math/e_exp10.c: Include math_private.h using <...> not "...".
47629 * math/e_exp10f.c: Likewise.
47630 * math/e_exp10l.c: Likewise.
47631 * math/e_exp2l.c: Likewise.
47632 * math/e_j0l.c: Likewise.
47633 * math/e_j1l.c: Likewise.
47634 * math/e_jnl.c: Likewise.
47635 * math/e_lgammal_r.c: Likewise.
47636 * math/e_rem_pio2l.c: Likewise.
47637 * math/e_scalb.c: Likewise.
47638 * math/e_scalbf.c: Likewise.
47639 * math/e_scalbl.c: Likewise.
47640 * math/k_cosl.c: Likewise.
47641 * math/k_sinl.c: Likewise.
47642 * math/k_tanl.c: Likewise.
47643 * math/s_cacoshf.c: Likewise.
47644 * math/s_catan.c: Likewise.
47645 * math/s_catanf.c: Likewise.
47646 * math/s_catanh.c: Likewise.
47647 * math/s_catanhf.c: Likewise.
47648 * math/s_catanhl.c: Likewise.
47649 * math/s_catanl.c: Likewise.
47650 * math/s_ccosh.c: Likewise.
47651 * math/s_ccoshf.c: Likewise.
47652 * math/s_ccoshl.c: Likewise.
47653 * math/s_cexp.c: Likewise.
47654 * math/s_cexpf.c: Likewise.
47655 * math/s_cexpl.c: Likewise.
47656 * math/s_clog.c: Likewise.
47657 * math/s_clog10.c: Likewise.
47658 * math/s_clog10f.c: Likewise.
47659 * math/s_clog10l.c: Likewise.
47660 * math/s_clogf.c: Likewise.
47661 * math/s_clogl.c: Likewise.
47662 * math/s_csin.c: Likewise.
47663 * math/s_csinf.c: Likewise.
47664 * math/s_csinh.c: Likewise.
47665 * math/s_csinhf.c: Likewise.
47666 * math/s_csinhl.c: Likewise.
47667 * math/s_csinl.c: Likewise.
47668 * math/s_csqrt.c: Likewise.
47669 * math/s_csqrtf.c: Likewise.
47670 * math/s_csqrtl.c: Likewise.
47671 * math/s_ctan.c: Likewise.
47672 * math/s_ctanf.c: Likewise.
47673 * math/s_ctanh.c: Likewise.
47674 * math/s_ctanhf.c: Likewise.
47675 * math/s_ctanhl.c: Likewise.
47676 * math/s_ctanl.c: Likewise.
47677 * math/s_ldexp.c: Likewise.
47678 * math/s_ldexpf.c: Likewise.
47679 * math/s_ldexpl.c: Likewise.
47680 * math/s_significand.c: Likewise.
47681 * math/s_significandf.c: Likewise.
47682 * math/s_significandl.c: Likewise.
47683 * math/w_acos.c: Likewise.
47684 * math/w_acosf.c: Likewise.
47685 * math/w_acosh.c: Likewise.
47686 * math/w_acoshf.c: Likewise.
47687 * math/w_acoshl.c: Likewise.
47688 * math/w_acosl.c: Likewise.
47689 * math/w_asin.c: Likewise.
47690 * math/w_asinf.c: Likewise.
47691 * math/w_asinl.c: Likewise.
47692 * math/w_atan2.c: Likewise.
47693 * math/w_atan2f.c: Likewise.
47694 * math/w_atan2l.c: Likewise.
47695 * math/w_atanh.c: Likewise.
47696 * math/w_atanhf.c: Likewise.
47697 * math/w_atanhl.c: Likewise.
47698 * math/w_cosh.c: Likewise.
47699 * math/w_coshf.c: Likewise.
47700 * math/w_coshl.c: Likewise.
47701 * math/w_dremf.c: Likewise.
47702 * math/w_exp10.c: Likewise.
47703 * math/w_exp10f.c: Likewise.
47704 * math/w_exp10l.c: Likewise.
47705 * math/w_exp2.c: Likewise.
47706 * math/w_exp2f.c: Likewise.
47707 * math/w_fmod.c: Likewise.
47708 * math/w_fmodf.c: Likewise.
47709 * math/w_fmodl.c: Likewise.
47710 * math/w_hypot.c: Likewise.
47711 * math/w_hypotf.c: Likewise.
47712 * math/w_hypotl.c: Likewise.
47713 * math/w_j0.c: Likewise.
47714 * math/w_j0f.c: Likewise.
47715 * math/w_j0l.c: Likewise.
47716 * math/w_j1.c: Likewise.
47717 * math/w_j1f.c: Likewise.
47718 * math/w_j1l.c: Likewise.
47719 * math/w_jn.c: Likewise.
47720 * math/w_jnf.c: Likewise.
47721 * math/w_jnl.c: Likewise.
47722 * math/w_lgamma.c: Likewise.
47723 * math/w_lgamma_r.c: Likewise.
47724 * math/w_lgammaf.c: Likewise.
47725 * math/w_lgammaf_r.c: Likewise.
47726 * math/w_lgammal.c: Likewise.
47727 * math/w_lgammal_r.c: Likewise.
47728 * math/w_log.c: Likewise.
47729 * math/w_log10.c: Likewise.
47730 * math/w_log10f.c: Likewise.
47731 * math/w_log10l.c: Likewise.
47732 * math/w_log2.c: Likewise.
47733 * math/w_log2f.c: Likewise.
47734 * math/w_log2l.c: Likewise.
47735 * math/w_logf.c: Likewise.
47736 * math/w_logl.c: Likewise.
47737 * math/w_pow.c: Likewise.
47738 * math/w_powf.c: Likewise.
47739 * math/w_powl.c: Likewise.
47740 * math/w_remainder.c: Likewise.
47741 * math/w_remainderf.c: Likewise.
47742 * math/w_remainderl.c: Likewise.
47743 * math/w_scalb.c: Likewise.
47744 * math/w_scalbf.c: Likewise.
47745 * math/w_scalbl.c: Likewise.
47746 * math/w_sinh.c: Likewise.
47747 * math/w_sinhf.c: Likewise.
47748 * math/w_sinhl.c: Likewise.
47749 * math/w_sqrt.c: Likewise.
47750 * math/w_sqrtf.c: Likewise.
47751 * math/w_sqrtl.c: Likewise.
47752 * math/w_tgamma.c: Likewise.
47753 * math/w_tgammaf.c: Likewise.
47754 * math/w_tgammal.c: Likewise.
47755
6a621eb7
UD
47756 * po/ja.po: Update from translation team.
47757
bf582445
AJ
477582011-09-29 Andreas Jaeger <aj@suse.de>
47759
f9efbf3a
AJ
47760 [BZ #13179]
47761 * sunrpc/netname.c (netname2host): Fix logic.
47762
bf582445
AJ
47763 [BZ #6779]
47764 [BZ #6783]
47765 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47766 correctly.
47767 * math/w_remainder.c (__remainder): Likewise.
47768 * math/w_remainderf.c (__remainderf): Likewise.
47769 * math/libm-test.inc (remainder_test): Add test cases.
47770
48693bea
AK
477712011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47772
47773 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
47774 sdiv_qrnnd.
47775
42622229
LD
477762011-10-07 Ulrich Drepper <drepper@gmail.com>
47777
47778 * string/test-memcmp.c: Avoid unncessary #defines.
47779 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47780
093ecf92
LD
477812011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47782
47783 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47784 Use new sse2 version for core i3 - i7 as it's faster
47785 than sse42 version.
47786 (bit_Prefer_PMINUB_for_stringop): New.
47787 * sysdeps/x86_64/rawmemchr.S: Update.
47788 Replace with faster SSE2 version.
47789 * sysdeps/x86_64/memrchr.S: New file.
47790 * sysdeps/x86_64/memchr.S: Update.
47791 Replace with faster SSE2 version.
47792
fde56e5c
MP
477932011-09-12 Marek Polacek <mpolacek@redhat.com>
47794
47795 * elf/dl-load.c (lose): Add cast to avoid warning.
47796
21fd49a9
UD
477972011-10-07 Ulrich Drepper <drepper@gmail.com>
47798
5a06e643
UD
47799 * po/ca.po: Update from translation team.
47800
684ae515
UD
47801 * inet/getnetgrent_r.c: Hook up nscd.
47802 * nscd/Makefile (routines): Add nscd_netgroup.
47803 (nscd-modules): Add netgroupcache.
47804 (CFLAGS-netgroupcache.c): Define.
47805 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
47806 (cache_search): Add const to second parameter.
47807 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
47808 INNETGR.
47809 (dbs): Add netgrdb entry.
47810 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
47811 (verify_persistent_db): Handle netgrdb.
47812 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
47813 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
47814 GETFDNETGR.
47815 (netgroup_response_header): Define.
47816 (innetgroup_response_header): Define.
47817 (datahead): Add netgroup_response_header and innetgroup_response_header
47818 elements.
47819 * nscd/nscd.conf: Add entries for netgroup cache.
47820 * nscd/nscd.h (dbtype): Add netgrdb.
47821 (_PATH_NSCD_NETGROUP_DB): Define.
47822 (netgroup_iov_disabled): Declare.
47823 (xmalloc, xcalloc, xrealloc): Move declarations here.
47824 (cache_search): Adjust prototype.
47825 Add netgroup-related prototypes.
47826 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
47827 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
47828 (__nscd_innetgr): Declare.
47829 * nscd/selinux.c (perms): Use access_vector_t as element type and
47830 add netgroup-related initializers.
47831 * nscd/netgroupcache.c: New file.
47832 * nscd/nscd_netgroup.c: New file.
47833 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
47834 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
47835 For four parameters use innetgr.
47836 * nss/nss_files/files-init.c: Add definition and callback for netgr.
47837 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
47838 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
47839 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
47840
21fd49a9
UD
47841 * nscd/connections.c (register_traced_file): Don't register file
47842 for disabled databases.
47843
054c0457
UD
478442011-10-06 Ulrich Drepper <drepper@gmail.com>
47845
32b63198
UD
47846 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
47847
054c0457
UD
47848 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
47849 from tree and freeing node.
47850
64031225
JO
478512011-09-25 Jiri Olsa <jolsa@redhat.com>
47852
47853 * nss/nsswitch.c (__nss_database_lookup): Handle
47854 nss_parse_service_list out of memory case.
47855
0490345c
JO
478562011-09-15 Jiri Olsa <jolsa@redhat.com>
47857
47858 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
47859 out of memory case.
47860
3a62d00d
AS
478612011-10-04 Andreas Schwab <schwab@redhat.com>
47862
47863 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
47864 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
47865 pass it down.
47866 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
47867 elf_machine_rela, elf_machine_lazy_rel.
47868 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
47869 (ELF_DYNAMIC_DO_REL): Likewise.
47870 (ELF_DYNAMIC_DO_RELA): Likewise.
47871 (ELF_DYNAMIC_RELOCATE): Likewise.
47872 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
47873 to ELF_DYNAMIC_DO_REL.
47874 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
47875 (dl_main): In trace mode always set __RTLD_NOIFUNC.
47876 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
47877 elf_machine_rela.
47878 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
47879 skip_ifunc, don't call ifunc function if non-zero.
47880 (elf_machine_rela): Likewise.
47881 (elf_machine_lazy_rel): Likewise.
47882 (elf_machine_lazy_rela): Likewise.
47883 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
47884 (elf_machine_lazy_rel): Likewise.
47885 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
47886 Likewise.
47887 (elf_machine_lazy_rel): Likewise.
47888 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47889 Likewise.
47890 (elf_machine_lazy_rel): Likewise.
47891 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
47892 (elf_machine_lazy_rel): Likewise.
47893 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
47894 (elf_machine_lazy_rel): Likewise.
47895 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47896 (elf_machine_lazy_rel): Likewise.
47897 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
47898 (elf_machine_lazy_rel): Likewise.
47899 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
47900 (elf_machine_lazy_rel): Likewise.
47901 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47902 (elf_machine_lazy_rel): Likewise.
47903
68577918
UD
479042011-09-28 Ulrich Drepper <drepper@gmail.com>
47905
47906 * nss/nss_files/files-init.c (_nss_files_init): Use static
47907 initialization for all the *_traced_file variables.
47908
68822d74
AS
479092011-09-28 Andreas Schwab <schwab@redhat.com>
47910
47911 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47912
2056100b
RM
479132011-09-27 Roland McGrath <roland@hack.frob.com>
47914
47915 [BZ #13226]
47916 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
47917
32c76b63
AS
479182011-09-27 Andreas Schwab <schwab@redhat.com>
47919
47920 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47921 Reread the line before reparsing it.
47922
bf972c9d
AS
479232011-09-26 Andreas Schwab <schwab@redhat.com>
47924
47925 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
47926
e057a1b5
JM
479272011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
47928 Maxim Kuvyrkov <maxim@codesourcery.com>
47929 Joseph Myers <joseph@codesourcery.com>
47930
47931 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
47932 if needed for __stack_chk_guard.
47933
bc7e1c36
RM
479342011-09-19 Roland McGrath <roland@hack.frob.com>
47935
ecb1482f
RM
47936 * sysdeps/posix/spawni.c (script_execute): Always define it.
47937 It will be optimized away if unused.
47938 (maybe_script_execute): New function.
47939 (__spawni): Call it.
47940
bc7e1c36
RM
47941 * Makerules: Don't include tls.make.
47942 (config-tls): Always set to thread.
47943 * tls.make.c: File removed.
47944
1c3b002b
MF
479452011-09-19 Mike Frysinger <vapier@gentoo.org>
47946
47947 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
47948 * config.make.in (CPPFLAGS-config): New substituted variable.
47949
2840865d
UD
479502011-09-15 Ulrich Drepper <drepper@gmail.com>
47951
88738eb6
UD
47952 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
47953
cbf645a6 47954 [BZ #13192]
2840865d
UD
47955 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
47956 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
47957
b402e91a
RM
479582011-09-15 Roland McGrath <roland@hack.frob.com>
47959
47960 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
47961 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
47962 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47963 (CALL_FAIL): Likewise.
47964 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
47965 (CALL_FAIL): Macro removed.
47966 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
47967
4c1a1f71
UD
479682011-09-15 Ulrich Drepper <drepper@gmail.com>
47969
47970 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
47971 for __FINITE_MATH_ONLY__ == 1.
47972
edc121be
AS
479732011-09-15 Andreas Schwab <schwab@redhat.com>
47974
47975 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
47976 __ieee754_sqrt instead of sqrt.
47977 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
47978 __ieee754_sqrtf instead of sqrtf.
47979 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
47980 __floorf instead of floorf.
47981 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
47982 __floorf, __truncf instead of floorf, truncf.
47983
cd205654
UD
479842011-09-14 Ulrich Drepper <drepper@gmail.com>
47985
ee4d0315
UD
47986 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
47987
cd205654
UD
47988 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
47989 __extern_always_inline.
47990 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
47991 32-bit.
47992
48b67d71
AS
479932011-09-14 Andreas Schwab <schwab@redhat.com>
47994
47995 * elf/rtld.c (dl_main): Also relocate in dependency order when
47996 doing symbol dependency testing.
47997
1ae12c75
AS
479982011-09-13 Andreas Schwab <schwab@linux-m68k.org>
47999
48000 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48001 Always define `refsym'.
48002
995a80df
AS
480032011-09-13 Andreas Schwab <schwab@redhat.com>
48004
e529793b
AS
48005 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
48006 (__FD_ELT): Renamed from __FDELT.
48007 * misc/bits/select2.h (__FD_ELT): Likewise.
48008 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
48009 __FD_MASK instead of __FDELT, __FDMASK.
48010 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48011 Likewise.
48012 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48013 Likewise.
48014
52d4fef8
AS
48015 * elf/Makefile (gen-ldd): Fix pattern.
48016
995a80df
AS
48017 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
48018 (init_tls): Likewise.
48019
8682f8b0
UD
480202011-09-12 Ulrich Drepper <drepper@gmail.com>
48021
48022 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
48023
de82006d
AS
480242011-09-12 Andreas Schwab <schwab@redhat.com>
48025
a7c8e6a1
AS
48026 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
48027 `struct cmsghdr *' instead of `void *'.
48028 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
48029 Likewise.
48030
0f31fe77
AS
480312011-09-11 Andreas Schwab <schwab@linux-m68k.org>
48032
48033 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
48034 if non-absolute.
48035 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
48036 ldd_rewrite_script.
0f31fe77 48037
32b4c839
UD
480382011-09-11 Ulrich Drepper <drepper@gmail.com>
48039
83cd1420
UD
48040 * configure.in: Remove --with-tls option.
48041 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
48042 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
48043 out in case it is missing.
48044 * sysdeps/ia64/elf/configure.in: Likewise.
48045 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
48046 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
48047 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
48048 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
48049 * sysdeps/sh/elf/configure.in: Likewise.
48050 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
48051 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48052 * sysdeps/x86_64/elf/configure.in: Likewise.
48053 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
48054 * sysdeps/mach/hurd/tls.h: Likewise.
48055
633f745d
UD
48056 [BZ #13067]
48057 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
48058
f318beb8
UD
48059 [BZ #13090]
48060 * configure.in: Fix use of AC_INIT.
48061
32b4c839
UD
48062 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
48063
3ce1f295
UD
480642011-09-10 Ulrich Drepper <drepper@gmail.com>
48065
bb016596
UD
48066 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
48067 __set_errno.
8e58439c
UD
48068 * malloc/hooks.c: Likewise.
48069
aebae053 48070 [BZ #11929]
02d46fc4
UD
48071 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
48072 variables statically.
48073 (narenas): Initialize.
48074 (list_lock): Initialize.
bb016596
UD
48075 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
48076 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
48077 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
48078 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
48079 Add initializers to main_arena and mp_.
48080 (malloc_state): Remove pagesize member. Change all users to use
48081 GLRO(dl_pagesize).
48082
48083 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
48084 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
48085 is always initialized.
48086
22a89187
UD
48087 * malloc/malloc.c: Removed unused configurations and dead code.
48088 * malloc/arena.c: Likewise.
48089 * malloc/hooks.c: Likewise.
02d46fc4 48090 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 48091
d063d164
UD
48092 * include/tls.h: Removed. USE___THREAD must always be defined.
48093 * bits/libc-tsd.h: Don't handle !USE___THREAD.
48094 * elf/dl-libc.c: Likewise.
48095 * elf/dl-tsd.c: Likewise.
48096 * include/errno.h: Likewise.
48097 * include/netdb.h: Likewise.
48098 * include/resolv.h: Likewise.
48099 * inet/herrno-loc.c: Likewise.
48100 * inet/herrno.c: Likewise.
48101 * malloc/arena.c: Likewise.
48102 * malloc/hooks.c: Likewise.
48103 * malloc/malloc.c: Likewise.
48104 * resolv/res-state.c: Likewise.
48105 * resolv/res_libc.c: Likewise.
48106 * sysdeps/i386/dl-machine.h: Likewise.
48107 * sysdeps/ia64/dl-machine.h: Likewise.
48108 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48109 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48110 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48111 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48112 * sysdeps/sh/dl-machine.h: Likewise.
48113 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48114 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48115 * sysdeps/unix/i386/sysdep.S: Likewise.
48116 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
48117 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
48118 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
48119 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
48120 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
48121 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
48122 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
48123 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48124 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48125 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
48126 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48127 * sysdeps/x86_64/dl-machine.h: Likewise.
48128 * tls.make.c: Likewise.
48129
3ce1f295
UD
48130 * configure.in: Remove --with-__thread option. Make tests for
48131 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
48132 tls_model attribute fail if no support is available. Remove
48133 USE_IN_LIBIO.
48134 * Makeconfig: Adjust for dropped configure option. All features are
48135 now mandatory.
48136 * Makerules: Likewise.
48137 * Versions.def: Likewise.
48138 * argp/argp-fmtstream.c: Likewise.
48139 * argp/argp-fmtstream.h: Likewise.
48140 * argp/argp-help.c: Likewise.
48141 * assert/assert.c: Likewise.
48142 * config.h.in: Likewise.
48143 * config.make.in: Likewise.
48144 * configure: Likewise.
48145 * configure.in: Likewise.
48146 * csu/Versions: Likewise.
48147 * csu/init.c: Likewise.
48148 * elf/tst-audit2.c: Likewise.
48149 * elf/tst-tls10.c: Likewise.
48150 * elf/tst-tls10.h: Likewise.
48151 * elf/tst-tls11.c: Likewise.
48152 * elf/tst-tls12.c: Likewise.
48153 * elf/tst-tls14.c: Likewise.
48154 * elf/tst-tlsmod11.c: Likewise.
48155 * elf/tst-tlsmod12.c: Likewise.
48156 * elf/tst-tlsmod13.c: Likewise.
48157 * elf/tst-tlsmod13a.c: Likewise.
48158 * elf/tst-tlsmod14a.c: Likewise.
48159 * elf/tst-tlsmod15b.c: Likewise.
48160 * elf/tst-tlsmod16a.c: Likewise.
48161 * elf/tst-tlsmod16b.c: Likewise.
48162 * elf/tst-tlsmod7.c: Likewise.
48163 * elf/tst-tlsmod8.c: Likewise.
48164 * elf/tst-tlsmod9.c: Likewise.
48165 * gmon/gmon.c: Likewise.
48166 * grp/fgetgrent_r.c: Likewise.
48167 * grp/putgrent.c: Likewise.
48168 * hurd/fopenport.c: Likewise.
48169 * include/libc-symbols.h: Likewise.
48170 * include/tls.h: Likewise.
48171 * intl/gettextP.h: Likewise.
48172 * intl/loadinfo.h: Likewise.
48173 * locale/global-locale.c: Likewise.
48174 * locale/localeinfo.h: Likewise.
48175 * mach/devstream.c: Likewise.
48176 * malloc/arena.c: Likewise.
48177 * malloc/set-freeres.c: Likewise.
48178 * misc/err.c: Likewise.
48179 * misc/getttyent.c: Likewise.
48180 * misc/mntent_r.c: Likewise.
48181 * posix/getopt.c: Likewise.
48182 * posix/wordexp.c: Likewise.
48183 * pwd/fgetpwent_r.c: Likewise.
48184 * resolv/Versions: Likewise.
48185 * resolv/res_hconf.c: Likewise.
48186 * shadow/fgetspent_r.c: Likewise.
48187 * shadow/putspent.c: Likewise.
48188 * stdio-common/printf_fphex.c: Likewise.
48189 * stdio-common/tmpfile.c: Likewise.
48190 * stdlib/abort.c: Likewise.
48191 * stdlib/fmtmsg.c: Likewise.
48192 * sunrpc/auth_unix.c: Likewise.
48193 * sunrpc/clnt_perr.c: Likewise.
48194 * sunrpc/clnt_tcp.c: Likewise.
48195 * sunrpc/clnt_udp.c: Likewise.
48196 * sunrpc/clnt_unix.c: Likewise.
48197 * sunrpc/openchild.c: Likewise.
48198 * sunrpc/svc_simple.c: Likewise.
48199 * sunrpc/svc_tcp.c: Likewise.
48200 * sunrpc/svc_udp.c: Likewise.
48201 * sunrpc/svc_unix.c: Likewise.
48202 * sunrpc/xdr.c: Likewise.
48203 * sunrpc/xdr_array.c: Likewise.
48204 * sunrpc/xdr_rec.c: Likewise.
48205 * sunrpc/xdr_ref.c: Likewise.
48206 * sunrpc/xdr_stdio.c: Likewise.
48207
1248c1c4
PB
482082011-09-09 Ulrich Drepper <drepper@gmail.com>
48209
48210 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48211
482122011-07-03 Andreas Jaeger <aj@suse.de>
48213
48214 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
48215 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
48216 regenerate with gen-libm-tests.pl.
48217
482182010-05-12 Petr Baudis <pasky@suse.cz>
48219
48220 [BZ #11589]
48221 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
48222 around j0() zero points by switching to j1().
48223 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48224 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48225 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48226 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48227
f22e1074
UD
482282011-09-09 Ulrich Drepper <drepper@gmail.com>
48229
f19009c1
UD
48230 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
48231 instead of 0.
48232 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 48233 instead of 0.
f19009c1
UD
48234 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48235 Patch in part by Pavel Roskin <proski@gnu.org>.
48236
3f8cc204
UD
48237 [BZ #13138]
48238 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
48239 realloc.
48240 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
48241 Free memory block if necessary.
48242
f22e1074
UD
48243 [BZ #12847]
48244 * libio/genops.c (INTDEF): For string streams the _lock pointer can
48245 be NULL. Don't lock in this case.
48246
0a2349f9
RM
482472011-09-09 Roland McGrath <roland@hack.frob.com>
48248
48249 * elf/elf.h (ELFOSABI_GNU): New macro.
48250 (ELFOSABI_LINUX): Define to that.
48251
f3cdd467
DZ
482522011-07-29 Denis Zaitceff <zaitceff@gmail.com>
48253
48254 * string/strncat.c (strncat): Undef the symbol in case it has been
48255 defined in bits/string.h.
48256
74718d13
UD
482572011-09-09 Ulrich Drepper <drepper@gmail.com>
48258
633e9e0f
UD
48259 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
48260
0a2349f9 48261 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
48262 link map.
48263
f9924780
AJ
482642011-08-17 Andreas Jaeger <aj@suse.de>
48265
48266 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
48267
7f5517aa
PP
482682011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
48269 Ian Lance Taylor <iant@google.com>
48270
48271 * math/libm-test.inc (lround_test): New testcase.
48272 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
48273
762011fe
UD
482742011-09-08 Ulrich Drepper <drepper@gmail.com>
48275
92963737
UD
48276 * Makefile: Remove support for automatic cvs check-ins.
48277 * Makerules: Likewise.
48278 * config.make.in: Likewise.
48279 * configure.in: Likewise.
48280 * intl/Makefile: Likewise.
48281 * locale/Makefile: Likewise.
48282 * po/Makefile: Likewise.
48283 * posix/Makefile: Likewise.
48284 * sysdeps/gnu/Makefile: Likewise.
48285 * sysdeps/mach/hurd/Makefile: Likewise.
48286 * sysdeps/sparc/sparc32/Makefile: Likewise.
48287
b0727fd8
JS
48288 [BZ #13118]
48289 * posix/Makefile (bug-regex32-ENV): Define.
48290 Patch by John Stanley <jpsinthemix@verizon.net>.
48291
a0f33f99
UD
48292 * misc/Makefile (headers): Add bits/select2.h.
48293 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
48294 * misc/bits/select2.h: New file.
48295 * include/bits/select2.h: New file.
48296 * debug/Makefile (routines): Add fdelt_chk.
48297 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
48298 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
48299 FD_ISSET.
48300 * debug/fdelt_chk.c: New file.
48301
762011fe
UD
48302 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
48303 * wcsmbs/test-wmemcmp.c: Likewise.
48304 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 48305 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
48306
483072011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48308
48309 * string/Makefile (strop-tests): Add memcmp.
48310 * string/test-wmemcmp.c: New file.
48311 * string/test-memcmp.c: Add wmemcmp support.
48312
7f513ec8
RM
483132011-09-08 Roland McGrath <roland@hack.frob.com>
48314
0442afb4
RM
48315 [BZ #13153]
48316 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
48317 2011-07-19 change.
48318
7f513ec8
RM
48319 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
48320 garbage value in a __mach_port_mod_refs call in the cases of the
48321 task-self and thread-self ports.
48322
a12b2239
ST
483232011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48324
48325 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
48326
610f9ab4
AS
483272011-09-08 Andreas Schwab <schwab@redhat.com>
48328
7f513ec8 48329 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 48330
48882a1a
LD
483312011-09-07 Ulrich Drepper <drepper@gmail.com>
48332
b49865be
UD
48333 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
48334
fdc86bc9
UD
48335 * elf/dl-libc.c (dlerror_run): Pass back error code from
48336 dl_catch_error.
48337
c966526a
UD
48338 [BZ #13123]
48339 * elf/dl-load.c (lose): Free l_origin if it is valid.
48340
48882a1a
LD
48341 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
48342 names.
48343 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
48344 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48345 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48346 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48347 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
48348 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
48349
77a2a8b4
AZ
483502011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48351
48352 * sysdeps/powerpc/fpu/e_hypot.c: New file.
48353 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
48354 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
48355 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
48356 * sysdeps/powerpc/fpu/k_cosf.c: New file.
48357 * sysdeps/powerpc/fpu/k_sinf.c: New file.
48358 * sysdeps/powerpc/fpu/s_cosf.c: New file.
48359 * sysdeps/powerpc/fpu/s_sinf.c: New file.
48360 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
48361 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
48362
24f579d8
AM
483632011-08-15 Alan Modra <amodra@gmail.com>
48364
48365 [BZ #13092]
48366 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
48367 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
48368 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
48369 ppc_mcount to static-only-routines.
48370 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
48371 __mcount_internal.
48372 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
48373 __mcount_internal with usual JUMPTARGET. Remove useless nop.
48374
3d4837df
UD
483752011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
48376
48377 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
48378 for finite and infinity parameters.
48379
22700377
WS
483802011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48381
48382 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
48383 and add nop instructions for throughput optimization.
48384 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48385
5025581e
WS
483862011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
48387
48388 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
48389 aligned copy for power7 with vector-scalar instructions.
48390 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
48391
08a300c9
L
483922011-07-24 H.J. Lu <hongjiu.lu@intel.com>
48393
48394 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
48395 AVX check.
48396
59178ef9
AS
483972011-09-07 Andreas Schwab <schwab@redhat.com>
48398
48399 [BZ #13144]
48400 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
48401 last change.
48402
e38ba7ab
UD
484032011-09-07 Ulrich Drepper <drepper@gmail.com>
48404
48405 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48406 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
48407 syscall wrapper around clock_gettime in __vdso_clock_gettime.
48408 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
48409 clock_gettime.
48410
d53a73ac
UD
484112011-09-06 Ulrich Drepper <drepper@gmail.com>
48412
fc8bffcc
UD
48413 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
48414 Forgot to demangle the pointer.
48415
ceaa0c5d
UD
48416 * sysdeps/i386/sysdep.h: Define atom_text_section.
48417 * sysdeps/x86_64/sysdep.h: Likewise.
48418 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
48419 section with atom_text_section.
48420 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48421 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48422 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
48423 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48424 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
48425
a77d3c17
UD
48426 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
48427 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
48428 already be defined. Change to take two parameters and don't assign
48429 result to variable. Adjust all users.
48430 Define INTERNAL_GETTIME if not already defined.
48431 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
48432 call.
48433 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
48434 HAVE_CLOCK_GETTIME_VSYSCALL.
48435 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
48436
d53a73ac
UD
48437 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
48438 gettimeofday vsyscall, just use time.
48439
a8f84144
AS
484402011-09-06 Andreas Schwab <schwab@redhat.com>
48441
48442 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
48443 <errno.h>.
48444
ef606249
UD
484452011-09-06 Ulrich Drepper <drepper@gmail.com>
48446
48447 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
48448 syscall on x86-64.
48449 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
48450 syscall.
48451 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
48452 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
48453 syscall if possible.
48454
6585cb60
UD
484552011-09-05 Ulrich Drepper <drepper@gmail.com>
48456
48457 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
48458 e_ident. Don't pass to find_mapsXX.
48459 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
48460
a5f524e4
LD
484612011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48462
48463 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48464 strchr-sse2-no-bsf strrchr-sse2-no-bsf
48465 * sysdeps/x86_64/multiarch/strchr.S: Update.
48466 Check bit_slow_BSF bit.
48467 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48468 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
48469 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
48470
554881ef
UD
484712011-09-05 Ulrich Drepper <drepper@gmail.com>
48472
d96de963
UD
48473 [BZ #13134]
48474 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
48475 before glibc 2.15.
48476 (tryshell): Define.
48477 (__spawni): Change last parameter to be flag. Test
48478 SPAWN_XFLAGS_USE_PATH flag to use path or not.
48479 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
48480 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
48481 * posix/spawni.c: Likewise.
48482 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
48483 * posix/spawnp.c: Likewise. Change normal version to use
48484 SPAWN_XFLAGS_USE_PATH.
48485 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
48486 SPAWN_XFLAGS_TRY_SHELL.
48487
d48e5868
UD
48488 [BZ #13150]
48489 * posix/glob.h: Remove gcc 1.x support.
48490
554881ef
UD
48491 [BZ #13068]
48492 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
48493
693fb948
LD
484942011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48495
48496 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48497 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
48498 strrchr-sse2-bsf
48499 * sysdeps/i386/i686/multiarch/strchr.S: New file.
48500 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
48501 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
48502 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
48503 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
48504 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
48505
1b48c537
UD
485062011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48507
49d42c37
UD
48508 * sysdeps/x86_64/wcscmp.S: New file.
48509
1b48c537
UD
48510 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
48511 wcscmp-c wcscmp-sse2
48512 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
48513 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
48514 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
48515 * wcsmbs/wcscmp.c: Allow renaming.
48516
15c95c5d
DM
485172011-09-05 David S. Miller <davem@davemloft.net>
48518
48519 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
48520 stack slot, rather than the struct return pointer slot.
48521 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
48522 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
48523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
48524 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
48525
2f0ad8f3
UD
485262011-09-05 Ulrich Drepper <drepper@gmail.com>
48527
d88ae418
UD
48528 * po/ja.po: Update from translation team.
48529
2f0ad8f3
UD
48530 [BZ #13144]
48531 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
48532 kernel in 64-bit binaries.
48533
5f4318d1
DM
485342011-09-01 David S. Miller <davem@davemloft.net>
48535
48536 * elf/elf.h (HWCAP_SPARC_*): Move to..
48537 * sysdeps/sparc/sysdep.h: this new file and add new values.
48538 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
48539 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
48540 _DL_HWCAP_COUNT to 24.
48541 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
48542 entries.
48543 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
48544 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
48545 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
48546 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
48547 instead of magic constants.
48548 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48549
3ba57516
DM
485502011-08-31 David S. Miller <davem@davemloft.net>
48551
48552 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
48553 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
48554 Reimplement to do errno handling inline.
48555 (SYSCALL_ERROR_HANDLER): New macro.
48556 (__SYSCALL_STRING): Do not do errno handling in asm.
48557 (__CLONE_SYSCALL_STRING): Delete.
48558 (__INTERNAL_SYSCALL_STRING): Delete.
48559 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
48560 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
48561 (PSEUDO): Reimplement to do errno handling inline.
48562 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
48563 (SYSCALL_ERROR_HANDLER): New macro.
48564 (__SYSCALL_STRING): Do not do errno handling in asm.
48565 (__CLONE_SYSCALL_STRING): Delete.
48566 (__INTERNAL_SYSCALL_STRING): Delete.
48567 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
48568 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
48569 i386.
48570 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
48571 (inline_syscall*): Add 'err' argument.
48572 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
48573 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
48574 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
48575 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
48576
48577 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
48578 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48579
2bc17433
AS
485802011-08-30 Andreas Schwab <schwab@redhat.com>
48581
48582 * elf/rtld.c (dl_main): Relocate objects in dependency order.
48583
fbeb5f4d
JO
485842011-08-29 Jiri Olsa <jolsa@redhat.com>
48585
48586 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
48587 directive.
48588
ad69cc26
DM
485892011-08-24 David S. Miller <davem@davemloft.net>
48590
48591 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
48592
39dd69df
AS
485932011-08-24 Andreas Schwab <schwab@redhat.com>
48594
48595 * elf/Makefile: Add rules to build and run unload8 test.
48596 * elf/unload8.c: New file.
48597 * elf/unload8mod1.c: New file.
48598 * elf/unload8mod1x.c: New file.
48599 * elf/unload8mod2.c: New file.
48600 * elf/unload8mod3.c: New file.
48601
48602 * elf/dl-close.c (_dl_close_worker): Reset private search list if
48603 it wasn't used.
48604
2c0b250a
DM
486052011-08-23 David S. Miller <davem@davemloft.net>
48606
48607 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
48608 subtract stack bias.
48609 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
48610 %sp not %fp in calculations.
48611 (_JMPBUF_UNWINDS_ADJ): Likewise.
48612
22044b48
DM
48613 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
48614 (aio_suspend): Call it to force an exception region around the
48615 AIO_MISC_WAIT() invocation.
48616
2cae4995
AS
486172011-08-23 Andreas Schwab <schwab@redhat.com>
48618
48619 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
48620 backslash.
48621
873a772e
AJ
486222011-07-04 Aurelien Jarno <aurelien@aurel32.net>
48623
48624 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
48625 protection macro.
48626 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
48627 and <dl-machine.h>.
48628 (Elf64_FuncDesc): Remove.
48629
25ad0df1
DM
486302011-08-22 David S. Miller <davem@davemloft.net>
48631
48632 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
48633 sigaltstack check, add missing cfi directives.
48634 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
48635 missing cfi directives, and sigaltstack handling.
48636
e888bcbe
AS
486372011-08-16 Andreas Schwab <schwab@redhat.com>
48638
48639 [BZ #11724]
48640 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
48641 object is seen twice.
48642 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48643
48644 * elf/Makefile (distribute): Add tst-initorder2.c.
48645 (tests): Add tst-initorder2.
48646 (modules-names): Add tst-initorder2a tst-initorder2b
48647 tst-initorder2c tst-initorder2d. Add rules to build them.
48648 ($(objpfx)tst-initorder2.out): New rule.
48649 * elf/tst-initorder2.c: New file.
48650 * elf/tst-initorder2.exp: New file.
48651
87162f46
AS
486522011-08-22 Andreas Schwab <schwab@redhat.com>
48653
70538b7f
AS
48654 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
48655
f55ffe58
AS
48656 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
48657 dependencies back to end of function.
48658
87162f46
AS
48659 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48660 $(elfobjdir)/ld.so.
48661
91b392a4
UD
486622011-08-21 Ulrich Drepper <drepper@gmail.com>
48663
48664 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
48665 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
48666 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
48667 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
48668 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
48669 of __vdso_gettimeofday.
48670 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
48671 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
48672 attribute_hidden.
48673 (_libc_vdso_platform_setup): Remove initialization of
48674 __vdso_gettimeofday and __vdso_time.
48675
5c43483f
UD
486762011-08-20 Ulrich Drepper <drepper@gmail.com>
48677
775a77e7
UD
48678 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
48679 and fgetc_unlocked.
48680 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
48681 getc_unlocked.
89f447ed 48682
49c74ba9
UD
48683 * elf/dl-open.c (add_to_global): Report additions to the global scope
48684 for LD_DEBUG=scopes.
48685 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 48686 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 48687
5c43483f
UD
48688 [BZ #13114]
48689 * stdio-common/Makefile (tests): Add bug24.
48690 * stdio-common/bug24.c: New file.
48691
a101b025
AJ
486922011-08-19 Andreas Jaeger <aj@suse.de>
48693
48694 [BZ #13114]
48695 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
48696 non-existant file when using close-on-exec mode.
48697
c88f1766
UD
486982011-08-20 Ulrich Drepper <drepper@gmail.com>
48699
0276a718
UD
48700 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
48701 the very first instruction.
48702
c88f1766
UD
48703 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
48704 the CFI state in the end.
48705 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
48706 inclusion of dl-trampoline.h.
48707 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
48708
51ccffa0
AS
487092011-08-19 Andreas Schwab <schwab@redhat.com>
48710
94d7165f
AS
48711 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48712 expectations for long double.
48713
51ccffa0
AS
48714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48715 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48716
fd708658 487172011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
48718
48719 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48720 artificual limit depends upon the system page size.
48721
44f0a71e
UD
487222011-08-17 Ulrich Drepper <drepper@gmail.com>
48723
48724 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48725 * resolv/Makefile: Define CFLAGS-libresolv.
48726
8de79a24
AS
487272011-08-17 Andreas Schwab <schwab@redhat.com>
48728
48729 * nss/makedb.c (compute_tables): Make variables used in nested
48730 function static.
48731
27724598
UD
487322011-08-17 Ulrich Drepper <drepper@gmail.com>
48733
c5305d88
UD
48734 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48735 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48736 if buffer was too small.
48737
27724598
UD
48738 * elf/pldd.c (main): Attach to all threads in the process.
48739 Rewrite /proc handling to use *at functions.
48740
076fe015
UD
487412011-08-16 Ulrich Drepper <drepper@gmail.com>
48742
174baab3
UD
48743 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48744 specifies first scope to show.
48745 (dl_open_worker): Update callers. Move printing scope of new
48746 object to before the relocation.
44f0a71e 48747 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
48748 * sysdeps/generic/ldsodefs.h: Update declaration.
48749
076fe015
UD
48750 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48751 string for the scope number.
48752
a60df2c3
UD
487532011-08-14 Ulrich Drepper <drepper@gmail.com>
48754
48755 * nscd/servicescache.c (cache_addserv): Make sure written is always
48756 initialized.
48757
5e4287d1
RM
487582011-08-14 Roland McGrath <roland@hack.frob.com>
48759
85ae0589
RM
48760 * sysdeps/i386/i486/bits/atomic.h
48761 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48762 statement expression, so as to suppress "set but not used" warning.
48763 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48764
69f63097
RM
48765 * string/strncat.c (STRNCAT): Use prototype definition.
48766
675456ef
RM
48767 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48768 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48769 -Iprograms here.
48770 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48771 (localedef-modules): Add localedef.
48772 (locale-modules): Add locale.
48773
5e4287d1
RM
48774 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48775 * elf/rtld.c (dl_main): Invert order of assignment in last change,
48776 to avoid a warning.
48777
9c96ff23
DM
487782011-08-14 David S. Miller <davem@davemloft.net>
48779
48780 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48781 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48782
f9ddf089
UD
487832011-08-13 Ulrich Drepper <drepper@gmail.com>
48784
44f0a71e 48785 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
48786 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48787 * elf/rtld.c (dl_main): Set l_name of vDSO.
48788 Call _dl_show_scope when DL_DEBUG_SCOPES.
48789 (process_dl_debug): Recognize scopes flag and also set it for all.
48790 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48791 Declare _dl_show_scope.
48792
1dc27704
UD
48793 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48794 (do_dlopen): Pass caller_dlopen to dl_open.
48795 (__libc_dlopen_mode): Initialize caller_dlopen.
48796
f9ddf089
UD
48797 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48798 of libc. Make tolower call locale-independent. Optimize a bit by
48799 using isdigit instead of isalnum.
48800 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48801
9ac533d3
UD
488022011-08-12 Ulrich Drepper <drepper@gmail.com>
48803
48804 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
48805 was a dependency or dynamically loaded.
48806
89edf2e9
UD
488072011-08-11 Ulrich Drepper <drepper@gmail.com>
48808
8e999d29
UD
48809 * intl/l10nflist.c: Allow architecture-specific pop function.
48810 * sysdeps/x86_64/l10nflist.c: New file.
48811
89edf2e9
UD
48812 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
48813 classification.
48814
14d96785
AS
488152011-08-10 Andreas Schwab <schwab@redhat.com>
48816
48817 * include/dirent.h: Add libc_hidden_proto for scandirat and
48818 scandirat64. Don't declare __scandirat64.
48819 * dirent/scandirat.c: Add libc_hidden_def.
48820 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
48821 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
48822
6761ac04
DM
488232011-08-10 David S. Miller <davem@davemloft.net>
48824
48825 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
48826 enum.
48827 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48828 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48829 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48830
c55fbd1e
UD
488312011-08-09 Ulrich Drepper <drepper@gmail.com>
48832
48833 * Versions.def [libc]: Add GLIBC_2.15.
48834 * dirent/Makefile (routines): Add scandirat and scandirat64.
48835 * dirent/Versions [libc]: Export scandirat and scandirat64 for
48836 GLIBC_2.15.
48837 * dirent/dirent.h: Declare scandirat and scandirat64.
48838 * dirent/scandirat.c: New file.
48839 * dirent/scandirat64.c: New file.
48840 * sysdeps/wordsize-64/scandirat.c: New file.
48841 * sysdeps/wordsize-64/scandirat64.c: New file.
48842 * dirent/opendir.c: Define opendirat.
48843 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
48844 using scandirat.
48845 * dirent/scandir64.c: Adjust for scandir.c change.
48846 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
48847 __scandirat64, and __scandir_cancel_handler.
48848 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
48849 additional parameter and use openat instead of open (outside of ld.so).
48850 Add new __opendir as wrapper around __opendirat.
48851 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
48852 here without requiring old scandirat implementation.
48853
879165f2
UD
488542011-08-08 Ulrich Drepper <drepper@gmail.com>
48855
48856 * dirent/scandir.c (cancel_handler): Renamed to
48857 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
48858 defined. Adjust users.
48859 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
48860 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
48861
cb7e923b
UD
488622011-08-04 Ulrich Drepper <drepper@gmail.com>
48863
16292edd
UD
48864 * string/test-string.h (IMPL): Use __STRING to expand name and then
48865 stringify it.
48866
cb7e923b
UD
48867 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
48868 of cleanups.
48869
cff82933
LD
488702011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48871
48872 * string/Makefile: Update.
48873 (strop-tests): Append strncat.
48874 * string/test-wcscmp.c: New file.
48875 New comprehensive test for wcscmp.
48876 * string/test-strcmp.c: Update.
48877 (WIDE): New define.
48878
9be9bfcc
AS
488792011-07-22 Andreas Schwab <schwab@redhat.com>
48880
48881 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
48882 line.
48883
2e96f1c7
AS
488842011-07-26 Andreas Schwab <schwab@redhat.com>
48885
48886 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48887 encoding to ACE if AI_IDN.
48888
85188888
JJ
488892011-08-01 Jakub Jelinek <jakub@redhat.com>
48890
48891 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
48892 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
48893
5fa16e9b
LD
488942011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48895
48896 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
48897 Fix overflow bug in strncat.
48898 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
48899
48900 * string/test-strncat.c: Update.
48901 Add new tests for checking overflow bugs.
48902
489032011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48904
48905 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48906 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
48907 * sysdeps/i386/i686/multiarch/strcat.S: New file.
48908 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
48909 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
48910 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
48911 * sysdeps/i386/i686/multiarch/strncat.S: New file.
48912 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
48913 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
48914
48915 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
48916 (USE_AS_STRCAT): Define.
48917 Add strcat and strncat support.
48918 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48919
8c1a459f
AS
489202011-07-25 Andreas Schwab <schwab@redhat.com>
48921
48922 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
48923 __n bigger than INT_MAX+1.
48924 (__strncmp_g): Likewise.
48925
bba33c28
UD
489262011-07-23 Ulrich Drepper <drepper@gmail.com>
48927
798be72d
UD
48928 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
48929 * libio/stido.h: Likewise.
48930
8accd4dc
UD
48931 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
48932 (AF_NFC): Define.
48933 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
48934 (AF_NFC): Define.
48935
cbff0d96
UD
48936 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
48937 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48938 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48939 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
48940 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48941
9191c04a
UD
48942 [BZ #13021]
48943 * scripts/test-installation.pl: Don't expect libnss_test1 to be
48944 installed.
48945
bba33c28
UD
48946 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
48947 typo.
48948 (_dl_x86_64_save_sse): Likewise.
48949
90f139dd
UD
489502011-07-22 Ulrich Drepper <drepper@gmail.com>
48951
1aae088a
UD
48952 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
48953 OSXSAVE.
48954 (_dl_x86_64_save_sse): Likewise.
48955
8e2045f5
UD
48956 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
48957
90f139dd
UD
48958 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
48959
1d002f25
AS
489602011-07-21 Andreas Schwab <schwab@redhat.com>
48961
48962 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
48963 change.
48964 (_dl_x86_64_save_sse): Use correct AVX check.
48965
21137f89
UD
489662011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48967
48968 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
48969 bug in strncpy/strncat.
48970 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
48971
a65c0b7a
UD
489722011-07-21 Ulrich Drepper <drepper@gmail.com>
48973
48974 * string/tester.c (test_strcat): Add tests for different alignments
48975 of source and destination.
48976 (test_strncat): Likewise.
48977
6986b98a
UD
489782011-07-20 Ulrich Drepper <drepper@gmail.com>
48979
90bb2039
UD
48980 [BZ #12852]
48981 * posix/glob.c (glob): Check passed in values before using them in
48982 expressions to avoid some overflows.
48983 (glob_in_dir): Likewise.
48984
5644ef54
UD
48985 [BZ #13007]
48986 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
48987 check for AVX enablement so that we don't crash with old kernels and
48988 new hardware.
48989 * elf/tst-audit4.c: Add same checks here.
48990 * elf/tst-audit6.c: Likewise.
48991
48992 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 48993
bfc9dc9b
AS
489942011-07-09 Andreas Schwab <schwab@linux-m68k.org>
48995
48996 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
48997
702e64bb
UD
489982011-07-20 Ulrich Drepper <drepper@gmail.com>
48999
49000 * po/cs.po: Update from translation team.
49001 * po/bg.po: Likewise.
49002
295e904f
MP
490032011-07-12 Marek Polacek <mpolacek@redhat.com>
49004
49005 * misc/sys/cdefs.h: Add support for const attribute.
49006 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
49007 to gnu_dev_{major,minor,makedev} functions.
49008
3ff94596
MP
490092011-07-20 Marek Polacek <mpolacek@redhat.com>
49010
49011 * intl/dcigettext.c (get_output_charset): Add missing bracket.
49012
28b59fca
AS
490132011-07-20 Andreas Schwab <schwab@redhat.com>
49014
49015 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
49016 strlen results.
49017
19df733e
AK
490182011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49019
49020 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
49021 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
49022 register in order to avoid conflicts with the soft frame pointer
49023 being held in r11 when necessary.
49024 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
49025 (INTERNAL_VSYSCALL_NCS): Likewise.
49026
c8835729
MP
490272011-07-14 Marek Polacek <mpolacek@redhat.com>
49028
49029 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
49030 * elf/dl-fini.c (_dl_fini): Adjust caller.
49031 * elf/dl-close.c (_dl_close_worker): Likewise.
49032 * sysdeps/generic/ldsodefs.h: Adjust declaration.
49033
b902330c
MP
490342011-07-15 Marek Polacek <mpolacek@redhat.com>
49035
8991e135
MP
49036 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
49037 "aux_cache->nlibs < 0".
49038
b902330c
MP
49039 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
49040 in the reload-count case.
49041
99710781
LD
490422011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49043
49044 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49045 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
49046 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
49047 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
49048 * sysdeps/x86_64/multiarch/strcat.S: New file.
49049 * sysdeps/x86_64/multiarch/strncat.S: New file.
49050 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
49051 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
49052 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
49053 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
49054 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
49055 (USE_AS_STRCAT): Define.
49056 Add strcat and strncat support.
49057 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49058 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
49059 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
49060 * string/strncat.c: Update.
49061 (USE_AS_STRNCAT): Define.
49062 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49063 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
49064 and i7.
49065 * sysdeps/x86_64/multiarch/init-arch.h
49066 (bit_Prefer_PMINUB_for_stringop): New.
49067 (index_Prefer_PMINUB_for_stringop): Likewise.
49068 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
49069 bit_Prefer_PMINUB_for_stringop.
49070
7dc6bd90
UD
490712011-07-19 Ulrich Drepper <drepper@gmail.com>
49072
49073 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
49074 buffer64.
49075 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
49076 of casting of buffer.
49077 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
49078 buffer32 and buffer64.
49079 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
49080 writes instead of casting of buffer.
49081 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
49082 buffer32.
49083 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
49084 casting of buffer.
49085
e0e72284
AS
490862011-07-19 Andreas Schwab <schwab@redhat.com>
49087
49088 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
49089
feb1eb0b
UD
490902011-07-19 Ulrich Drepper <drepper@gmail.com>
49091
49092 * nscd/nscd.c (termination_handler): Don't do anything for a database
49093 if it has not yet been initialized.
49094
298711ff
UD
490952011-07-18 Ulrich Drepper <drepper@gmail.com>
49096
49097 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49098
490992011-07-15 Marek Polacek <mpolacek@redhat.com>
49100
49101 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49102
f9d68389
UD
491032011-07-18 Ulrich Drepper <drepper@gmail.com>
49104
49105 * po/nl.po: Update from translation team.
49106 * po/sv.po: Likewise.
49107
db290cf5
RM
491082011-07-16 Roland McGrath <roland@hack.frob.com>
49109
49110 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
49111 now disallowed by GCC.
5c550700 49112
fd5e21c7
RM
49113 * configure.in (use-default-link): Default to yes if a test -shared
49114 link meets our qualifications.
49115 * configure: Regenerated.
49116
5c550700
RM
49117 * config.make.in (output-format): New variable.
49118 * configure.in: Check for ld --print-output-format support.
49119 * configure: Regenerated.
49120 * Makerules ($(common-objpfx)format.lds)
49121 [$(output-format) != unknown]: Just use $(output-format),
49122 instead of the linker-script munging.
49123
9fa2c032
RM
491242011-07-14 Roland McGrath <roland@hack.frob.com>
49125
a6928d51
RM
49126 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
49127 of $(common-objpfx)shlib.lds.
49128 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
49129
661607b3
RM
49130 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
49131 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
49132
9fa2c032
RM
49133 * configure.in (-z relro check): Adjust test code to add a large
49134 writable data section after it.
49135 * configure: Regenerated.
49136
defe9061
RM
491372011-07-11 Roland McGrath <roland@hack.frob.com>
49138
49139 * configure.in (-z relro check): Fix test code to make the variable
49140 truly const.
49141 * configure: Regenerated.
49142
319b9ad4
UD
491432011-07-11 Ulrich Drepper <drepper@gmail.com>
49144
49145 * nscd/nscd.h (struct traced_file): Define.
49146 (struct database_dyn): Remove inotify_descr, reset_res, and filename
49147 elements. Add traced_files.
49148 (inotify_fd): Declare.
49149 (register_traced_file): Declare.
49150 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
49151 (inotify_fd): Export.
49152 (resolv_conf_descr): Remove.
49153 (nscd_init): Move inotify descriptor creation to main.
49154 Don't register files for notification here.
49155 (register_traced_file): New function.
49156 (invalidate_cache): Don't use reset_res to determine whether to call
49157 res_init, go through the list of registered files.
49158 (main_loop_poll): The inotify descriptors are now stored in the
49159 structures for the traced files.
49160 (main_loop_epoll): Likewise
49161 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
49162 to __nss_disable_nscd.
49163 * nscd/cache.c (prune_cache): There is no single inotify descriptor
49164 for a database anymore. Check the records for all the registered
49165 files instead.
49166 * nss/Makefile (libnss_files-routines): Add files-init.
49167 (libnss_db-routines): Add db-init.
49168 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
49169 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
49170 * nss/nss_db/db-init.c: New file.
49171 * nss/nss_files/files-init.c: New file.
49172 * nss/nsswitch.c (nss_load_library): New function. Broken out of
49173 __nss_lookup_function.
49174 (__nss_lookup_function): Call nss_load_library.
49175 (nss_load_all_libraries): New function.
49176 (__nss_disable_nscd): Take parameter with callback function for files
49177 to register. Set is_nscd. Load all the DSOs for the NSS modules
49178 used for the cached services.
49179 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
49180 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
49181 options for features to all the files in nscd.
49182
49183 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
49184
23bee3e8
RM
491852011-07-10 Roland McGrath <roland@hack.frob.com>
49186
49187 * csu/elf-init.c (__libc_csu_init): Comment typo.
49188
46a5b7f0
UD
491892011-07-09 Ulrich Drepper <drepper@gmail.com>
49190
49191 * po/pl.po: Update from translation team.
49192 * po/ja.po: Likewise.
49193 * po/ru.po: Likewise.
49194 * po/ko.po: Likewise.
49195 * po/fr.po: Likewise.
49196
d30cf5bb
RM
491972011-07-09 Roland McGrath <roland@hack.frob.com>
49198
113ddea4
RM
49199 * configure.in (.ctors/.dtors header and trailer check):
49200 Use an empirical test on a built program.
49201 * configure: Regenerated.
49202
574920b4
RM
49203 * configure.in (-z relro check): Use an empirical test on a built DSO.
49204 Detect, but do not require, on ia64.
49205 * configure: Regenerated.
49206
d30cf5bb
RM
49207 * configure.in (READELF): Find it with AC_CHECK_TOOL.
49208 Update tests that use readelf to use $READELF instead.
49209 * configure: Regenerated.
49210
8538fdb3
UD
492112011-07-08 Ulrich Drepper <drepper@gmail.com>
49212
49213 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
49214 if the result is not used.
49215
04d08991
AJ
492162011-07-05 Andreas Jaeger <aj@suse.de>
49217
49218 [BZ#9696]
49219 * stdlib/tst-strtod.c: Add testcase.
49220
de283087
AD
492212011-07-07 Ulrich Drepper <drepper@gmail.com>
49222
4e5f31c8 49223 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 49224 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
49225 The latter has a higher limit. Take additional parameter to pass to
49226 the new function.
49227 (__pathconf): Pass file to __statfs_link_max.
49228 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
49229 __statfs_link_max.
49230 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
49231 __statfs_link_max.
49232
de283087
AD
49233 [BZ #12868]
49234 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
49235 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49236 Handle Lustre.
49237 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
49238 (__statfs_filesize_max): Likewise.
49239 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
49240
c75fa153
AJ
492412011-07-05 Andreas Jaeger <aj@suse.de>
49242
49243 * resolv/res_comp.c (dn_skipname): Remove unused variable.
49244
1a544854
UD
492452011-07-06 Marek Polacek <mpolacek@redhat.com>
49246
49247 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
49248 `status' variable.
49249 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
49250 Likewise.
49251
6f0eec67
UD
492522011-07-04 H.J. Lu <hongjiu.lu@intel.com>
49253
49254 * Makefile (strop-tests): Add strncat.
49255 * string/test-strncat.c: New file.
49256
aae30307
UD
492572011-06-30 Marek Polacek <mpolacek@redhat.com>
49258
49259 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
49260
c0cfb5eb
UD
492612011-06-21 Andreas Jaeger <aj@suse.de>
49262
49263 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
49264 Copy rule from iconvdata/Makefile.
49265
01636b21
UD
492662011-07-06 Ulrich Drepper <drepper@gmail.com>
49267
49268 [BZ #12922]
49269 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
49270 but no long options are defined, just return 'W'.
49271
9895c8bc
UD
492722011-06-22 Marek Polacek <mpolacek@redhat.com>
49273
49274 [BZ #9696]
49275 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
49276
5d4cf042
UD
492772011-07-06 Ulrich Drepper <drepper@gmail.com>
49278
49279 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
49280 netgroups to read.
960e5535 49281 (innetgr): Likewise.
5d4cf042 49282
751eb97e
RM
492832011-07-05 Roland McGrath <roland@hack.frob.com>
49284
49285 * config.make.in (install_root): Default to $(DESTDIR).
49286
f15f1e45
UD
492872011-07-05 Ulrich Drepper <drepper@gmail.com>
49288
49289 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
49290
4e34ac6a
RM
492912011-07-02 Roland McGrath <roland@hack.frob.com>
49292
5e9b6af4
RM
49293 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
49294
84f9ea0f
RM
49295 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
49296 containing directory rather than embedding absolute directory names.
49297
ea5ee9f7
RM
49298 * scripts/check-local-headers.sh: Rewritten using awk.
49299 Match by word, not by line. Print error messages for matches.
49300 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
49301
1b74661a
RM
49302 * Makerules [shlib-lds-flags empty]:
49303 ($(common-objpfx)libc_pic.opts): New target.
49304 ($(common-objpfx)libc_pic.os.clean): New target.
49305 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
49306
49307 * config.make.in (OBJCOPY): New variable.
49308 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
49309 * configure: Regenerated.
49310
f781ef40
RM
49311 * config.make.in (use-default-link): New variable.
49312 * configure.in (use_default_link): Grok --with-default-link to set it.
49313 * configure: Regenerated.
49314 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
49315 (shlib-lds, shlib-lds-flags): Define to empty.
49316
2d4fa81e
RM
49317 * Makerules (shlib-lds): New variable.
49318 (shlib-lds-flags): New variable.
49319 (build-shlib, build-moduile, build-module-asneeded): Use it.
49320 ($(common-objpfx)libc.so): Use $(shlib-lds).
49321 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
49322 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
49323
31fffa6b
RM
49324 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
49325 DT_FLAGS/DT_FLAGS_1 with zero flags.
49326
4e34ac6a
RM
49327 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
49328 linker script munging.
49329
fcfc776b
UD
493302011-07-02 Ulrich Drepper <drepper@gmail.com>
49331
49332 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
49333 as 128-bit value.
49334 * crypt/sha512.c (sha512_process_block): Perform total addition using
49335 128-bit if possible.
49336 (__sha512_finish_ctx): Likewise.
49337 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
49338 as 64-bit value.
49339 * crypt/sha256.c (SWAP64): Define.
49340 (sha256_process_block): Perform total addition using 64-bit if
49341 possible.
49342 (__sha256_finish_ctx): Likewise.
49343
99231d9a
UD
493442011-07-01 Ulrich Drepper <drepper@gmail.com>
49345
49346 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
49347 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49348 * nscd/hstcache.c (cache_addhst): Likewise.
49349 * nscd/grpcache.c (cache_addgr): Likewise.
49350 * nscd/aicache.c (addhstaiX): Likewise
49351 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
49352
445b4a53
TK
493532011-07-01 Thorsten Kukuk <kukuk@suse.de>
49354
49355 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
49356 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49357 * nscd/hstcache.c (cache_addhst): Likewise.
49358 * nscd/grpcache.c (cache_addgr): Likewise.
49359 * nscd/aicache.c (addhstaiX): Likewise
49360
6d4d8e8e
AS
493612011-07-01 Andreas Schwab <schwab@redhat.com>
49362
49363 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
49364 domain only when needed.
49365
89f654c5
AS
493662011-06-30 Andreas Schwab <schwab@redhat.com>
49367
49368 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
49369 is always restored.
49370
cf3b23ff
UD
493712011-06-29 Ulrich Drepper <drepper@gmail.com>
49372
49373 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
49374 are re-adding the entry.
49375 * nscd/servicescache.c (cache_addserv): Likewise.
49376
751626f9
AJ
493772011-06-30 Aurelien Jarno <aurelien@aurel32.net>
49378
49379 * sysdeps/generic/dl-irel.h: fix protection against multiple
49380 inclusions.
49381 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
49382
9113ea1f
UD
493832011-06-28 Ulrich Drepper <drepper@gmail.com>
49384
5c0b8d90
UD
49385 [BZ #12935]
49386 * malloc/memusage.sh: Fix quoting in message.
49387 * debug/xtrace.sh: Likewise.
49388
9113ea1f
UD
49389 * configure.in: Remove support for --experimental-malloc option, make
49390 it the default.
49391 * config.make.in: Likewise.
49392 * malloc/Makefile: Likewise.
49393
a4172181
AS
493942011-06-27 Andreas Schwab <schwab@redhat.com>
49395
49396 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
49397 two-byte characters.
49398
78a7eee7
RM
493992011-06-27 Roland McGrath <roland@hack.frob.com>
49400
62bede13
RM
49401 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
49402 AC_CACHE_CHECK invocation.
49403 * configure: Regenerated.
49404
78a7eee7
RM
49405 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
49406
5ce33a62
UD
494072011-06-27 Ulrich Drepper <drepper@gmail.com>
49408
034807a9
UD
49409 [BZ #12350]
49410 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
49411 bit from old_res_options.
49412
4902da17
UD
49413 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
49414
5ce33a62
UD
49415 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
49416 value type for setfct.
49417
c2344f56
L
494182011-06-23 H.J. Lu <hongjiu.lu@intel.com>
49419
49420 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49421 __gettimeofday instead of gettimeofday.
49422
68468076
UD
494232011-06-26 Ulrich Drepper <drepper@gmail.com>
49424
49425 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
49426
acb0d739
L
494272011-06-24 H.J. Lu <hongjiu.lu@intel.com>
49428
49429 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
49430
49431 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
49432 info.
49433
8912479f
L
494342011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49435
49436 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49437 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49438 strcpy-sse2-unaligned strncpy-sse2-unaligned
49439 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
49440 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
49441 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
49442 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
49443 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
49444 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
49445 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
49446 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
49447 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
49448 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
49449 (STRCPY): Support SSE2 and SSSE3 versions.
49450
d5495a11
UD
494512011-06-24 Ulrich Drepper <drepper@gmail.com>
49452
49453 [BZ #12874]
49454 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
49455 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
49456 kernels which artificially limit size of requests.
49457
0b1cbaae
L
494582011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49459
49460 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49461 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49462 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
49463 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
49464 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
49465 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
49466 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
49467 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
49468 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
49469 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
49470 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
49471 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
49472 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
49473 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
49474 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
49475 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49476 Enable unaligned load optimization for Intel Core i3, i5 and i7
49477 processors.
49478 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
49479 Define.
49480 (index_Fast_Unaligned_Load): Define.
49481 (HAS_FAST_UNALIGNED_LOAD): Define.
49482
07f494a0
MP
494832011-06-23 Marek Polacek <mpolacek@redhat.com>
49484
49485 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
49486
fa3fc0fe
UD
494872011-06-22 Ulrich Drepper <drepper@gmail.com>
49488
49489 [BZ #12907]
49490 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
49491 until it is clear that the information is realy needed.
49492 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
49493
e12df166
AS
494942011-06-22 Andreas Schwab <schwab@redhat.com>
49495
49496 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
49497
852eb34d
UD
494982011-06-22 Ulrich Drepper <drepper@gmail.com>
49499
84e2a551
UD
49500 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49501 /sys/devices/system/cpu/online if it is usable.
49502
852eb34d
UD
49503 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
49504 reading the information from the /proc filesystem to once a second.
49505
6e502e19
UD
495062011-06-21 Andreas Jaeger <aj@suse.de>
49507
49508 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
49509 NULL after inclusion of kernel headers.
49510
75d39ff2
UD
495112011-06-21 Ulrich Drepper <drepper@gmail.com>
49512
51f9aa6a
UD
49513 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
49514 calls to internal_setent.
49515
c0244a9d
UD
49516 [BZ #12885]
49517 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
49518 addresses using gethostbyname4_r ignore IPv4 addresses.
49519
c5e3c2ae
UD
49520 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
49521 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
49522
75d39ff2
UD
49523 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
49524
42675c6f
DM
495252011-06-20 David S. Miller <davem@davemloft.net>
49526
49527 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
49528 inclusions.
49529 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
49530
49531 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
49532 (elf_irel): Use it.
49533 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
49534 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
49535 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
49536 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
49537 * sysdeps/x86_64/dl-irel.h: Likewise.
49538
49539 * elf/dl-runtime.c: Use elf_ifunc_invoke.
49540 * elf/dl-sym.c: Likewise.
49541
57912a71
UD
495422011-06-15 Ulrich Drepper <drepper@gmail.com>
49543
49544 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
49545 need to dereference resplen2.
49546
ee22793d
AS
495472011-06-14 Andreas Schwab <schwab@redhat.com>
49548
49549 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
49550
a9e836b0
UD
495512011-06-15 Ulrich Drepper <drepper@gmail.com>
49552
77fb9117
UD
49553 * Makeconfig: Define vardbdir and inst_vardbdir.
49554 * nss/Makefile: Add rules to install db-Makefile.
49555
40c1b22c
UD
49556 * nss/nss_db/db-XXX.c: Cleanup.
49557
9f2da732
UD
49558 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
49559 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
49560 GLIBC_PRIVATE.
49561 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
49562 * nss/makedb.c: Implement -g option to specify that value strings
49563 are generated and should not be added to table iterated over for
49564 get*ent calls.
49565 * nss/nss_db/db-initgroups.c: New file.
49566
82e9a1f7
UD
49567 * nss/getent.c: Add support for initgroups lookups through getgrouplist
49568 interface.
49569
c41af17e
UD
49570 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
49571 (internal_getgrouplist): Adjust to name change.
49572 Update use_initgroups_entry if this is not the first call.
49573 * nss/databases.def: Add initgroups entry.
49574
a9e836b0
UD
49575 * nss/makedb.c (compute_tables): Check result of multiple hash table
49576 sizes to minimize maximum chain length.
49577
2666d441
UD
495782011-06-14 Ulrich Drepper <drepper@gmail.com>
49579
49580 * Versions.def: Add entry for libnss_db.
49581 * shlib-versions: Likewise.
49582 * nss/Makefile: Add rules to build libnss_db.
49583 * nss/Versions: Add libnss_db information. Organize libnss_files
49584 entries better.
49585 * nss/db-Makefile: Add gshadow support. Change rules for the new
49586 makedb progra. Some minor improvements to generate smaller files.
49587 * nss/nss_db/nss_db.h: Move NSS database header data structures to
49588 here from...
49589 * nss/makedb.c: ...here.
49590 Improve database format to be smaller and require less memory at
49591 runtime.
49592 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
49593 db anymore.
49594 * nss/nss_db/db-netgrp.c: Likewise.
49595 * nss/nss_db/db-open.c: Likewise.
49596 * nss/nss_files/flies-XXX.x: Adjust comments.
49597 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
49598 * nss/nss_files/files-grp.c: Likewise.
49599 * nss/nss_files/files-hosts.c: Likewise.
49600 * nss/nss_files/files-network.c: Likewise.
49601 * nss/nss_files/files-proto.c: Likewise.
49602 * nss/nss_files/files-pwd.c: Likewise.
49603 * nss/nss_files/files-rpc.c: Likewise.
49604 * nss/nss_files/files-service.c: Likewise.
49605 * nss/nss_files/files-sgrp.c: Likewise.
49606 * nss/nss_files/files-spwd.c: Likewise.
49607 * nss/nss_db/db-alias.c: Removed.
49608 * nss/nss_db/dummy-db.h: Removed.
49609
9ee76b5a
UD
496102011-06-02 Ulrich Drepper <drepper@gmail.com>
49611
49612 * nss/makedb.c: Rewritten to not use database library.
49613 * nss/Makefile: Update to build new makedb program.
49614
c71ca1f8
AJ
496152011-06-14 Andreas Jaeger <aj@suse.de>
49616
49617 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
49618 memset declaration.
49619
3154bfb8
UD
496202011-06-10 Andreas Schwab <schwab@redhat.com>
49621
49622 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
49623 tmpbuf.
49624
b350afab
RM
496252011-06-10 Roland McGrath <roland@hack.frob.com>
49626
decd4e50
RM
49627 * Makerules (shlib.lds): Fail if the linker script comes out empty.
49628 * elf/Makefile ($(objpfx)ld.so): Likewise.
49629
5615eaf2
RM
49630 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
49631 Don't list ld.so twice in dependencies.
49632
49633 * posix/bug-regex31.c: Include <stdlib.h>.
49634
49635 * nscd/hstcache.c (cache_addhst): Remove unused variable.
49636
49637 * nis/nss_compat/compat-spwd.c
49638 (getspent_next_nss_netgr): Remove unused variable.
49639 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
49640
49641 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
49642 nonmembers" output to use the right array.
49643
49644 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
49645
49646 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
49647
49648 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
49649 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
49650 * catgets/gencat.c (read_input_file): Likewise.
49651 * locale/programs/locarchive.c (enlarge_archive): Likewise.
49652
49653 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
49654 variable definition inside #if's controlling its use.
49655
49656 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
49657
49658 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
49659
49660 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
49661
49662 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
49663 unreachable code.
49664
49665 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
49666
b68e08db
RM
49667 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
49668 * configure: Regenerated.
49669
b350afab
RM
49670 * Makerules: Revert last change.
49671 * elf/Makefile: Likewise.
49672
28368601
RM
496732011-06-09 Roland McGrath <roland@hack.frob.com>
49674
49675 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
49676 * elf/Makefile ($(objpfx)librtld.os): Likewise.
49677 (reloc-link): Likewise.
49678
11988f8f
UD
496792011-06-09 Ulrich Drepper <drepper@gmail.com>
49680
49681 * elf/Makefile: Add rules to build pldd.
49682 * elf/pldd.c: New file.
49683 * elf/pldd-xx.c: New file.
49684
e80fab37
UD
496852011-06-07 Ulrich Drepper <drepper@gmail.com>
49686
49687 * version.h: Update for 2.15 development version.
49688
9b849836
DM
496892011-06-07 David S. Miller <davem@davemloft.net>
49690
49691 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
49692 ifuncs.
49693 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
49694 elf_machine_lazy_rel): Likewise.
49695 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49696 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
49697 elf_machine_lazy_rel): Likewise.
49698 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
49699 dl_hwcap via passed in argument.
49700 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
49701 Likewise.
49702
5a31b283
AK
497032011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49704
49705 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
49706
069e52f8
RM
497072011-06-06 Roland McGrath <roland@hack.frob.com>
49708
49709 [BZ #12849]
49710 * manual/fdl-1.1.texi: New file, verbatim from:
49711 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49712 * manual/lgpl-2.1.texi: New file, verbatim from:
49713 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49714 * manual/Makefile (licenses): New variable, list those new file names.
49715 (texis): Use it.
49716 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49717
49718 * manual/fdl.texi: File removed.
49719 * manual/lesser.texi: File removed.
49720 * manual/libc.texinfo (Copying, Documentation License):
49721 Use new @include file names, put @appendix directive before @include.
49722
f16846a5
JJ
497232011-06-04 Jakub Jelinek <jakub@redhat.com>
49724
49725 [BZ #12841]
49726 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49727 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49728 (mq_open): Add __NTH.
49729
3d29045b
L
497302011-06-02 H.J. Lu <hongjiu.lu@intel.com>
49731
49732 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49733 Assume Intel Core i3/i5/i7 processor if AVX is available.
49734
8c297311
UD
497352011-05-31 Ulrich Drepper <drepper@gmail.com>
49736
49737 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49738 typo.
49739
c8fc0c91
UD
497402011-05-31 Andreas Schwab <schwab@redhat.com>
49741
49742 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49743 memory. Use alloca_account. Fix memory leak when retrying.
49744
5b27a807
UD
497452011-05-31 Ulrich Drepper <drepper@gmail.com>
49746
356f8bc6
UD
49747 * version.h (RELEASE): Bump for 2.14 release.
49748 * include/features.h (__GLIBC_MINOR__): Bump to 14.
49749
5b27a807
UD
49750 * config.make.in (RANLIB): Remove entry.
49751
01f16ab0
UD
497522011-05-30 Ulrich Drepper <drepper@gmail.com>
49753
41fce8bd
UD
49754 * po/Makefile (po-sed-cmd): Add ksh to extensions.
49755 (libc.pot): Work around missing support for .ksh extension in xgettext.
49756
4769ae77
UD
49757 [BZ #12684]
49758 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49759 if both request failed.
49760 (send_dg): In case of server errors clear resplen or *resplen2.
49761
6b1e7d19
UD
49762 [BZ #12454]
49763 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49764 when there are multiple maps.
49765 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49766 (_dl_fini): Remove test here.
49767
01f16ab0
UD
49768 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49769
b1ebd700
UD
497702011-05-29 Ulrich Drepper <drepper@gmail.com>
49771
7ae22829
UD
49772 [BZ #12350]
49773 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49774 bit from old_res_options.
49775 (gaih_inet): Likewise.
49776
553149f6 49777 [BZ #11099]
18a84741 49778 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
49779 as signed.
49780
652ffab1
UD
49781 * resolv/res_init.c (res_setoptions): Make the code more compact.
49782
16985fd0
UD
49783 [BZ #11558]
49784 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49785 set RES_USEVC.
49786
0464f746
UD
49787 [BZ #11634]
49788 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49789
7d17596c
UD
49790 * malloc/malloc.h: Mark malloc hook variables as deprecated.
49791
cf6bbbd7
UD
49792 [BZ #11781]
49793 * malloc/malloc.h: Declare malloc hook variables as volatile.
49794
13f1ab36
UD
49795 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49796 in last patch.
49797
b1ebd700
UD
49798 [BZ #11799]
49799 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 49800 raise in the comment.
80e2212d
UD
49801 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49802 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49803 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 49804
ce67228d
UD
498052011-05-28 Ulrich Drepper <drepper@gmail.com>
49806
8887a920
UD
49807 [BZ #12811]
49808 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
49809 grow the buffers more if it already has to be sufficient.
49810 (build_wcs_upper_buffer): Likewise.
49811 * posix/regexec.c (check_matching): Likewise.
49812 (clean_state_log_if_needed): Likewise.
49813 (extend_buffers): Don't enlarge buffers beyond size of the input
49814 buffer.
49815 Patches mostly by Emil Wojak <emil@wojak.eu>.
49816 * posix/bug-regex32.c: New file.
49817 * posix/Makefile (tests): Add bug-regex32.
49818
4f031072
UD
49819 * locale/findlocale.c (_nl_find_locale): Return right away if
49820 _nl_explode_name failed.
49821 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
49822
d0478f0c
UD
49823 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
49824
de81b246
UD
49825 * debug/xtrace.sh: Unify messages.
49826 * malloc/memusage.sh: Likewise.
49827
c738465a
UD
49828 [BZ #12813]
49829 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
49830 time symbol from vDSO. Substitute with vsyscall if not available.
49831 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
49832 __vdso_time.
49833
f1f929d7
UD
49834 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
49835 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
49836 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
49837 Add sendmmsg and internal_sendmmsg.
49838 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
49839 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
49840 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
49841
ce67228d
UD
49842 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
49843 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
49844 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
49845
e57420c6
UD
498462011-05-27 Ulrich Drepper <drepper@gmail.com>
49847
a8509ca5
UD
49848 [BZ #12813]
49849 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
49850 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
49851 available.
49852 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
49853 __vdso_getcpu.
49854
e57420c6
UD
49855 [BZ #12814]
49856 * iconvdata/Makefile (tests): Add bug-iconv9.
49857 * iconvdata/bug-iconv9.c: New file.
49858
4d07db15
AS
498592011-05-27 Andreas Schwab <schwab@redhat.com>
49860
49861 [BZ #12814]
49862 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
49863
ea486f69
JJ
498642011-05-25 Jakub Jelinek <jakub@redhat.com>
49865
49866 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49867 (struct user_regs_struct): Change intcs field back to cs.
49868
6f038433
UD
498692011-05-25 Ulrich Drepper <drepper@gmail.com>
49870
49871 * po/ja.po: Update from translation team.
49872
67f86a25
UD
498732011-05-23 Ulrich Drepper <drepper@gmail.com>
49874
49875 [BZ #12795]
49876 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
49877 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
49878
def7fbd6
AS
498792011-05-20 Andreas Schwab <schwab@redhat.com>
49880
49881 * stdlib/longlong.h: Update from GCC.
49882
f50ef8f1
AS
498832011-05-23 Andreas Schwab <schwab@redhat.com>
49884
49885 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
49886 parameter name.
49887 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
49888 Add parameter name.
49889 (__sysconf): Pass it down.
49890
de7ce8f1
UD
498912011-05-22 Ulrich Drepper <drepper@gmail.com>
49892
f2962a71
UD
49893 [BZ #12671]
49894 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
49895 some situations.
49896 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
49897 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
49898 add in in __libc_use_alloca calls. Adjust callers.
49899 (glob): Use malloc in some situations.
49900
de7ce8f1
UD
49901 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
49902 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
49903 pltexit.
49904
aec84f53
UD
499052011-05-21 Ulrich Drepper <drepper@gmail.com>
49906
05bb4a68
UD
49907 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
49908 and CLOCK_BOOTTIME_ALARM.
49909
7ea72f99
UD
49910 [BZ #12782]
49911 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
49912 is returned.
49913
7e4afad5
UD
49914 * string/_strerror.c (__strerror_r): Print negative errors as signed
49915 numbers.
49916
8e211fec
UD
49917 [BZ #12777]
49918 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
49919 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
49920 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
49921
f7d82dc9
UD
49922 * configure.in: Fix typo in redirection and correct removal of test
49923 files in two cases.
49924
cc9e536d
UD
49925 [BZ #12788]
49926 * locale/setlocale.c (new_composite_name): Fix test to check for
49927 identical name of all categories.
49928
aec84f53
UD
49929 [BZ #12792]
49930 * libio/filedoalloc.c (local_isatty): New function.
49931 (_IO_file_doallocate): Use local_isatty.
49932 * stdio-common/perror.c (perror): In case a new stream is used
49933 forward the stream error.
49934 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
49935 error flag.
49936
78e64fdc
RT
499372011-05-20 Ulrich Drepper <drepper@gmail.com>
49938
34a9094f
UD
49939 [BZ #11869]
49940 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
49941 alloca.
49942 * include/alloca.h (extend_alloca_account): Define.
49943
78e64fdc
RT
49944 [BZ #11857]
49945 * posix/regex.h: Fix comments with documentation of user-accessible
49946 fields after compilation and describe correct free'ing of pattern
49947 after re_compile_pattern.
49948 Patch by Reuben Thomas <rrt@sc3d.org>.
49949
457bddfc
RA
499502011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
49951
49952 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
49953 and -mno-altivec to prevent the compiler from using Altivec and/or
49954 VSX instructions when the corresponding registers are not available.
49955
a4527b51
AS
499562011-05-19 Andreas Schwab <schwab@redhat.com>
49957
49958 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
49959
ed690b2f
UD
499602011-05-19 Ulrich Drepper <drepper@gmail.com>
49961
49962 * libio/freopen.c (freopen): Use __dup2, not dup2.
49963 * libio/freopen64.c (freopen64): Likewise.
49964
8db73634
L
499652011-05-17 H.J. Lu <hongjiu.lu@intel.com>
49966
49967 [BZ #12775]
49968 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
49969 * math/Makefile (tests): Add test-powl.
49970 (CFLAGS-test-powl.c): Define.
49971 * math/test-powl.c: New file.
49972
0a197a9d
L
499732011-05-16 H.J. Lu <hongjiu.lu@intel.com>
49974
49975 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
49976
ee30c380
UD
499772011-05-17 Ulrich Drepper <drepper@gmail.com>
49978
49979 [BZ #11837]
49980 * iconvdata/gb18030.c: Update to GB18020-2005.
49981
6ce75379
UD
499822011-05-16 Ulrich Drepper <drepper@gmail.com>
49983
a4b89fd8
AR
49984 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
49985 RE_SYNTAX_POSIX_AWK): Update to match recent development.
49986 Patch by Aharon Robbins <arnold@skeeve.com>.
49987
ea389b12
UD
49988 [BZ #11892]
49989 * stdlib/putenv.c (putenv): Don't always create copy of the variable
49990 on the stack.
49991
68a3f91f
UD
49992 [BZ #11895]
49993 * misc/pselect.c (__pselect): Handle timeout value errors hidden
49994 through underflows.
49995
15cc7dd1
UD
49996 [BZ #12766]
49997 * misc/error.c (error_at_line): Ensure file_name and old_file_name
49998 point to strings before performing equality test for error_one_per_line
49999 mode.
50000
f3799213
UD
50001 [BZ #11697]
50002 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
50003
d79a9c94
UD
50004 [BZ #11820]
50005 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50006 (struct user_fpregs_struct): Avoid __uint*_t types.
50007
56e5eb46
UD
50008 [BZ #6420]
50009 * malloc/mtrace.c (tr_where): Add additional parameter to point to
50010 symbol info. Use it instead of calling _dl_addr locally.
50011 (lock_and_info): New function.
50012 (tr_freehook): Call lock_and_info and pass symbol info as additional
50013 parameter to tr_where.
50014 (tr_mallochook): Likewise.
50015 (tr_reallochook): Likewise.
50016 (tr_memalignhook): Likewise.
50017
6ce75379
UD
50018 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
50019 used and couldn't be at all thread-safe.
50020
f8a3b5bf
UD
500212011-05-15 Ulrich Drepper <drepper@gmail.com>
50022
94b7cc37
UD
50023 * libio/freopen.c (freopen): Don't close old file descriptor
50024 before the new one is opened. Instead dup the new file descriptor
50025 to the old one after the new stream is created.
50026 * libio/freopen64.c (freopen64): Likewise.
50027 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
50028 * libio/fileops.c (_IO_new_file_close_it): Handle new
50029 _IO_FLAGS2_NOCLOSE flag.
50030 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
50031 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
50032 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
50033 _IO_FLAGS2_NOCLOSE flag.
50034 * include/unistd.h: Add hidden_proto for dup3.
50035 Define __have_dup3.
50036 * io/dup3.c: Define hidden symbol.
50037 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
50038
bd25564e
UD
50039 [BZ #7101]
50040 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
50041 when an incomplete long option is used.
50042 * posix/tst-getopt_long1.c: New file.
50043 * posix/Makefile (tests): Add tst-getopt_long1.
50044
c84cfef4
UD
50045 [BZ #10138]
50046 * scripts/config.guess: Update from autoconf-2.68.
50047 * scripts/config.sub: Likewise.
50048
3b85df27
UD
50049 [BZ #10157]
50050 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
50051 tests into ...
50052 (has_cpuclock): ...this. New function.
50053 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
50054 macro here based on has_cpuclock code.
50055
15a856b1
UD
50056 [BZ #10149]
50057 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50058 First byte (not low byte) is now always NUL.
50059 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
50060
05f399e6
UD
50061 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50062 Use non-cancelable interfaces.
50063
10a52685 50064 [BZ #9809]
94ecc67d
UD
50065 * locale/iso-639.def: Add entry for Sorani.
50066
f8a3b5bf
UD
50067 [BZ #11901]
50068 * include/stdlib.h: Move include protection to the right place.
50069 Define abort_msg_s. Declare __abort_msg with it.
50070 * stdlib/abort.c (__abort_msg): Adjust type.
50071 * assert/assert.c (__assert_fail_base): New function. Majority
50072 of code from __assert_fail. Allocate memory for __abort_msg with
50073 mmap.
50074 (__assert_fail): Now call __assert_fail_base.
50075 * assert/assert-perr.c: Remove bulk of implementation. Use
50076 __assert_fail_base.
50077 * include/assert.hL Declare __assert_fail_base.
50078 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
50079 mmap.
50080 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
50081
1af4e298
UD
500822011-05-14 Ulrich Drepper <drepper@gmail.com>
50083
f8a3b5bf 50084 [BZ #11952]
d26dfc60
MG
50085 [BZ #12453]
50086 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
50087 until all modules are registered in the DTV.
50088 * elf/Makefile: Add rules to build and run tst-tls19.
50089 * elf/tst-tls19.c: New file.
50090 * elf/tst-tls19mod1.c: New file.
50091 * elf/tst-tls19mod2.c: New file.
50092 * elf/tst-tls19mod3.c: New file.
50093 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
50094
2fc54d6f
UD
50095 [BZ #12083]
50096 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
50097 correctly.
50098
98d76b46
UD
50099 [BZ #12601]
50100 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
50101 two-byte sequence errors.
50102 * iconvdata/Makefile (tests): Add bug-iconv8.
50103 * iconvdata/bug-iconv8.c: New file.
50104
da3c19ef
UD
50105 [BZ #12626]
50106 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
50107 buf2 definition.
50108
ca408c15
UD
50109 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
50110
d6f67f7d
UD
50111 [BZ #12432]
50112 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
50113 (dummy_getcfa): New function.
50114 (init): Get _Unwind_GetCFA address, use dummy if not found.
50115 (backtrace_helper): In recursion check, also check whether CFA changes.
50116 (__backtrace): Completely initialize arg.
50117
1af4e298 50118 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
50119 storing incomplete byte sequence in state object. Avoid testing for
50120 guaranteed too small input if we know there is enough data available.
1af4e298 50121
da62f81b
AS
501222011-05-11 Andreas Schwab <schwab@redhat.com>
50123
50124 * Makeconfig (+link-pie): Indent.
50125 * Rules (binaries-pie): Define if $(have-fpie) and
50126 $(build-shared).
50127 (binaries-shared): Also filter out $(binaries-pie).
50128 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
50129 * nscd/Makefile (others-pie): Add nscd.
50130 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
50131 ($(objpfx)nscd): Remove command override.
50132 * login/Makefile (others-pie): Add pt_chown.
50133 ($(objpfx)pt_chown): Remove command override.
50134 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
50135 remove command overrides.
50136
fcabc0f8
UD
501372011-05-13 Ulrich Drepper <drepper@gmail.com>
50138
20030ae6
UD
50139 * libio/tst_putwc.c: Fix error messages.
50140
fcabc0f8
UD
50141 [BZ #12724]
50142 * libio/fileops.c (_IO_new_file_close_it): Always flush when
50143 currently writing and seek to current position when not.
50144 * libio/Makefile (tests): Add bug-fclose1.
50145 * libio/bug-fclose1.c: New file.
50146
320a5dc0
PB
501472011-05-12 Ulrich Drepper <drepper@gmail.com>
50148
50149 [BZ #12511]
50150 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
50151 don't set DF_1_NODELETE here.
50152 (do_lookup_x): When entering new entry test for copy relocation
50153 and if necessary set DF_1_NODELETE flag.
50154 * elf/tst-unique4.cc: New file.
50155 * elf/tst-unique4.h: New file.
50156 * elf/tst-unique4lib.cc: New file.
50157 * elf/Makefile: Add rules to build and run tst-unique4.
50158 Patch by Piotr Bury <pbury@goahead.com>.
50159
22836f52
UD
501602011-05-11 Ulrich Drepper <drepper@gmail.com>
50161
f574184a
UD
50162 [BZ #12052]
50163 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
50164
e1fb097f
UD
50165 [BZ #12625]
50166 * misc/mntent_r.c (addmntent): Flush the stream after the output
50167
22836f52
UD
50168 [BZ #12393]
50169 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
50170 (is_trusted_path_normalize): Skip initial colon. Append slash
50171 to empty buffer. Duplicate is_trusted_path code but allow
50172 constructed patch to be prefix.
50173 (is_dst): Allow $ORIGIN followed by /.
50174 (_dl_dst_substitute): Correct clearing of check_for_trusted.
50175 Correct testing of result of is_trusted_path_normalize
50176 (decompose_rpath): Fix warning.
50177
7b3b0b2a
UD
501782011-05-10 Ulrich Drepper <drepper@gmail.com>
50179
50180 [BZ #11257]
50181 * grp/initgroups.c (internal_getgrouplist): When we found the service
50182 list through the initgroups entry in nsswitch.conf do not always
50183 continue on a successful lookup. Don't always use the
eac80ce2 50184 __nss_group_database value if it is set.
7b3b0b2a
UD
50185 * nss/nsswitch.conf (initgroups): Change action for successful db
50186 lookup to continue for compatibility.
50187
2a81eaa5
UD
501882011-05-09 Ulrich Drepper <drepper@gmail.com>
50189
be97a69e
UD
50190 [BZ #11532]
50191 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
50192 and CP774 modules.
50193 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
50194 and CP774 modules.
50195 * iconvdata/tst-tables.sh: Likewise.
50196 * iconvdata/cp770.c: New file.
50197 * iconvdata/cp771.c: New file.
50198 * iconvdata/cp772.c: New file.
50199 * iconvdata/cp773.c: New file.
50200 * iconvdata/cp774.c: New file.
50201 * iconvdata/testdata/CP770: New file.
50202 * iconvdata/testdata/CP770..UTF8: New file.
50203 * iconvdata/testdata/CP771: New file.
50204 * iconvdata/testdata/CP771..UTF8: New file.
50205 * iconvdata/testdata/CP772: New file.
50206 * iconvdata/testdata/CP772..UTF8: New file.
50207 * iconvdata/testdata/CP773: New file.
50208 * iconvdata/testdata/CP773..UTF8: New file.
50209 * iconvdata/testdata/CP774: New file.
50210 * iconvdata/testdata/CP774..UTF8: New file.
50211
50212 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
50213 END CHARMAP line.
50214 * iconvdata/gen-8bit-gap.sh: Likewise.
50215 * iconvdata/gen-8bit.sh: Likewise.
50216
c1e9e399
UD
50217 * locale/iso-639.def: Add ary entry.
50218
24c55fb3 50219 [BZ #11258]
96b4b1b0
UD
50220 * locale/C-translit.h.in: Add U20A1 transliteration.
50221
bdc2f971
KB
50222 [BZ #12178]
50223 * locale/iso-639.def: Add wae entry.
50224 Patch by Kevin Bortis <bortis@translate-wae.ch>.
50225
2952b117
UD
50226 [BZ #12545]
50227 * locale/programs/localedef.c (construct_output_path): Use ssize_t
50228 for n.
50229
2a81eaa5
UD
50230 [BZ #12711]
50231 * locale/C-translit.h.in: Add entry for U20B9.
50232 Patch by pravin.d.s@gmail.com.
50233
28377d1b
UD
502342011-05-08 Ulrich Drepper <drepper@gmail.com>
50235
7fb90fb8
UD
50236 [BZ #12713]
50237 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
50238 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
50239 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
50240 in rtld. Use *stat64.
7fb90fb8 50241 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 50242 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 50243 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
50244 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
50245 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
50246 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
50247 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
50248 __fstatat64 macros.
7fb90fb8
UD
50249 * include/dirent.h: Add libc_hidden_proto for rewinddir.
50250 * dirent/rewinddir.c: Add libc_hidden_def.
50251 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 50252 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 50253
28377d1b
UD
50254 * include/dirent.h (__alloc_dir): Add flags parameter.
50255 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
50256 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
50257 __alloc_dir.
50258 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
50259 from fdopendir if O_CLOEXEC is already set.
50260
66bdbaa4
AM
502612011-03-15 Alan Modra <amodra@gmail.com>
50262
50263 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
50264 l_tls_firstbyte_offset non-zero. Save padding offset in
50265 l_tls_firstbyte_offset for later use.
50266 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
50267 freeing static tls block.
50268
95721191
JN
502692011-03-05 Jonathan Nieder <jrnieder@gmail.com>
50270
50271 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
50272 where #ifdef was intended. The intent is to prevent ARG_MAX from
50273 being defined by the kernel headers.
50274
f87dfb1f
UD
502752011-05-07 Ulrich Drepper <drepper@gmail.com>
50276
50277 [BZ #12734]
50278 * resolv/resolv.h: Define RES_NOTLDQUERY.
50279 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
50280 no-tld-query and set RES_NOTLDQUERY.
50281 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
50282 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
50283 modern BIND to search name as TLD unless forbidden.
50284
47c3cd7a
UD
502852011-05-07 Petr Baudis <pasky@suse.cz>
50286 Ulrich Drepper <drepper@gmail.com>
50287
50288 [BZ #12393]
50289 * elf/dl-load.c (fillin_rpath): Move trusted path check...
50290 (is_trusted_path): ...to here.
c1e9ea35 50291 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 50292 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 50293 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 50294
8a35c912
PP
502952011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
50296
50297 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
50298 __BEGIN/__END_DECLS.
50299
acd41f47
UD
503002011-05-06 Ulrich Drepper <drepper@gmail.com>
50301
50302 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
50303 NSS_STATUS_NOTFOUND if no record was found.
50304
597df647
AS
503052011-05-05 Andreas Schwab <schwab@redhat.com>
50306
50307 * sunrpc/Makefile (headers): Add rpc/netdb.h.
50308 (headers-not-in-tirpc): Remove rpc/netdb.h
50309 * resolv/netdb.h: Revert last change.
50310
b9af1301
PP
503112011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50312
50313 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
50314 circular dependency between libgcc.a and libc.a.
50315
4e34d5f5
AS
503162011-05-05 Andreas Schwab <schwab@redhat.com>
50317
50318 * resolv/netdb.h: Don't include <rpc/netdb.h>.
50319 * nis/Makefile: Don't install rpcsvc/*.
50320 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
50321 instead of <rpc/types.h>.
50322 (MAXHOSTNAMELEN): Define.
50323
00ee369c
AS
503242011-05-03 Andreas Schwab <schwab@redhat.com>
50325
50326 * elf/ldconfig.c (add_dir): Don't crash on empty path.
50327
0b592a30
MB
503282011-04-28 Maciej Babinski <mbabinski@google.com>
50329
50330 [BZ #12714]
50331 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
50332 gethostbyname4_r when IPv6 results are possible.
50333
6e04cbbe
UD
503342011-05-02 Ulrich Drepper <drepper@gmail.com>
50335
50336 [BZ #12723]
50337 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
50338 _PC_PIPE_BUF handling.
50339
e4ecafe0
BH
503402011-04-30 Bruno Haible <bruno@clisp.org>
50341
50342 [BZ #12717]
50343 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
50344 * resolv/netdb.h (getnameinfo): Change type of flags parameter
50345 to 'int'.
50346 * inet/getnameinfo.c (getnameinfo): Likewise.
50347
125ee683
UD
503482011-04-29 Ulrich Drepper <drepper@gmail.com>
50349
50350 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
50351 to groups setting in database lookup.
50352 * nss/nsswitch.conf: Add initgroups entry.
50353
b722481a
EB
503542011-04-22 Ulrich Drepper <drepper@gmail.com>
50355
50356 [BZ #12685]
50357 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
50358 mode string.
50359 Patch by Eric Blake <eblake@redhat.com>.
50360
4df46dbd
L
503612011-04-20 H.J. Lu <hongjiu.lu@intel.com>
50362
50363 * sunrpc/Makefile (need-export-routines): Add svc_run.
50364 (routines): Remove svc_run.
50365 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
50366 * sunrpc/clnt_perr.c (clnt_perrno): Export.
50367 * sunrpc/svc_run.c (svc_run): Likewise.
50368 * sunrpc/svc_udp.c (svcudp_create): Likewise.
50369
e84142d2
UD
503702011-04-21 Ulrich Drepper <drepper@gmail.com>
50371
50372 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
50373 problem in reallocation in last patch.
50374
877175d8
UD
503752011-04-20 Ulrich Drepper <drepper@gmail.com>
50376
50377 * sunrpc/Makefile: Move inclusion of Rules.
50378
ab8eed78
UD
503792011-04-19 Ulrich Drepper <drepper@gmail.com>
50380
50381 * nss/nss_files/files-initgroups.c: New file.
50382 * nss/Makefile (libnss_files-routines): Add files-initgroups.
50383 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
50384 _nss_files_initgroups_dyn.
50385
e3d8f584
RS
503862011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
50387
50388 * elf/elf.h (R_ARM_IRELATIVE): Define.
50389
af190f45
UD
503902011-04-19 Ulrich Drepper <drepper@gmail.com>
50391
50392 * po/ru.po: Update from translation team.
50393
53cf59ef
UD
503942011-04-17 Ulrich Drepper <drepper@gmail.com>
50395
50396 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
50397 dependencies.
50398
4c559bcd
MF
503992011-02-06 Mike Frysinger <vapier@gentoo.org>
50400
50401 [BZ #12653]
50402 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
50403 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
50404 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50405 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
50406 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
50407
4420675c
AS
504082011-03-28 Andreas Schwab <schwab@linux-m68k.org>
50409
50410 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
50411 differing bytes.
50412 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
50413 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50414 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50415
75ea32ab
UD
504162011-04-17 Ulrich Drepper <drepper@gmail.com>
50417
50418 [BZ #12420]
50419 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
50420 storing it.
50421 * stdlib/bug-getcontext.c: New file.
50422 * stdlib/Makefile: Add rules to build and run bug-getcontext.
50423
27390476
AK
504242011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50425
50426 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
50427 instructions into .machine "z9-109".
50428 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
50429 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
50430
10442705
AK
504312011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50432
50433 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
50434 between environment variables and auxiliary vector.
50435
7b57bfe5
UD
504362011-04-16 Ulrich Drepper <drepper@gmail.com>
50437
50438 * Makefile: Add rules to build linkobj/libc.so.
50439 * include/libc-symbols.h: Define libc_hidden_nolink.
50440 * include/rpc/auth.h: Mark functions which are to be hidden.
50441 * include/rpc/auth_des.h: Likewise.
50442 * include/rpc/auth_unix.h: Likewise.
50443 * include/rpc/clnt.h: Likewise.
50444 * include/rpc/des_crypt.h: Likewise.
50445 * include/rpc/key_prot.h: Likewise.
50446 * include/rpc/pmap_clnt.h: Likewise.
50447 * include/rpc/pmap_prot.h: Likewise.
50448 * include/rpc/pmap_rmt.h: Likewise.
50449 * include/rpc/rpc_msg.h: Likewise.
50450 * include/rpc/svc.h: Likewise.
50451 * include/rpc/svc_auth.h: Likewise.
50452 * include/rpc/xdr.h: Likewise.
50453 * nis/Makefile: Link all DSOs against linkobj/libc.so.
50454 * nss/Makefile: Likewise.
50455 * sunrpc/Makefile: Don't install headers. Build library with normal
50456 entry points. Don't build rpcinfo. Link RPC tests appropriately.
50457 * sunrpc/auth_des.c: Hide exported symbols by default, export some
50458 for the compat linking library. Remove use of INTDEF/INTUSE.
50459 * sunrpc/auth_none.c: Likewise.
50460 * sunrpc/auth_unix.c: Likewise.
50461 * sunrpc/authdes_prot.c: Likewise.
50462 * sunrpc/authuxprot.c: Likewise.
50463 * sunrpc/clnt_gen.c: Likewise.
50464 * sunrpc/clnt_perr.c: Likewise.
50465 * sunrpc/clnt_raw.c: Likewise.
50466 * sunrpc/clnt_simp.c: Likewise.
50467 * sunrpc/clnt_tcp.c: Likewise.
50468 * sunrpc/clnt_udp.c: Likewise.
50469 * sunrpc/clnt_unix.c: Likewise.
50470 * sunrpc/des_crypt.c: Likewise.
50471 * sunrpc/des_soft.c: Likewise.
50472 * sunrpc/get_myaddr.c: Likewise.
50473 * sunrpc/key_call.c: Likewise.
50474 * sunrpc/key_prot.c: Likewise.
50475 * sunrpc/netname.c: Likewise.
50476 * sunrpc/pm_getmaps.c: Likewise.
50477 * sunrpc/pm_getport.c: Likewise.
50478 * sunrpc/pmap_clnt.c: Likewise.
50479 * sunrpc/pmap_prot.c: Likewise.
50480 * sunrpc/pmap_prot2.c: Likewise.
50481 * sunrpc/pmap_rmt.c: Likewise.
50482 * sunrpc/publickey.c: Likewise.
50483 * sunrpc/rpc_cmsg.c: Likewise.
50484 * sunrpc/rpc_common.c: Likewise.
50485 * sunrpc/rpc_dtable.c: Likewise.
50486 * sunrpc/rpc_prot.c: Likewise.
50487 * sunrpc/rpc_thread.c: Likewise.
50488 * sunrpc/rtime.c: Likewise.
50489 * sunrpc/svc.c: Likewise.
50490 * sunrpc/svc_auth.c: Likewise.
50491 * sunrpc/svc_authux.c: Likewise.
50492 * sunrpc/svc_raw.c: Likewise.
50493 * sunrpc/svc_run.c: Likewise.
50494 * sunrpc/svc_simple.c: Likewise.
50495 * sunrpc/svc_tcp.c: Likewise.
50496 * sunrpc/svc_udp.c: Likewise.
50497 * sunrpc/svc_unix.c: Likewise.
50498 * sunrpc/svcauth_des.c: Likewise.
50499 * sunrpc/xcrypt.c: Likewise.
50500 * sunrpc/xdr.c: Likewise.
50501 * sunrpc/xdr_array.c: Likewise.
50502 * sunrpc/xdr_float.c: Likewise.
50503 * sunrpc/xdr_intXX_t.c: Likewise.
50504 * sunrpc/xdr_mem.c: Likewise.
50505 * sunrpc/xdr_rec.c: Likewise.
50506 * sunrpc/xdr_ref.c: Likewise.
50507 * sunrpc/xdr_sizeof.c: Likewise.
50508 * sunrpc/xdr_stdio.c: Likewise.
50509
e6c61494
UD
505102011-04-10 Ulrich Drepper <drepper@gmail.com>
50511
50512 [BZ #12650]
50513 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
50514 * sysdeps/ia64/dl-tls.h: Likewise.
50515 * sysdeps/powerpc/dl-tls.h: Likewise.
50516 * sysdeps/s390/dl-tls.h: Likewise.
50517 * sysdeps/sh/dl-tls.h: Likewise.
50518 * sysdeps/sparc/dl-tls.h: Likewise.
50519 * sysdeps/x86_64/dl-tls.h: Likewise.
50520 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
50521
34fe483e
AS
505222011-03-14 Andreas Schwab <schwab@redhat.com>
50523
50524 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
50525 rpath element also skip the following colon.
50526 (expand_dynamic_string_token): Add is_path parameter and pass
50527 down to DL_DST_REQUIRED and _dl_dst_substitute.
50528 (decompose_rpath): Call expand_dynamic_string_token with
50529 non-zero is_path. Ignore empty rpaths.
50530 (_dl_map_object_from_fd): Call expand_dynamic_string_token
50531 with zero is_path.
50532
f12a32e6
AS
505332011-04-08 Andreas Schwab <schwab@linux-m68k.org>
50534
50535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50536 Make cancelable.
50537
38a7d692
UD
505382011-04-09 Ulrich Drepper <drepper@gmail.com>
50539
50540 [BZ #12655]
50541 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
50542 Patch by Filipe David Manana <fdmanana@apache.org>.
50543
e451d22b
AS
505442011-04-07 Andreas Schwab <schwab@redhat.com>
50545
50546 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
50547 Maintain aligned stack.
50548 (CHECK_RSP): Remove unused macro.
50549
dedc7c7b
UD
505502011-04-03 Ulrich Drepper <drepper@gmail.com>
50551
50552 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
50553 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
50554
94521213
UD
505552011-04-02 Ulrich Drepper <drepper@gmail.com>
50556
50557 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
50558
8cb700c0 50559 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 50560
0354e355
L
505612011-03-26 H.J. Lu <hongjiu.lu@intel.com>
50562
50563 [BZ #12518]
50564 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
50565 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
50566 * sysdeps/x86_64/memmove.c: New file.
50567 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
50568 (memcpy): Renamed to ...
50569 (__new_memcpy): This.
50570 (memcpy): Provide GLIBC_2_14 memcpy.
50571 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
50572 (memcpy): Provide GLIBC_2_2_5 memcpy.
50573
8593482f
UD
505742011-04-01 Ulrich Drepper <drepper@gmail.com>
50575
50576 [BZ #12631]
50577 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
50578
81a5726b
AS
505792011-03-30 Andreas Schwab <schwab@redhat.com>
50580
50581 * misc/syncfs.c: New file.
50582 * misc/Makefile (routines): Add syncfs.
50583 * posix/unistd.h: Declare syncfs.
50584 * sysdeps/unix/syscalls.list: Add syncfs.
50585
00e5419f
AS
505862011-04-01 Andreas Schwab <schwab@redhat.com>
50587
50588 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
50589 open_by_handle_at.
50590 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50591 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50592 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50593 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50594 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50595 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
50596 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50597
748876bf
UD
505982011-04-01 Ulrich Drepper <drepper@gmail.com>
50599
658e451d
UD
50600 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
50601 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50602 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
50603 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50604 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50605 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50606 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50607
748876bf
UD
50608 * io/Makefile: Compile fallocate.c, fallocate64.c, and
50609 sync_file_range.c with -fexceptions.
50610 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
50611 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
50612 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
50613 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
50614 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
50615 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50616 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
50617 sync_file_range as cancellation point
50618 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
50619 now a wrapper around __call_sync_file_range with cancellation handling.
50620 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
50621 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
50622 function name to __call_sync_file_range.
50623 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
50624 Add call_sync_file_range.
748876bf 50625
6e63d5e1
AS
506262011-04-01 Andreas Schwab <schwab@redhat.com>
50627
50628 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 50629 bits/timex.h.
6e63d5e1 50630
46998f74
UD
506312011-04-01 Ulrich Drepper <drepper@gmail.com>
50632
4c1423ed
UD
50633 * iconv/iconv.h: Fix typo in comment.
50634 * io/fcntl.h: Likewise.
50635 * libio/stdio.h: Likewise.
50636 * posix/spawn.h: Likewise.
50637 * posix/unistd.h: Likewise.
50638 * stdlib/stdlib.h: Likewise.
50639 * time/time.h: Likewise.
50640 * wcsmbs/wchar.h: Likewise.
50641
158648c0
UD
50642 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
50643 open_by_handle): Add.
50644 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
50645 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
50646 Augment a few comments.
50647 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50648 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50649 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50650 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50651 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50652 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
50653 open_by_handle.
50654
46998f74
UD
50655 * io/fcntl.h (AT_EMPTY_PATH): Define.
50656
83fe108b
UD
506572011-03-30 Ulrich Drepper <drepper@gmail.com>
50658
50659 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
50660 * sysdeps/unix/sysv/linux/bits/time.h: New file.
50661 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
50662 to...
50663 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
50664 * Versions.def: Add GLIBC_2.14.
50665 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
50666 Export.
83fe108b 50667
bb242059
UD
506682011-03-22 Ulrich Drepper <drepper@gmail.com>
50669
50670 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
50671 round counter.
50672 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50673
c97a1282
L
506742011-03-20 H.J. Lu <hongjiu.lu@intel.com>
50675
50676 [BZ #12597]
50677 * string/test-strncmp.c (do_page_test): New function.
50678 (check2): Likewise.
50679 (test_main): Call check2.
50680 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
50681
2a115601
UD
506822011-03-20 Ulrich Drepper <drepper@gmail.com>
50683
50684 [BZ #12587]
50685 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
50686 Handle cache information in CPU leaf 4.
50687 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50688
8126d904
UD
506892011-03-18 Ulrich Drepper <drepper@gmail.com>
50690
042c49c6 50691 [BZ #12583]
8126d904
UD
50692 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
50693 character representation.
50694 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
50695
ccfe366e
RA
506962011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
50697
50698 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
50699 END(__isnan) to END(__isnanf) to match function entry point/label
50700 EALIGN(__isnanf,...).
50701
c6e13027
JJ
507022011-03-10 Jakub Jelinek <jakub@redhat.com>
50703
50704 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
50705
33f85a3f
UD
507062011-03-10 Ulrich Drepper <drepper@gmail.com>
50707
028478fa
UD
50708 [BZ #12510]
50709 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
50710 copy from the symbol referenced in the relocation to initialize the
50711 used variable.
50712 Patch by Piotr Bury <pbury@goahead.com>.
50713 * elf/Makefile: Add rules to build and tst-unique3.
50714 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50715 * elf/tst-unique3.cc: New file.
50716 * elf/tst-unique3.h: New file.
50717 * elf/tst-unique3lib.cc: New file.
50718 * elf/tst-unique3lib2.cc: New file.
50719
33f85a3f
UD
50720 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50721
03592fc7
MF
507222011-03-10 Mike Frysinger <vapier@gentoo.org>
50723
50724 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50725 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
50726 to _start.
03592fc7 50727
6a5ee102
UD
507282011-03-06 Ulrich Drepper <drepper@gmail.com>
50729
50730 * elf/dl-load.c (_dl_map_object): If we are looking for the first
50731 to-be-loaded object along a path to loader is ld.so.
50732
7e4ba49c
HJ
507332011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50734 Ulrich Drepper <drepper@gmail.com>
50735
50736 * sysdeps/x86_64/memset.S: After aligning destination, code
50737 branches to different locations depending on the value of
50738 misalignment, when multiarch is enabled. Fix this.
50739
507402011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50741
50742 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50743 Set _x86_64_preferred_memory_instruction for AMD processsors.
50744 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50745 Set bit_Prefer_SSE_for_memop for AMD processors.
50746
13a804de
UD
507472011-03-04 Ulrich Drepper <drepper@gmail.com>
50748
50749 * libio/fmemopen.c (fmemopen): Optimize a bit.
50750
9d25c392
AS
507512011-03-03 Andreas Schwab <schwab@redhat.com>
50752
50753 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50754
a5543c6a
RM
507552011-03-03 Roland McGrath <roland@redhat.com>
50756
50757 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50758
012d35f7
DM
507592011-02-28 Aurelien Jarno <aurelien@aurel32.net>
50760
7e4ba49c 50761 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
50762 __bzero_ultra1 instead of __memset_ultra1.
50763
4bff6e01
AS
507642011-02-23 Andreas Schwab <schwab@redhat.com>
50765 Ulrich Drepper <drepper@gmail.com>
50766
50767 [BZ #12509]
50768 * include/link.h (struct link_map): Add l_orig_initfini.
50769 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50770 returning unsuccessfully.
50771 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50772 close of a file loaded at startup, restore the original l_initfini
50773 list.
50774 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50775 list, store the pointer.
50776 * elf/Makefile ($(objpfx)noload-mem): New rule.
50777 (noload-ENV): Define.
50778 (tests): Add $(objpfx)noload-mem.
50779 * elf/noload.c: Include <memcheck.h>.
50780 (main): Call mtrace. Close all opened handles.
50781
f2092faf
AS
507822011-02-17 Andreas Schwab <schwab@redhat.com>
50783
50784 [BZ #12454]
50785 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50786 dependencies are missing.
50787
6c8a2e88
ST
507882011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
50789
f2092faf 50790 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
50791 Hurd needs munmap.
50792 * sysdeps/mach/hurd/ifreq.h: New file.
50793
84a42118
PB
507942011-01-27 Petr Baudis <pasky@suse.cz>
50795 Ulrich Drepper <drepper@gmail.com>
50796
071f805e 50797 [BZ 12445]#
84a42118
PB
50798 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50799 to extend_alloca().
50800 * stdio-common/bug23.c: New file.
50801 * stdio-common/Makefile (tests): Add bug23.
50802
e23fe25b
AS
508032010-09-28 Andreas Schwab <schwab@redhat.com>
50804 Ulrich Drepper <drepper@gmail.com>
50805
50806 [BZ #12489]
50807 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
50808 before performing relro protection. At old place add assertion
50809 to make sure nothing changed.
50810
d3f02e10
NS
508112011-02-17 Nathan Sidwell <nathan@codesourcery.com>
50812 Glauber de Oliveira Costa <glommer@gmail.com>
50813
50814 * elf/elf.h: Add new ARM TLS relocs.
50815
d55fd7a5
RA
508162011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
50817
50818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50819 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
50820 cast from r3.
50821 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
50822 'tests' variable.
50823 * sysdeps/wordsize-64/tst-writev.c: New file.
50824
2206397e
RA
508252011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
50826
50827 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
50828 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
50829 insns in _dl_start to prevent a TOC reference before relocs are
50830 resolved.
50831
e9433893
UD
508322011-02-15 Ulrich Drepper <drepper@gmail.com>
50833
50834 [BZ #12469]
50835 * Makeconfig: Remove RANLIB definition.
50836 * Makerules: Don't use RANLIB.
50837 * aclocal.m4: Remove ranlib test.
50838 * configure.in: No need to check for ranlib.
50839 * elf/rtld-Rules: Don't use RANLIB.
50840
f75286c6
ST
508412011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
50842
8e31c82d
ST
50843 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
50844 protection macro.
50845 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
50846 inclusion protection macro.
50847
f75286c6
ST
50848 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
50849 SIGRTMIN and SIGRTMAX and print information in that case only when
50850 SIGRTMIN is defined.
50851
c1d0e639
JJ
508522011-02-11 Jakub Jelinek <jakub@redhat.com>
50853
50854 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
50855 arginfo fn returning -1.
50856
50857 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
50858 and thousands string is zero terminated.
50859
edf9294e
AS
508602011-02-03 Andreas Schwab <schwab@redhat.com>
50861
50862 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
50863 sysdeps/unix/sysv/linux/bits/socket.h.
50864
2b7e92df
ST
508652011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
50866
edf9294e
AS
50867 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
50868 (__CPU_COUNT): Remove old macros.
50869 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
50870 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
50871 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
50872 (__sched_cpualloc, __sched_cpufree): Add declarations.
50873
a4c7ea7b
UD
508742011-02-05 Ulrich Drepper <drepper@gmail.com>
50875
50876 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
50877 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
50878 * nscd/aicache.c (addhstaiX): Return timeout of added value.
50879 (readdhstai): Return value of addhstaiX call.
50880 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
50881 (addgrbyX): Return value returned by cache_addgr.
50882 (readdgrbyname): Return value returned by addgrbyX.
50883 (readdgrbygid): Likewise.
50884 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
50885 (addpwbyX): Return value returned by cache_addpw.
50886 (readdpwbyname): Return value returned by addhstbyX.
50887 (readdpwbyuid): Likewise.
50888 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
50889 (addservbyX): Return value returned by cache_addserv.
50890 (readdservbyname): Return value returned by addservbyX:
50891 (readdservbyport): Likewise.
50892 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
50893 (addhstbyX): Return value returned by cache_addhst.
50894 (readdhstbyname): Return value returned by addhstbyX.
50895 (readdhstbyaddr): Likewise.
50896 (readdhstbynamev6): Likewise.
50897 (readdhstbyaddrv6): Likewise.
50898 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
50899 (readdinitgroups): Return value returned by addinitgroupsX.
50900 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
50901 (prune_cache): Keep track of timeout value of re-added entries.
50902 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
50903 * nscd/nscd.h: Adjust prototypes of readd* functions.
50904
a0bf67cc
RM
509052011-02-04 Roland McGrath <roland@redhat.com>
50906
50907 * nis/nis_server.c (nis_servstate): Use the right name for 0.
50908 (nis_stats): Likewise.
50909 * nis/nis_modify.c (nis_modify): Likewise.
50910 * nis/nis_remove.c (nis_remove): Likewise.
50911 * nis/nis_add.c (nis_add): Likewise.
50912
50913 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
50914
50915 * posix/fnmatch_loop.c: Add some consts.
50916
50917 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
50918
435b95eb
L
509192011-02-02 H.J. Lu <hongjiu.lu@intel.com>
50920
50921 [BZ #12460]
50922 * config.make.in (config-cflags-novzeroupper): Define.
50923 * configure.in: Substitute libc_cv_cc_novzeroupper.
50924 * elf/Makefile (AVX-CFLAGS): Define.
50925 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
50926 (CFLAGS-tst-auditmod4a.c): Likewise.
50927 (CFLAGS-tst-auditmod4b.c): Likewise.
50928 (CFLAGS-tst-auditmod6b.c): Likewise.
50929 (CFLAGS-tst-auditmod6c.c): Likewise.
50930 (CFLAGS-tst-auditmod7b.c): Likewise.
50931 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
50932
8517b15e
UD
509332011-02-02 Ulrich Drepper <drepper@gmail.com>
50934
50935 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
50936 function to the callback.
50937 Patch partly by Jiri Olsa <jolsa@redhat.com>.
50938
10a656fe
AS
509392011-02-02 Andreas Schwab <schwab@redhat.com>
50940
50941 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
50942 of errno.
50943
968dad0a
UD
509442011-01-19 Ulrich Drepper <drepper@gmail.com>
50945
9f94d2ea 50946 [BZ #11724]
968dad0a
UD
50947 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
50948 of constructors.
50949 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
50950 of destructors.
50951 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
50952
50953 [BZ #11724]
50954 * elf/Makefile: Add rules to build and run new test.
50955 * elf/tst-initorder.c: New file.
50956 * elf/tst-initorder.exp: New file.
50957 * elf/tst-initordera1.c: New file.
50958 * elf/tst-initordera2.c: New file.
50959 * elf/tst-initordera3.c: New file.
50960 * elf/tst-initordera4.c: New file.
50961 * elf/tst-initorderb1.c: New file.
50962 * elf/tst-initorderb2.c: New file.
50963 * elf/tst-order-a1.c: New file.
50964 * elf/tst-order-a2.c: New file.
50965 * elf/tst-order-a3.c: New file.
50966 * elf/tst-order-a4.c: New file.
50967 * elf/tst-order-b1.c: New file.
50968 * elf/tst-order-b2.c: New file.
50969 * elf/tst-order-main.c: New file.
50970 New test case by George Gensure <werkt0@gmail.com>.
50971
86e92359
UD
509722010-10-01 Andreas Schwab <schwab@redhat.com>
50973
50974 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50975 decoding ACE if AI_CANONIDN.
50976
5d5732b0
UD
509772011-01-18 Ulrich Drepper <drepper@gmail.com>
50978
50979 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
50980
a77e8cbc
UD
509812011-01-17 Ulrich Drepper <drepper@gmail.com>
50982
6392473f
UD
50983 * version.h (RELEASE): Bump for 2.13 release.
50984 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
50985
620a0529
UD
50986 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
50987
18ba70a5
UD
50988 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
50989 MADV_NOHUGEPAGE.
32465c3e
UD
50990 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
50991 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
50992 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
50993 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
50994 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
50995 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
50996
c0dafcf1
UD
50997 * posix/getconf.c: Update copyright year.
50998 * catgets/gencat.c: Likewise.
50999 * csu/version.c: Likewise.
51000 * debug/catchsegv.sh: Likewise.
51001 * debug/xtrace.sh: Likewise.
51002 * elf/ldconfig.c: Likewise.
51003 * elf/ldd.bash.in: Likewise.
51004 * elf/sprof.c (print_version): Likewise.
51005 * iconv/iconv_prog.c: Likewise.
51006 * iconv/iconvconfig.c: Likewise.
51007 * locale/programs/locale.c: Likewise.
51008 * locale/programs/localedef.c: Likewise.
51009 * malloc/memusage.sh: Likewise.
51010 * malloc/mtrace.pl: Likewise.
51011 * nscd/nscd.c (print_version): Likewise.
51012 * nss/getent.c: Likewise.
51013
a77e8cbc
UD
51014 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
51015 PF_CAIF, and PF_ALG.
51016 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51017
77e8bddf
AS
510182011-01-16 Andreas Schwab <schwab@linux-m68k.org>
51019
1f20b93a
AS
51020 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
51021 (modules-names): Use them.
51022 (ifunc-test-modules, ifunc-pie-tests): Define.
51023 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
51024 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
51025 (test-extras): Likewise.
51026 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
51027 $(compile-command.c).
51028 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
51029 (all-built-dso): Define.
51030 (check-textrel.out, check-execstack.out): Depend on it.
51031
77e8bddf
AS
51032 * configure.in: Don't override --enable-multi-arch.
51033
bc425b33
UD
510342011-01-15 Ulrich Drepper <drepper@gmail.com>
51035
51036 [BZ #6812]
51037 * nscd/hstcache.c (tryagain): Define.
51038 (cache_addhst): Return tryagain not notfound for temporary errors.
51039 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
51040 failed.
51041
794c3ad3
UD
510422011-01-14 Ulrich Drepper <drepper@gmail.com>
51043
70181fdd
UD
51044 [BZ #10563]
51045 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
51046 to make the syscall.
51047 * sysdeps/unix/sysv/linux/setgroups.c: New file.
51048
794c3ad3
UD
51049 [BZ #12378]
51050 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
51051 and fall back to matching as normal character if the string ends before
51052 the matching ']' is found. This is what POSIX requires.
51053 * posix/testfnm.c: Adjust test result.
51054 * posix/globtest.sh: Adjust test result. Add new test.
51055 * posix/tst-fnmatch.input: Likewise.
51056 * posix/tst-fnmatch2.c: Add new test.
51057
68dc9497
AS
510582010-12-28 Andreas Schwab <schwab@linux-m68k.org>
51059
51060 * elf/Makefile (check-execstack): Revert last change. Depend on
51061 check-execstack.h.
51062 (check-execstack.h): New target.
51063 (generated): Add check-execstack.h.
51064 * elf/check-execstack.c: Include "check-execstack.h".
51065 (main): Revert last change.
51066 (handle_file): Return zero if GNU_STACK is absent and
51067 DEFAULT_STACK_PERMS doesn't include PF_X.
51068
451f001b
UD
510692011-01-13 Ulrich Drepper <drepper@gmail.com>
51070
cfa28e56
UD
51071 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
51072 in child fails because the descriptor is already closed.
8cf8ce17
UD
51073 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
51074 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
51075 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 51076
1086d70d
UD
51077 [BZ #12397]
51078 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
51079 syscall.
51080
451f001b
UD
51081 [BZ #10484]
51082 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
51083 temporary buffer used to handle multi lookups locally.
a85b5cb4 51084 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 51085
08769175
UD
510862011-01-12 Ulrich Drepper <drepper@gmail.com>
51087
51088 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
51089 loader is ld.so.
51090
5e49c52e
UD
510912011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
51092
51093 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
51094 alignment for SSE2.
51095
60522a5f
UD
510962011-01-12 Ulrich Drepper <drepper@gmail.com>
51097
51098 [BZ #12394]
51099 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
51100 characters. When rounding increased number of integer digits recompute
51101 number of groups.
51102 * stdio-common/tst-grouping.c: New file.
51103 * stdio-common/Makefile: Add rules to build and run tst-grouping.
51104
f257bbd7
UD
511052011-01-09 Ulrich Drepper <drepper@gmail.com>
51106
51107 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
51108 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
51109
51110 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
51111 void.
51112 * bits/select.h: Likewise.
51113
fa9c15cb
UD
511142011-01-08 Ulrich Drepper <drepper@gmail.com>
51115
51116 * po/ja.po: Update from translation team.
51117
16c2895f
DM
511182011-01-04 David S. Miller <davem@sunset.davemloft.net>
51119
51120 [BZ #11155]
51121 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
51122 implementation just like for lxstat, fxstatat, et al.
51123
2543fef2
JM
511242010-12-27 Jim Meyering <meyering@redhat.com>
51125
51126 [BZ #12348]
51127 * posix/regexec.c (build_trtable): Return failure indication upon
51128 calloc failure. Otherwise, re_search_internal could infloop on OOM.
51129
98727dbe
UD
511302010-12-25 Ulrich Drepper <drepper@gmail.com>
51131
5bd6dc5c
UD
51132 [BZ #12201]
51133 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
51134 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
51135 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
51136 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
51137
97983464
UD
51138 [BZ #12207]
51139 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
51140
98727dbe
UD
51141 [BZ #12204]
51142 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
51143 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
51144
4a531bb0
L
511452010-12-15 H.J. Lu <hongjiu.lu@intel.com>
51146
51147 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
51148 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
51149 script has SORT_BY_INIT_PRIORITY.
51150 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
51151 NO_CTORS_DTORS_SECTIONS is defined.
51152 * elf/soinit.c: Likewise.
51153 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
51154 NO_CTORS_DTORS_SECTIONS is defined.
51155 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
51156 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
51157 * sysdeps/sh/init-first.c: Likewise.
51158 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
51159
07eb4b71
UD
511602010-12-24 Ulrich Drepper <drepper@gmail.com>
51161
51162 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
51163 always use the slow path.
51164
30950a5f
RA
511652010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
51166
51167 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
51168 similar rule which adds the sysdep directories to the header search in
51169 order to pick up the correct platform stackinfo.h.
51170 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
51171 perform test if it is, otherwise return successfully without testing.
51172 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
51173 DEFAULT_STACK_PERMS define in stackinfo.h.
51174 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
51175 defined in stackinfo.h.
51176 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
51177 DEFAULT_STACK_PERMS defined in stackinfo.h.
51178 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
51179 * sysdeps/ia64/stackinfo.h: Likewise.
51180 * sysdeps/s390/stackinfo.h: Likewise.
51181 * sysdeps/sh/stackinfo.h: Likewise.
51182 * sysdeps/sparc/stackinfo.h: Likewise.
51183 * sysdeps/x86_64/stackinfo.h: Likewise.
51184 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
51185 PF_X for powerpc64. Retain PF_X for powerpc32.
51186
db753e2c
UD
511872010-12-19 Ulrich Drepper <drepper@gmail.com>
51188
14b697f7
UD
51189 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
51190 accurately.
db753e2c
UD
51191 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
51192 GETDENTS_64BIT_ALIGNED.
51193
28300719
UD
511942010-12-14 Ulrich Drepper <dreper@gmail.com>
51195
14b697f7 51196 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 51197
4f197237
AS
511982010-12-10 Andreas Schwab <schwab@redhat.com>
51199
dbb0472f
AS
51200 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
51201 _GNU_SOURCE.
51202
4f197237
AS
51203 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
51204 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
51205 Remove __restrict.
51206 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
51207 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
51208
fb88ac72
UD
512092010-12-09 Ulrich Drepper <drepper@gmail.com>
51210
51211 [BZ #11655]
51212 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
51213 are initialized.
51214
42acbb92
JJ
512152010-12-09 Jakub Jelinek <jakub@redhat.com>
51216
51217 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
51218
c038d98d
UD
512192010-12-03 Ulrich Drepper <drepper@gmail.com>
51220
51221 * po/it.po: Update from translation team.
51222
3a4a2499
L
512232010-12-01 H.J. Lu <hongjiu.lu@intel.com>
51224
51225 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
51226 unused codes.
51227
1e24cf6e
UD
512282010-11-30 Ulrich Drepper <drepper@gmail.com>
51229
51230 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
51231
a7690819
AS
512322010-11-24 Andreas Schwab <schwab@redhat.com>
51233
51234 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
51235 specially.
51236 (gaih_getanswer_slice): Likewise.
51237
3bf8d1b1
JJ
512382010-10-20 Jakub Jelinek <jakub@redhat.com>
51239
51240 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
51241
6db52fbb
PB
512422010-05-31 Petr Baudis <pasky@suse.cz>
51243
51244 [BZ #11149]
51245 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
51246 silently even in the chroot mode.
51247
eaca7569
UD
512482010-11-22 Ulrich Drepper <drepper@gmail.com>
51249
51250 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
51251 last patch a bit. Pretty printing
51252
3056dcdb
UD
512532010-05-31 Petr Baudis <pasky@suse.cz>
51254
51255 [BZ #10085]
51256 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
51257 initialization of skip_initgroups_dyn.
51258
cf7c9078
UD
512592010-11-19 Ulrich Drepper <drepper@gmail.com>
51260
51261 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
51262 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51263
a1fb5e3e
UD
512642010-11-16 Ulrich Drepper <drepper@gmail.com>
51265
51266 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
51267
3540d66b
AS
512682010-11-11 Andreas Schwab <schwab@redhat.com>
51269
51270 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
51271 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
51272 (tst-fnmatch-ENV): Set MALLOC_TRACE.
51273 ($(objpfx)tst-fnmatch-mem): New rule.
51274 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
51275 * posix/tst-fnmatch.c (main): Call mtrace.
51276
13b69574
L
512772010-11-11 H.J. Lu <hongjiu.lu@intel.com>
51278
51279 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51280 Support Intel processor model 6 and model 0x2c.
51281
da93d214
LM
512822010-11-10 Luis Machado <luisgpm@br.ibm.com>
51283
51284 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
51285 signed comparison.
51286
8ca52c6e
L
512872010-11-09 H.J. Lu <hongjiu.lu@intel.com>
51288
51289 [BZ #12205]
51290 * string/test-strncasecmp.c (check_result): New function.
51291 (do_one_test): Use it.
51292 (check1): New function.
51293 (test_main): Use it.
51294 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
51295 Support strcasecmp and strncasecmp.
51296
69da074d
UD
512972010-11-08 Ulrich Drepper <drepper@gmail.com>
51298
51299 [BZ #12194]
51300 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
51301 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51302
ff02d528
L
513032010-11-07 H.J. Lu <hongjiu.lu@intel.com>
51304
51305 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
51306 IFUNC support.
51307 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51308 memset-x86-64.
51309 * sysdeps/x86_64/multiarch/bzero.S: New file.
51310 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
51311 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
51312 * sysdeps/x86_64/multiarch/memset.S: New file.
51313 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
51314 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51315 Set bit_Prefer_SSE_for_memop for Intel processors.
51316 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
51317 Define.
51318 (index_Prefer_SSE_for_memop): Define.
51319 (HAS_PREFER_SSE_FOR_MEMOP): Define.
51320
344d0b54
LM
513212010-11-04 Luis Machado <luisgpm@br.ibm.com>
51322
51323 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
51324 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
51325
c0dde15b
UD
513262010-11-03 H.J. Lu <hongjiu.lu@intel.com>
51327
51328 [BZ #12191]
51329 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51330 (__x86_64_raw_data_cache_size_half): Likewise.
51331 (__x86_64_raw_shared_cache_size): Likewise.
51332 (__x86_64_raw_shared_cache_size_half): Likewise.
51333
51334 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51335 (__x86_64_raw_data_cache_size_half): Likewise.
51336 (__x86_64_raw_shared_cache_size): Likewise.
51337 (__x86_64_raw_shared_cache_size_half): Likewise.
51338 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
51339 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
51340 and __x86_64_raw_shared_cache_size_half. Round
51341 __x86_64_data_cache_size_half, __x86_64_data_cache_size
51342 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
51343 to multiple of 256 bytes.
51344
0e516e0e
MS
513452010-11-03 Ulrich Drepper <drepper@gmail.com>
51346
51347 [BZ #12167]
51348 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
51349 of inacessible symlinks. Verify result of symlink before returning it.
51350 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
51351 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
51352
0e012e87
ER
513532010-10-28 Erich Ritz <erichritz@gmail.com>
51354
51355 * math/math.h (isinf): Fix typo in comment.
51356
de0ff7bc
UD
513572010-11-01 Ulrich Drepper <drepper@gmail.com>
51358
51359 * po/da.po: Update from translation team.
51360
fa41c84d
UD
513612010-10-26 Ulrich Drepper <drepper@gmail.com>
51362
51363 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
51364 is added to the list.
51365
f0967738
AK
513662010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51367 Ulrich Drepper <drepper@gmail.com>
51368
51369 * elf/dl-object.c (_dl_new_object): Don't append the new object to
51370 the global list here. Move code to...
51371 (_dl_add_to_namespace_list): ...here. New function.
51372 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
51373 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
51374 * elf/dl-load.c (lose): Don't remove the element from the list.
51375 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
51376 (_dl_map_object): Likewise.
51377
513782010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
51379
51380 [BZ #12159]
51381 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
51382 into all bytes of SSE register.
51383 Patch by Richard Li <richardpku@gmail.com>.
51384
f0967738 513852010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
51386
51387 [BZ #12140]
51388 * malloc/malloc.c (_int_free): Fill correct number of bytes when
51389 perturbing.
51390
d0b9e94f
MB
513912010-10-20 Michael B. Brutman <brutman@us.ibm.com>
51392
51393 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
51394 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
51395 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
51396 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
51397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
51398 submachine.
51399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
51400
8e9f92e9
AS
514012010-10-22 Andreas Schwab <schwab@redhat.com>
51402
51403 * include/dlfcn.h (__RTLD_SECURE): Define.
51404 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
51405 mode & __RTLD_SECURE instead.
51406 (open_path): Rename preloaded parameter to secure.
51407 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
51408 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
51409 * elf/dl-deps.c (openaux): Likewise.
51410 * elf/rtld.c (struct map_args): Remove is_preloaded.
51411 (map_doit): Don't use it.
51412 (dl_main): Likewise.
51413 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
51414 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
51415
bc96fbda
AS
514162010-09-09 Andreas Schwab <schwab@redhat.com>
51417
51418 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
51419 (sysd-rules-targets): Remove duplicates.
51420 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
51421 rtld-%.$o dependency.
51422
22cd1c9b
AS
514232010-10-18 Andreas Schwab <schwab@redhat.com>
51424
51425 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
51426 _dl_map_object do it.
51427
18edac48
UD
514282010-10-19 Ulrich Drepper <drepper@gmail.com>
51429
51430 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
51431 fast fma builtins, define the macros in the C99 standard.
51432 (FP_FAST_FMAF): Likewise.
51433 (FP_FAST_FMAL): Likewise.
51434 * sysdeps/x86_64/bits/mathdef.h: Likewise.
51435
51436 * bits/mathdef.h: Update copyright year.
51437 * sysdeps/powerpc/bits/mathdef.h: Likewise.
51438
d2050124
MM
514392010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
51440
51441 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
51442 builtins, define the macros in the C99 standard.
51443 (FP_FAST_FMAF): Likewise.
51444 (FP_FAST_FMAL): Likewise.
51445 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
51446 multiply/add.
51447 (FP_FAST_FMAF): Likewise.
51448
475facd1
JJ
514492010-10-15 Jakub Jelinek <jakub@redhat.com>
51450
51451 [BZ #3268]
51452 * math/libm-test.inc (fma_test): Some new testcases.
51453 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
51454 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
51455 y and infinite z. Do multiplication by C already in long double.
51456 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
51457 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
51458 y and infinite z. Do bitwise or of inexact bit into u.d.
51459 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
51460 * sysdeps/i386/fpu/s_fmaf.S: Removed.
51461 * sysdeps/i386/fpu/s_fma.S: Removed.
51462 * sysdeps/i386/fpu/s_fmal.S: Removed.
51463
7c08a05c
JJ
514642010-10-16 Jakub Jelinek <jakub@redhat.com>
51465
51466 [BZ #3268]
51467 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
51468 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
51469 computation is not scheduled after fetestexcept. Fix value
51470 of minimum denormal long double.
51471
f3f7372d
JJ
514722010-10-14 Jakub Jelinek <jakub@redhat.com>
51473
51474 [BZ #3268]
51475 * math/libm-test.inc (fma_test): Add some more tests.
51476 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
51477 correctly.
51478
14d43591
AS
514792010-10-15 Andreas Schwab <schwab@redhat.com>
51480
51481 * scripts/data/localplt-s390-linux-gnu.data: New file.
51482 * scripts/data/localplt-s390x-linux-gnu.data: New file.
51483
5e908464
JJ
514842010-10-13 Jakub Jelinek <jakub@redhat.com>
51485
51486 [BZ #3268]
51487 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
51488 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
51489 instead of dbl-64.
51490 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
51491 inlines.
51492 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
51493 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
51494 if one of x and y is very large and the other is subnormal.
51495 * sysdeps/s390/fpu/s_fmaf.c: New file.
51496 * sysdeps/s390/fpu/s_fma.c: New file.
51497 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
51498 * sysdeps/powerpc/fpu/s_fma.S: New file.
51499 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
51500 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
51501 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
51502
515032010-10-12 Jakub Jelinek <jakub@redhat.com>
51504
51505 [BZ #3268]
51506 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
51507 fma tests.
51508 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
51509 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
51510 * sysdeps/i386/i686/multiarch/s_fma.c: Include
51511 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
51512 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
51513 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
51514 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
51515
b833d51f
UD
515162010-10-12 Ulrich Drepper <drepper@redhat.com>
51517
51518 [BZ #12078]
51519 * posix/regcomp.c (parse_branch): One more memory leak plugged.
51520 * posix/bug-regex31.input: Add test case.
51521
1751705d
UD
515222010-10-11 Ulrich Drepper <drepper@gmail.com>
51523
e9b9cbf5
UD
51524 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
51525 * posix/bug-regex31.input: New file.
51526
51527 [BZ #12078]
51528 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
51529 (parse_sub_exp): Fix last change, use postorder.
51530
ef06edbe
UD
51531 * posix/bug-regex31.c: New file.
51532 * posix/Makefile: Add rules to build and run bug-regex31.
51533
a129c80d
UD
51534 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
51535
51536 [BZ #12078]
51537 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
51538
b76b818e
UD
51539 [BZ #12108]
51540 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
51541 to have entries in sys_siglist.
51542
1751705d
UD
51543 [BZ #12093]
51544 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
51545 be NULL.
51546
9ff8d36f
JJ
515472010-10-07 Jakub Jelinek <jakub@redhat.com>
51548
51549 [BZ #3268]
51550 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
51551 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
51552 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
51553 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
51554 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51555 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
51556 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
51557 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
51558 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
51559 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
51560 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
51561 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
51562 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
51563 * math/ftestexcept.c (fetestexcept): Likewise.
51564 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
51565 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
51566 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
51567 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
51568 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
51569 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
51570 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
51571
af325969
UD
515722010-10-11 Ulrich Drepper <drepper@gmail.com>
51573
c579b202 51574 [BZ #12107]
af325969
UD
51575 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
51576 newline.
51577
67a67b95
UD
515782010-10-06 Ulrich Drepper <drepper@gmail.com>
51579
51580 * string/bug-strstr1.c: New file.
51581 * string/Makefile: Add rules to build and run bug-strstr1.
51582
5fb308bc
EB
515832010-10-05 Eric Blake <eblake@redhat.com>
51584
51585 [BZ #12092]
51586 * string/str-two-way.h (two_way_long_needle): Always clear memory
51587 when skipping input due to the shift table.
51588
45db99c7
UD
515892010-10-03 Ulrich Drepper <drepper@gmail.com>
51590
3b111893
UD
51591 [BZ #12005]
51592 * malloc/mcheck.c: Handle large requests.
51593
45db99c7
UD
51594 [BZ #12077]
51595 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
51596 for strncmp and strncasecmp.
51597 * string/stratcliff.c: Add tests for strcmp and strncmp.
51598 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
51599
cf7a1eb8
NI
516002010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51601
51602 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
51603 __set_fpscr.
51604
6484ba5e
AJ
516052010-09-30 Andreas Jaeger <aj@suse.de>
51606
51607 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
51608 (CGROUP_SUPER_MAGIC): Define.
51609 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51610 Handle btrfs and cgroup file systems.
51611 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51612 Likewise.
51613
91c42559
LM
516142010-09-27 Luis Machado <luisgpm@br.ibm.com>
51615
51616 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
51617 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
51618
87a97932
AK
516192010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51620
51621 [BZ #12067]
51622 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
51623 trying to locate the ELF header.
51624
c21cc9bc
AS
516252010-09-27 Andreas Schwab <schwab@redhat.com>
51626
51627 [BZ #11611]
51628 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
51629 Mask out sign-bit copies when constructing f_fsid.
51630
315970f6
PB
516312010-09-24 Petr Baudis <pasky@suse.cz>
51632
51633 * debug/stack_chk_fail_local.c: Add missing licence exception.
51634 * debug/warning-nop.c: Likewise.
51635
1ac7a2c7
JM
516362010-09-15 Joseph Myers <joseph@codesourcery.com>
51637
51638 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
51639 implementing getdents64 using getdents syscall, set d_type if
51640 __ASSUME_GETDENTS32_D_TYPE.
51641
56801c50
AS
516422010-09-16 Andreas Schwab <schwab@redhat.com>
51643
51644 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
51645 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
51646
dda51327
UD
516472010-09-21 Ulrich Drepper <drepper@redhat.com>
51648
51649 [BZ #12037]
51650 * posix/unistd.h: Undo change of feature selection for ftruncate from
51651 2010-01-11.
51652
8ffcee4a
UD
516532010-09-20 Ulrich Drepper <drepper@redhat.com>
51654
a545ecd9 51655 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
51656 detection.
51657
e24f0a8b
AS
516582010-09-20 Andreas Schwab <schwab@redhat.com>
51659
51660 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
51661 fanotify_mark.
51662 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51663
7291c56f
AS
516642010-09-14 Andreas Schwab <schwab@redhat.com>
51665
51666 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
51667 variables after CHECK_SP call.
51668 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
51669
bc5fb037
AS
516702010-09-13 Andreas Schwab <schwab@redhat.com>
51671 Ulrich Drepper <drepper@redhat.com>
51672
51673 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
51674 re-relocationg ld.so.
51675 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
51676 _dl_init_paths call.
51677 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
51678 here anymore.
51679
e66e7419
UD
516802010-09-14 Ulrich Drepper <drepper@redhat.com>
51681
51682 * resolv/res_init.c (__res_vinit): Count the default server we added.
51683
c044aa75
CLT
516842010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
51685 Ulrich Drepper <drepper@redhat.com>
51686
51687 [BZ #11968]
51688 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51689 (____longjmp_chk): Use %ebx for saving value across system call.
51690 Add unwind info.
51691
32cf4069
AS
516922010-09-06 Andreas Schwab <schwab@redhat.com>
51693
51694 * manual/Makefile: Don't mix pattern rules with normal rules.
51695
817328ee
AS
516962010-09-05 Andreas Schwab <schwab@linux-m68k.org>
51697
51698 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
51699 operation.
51700 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
51701 * libio/iofopncook.c (_IO_cookie_init): Likewise.
51702 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
51703 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
51704 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51705 Likewise.
51706
29fddf61
UD
517072010-09-04 Ulrich Drepper <drepper@redhat.com>
51708
51709 [BZ #11979]
51710 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51711 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51712
0959ffc9
UD
517132010-09-02 Ulrich Drepper <drepper@redhat.com>
51714
51715 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51716 * sysdeps/x86_64/addmul_1.S: Likewise.
51717 * sysdeps/x86_64/lshift.S: Likewise.
51718 * sysdeps/x86_64/mul_1.S: Likewise.
51719 * sysdeps/x86_64/rshift.S: Likewise.
51720 * sysdeps/x86_64/sub_n.S: Likewise.
51721 * sysdeps/x86_64/submul_1.S: Likewise.
51722
ece29840
ST
517232010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
51724
0959ffc9
UD
51725 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51726 Define __sched_param instead of SCHED_* and sched_param when
ece29840 51727 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 51728 * bits/sched.h [__need_schedparam]
ece29840 51729 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
51730 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51731 (__defined_schedparam): Define to 1.
ece29840
ST
51732 (__sched_param): New structure, identical to sched_param.
51733 (__need_schedparam): Undefine.
51734
e53a31fe
MF
517352010-08-31 Mike Frysinger <vapier@gentoo.org>
51736
fdc0c10d
MF
51737 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51738 (epoll_create1): Declare.
51739
e53a31fe
MF
51740 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51741
a726d796
AS
517422010-08-31 Andreas Schwab <schwab@redhat.com>
51743
51744 [BZ #7066]
51745 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51746 shifting retval into place.
51747
2f3e3dc7
UD
517482010-09-01 Ulrich Drepper <drepper@redhat.com>
51749
f2933da9
UD
51750 * nis/rpcsvc/nis.h: Update copyright notice.
51751 * nis/rpcsvc/nis.x: Likewise.
51752 * nis/rpcsvc/nis_callback.h: Likewise.
51753 * nis/rpcsvc/nis_callback.x: Likewise.
51754 * nis/rpcsvc/nis_object.x: Likewise.
51755 * nis/rpcsvc/nis_tags.h: Likewise.
51756 * nis/rpcsvc/yp.h: Likewise.
51757 * nis/rpcsvc/yp.x: Likewise.
51758 * nis/rpcsvc/ypupd.h: Likewise.
51759 * nis/yp_xdr.c: Likewise.
51760 * nis/ypupdate_xdr.c: Likewise.
51761
2f3e3dc7
UD
51762 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
51763 mainly the body of pmap_getport. Add parameters to specify timeouts.
51764 (pmap_getport): Use __libc_rpc_getport.
51765 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51766 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51767 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51768
f3dcc2f9
AS
517692010-08-31 Andreas Schwab <schwab@linux-m68k.org>
51770
51771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51772 fanotify_mark.
51773
6d34eb5b
RM
517742010-08-27 Roland McGrath <roland@redhat.com>
51775
51776 * sysdeps/i386/i686/multiarch/Makefile
51777 (CFLAGS-varshift.c): New variable.
51778
9ea3de11
UD
517792010-08-27 Ulrich Drepper <drepper@redhat.com>
51780
c96d23fc
UD
51781 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51782 * sysdeps/i386/i686/multiarch/varshift.c: New file.
51783
9ea3de11
UD
51784 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51785
51786 * sysdeps/x86_64/strlen.S: Minimal code improvement.
51787
623aac7f
L
517882010-08-26 H.J. Lu <hongjiu.lu@intel.com>
51789
51790 * sysdeps/x86_64/strlen.S: Unroll the loop.
51791 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51792 strlen-sse2 strlen-sse2-bsf.
51793 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51794 __strlen_no_bsf if bit_Slow_BSF is set.
51795 (__strlen_sse42): Removed.
51796 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51797 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51798
8b2b7715
RM
517992010-08-25 Roland McGrath <roland@redhat.com>
51800
51801 * sysdeps/x86_64/multiarch/varshift.S: File removed.
51802 * sysdeps/x86_64/multiarch/varshift.c: New file.
51803 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51804 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
51805 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
51806 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51807
e73015f2
L
518082010-08-25 H.J. Lu <hongjiu.lu@intel.com>
51809
51810 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51811 strlen-sse2 strlen-sse2-bsf.
51812 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
51813 __strlen_sse2_bsf if bit_Slow_BSF is unset.
51814 (__strlen_sse2): Removed.
51815 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
51816 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
51817 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51818 bit_Slow_BSF for Atom.
51819 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
51820 (index_Slow_BSF): Define.
51821 (HAS_SLOW_BSF): Define.
51822
df24a73e
UD
518232010-08-25 Ulrich Drepper <drepper@redhat.com>
51824
51825 [BZ #10851]
51826 * resolv/res_init.c (__res_vinit): When no server address at all
51827 is given default to loopback.
51828
f2ac4868
RM
518292010-08-24 Roland McGrath <roland@redhat.com>
51830
09055553
RM
51831 * configure.in: Remove config-name.h generation.
51832 * configure: Regenerated.
51833 * config-name.in: File removed.
51834 * scripts/config-uname.sh: New file.
51835 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
51836 ($(objdir)config-name.h): New target.
51837
f2ac4868
RM
51838 * sunrpc/rpc_parse.h: Avoid nested comment.
51839
73f27d5e
RH
518402010-08-24 Richard Henderson <rth@redhat.com>
51841 Ulrich Drepper <drepper@redhat.com>
51842 H.J. Lu <hongjiu.lu@intel.com>
51843
51844 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
51845 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
51846 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
51847 Replace _mm_srli_si128 with __m128i_shift_right. Replace
51848 _mm_alignr_epi8 with _mm_loadu_si128.
51849 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
51850 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
51851 (__m128i_shift_right): Removed.
51852 * sysdeps/i386/i686/multiarch/varshift.h: New file.
51853 * sysdeps/i386/i686/multiarch/varshift.S: New file.
51854 * sysdeps/x86_64/multiarch/varshift.h: New file.
51855 * sysdeps/x86_64/multiarch/varshift.S: New file.
51856
84b9230c
MF
518572010-08-21 Mike Frysinger <vapier@gentoo.org>
51858
51859 * configure.in: Move assembler checks to before sysdep dir checking.
51860
9bbd0ddc
PB
518612010-08-20 Petr Baudis <pasky@suse.cz>
51862
51863 * LICENSES: Sync the sunrpc license.
51864
9da4bb31
UD
518652010-08-19 Ulrich Drepper <drepper@redhat.com>
51866
a7ab6ec8
UD
51867 * sunrpc/auth_des.c: Update copyright notice once again.
51868 * sunrpc/auth_none.c: Likewise.
51869 * sunrpc/auth_unix.c: Likewise.
51870 * sunrpc/authdes_prot.c: Likewise.
51871 * sunrpc/authuxprot.c: Likewise.
51872 * sunrpc/bindrsvprt.c: Likewise.
51873 * sunrpc/clnt_gen.c: Likewise.
51874 * sunrpc/clnt_perr.c: Likewise.
51875 * sunrpc/clnt_raw.c: Likewise.
51876 * sunrpc/clnt_simp.c: Likewise.
51877 * sunrpc/clnt_tcp.c: Likewise.
51878 * sunrpc/clnt_udp.c: Likewise.
51879 * sunrpc/clnt_unix.c: Likewise.
51880 * sunrpc/des_crypt.c: Likewise.
51881 * sunrpc/des_soft.c: Likewise.
51882 * sunrpc/get_myaddr.c: Likewise.
51883 * sunrpc/getrpcport.c: Likewise.
51884 * sunrpc/key_call.c: Likewise.
51885 * sunrpc/key_prot.c: Likewise.
51886 * sunrpc/openchild.c: Likewise.
51887 * sunrpc/pm_getmaps.c: Likewise.
51888 * sunrpc/pm_getport.c: Likewise.
51889 * sunrpc/pmap_clnt.c: Likewise.
51890 * sunrpc/pmap_prot.c: Likewise.
51891 * sunrpc/pmap_prot2.c: Likewise.
51892 * sunrpc/pmap_rmt.c: Likewise.
51893 * sunrpc/rpc/auth.h: Likewise.
51894 * sunrpc/rpc/auth_unix.h: Likewise.
51895 * sunrpc/rpc/clnt.h: Likewise.
51896 * sunrpc/rpc/des_crypt.h: Likewise.
51897 * sunrpc/rpc/key_prot.h: Likewise.
51898 * sunrpc/rpc/netdb.h: Likewise.
51899 * sunrpc/rpc/pmap_clnt.h: Likewise.
51900 * sunrpc/rpc/pmap_prot.h: Likewise.
51901 * sunrpc/rpc/pmap_rmt.h: Likewise.
51902 * sunrpc/rpc/rpc.h: Likewise.
51903 * sunrpc/rpc/rpc_des.h: Likewise.
51904 * sunrpc/rpc/rpc_msg.h: Likewise.
51905 * sunrpc/rpc/svc.h: Likewise.
51906 * sunrpc/rpc/svc_auth.h: Likewise.
51907 * sunrpc/rpc/types.h: Likewise.
51908 * sunrpc/rpc/xdr.h: Likewise.
51909 * sunrpc/rpc_clntout.c: Likewise.
51910 * sunrpc/rpc_cmsg.c: Likewise.
51911 * sunrpc/rpc_common.c: Likewise.
51912 * sunrpc/rpc_cout.c: Likewise.
51913 * sunrpc/rpc_dtable.c: Likewise.
51914 * sunrpc/rpc_hout.c: Likewise.
51915 * sunrpc/rpc_main.c: Likewise.
51916 * sunrpc/rpc_parse.c: Likewise.
51917 * sunrpc/rpc_parse.h: Likewise.
51918 * sunrpc/rpc_prot.c: Likewise.
51919 * sunrpc/rpc_sample.c: Likewise.
51920 * sunrpc/rpc_scan.c: Likewise.
51921 * sunrpc/rpc_scan.h: Likewise.
51922 * sunrpc/rpc_svcout.c: Likewise.
51923 * sunrpc/rpc_tblout.c: Likewise.
51924 * sunrpc/rpc_util.c: Likewise.
51925 * sunrpc/rpc_util.h: Likewise.
51926 * sunrpc/rpcinfo.c: Likewise.
51927 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
51928 * sunrpc/rpcsvc/key_prot.x: Likewise.
51929 * sunrpc/rpcsvc/klm_prot.x: Likewise.
51930 * sunrpc/rpcsvc/mount.x: Likewise.
51931 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
51932 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
51933 * sunrpc/rpcsvc/rex.x: Likewise.
51934 * sunrpc/rpcsvc/rstat.x: Likewise.
51935 * sunrpc/rpcsvc/rusers.x: Likewise.
51936 * sunrpc/rpcsvc/sm_inter.x: Likewise.
51937 * sunrpc/rpcsvc/spray.x: Likewise.
51938 * sunrpc/rpcsvc/yppasswd.x: Likewise.
51939 * sunrpc/rtime.c: Likewise.
51940 * sunrpc/svc.c: Likewise.
51941 * sunrpc/svc_auth.c: Likewise.
51942 * sunrpc/svc_authux.c: Likewise.
51943 * sunrpc/svc_raw.c: Likewise.
51944 * sunrpc/svc_run.c: Likewise.
51945 * sunrpc/svc_simple.c: Likewise.
51946 * sunrpc/svc_tcp.c: Likewise.
51947 * sunrpc/svc_udp.c: Likewise.
51948 * sunrpc/svc_unix.c: Likewise.
51949 * sunrpc/svcauth_des.c: Likewise.
51950 * sunrpc/xcrypt.c: Likewise.
51951 * sunrpc/xdr.c: Likewise.
51952 * sunrpc/xdr_array.c: Likewise.
51953 * sunrpc/xdr_float.c: Likewise.
51954 * sunrpc/xdr_mem.c: Likewise.
51955 * sunrpc/xdr_rec.c: Likewise.
51956 * sunrpc/xdr_ref.c: Likewise.
51957 * sunrpc/xdr_sizeof.c: Likewise.
51958 * sunrpc/xdr_stdio.c: Likewise.
51959
9da4bb31
UD
51960 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
51961 handling.
51962
bdaa77bc
AS
519632010-08-19 Andreas Schwab <schwab@redhat.com>
51964
51965 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
51966
fe2f79db
LM
519672010-08-19 Luis Machado <luisgpm@br.ibm.com>
51968
51969 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
51970 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
51971 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
51972 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
51973 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
51974 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
51975 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
51976 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
51977 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
51978 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
51979 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
51980 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
51981 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
51982 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
51983
b9b42ee0
AB
519842010-07-26 Anton Blanchard <anton@samba.org>
51985
51986 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
51987 * malloc/arena.c (heap_trim): Likewise.
51988
1c06ba31
UD
519892010-08-16 Ulrich Drepper <drepper@redhat.com>
51990
51991 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
51992 here. Not...
51993 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
51994 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
51995
f8392f40
L
519962010-08-12 H.J. Lu <hongjiu.lu@intel.com>
51997
51998 * sysdeps/i386/elf/Makefile: New file.
51999
3162f12e
AS
520002010-08-14 Andreas Schwab <schwab@linux-m68k.org>
52001
52002 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
52003 from fanotify_init.
52004 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
52005 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52006
28c90b2c
UD
520072010-08-15 Ulrich Drepper <drepper@redhat.com>
52008
52009 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
52010 of strncasecmp_l.
1feccb6c 52011 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 52012
ca6bb004
UD
520132010-08-14 Ulrich Drepper <drepper@redhat.com>
52014
e9f82e0d
UD
52015 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52016 strncase_l-nonascii.
52017 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52018 Add strncase_l-ssse3.
52019 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
52020 * sysdeps/x86_64/strcmp.S: Likewise.
52021 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
52022 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
52023 * sysdeps/x86_64/strncase.S: New file.
52024 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
52025 * sysdeps/x86_64/strncase_l.S: New file.
52026 * string/Makefile (strop-tests): Add strncasecmp.
52027 * string/test-strncasecmp.c: New file.
52028
52029 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
52030 warning.
52031
ca6bb004
UD
52032 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
52033 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
52034
052fa7b3
AS
520352010-08-14 Andreas Schwab <schwab@linux-m68k.org>
52036
52037 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
52038
962dba78
UD
520392010-08-12 Ulrich Drepper <drepper@redhat.com>
52040
52041 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
52042 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
52043 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
52044
bebff237
AM
520452010-05-01 Alan Modra <amodra@gmail.com>
52046
52047 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
52048 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
52049 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
52050 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
52051 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
52052 tidying. Don't tail-call __sigjmp_save for static lib.
52053 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
52054 save location.
52055 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
52056 (CALL_MCOUNT): Add eh info, and nop after bl.
52057 (TAIL_CALL_SYSCALL_ERROR): New macro.
52058 (PSEUDO_RET): Use it.
52059 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
52060 Correct save location of integer regs and cr.
52061 (_dl_profile_resolve): Correct cr save location. Delete nops
52062 after bl when SHARED. Reduce cfi size a little by better
52063 placement of cfi directives.
52064 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
52065 make a stack frame. Instead use parm save area as a temp.
52066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
52067 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
52068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
52069 Don't make a stack frame for parent, use parm save area.
52070 Increase child stack frame to 112 bytes. Don't save unused reg,
52071 and adjust reg usage. Set up cfi on error recovery and
52072 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
52073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52074 (__makecontext): Add dummy nop after jump to exit.
52075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
52076 Use correct parm save area and cr save, reduce stack frame.
52077 Correct cfi for possible PSEUDO_RET frame setup.
52078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
52079 Branch to local label emitted by PSEUDO_RET rather than
52080 __syscall_error.
52081
02637374
AS
520822010-08-12 Andreas Schwab <schwab@redhat.com>
52083
52084 [BZ #11904]
52085 * locale/programs/locale.c (print_assignment): New function.
52086 (show_locale_vars): Use it.
52087
c3e2f19b
UD
520882010-08-11 Ulrich Drepper <drepper@redhat.com>
52089
3cdaa6ad
UD
52090 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
52091 field.
52092 (struct statfs64): Likewise.
52093 (_STATFS_F_FLAGS): Define.
52094 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
52095 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52096 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
52097 (ST_VALID): Define locally.
52098 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
52099 __statvfs_getflags, use the provided value.
52100 * sysdeps/unix/sysv/linux/kernel-features.h: Define
52101 __ASSUME_STATFS_F_FLAGS.
52102
754f7da3
UD
52103 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
52104
10b3bedc
UD
52105 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
52106 Add sys/fanotify.h.
52107 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
52108 fanotify_mask for GLIBC_2.13.
52109 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
52110 fanotify_init and fanotify_mark.
52111 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52112 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
52113
c08fb0d7
UD
52114 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
52115 Add prlimit.
52116 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
52117 prlimit64 for GLIBC_2.13.
52118 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
52119 prlimit64.
52120 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
52121 syscall.
52122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
52123 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52124 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
52125 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
52126 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
52127 add prlimit alias.
52128 * sysdeps/unix/sysv/linux/prlimit.c: New file.
52129
15bac72b
UD
52130 [BZ #11903]
52131 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
52132 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
52133
c3e2f19b
UD
52134 * nss/Makefile: Add rules to build and run tst-nss-test1.
52135 * shlib-versions: Add entry for libnss_test1.
52136 * nss/nss_test1.c: New file.
52137 * nss/tst-nss-test1.c: New file.
52138
52139 * nss/nsswitch.c (__nss_database_custom): Define new variable.
52140 (__nss_configure_lookup): Set appropriate entry in
52141 __nss_configure_lookup to true.
52142 * nss/nsswitch.h: Define enum with indeces of databases in
52143 databases and __nss_database_custom arrays. Declare
52144 __nss_database_custom.
52145 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
52146 to avoid using nscd when custom rules are installed.
52147 * nss/getXXbyYY_r.c: Likewise.
52148 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52149
52150 * nss/nss_files/files-parse.c: Whitespace fixes.
52151
f15ce4d8
UD
521522010-08-09 Ulrich Drepper <drepper@redhat.com>
52153
52154 [BZ #11883]
52155 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
52156 * posix/fnmatch_loop.c: Likewise.
52157
d22e4cc9
AK
521582010-07-17 Andi Kleen <ak@linux.intel.com>
52159
52160 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
52161 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
52162 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
52163 * Versions.def [GLIBC_2.13]: Add.
52164
805bc17d
UD
521652010-08-06 Ulrich Drepper <drepper@redhat.com>
52166
52167 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52168 Also fail if tpwd after pwuid call is NULL.
52169
5a42321d
ST
521702010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
52171
52172 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
52173 when converting to ms.
52174
fd3ebeda
ST
521752010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52176
52177 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
52178 EOPNOTSUPP errors with ENOTTY.
52179 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
52180 EOPNOTSUPP errors with ENOTTY.
52181
73507d3a
UD
521822010-07-31 Ulrich Drepper <drepper@redhat.com>
52183
52184 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52185 Add strcasecmp_l-ssse3.
52186 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
52187 strcasecmp.
52188 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
52189 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
52190 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
52191
fe36dd02
UD
521922010-07-30 Ulrich Drepper <drepper@redhat.com>
52193
66f6765a
UD
52194 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
52195
42e08a54
UD
52196 * string/Makefile (strop-tests): Add strcasecmp.
52197 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52198 strcasecmp_l-nonascii.
52199 (gen-as-const-headers): Add locale-defines.sym.
52200 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
52201 * sysdeps/x86_64/strcasecmp.S: New file.
52202 * sysdeps/x86_64/strcasecmp_l.S: New file.
52203 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
52204 * sysdeps/x86_64/locale-defines.sym: New file.
52205 * string/test-strcasecmp.c: New file.
52206
fe36dd02
UD
52207 * string/test-strcasestr.c: Test both ends of the range of characters.
52208 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
52209
48cbc0d6
RM
522102010-07-29 Roland McGrath <roland@redhat.com>
52211
76e6d6bc 52212 [BZ #11856]
48cbc0d6
RM
52213 * manual/locale.texi (Yes-or-No Questions): Fix example code.
52214
880113d9
UD
522152010-07-27 Ulrich Drepper <drepper@redhat.com>
52216
52217 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
52218 for ld.so.
52219
deb9cabb
AS
522202010-07-27 Andreas Schwab <schwab@redhat.com>
52221
52222 * manual/memory.texi (Malloc Tunable Parameters): Document
52223 M_PERTURB.
52224
1c7570ff
RM
522252010-07-26 Roland McGrath <roland@redhat.com>
52226
52227 [BZ #11840]
52228 * configure.in (-fgnu89-inline check): Set and substitute
52229 gnu89_inline, not libc_cv_gnu89_inline.
52230 * configure: Regenerated.
52231 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
52232
24fb0f88
UD
522332010-07-26 Ulrich Drepper <drepper@redhat.com>
52234
52235 * string/test-strnlen.c: New file.
52236 * string/Makefile (strop-tests): Add strnlen.
52237 * string/tester.c (test_strnlen): Add a few more test cases.
52238 * string/tst-strlen.c: Better error reporting.
52239
52240 * sysdeps/x86_64/strnlen.S: New file.
52241
8e96b93a
UD
522422010-07-24 Ulrich Drepper <drepper@redhat.com>
52243
52244 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
52245 lower-latency instructions.
52246
dbc676d4
UD
522472010-07-23 Ulrich Drepper <drepper@redhat.com>
52248
52249 * string/test-strcasestr.c: New file.
52250 * string/test-strstr.c: New file.
52251 * string/Makefile (strop-tests): Add strstr and strcasestr.
52252 * string/str-two-way.h: Don't undefine MAX.
52253 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
52254
f6a31e0e
AS
522552010-07-21 Andreas Schwab <schwab@redhat.com>
52256
52257 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52258 strcasestr-nonascii.
52259 (CFLAGS-strcasestr-nonascii.c): Define.
52260 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
52261 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
52262 Remove unused attribute.
52263
5dbc3b6c
RM
522642010-07-20 Roland McGrath <roland@redhat.com>
52265
52266 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
52267 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
52268 ld.so.cache was broken. With it, there is no way to disable dsocaps
52269 like LD_HWCAP_MASK can disable hwcaps.
52270
23d101d8
EPM
522712010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52272
52273 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
52274
cc9f2e47
UD
522752010-07-16 Ulrich Drepper <drepper@redhat.com>
52276
52277 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
52278 call in strcasestr.
52279 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
52280 __strcasestr_sse42_nonascii.
52281 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
52282 strcasestr-nonascii.c.
52283 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
52284
77c1b069
LM
522852010-06-15 Luis Machado <luisgpm@br.ibm.com>
52286
52287 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
52288 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
52289 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
52290 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
52291
440566c3
UD
522922010-07-09 Ulrich Drepper <drepper@redhat.com>
52293
52294 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
52295 fcntl.
52296
5be9d05d
AS
522972010-07-06 Andreas Schwab <schwab@redhat.com>
52298
c30b7ee2 52299 [BZ #11577]
5be9d05d
AS
52300 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
52301 dl_signal_cerror.
52302
8a492a67
UD
523032010-07-06 Ulrich Drepper <drepper@redhat.com>
52304
52305 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
52306 _PC_PIPE_BUF using F_GETPIPE_SZ.
52307
713df3d5
RM
523082010-07-05 Roland McGrath <roland@redhat.com>
52309
52310 * manual/arith.texi (Rounding Functions): Fix rint description
52311 implicit in round description.
52312
702e8f14
UD
523132010-07-02 Ulrich Drepper <drepper@redhat.com>
52314
52315 * elf/Makefile: Fix linking for a few tests to make recent linker
52316 happy.
52317
52ed8be9
AS
523182010-06-30 Andreas Schwab <schwab@redhat.com>
52319
52320 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52321 $(common-objpfx)libc_nonshared.a.
52322
f47c9a11
LM
523232010-06-21 Luis Machado <luisgpm@br.ibm.com>
52324
52325 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
52326 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
52327 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52328 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52329 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
52330 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
52331 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52332 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
52334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
52335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
52336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
52338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
52340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
52341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
52342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
52343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
52345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
52347 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
52348 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
52349 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
52350 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
52351 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
52352 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
52353 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
52354 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
52355 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
52356 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
52357 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
52358 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
52359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
52360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
52361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
52362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
52363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
52364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
52365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
52366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
52367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
52368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
52369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
52370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
52371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
52372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
52373
6fb8cbcb
L
523742010-06-25 H.J. Lu <hongjiu.lu@intel.com>
52375
52376 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
52377 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
52378 * string/memmove.c (memmove): Renamed to ...
52379 (MEMMOVE): ...this. Default to memmove.
52380 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
52381 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
52382 (END_CHK): Define.
52383 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52384 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
52385 mempcpy-ssse3-back memmove-ssse3-back.
52386 * sysdeps/x86_64/multiarch/bcopy.S: New file .
52387 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
52388 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
52389 * sysdeps/x86_64/multiarch/memcpy.S: New file.
52390 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
52391 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
52392 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
52393 * sysdeps/x86_64/multiarch/memmove.c: New file.
52394 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
52395 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
52396 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
52397 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
52398 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
52399 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
52400 Define.
52401 (index_Fast_Copy_Backward): Define.
52402 (HAS_ARCH_FEATURE): Define.
52403 (HAS_FAST_REP_STRING): Define.
52404 (HAS_FAST_COPY_BACKWARD): Define.
52405
4e733bac 524062010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
52407
52408 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52409 Restore proper fallback handling.
52410
63c4ed22
UD
524112010-06-19 Ulrich Drepper <drepper@redhat.com>
52412
ac2b484c
UD
52413 [BZ #11701]
52414 * posix/group_member.c (__group_member): Correct checking loop.
52415
63c4ed22
UD
52416 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
52417 OOM in getpwuid_r correctly. Return error number when the caller
52418 should return, otherwise -1.
52419 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
52420 call returning > 0 value.
52421 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
52422
765ade4b
AS
524232010-06-07 Andreas Schwab <schwab@redhat.com>
52424
52425 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
52426 libc_nonshared.a from targets in modules-names.
52427
80da2e09
KS
524282010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
52429
52430 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
52431 requires it.
52432
158db122
LM
524332010-06-10 Luis Machado <luisgpm@br.ibm.com>
52434
52435 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
52436 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
52437 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
52438 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
52439
caa78cf8
AS
524402010-06-02 Andreas Schwab <schwab@redhat.com>
52441
52442 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
52443
b2ef2c01
UD
524442010-06-14 Ulrich Drepper <drepper@redhat.com>
52445
52446 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
52447 and F_GETPIPE_SZ.
52448 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52449 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52450 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52451 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52452 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52453 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
52454
fbd643b6
RM
524552010-06-14 Roland McGrath <roland@redhat.com>
52456
52457 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
52458
f32f2869
JJ
524592010-06-07 Jakub Jelinek <jakub@redhat.com>
52460
52461 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
52462 __REDIRECT followed by __THROW.
52463 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
52464 * posix/getopt.h (getopt): Likewise.
52465
2a50c078
EPM
524662010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52467
52468 * hurd/lookup-at.c (__file_name_lookup_at): Accept
52469 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
52470 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
52471 in AT_FLAGS.
52472 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
52473 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
52474
eb5ad2eb
LM
524752010-05-28 Luis Machado <luisgpm@br.ibm.com>
52476
52477 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
52478
3c88fe1e
L
524792010-05-26 H.J. Lu <hongjiu.lu@intel.com>
52480
52481 [BZ #11640]
52482 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52483 Properly check family and model.
52484
d2f73151
TY
524852010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
52486
52487 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
52488
ebd2e13d
LM
524892010-05-24 Luis Machado <luisgpm@br.ibm.com>
52490
52491 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
52492
b32b8b45
UD
524932010-05-21 Ulrich Drepper <drepper@redhat.com>
52494
52495 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
52496 symbol reference.
52497
9acbe24d
AS
524982010-05-19 Andreas Schwab <schwab@redhat.com>
52499
52500 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
52501 symbol reference.
52502
f0ccf6ea
AS
525032010-05-21 Andreas Schwab <schwab@redhat.com>
52504
3d04ff3a
AS
52505 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
52506 and internal_recvmmsg.
52507 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
52508 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
52509 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
52510 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
52511
f0ccf6ea
AS
52512 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
52513 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
52514 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
52515
5b08ac57
AS
525162010-05-20 Andreas Schwab <schwab@redhat.com>
52517
52518 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
52519
4828935d
LM
525202010-05-17 Luis Machado <luisgpm@br.ibm.com>
52521
52522 POWER7 optimizations.
52523 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
52524 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
52525
373d545e
UD
525262010-05-19 Ulrich Drepper <drepper@redhat.com>
52527
52528 * version.h: Update for 2.13 development version.
52529
21a2b1ae
AS
525302010-05-12 Andrew Stubbs <ams@codesourcery.com>
52531
52532 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
52533 exceptions. Return 0.
52534
3f7dcb2b
RM
525352010-05-07 Roland McGrath <roland@redhat.com>
52536
52537 * elf/ldconfig.c (main): Add a const.
52538
5f24d53a 525392010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 52540
a160f8d8
UD
52541 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
52542 (args_options): Add no-idn option.
52543 (ahosts_keys_int): Add idn_flags to ai_flags.
52544 (parse_option): Handle 'i' option to clear idn_flags.
52545
5f24d53a
UD
52546 * malloc/malloc.c (_int_free): Possible race in the most recently
52547 added check. Only act on the data if no current modification
52548 happened.
265bb1ce
UD
52549
52550See ChangeLog.17 for earlier changes.
This page took 7.651229 seconds and 5 git commands to generate.