]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Remove IS_IN_librt
[thirdparty/glibc.git] / ChangeLog
CommitLineData
279bc5b3
SP
12014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2
016afc75
SP
3 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
4 * nptl/pthreadP.h: Likewise.
5 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
6 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
10 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
11 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
13 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
14 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
15 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
16 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
17 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
18 Likewise.
19 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
20 Likewise.
21 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
23 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
24 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
29
9b42a0b3
SP
30 * dlfcn/dladdr.c: Use IS_IN.
31 * dlfcn/dladdr1.c: Likewise.
32 * dlfcn/dlclose.c: Likewise.
33 * dlfcn/dlerror.c: Likewise.
34 * dlfcn/dlinfo.c: Likewise.
35 * dlfcn/dlmopen.c: Likewise.
36 * dlfcn/dlopen.c: Likewise.
37 * dlfcn/dlsym.c: Likewise.
38 * dlfcn/dlvsym.c: Likewise.
39
85f36372
SP
40 * include/ifaddrs.h: Use IS_IN.
41 * inet/check_pf.c: Likewise.
42 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
43 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
44
fb6784e3
SP
45 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
46 IS_IN_ldconfig.
47 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
48 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
49
2886d2d1
SP
50 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
51 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
52 IS_IN (libc).
53
9a484857
SP
54 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
55
a10178bd
SP
56 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
57 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
58 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
59 * include/libc-symbols.h (IS_IN_LIB): New macro.
60 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
61 * include/netdb.h: Likewise.
62 * include/stap-probe.h: Remove all uses of IN_LIB.
63
279bc5b3
SP
64 * Makeconfig (module-cppflags-real): Define MODULE_NAME
65 instead of IN_MODULE.
66 * include/libc-symbols.h (IN_MODULE): Define using
67 MODULE_NAME.
68 (PASTE_NAME, PASTE_NAME1): New macros.
69 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
70 of IN_LIB.
71 (STAP_PROBE_ASM): Likewise.
72
e0cfa510
ST
732014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
74
75 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
76 __mach_init in dlopened libc.
77
34d97d87
MF
782014-11-22 Mike Frysinger <vapier@gentoo.org>
79
80 * sysdeps/arm/preconfigure.ac: Delete EABI check.
81 * sysdeps/arm/preconfigure: Regenerate.
82
33cd1f74
RM
832014-11-21 Roland McGrath <roland@hack.frob.com>
84
85 * nptl/pthread_create.c (__pthread_create_2_1): Set
86 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
87 when copying values from IATTR into PD.
88
8c230039
WN
892014-11-21 Will Newton <will.newton@linaro.org>
90 Andrew Pinski <andrew.pinski@caviumnetworks.com>
91
6d3db89b
AP
92 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
93 Refactor inline-asm. Also add comment.
94
01194ba1
WN
95 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
96 ElfW macro instead of hardcoded Elf64 types.
97 (la_aarch64_gnu_pltenter): Likewise.
98 * sysdeps/aarch64/dl-machine.h
99 (elf_machine_runtime_setup): Use ElfW(Addr).
100
8c230039
WN
101 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
102 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
103 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
104 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
105 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
106 (R_AARCH64_TLS_DTPMOD64): Rename to ..
107 (R_AARCH64_TLS_DTPMOD): This.
108 (R_AARCH64_TLS_DTPREL64): Rename to ...
109 (R_AARCH64_TLS_DTPREL): This.
110 (R_AARCH64_TLS_TPREL64): Rename to ...
111 (R_AARCH64_TLS_TPREL): This.
112 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
113 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
114 R_AARCH64_TLS_TPREL64.
115 (elf_machine_rela): Likewise.
116
0d79fa53
TR
1172014-11-21 Torvald Riegel <triegel@redhat.com>
118
119 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
120 by setting it to 0. 64b atomics are not supported currently.
121
b59d114b
AO
1222014-11-21 Alexandre Oliva <aoliva@redhat.com>
123
124 [BZ #16469]
125 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
126 search domain names.
127
f3d945d5
AO
1282014-11-21 Alexandre Oliva <aoliva@redhat.com>
129
130 [BZ #16469]
131 * NEWS: Update.
132 * resolv/res_query.c (__libc_res_nquerydomain): Retain
133 trailing dot.
134 * posix/tst-getaddrinfo5.c: New.
135 * posix/Makefile (tests): Add it.
136
49698902
AO
1372014-11-21 Alexandre Oliva <aoliva@redhat.com>
138
139 [BZ #14498]
140 * NEWS: Fixed.
141 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
142 after parsing line but before break_if_match.
143 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
144 if there is a protocol mismatch.
145
81959214
MS
1462014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
147
148 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
149 because the potential race is on the user-supplied stream.
150
7729e0e9
AO
1512014-11-21 Alexandre Oliva <aoliva@redhat.com>
152
153 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
154 string literal if not passed a buffer.
155 * manual/job.texi (ctermid): Update reasoning, note deviation
156 from posix, suggest mtasurace when not passed a buffer, for
157 future non-preliminary safety notes.
158
a4ea5e28
AO
1592014-11-21 Alexandre Oliva <aoliva@redhat.com>
160
161 * manual/users.texi (cuserid): Fix MT-Safety note for the case
162 of not passing it a buffer.
163 Reported by Peng Haitao.
164
a2b581cb
AO
1652014-11-21 Alexandre Oliva <aoliva@redhat.com>
166
167 * manual/Makefile ($(objpfx)stamp-summary): Require
168 check-safety.sh to pass.
169 * manual/check-safety.sh: Wish for verification that every
170 @deftypefn and @deftypefun is followed by a @safety remark.
171
f214ff74
RM
1722014-11-20 Roland McGrath <roland@hack.frob.com>
173
7f0dfae0
RM
174 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
175
2f531bbb
RM
176 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
177 PTHREAD_CANCEL_ASYNCHRONOUS.
178 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
179 send SIGCANCEL.
180
f214ff74
RM
181 * nptl/default-sched.h: New file.
182 * sysdeps/unix/sysv/linux/default-sched.h: New file.
183 * nptl/pthread_create.c: Include it.
184 (__pthread_create_2_1): Use collect_default_sched instead of making
185 Linux syscalls here directly.
186
e37c91d4
TR
1872014-11-20 Torvald Riegel <triegel@redhat.com>
188
189 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
190 __pthread_once): Use C11 atomics.
191
1eccfecd
TR
1922014-11-20 Torvald Riegel <triegel@redhat.com>
193
194 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
195
ff871426
TR
1962014-11-20 Torvald Riegel <triegel@redhat.com>
197
198 * include/atomic.h (__atomic_link_error, __atomic_check_size,
199 atomic_thread_fence_acquire, atomic_thread_fence_release,
200 atomic_thread_fence_seq_cst, atomic_load_relaxed,
201 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
202 atomic_compare_exchange_weak_relaxed,
203 atomic_compare_exchange_weak_acquire,
204 atomic_compare_exchange_weak_release,
205 atomic_exchange_acquire, atomic_exchange_release,
206 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
207 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
208 atomic_fetch_and_acquire,
209 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
210
1ea339b6
TR
2112014-11-20 Torvald Riegel <triegel@redhat.com>
212
213 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
214 USE_ATOMIC_COMPILER_BUILTINS): Define.
215 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
216 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
217 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
218 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
219 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
220 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
221 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
222 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
223 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
224 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
225 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
226 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
227 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
228 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
229 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
230 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
231 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
232 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
233 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
234 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
235 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
236 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
237 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
238 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
239 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
240 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
241 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
242 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
243 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
244 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
245 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
246 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
247 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
248 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
249 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
250 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
251 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
252 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
253 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
254 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
255
cbd463e2
RM
2562014-11-19 Roland McGrath <roland@hack.frob.com>
257
d960211f
RM
258 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
259 the sched_priority value here. It was already checked when the user
260 called pthread_attr_setschedparam.
261
cbd463e2
RM
262 * nptl/tst-bad-schedattr.c: New file.
263 * nptl/Makefile (tests): Add it.
264
a39208bd
CD
2652014-11-19 Carlos O'Donell <carlos@redhat.com>
266 Florian Weimer <fweimer@redhat.com>
267 Joseph Myers <joseph@codesourcery.com>
268 Adam Conrad <adconrad@0c3.net>
269 Andreas Schwab <schwab@suse.de>
270 Brooks <bmoses@google.com>
271
272 [BZ #17625]
273 * wordexp-test.c (__dso_handle): Add prototype.
274 (__register_atfork): Likewise.
275 (__app_register_atfork): New function.
276 (registered_forks): New global.
277 (register_fork): New function.
278 (test_case): Add 3 new tests for WRDE_CMDSUB.
279 (main): Call __app_register_atfork.
280 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
281 fork count is non-zero fail the test.
282 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
283 is set.
284 (parse_dollars): Remove check for WRDE_NOCMD.
285 (parse_dquote): Likewise.
286
9cd47470
SP
2872014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
288
130ac68c
SP
289 * Makeconfig (built-modules): List non-library modules to be
290 built.
291 (module-cppflags): Include libc-modules.h for
292 everything except shlib-versions.v.i.
293 (CPPFLAGS): Use it.
294 (before-compile): Add libc-modules.h.
295 ($(common-objpfx)libc-modules.h,
296 $(common-objpfx)libc-modules.stmp): New targets.
297 (common-generated): Add libc-modules.h and libc-modules.stmp.
298 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
299 * include/libc-symbols.h: Don't include libc-modules.h.
300 * include/libc-modules.h: Remove file.
301 * scripts/gen-libc-modules.awk: New script to generate
302 libc-modules.h.
303 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
304 Depend on libc-modules.stmp.
305
286663c3
SP
306 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
307
9cd47470
SP
308 * Makeconfig (in-module): Get value of libof set for the
309 translation unit.
310 (CPPFLAGS): Use $(in-module).
311 * Makerules: Don't suffix routine names for nonlib.
312 * include/libc-modules.h: New file.
313 * include/libc-symbols.h: Include libc-modules.h
314 (IS_IN): New macro to replace IS_IN_* macros.
315 * elf/Makefile: Set libof-* for each routine.
316 * elf/rtld-Rules: Likewise.
317 * extra-modules.mk: Likewise.
318 * iconv/Makefile: Likewise.
319 * iconvdata/Makefile: Likewise.
320 * locale/Makefile: Likewise.
321 * malloc/Makefile: Likewise.
322 * nss/Makefile: Likewise.
323 * sysdeps/gnu/Makefile: Likewise.
324 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
325 * sysdeps/unix/sysv/linux/Makefile: Likewise.
326 * sysdeps/s390/s390-64/Makefile: Likewise.
327 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
328 CPPFLAGS for nscd instead of nonlib.
329
32fed10f
RM
3302014-11-18 Roland McGrath <roland@hack.frob.com>
331
d71035bd
RM
332 * nptl/createthread.c: New file.
333
6540b991
RM
334 * nptl/createthread.c: Moved ...
335 * sysdeps/unix/sysv/linux/createthread.c: ... here.
336
32fed10f
RM
337 * nptl/createthread.c: Add proper top-line comment.
338 (do_clone): Folded into ...
339 (create_thread): ... here. Take new arguments STOPPED_START and
340 THREAD_RAN. Always set PD->stopped_start to something here. Don't
341 increment __nptl_threads, do event-reporting logic, do
342 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
343 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
344 resource cleanup if sched_setaffinity or sched_setscheduler fails,
345 just send SIGCANCEL.
346 * nptl/pthread_create.c: Forward-declare create_thread before
347 including createthread.c.
348 (start_thread): Use new macro START_THREAD_DEFN to replace defining
349 declaration, and new macro START_THREAD_SELF to replace argument.
350 Remove return statement.
351 (report_thread_creation): New function.
352 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
353 synchronization logic, and __nptl_nthreads increment here, around
354 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
355 PD->parent_cancelhandling here, before create_thread. When
356 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
357 __deallocate_stack, and ENOMEM translation here.
358
107a5bf0
JM
3592014-11-18 Joseph Myers <joseph@codesourcery.com>
360
361 [BZ #17616]
362 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
363 (mptwo): Rename to __mptwo.
364 (__inv): Use __mptwo instead of mptwo.
365 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
366 (mptwo): Rename to __mptwo.
367 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
368 of mpone and __mptwo instead of mptwo.
369 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
370 instead of mpone.
371 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
372 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
373 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
374 of mpone and __mptwo instead of mptwo.
375 (__mpranred): Use __mpone instead of mpone.
376 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
377 variable.
378 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
379 (test-xfail-ISO99/math.h/linknamespace): Likewise.
380 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
381 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
382 (test-xfail-ISO11/math.h/linknamespace): Likewise.
383 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
384 (test-xfail-XPG3/math.h/linknamespace): Likewise.
385 (test-xfail-XPG4/math.h/linknamespace): Likewise.
386 (test-xfail-POSIX/math.h/linknamespace): Likewise.
387 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
388 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
389 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
390 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
391 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
392 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
393 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
394 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
395 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
396 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
397
3b679ab3
TV
3982014-11-18 Tom de Vries <tom@codesoucery.com>
399
400 * manual/signal.texi (Primitives Interrupted by Signals): In section,
401 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
402
4032014-11-17 Richard Henderson <rth@redhat.com>
404
405 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
406 (_FP_PACK_RAW_2): Remove.
407 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
408 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
409 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
410 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
411 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
412 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
413 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
414 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
415 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
416 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
417 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
418 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
419 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
420 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
421 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
422 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
423
0781a777
RM
4242014-11-14 Roland McGrath <roland@hack.frob.com>
425
426 * signal/signal.h [__USE_MISC]
427 (struct sigvec): Remove type.
428 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
429 (sigvec): Remove declaration.
430 * sysdeps/posix/sigvec.c: Moved ...
431 * signal/sigvec.c: ... here, replacing old file.
432 (struct sigvec): New type, copied from old signal.h definition.
433 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
434 (__sigvec): Convert definition to prototype.
435 (sigvec): Replace weak_alias with compat_symbol.
436 * signal/Versions (libc: GLIBC_2.21): New version set.
437 * include/signal.h: Remove __sigvec declaration.
438 * sysdeps/unix/bsd/sigvec.c: Remove file.
439 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
440 * manual/signal.texi (BSD Handler): Remove subsection.
441 Move siginterrupt up to ...
442 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
443 (Blocking in BSD): Fold subsection into its parent.
444 * NEWS: Mention sigvec removal.
445
a4733812
JM
4462014-11-14 Joseph Myers <joseph@codesourcery.com>
447
5ae4fe60
JM
448 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
449 (DLA_FMS): Make definition conditional only on [__FMA4__].
450 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
451 definition.
452
6a0dd472
JM
453 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
454 Make definition conditional only on [PROF].
455 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
456 definition.
457 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
458 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
459
a4733812
JM
460 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
461 !__GNUC__].
462 * include/signal.h (__sigpause): Move declaration above call to
463 libc_hidden_proto.
464 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
465 variable.
466 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
467 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
468
cf7246dd
DM
4692014-11-14 David S. Miller <davem@davemloft.net>
470
471 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
472 Define before including <string/memcpy.c> and <string/mempcpy.c>.
473
c1b0aadc
JM
4742014-11-14 Joseph Myers <joseph@codesourcery.com>
475
4863355a
JM
476 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
477 * configure: Regenerated.
478 * manual/install.texi (Tools for Compilation): Document a
479 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
480 compiler verified to work.
481 * INSTALL: Regenerated.
482
c1b0aadc
JM
483 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
484 redeclare with asm name.
485 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
486 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
487 including <string.h>.
488 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
489 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
490 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
491 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
492 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
493 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
494 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
495
2a1cfd94
JM
4962014-11-13 Joseph Myers <joseph@codesourcery.com>
497
bf438382
JM
498 * stdlib/strtol.c (__strtol): Use prototype definition.
499
2a1cfd94
JM
500 [BZ #17594]
501 * stdlib/strtol.c (SYM__): New macro.
502 (SYM__1): Likewise.
503 (__strtol): Likewise.
504 (strtol): Rename to __strtol and define as weak alias of
505 __strtol. Use libc_hidden_weak.
506
20ed0d26
SL
5072014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
508
509 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
510 Use numbered labels in inline assembly.
511
53244a4e
SL
5122014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
513
514 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
515 Add setjmp LIBC_PROBE.
516 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
517 Likewise.
518 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
519 Add longjmp, longjmp_target LIBC_PROBE.
520 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
521 Likewise.
522
47df8251
SL
5232014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
524
525 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
526 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
527 to get rid of unused variable warning.
528
618cebef
SL
5292014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
530
531 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
532 Check for unwind_backtrace == NULL only in SHARED case.
533 (__backchain_backtrace): Compile only in SHARED case.
534 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
535 Likewise.
536 (__backchain_backtrace): Declare as static.
537
c6aab2cb
RM
5382014-11-12 Roland McGrath <roland@hack.frob.com>
539
540 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
541 (__libc_multiple_threads_ptr): Variable moved ...
542 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
543
5a6fa4d7
JM
5442014-11-12 Joseph Myers <joseph@codesourcery.com>
545
24f4f825
JM
546 * conform/GlibcConform.pm: New file.
547 * conform/conformtest.pl: Use GlibcConform module.
548 * conform/linknamespace.pl: New file.
549 * conform/list-header-symbols.pl: Likewise.
550 * conform/Makefile (linknamespace-symlists-base): New variable.
551 (linknamespace-symlists-tests): Likewise.
552 (linknamespace-header-base): Likewise.
553 (linknamespace-header-tests): Likewise.
554 (tests-special): Add new tests.
555 ($(linknamespace-symlists-tests)): New rule.
556 (linknamespace-libs): New variable.
557 ($(objpfx)symlist-stdlibs): New rule.
558 ($(linknamespace-header-tests)): Likewise.
559 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
560 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
561 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
562 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
563 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
564 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
565 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
566 (test-xfail-ISO/math.h/linknamespace): Likewise.
567 (test-xfail-ISO/signal.h/linknamespace): Likewise.
568 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
569 (test-xfail-ISO/time.h/linknamespace): Likewise.
570 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
571 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
572 (test-xfail-ISO99/math.h/linknamespace): Likewise.
573 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
574 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
575 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
576 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
577 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
578 (test-xfail-ISO11/math.h/linknamespace): Likewise.
579 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
580 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
581 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
582 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
583 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
584 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
585 (test-xfail-XPG3/math.h/linknamespace): Likewise.
586 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
587 (test-xfail-XPG3/search.h/linknamespace): Likewise.
588 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
589 (test-xfail-XPG3/time.h/linknamespace): Likewise.
590 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
591 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
592 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
593 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
594 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
595 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
596 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
597 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
598 (test-xfail-XPG4/math.h/linknamespace): Likewise.
599 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
600 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
601 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
602 (test-xfail-XPG4/search.h/linknamespace): Likewise.
603 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
604 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
605 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
606 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
607 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
608 (test-xfail-XPG4/time.h/linknamespace): Likewise.
609 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
610 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
611 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
612 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
613 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
614 (test-xfail-POSIX/math.h/linknamespace): Likewise.
615 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
616 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
617 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
618 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
619 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
620 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
621 (test-xfail-POSIX/time.h/linknamespace): Likewise.
622 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
623 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
624 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
625 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
626 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
627 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
628 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
629 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
630 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
631 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
632 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
633 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
634 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
635 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
636 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
637 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
638 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
639 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
640 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
641 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
642 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
643 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
644 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
645 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
646 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
647 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
648 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
649 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
650 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
651 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
652 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
653 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
654 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
655 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
656 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
657 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
658 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
659 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
660 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
661 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
662 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
663 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
664 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
665 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
666 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
667 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
668 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
669 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
670 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
671 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
672 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
673 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
674 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
675 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
676 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
677 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
678 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
679 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
680 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
681 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
682 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
683 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
684 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
685 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
686 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
687 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
688 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
689 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
690 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
691 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
692 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
693 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
694 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
695 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
696 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
697 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
698 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
699 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
700 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
701 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
702 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
703 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
704 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
705 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
706 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
707 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
708 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
709 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
710 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
711 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
712 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
713 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
714 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
715 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
716 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
717 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
718 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
719 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
720
cc67478e
JM
721 [BZ #17589]
722 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
723 of fgets_unlocked.
724
9975e3d3
JM
725 [BZ #17585]
726 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
727 (memmem): Rename to __memmem and define as weak alias of
728 __memmem. Use libc_hidden_weak.
729 (__memmem): Use libc_hidden_def.
730 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
731 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
732 memmem.
733
c4eae752
JM
734 [BZ #17582]
735 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
736 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
737 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
738 and define as weak alias of __fgets_unlocked. Use
739 libc_hidden_weak.
740 (__fgets_unlocked): Use libc_hidden_def.
741 * include/stdio.h (__fgets_unlocked): Declare. Use
742 libc_hidden_proto.
743 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
744 __fgets_unlocked instead of fgets_unlocked.
745 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
746 (GET_NPROCS_CONF_PARSER): Likewise.
747 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
748 (GET_NPROCS_CONF_PARSER): Likewise.
749
01cad84e
JM
750 [BZ #17574]
751 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
752 weak alias of __wmemset. Use libc_hidden_weak.
753 (__wmemset): Use libc_hidden_def.
754 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
755 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
756 of wmemset.
757
939da411
JM
758 [BZ #17573]
759 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
760 with asm name __mempcpy.
761 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
762
293d9a41
JM
763 [BZ #17572]
764 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
765 and define as weak alias of __rawmemchr.
766 (__rawmemchr): Do not define as strong alias of rawmemchr.
767
bef8fd60
JM
768 [BZ #17571]
769 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
770 alias of __qsort_r.
771 (qsort): Call __qsort_r instead of qsort_r.
772 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
773 (__qsort_r): Declare. Call libc_hidden_proto.
774 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
775 instead of qsort_r.
776 * nscd/gai.c (__qsort_r): Define to qsort_r.
777 * posix/tst-rfc3484.c (__qsort_r): Likewise.
778 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
779 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
780
c52ff39e
JM
781 [BZ #17570]
782 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
783 define as weak alias of __malloc_info.
784
2f5c1b00
JM
785 [BZ #17584]
786 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
787 as weak alias of __rewinddir. Don't use libc_hidden_def.
788 (__rewinddir): Use libc_hidden_def.
789 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
790 as weak alias of __rewinddir. Don't use libc_hidden_def.
791 (__rewinddir): Use libc_hidden_def.
792 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
793 weak alias of __rewinddir. Don't use libc_hidden_def.
794 (__rewinddir): Use libc_hidden_def.
795 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
796 (__rewinddir): Use libc_hidden_proto.
797 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
798 rewinddir.
799 (__getcwd): Use __rewinddir instead of rewinddir.
800
5a6fa4d7
JM
801 [BZ #17583]
802 * libio/fileno.c (fileno): Rename to __fileno and define as weak
803 alias of __fileno. Use libc_hidden_weak.
804 (__fileno): Use libc_hidden_def.
805 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
806 * libio/ftello.c (ftello): Rename to __ftello and define as weak
807 alias of __ftello.
808 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
809 __ftello.
810 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
811 (__fread_unlocked): Define as strong alias of _IO_fread. Use
812 libc_hidden_def.
813 (fread_unlocked): Don't use libc_hidden_ver.
814 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
815 and define as weak alias of __fread_unlocked. Don't use
816 libc_hidden_def.
817 (__fread_unlocked): Use libc_hidden_def.
818 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
819 (ftello): Don't use libc_hidden_proto.
820 (__ftello): Declare. Use libc_hidden_proto.
821 (fread_unlocked): Don't use libc_hidden_proto.
822 (__fread_unlocked): Declare. Use libc_hidden_proto.
823 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
824 and __ftello instead of fileno, fread_unlocked and ftello.
825
2581b98e
SP
8262012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
827
828 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
829 GOT12.
830 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
831 Likewise.
832 (_dl_start_user): Likewise.
833 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
834
533bb7c2
SP
8352014-11-12 Carlos O'Donell <carlos@redhat.com>
836 Siddhesh Poyarekar <siddhesh@redhat.com>
837
838 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
839 Move argv and envp down instead of moving argc up.
840 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
841
fffa1cf8
LH
8422014-11-12 Leonhard Holz <leonhard.holz@web.de>
843
844 [BZ #17506]
845 * test-skeleton.c (main): Return successful if one of
846 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
847 * string/tst-strcoll-overflow.c: Define expected status.
848
fb89b46d
TU
8492014-11-12 Tatiana Udalova <t.udalova@samsung.com>
850
851 [BZ #17475]
852 * locale/iso-639.def: Define Bhili and Tulu language codes.
853
5c40c3ba
AH
8542014-11-11 Alan Hayward <alan.hayward@arm.com>
855
856 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
857
b17fe01b 8582014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
859
860 [BZ #17555]
861 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
862
bd805071
AS
8632014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
864
865 * configure.ac: Updated check of minimal required version to
866 2.22.
867 * manual/install.texi (Tools for Compilation): Updated version
868 number.
869 * configure: Regenerated.
870 * INSTALL: Likewise.
871
1400983e
AS
8722014-11-07 Andreas Schwab <schwab@linux-m68k.org>
873
874 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
875 __tls_get_addr.
876
2c46a66a
JM
8772014-11-07 Joseph Myers <joseph@codesourcery.com>
878
879 * include/sys/wait.h (__libc_waitpid): Remove declaration.
880 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
881 (__waitpid): Don't define as alias. Use libc_hidden_def not
882 libc_hidden_weak.
883 (waitpid): Define as alias of __waitpid.
884 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
885 __waitpid.
886 (__waitpid): Don't define as alias. Use libc_hidden_def not
887 libc_hidden_weak.
888 (waitpid): Define as alias of __waitpid.
889 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
890 __libc_waitpid alias.
891 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
892 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
893 Likewise.
894 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
895 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
896 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
897 alias.
898 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
899 __waitpid.
900 (__waitpid): Don't define as alias. Use libc_hidden_def not
901 libc_hidden_weak.
902 (waitpid): Define as alias of __waitpid.
903
da53d6db
CD
9042014-11-06 Carlos O'Donell <carlos@redhat.com>
905
a2887bdb
CD
906 * manual/llio.texi: Add comment that write safety has been
907 fixed in Linux.
908
da53d6db
CD
909 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
910 (localplt-build-dso): Add elf/ld.so.
911 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
912 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
913 and free for ld.so.
914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
915 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
917 Likewise.
918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
919 Likewise.
920 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
921 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
922 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
923 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
924 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
925 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
926 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
927 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
928 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
929 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
930 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
931
9cf27b8d
JM
9322014-11-05 Joseph Myers <joseph@codesourcery.com>
933
934 [BZ #14132]
935 * include/libc-symbols.h (INTUSE): Remove macro.
936 (INTDEF): Likewise.
937 (INTVARDEF): Likewise.
938 (_INTVARDEF): Likewise.
939 (INTDEF2): Likewise.
940 (INTVARDEF2): Likewise.
941 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
942 rtld_hidden_def instead of INTVARDEF.
943 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
944 (_dl_starting_up_internal): Remove declaration.
945 (_dl_starting_up): Use rtld_hidden_proto.
946 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
947 declaration.
948 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
949 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
950 _dl_starting_up.
951 * elf/dl-writev.h (_dl_writev): Likewise.
952 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
953 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
954 _dl_starting_up_internal.
955
af83568d
AZ
9562014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
957
958 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
959 test-skeleton.c.
960
b01ee67c
WN
9612014-11-05 Will Newton <will.newton@linaro.org>
962
963 * benchtests/Makefile: (bench-malloc): Add malloc thread
964 scalability benchmark.
965 * benchtests/bench-malloc-threads.c: New file.
966
be9d4ccc
RE
9672014-11-05 Richard Earnshaw <rearnsha@arm.com>
968
969 * sysdeps/aarch64/strchrnul.S: New file.
970
7110166d
AZ
9712014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
972
973 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
974 definition.
975 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
976 Likwise.
977 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
978 Likewise.
979 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
980 Likewise.
981 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
982 Likewise.
983 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
984 Likewise.
985
9862014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
987
988 * catgets/test-gencat.c: Use test-skeleton.c.
989 * catgets/tst-catgets.c: Likewise.
990 * csu/tst-empty.c: Likewise.
991 * elf/tst-audit2.c: Likewise.
992 * elf/tst-global1.c: Likewise.
993 * elf/tst-pathopt.c: Likewise.
994 * elf/tst-piemod1.c: Likewise.
995 * elf/tst-tls10.c: Likewise.
996 * elf/tst-tls11.c: Likewise.
997 * elf/tst-tls12.c: Likewise.
998 * gnulib/tst-gcc.c: Likewise.
999 * iconvdata/tst-e2big.c: Likewise.
1000 * iconvdata/tst-loading.c: Likewise.
1001 * iconv/tst-iconv1.c: Likewise.
1002 * iconv/tst-iconv2.c: Likewise.
1003 * inet/test-inet6_opt.c: Likewise.
1004 * inet/tst-gethnm.c: Likewise.
1005 * inet/tst-network.c: Likewise.
1006 * inet/tst-ntoa.c: Likewise.
1007 * intl/tst-codeset.c: Likewise.
1008 * intl/tst-gettext2.c: Likewise.
1009 * intl/tst-gettext3.c: Likewise.
1010 * intl/tst-ngettext.c: Likewise.
1011 * intl/tst-translit.c: Likewise.
1012 * io/test-stat.c: Likewise.
1013 * libio/test-fmemopen.c: Likewise.
1014 * libio/tst-freopen.c: Likewise.
1015 * libio/tst-sscanf.c: Likewise.
1016 * libio/tst-ungetwc1.c: Likewise.
1017 * libio/tst-ungetwc2.c: Likewise.
1018 * libio/tst-widetext.c: Likewise.
1019 * localedata/tst-ctype.c: Likewise.
1020 * localedata/tst-digits.c: Likewise.
1021 * localedata/tst-leaks.c: Likewise.
1022 * localedata/tst-mbswcs1.c: Likewise.
1023 * localedata/tst-mbswcs2.c: Likewise.
1024 * localedata/tst-mbswcs3.c: Likewise.
1025 * localedata/tst-mbswcs4.c: Likewise.
1026 * localedata/tst-mbswcs5.c: Likewise.
1027 * localedata/tst-setlocale.c: Likewise.
1028 * localedata/tst-trans.c: Likewise.
1029 * localedata/tst-wctype.c: Likewise.
1030 * localedata/tst-xlocale1.c: Likewise.
1031 * login/tst-grantpt.c: Likewise.
1032 * malloc/tst-calloc.c: Likewise.
1033 * malloc/tst-malloc.c: Likewise.
1034 * malloc/tst-mallocstate.c: Likewise.
1035 * malloc/tst-mcheck.c: Likewise.
1036 * malloc/tst-mtrace.c: Likewise.
1037 * malloc/tst-obstack.c: Likewise.
1038 * math/atest-exp2.c: Likewise.
1039 * math/atest-exp.c: Likewise.
1040 * math/atest-sincos.c: Likewise.
1041 * math/test-matherr.c: Likewise.
1042 * math/test-misc.c: Likewise.
1043 * math/test-powl.c: Likewise.
1044 * math/tst-definitions.c: Likewise.
1045 * misc/tst-dirname.c: Likewise.
1046 * misc/tst-efgcvt.c: Likewise.
1047 * misc/tst-fdset.c: Likewise.
1048 * misc/tst-hsearch.c: Likewise.
1049 * misc/tst-mntent2.c: Likewise.
1050 * nptl/tst-sem7.c: Likewise.
1051 * nptl/tst-sem8.c: Likewise.
1052 * nptl/tst-sem9.c: Likewise.
1053 * nss/test-netdb.c: Likewise.
1054 * posix/tst-fnmatch.c: Likewise.
1055 * posix/tst-getlogin.c: Likewise.
1056 * posix/tst-gnuglob.c: Likewise.
1057 * posix/tst-mmap.c: Likewise.
1058 * pwd/tst-getpw.c: Likewise.
1059 * resolv/tst-inet_ntop.c: Likewise.
1060 * rt/tst-timer.c: Likewise.
1061 * stdio-common/test-fseek.c: Likewise.
1062 * stdio-common/test-popen.c: Likewise.
1063 * stdio-common/test-vfprintf.c: Likewise.
1064 * stdio-common/tst-cookie.c: Likewise.
1065 * stdio-common/tst-fileno.c: Likewise.
1066 * stdio-common/tst-gets.c: Likewise.
1067 * stdio-common/tst-obprintf.c: Likewise.
1068 * stdio-common/tst-perror.c: Likewise.
1069 * stdio-common/tst-sprintf2.c: Likewise.
1070 * stdio-common/tst-sprintf3.c: Likewise.
1071 * stdio-common/tst-sprintf.c: Likewise.
1072 * stdio-common/tst-swprintf.c: Likewise.
1073 * stdio-common/tst-tmpnam.c: Likewise.
1074 * stdio-common/tst-unbputc.c: Likewise.
1075 * stdio-common/tst-wc-printf.c: Likewise.
1076 * stdlib/tst-environ.c: Likewise.
1077 * stdlib/tst-fmtmsg.c: Likewise.
1078 * stdlib/tst-limits.c: Likewise.
1079 * stdlib/tst-rand48-2.c: Likewise.
1080 * stdlib/tst-rand48.c: Likewise.
1081 * stdlib/tst-random2.c: Likewise.
1082 * stdlib/tst-random.c: Likewise.
1083 * stdlib/tst-strtol.c: Likewise.
1084 * stdlib/tst-strtoll.c: Likewise.
1085 * stdlib/tst-tls-atexit.c: Likewise.
1086 * stdlib/tst-xpg-basename.c: Likewise.
1087 * string/test-ffs.c: Likewise.
1088 * string/tst-bswap.c: Likewise.
1089 * string/tst-inlcall.c: Likewise.
1090 * string/tst-strtok.c: Likewise.
1091 * string/tst-strxfrm.c: Likewise.
1092 * sysdeps/x86_64/tst-audit10.c: Likewise.
1093 * sysdeps/x86_64/tst-audit3.c: Likewise.
1094 * sysdeps/x86_64/tst-audit4.c: Likewise.
1095 * sysdeps/x86_64/tst-audit5.c: Likewise.
1096 * time/tst-ftime_l.c: Likewise.
1097 * time/tst-getdate.c: Likewise.
1098 * time/tst-mktime3.c: Likewise.
1099 * time/tst-mktime.c: Likewise.
1100 * time/tst-posixtz.c: Likewise.
1101 * time/tst-strptime2.c: Likewise.
1102 * time/tst-strptime3.c: Likewise.
1103 * wcsmbs/tst-btowc.c: Likewise.
1104 * wcsmbs/tst-mbrtowc.c: Likewise.
1105 * wcsmbs/tst-mbsrtowcs.c: Likewise.
1106 * wcsmbs/tst-wchar-h.c: Likewise.
1107 * wcsmbs/tst-wcpncpy.c: Likewise.
1108 * wcsmbs/tst-wcrtomb.c: Likewise.
1109 * wcsmbs/tst-wcsnlen.c: Likewise.
1110 * wcsmbs/tst-wcstof.c: Likewise.
1111
2004e7fb
JM
11122014-11-04 Joseph Myers <joseph@codesourcery.com>
1113
ab97ee8f
JM
1114 [BZ #14132]
1115 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
1116 INTDEF.
1117 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
1118 declaration.
1119 (_dl_mcount): Use rtld_hidden_proto.
1120 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
1121 _dl_mcount.
1122 * elf/rtld.c (_rtld_global_ro): Likewise.
1123
c5684fdb
JM
1124 [BZ #14132]
1125 * elf/dl-init.c (_dl_init): Don't use INTDEF.
1126 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
1127 of _dl_init_internal.
1128 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
1129 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
1130 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
1131 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
1132 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
1133 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
1134 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
1135 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
1136 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
1137 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
1138 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
1139 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
1140 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
1141 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
1142 * sysdeps/tile/dl-start.S (_start): Likewise.
1143 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
1144 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
1145
4243cbea
JM
1146 [BZ #14132]
1147 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
1148 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
1149 (rtld_progname): Make macro definition unconditional.
1150 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
1151 INTDEF.
1152 (dlmopen_doit): Do not use INTUSE with _dl_argv.
1153 (dl_main): Likewise.
1154 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1155 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
1156 instead of _dl_argv_internal.
1157 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1158 __GI__dl_argv instead of INTUSE(_dl_argv).
1159 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
1160 __GI__dl_argv instead of _dl_argv_internal.
1161
2004e7fb
JM
1162 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
1163 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
1164 macro.
1165 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
1166 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
1167 New macro.
1168 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
1169 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
1170 macro.
1171 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
1172 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
1173
97827bfc
AS
11742014-11-04 Andreas Schwab <schwab@suse.de>
1175
1176 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
1177
5e4df284
AZ
11782014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1179
1180 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
1181 mtvsrd instruction in binary form.
1182
04b76b5a
AS
11832014-11-03 Andreas Schwab <schwab@suse.de>
1184
1185 [BZ #17522]
1186 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
1187 for less than MB_LEN_MAX use a local buffer of that size.
1188 * libio/tst-fputws.c: New file.
1189 * libio/Makefile (tests): Add tst-fputws.
1190
4c6da7da
JM
11912014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
1192
1193 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
1194 the size of the fpu_fr.fpu_dregs[] array.
1195
1679ba8e
JM
11962014-11-01 Joseph Myers <joseph@codesourcery.com>
1197
1198 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
1199 (__nanosleep): Do not define as alias.
1200 (nanosleep): Define as alias of __nanosleep.
1201 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
1202 __libc_nanosleep name.
1203
2626c183
JM
12042014-10-31 Joseph Myers <joseph@codesourcery.com>
1205
1206 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
1207 install.texi in comment.
1208
7f981fc2
TR
12092014-10-31 Torvald Riegel <triegel@redhat.com>
1210
1211 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
1212 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
1213 ... add here and use lwsync or sync ...
1214 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
1215 ... and add here using lwsync.
1216
d6f373d2
MF
12172014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
1218
1219 * elf/dl-machine-reject-phdr.h: New file.
1220 * elf/dl-load.c: #include that.
1221 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
1222 if that returned true.
1223
67c37987
RM
12242014-10-31 Roland McGrath <roland@hack.frob.com>
1225
1226 [BZ #17496]
1227 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
1228 gen-as-const-headers chunk. Add a big scare comment after the last
1229 safe place to touch before-compile.
1230
94a42455 12312014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 1232
f3f5d895
JM
1233 * manual/install.texi (Tools for Compilation): Update autoconf
1234 version requirements.
1235 * INSTALL: Regenerated.
1236
f62ff286
JM
1237 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
1238 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
1239 (__libc_pselect): Likewise.
94a42455
JM
1240
1241 [BZ #14138]
1242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
1243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1246
ff9dbdc0
TR
12472014-10-31 Torvald Riegel <triegel@redhat.com>
1248
1249 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
1250 correct barrier instruction.
1251 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
1252 Likewise.
1253 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
1254 Likewise.
1255
b4f66884
RM
12562014-10-30 Roland McGrath <roland@hack.frob.com>
1257
1258 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
1259 after defining inlines. Instead, just use parens to defeat macro
1260 expansion of __isctype in its declaration.
1261
e19c95fd
JM
12622014-10-30 Joseph Myers <joseph@codesourcery.com>
1263
1264 * include/sys/uio.h (__libc_readv): Remove declaration.
1265 (__libc_writev): Likewise.
1266 * misc/readv.c (__libc_readv): Rename to __readv.
1267 (__readv): Do not define as alias.
1268 (readv): Define as alias of __readv.
1269 * misc/writev.c (__libc_writev): Rename to __writev.
1270 (__writev): Do not define as alias.
1271 (writev): Define as alias of __writev.
1272 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
1273 (__readv): Do not define as alias.
1274 (readv): Define unconditionally as alias of __readv.
1275 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
1276 (__writev): Do not define as alias.
1277 (writev): Define unconditionally as alias of __writev.
1278 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
1279 name.
1280 (writev): Do not define __libc_writev name.
1281
65b00b6c
RM
12822014-10-30 Roland McGrath <roland@hack.frob.com>
1283
1284 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
1285 (convert_charseq): New function, broken out of ...
1286 (use_from_charmap): ... here. Call it.
1287 (use_to_charmap): Use convert_charseq and free instead of duplicating
1288 its code with a variable-length stack struct.
1289
d4e157aa
JM
12902014-10-30 Joseph Myers <joseph@codesourcery.com>
1291
1292 * include/fcntl.h (__libc_creat): Remove declaration.
1293 * io/creat.c (__libc_creat): Rename to creat.
1294 (creat): Do not define as alias.
1295 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
1296 of creat instead of __libc_creat.
1297 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
1298 to creat.
1299 (creat): Do not define as alias.
1300 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
1301 __libc_creat.
1302 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
1303 __libc_creat name.
1304 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
1305 Likewise.
1306
0c6891a0
CD
13072014-10-29 Carlos O'Donell <carlos@redhat.com>
1308
1309 * manual/llio.texi: Add comments discussing why write() may be
1310 considered MT-unsafe on Linux.
1311
cc00cece
CD
13122014-10-28 Carlos O'Donell <carlos@redhat.com>
1313
1314 * dl-load.c (local_strdup): Remove.
1315 (expand_dynamic_string_token): Use __strdup.
1316 (decompose_rpath): Likewise.
1317 (_dl_map_object): Likewise.
1318
51e623f2
JM
13192014-10-28 Joseph Myers <joseph@codesourcery.com>
1320
1321 [BZ #14132]
1322 * sysdeps/generic/unwind-dw2-fde.c
1323 (__register_frame_info_bases_internal): Do not declare.
1324 (__register_frame_info_table_bases_internal): Likewise.
1325 (__deregister_frame_info_bases_internal): Likewise.
1326 (__register_frame_info_bases): Declare and use hidden_proto before
1327 definition. Use hidden_def instead of INTDEF.
1328 (__register_frame_info_table_bases): Likewise.
1329 (__deregister_frame_info_bases): Likewise.
1330 (__register_frame_info): Do not use INTUSE.
1331 (__register_frame): Likewise.
1332 (__register_frame_info_table): Likewise.
1333 (__register_frame_table): Likewise.
1334 (__deregister_frame_info): Likewise.
1335 (__deregister_frame): Likewise.
1336
03d41216
GC
13372014-10-27 Gratian Crisan <gratian.crisan@ni.com>
1338
1339 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1340 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
1341 not undefine.
1342 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
1343 Likewise.
1344 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
1345 Likewise.
1346
a4b3624d
JM
13472014-10-27 Joseph Myers <joseph@codesourcery.com>
1348
1349 [BZ #14138]
1350 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
1351 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
1352 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1353 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1354 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
1355 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
1356 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
1357 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
1358 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
1359 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
1360 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
1361 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
1362 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
1363 syscall.
1364 (setfsuid): Likewise.
1365 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
1366 (setfsuid): Likewise.
1367 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
1368 (setfsuid): Likewise.
1369 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
1370 Likewise.
1371 (setfsuid): Likewise.
1372 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
1373 (setfsuid): Likewise.
1374 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
1375 Likewise.
1376 (setfsuid): Likewise.
1377
3574f2fd
AS
13782014-10-27 Andreas Schwab <schwab@suse.de>
1379
1380 [BZ #17501]
1381 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
1382 check for Slow_SSE4_2 feature bit.
1383 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
1384 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1385 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
1386 Likewise. Fix check for Fast_Unaligned_Load feature bit.
1387
70996a37
RM
13882014-10-24 Roland McGrath <roland@hack.frob.com>
1389
461a7b1e
RM
1390 * configure.ac: Validate compiler version with a empirical test of
1391 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
1392 $CC -v output.
1393 * configure: Regenerated.
1394
70996a37
RM
1395 * inet/htons.c (htons): Prototypify.
1396 * inet/htonl.c (htonl): Likewise.
1397
e80514b5
WD
13982014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1399
1400 * string/strncat.c (strncat): Improve performance by using strlen.
1401
6e46de42
WD
14022014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1403
1404 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
1405
6a9ad2fa
WD
14062014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1407
1408 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
1409 Call libc_fetestexcept_aarch64.
1410
1c8810ed
WD
14112014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1412
1413 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
1414 Call libc_feholdexcept_aarch64.
1415
8b1af712
WD
14162014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1417
1418 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
1419 Call get_rounding_mode.
1420
a7b00c11
WD
14212014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1422
1423 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1424 Simplify logic.
1425
3a84f1a6
WD
14262014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1427
1428 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
1429 Simplify logic.
1430
48eb7a94
JM
14312014-10-24 Joseph Myers <joseph@codesourcery.com>
1432
c8bc4038
JM
1433 [BZ #14138]
1434 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
1435 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
1436 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
1437 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
1438 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
1439 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
1440 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
1441 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
1442 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
1443 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
1444 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1445 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
1446 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
1447 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
1448 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
1449 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
1450 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
1451 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
1452 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
1453 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
1454 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
1455 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
1456 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
1457 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
1458 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
1459 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
1460 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
1461 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
1462 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
1463 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
1464 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
1465 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
1466 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
1467 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
1468 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
1469 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
1470 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
1471 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
1472 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
1473 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
1474 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
1475 syscall.
1476 (geteuid): Likewise.
1477 (getgid): Likewise.
1478 (getuid): Likewise.
1479 (getresgid): Likewise.
1480 (getresuid): Likewise.
1481 (getgroups): Likewise.
1482 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
1483 (geteuid): Likewise.
1484 (getgid): Likewise.
1485 (getuid): Likewise.
1486 (getresgid): Likewise.
1487 (getresuid): Likewise.
1488 (getgroups): Likewise.
1489 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
1490 (geteuid): Likewise.
1491 (getgid): Likewise.
1492 (getuid): Likewise.
1493 (getresgid): Likewise.
1494 (getresuid): Likewise.
1495 (getgroups): Likewise.
1496 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
1497 Likewise.
1498 (geteuid): Likewise.
1499 (getgid): Likewise.
1500 (getuid): Likewise.
1501 (getresgid): Likewise.
1502 (getresuid): Likewise.
1503 (getgroups): Likewise.
1504 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
1505 (geteuid): Likewise.
1506 (getgid): Likewise.
1507 (getuid): Likewise.
1508 (getresgid): Likewise.
1509 (getresuid): Likewise.
1510 (getgroups): Likewise.
1511 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
1512 Likewise.
1513 (geteuid): Likewise.
1514 (getgid): Likewise.
1515 (getuid): Likewise.
1516 (getgroups): Likewise.
1517
48eb7a94
JM
1518 [BZ #14138]
1519 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
1520 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
1521 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1522 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1523 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
1524 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
1525 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
1526 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
1527 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
1528 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
1529 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
1530 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
1531 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
1532 __chown.
1533 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
1534 (lchown): Likewise.
1535 (fchown): Likewise.
1536 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
1537 Likewise.
1538 (lchown): Likewise.
1539 (fchown): Likewise.
1540 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
1541 (lchown): Likewise.
1542 (fchown): Likewise.
1543 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
1544 Likewise.
1545 (lchown): Likewise.
1546 (fchown): Likewise.
1547
ea9a7c8b
WD
15482014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1549
1550 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
1551 Simplify logic.
1552
e226de33
WD
15532014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1554
1555 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1556 Cleanup logic.
1557
6e3d8ed3
WD
15582014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1559
1560 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1561 Remove unused include.
1562
eb04247d
WD
15632014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1564
1565 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
1566 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
1567 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
1568 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
1569
13d84554
CD
15702014-10-23 Carlos O'Donell <carlos@systemhalted.org>
1571 Helge Deller <deller@gmx.de>
1572
1573 [BZ #17508]
1574 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
1575 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
1576 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
1577
15f9c5df
JM
15782014-10-23 Joseph Myers <joseph@codesourcery.com>
1579
1580 [BZ #14132]
1581 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
1582 Remove macro definition.
1583 (__ashrdi3_v_glibc20): Likewise.
1584 (__lshrdi3_v_glibc20): Likewise.
1585 (__cmpdi2_v_glibc20): Likewise.
1586 (__ucmpdi2_v_glibc20): Likewise.
1587 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
1588 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1589 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1590 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1591 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1592 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
1593
c6dfed24
RM
15942014-10-22 Roland McGrath <roland@hack.frob.com>
1595
1596 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
1597 old GNU extension [0] syntax.
1598 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
1599 alloca rather than an array member with variable length.
1600 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1601 * nscd/nscd.c (invalidate_db): New function, broken out of ...
1602 (parse_opt): ... here. Likewise use alloca there.
1603 Validate the -i argument before checking for rootness.
1604 (send_shutdown): New function, broken out of ...
1605 (parse_opt): ... here.
1606
8c2b1ed8
RM
16072014-10-22 Roland McGrath <roland@hack.frob.com>
1608
1609 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
1610 macro to get at the _rt_local_ro field.
1611 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
1612 ([PIC] case) or _dl_hwcap ([!PIC] case).
1613 * sysdeps/arm/setjmp.S: Likewise.
1614
1615 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
1616 * sysdeps/arm/configure.ac: New check to define it.
1617 * sysdeps/arm/configure: Regenerated.
1618 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
1619 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
1620 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
1621 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
1622 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
1623 Use move/movt pair instead of a load.
1624 (LDST_GLOBAL): Macro removed.
1625 (LDR_GLOBAL): New macro replaces it.
1626 (LDR_HIDDEN): New macro.
1627 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
1628 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
1629
1630 * setjmp/tst-setjmp-static.c: New file.
1631 * setjmp/Makefile (tests): Add it.
1632 (tests-static): New variable.
1633
b5af9297
MR
16342014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
1635
1636 [BZ #17485]
1637 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
1638
a13d0d74
JM
16392014-10-21 Joseph Myers <joseph@codesourcery.com>
1640
1641 [BZ #14132]
1642 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
1643
f05e73f6
RM
16442014-10-21 Roland McGrath <roland@hack.frob.com>
1645
1646 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
1647
6ab1d1ea
RM
16482014-10-20 Roland McGrath <roland@hack.frob.com>
1649
1650 * io/fts.c (dirent_not_directory): New function.
1651 (fts_build): Call it.
1652
ab49e763
RM
16532014-10-20 Roland McGrath <roland@hack.frob.com>
1654
e436eb79
RM
1655 * nptl/version.c (__nptl_main): Use normal __write rather than
1656 INTERNAL_SYSCALL.
1657 (banner): Update copyright years.
1658
6af246cf
RM
1659 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
1660 gettimeofday.
1661 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1662 * nptl/pthread_cond_timedwait.c: Likewise.
1663 * nptl/pthread_mutex_timedlock.c: Likewise.
1664 * nptl/sem_timedwait.c: Likewise.
1665
ab49e763
RM
1666 * sysdeps/nptl/bits/libc-lock.h
1667 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1668 (__libc_lock_init_recursive): Return void, not 0.
1669 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
1670 (__libc_rwlock_init): Likewise.
1671 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
1672
f50277c1
TR
16732014-10-20 Torvald Riegel <triegel@redhat.com>
1674
1675 [BZ #15215]
1676 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
1677 (__pthread_once_slow): ... here.
1678 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
1679 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
1680
63668b70
TR
16812014-10-20 Torvald Riegel <triegel@redhat.com>
1682
1683 [BZ #15215]
1684 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
1685 __PTHREAD_ONCE_FORK_GEN_INCR): New.
1686 * sysdeps/nptl/fork.c (__libc_fork): Use them.
1687 * nptl/pthread_once.c (__pthread_once): Likewise.
1688 Update comments.
1689
42b7f5d4
JM
16902014-10-20 Joseph Myers <joseph@codesourcery.com>
1691
1692 [BZ #14138]
1693 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
1694 name.
1695 (writev): Use __libc_writev as strong name.
1696 * sysdeps/unix/sysv/linux/readv.c: Remove file.
1697 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1698
b0643088
RM
16992014-10-17 Roland McGrath <roland@hack.frob.com>
1700
114c4e09
RM
1701 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
1702
674b8978
RM
1703 * sysdeps/i386/nptl/tls.h
1704 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
1705 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
1706 New macros.
1707 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
1708 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
1709 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
1710 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
1711 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
1712 Call CHECK_THREAD_SYSINFO instead of doing an assert.
1713
184ee940
RM
1714 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1715 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
1716 on [__NR_futex].
1717 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
1718 broken out of ...
1719 (__pthread_mutex_init): ... here. Call it.
1720 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
1721 Conditionalize PI cases on [__NR_futex].
1722 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1723 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1724 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1725
327ae257
RM
1726 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
1727 conditional on [SIGSETXID].
1728 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
1729 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
1730 is defined. Likewise for SIGSETXID.
1731 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
1732 Conditionalize definitions on [SIGSETXID].
1733 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
1734 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
1735 unblocking on [SIGCANCEL].
1736
b0643088
RM
1737 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
1738 [__NR_set_robust_list].
1739
33cc770b
SP
17402014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1741
1742 * string/strcoll_l.c (get_next_seq): Fix up formatting.
1743 (do_compare): Likewise.
1744
0742aef6
LH
17452014-10-17 Leonhard Holz <leonhard.holz@web.de>
1746
1747 [BZ #15884]
1748 * string/strcoll_l.c: Don't include stdio.h.
1749 (coll_seq): Remove members idxarr and rulearr.
1750 (get_next_seq_cached): Remove function.
1751 (get_next_seq): Likewise.
1752 (get_next_seq_nocache): Rename to get_next_seq.
1753 (do_compare): Remove function.
1754 (do_compare_nocache): Rename to do_compare.
1755 (STRCOLL): Remove weight and rules cache.
1756
ee54ce44
RM
17572014-10-16 Roland McGrath <roland@hack.frob.com>
1758
1759 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
1760 * sysdeps/arm/sfp-machine.h: ... to here.
1761 * sysdeps/arm/Implies: Remove arm/soft-fp.
1762
a75d3b02
JM
17632014-10-14 Joseph Myers <joseph@codesourcery.com>
1764
1765 * conform/data/sys/utsname.h-data (*_t): Allow.
1766 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
1767 [POSIX] (WEXITED): Do not expect constant.
1768 [POSIX] (WSTOPPED): Likewise.
1769 [POSIX] (WNOHANG): Likewise.
1770 [POSIX] (WNOWAIT): Likewise.
1771 [POSIX] (siginfo_t): Do not expect type or elements.
1772 [POSIX] (pid_t): Do not expect type.
1773 [POSIX] (signal.h): Do not allow header.
1774 [POSIX] (sys/resource.h): Likewise.
1775 [POSIX] (si_*): Do not allow pattern.
1776 [POSIX] (W*): Likewise.
1777 [POSIX] (P_*): Likewise.
1778 [POSIX] (BUS_*): Likewise.
1779 [POSIX] (CLD_*): Likewise.
1780 [POSIX] (FPE_*): Likewise.
1781 [POSIX] (ILL_*): Likewise.
1782 [POSIX] (POLL_*): Likewise.
1783 [POSIX] (SEGV_*): Likewise.
1784 [POSIX] (SI_*): Likewise.
1785 [POSIX] (TRAP_*): Likewise.
1786 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
1787 variable.
1788
fda389c8
SP
17892014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1790
1791 [BZ #12926]
1792 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
1793 infinite loop when __recvmsg returns 0.
1794
6bc6bd3b
JM
17952014-10-10 Joseph Myers <joseph@codesourcery.com>
1796
fcb32af1
JM
1797 * CANCEL-FCT-WAIVE: Remove file.
1798 * CANCEL-FILE-WAIVE: Likewise.
1799
6bc6bd3b
JM
1800 [BZ #14132]
1801 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
1802 instead of INTVARDEF.
1803 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1804 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
1805 rtld_hidden_data_def instead of INTVARDEF.
1806 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1807 * elf/dl-deps.c (expand_dst): Likewise.
1808 * elf/dl-load.c (_dl_dst_count): Likewise.
1809 (_dl_dst_substitute): Likewise.
1810 (decompose_rpath): Likewise.
1811 (_dl_init_paths): Likewise.
1812 (open_path): Likewise.
1813 (_dl_map_object): Likewise.
1814 * elf/rtld.c (dl_main): Likewise.
1815 (process_dl_audit): Likewise.
1816 (process_envvars): Likewise.
1817 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
1818 Remove declaration.
1819 (__libc_enable_secure): Use rtld_hidden_proto.
1820
b8c80a7e
KS
18212014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1822
1823 * elf/dl-load.c
1824 (add_path): New function broken out of _dl_rtld_di_serinfo.
1825 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
1826
ff12c11f
JM
18272014-10-09 Joseph Myers <joseph@codesourcery.com>
1828
5c0508a3
JM
1829 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
1830 parentheses around macro arguments.
1831 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
1832 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
1833 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
1834 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
1835 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
1836 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1837 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1838 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
1839 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
1840 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
1841 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
1842 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
1843 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
1844 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
1845 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
1846 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
1847 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
1848 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
1849 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
1850 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
1851 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
1852 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
1853 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
1854 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1855 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1856 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
1857 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
1858 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
1859 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
1860 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
1861 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
1862 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
1863 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
1864 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
1865 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
1866 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
1867 Likewise.
1868 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
1869 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1870 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1871 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
1872 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
1873 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
1874 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
1875 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
1876 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
1877 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
1878 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
1879 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
1880 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
1881 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
1882 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
1883 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1884 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1885 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
1886 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
1887 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
1888 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
1889 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
1890 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
1891 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
1892 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
1893 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
1894 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
1895 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
1896 (_FP_FRAC_SRS_1): Likewise.
1897 (_FP_FRAC_CLZ_1): Likewise.
1898 (_FP_MUL_MEAT_1_imm): Likewise.
1899 (_FP_MUL_MEAT_1_wide): Likewise.
1900 (_FP_MUL_MEAT_1_hard): Likewise.
1901 (_FP_SQRT_MEAT_1): Likewise.
1902 (_FP_FRAC_ASSEMBLE_1): Likewise.
1903 (_FP_FRAC_DISASSEMBLE_1): Likewise.
1904 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
1905 (__FP_CLZ_2): Likewise.
1906 (_FP_MUL_MEAT_2_wide): Likewise.
1907 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1908 (_FP_MUL_MEAT_2_gmp): Likewise.
1909 (_FP_MUL_MEAT_2_120_240_double): Likewise.
1910 (_FP_SQRT_MEAT_2): Likewise.
1911 (_FP_FRAC_ASSEMBLE_2): Likewise.
1912 (_FP_FRAC_DISASSEMBLE_2): Likewise.
1913 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1914 (_FP_FRAC_CLZ_4): Likewise.
1915 (_FP_MUL_MEAT_4_wide): Likewise.
1916 (_FP_MUL_MEAT_4_gmp): Likewise.
1917 (_FP_SQRT_MEAT_4): Likewise.
1918 (_FP_FRAC_ASSEMBLE_4): Likewise.
1919 (_FP_FRAC_DISASSEMBLE_4): Likewise.
1920 * soft-fp/op-common.h (_FP_CMP): Likewise.
1921 (_FP_CMP_EQ): Likewise.
1922 (_FP_CMP_UNORD): Likewise.
1923 (_FP_TO_INT): Likewise.
1924 (_FP_FROM_INT): Likewise.
1925 [!__FP_CLZ] (__FP_CLZ): Likewise.
1926 (_FP_DIV_HELP_imm): Likewise.
1927 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1928 Likewise.
1929 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
1930 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
1931 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
1932 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
1933 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
1934 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1935 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1936 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
1937 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
1938 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
1939 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
1940 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
1941 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
1942 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
1943 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
1944 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
1945 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
1946 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1947 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1948 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1949 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1950 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1951 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1952 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1953 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1954 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1955 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1956 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1957 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1958 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1959 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1960 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1961 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1962 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1963 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1964 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1965 (FP_UNPACK_RAW_SP): Likewise.
1966 (FP_PACK_RAW_S): Likewise.
1967 (FP_PACK_RAW_SP): Likewise.
1968 (FP_UNPACK_S): Likewise.
1969 (FP_UNPACK_SP): Likewise.
1970 (FP_UNPACK_SEMIRAW_S): Likewise.
1971 (FP_UNPACK_SEMIRAW_SP): Likewise.
1972 (FP_PACK_S): Likewise.
1973 (FP_PACK_SP): Likewise.
1974 (FP_PACK_SEMIRAW_S): Likewise.
1975 (FP_PACK_SEMIRAW_SP): Likewise.
1976 (_FP_SQRT_MEAT_S): Likewise.
1977 (FP_CMP_S): Likewise.
1978 (FP_CMP_EQ_S): Likewise.
1979 (FP_CMP_UNORD_S): Likewise.
1980 (FP_TO_INT_S): Likewise.
1981 (FP_FROM_INT_S): Likewise.
1982
a736ec37
JM
1983 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1984
ff12c11f
JM
1985 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1986 (FP_EX_INVALID_IMZ): Likewise.
1987 (FP_EX_INVALID_IMZ_FMA): Likewise.
1988 (FP_EX_INVALID_ISI): Likewise.
1989 (FP_EX_INVALID_ZDZ): Likewise.
1990 (FP_EX_INVALID_IDI): Likewise.
1991 (FP_EX_INVALID_SQRT): Likewise.
1992 (FP_EX_INVALID_CVI): Likewise.
1993 (FP_EX_INVALID_VC): Likewise.
1994 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1995 "invalid" exceptions.
1996 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1997 (_FP_ADD_INTERNAL): Likewise.
1998 (_FP_MUL): Likewise.
1999 (_FP_FMA): Likewise.
2000 (_FP_DIV): Likewise.
2001 (_FP_CMP_CHECK_NAN): Likewise.
2002 (_FP_SQRT): Likewise.
2003 (_FP_TO_INT): Likewise.
2004 (FP_EXTEND): Likewise.
2005
b6dcfe8c
AM
20062014-10-09 Allan McRae <allan@archlinux.org>
2007
2008 * po/fr.po: Update French translation from translation project.
2009
2d6a47ba
JM
20102014-10-09 Joseph Myers <joseph@codesourcery.com>
2011
cb831245
JM
2012 [BZ #14132]
2013 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
2014 of INTDEF.
2015 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
2016 (__cxa_atexit): Use libc_hidden_proto.
2017 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
2018
5deeb190
JM
2019 [BZ #14132]
2020 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
2021 declaration.
2022 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
2023 [!_ISOMAC] (__iswspace_l_internal): Likewise.
2024 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
2025 [!_ISOMAC] (__iswctype_internal): Likewise.
2026 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
2027 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
2028 alias.
2029 (fcntl): Remove __fcntl_internal alias.
2030 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
2031 __connect_internal alias.
2032 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
2033 Likewise.
2034
454ac701
JM
2035 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
2036 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
2037 FP_DENORM_ZERO.
2038 (_FP_CHECK_FLUSH_ZERO): New macro.
2039 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
2040 (_FP_CMP): Likewise.
2041 (_FP_CMP_EQ): Likewise.
2042 (_FP_TO_INT): Do not set inexact for subnormal arguments if
2043 FP_DENORM_ZERO.
2044 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
2045 (FP_TRUNC): Likewise.
2046
0022e688
JM
2047 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
2048 treated as invalid conversion, not as normal exponent.
2049
73e28d9c
JM
2050 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
2051 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
2052 (_FP_CMP_EQ): Likewise.
2053 (_FP_CMP_UNORD): Likewise.
2054 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
2055 (FP_CMP_EQ_D): Likewise.
2056 (FP_CMP_UNORD_D): Likewise.
2057 * soft-fp/extended.h (FP_CMP_E): Likewise.
2058 (FP_CMP_EQ_E): Likewise.
2059 (FP_CMP_UNORD_E): Likewise.
2060 * soft-fp/quad.h (FP_CMP_Q): Likewise.
2061 (FP_CMP_EQ_Q): Likewise.
2062 (FP_CMP_UNORD_Q): Likewise.
2063 * soft-fp/single.h (FP_CMP_S): Likewise.
2064 (FP_CMP_EQ_S): Likewise.
2065 (FP_CMP_UNORD_S): Likewise.
2066 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
2067 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
2068 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
2069 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
2070 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
2071 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
2072 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
2073 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
2074 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
2075 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
2076 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
2077 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
2078 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
2079 to FP_CMP_Q.
2080 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
2081 FP_CMP_Q.
2082 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
2083 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
2084 FP_CMP_EQ_Q.
2085 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
2086 FP_CMP_Q.
2087 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
2088 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
2089 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
2090 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
2091 FP_CMP_EQ_Q.
2092 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
2093 FP_CMP_Q.
2094 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
2095 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
2096 FP_CMP_EQ_Q.
2097 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
2098 FP_CMP_Q.
2099 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
2100 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
2101 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
2102 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
2103 FP_CMP_EQ_Q.
2104
43059f42
JM
2105 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
2106 a subnormal result, set the underflow exception if trapping on
2107 underflow is enabled.
2108 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
2109 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
2110 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
2111 redefine to 0.
2112 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
2113 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
2114 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
2115 * soft-fp/extendxftf2.c (__extendxftf2): Use
2116 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
2117
2d6a47ba
JM
2118 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
2119 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
2120 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2121 FP_HANDLE_EXCEPTIONS.
2122 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
2123 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2124 FP_HANDLE_EXCEPTIONS.
2125 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
2126 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2127 FP_HANDLE_EXCEPTIONS.
2128 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
2129 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2130 FP_HANDLE_EXCEPTIONS.
2131
620f462e
JM
21322014-10-08 Joseph Myers <joseph@codesourcery.com>
2133
2134 [BZ #14132]
2135 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
2136 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
2137 use INTUSE.
2138 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
2139 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
2140 Remove alias.
2141 (__adjtimex): Define using libc_hidden_ver.
2142 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
2143 Remove declaration.
2144 (ntp_gettime): Call __adjtimex directly.
2145 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
2146 Remove declaration.
2147 (ntp_gettimex): Call __adjtimex directly.
2148 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
2149 __adjtimex_internal alias.
2150
c763c5d2
RM
21512014-10-08 Roland McGrath <roland@hack.frob.com>
2152
2153 [BZ #17460]
2154 * nscd/nscd.c (more_help): Rewrite list of tables collection
2155 using xstrdup and asprintf.
2156
2157 * nscd/nscd_conf.c: Remove local xstrdup declaration.
2158
7b8fb2b8
RM
21592014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2160 Roland McGrath <roland@hack.frob.com>
2161
2162 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
2163 (do_lookup_unique): ... local function 'enter' here; update callers.
2164
abb280f7
JM
21652014-10-06 Joseph Myers <joseph@codesourcery.com>
2166
f7b42517
JM
2167 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
2168 compat_symbol calls on [SHARED].
2169 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
2170 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
2171 Remove.
2172 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2173 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
2174 (oldsetrlimit): Remove.
2175 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2177 (lchown): New syscall entry.
2178 (oldsetrlimit): Remove.
2179 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2180 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
2181 (oldsetrlimit): Remove.
2182 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2183
abb280f7
JM
2184 [BZ #14138]
2185 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
2186 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
2187 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
2188 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
2189 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2190 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
2191 (fchown): Likewise.
2192 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
2193 (fchown): Likewise.
2194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
2195 Likewise.
2196
47d46237
AZ
21972014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2198
2199 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
2200 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
2201 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
2202 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
2203 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
2204 Likewise.
2205 (__old_sem_post): Likewise.
2206
22072014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 2208
845a7343
CM
2209 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
2210 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
2211 HAVE_CLOCK_GETTIME_VSYSCALL macros.
2212 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
2213 Use INLINE_VSYSCALL macro.
2214 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
2215 __vdso_clock_gettime.
2216 * sysdeps/unix/sysv/linux/tile/init-first.c
2217 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
2218 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
2219 __vdso_clock_gettime.
2220
83d641ef
CM
2221 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
2222 to set up frame more cleanly.
2223
d9cd52e6
CM
2224 * sysdeps/tile/memcmp.c: New file.
2225
4b68ea11
CM
2226 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
2227
c86f7b80
CM
2228 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
2229 * sysdeps/tile/tilegx/strcasestr.c: New file.
2230 * sysdeps/tile/tilegx/strnlen.c: New file.
2231 * sysdeps/tile/tilegx/strstr.c: New file.
2232
1c4c1a6f
CM
2233 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
2234
99d86ea3
AS
22352014-10-06 Arjun Shankar <arjun.is@lostca.se>
2236
2237 * nptl/tst-setuid3.c: Write errors to stdout.
2238
06210a44
KS
22392014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2240
2241 * elf/dl-deps.c
2242 (preload): New functions broken out of _dl_map_object_deps.
2243 (_dl_map_object_deps): Remove a nested function. Update call sites.
2244
6268f532
JM
22452014-10-01 Joseph Myers <joseph@codesourcery.com>
2246
2247 [BZ #14138]
2248 * sysdeps/unix/sysv/linux/execve.c: Remove file.
2249 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
2250
b925285f
SE
22512014-10-01 Steve Ellcey <sellcey@mips.com>
2252
2253 * sysdeps/mips/strcmp.S: New.
2254
754a15c6
JM
22552014-09-30 Joseph Myers <joseph@codesourcery.com>
2256
2257 [BZ #14138]
2258 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
2259 (linkat): Likewise.
2260 (mkdirat): Likewise.
2261 (readlinkat): Likewise.
2262 (renameat): Likewise.
2263 (symlinkat): Likewise.
2264 (unlinkat): Likewise.
2265 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
2266 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
2267 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
2268 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
2269 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
2270 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
2271 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
2272
85bb81c9
WN
22732014-09-30 Will Newton <will.newton@linaro.org>
2274
dc6fe23b
WN
2275 * math/math.h: Define long double math functions if
2276 _LIBC_TEST is defined.
2277 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
2278
85bb81c9
WN
2279 * localedata/Makefile: Move assignment to tests-special
2280 into an ifdef testing run-built-tests.
2281 * timezone/Makefile: Likewise.
2282
b7e02da4
JM
22832014-09-29 Joseph Myers <joseph@codesourcery.com>
2284
2285 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
2286 with $(BASH) not $(SHELL).
2287
62058ce6
CD
22882014-09-29 Carlos O'Donell <carlos@redhat.com>
2289 Matthew LeGendre <legendre1@llnl.gov>
2290
2291 [BZ #17411]
2292 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
2293 l_reloc_result.
2294
8e257a29
KS
22952014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2296
2297 * stdio-common/printf_fp.c
2298 (hack_digit): New function, broken out of ...
2299 (__printf_fp): ... local function here. Update call sites.
2300 hack_digit now takes an additional parameter that is a pointer
2301 to a struct of the referenced locals. Those locals moved inside
2302 the struct and references updated.
2303
f4a58f0d
L
23042014-09-29 H.J. Lu <hongjiu.lu@intel.com>
2305
2306 * aclocal.m4: Require autoconf 2.69.
2307 * configure: Regenerated.
2308 * sysdeps/aarch64/configure: Likewise.
2309 * sysdeps/alpha/configure: Likewise.
2310 * sysdeps/arm/armv7/configure: Likewise.
2311 * sysdeps/arm/configure: Likewise.
2312 * sysdeps/ia64/configure: Likewise.
2313 * sysdeps/mach/configure: Likewise.
2314 * sysdeps/mips/configure: Likewise.
2315 * sysdeps/s390/configure: Likewise.
2316 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
2317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
2318
2319 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
2320 file.
2321 * sysdeps/ia64/configure.ac: Likewise.
2322
93ae1eba
JM
23232014-09-26 Joseph Myers <joseph@codesourcery.com>
2324
1810d3ab
JM
2325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
2326 specify symbol version for ld.so. Do not include entry for
2327 libpthread.
2328 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2329 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2330 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2331
93ae1eba
JM
2332 [BZ #14171]
2333 * Makeconfig [$(build-shared) = yes]
2334 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
2335 makefiles.
2336 [$(build-shared) = yes && $(soversions.mk-done) = t]
2337 ($(common-objpfx)gnu/lib-names.h): Remove rule.
2338 [$(build-shared) = yes && $(soversions.mk-done) = t]
2339 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
2340 to Makerules.
2341 [$(build-shared) = yes && $(soversions.mk-done) = t]
2342 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
2343 here.
2344 [$(build-shared) = yes && $(soversions.mk-done) = t]
2345 (common-generated): Don't append gnu/lib-names.h and
2346 gnu/lib-names.stmp here.
2347 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
2348 (lib-names-h-abi): New variable.
2349 [$(build-shared) = yes && $(soversions.mk-done) = t]
2350 (lib-names-stmp-abi): Likewise.
2351 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2352 abi-variants] (before-compile): Append
2353 $(common-objpfx)$(lib-names-h-abi).
2354 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2355 abi-variants] (common-generated): Append gnu/lib-names.h.
2356 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2357 abi-variants] (install-others-nosubdir): Depend on
2358 $(inst_includedir)/$(lib-names-h-abi).
2359 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2360 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
2361 [$(build-shared) = yes && $(soversions.mk-done) = t]
2362 ($(common-objpfx)$(lib-names-h-abi)): New rule.
2363 [$(build-shared) = yes && $(soversions.mk-done) = t]
2364 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
2365 [$(build-shared) = yes && $(soversions.mk-done) = t]
2366 (common-generated): Append $(lib-names-h-abi) and
2367 $(lib-names-stmp-abi).
2368 * scripts/lib-names.awk: Do not handle multi being set.
2369 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
2370 Remove variable.
2371 (abi-lp64_be-ld-soname): Likewise.
2372 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
2373 Likewise.
2374 (abi-hard-ld-soname): Likewise.
2375 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
2376 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
2377 Remove variable.
2378 (abi-o32_hard-ld-soname): Likewise.
2379 (abi-o32_soft_2008-ld-soname): Likewise.
2380 (abi-o32_hard_2008-ld-soname): Likewise.
2381 (abi-n32_soft-ld-soname): Likewise.
2382 (abi-n32_hard-ld-soname): Likewise.
2383 (abi-n32_soft_2008-ld-soname): Likewise.
2384 (abi-n32_hard_2008-ld-soname): Likewise.
2385 (abi-n64_soft-ld-soname): Likewise.
2386 (abi-n64_hard-ld-soname): Likewise.
2387 (abi-n64_soft_2008-ld-soname): Likewise.
2388 (abi-n64_hard_2008-ld-soname): Likewise.
2389 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
2390 Likewise.
2391 (abi-64-v2-ld-soname): Likewise.
2392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
2393 ld.so entries.
2394 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
2395 variable.
2396 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
2397 entry.
2398 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
2399 variable.
2400 (abi-64-ld-soname): Likewise.
2401 (abi-x32-ld-soname): Likewise.
2402 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
2403 entry.
2404 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2405
68870f12
JM
24062014-09-23 Joseph Myers <joseph@codesourcery.com>
2407
2408 [BZ #14138]
2409 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
2410 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
2411 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
2412 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
2413 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
2414 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
2415 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
2416 syscall entry for GLIBC_2.2 symbol version.
2417 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
2418 Likewise.
2419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2420 (setrlimit): Likewise.
2421 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
2422 Likewise.
2423
ea58f202
WN
24242014-09-23 Will Newton <will.newton@linaro.org>
2425
2426 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
2427 _LINUX_ARM_SYSDEP_H include guard too.
2428 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
2429 define.
2430
69eb9a18
RV
24312014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2432
2433 * sysdeps/unix/sysv/linux/eventfd.c:
2434 Make first argument unsigned.
2435 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
2436 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
2437
20e5a5f7
OB
24382014-09-20 Ondřej Bílka <neleai@seznam.cz>
2439
2440 * socket/recvmmsg.c (recvmmsg): Drop const argument.
2441 * socket/sys/socket.h: Likewise
2442 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
2443
d3c827e7
AK
24442014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2445
2446 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
2447
fe1cc35a
AS
24482014-09-17 Arjun Shankar <arjun.is@lostca.se>
2449
2450 * time/tst-ftime.c: New test.
2451 * time/Makefile (tests): Add tst-ftime.
2452
4e8afe69
JM
24532014-09-17 Joseph Myers <joseph@codesourcery.com>
2454
c4fe3ea7
JM
2455 * soft-fp/extended.h: Fix comment formatting.
2456 * soft-fp/op-1.h: Likewise.
2457 * soft-fp/op-2.h: Likewise.
2458 * soft-fp/op-4.h: Likewise.
2459 * soft-fp/op-8.h: Likewise.
2460 * soft-fp/op-common.h: Likewise.
2461 * soft-fp/soft-fp.h: Likewise.
2462
4e8afe69
JM
2463 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
2464
af296fcd
JM
24652014-09-16 Joseph Myers <joseph@codesourcery.com>
2466
2467 [BZ #6652]
2468 * Makeconfig (soversions-default-setname): Remove variable.
2469 ($(common-objpfx)soversions.i): Don't pass default_setname to
2470 soversions.awk.
2471 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
2472 oldest_abi to abi-versions.awk.
2473 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
2474 * config.make.in (oldest-abi): Remove variable.
2475 * configure.ac (--enable-oldest-abi): Remove configure option.
2476 * configure: Regenerated.
2477 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
2478 text.
2479 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
2480 * scripts/soversions.awk: Do not handle default_setname variable.
2481 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
2482 variable.
2483 * sysdeps/mach/hurd/configure: Regenerated.
2484 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
2485 variable.
2486 * sysdeps/unix/sysv/linux/configure: Regenerated.
2487
545583d6
SP
24882014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2489
d330b980
SP
2490 * elf/Makefile (CFLAGS-interp.c): Remove.
2491 ($(elf-objpfx)runtime-linker.h): Generate header with linker
2492 path string.
2493 * elf/interp.c: Include generated runtime-linker.h
2494
02657da2
SP
2495 * Makerules (lib%.so): Don't include $(+interp) in
2496 prerequisites.
2497 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
2498 * dlfcn/eval.c: Remove file.
2499
653b1080
SP
2500 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
2501 macros.
2502
602f80ec
SP
2503 [BZ #17266]
2504 * misc/sys/cdefs.h: Define __extern_always_inline for clang
2505 4.2 and newer.
2506
545583d6
SP
2507 [BZ #17370]
2508 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
2509
884ddc50
SP
25102014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2511 Jakub Jelinek <jakub@redhat.com>
2512
2513 [BZ #17266]
2514 * libio/stdio.h: Check definition of __fortify_function
2515 instead of __extern_always_inline to include bits/stdio2.h.
2516 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
2517 check if __extern_always_inline is defined.
2518 [__USE_MISC || __USE_XOPEN]: Likewise.
2519 [__USE_ISOC99] Likewise.
2520 * misc/sys/cdefs.h (__fortify_function): Define only if
2521 __extern_always_inline is defined.
2522 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
2523 __extern_always_inline and __extern_inline only for g++-4.3
2524 and newer or a compatible gcc.
2525
a7b87268
AS
25262014-09-15 Andreas Schwab <schwab@linux-m68k.org>
2527
2528 [BZ #17371]
2529 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2530 last change to handle zero prefix length.
2531
3f41521d
SP
25322014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2533
61fe374a
SP
2534 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
2535 _SC_REGEX_VERSION.
2536
3f41521d
SP
2537 * posix/getconf.c (vars): Add _POSIX_IPV6 and
2538 _POSIX_RAW_SOCKETS.
2539
d8f879ee
AM
25402014-09-13 Allan McRae <allan@archlinux.org>
2541
2542 * po/ru.po: Update Russian translation from translation project.
2543
c079afb7
RM
25442014-09-12 Roland McGrath <roland@hack.frob.com>
2545
a62b3c15
RM
2546 * locale/programs/locale.c (show_locale_vars): Inline local function
2547 into its sole call site. Clean up some style nits.
2548 (print_item): New function, broken out of ...
2549 (show_info): ... local function here. Clean up style nits.
2550
d7e49b19
RM
2551 * locale/programs/ld-ctype.c (set_one_default): New function, broken
2552 out of ...
2553 (set_class_defaults): ... local function set_default here.
2554 Define set_default as a macro locally to pass constant parameters.
2555 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
2556 rather than a shared local.
2557
c079afb7
RM
2558 * stdlib/rpmatch.c (try): New function, broken out of ...
2559 (rpmatch): ... local function here. Also, prototypify definition.
2560
0bd72468
JM
25612014-09-12 Joseph Myers <joseph@codesourcery.com>
2562
ba90e050
JM
2563 * scripts/soversions.awk: Do not handle configuration names.
2564 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
2565 vendor and os variables to soversions.awk.
2566 * configure.ac: Do not modify gnu-* host_os.
2567 * configure: Regenerated
2568 * shlib-versions: Remove first column with configuration names.
2569 * nptl/shlib-versions: Likewise.
2570 * nptl_db/shlib-versions: Likewise.
2571 * sysdeps/hppa/shlib-versions: Likewise.
2572 * sysdeps/m68k/shlib-versions: Likewise.
2573 * sysdeps/mach/hurd/shlib-versions: Likewise.
2574 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
2575 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
2576 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
2577 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
2578 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
2579 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
2580 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
2581 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
2582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2583 Likewise.
2584 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2585 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2586 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2587 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2588 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2589 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
2590 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2591 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2592
73a39112
JM
2593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2594 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
2595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2596 Regenerated.
2597 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
2598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2599 Condition symbol version definitions on [HAVE_ELFV2_ABI].
2600
c729e7c1
JM
2601 * shlib-versions: Remove OS-specific entries. Moved to files in
2602 sysdeps.
2603 * sysdeps/mach/hurd/shlib-versions: New file.
2604 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2605
dc932a24
JM
2606 * nptl/shlib-versions: Remove architecture-specific entries.
2607 Moved to files in sysdeps.
2608 * shlib-versions: Likewise.
2609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
2610 file.
2611 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2612 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2613 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2614 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2615
0bd72468
JM
2616 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
2617 (UDP_NO_CHECK6_RX): Likewise.
2618
920238e0
SP
26192014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2620
2621 * sysdeps/posix/sysconf.c (__sysconf): Spell
2622 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
2623
ba7b4d29
FW
26242014-08-12 Florian Weimer <fweimer@redhat.com>
2625
2626 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
2627 loading.
2628 * iconv/Versions (__gconv_transliterate): Export for use from
2629 gconv modules.
2630 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
2631 (struct __gconv_trans_data, __gconv_trans_fct,
2632 __gconv_trans_context_fct, __gconv_trans_query_fct,
2633 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
2634 definitions.
2635 (struct __gconv_step_data): Remove __trans member.
2636 (__gconv_transliterate): Declaration moved from gconv_int.h. No
2637 longer hidden. Remove unused trans_data argument.
2638 * iconv/gconv_int.h (struct trans_struct): Remove definition.
2639 (__gconv_translit_find): Remove declaration.
2640 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
2641 prototype.
2642 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
2643 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
2644 trans_data argument. Add hidden definition.
2645 (__gconv_translit_find): Remove.
2646 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
2647 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
2648 * iconv/skeleton.c: Remove transliteration initialization.
2649 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
2650 __gconv_step_data initialization.
2651 * libio/iofwide.c (__libio_translit_): Remove.
2652 (_IO_fwide): Adjust struct __gconv_step_data initialization.
2653 * wcsmbs/btowc.c (__btowc): Likewise.
2654 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2655 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
2656 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
2657 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
2658 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
2659 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
2660 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
2661 * wcsmbs/wctob.c (wctob): Likewise.
2662
5379aebd
SP
26632014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2664
2665 [BZ #16194]
2666 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
2667 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
2668 register usage.
2669 * sysdeps/x86/Makefile: Adjust.
2670
8c0ab919
RM
26712014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2672 Roland McGrath <roland@hack.frob.com>
2673
2674 * locale/weight.h: Add include guard.
2675 (findidx): Make static rather than auto; take new parameters
2676 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
2677 * locale/weightwc.h: Likewise.
2678 * posix/fnmatch_loop.c
2679 (FCT): Change type of EXTRA from int32_t to wint_t.
2680 Don't include either header inside the function.
2681 Call FINDIDX rather than findidx, and pass new arguments.
2682 #undef FINDIDX at the end of the file.
2683 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
2684 FINDIDX before including fnmatch_loop.c for the non-wide version.
2685 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
2686 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
2687 for the wide version.
2688 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
2689 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
2690 Pass new arguments to findidx.
2691 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
2692 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
2693 Don't #include it inside the function. Pass new arguments to findidx.
2694 * posix/regex_internal.h
2695 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
2696 (re_string_elem_size_at): Don't #include it inside the function.
2697 Pass new arguments to findidx.
2698 * string/strcoll_l.c: #include WEIGHT_H at top level.
2699 (get_next_seq): Don't #include it inside the function.
2700 Pass new arguments to findidx.
2701 (get_next_seq_nocache): Likewise.
2702 * string/strxfrm_l.c: #include WEIGHT_H at top level.
2703 (STRXFRM): Don't #include it inside the function.
2704 Pass new arguments to findidx.
2705
52ffbdf2
FW
27062014-09-11 Florian Weimer <fweimer@redhat.com>
2707
2708 [BZ #17344]
2709 * malloc/malloc.c (unlink): Turn asserts into a call to
2710 malloc_printerr.
2711
984c0ea9
TL
27122014-09-11 Tim Lammens <tim.lammens@gmail.com>
2713
2714 [BZ #17370]
2715 * libio/wfileops (do_ftell_wide): Free OUT.
2716
3daee107
CM
27172014-09-10 Chris Metcalf <cmetcalf@tilera.com>
2718
2719 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
2720
58b930ae
SP
27212014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2722
2723 [BZ #17363]
2724 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
2725 group if the current group is empty.
2726
3b473fec
AZ
27272014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2728
71ae8647
AZ
2729 * benchtests/bench-memset.c (test_main): Add more test from size
2730 from 32 to 512 bytes.
2731 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2732 Add POWER8 memset object.
2733 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2734 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
2735 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
2736 implementation.
2737 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
2738 Likewise.
2739 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
2740 multiarch POWER8 memset optimization.
2741 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
2742 POWER8 memset optimization.
2743
3b473fec
AZ
2744 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2745 Remove bzero multiarch objects.
2746 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
2747 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
2748 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
2749 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
2750 Remove define.
2751 [__bzero]: Redefine to specific name.
2752 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
2753 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
2754 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
2755 define.
2756 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2757 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2758
e6fb9587
FW
27592014-09-10 Florian Weimer <fweimer@redhat.com>
2760
2761 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
2762 warnings into errors.
2763
2764 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
2765 __cxa_thread_atexit_impl prototype.
2766
9d3a350b
SE
27672014-09-09 Steve Ellcey <sellcey@mips.com>
2768
2769 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
2770 Fix capitalization of error message.
2771
0febba23
SE
27722014-09-09 Steve Ellcey <sellcey@mips.com>
2773
2774 * sysdeps/mips/preconfigure: Modify ABI tests.
2775
645a0e9c
CD
27762014-09-07 Carlos O'Donell <carlos@systemhalted.org>
2777
2778 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
2779
d83f0734
CD
27802014-09-07 Roland McGrath <roland@hack.frob.com>
2781 Carlos O'Donell <carlos@systemhalted.org>
2782
2783 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
2784 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
2785 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
2786 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
2787 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
2788 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
2789 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
2790 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
2791 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
2792 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
2793 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
2794 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
2795 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
2796 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
2797 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
2798 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
2799 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
2800 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
2801 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
2802 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
2803 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
2804 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
2805 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
2806 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
2807 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
2808 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
2809 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
2810 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
2811 Deconditionalize the code that was previously under [RESET_PID].
2812 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
2813 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
2814 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
2815 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
2816 include sysdep.h.
2817
21c83793
AM
28182014-09-08 Allan McRae <allan@archlinux.org>
2819
2820 * version.h (RELEASE): Set to "development".
2821 (VERSION): Set to "2.20.90"
2822
1cd9b65c
AM
28232014-09-07 Allan McRae <allan@archlinux.org
2824
b8079dd0
AM
2825 * version.h (RELEASE): Set to "stable".
2826 (VERSION): Set to "2.20"
2827 * include/features.h (__GLIBC_MINOR__): Set to 20.
2828
c46303ef
AM
2829 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
2830 Liebler.
2831
1cd9b65c
AM
2832 * po/ko.po: Update Korean translation from translation project.
2833
8622092d
CM
28342014-09-06 Chris Metcalf <cmetcalf@tilera.com>
2835
2836 [BZ #17354]
2837 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
2838 macro for handling signed relocations.
2839
41488498
FW
28402014-09-03 Florian Weimer <fweimer@redhat.com>
2841
2842 [BZ #17325]
2843 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
2844 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
2845 assert.
2846 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
2847 * iconvdata/ibm935.c (BODY): Likewise.
2848 * iconvdata/ibm937.c (BODY): Likewise.
2849 * iconvdata/ibm939.c (BODY): Likewise.
2850 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
2851 assert.
2852 * iconvdata/Makefile (iconv-test.out): Pass module list to test
2853 script.
2854 * iconvdata/run-iconv-test.sh: New test loop for checking for
2855 decoder crashers.
2856
a78b712d
KR
28572014-09-02 Khem Raj <raj.khem@gmail.com>
2858
2859 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
2860 libm_hidden_ver.
2861
cb08abc6
AM
28622014-09-01 Allan McRae <allan@archlinux.org>
2863
2c31e102
AM
2864 * po/eo.po: Update Esperanto translation from translation project.
2865
cb08abc6
AM
2866 * po/ca.po: Update Catalan translation from translation project.
2867
17a62de1
ST
28682014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
2869
2870 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
2871 __proc_dostop call.
2872
9570bc53
MW
28732014-08-27 Mark Wielaard <mjw@redhat.com>
2874
2875 [BZ #17319]
2876 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
2877 to call set_thread_area instead of hand written asm.
2878 (__NR_set_thread_area): Removed define.
2879 (TLS_FLAG_WRITABLE): Likewise.
2880 (__ASSUME_SET_THREAD_AREA): Remove check.
2881 (TLS_EBX_ARG): Remove define.
2882 (TLS_LOAD_EBX): Likewise.
2883
b0f955c9
ST
28842014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2885
2886 Simplify atomicity of socket creation in bind.
2887
2888 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
2889 looking up the name after linking the file.
2890
529bf515
AM
28912014-08-27 Allan McRae <allan@archlinux.org>
2892
2893 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2894
a1a6a401
FW
28952014-08-26 Florian Weimer <fweimer@redhat.com>
2896
2897 [BZ #17187]
2898 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
2899 trans_compare, open_translit, __gconv_translit_find):
2900 Remove module loading code.
2901
686ab290
AM
29022014-08-26 Allan McRae <allan@archlinux.org>
2903
e4e7cfd2
AM
2904 * po/vi.po: Update Vietnamese translation from translation project.
2905
6aa09f71
AM
2906 * po/uk.po: Update Ukrainian translation from translation project.
2907
edc0660e
AM
2908 * po/fr.po: Update French translation from translation project.
2909
7eea72ac
AM
2910 * po/ru.po: Update Russian translation from translation project.
2911
93c49eff
AM
2912 * po/pl.po: Update Polish translation from translation project.
2913
46acaf63
AM
2914 * po/cs.po: Update Czech translation from translation project.
2915
a9f5ce98
AM
2916 * po/de.po: Update German translation from translation project.
2917
373f2b78
AM
2918 * po/bg.po: Update Bulgarian translation from translation project.
2919
e7548bd8
AM
2920 * po/sv.po: Update Sweedish translation from translation project.
2921
c526bf4d
AM
2922 * po/nl.po: Update Dutch translation from translation project.
2923
686ab290
AM
2924 * po/es.po: Update Spanish translation from translation project.
2925
eb72478a
SP
29262014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2927
dd763fdb
SP
2928 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2929
318c7a58
SP
2930 * catgets/Makefile (CPPFLAGS-gencat): Remove.
2931 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2932 (CPPFLAGS-iconvconfig): Likewise.
2933 * timezone/Makefile (CPPFLAGS-zic): Likewise.
2934
eb72478a
SP
2935 * include/libc-symbols.h: Remove unnecessary check for
2936 NOT_IN_libc.
2937 * nptl/pthreadP.h: Likewise.
2938 * sysdeps/aarch64/setjmp.S: Likewise.
2939 * sysdeps/alpha/setjmp.S: Likewise.
2940 * sysdeps/arm/sysdep.h: Likewise.
2941 * sysdeps/i386/setjmp.S: Likewise.
2942 * sysdeps/m68k/setjmp.c: Likewise.
2943 * sysdeps/posix/getcwd.c: Likewise.
2944 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2945 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2946 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2947 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2948 * sysdeps/sh/sh3/setjmp.S: Likewise.
2949 * sysdeps/sh/sh4/setjmp.S: Likewise.
2950 * sysdeps/unix/alpha/sysdep.h: Likewise.
2951 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2952 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2953 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2954 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2957 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2958 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2959 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2960 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2961 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2962 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2963 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2964 * sysdeps/x86_64/setjmp.S: Likewise.
2965
d44a052c
JM
29662014-08-13 Joseph Myers <joseph@codesourcery.com>
2967
2968 [BZ #17263]
2969 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2970 <stdint.h>.
2971 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2972 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2973
508ce3ac
SP
29742014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2975
e44c8b0e
SP
2976 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2977
508ce3ac
SP
2978 [BZ #17262]
2979 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2980 and __x86_64__ when disabling x87 inline functions.
2981
b4acef1f
L
29822014-08-12 H.J. Lu <hongjiu.lu@intel.com>
2983
2984 [BZ #17259]
2985 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2986 asm statement with __cpuid_count.
2987
61b1ef6e
MF
29882014-08-12 Mike Frysinger <vapier@gentoo.org>
2989
2990 * configure.ac: Change __ehdr_start code to dereference the struct.
2991 Run readelf on the output to look for relocations.
2992 * configure: Regenerated.
2993
898c62f4
JM
29942014-08-12 Joseph Myers <joseph@codesourcery.com>
2995
2996 [BZ #17261]
2997 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2998 value to 0.
2999 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
3000
9a8a5720
RM
30012014-08-12 Roland McGrath <roland@hack.frob.com>
3002
3003 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
3004
4e75751c
BO
30052014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
3006
3007 [BZ #16892]
3008 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
3009 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
3010
bb2ce416
SA
30112014-08-12 Sean Anderson <seanga2@gmail.com>
3012
3013 * malloc/malloc.c: Fix typo in comment.
3014
7950a4ee
AM
30152014-08-09 Allan McRae <allan@archlinux.org>
3016
3017 * Regenerate libc.po.
3018
f469c49f
MF
30192014-08-08 Mike Frysinger <vapier@gentoo.org>
3020
3021 * intl/tst-gettext2.sh: Check every lang file for creation.
3022
656b84c2
WD
30232014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
3024
3025 * sysdeps/aarch64/fpu/math_private.h
3026 (libc_feholdsetround_noex_aarch64_ctx): New function.
3027
538e9e45
W
30282014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
3029
3030 * sysdeps/arm/armv6/strcpy.S (strcpy):
3031 Fix performance issue in misaligned cases.
3032
d4795e4a
AZ
30332014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3034
3035 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
3036 Move definition from termios.h.
3037 (struct termio): Likewise.
3038 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3039 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
3040 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
3041 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
3042 Likewise.
3043 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
3044 Move definition to ioctl-types.h
3045 (struct termio): Likewise.
3046 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3047 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
3048 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
3049 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
3050 Likewise.
3051
64accb62
RH
30522014-08-05 Richard Henderson <rth@redhat.com>
3053
27bb6dc0
RH
3054 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
3055 exceptions.
3056 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
3057 Add fraiseexcpt.
3058 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
3059 Use __feraiseexcept.
3060 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
3061 Protect libm symbols with IS_IN_libm.
3062
64accb62
RH
3063 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
3064
e5292691
BO
30652014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
3066
3067 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
3068
5b4bd2d4
WN
30692014-08-04 Will Newton <will.newton@linaro.org>
3070
3071 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
3072 file.
3073
fcadaeef
MF
30742014-08-04 Mike Frysinger <vapier@gentoo.org>
3075
3076 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
3077 variants for each function.
3078
43a94c64
RM
30792014-08-04 Roland McGrath <roland@hack.frob.com>
3080
3081 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
3082 appended ...
3083 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
3084 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
3085 appended ...
3086 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
3087 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
3088 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
3089 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
3090 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
3091 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
3092 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
3093 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
3094 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
3095 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
3096 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
3097 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
3098 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
3099 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
3100 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
3101 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
3102 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
3103 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
3104 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
3105 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
3106 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
3107 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
3108 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
3109 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
3110 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
3111 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
3112 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
3113 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
3114 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
3115 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
3116 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
3117 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
3118 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
3119 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
3120 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
3121 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
3122 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
3123 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
3124 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
3125 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
3126 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
3127 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
3128 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
3129 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
3130 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
3131 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
3132 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
3133 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
3134 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
3135 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
3136 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
3137 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
3138 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
3139 Update #include.
3140 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
3141 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
3142
8f3c1fa4
RM
31432014-08-04 Roland McGrath <roland@hack.frob.com>
3144
3145 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
3146 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
3147 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
3148 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
3149 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
3150 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
3151
ca08746f
RM
31522014-08-04 Roland McGrath <roland@hack.frob.com>
3153
3154 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
3155 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
3156 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3157 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
3158
9c925ff9
RM
31592014-08-04 Roland McGrath <roland@hack.frob.com>
3160
3161 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
3162 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
3163 (__libc_vfork): Define function under this name.
3164 (__vfork): Define as an alias.
3165 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
3166 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
3167
e641054c
RM
31682014-08-04 Roland McGrath <roland@hack.frob.com>
3169
3170 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
3171 that was previously under [RESET_PID].
3172 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
3173
dacdc867
AS
31742014-08-04 Andreas Schwab <schwab@suse.de>
3175
3176 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
3177
41f725ff
MF
31782014-08-03 Mike Frysinger <vapier@gentoo.org>
3179
3180 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
3181 (main): Likewise.
3182
277cfb31
RM
31832014-08-01 Roland McGrath <roland@hack.frob.com>
3184
3185 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
3186
4896f049
RH
31872014-08-01 Richard Henderon <rth@redhat.com>
3188
3189 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
3190 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
3191 typo in exact zero test.
3192 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3193 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3194 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3195
6f64e7d7
RM
31962014-08-01 Roland McGrath <roland@hack.frob.com>
3197
3198 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
3199 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
3200 * sysdeps/arm/sysdep.h: ... here.
3201 [!__ASSEMBLER__]: Include <stdint.h>.
3202
3f3dd810
SP
32032014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3204
a476ac4b
SP
3205 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
3206 (HAVE_WCTYPE_H): Likewise.
3207 (HAVE_ISWCTYPE): Likewise.
3208 (ENABLE_NLS): Likewise.
3209 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
3210 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
3211
78dd658a
SP
3212 * posix/regex_internal.c: Check if DEBUG is defined and is
3213 set.
3214
3f3dd810
SP
3215 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
3216 (HAVE_MBSRTOWCS): Likewise.
3217 * posix/fnmatch.c: Include string.h unconditionally.
3218
95ee7fb1
SL
32192014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3220
3221 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
3222 reversal.
3223
23fe486b
RM
32242014-07-31 Roland McGrath <roland@hack.frob.com>
3225
f61a113f
RM
3226 * sysdeps/generic/safe-fatal.h: New file.
3227 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
3228 * nptl/forward.c: Include it.
3229 (__pthread_unwind): Use __safe_fatal as default action, rather
3230 than a bogus use of INTERNAL_SYSCALL that could never work.
3231
9fe7e787
RM
3232 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
3233 * configure.ac (libc_cv_builtin_trap): New test.
3234 * configure: Regenerated.
3235 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
3236 (ABORT_INSTRUCTION): Define using __builtin_trap.
3237
23fe486b
RM
3238 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
3239 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
3240 * sysdeps/nptl/nptl-signals.h: New file.
3241 * nptl/pthreadP.h: Include <nptl-signals.h>.
3242
f349489e
SL
32432014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
3244
3245 * sysdeps/s390/s390-64/utf16-utf32-z9.c
3246 (ONE_DIRECTION): Define.
3247 * sysdeps/s390/s390-64/utf8-utf16-z9.c
3248 (ONE_DIRECTION): Define.
3249 * sysdeps/s390/s390-64/utf8-utf32-z9.c
3250 (ONE_DIRECTION): Define.
3251
2f438e20
SL
32522014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
3253
3254 * sysdeps/s390/Makefile: Delete file.
3255 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
3256 * sysdeps/s390/__longjmp.c: Delete file.
3257 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
3258 Remove fields __flags and __reserved.
3259 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
3260 and add versioning.
3261 * sysdeps/s390/rtld-__longjmp.c: Delete file.
3262 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
3263 * sysdeps/s390/rtld-setjmp.S: Likewise.
3264 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
3265 * sysdeps/s390/s390-32/__longjmp.c: ... here.
3266 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
3267 * sysdeps/s390/s390-32/setjmp.S: ... here.
3268 Add versioning.
3269 (__sigsetjmp): Remove setting __flags field.
3270 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
3271 * sysdeps/s390/s390-64/__longjmp.c: ... here.
3272 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
3273 * sysdeps/s390/s390-64/setjmp.S: ... here.
3274 Add versioning.
3275 (__sigsetjmp): Remove setting __flags field.
3276 * sysdeps/s390/setjmp.S: Delete file.
3277 * sysdeps/s390/sigjmp.c: Likewise.
3278 * sysdeps/s390/v1-longjmp.c: Likewise.
3279 * sysdeps/s390/v1-setjmp.h: Likewise.
3280 * sysdeps/s390/v1-sigjmp.c: Likewise.
3281 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
3282 Remove v1-longjmp_chk.
3283 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
3284 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
3285 Include debug/longjmp_chk.c and add versioning.
3286 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
3287 Include nptl/pt-longjmp.c and add versioning.
3288 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
3289 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
3290 Include __longjmp.c.
3291 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3292 Move to ...
3293 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
3294 (__getcontext): Remove setting __flags field.
3295 Add versioning.
3296 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3297 Don't restore upper high grps.
3298 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
3299 Likewise.
3300 (__swapcontext): Remove setting uc_flags field.
3301 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
3302 Delete file.
3303 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3304 Include __longjmp.c.
3305 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3306 Move to ...
3307 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
3308 (__getcontext): Remove setting __flags field.
3309 Add versioning.
3310 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
3311 (__swapcontext): Remove setting uc_flags field.
3312 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
3313 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
3314 Remove fields uc_high_gprs and __reserved.
3315 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
3316 New file with reverted content.
3317 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
3318 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
3319 Regenerated.
3320 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
3321 Regenerated.
3322
6c9578a2
AS
33232014-07-31 Andreas Schwab <schwab@suse.de>
3324
3325 * config.h.in (HAVE_IFUNC): Define to 0.
3326 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
3327 definedness.
3328
05f3633d
LM
33292014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
3330
3331 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3332 memmove-avx-unaligned, memcpy-avx-unaligned and
3333 mempcpy-avx-unaligned.
3334 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3335 Add tests for AVX memcpy functions.
3336 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
3337 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
3338 memcpy_chk.
3339 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
3340 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
3341 memmove_chk.
3342 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
3343 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
3344 mempcpy_chk.
3345 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
3346 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
3347 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
3348
a53fbd8e
AZ
33492013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3350
3351 [BZ #17213]
3352 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
3353 powerpc64le.
3354
0961f7e1
JL
33552014-07-29 Jeff Layton <jlayton@poochiereds.net>
3356
3357 [BZ #16839]
3358 * manual/llio.texi: Add section about open file description locks.
3359 * manual/examples/ofdlocks.c: Example of open file description
3360 lock usage.
3361 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
3362 F_OFD_SETLK, and F_OFD_SETLKW.
3363
cc5fb300
AM
33642014-07-23 Allan McRae <allan@archlinux.org>
3365
3366 * po/es.po: Update Spanish translation from translation project.
3367
23329dca
AS
33682014-07-18 Andreas Schwab <schwab@linux-m68k.org>
3369
3370 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
3371
9c82da17
MR
33722014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
3373
3374 [BZ #17078]
3375 * sysdeps/arm/dl-machine.h (elf_machine_rela)
3376 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
3377 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
3378
29c4f53e
JM
33792014-07-17 Joseph Myers <joseph@codesourcery.com>
3380
831b9896
JM
3381 [BZ #17088]
3382 * math/fesetenv.c (__fesetenv)
3383 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
3384 * math/feupdateenv.c (__feupdateenv)
3385 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
3386
b21c2d50
JM
3387 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
3388 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3389 (__ASSUME_SOCKETCALL): Do not define.
3390
067764ef
JM
3391 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
3392 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
3393 (__ASSUME_SOCKETCALL): Do not define.
3394 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
3395 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3396 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3397 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3398 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3399 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
3400 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3401 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3402
642530c1
JM
3403 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
3404 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
3405 (__ASSUME_SOCKETCALL): Do not define.
3406 (__ASSUME_IPC64): Define unconditionally.
3407 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3408 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3409 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3410 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3411 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
3412 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3413 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
3414 Likewise.
3415
03f77315
JM
3416 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
3417 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
3418 (__ASSUME_SOCKETCALL): Do not define.
3419 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
3420 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3421 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3422 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3423 (__ASSUME_REQUEUE_PI): Define unconditionally.
3424 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
3425 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3426 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3427 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
3428 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3429 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3430
083b1f7c
JM
3431 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
3432 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
3433 (__ASSUME_SOCKETCALL): Do not define.
3434 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
3435 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3436 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3437 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
3438 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3439 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3440
5be44ea6
JM
3441 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
3442 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
3443 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3444 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
3445 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3446 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
3447 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3448 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
3449 (__ASSUME_GETCPU_SYSCALL): Likewise.
3450
d95ffd4c
JM
3451 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
3452 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
3453 cases for individual architectures.
3454 * sysdeps/gnu/configure: Regenerated.
3455 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
3456 LIBC_SLIBDIR_RTLDDIR.
3457 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
3458 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
3459 LIBC_SLIBDIR_RTLDDIR.
3460 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
3461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
3462 LIBC_SLIBDIR_RTLDDIR.
3463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3464 Regenerated.
3465 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
3466 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
3467 file.
3468 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
3469 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
3470 file.
3471 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
3472 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
3473 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
3474 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
3475
29c4f53e
JM
3476 * sysdeps/aarch64/shlib-versions: Move to ...
3477 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
3478 * sysdeps/alpha/shlib-versions: Move to ...
3479 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
3480 * sysdeps/arm/shlib-versions: Move to ...
3481 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
3482 * sysdeps/hppa/shlib-versions: Move all contents except for
3483 libgcc_s entry to ...
3484 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
3485 entry from ...
3486 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
3487 * sysdeps/ia64/shlib-versions: Move to ...
3488 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
3489 entry from ...
3490 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
3491 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
3492 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
3493 * sysdeps/microblaze/shlib-versions: Move to ...
3494 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
3495 * sysdeps/mips/shlib-versions: Move to ...
3496 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
3497 entry from ...
3498 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
3499 * sysdeps/tile/shlib-versions: Move to ...
3500 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
3501 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
3502 from ...
3503 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
3504 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
3505 entry from ...
3506 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
3507
32bead5b
WN
35082014-07-17 Will Newton <will.newton@linaro.org>
3509
57977c4b
WN
3510 * sysdeps/arm/bits/atomic.h
3511 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
3512 (__arch_compare_and_exchange_bool_16_int): Likewise.
3513 (__arch_compare_and_exchange_bool_64_int): Likewise.
3514
32bead5b
WN
3515 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
3516 into an #else block.
3517
37fccd41
RM
35182014-07-16 Roland McGrath <roland@hack.frob.com>
3519
3520 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
3521 just Linux configurations. Test empirically that the compiler sets
3522 __ARM_EABI__, rather than using the tuple to decide.
3523 * sysdeps/arm/preconfigure: Regenerated.
3524 * sysdeps/unix/sysv/linux/arm/configure: File removed.
3525 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
3526 contents appended ...
3527 * sysdeps/arm/configure.ac: ... here.
3528 * sysdeps/arm/configure: Regenerated.
3529
b365f3ec
RM
35302014-07-15 Roland McGrath <roland@hack.frob.com>
3531
8badf496
RM
3532 * nptl/pthread_kill.c: New file.
3533 * nptl/pthread_sigmask.c: New file.
3534 * nptl/pthread_sigqueue.c: New file.
3535
3df6f22e
RM
3536 * sysdeps/nptl/lowlevellock.h: New file.
3537 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
3538 * sysdeps/nptl/lowlevellock-futex.h: New file.
3539
b365f3ec
RM
3540 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
3541 Remove dead declarations.
3542
f2fef657
L
35432014-07-14 H.J. Lu <hongjiu.lu@intel.com>
3544
3545 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
3546 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
3547 config-cflags-avx2.
3548 * sysdeps/x86_64/configure.ac: Likewise.
3549 * sysdeps/i386/configure: Regenerated.
3550 * sysdeps/x86_64/configure: Likewise.
3551 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3552 memset-avx2 only if config-cflags-avx2 is yes.
3553 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3554 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
3555 defined.
3556 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
3557 only if HAVE_AVX2_SUPPORT is defined.
3558 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3559
f6c44d47
AM
35602014-07-14 Alan Modra <amodra@gmail.com>
3561
3562 [BZ #17153]
3563 * elf/elf.h (DT_PPC64_NUM): Correct value.
3564 * NEWS: Add to fixed bug list.
3565
7ee03f00
JM
35662014-07-13 Jim Meyering <meyering@fb.com>
3567
3568 [BZ 17150]
3569 regex: don't deref NULL upon heap allocation failure
3570 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
3571 failure in one more place.
3572 To trigger the segfault, configure grep -with-included-regex,
3573 build it, and run these commands:
3574 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
3575
9d39d517
AS
35762014-07-13 Andreas Schwab <schwab@linux-m68k.org>
3577
3578 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3579
a75b89b7
RH
35802014-07-11 Richard Henderson <rth@redhat.com>
3581
3582 * sysdeps/aarch64/libm-test-ulps: Update.
3583
771eb141
FW
35842014-07-10 Florian Weimer <fweimer@redhat.com>
3585
3586 [BZ #17135]
3587 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
3588 * nptl/allocatestack.c (__nptl_setxid_error): New function.
3589 (__nptl_setxid): Initialize error member. Call
3590 __nptl_setxid_error.
3591 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
3592 * nptl/descr.h (struct xid_command): Add error member.
3593 * nptl/tst-setuid3.c: New file.
3594 * nptl/Makefile (tests): Add it.
3595
bc1da176
AZ
35962014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3597
3598 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
3599 New define.
3600 (__lll_trylock): Use __lll_base_trylock.
3601 (__lll_cond_trylock): Likewise.
3602
887865fc
RM
36032014-07-10 Roland McGrath <roland@hack.frob.com>
3604
c0c6bac9
RM
3605 * nptl/pthread_create.c (start_thread): Use atomic_or and
3606 lll_futex_wake directly rather than lll_robust_dead.
3607 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3608 (lll_robust_dead): Macro removed.
6a42be57 3609 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
3610 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3611 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3612 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3613 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3614 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3615 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3616 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3617 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3618 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3619 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3620 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3621 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3622 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3623 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3624
887865fc
RM
3625 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3626 Use atomic_compare_and_exchange_val_acq directly rather than
3627 lll_robust_trylock.
3628 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3629 (__lll_robust_trylock, lll_robust_trylock): Removed.
3630 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3631 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3632 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3633 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3634 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3635 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3636 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3637 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3638 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3639 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3640 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3641 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3642 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3643 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3644
58536726
FW
36452014-07-02 Florian Weimer <fweimer@redhat.com>
3646
3647 * manual/locale.texi (Locale Names): New section documenting
3648 locale name syntax. Adjust menu and node chaining accordingly.
3649 (Choosing Locale): Reference Locale Names, Locale Categories.
3650 Mention setting LC_ALL=C. Reflect that name syntax is now
3651 documented.
3652 (Locale Categories): New section title. Reference Locale Names.
3653 LC_ALL is an environment variable, but not a category.
3654 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
3655 description, now in Locale Name. Reference that section. Locale
3656 name syntax is now documented.
3657
4e8f95a0
FW
36582014-07-02 Florian Weimer <fweimer@redhat.com>
3659
3660 [BZ #17137]
3661 * locale/findlocale.c (name_present, valid_locale_name): New
3662 functions.
3663 (_nl_find_locale): Use the loc_name variable to store name
3664 candidates. Call name_present and valid_locale_name to check and
3665 validate locale names. Return an error if the locale is invalid.
3666
d1836456
FW
36672014-07-02 Florian Weimer <fweimer@redhat.com>
3668
3669 * locale/setlocale.c (setlocale): Use strdup for allocating
3670 composite name copy.
3671
d69b7f5a
SP
36722014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3673
888c679b
SP
3674 Sync up with gnulib.
3675 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
3676 [!_LIBC && ENABLE_NLS]: Include gettext.h.
3677 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
3678 and _GL_ARG_NONNULL.
3679 [USE_UNLOCKED_IO]: Include unlocked-io.h.
3680 [!_LIBC]: Include code for Windows and Cygwin.
3681 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
3682 Include prototype for int strerror_r.
3683 [!_LIBC] (is_open): New function.
3684 (flush_stdout): New function.
3685 (print_errno_message): Use it.
3686 (error): Likewise.
3687 (error_at_line): Likewise.
3688 (error_tail) Add function attribute macros. Use
3689 __builtin_expect.
3690
180e0e4b
SP
3691 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
3692
d22f1fe2
SP
3693 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
3694
12f2254b
SP
3695 * io/ftw.c: Include sys/param.h unconditionally.
3696
c3c7c360
SP
3697 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
3698
d62aa75a
SP
3699 [BZ #17125]
3700 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
3701 libc_freeres_ptr.
3702 (freecache): New function to free CACHE on exit.
3703
d69b7f5a
SP
3704 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
3705 initialization.
3706
5efe06a1
DM
37072014-07-09 David S. Miller <davem@davemloft.net>
3708
3709 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3710
7000d82e
DM
3711 * sysdeps/sparc/nptl/internaltypes.h: Delete.
3712 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
3713 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
3714 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
3715 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
3716 * sysdeps/sparc/nptl/sem_init.c: Likewise.
3717 * sysdeps/sparc/nptl/sem_post.c: Likewise.
3718 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
3719 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
3720 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
3721 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
3722 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
3723 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
3724
c213442d
AS
37252014-07-09 Andreas Schwab <schwab@suse.de>
3726
4a2552c3
AS
3727 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
3728 output.
3729 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
3730 (do_test): Likewise.
3731
c213442d
AS
3732 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3733
82374e65
WN
37342014-07-09 Will Newton <will.newton@linaro.org>
3735
3736 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
3737 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
3738 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
3739 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
3740 * sysdeps/hppa/start.S (_start): Likewise.
3741
6680738a
SP
37422014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3743
6ee3eab4
SP
3744 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
3745
6680738a
SP
3746 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
3747 defined.
3748
80b5c505
SP
37492014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3750
e35c53e3
SP
3751 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
3752 after checking that it is non-NULL.
3753
80b5c505
SP
3754 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
3755
91f4b564
AZ
37562014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3757
27b75f56
AZ
3758 * sysdeps/powerpc/memmove.c: Remove file.
3759 * sysdeps/powerpc/powerpc32/power4/memcopy.h
3760 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
3761 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3762 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
3763 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
3764 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
3765 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
3766 string memmove instead of removed powerpc one.
3767
e7f95bb5
AZ
3768 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3769 [weak_alias]: Fix compiler warning due trailing data.
3770 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
3771 [weak_alias]: Likewise.
3772 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
3773 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
3774
91f4b564
AZ
3775 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3776 (__libc_ifunc_impl_list): Add memmove functions.
3777
7c33f1e5
SP
37782014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3779
3780 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
3781 Remove code.
3782 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
3783 Likewise
3784 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
3785 Likewise
3786 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
3787 Likewise
3788 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
3789 Likewise
3790 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
3791 Likewise
3792 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
3793 Likewise
3794 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
3795 Likewise
3796 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
3797 Likewise
3798 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
3799 Likewise
3800 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
3801 Likewise
3802 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
3803 Likewise
3804 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
3805 Likewise
3806 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
3807 Likewise
3808 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
3809 Likewise
3810 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
3811 Likewise
3812 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
3813 Likewise
3814
3f17b03b
AZ
38152014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3816
87868c24
AZ
3817 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
3818 to avoid alignment traps in non-cacheable memory.
3819 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3820
07aedd78
AZ
3821 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
3822 multiarch objects.
3823 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
3824 file: multiarch power7 memmove.
3825 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
3826 multiarch default memmove.
3827 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
3828 multiarch memove for powerpc32/power4.
3829
17762f66
AZ
3830 * string/bcopy.c: Use full path to include memmove.c.
3831 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
3832 multiarch objects.
3833 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
3834 bcopy for powerpc64.
3835 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
3836 bcopy for powerpc64.
3837 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
3838 and memmove implementations.
3839 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
3840 optimized multiarch memmove for POWER7/powerpc64.
3841 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
3842 default multiarch memmove for powerpc64.
3843 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
3844 multiarch for powerpc64.
3845 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
3846 for POWER7/powerpc64.
3847 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
3848 memmove for POWER7/powerpc64.
3849
d6f68bbe
AZ
3850 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
3851 glibc default one.
3852
3f17b03b
AZ
3853 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
3854 __ELF_NATIVE_CLASS equal to 64.
3855
08192659
RM
38562014-07-07 Roland McGrath <roland@hack.frob.com>
3857
f4c4021b
RM
3858 * sysdeps/nptl/lowlevellock.h: File removed.
3859
f083450f
RM
3860 * NEWS: NPTL is no longer an add-on!
3861 * nptl/internaltypes.h: Moved ...
3862 * sysdeps/nptl/internaltypes.h: ... here.
3863 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
3864 * sysdeps/nptl/fork.c: Likewise.
3865 * sysdeps/nptl/gai_misc.h: Likewise.
3866 * sysdeps/nptl/librt-cancellation.c: Likewise.
3867 * sysdeps/nptl/jmp-unwind.c: Likewise.
3868 * sysdeps/nptl/setxid.h: Likewise.
3869 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
3870 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
3871 * sysdeps/unix/sysv/linux/arm/Implies: New file.
3872 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
3873 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
3874 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
3875 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
3876 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
3877 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
3878 * sysdeps/unix/sysv/linux/mips/Implies: New file.
3879 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
3880 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
3881 * sysdeps/unix/sysv/linux/sh/Implies: New file.
3882 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
3883 * sysdeps/unix/sysv/linux/tile/Implies: New file.
3884 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
3885 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
3886 * nptl/Makeconfig: Moved ...
3887 * sysdeps/nptl/Makeconfig: ... here.
3888 * nptl/configure: File removed.
3889 * nptl/ANNOUNCE: File removed.
3890 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
3891 * sysdeps/unix/sysv/linux/configure: Regenerated.
3892
08192659
RM
3893 * nptl/Makefile (routines): Add libc_pthread_init,
3894 libc_multiple_threads, register-atfork and unregister-atfork.
3895 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
3896 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
3897 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
3898 pthread-pi-defines.sym, structsem.sym.
3899 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
3900 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
3901 [$(subdir) = nptl] (tests): Add tst-setgetname.
3902 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
3903 * sysdeps/unix/sysv/linux/sigaction.c: Just include
3904 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
3905 [!LIBC_SIGACTION]: Remove aliases.
3906 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3907 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3908 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3909 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3910 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3911 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3912 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3913 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3914 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3915 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3916 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3917 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3918 __libc_allocate_rtsig_private.
3919 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3920 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3921 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3922 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3923 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3924 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3925 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3926 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3927 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3928 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3929 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3930 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3931 * nptl/internaltypes.h: ... here.
3932 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3933 * sysdeps/nptl/jmp-unwind.c: ... here.
3934 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3935 * nptl/libc-lowlevellock.c: ... here.
3936 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3937 * nptl/libc_multiple_threads.c: ... here.
3938 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3939 * nptl/libc_pthread_init.c: ... here.
3940 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3941 * nptl/lowlevelbarrier.sym: ... here.
3942 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3943 * nptl/lowlevelcond.sym: ... here.
3944 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3945 * nptl/lowlevellock.c: ... here.
3946 * nptl/lowlevellock.h: Moved ...
3947 * sysdeps/nptl/lowlevellock.h: ... here.
3948 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3949 * nptl/lowlevelrobustlock.c: ... here.
3950 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3951 * nptl/lowlevelrobustlock.sym: ... here.
3952 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3953 * nptl/lowlevelrwlock.sym: ... here.
3954 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3955 * nptl/pt-fork.c: ... here.
3956 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3957 * nptl/pthread-pi-defines.sym: ... here.
3958 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3959 * nptl/pthread_attr_getaffinity.c: ... here.
3960 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3961 * nptl/pthread_attr_setaffinity.c: ... here.
3962 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3963 * nptl/pthread_mutex_cond_lock.c: ... here.
3964 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3965 Update #include.
3966 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3967 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3968 * nptl/pthread_once.c: ... here, replacing old file.
3969 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3970 * nptl/pthread_yield.c: ... here.
3971 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3972 * nptl/register-atfork.c: ... here.
3973 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3974 * nptl/sem_post.c: ... here.
3975 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3976 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3977 * nptl/sem_timedwait.c: ... here.
3978 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3979 * nptl/sem_trywait.c: ... here.
3980 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3981 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3982 * nptl/sem_wait.c: ... here.
3983 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3984 * nptl/structsem.sym: ... here.
3985 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3986 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3987 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3988 * nptl/unregister-atfork.c: ... here.
3989 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3990 * nptl/unwindbuf.sym: ... here.
3991 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3992 * sysdeps/nptl/fork.c: ... here.
3993 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3994 * sysdeps/nptl/fork.h: ... here.
3995 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3996 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3997 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3998 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3999 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
4000 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
4001 * sysdeps/unix/sysv/linux/getpid.c: ... here.
4002 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
4003 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
4004 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
4005 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
4006 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
4007 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
4008 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
4009 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
4010 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
4011 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
4012 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
4013 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
4014 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
4015 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
4016 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
4017 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
4018 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
4019 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
4020 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
4021 * sysdeps/unix/sysv/linux/raise.c: ... here.
4022 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
4023 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
4024 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
4025 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
4026 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
4027 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
4028 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
4029 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
4030 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
4031 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
4032 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
4033 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
4034 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
4035 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
4036 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
4037
96baf6ff
SP
40382014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4039
4040 * sysdeps/generic/memcopy.h: Add comment for
4041 MEMCPY_OK_FOR_FWD_MEMMOVE.
4042
6b7b14b2
WN
40432014-07-04 Will Newton <will.newton@linaro.org>
4044
1570a72b
WN
4045 * string/memchr.c: Merge from gnulib.
4046 [_LIBC]: Remove conditionals.
4047 (__ptr_t): Remove define.
4048 (LONG_MAX_32_BITS): Likewise.
4049 (LONG_MAX): Likewise.
4050 (MEMCHR): Use ANSI prototype and optimize algorithm.
4051
6b7b14b2
WN
4052 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
4053
38851324
SP
40542014-07-03 Roland McGrath <roland@hack.frob.com>
4055
3d9eb57c
RM
4056 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
4057 (lll_futex_timed_wait_bitset): Fix syscall argument count.
4058
78b984ae
RM
4059 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
4060 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
4061 in a bare environment with no <stdlib.h> installed.
4062 * sysdeps/nptl/configure: Regenerated.
4063
2d5976a5
RM
4064 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
4065
c1f5acd4
RM
4066 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
4067 AC_EGREP_CPP for kernel header checks, so they only succeed if
4068 including <linux/version.h> actually works right.
4069 * sysdeps/unix/sysv/linux/configure: Regenerated.
4070
4d614fe5
RM
4071 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
4072 value so it's not diagnosed as unused.
4073
38851324
SP
4074 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
4075 thing) with "ifeq ($(subdir),rt)".
4076
b3ec00e5
RH
40772014-07-03 Richard Henderson <rth@redhat.com>
4078
69862e25
RH
4079 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
4080 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
4081 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
4082
d5e16ade
RH
4083 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
4084 (math_force_eval): New.
4085
ca7b945c
RH
4086 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
4087 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
4088
cd1175a3
RH
4089 * sysdeps/alpha/fpu/s_round.c: Remove file.
4090 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
4091
b3ec00e5
RH
4092 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
4093 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
4094 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
4095 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
4096 (_dl_start, print_statistics): Likewise.
4097 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
4098 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
4099
4100 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4101 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4102 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4103 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4104 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4105 (HP_SMALL_TIMING_AVAIL): Define.
4106 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4107 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4108 (HP_SMALL_TIMING_AVAIL): Define.
4109 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4110 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4111
4112 * sysdeps/aarch64/hp-timing.h: New file.
4113
4114 * sysdeps/generic/hp-timing.h: Remove dead comment.
4115 * sysdeps/generic/hp-timing-common.h: New file.
4116 * sysdeps/alpha/hp-timing.h: Include it.
4117 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
4118 * sysdeps/i386/i686/hp-timing.h: Likewise.
4119 * sysdeps/ia64/hp-timing.h: Likewise.
4120 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4121 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4122 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4123 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4124 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
4125 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
4126 (hp_timing_t): New.
4127
4128 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
4129 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
4130 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
4131 * elf/rtld.c (_dl_start_final): Likewise.
4132 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
4133 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4134 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4135 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4136 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4137 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4138 (HP_TIMING_DIFF_INIT): Remove.
4139 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4140 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4141 (HP_TIMING_DIFF_INIT): Remove.
4142 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4143 * sysdeps/i386/i686/hp-timing.c: Remove file.
4144 * sysdeps/x86_64/hp-timing.c: Remove file.
4145 * sysdeps/ia64/hp-timing.c: Remove file.
4146 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
4147 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
4148 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
4149 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
4150
4151 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
4152 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
4153 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
4154 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4155 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4156 (HP_TIMING_ACCUM): Remove.
4157 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4158 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
4159 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4160
4161 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
4162 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
4163 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
4164 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
4165 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
4166 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4167 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
4168 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4169
4170 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
4171
225f410f
MR
41722014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
4173
4174 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
4175
3247f285
SP
41762014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4177
4178 Sync up with gettext.
4179 * intl/loadmsgcat.c: Define O_BINARY if not defined.
4180 [_MSC_VER]: Include malloc.h
4181 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
4182 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
4183 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
4184 TEMP_FAILURE_RETRY. Cast return of alloca.
4185 [!_LIBC] Call gl_rwlock_init.
4186 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
4187
d12704c7
SP
41882014-07-02 Roland McGrath <roland@hack.frob.com>
4189
4190 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
4191 before checking its value.
4192
99f8dc92
SP
41932014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4194
05fdac77
SP
4195 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
4196
99f8dc92
SP
4197 * debug/memcpy_chk.c: Don't include pagecopy.h.
4198 * debug/mempcpy_chk.c: Likewise.
4199 * string/memcpy.c: Likewise.
4200 * string/memmove.c: Likewise.
4201 * sysdeps/powerpc/memmove.c: Likewise.
4202 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
4203 definition of PAGE_COPY_FWD_MAYBE here...
4204 * sysdeps/generic/pagecopy.h: ... from here.
4205 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
4206
bc8ea385
VR
42072014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4208 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4209
4210 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
4211 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
4212 optimizations.
4213 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4214 (__libc_ifunc_impl_list): Likewise.
4215 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
4216 multiarch strcat for PPC64.
4217 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
4218 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
4219
fe5f34e4
RM
42202014-07-02 Roland McGrath <roland@hack.frob.com>
4221
4222 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
4223
256aa665
SP
42242014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4225
d4eb8195
SP
4226 * intl/loadmsgcat.c: Remove declaration of
4227 get_sysdep_segment_value.
4228 (get_sysdep_segment_value): Use ISO C style.
4229 (_nl_load_domain): Use ISO C style. Get rid of redundant
4230 semicolon. Fix typo and formatting in comment.
4231 (_nl_unload_domain): Use ISO C style.
4232
256aa665
SP
4233 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
4234
b100f9aa
WN
42352014-07-02 Will Newton <will.newton@linaro.org>
4236
4237 * malloc/obstack.c: Merge from gnulib master.
4238 [HAVE_CONFIG_H]: Remove conditional code.
4239 [!_LIBC]: Include config.h.
4240 [!ELIDE_CODE]: Don't include inttypes.h, include
4241 stdint.h unconditionally.
4242 (print_and_abort): Mark as _Noreturn.
4243 (_obstack_allocated_p): Mark as __attribute_pure__.
4244 (obstack_free): Rename to __obstack_free.
4245 [!__attribute__]: Remove conditional code.
4246 * malloc/obstack.h: Merge from gnulib master.
4247 [__cplusplus]: Move conditional down.
4248 [!__attribute_pure__]: Define __attribute_pure__ here
4249 if it is not already defined.
4250 (_obstack_memory_used): Mark as __attribute_pure__.
4251 [!__obstack_free]: Define as obstack_free.
4252 [__GNUC__]: Remove check for ancient NeXT gcc.
4253
c4c41244
PE
42542014-07-02 Will Newton <will.newton@linaro.org>
4255 Paul Eggert <eggert@cs.ucla.edu>
4256
4257 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
4258
e1e041c4
SP
42592014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4260
4261 * resolv/gethnamaddr.c: Add comment warning that the file is
4262 not maintained.
4263
ccf431ff
CD
42642014-07-01 Carlos O'Donell <carlos@redhat.com>
4265
d34570a6
CD
4266 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
4267 entries.
4268
ccf431ff
CD
4269 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
4270 entry for aio_cancel and aio_cancel64.
4271 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
4272 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
4273 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
4274 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
4275 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
4276 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
4277 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
4278 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
4279 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
4280 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
4281 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
4282 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
4283 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
4284
ca06321d
RM
42852014-07-01 Roland McGrath <roland@hack.frob.com>
4286
4287 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
4288 * nptl/pthread_mutex_lock.c: Likewise.
4289 * nptl/pthread_mutex_timedlock.c: Likewise.
4290 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
4291
a1ac3184
RH
42922014-07-01 Richard henderson <rth@redhat.com>
4293
631021e0
RH
4294 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
4295 (__isnan, __isnanl): Remove.
4296 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
4297
a1ac3184
RH
4298 * sysdeps/alpha/fpu/libm-test-ulps: Update.
4299
0c1d731f
SL
43002014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4301
4302 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4303
76985d3e
SP
43042014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4305
4306 * resolv/nss_dns/dns-host.c (getanswer_r)
4307 [MULTI_PTRS_ARE_ALIASES]: Remove code.
4308
b0cb3096
JM
43092014-07-01 Joseph Myers <joseph@codesourcery.com>
4310
4311 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4312 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
4313 undefine.
4314 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
4315 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
4316
4d76cb39
RM
43172014-07-01 Roland McGrath <roland@hack.frob.com>
4318
4319 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
4320 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
4321
4322 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
4323 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
4324
4325 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
4326 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
4327 ... here.
4328 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
4329 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
4330
4331 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
4332 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
4333 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
4334 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
4335
4336 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
4337 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
4338 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
4339 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
4340 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
4341 Moved ...
4342 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
4343 ... here.
4344 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
4345 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
4346 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
4347 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
4348 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
4349 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
4350 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
4351 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
4352 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
4353 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
4354 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
4355 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
4356 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
4357 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
4358 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
4359 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
4360 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
4361 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
4362 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
4363 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
4364 ... here.
4365 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
4366 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
4367 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
4368 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
4369 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
4370 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
4371 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
4372 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
4373
0cdcad17
DH
43742014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
4375
4376 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
4377 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
4378 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
4379 Add sysdep.
4380
9b71d0e3
AZ
43812014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4382
4383 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4384
665390c2
JM
43852014-06-30 Joseph Myers <joseph@codesourcery.com>
4386
ae05a9d7
JM
4387 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4388 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4389
a7672a2f
JM
4390 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4391
665390c2
JM
4392 * sysdeps/arm/libm-test-ulps: Regenerated.
4393
d7a05d07
MR
43942014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
4395 Roland McGrath <roland@hack.frob.com>
4396
4397 * test-skeleton.c (signal_handler): Kill the whole process group
4398 before killing the child individually.
4399 (main): Report any failure on `setpgid'.
4400
46f1d8a6
RM
44012014-06-30 Roland McGrath <roland@hack.frob.com>
4402
4403 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
4404 from _TLS_H to _ARM_NPTL_TLS_H.
4405 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
4406 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
4407
9c37ec0b
JM
44082014-06-30 Joseph Myers <joseph@codesourcery.com>
4409
ce9c5b3e
JM
4410 [BZ #16539]
4411 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
4412 (__expm1l): Return argument unchanged when small but not
4413 subnormal.
4414
3a6e9887
JM
4415 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
4416 include macro name.
4417 (_FP_UNPACK_RAW_1_P): Likewise.
4418 (_FP_PACK_RAW_1): Likewise.
4419 (_FP_PACK_RAW_1_P): Likewise.
4420 (_FP_MUL_MEAT_1_wide): Likewise.
4421 (_FP_MUL_MEAT_DW_1_hard): Likewise.
4422 (_FP_MUL_MEAT_1_hard): Likewise.
4423 (_FP_DIV_MEAT_1_imm): Likewise.
4424 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
4425 (_FP_DIV_MEAT_1_udiv): Likewise.
4426 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
4427 (_FP_UNPACK_RAW_2): Likewise.
4428 (_FP_UNPACK_RAW_2_P): Likewise.
4429 (_FP_PACK_RAW_2): Likewise.
4430 (_FP_PACK_RAW_2_P): Likewise.
4431 (_FP_MUL_MEAT_DW_2_wide): Likewise.
4432 (_FP_MUL_MEAT_2_wide): Likewise.
4433 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
4434 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4435 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
4436 (_FP_MUL_MEAT_2_gmp): Likewise.
4437 (_FP_DIV_MEAT_2_udiv): Likewise.
4438 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
4439 (_FP_FRAC_SRL_4): Likewise.
4440 (_FP_FRAC_SRST_4): Likewise.
4441 (_FP_FRAC_SRS_4): Likewise.
4442 (_FP_UNPACK_RAW_4): Likewise.
4443 (_FP_UNPACK_RAW_4_P): Likewise.
4444 (_FP_PACK_RAW_4): Likewise.
4445 (_FP_PACK_RAW_4_P): Likewise.
4446 (_FP_MUL_MEAT_DW_4_wide): Likewise.
4447 (_FP_MUL_MEAT_4_wide): Likewise.
4448 (_FP_MUL_MEAT_4_gmp): Likewise.
4449 (umul_ppppmnnn): Likewise.
4450 (_FP_DIV_MEAT_4_udiv): Likewise.
4451 (__FP_FRAC_ADD_4): Likewise.
4452 (__FP_FRAC_SUB_3): Likewise.
4453 (__FP_FRAC_SUB_4): Likewise.
4454 (__FP_FRAC_DEC_3): Likewise.
4455 (__FP_FRAC_DEC_4): Likewise.
4456 (__FP_FRAC_ADDI_4): Likewise.
4457 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
4458 (_FP_FRAC_SRL_8): Likewise.
4459 (_FP_FRAC_SRS_8): Likewise.
4460
9c37ec0b
JM
4461 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
4462 include macro name.
4463 (FP_UNPACK_RAW_EP): Likewise.
4464 (FP_PACK_RAW_E): Likewise.
4465 (FP_PACK_RAW_EP): Likewise.
4466 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
4467 (_FP_ISSIGNAN): Likewise.
4468 (_FP_ADD_INTERNAL): Likewise.
4469 (_FP_FMA): Likewise.
4470 (_FP_CMP): Likewise.
4471 (_FP_SQRT): Likewise.
4472 (_FP_TO_INT): Likewise.
4473 (_FP_FROM_INT): Likewise.
4474 (FP_EXTEND): Likewise.
4475 (_FP_DIV_MEAT_N_loop): Likewise.
4476
2125f674
MR
44772014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
4478
4479 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
4480 throughout.
4481
edea4028
JM
44822014-06-29 Joseph Myers <joseph@codesourcery.com>
4483
4484 [BZ #17097]
4485 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
4486 result with correct sign in case of exponents that produce
4487 overflow except for X very close to 1.
4488
dd0ba018
PE
44892014-06-28 Paul Eggert <eggert@cs.ucla.edu>
4490
4491 mktime: merge #if/#ifdef usage from glibc
4492 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
4493 as that works with both Glibc's and Gnulib's style.
4494 See thread starting at Siddhesh Poyarekar's bug report at:
4495 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
4496
64df73c2
SP
44972014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4498
4499 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
4500 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
4501 * sysdeps/tile/tilegx/memmove.c: Remove file.
4502
f1eafb41
JM
45032014-06-27 Joseph Myers <joseph@codesourcery.com>
4504
4505 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
4506 abi-name definition.
4507 * scripts/soversions.awk: Do not handle or generate ABI lines.
4508 * shlib-versions: Remove ABI entries.
4509 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
4510 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
4511
58eb0862
RM
45122014-06-27 Roland McGrath <roland@hack.frob.com>
4513
37caf178
RM
4514 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
4515 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
4516 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
4517 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
4518 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
4519 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
4520 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
4521 Moved ...
4522 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
4523 ... here.
4524 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
4525 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
4526 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
4527 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
4528 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
4529 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
4530 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
4531 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
4532 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
4533 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
4534 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
4535 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
4536 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
4537 Moved ...
4538 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
4539 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
4540 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
4541 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
4542 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
4543 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
4544 Moved ...
4545 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
4546 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
4547 Moved ...
4548 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
4549 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
4550 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
4551 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
4552 Moved ...
4553 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
4554 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
4555 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
4556 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
4557 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
4558 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
4559 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
4560 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
4561 Moved ...
4562 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
4563 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
4564 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
4565 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
4566 Moved ...
4567 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
4568 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
4569 Moved ...
4570 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
4571 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
4572 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
4573 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
4574 Moved ...
4575 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
4576 ... here.
4577 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
4578 Identical file removed.
4579 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
4580 Moved ...
4581 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
4582 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
4583 Identical file removed.
4584 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
4585 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
4586 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
4587 Moved ...
4588 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
4589 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
4590 Identical file removed.
4591 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
4592 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
4593 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
4594 Identical file removed.
4595 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
4596 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
4597 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
4598 Identical file removed.
4599 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
4600 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
4601 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
4602 Identical file removed.
4603 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
4604 Moved ...
4605 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
4606 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
4607 Identical file removed.
4608 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
4609 Moved ...
4610 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
4611 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
4612 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
4613 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
4614 Identical file removed.
4615 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
4616 Moved ...
4617 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
4618 ... here.
4619 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
4620 Identical file removed.
4621 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
4622 Moved ...
4623 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
4624 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
4625 Identical file removed.
4626 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
4627 Moved ...
4628 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
4629 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
4630 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
4631 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
4632 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
4633 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
4634 Moved ...
4635 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
4636 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
4637 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
4638
58eb0862
RM
4639 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
4640 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
4641 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
4642 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
4643 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
4644
6f12d062
AS
46452014-06-27 Arjun Shankar <arjun.is@lostca.se>
4646
4647 [BZ #17092]
4648 * nscd/nscd.c (monitor_child): Return exit status of child
4649 instead of return value from wait syscall.
4650
be254932
JM
46512014-06-27 Joseph Myers <joseph@codesourcery.com>
4652
cb403c34
JM
4653 * configure.ac (libc_commonpagesize): Remove variable.
4654 (libc_relro_required): Likewise.
4655 (libc_cv_z_relro): Remove configure test.
4656 * configure: Regenerated.
4657 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
4658 variable.
4659 (libc_relro_required): Likewise.
4660 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
4661 (libc_relro_required): Likewise.
4662 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
4663 (libc_relro_required): Likewise.
4664 * sysdeps/arm/preconfigure: Regenerated.
4665 * sysdeps/ia64/preconfigure: Remove file.
4666 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
4667 variable.
4668 (libc_relro_required): Likewise.
4669
be254932
JM
4670 [BZ #16561]
4671 [BZ #16562]
4672 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
4673 (__ieee754_yn): Set FE_TONEAREST mode internally and then
4674 recompute overflowing results in original rounding mode.
4675 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
4676 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
4677 recompute overflowing results in original rounding mode.
4678 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
4679 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4680 recompute overflowing results in original rounding mode.
4681 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
4682 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4683 recompute overflowing results in original rounding mode.
4684 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
4685 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4686 recompute overflowing results in original rounding mode.
4687 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
4688 (libc_feholdsetround_ctx): New macro.
4689 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
4690 * sysdeps/i386/fpu/libm-test-ulps: Update.
4691 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
4692
b351d85a
JM
46932014-06-26 Joseph Myers <joseph@codesourcery.com>
4694
4695 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
4696 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
4697 corresponding .cpsetup call.
4698
3cb4de47
RM
46992014-06-26 Roland McGrath <roland@hack.frob.com>
4700
4701 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
4702 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
4703 * sysdeps/arm/Makefile [$(subdir) = csu]
4704 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
4705 (static-only-routines): Add aeabi_read_tp here.
4706 (shared-only-routines): Add libc-aeabi_read_tp here.
4707 (CFLAGS-libc-start.c): Add -fexceptions here.
4708 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
4709 (sysdep_routines, static-only-routines, shared-only-routines):
4710 Don't add to these here.
4711 (CFLAGS-libc-start.c): Likewise.
4712
4713 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
4714 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4715 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
4716 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4717 * sysdeps/arm/Makefile [$(subdir) = rt]
4718 (librt-sysdep_routines, librt-shared-only-routines):
4719 Append rt-aeabi_unwind_cpp_pr1 here.
4720 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
4721 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
4722 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
4723 (libpthread-sysdep_routines, libpthread-shared-only-routines):
4724 Append nptl-aeabi_unwind_cpp_pr1 here.
4725 (tests): Filter out tst-cleanupx4 here.
4726 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
4727 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
4728 Don't do those here.
4729
354426bb
JM
47302014-06-26 Joseph Myers <joseph@codesourcery.com>
4731
4732 * scripts/list-sources.sh: Do not handle ports specially.
4733
28b0a8c9
RM
47342014-06-26 Roland McGrath <roland@hack.frob.com>
4735
a3dd035d
RM
4736 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
4737 * sysdeps/arm/feupdateenv.c: Likewise.
4738
28b0a8c9
RM
4739 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
4740
e66a8203
JM
47412014-06-26 Joseph Myers <joseph@codesourcery.com>
4742
4743 * manual/texinfo.tex: Update to version 2014-05-05.10 with
4744 trailing whitespace removed.
4745 * scripts/config.guess: Update to version 2014-03-23.
4746 * scripts/config.sub: Update to version 2014-05-01
4747 * scripts/install-sh: Update to version 2013-12-25.23.
4748 * scripts/move-if-change: Update from gnulib.
4749
74171115
SP
47502014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4751
b97c9ce5
SP
4752 * debug/memmove_chk.c: Remove pagecopy.h include.
4753
4000f892
SP
47542014-06-26 Paul Eggert <eggert@cs.ucla.edu>
4755
74171115
SP
4756 * time/mktime.c (leapyear): Remove inline keyword. The code is now
4757 identical to gnulib mktime.
4758
a8779c28
JM
47592014-06-26 Joseph Myers <joseph@codesourcery.com>
4760
e64708de
JM
4761 * configure.ac: Do not test for machine being rs6000. Do not test
4762 for powerpc*-*soft.
4763 * configure: Regenerated.
4764
a8779c28
JM
4765 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
4766 test.
4767 * configure: Regenerated.
4768 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
4769 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
4770 Remove configure test.
4771 * sysdeps/arm/configure: Regenerated.
4772 * sysdeps/nptl/configure.ac: Do not check
4773 libc_cv_asm_cfi_directives.
4774 * sysdeps/nptl/configure: Regenerated.
4775 * sysdeps/x86_64/nptl/configure.ac: Remove file.
4776 * sysdeps/x86_64/nptl/configure: Remove generated file.
4777 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
4778 unconditional.
4779 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
4780
2aac0a86
SP
47812014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4782
059bf913
SP
4783 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
4784 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
4785 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
4786 it is defined.
4787
4cf5b6d0
SP
4788 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
4789 instead of whether it is defined.
4790 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
4791 * sysdeps/hppa/dl-machine.h: Likewise.
4792 * sysdeps/ia64/dl-machine.h: Likewise.
4793 * sysdeps/m68k/dl-machine.h: Likewise.
4794 * sysdeps/microblaze/dl-machine.h: Likewise.
4795 * sysdeps/mips/dl-machine.: Likewise.
4796 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4797 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4798 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4799 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4800 * sysdeps/sh/dl-machine.h: Likewise.
4801 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4802 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4803 * sysdeps/tile/dl-machine.h: Likewise.
4804 * sysdeps/x86_64/dl-machine.h: Likewise.
4805
2aac0a86
SP
4806 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
4807 code.
4808 (verify_persistent_db): Likewise.
4809
6ad2df0b
RM
48102014-06-26 Roland McGrath <roland@hack.frob.com>
4811
d8a483f3
RM
4812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
4813 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
4814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
4815 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
4816 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4817 Moved ...
4818 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
4819 ... here.
4820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
4821 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
4822 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
4823 Identical file removed.
4824 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
4825 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
4826 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
4827 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
4828 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
4829 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
4830 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
4831 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
4832 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
4833 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
4834 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4835 Moved ...
4836 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
4837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
4838 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
4839 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
4840 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
4841 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4842 Moved ...
4843 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
4844 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
4845 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
4846 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
4847 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
4848 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4849 Identical file removed.
4850 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
4851 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
4852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
4853 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
4854 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4855 Moved ...
4856 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
4857 ... here.
4858 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
4859 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
4860 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
4861 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
4862 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
4863 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
4864 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
4865 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
4866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
4867 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
4868 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4869 Moved ...
4870 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
4871 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
4872 Moved ...
4873 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
4874 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
4875 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
4876 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4877 Moved ...
4878 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
4879 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
4880 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
4881
52ae23b4
RM
4882 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
4883 folded into ...
4884 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
4885 * sysdeps/unix/sysv/linux/s390/Versions
4886 (libpthread: GLIBC_2.19): New version set.
4887 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
4888 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
4889 (librt: GLIBC_2.3.3): New version set.
4890 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
4891 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
4892 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
4893 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
4894 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
4895 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
4896 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
4897 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
4898 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
4899 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
4900 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
4901 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
4902 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
4903 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
4904 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
4905 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4906 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4907 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4908 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4909 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4910 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4911 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4912 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4913 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4914 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4915 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4916 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4917 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4918 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4919 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4920 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4921 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4922 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4923 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4924 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4925 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4926 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4927 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4928 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4929 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4930 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4931 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4932 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4933 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4934 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4935
39507e4a
RM
4936 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4937 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4938 (__libc_vfork): Define the function under this name.
4939 [!NOT_IN_libc] (__vfork): Make this an alias.
4940 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4941 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4942 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
4943 (__libc_vfork): Define the function under this name.
4944 [!NOT_IN_libc] (__vfork): Make this an alias.
4945 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4946 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4947 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4948 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4949 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4950 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4951
e549ee56
RM
4952 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4953 code that was previously under [RESET_PID].
4954 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4955 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4956 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4957
6ad2df0b
RM
4958 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4959 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4960 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4961 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4962 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4963 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4964 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4965 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4966 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4967 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4968 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4969 Moved ...
4970 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4971 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4972 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4973 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4974 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4975 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4976 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4977 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4978 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4979 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4980 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4981 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4982 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4983 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4984 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4985 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4986 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4987 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4988 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4989 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4990 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4991 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4992 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4993 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4994 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4995 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4996 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4997 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4998 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
4999
7c1c1d8e
RM
50002014-06-25 Roland McGrath <roland@hack.frob.com>
5001
5002 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
5003 that was previously under [RESET_PID].
5004 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
5005
3e239be6
JM
50062014-06-25 Joseph Myers <joseph@codesourcery.com>
5007
74385da5
JM
5008 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
5009 not undefine and redefine.
5010 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
5011 [O_CLOEXEC]: Make code unconditional.
5012 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
5013 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
5014 <kernel-features.h>.
5015 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
5016 conditional variable definition.
5017 (shm_open) [O_CLOEXEC]: Make code unconditional.
5018 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
5019 code.
5020
c2570a0b
JM
5021 * configure.ac (USE_REGPARMS): Don't define here.
5022 * configure: Regenerated.
5023 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
5024 * sysdeps/i386/configure: Regenerated.
5025
11b076bb
JM
5026 * nptl/createthread.c: Don't include kernel-features.h.
5027 * nptl/pthread_cancel.c: Likewise.
5028 * nptl/pthread_condattr_setclock.c: Likewise.
5029 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
5030 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
5031 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
5032 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
5033 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
5034 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
5035 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5036 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
5037 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5038 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
5039 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
5040 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
5041 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
5042 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
5043 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
5044 * nscd/gai.c: Likewise.
5045 * nss/nss_db/db-open.c: Likewise.
5046 * sysdeps/generic/ldsodefs.h: Likewise.
5047 * sysdeps/sh/nptl/tls.h: Likewise.
5048 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5049 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
5050 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
5051 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
5052 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
5053 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5054 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
5055 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5056 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5057 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5058 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5059 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5060 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
5061 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
5062 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
5063 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
5064 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
5065 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
5066 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
5067 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5068 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
5069 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
5070 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
5071 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
5072 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
5073 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
5074 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
5075 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
5076 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5077 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
5078 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
5079 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
5080 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
5081 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5082 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5083 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5084 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5085 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
5086 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
5087 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5088 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5089 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
5090 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
5091 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5092 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
5093 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
5094 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
5095 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5096 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
5097 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5098 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5099 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5100 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5101 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5102 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
5103 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5104 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5105 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
5106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
5108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
5109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
5110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
5111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
5112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
5113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
5114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
5117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
5118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
5119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
5120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
5126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
5127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
5128 * sysdeps/unix/sysv/linux/pread.c: Likewise.
5129 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5130 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
5131 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5132 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5133 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
5134 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
5135 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5136 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
5137 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
5138 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
5139 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
5140 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5141 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
5142 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5143 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5144 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
5145 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5146 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
5147 * sysdeps/unix/sysv/linux/system.c: Likewise.
5148 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
5149 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5150 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5151 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5152 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5153 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5154 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5155
92072d57
JM
5156 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
5157 * configure: Regenerated.
5158 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
5159
3e239be6
JM
5160 * configure.ac (base_machine): Do not set specially for particular
5161 machines here.
5162 * configure: Regenerated.
5163 * sysdeps/powerpc/preconfigure: Move machine and base_machine
5164 settings from configure.ac.
5165 * sysdeps/i386/preconfigure: New file.
5166 * sysdeps/s390/preconfigure: Likewise.
5167 * sysdeps/sh/preconfigure: Likewise.
5168 * sysdeps/sparc/preconfigure: Likewise.
5169
06d50baa
RM
51702014-06-25 Roland McGrath <roland@hack.frob.com>
5171
74836003
RM
5172 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
5173 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
5174 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
5175 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
5176 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
5177 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
5178 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
5179 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
5180 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
5181 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
5182 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
5183 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
5184 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
5185 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
5186 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
5187 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
5188 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
5189 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
5190 * sysdeps/sparc/sparc64/Makefile: ... appended here.
5191
5192 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
5193 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
5194 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
5195 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
5196 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
5197 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
5198 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
5199 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
5200 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
5201 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
5202 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
5203 * sysdeps/sparc/sparc32/sem_post.c: ... here.
5204 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
5205 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
5206 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
5207 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
5208 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
5209 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
5210 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
5211 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
5212 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
5213 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
5214 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
5215 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
5216 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
5217 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
5218 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
5219 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
5220 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
5221 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
5222 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
5223 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
5224 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
5225 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
5226 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
5227 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
5228 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
5229 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
5230
06d50baa
RM
5231 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
5232 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
5233 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
5234 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
5235 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5236 Moved ...
5237 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
5238 ... here.
5239 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
5240 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
5241 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
5242 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
5243 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
5244 Moved ...
5245 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
5246 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
5247 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
5248 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
5249 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
5250 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
5251 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
5252 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5253 Moved ...
5254 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
5255 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5256 Moved ...
5257 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
5258 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
5259 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
5260 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5261 Moved ...
5262 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
5263 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
5264 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
5265 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
5266 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
5267 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
5268 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
5269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
5270 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
5271 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5272 Moved ...
5273 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
5274 ... here.
5275 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
5276 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
5277 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
5278 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
5279 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
5280 Moved ...
5281 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
5282 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
5283 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
5284 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
5285 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
5286 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
5287 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
5288 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5289 Moved ...
5290 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
5291 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5292 Moved ...
5293 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
5294 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
5295 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
5296 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5297 Moved ...
5298 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
5299 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
5300 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
5301 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
5302 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
5303
a4ccbc9b
JM
53042014-06-25 Joseph Myers <joseph@codesourcery.com>
5305
0828edbf
JM
5306 * timezone/checktab.awk: Update from tzcode 2014e.
5307 * timezone/private.h: Likewise.
5308 * timezone/tzfile.h: Likewise.
5309 * timezone/zdump.c: Likewise.
5310 * timezone/zic.c: Likewise.
5311
a4ccbc9b
JM
5312 * sysdeps/unix/sysv/linux/kernel-features.h
5313 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
5314 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
5315 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
5316 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5317 Remove conditional code.
5318
9aea0cb8
WN
53192014-06-25 Will Newton <will.newton@linaro.org>
5320
5321 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
5322 (_dl_arm_cap_flags): Add HWCAP2 values.
5323 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
5324 (_DL_HWCAP_COUNT): Increase to 37.
5325 (_DL_HWCAP_LAST): New define.
5326 (_DL_HWCAP2_LAST): New define.
5327 (_dl_procinfo): Add support for printing
5328 AT_HWCAP2 entries.
5329 (_dl_string_hwcap): Use _dl_hwcap_string.
5330
6eaa65ce
AZ
53312014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5332
5333 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5334
0f5b7185
JM
53352014-06-25 Joseph Myers <joseph@codesourcery.com>
5336
cfd2ea50
JM
5337 * README: Do not mention ports directory.
5338
cecf2ed4
JM
5339 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
5340 Remove macro.
5341 * sysdeps/unix/sysv/linux/futimes.c: Do not include
5342 <kernel-features.h>.
5343 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
5344 conditional variable definition.
5345 (__futimes): Update comment.
5346 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
5347 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
5348
a638de82
JM
5349 [BZ #16560]
5350 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
5351 arguments close to 0.
5352 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
5353 Likewise.
5354 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
5355 Likewise.
5356 * math/auto-libm-test-in: Add more tests of exp10.
5357 * math/auto-libm-test-out: Regenerated.
5358 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5359
0f5b7185
JM
5360 * sysdeps/unix/sysv/linux/kernel-features.h
5361 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
5362 * sysdeps/unix/sysv/linux/readv.c: Do not include
5363 <kernel-features.h>.
5364 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5365 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5366 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5367 unconditional.
5368 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5369 conditional code.
5370 * sysdeps/unix/sysv/linux/writev.c: Do not include
5371 <kernel-features.h>.
5372 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5373 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5374 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5375 unconditional.
5376 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5377 conditional code.
5378
c7aec4be
WN
53792014-06-25 Will Newton <will.newton@linaro.org>
5380
5381 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
5382 comment changes throughout the file. Remove checks
5383 for HAVE_*_H definitions that are not required.
5384 (__gen_tempname): Call abort if an unknown kind value is
5385 passed.
5386
c5241f95
AS
53872014-06-25 Andreas Schwab <schwab@suse.de>
5388
5389 [BZ #17086]
5390 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
5391 scalbln, scalblnf, scalblnl in libc.
5392
911422da
SP
53932014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5394
5395 [BZ #17086]
5396 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
5397 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5398 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5399
0d749bbe
RM
54002014-06-24 Roland McGrath <roland@hack.frob.com>
5401
5402 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
5403 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
5404 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
5405 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
5406 Update #include.
5407 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
5408 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
5409 Update #include.
5410 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
5411 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
5412 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
5413 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
5414 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
5415 * sysdeps/x86/bits/pthreadtypes.h: ... here.
5416 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
5417 * sysdeps/x86/bits/semaphore.h: ... here.
5418 * sysdeps/x86/nptl/elide.h: Moved ...
5419 * sysdeps/x86/elide.h: ... here.
5420 * sysdeps/x86_64/nptl/Implies: File removed.
5421 * sysdeps/i386/nptl/Implies: File removed.
5422
0ea5d373
JM
54232014-06-24 Joseph Myers <joseph@codesourcery.com>
5424
4060283d
JM
5425 [BZ #16539]
5426 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
5427 return the argument for normal arguments with exponent below -64.
5428 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5429 Likewise.
5430 * math/auto-libm-test-in: Add another test of expm1.
5431 * math/auto-libm-test-out: Regenerated.
5432
e7dd3c8c
JM
5433 [BZ #16287]
5434 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
5435 calling __erfcl for arguments at least 16.
5436 * math/auto-libm-test-in: Add more tests of erf.
5437 * math/auto-libm-test-out: Regenerated.
5438
0ea5d373
JM
5439 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
5440 individual architectures.
5441 * sysdeps/unix/sysv/linux/configure: Regenerated.
5442 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
5443 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
5444 * sysdeps/unix/sysv/linux/powerpc/configure.ac
5445 (ldd_rewrite_script): Define variable.
5446 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
5448 file.
5449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
5450 generated file.
5451 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
5452 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
5453 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
5454 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
5455 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
5456 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
5457 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
5458 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
5459
2307e126
SP
54602014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5461
5462 [BZ #17084]
5463 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
5464 Rename member __data.d to __data.__elision_data.
5465
c0a4ed77
W
54662014-06-24 Wilco <wdijkstr@arm.com>
5467
5468 * NEWS: Add 16918 to fixed bug list.
5469
b8c00573
W
54702014-06-24 Wilco <wdijkstr@arm.com>
5471
5472 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
5473
b5570d92
W
54742014-06-24 Wilco <wdijkstr@arm.com>
5475
5476 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
5477 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
5478 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
5479 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
5480 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
5481 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
5482 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
5483 Use _FPU_MASK_RM.
5484
947bdca2
W
54852014-06-24 Wilco <wdijkstr@arm.com>
5486
5487 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
5488
00f669ed
W
54892014-06-24 Wilco <wdijkstr@arm.com>
5490
5491 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
5492 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
5493 * sysdeps/arm/fesetround.c (fesetround): Remove space.
5494 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
5495
db59bad3
W
54962014-06-24 Wilco <wdijkstr@arm.com>
5497
5498 [BZ #16918]
5499 * sysdeps/arm/feupdateenv.c (feupdateenv):
5500 Rewrite to reduce FPSCR accesses and fix return value.
5501
001f7b77
W
55022014-06-24 Wilco <wdijkstr@arm.com>
5503
5504 * sysdeps/arm/fclrexcpt.c (feclearexcept):
5505 Optimize to avoid unnecessary FPSCR writes.
5506 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
5507 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
5508 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
5509 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
5510
4841e6a6
W
55112014-06-24 Wilco <wdijkstr@arm.com>
5512
5513 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
5514 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
5515 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
5516 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
5517 Call libc_fetestexcept_vfp.
5518 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
5519 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
5520 __SOFTFP__ ifdef so that they can be built for softfp.
5521
0813022c
SP
55222014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5523
08e5862f
SP
5524 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
5525 argument type signed char.
5526
0813022c
SP
5527 * Makerules (check-abi): Dump diff of symlist if the test
5528 fails.
5529
3fc7236a
RM
55302014-06-23 Roland McGrath <roland@hack.frob.com>
5531
aba8ef95
RM
5532 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
5533 using abort.
5534
3fc7236a
RM
5535 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5536 Remove unused variable ST.
5537
4da6db51
JM
55382014-06-23 Joseph Myers <joseph@codesourcery.com>
5539
4648909d
JM
5540 [BZ #16354]
5541 [BZ #17061]
5542 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
5543 small arguments before calling __expm1.
5544 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
5545 small arguments before calling __expm1f.
5546 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
5547 small arguments before calling __expm1l.
5548 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5549 Likewise.
5550 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
5551 * math/auto-libm-test-in: Add more cosh tests. Do not allow
5552 spurious underflow for some cosh tests.
5553 * math/auto-libm-test-out: Regenerated.
5554 * sysdeps/i386/fpu/libm-test-ulps: Update.
5555
46a3d3c7
JM
5556 [BZ #17050]
5557 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
5558 (__ieee754_y1): Set errno if return value overflows.
5559 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
5560 (__ieee754_y1f): Set errno if return value overflows.
5561 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
5562 (__ieee754_y1l): Set errno if return value overflows.
5563 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
5564 (__ieee754_y1l): Set errno if return value overflows.
5565 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
5566 * math/auto-libm-test-out: Regenerated.
5567
863893ec
JM
5568 * math/gen-auto-libm-tests.c: Document use of
5569 ignore-zero-inf-sign.
5570 (input_flag_type): Add value flag_ignore_zero_inf_sign.
5571 (input_flags): Add ignore-zero-inf-sign.
5572 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
5573 * math/gen-libm-test.pl (generate_testfile): Handle
5574 ignore-zero-inf-sign.
5575 * math/auto-libm-test-in: Mark some cpow tests with
5576 ignore-zero-inf-sign and some with xfail-rounding.
5577 * math/auto-libm-test-out: Regenerated.
5578 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
5579 * sysdeps/i386/fpu/libm-test-ulps: Update.
5580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5581
4da6db51
JM
5582 [BZ #16315]
5583 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
5584 overflowing or underflowing operations take place with sign of
5585 result.
5586 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5587 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5588 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
5589 (__ieee754_pow): Recompute overflowing and underflowing results in
5590 original rounding mode.
5591 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
5592 (__powl_helper): Allow negative argument X and scale negated value
5593 as needed. Avoid passing value outside [-1, 1] to f2xm1.
5594 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
5595 overflowing or underflowing operations take place with sign of
5596 result.
5597 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
5598 Include <math.h>.
5599 * math/auto-libm-test-in: Add more tests of pow.
5600 * math/auto-libm-test-out: Regenerated.
5601 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
5602 (pow_tonearest_test_data): Remove.
5603 (pow_test_tonearest): Likewise.
5604 (pow_towardzero_test_data): Likewise.
5605 (pow_test_towardzero): Likewise.
5606 (pow_downward_test_data): Likewise.
5607 (pow_test_downward): Likewise.
5608 (pow_upward_test_data): Likewise.
5609 (pow_test_upward): Likewise.
5610 (main): Don't call removed functions.
5611 * sysdeps/i386/fpu/libm-test-ulps: Update.
5612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5613
5686b236
RM
56142014-06-23 Roland McGrath <roland@hack.frob.com>
5615
5616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
5617 Moved ...
5618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
5619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5620 Moved ...
5621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
5622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5623 Moved ...
5624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
5625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5626 Moved ...
5627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
5628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5629 File removed.
5630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5631 File removed.
5632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
5633 File removed.
5634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
5635 File removed.
5636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
5637 File removed.
5638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
5639 File removed.
5640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
5641 File removed.
5642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5643 File removed.
5644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
5645 File removed.
5646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5647 File removed.
5648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
5649 File removed.
5650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
5651 File removed.
5652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
5653 Moved ...
5654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
5655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
5656 Moved ...
5657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
5658 ... here.
5659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
5660 Moved ...
5661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
5662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
5663 Moved ...
5664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
5665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
5666 Moved ...
5667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
5668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
5669 Moved ...
5670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
5671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
5672 Moved ...
5673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
5674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
5675 Moved ...
5676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
5677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
5678 Moved ...
5679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
5680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
5681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
5682 ... here.
5683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
5684 Moved ...
5685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
5686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
5687 Moved ...
5688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5689 ... here.
5690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
5691 Moved ...
5692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5693 ... here.
5694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5695 Moved ...
5696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5697 ... here.
5698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5699 Moved ...
5700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
5701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5702 Moved ...
5703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
5704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
5705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
5706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5707 Moved ...
5708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
5709 ... here.
5710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5711 Moved ...
5712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
5713 ... here.
5714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5715 Moved ...
5716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
5717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5718 Moved ...
5719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
5720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5721 Moved ...
5722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
5723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5724 Moved ...
5725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
5726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5727 Moved ...
5728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
5729 ... here.
5730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5731 Moved ...
5732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
5733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5734 Moved ...
5735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
5736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5737 Moved ...
5738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
5739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5740 Moved ...
5741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
5742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
5743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
5744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5745 Moved ...
5746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
5747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5748 Moved ...
5749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
5750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5751 Moved ...
5752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
5753 ... here.
5754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5755 Moved ...
5756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
5757 ... here.
5758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5759 Moved ...
5760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
5761 ... here.
5762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5763 Moved ...
5764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
5765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5766 Moved ...
5767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
5768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5769 Moved ...
5770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
5771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5772 Moved ...
5773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
5774 ... here.
5775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5776 Moved ...
5777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
5778 ... here.
5779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5780 Moved ...
5781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
5782 ... here.
5783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5784 Moved ...
5785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
5786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5787 Moved ...
5788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
5789
e6d90d67
WD
57902014-06-23 Will Newton <will.newton@linaro.org>
5791 Wilco <wdijkstr@arm.com>
5792
5793 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
5794 implementation. Include get-rounding-mode.h.
5795 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
5796 [!libc_feholdsetround_noex_ctx]: Define
5797 libc_feholdsetround_noex_ctx.
5798 [!libc_feholdsetround_noexf_ctx]: Define
5799 libc_feholdsetround_noexf_ctx.
5800 [!libc_feholdsetround_noexl_ctx]: Define
5801 libc_feholdsetround_noexl_ctx.
5802 (libc_feholdsetround_ctx): New function.
5803 (libc_feresetround_ctx): New function.
5804 (libc_feholdsetround_noex_ctx): New function.
5805 (libc_feresetround_noex_ctx): New function.
5806
d42df555
RM
58072014-06-23 Roland McGrath <roland@hack.frob.com>
5808
88a46474
RM
5809 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
5810 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
5811 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
5812 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
5813 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
5814 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
5815
15bed472
RM
5816 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
5817 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
5818 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
5819 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
5820 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
5821 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
5822 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
5823 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
5824 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
5825 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
5826 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
5827 Moved ...
5828 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
5829 ... here.
5830 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
5831 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
5832 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
5833 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
5834 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
5835 Moved ...
5836 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
5837 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
5838 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
5839 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
5840 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
5841 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
5842 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
5843 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
5844 Moved ...
5845 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
5846 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
5847 Moved ...
5848 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
5849 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
5850 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
5851 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
5852 Moved ...
5853 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
5854 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
5855 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
5856 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
5857 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
5858 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
5859 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
5860 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
5861 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
5862 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
5863 Moved ...
5864 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
5865 ... here.
5866 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
5867 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
5868 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
5869 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
5870 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
5871 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
5872 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
5873 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
5874 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
5875 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
5876 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
5877 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
5878 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
5879 Moved ...
5880 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
5881 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
5882 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
5883 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
5884 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
5885 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
5886 Moved ...
5887 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
5888 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
5889 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
5890 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
5891 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
5892
d42df555
RM
5893 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
5894 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
5895 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
5896 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
5897 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
5898 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
5899 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
5900 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
5901 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
5902 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
5903 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
5904 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
5905 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5906 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5907 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5908 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5909 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5910 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5911 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5912 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5913 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5914 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5915 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5916 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5917 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5918 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5919 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5920 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5921
76e5216e
JM
59222014-06-23 Joseph Myers <joseph@codesourcery.com>
5923
5924 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5925 (FALLOC_FL_COLLAPSE_RANGE): New macro.
5926 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5927 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5928 (IPV6_PMTUDISC_INTERFACE): Likewise.
5929 (IPV6_PMTUDISC_OMIT): Likewise.
5930
7a81cbcc
AS
59312014-06-23 Andreas Schwab <schwab@suse.de>
5932
5933 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5934 Remove unused errout label.
5935
db224009
AZ
59362014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5937
5938 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5939 macro: hardware supports Vector Crypto instructions.
5940
f393b4aa
WN
59412014-06-23 Will Newton <will.newton@linaro.org>
5942
cc7d0447
WN
5943 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5944 rather than __builtin_expect.
5945
d6d06225
WN
5946 * elf/dl-lookup.c (undefined_msg): Remove variable.
5947 (_dl_lookup_symbol_x): Replace undefined_msg with string
5948 literal.
5949
f393b4aa
WN
5950 * elf/dl-lookup.c (do_lookup_unique): New function.
5951 (do_lookup_x): Move STB_GNU_UNIQUE handling code
5952 to a separate function.
5953
ac60763e
AS
59542014-06-23 Andreas Schwab <schwab@suse.de>
5955
5956 [BZ #17079]
5957 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5958 before reading the next line.
5959
c5c13355
WN
59602014-06-23 Will Newton <will.newton@linaro.org>
5961
5962 * test-skeleton.c (signal_handler): Use printf and %m
5963 rather than perror. Use printf rather than fprintf to
5964 stderr. Use puts rather than fputs to stderr.
5965 (main): Likewise.
5966
bd3675f9
LC
59672014-06-22 Ludovic Courtès <ludo@gnu.org>
5968
5969 * nscd/nscd.c (thread_info_t): Remove typedef.
5970 (thread_info): Remove variable.
5971
d03efb2f
AM
59722014-06-21 Allan McRae <allan@archlinux.org>
5973
5974 * NEWS: Mention CVE-2014-4043.
5975
bc4a86fa
RM
59762014-06-20 Roland McGrath <roland@hack.frob.com>
5977
dc9a54f8
RM
5978 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5979 * nptl/smp.h: ... here.
5980
bd7022c4
RM
5981 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5982
26ffd5e6
RM
5983 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5984 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5985 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5986 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5987
93a6d082
RM
5988 * nptl/allocatestack.c: Include <stack-aliasing.h>.
5989 * nptl/stack-aliasing.h: New file.
5990 * sysdeps/i386/i686/stack-aliasing.h: New file.
5991 * sysdeps/i386/i686/nptl/Makefile: File removed.
5992 * sysdeps/x86_64/stack-aliasing.h: New file.
5993 * sysdeps/x86_64/nptl/Makefile
5994 (CFLAGS-pthread_create.c): Variable removed.
5995
bc4a86fa
RM
5996 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5997 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5998 old file.
5999 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
6000 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
6001 old file.
6002
2272ffc1
JM
60032014-06-21 Joseph Myers <joseph@codesourcery.com>
6004
6005 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6006 (__ASSUME_SIGFRAME_V2): Remove macro.
6007 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
6008 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
6009 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
6010 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
6011 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
6012 Declare as function. Remove conditional macro definitions.
6013 (__default_rt_sa_restorer): Likewise.
6014 (__default_sa_restorer_v1): Remove declaration.
6015 (__default_sa_restorer_v2): Likewise.
6016 (__default_rt_sa_restorer_v1): Likewise.
6017 (__default_rt_sa_restorer_v2): Likewise.
6018 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
6019 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
6020 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
6021
4b88139b
RM
60222014-06-20 Roland McGrath <roland@hack.frob.com>
6023
6024 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
6025 (libpthread-routines): Add sysdep.
6026 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
6027 * sysdeps/unix/sysv/linux/sparc/Versions
6028 (libpthread: GLIBC_2.3.3): New version set.
6029 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
6030 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
6031 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
6032 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
6033 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
6034 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
6035 Moved ...
6036 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
6037 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
6038 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
6039 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
6040 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
6041 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
6042 * sysdeps/sparc/nptl/sem_init.c: ... here.
6043 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
6044 * sysdeps/sparc/nptl/sem_post.c: ... here.
6045 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
6046 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
6047 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
6048 * sysdeps/sparc/nptl/sem_wait.c: ... here.
6049 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
6050 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
6051 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
6052 (libpthread-routines): Add cpu_relax.
6053 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
6054 File removed.
6055 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
6056 (librt: GLIBC_2.3.3): New version set.
6057 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
6058 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
6059 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
6060 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
6061 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
6062 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
6063 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
6064 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
6065 Moved ...
6066 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
6067 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
6068 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
6069 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
6070 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
6071 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
6072 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
6073 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
6074 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
6075 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
6076 Moved ...
6077 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
6078 Update #include.
6079 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
6080 Moved ...
6081 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
6082 Update #include.
6083 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
6084 Moved ...
6085 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
6086 Update #include.
6087 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
6088 Moved ...
6089 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
6090 Update #include.
6091 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
6092 Moved ...
6093 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
6094 Update #include.
6095 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
6096 Moved ...
6097 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
6098 Update #include.
6099 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
6100 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
6101 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
6102 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
6103 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
6104 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
6105 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
6106 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
6107 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
6108 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
6109 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6110 Moved ...
6111 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
6112 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
6113 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
6114 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
6115 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
6116
d7109027
JM
61172014-06-20 Joseph Myers <joseph@codesourcery.com>
6118
9bc6103d
JM
6119 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
6120 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
6121 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6122 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
6123 * nscd/nscd.c: Likewise.
6124 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
6125 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
6126 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
6127 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
6128
d7109027
JM
6129 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
6130 <kernel-features.h>.
6131 (init_mq_netlink): Remove conditional have_sock_cloexec
6132 definitions. Remove code conditional on have_sock_cloexec < 0.
6133 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
6134 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
6135 * sysdeps/unix/sysv/linux/opensock.c: Do not include
6136 <kernel-features.h>.
6137 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
6138 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
6139
d92d8f8a
L
61402014-06-20 H.J. Lu <hongjiu.lu@intel.com>
6141
6142 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6143 Add tests for memset_chk and memset.
6144
6145 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
6146 with AVX2_Usable.
6147
4e6d2347
MR
61482014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
6149
257ce712
MR
6150 [BZ #16046]
6151 * elf/tst-dl-iter-static.c: New file.
6152 * elf/Makefile (tests-static): Add tst-dl-iter-static.
6153
4e6d2347
MR
6154 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
6155 error.
6156
a2a76afe
JM
61572014-06-20 Joseph Myers <joseph@codesourcery.com>
6158
7fd00f99
JM
6159 * sysdeps/unix/sysv/linux/kernel-features.h
6160 (__ASSUME_F_GETOWN_EX): Remove macro.
6161 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
6162 <kernel-features.h>.
6163 (miss_F_GETOWN_EX): Remove variable or macro.
6164 (do_fcntl): Do not check miss_F_GETOWN_EX.
6165 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
6166
4a103975
JM
6167 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
6168 Remove macro.
6169 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
6170 [!__ASSUME_AT_RANDOM]: Remove conditional code.
6171 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
6172
a2a76afe
JM
6173 * sysdeps/unix/sysv/linux/kernel-features.h
6174 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
6175 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
6176 [ADJ_OFFSET_SS_READ]: Make code unconditional.
6177 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
6178
90e5dd48
MR
61792014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
6180
6181 [BZ #17075]
6182 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
6183 Fix calculation of the symbol's value.
6184 * sysdeps/arm/tst-armtlsdescloc.c: New file.
6185 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
6186 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
6187 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
6188 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
6189 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
6190 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
6191 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
6192 (modules-names): Add `tst-armtlsdescmod',
6193 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
6194 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
6195 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6196 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
6197 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
6198 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6199 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
6200 ($(objpfx)tst-armtlsdescloc): New dependency.
6201 ($(objpfx)tst-armtlsdescextnow): Likewise.
6202 ($(objpfx)tst-armtlsdescextlazy): Likewise.
6203 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
6204 TLS scheme support.
6205 * sysdeps/arm/configure: Regenerate.
6206
809fdf0d
JM
62072014-06-20 Joseph Myers <joseph@codesourcery.com>
6208
6209 * include/fcntl.h (__atfct_seterrno): Remove prototype.
6210 (__atfct_seterrno_2): Likewise.
6211 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
6212 <kernel-features.h>.
6213 (__ASSUME_ATFCTS): Do not undefine and redefine.
6214 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
6215 (__have_atfcts): Remove conditional definition.
6216 (__fxstatat([__NR_fstatat64]: Make code unconditional.
6217 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
6218 unreachable if [__ASSUME_ATFCTS].
6219 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
6220 not undefine and redefine.
6221 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
6222 <kernel-features.h>.
6223 (faccessat) [__NR_faccessat]: Make code unconditional.
6224 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
6225 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
6226 <kernel-features.h>.
6227 (fchmodat) [__NR_fchmodat]: Make code unconditional.
6228 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6229 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
6230 <kernel-features.h>.
6231 (fchownat) [__NR_fchownat]: Make code unconditional.
6232 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
6233 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
6234 <kernel-features.h>.
6235 (futimesat) [__NR_futimesat]: Make code unconditional.
6236 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
6237 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6238 <kernel-features.h>.
6239 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6240 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6241 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6242 <kernel-features.h>.
6243 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
6244 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6245 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
6246 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6247 <kernel-features.h>.
6248 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
6249 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6250 * sysdeps/unix/sysv/linux/linkat.c: Do not include
6251 <kernel-features.h>.
6252 (linkat) [__NR_linkat]: Make code unconditional.
6253 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6254 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
6255 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
6256 <kernel-features.h>.
6257 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
6258 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6259 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
6260 <kernel-features.h>.
6261 (mkdirat) [__NR_mkdirat]: Make code unconditional.
6262 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
6263 * sysdeps/unix/sysv/linux/openat.c: Do not include
6264 <kernel-features.h>.
6265 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
6266 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
6267 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
6268 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
6269 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
6270 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
6271 <kernel-features.h>.
6272 (readlinkat) [__NR_readlinkat]: Make code unconditional.
6273 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
6274 result of INLINE_SYSCALL directly, not via int variable.
6275 * sysdeps/unix/sysv/linux/renameat.c: Do not include
6276 <kernel-features.h>.
6277 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
6278 (renameat) [__NR_renameat]: Make code unconditional.
6279 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
6280 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
6281 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
6282 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
6283 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
6284 (__ASSUME_ATFCTS): Do not undefine and redefine.
6285 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
6286 <kernel-features.h>.
6287 (symlinkat) [__NR_symlinkat]: Make code unconditional.
6288 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6289 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
6290 <kernel-features.h>.
6291 (unlinkat) [__NR_unlinkat]: Make code unconditional.
6292 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6293 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
6294 (__ASSUME_ATFCTS): Do not undefine and redefine.
6295 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6296 <kernel-features.h>.
6297 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6298 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6299 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6300 <kernel-features.h>.
6301 (__xmknodat) [__NR_mknodat]: Make code unconditional.
6302 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6303
224c6c51
L
63042014-06-20 H.J. Lu <hongjiu.lu@intel.com>
6305
6306 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
6307
aa6ec754
AS
63082014-06-20 Andreas Schwab <schwab@linux-m68k.org>
6309
6310 [BZ #17069]
6311 * posix/regcomp.c (parse_reg_exp): Deallocate partially
6312 constructed tree before returning error.
6313 * posix/bug-regexp36.c: Expand test case.
6314
d8c2869d
SL
63152014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
6316
3ef6b850
SL
6317 [BZ #6803]
6318 * math/libm-test.inc (scalbln_test_date):
6319 Add errno expectations.
6320 * math/w_scalblnf.c: New File.
6321 Add wrapper which checks for setting errno to ERANGE.
6322 Add weak_alias for corresponding scalbln function.
6323 * math/w_scalbln.c: Likewise.
6324 * math/w_scalblnl.c: Likewise.
6325 * math/Makefile (libm-calls): Add w_scalbln.
6326 * sysdeps/ieee754/flt-32/s_scalblnf.c:
6327 Remove weak_alias for corresponding scalbln function.
6328 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6329 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6330 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6331 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6332 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
6333 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6334 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
6335 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6336 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
6337 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
6338 Remove long_double_symbol for scalblnl function in libm, libc.
6339 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
6340 Add wrapper which checks for setting errno to ERANGE.
6341 Add long_double_symbol for scalblnl function in libm, libc.
6342 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
6343 Remove long_double_symbol for scalblnl in libm.
6344 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
6345 Add wrapper which checks for setting errno to ERANGE.
6346 Add long_double_symbol for scalblnl function in libm.
6347 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
6348 Do not use wrapper because of own implementation.
6349
c8daec5c
L
63502014-06-19 H.J. Lu <hongjiu.lu@intel.com>
6351
6352 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
6353 3 bytes for __pad1 for x32.
6354 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
6355
5c74e47c
LM
63562014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
6357 H.J. Lu <hongjiu.lu@intel.com>
6358
6359 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
6360 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
6361 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6362 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6363 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
6364
4d43ef1e
AS
63652014-06-19 Andreas Schwab <schwab@linux-m68k.org>
6366
6367 [BZ #17069]
6368 * posix/regcomp.c (parse_expression): Deallocate partially
6369 constructed tree before returning error.
6370 * posix/Makefile.c (tests): Add bug-regex36.
6371 (generated): Add bug-regex36.mtrace.
6372 (tests-special): Add $(objpfx)bug-regex36-mem.out
6373 (bug-regex36-ENV): New variable.
6374 ($(objpfx)bug-regex36-mem.out): New rule.
6375 * posix/bug-regex36.c: New file.
6376
51a7380b
WN
63772014-06-19 Will Newton <will.newton@linaro.org>
6378
6379 * malloc/malloc.c (systrim): If extra is zero then return
6380 early.
6381
91b84fe5
SP
63822014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6383
6384 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
6385
f940b965
RE
63862014-06-19 Richard Earnshaw <rearnsha@arm.com>
6387
6388 * sysdeps/aarch64/strchr.S: New file.
6389
4ba7a00f
JM
63902014-06-18 Joseph Myers <joseph@codesourcery.com>
6391
6392 [BZ #17022]
6393 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
6394 from arguments -2 or below.
6395 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6396 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
6397
b3a9f56b
AS
63982014-06-18 Andreas Schwab <schwab@suse.de>
6399
6400 [BZ #17062]
6401 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
6402 of a bracket expr not to run off the end of the string.
6403 * posix/Makefile (tests): Add tst-fnmatch3.
6404 * posix/tst-fnmatch3.c: New file.
6405
85d89278
JM
64062014-06-18 Joseph Myers <joseph@codesourcery.com>
6407
6408 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
6409 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6410 [$(cross-compiling) = no]: Likewise.
6411 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6412 [$(cross-compiling) = no]: Likewise.
6413
754c5a08
RS
64142014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6415
6416 [BZ #17031]
6417 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
6418 double, adjusted for any remainder from the high double.
6419 * math/libm-test.inc (nearbyint): Add tests.
6420 (rint): Likewise.
6421
556f529d
AZ
64222014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6423
6424 * nptl/sysdeps/powerpc/Makefile: Moved ...
6425 * sysdeps/powerpc/nptl/Makefile: ... here.
6426 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
6427 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
6428 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
6429 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
6430 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
6431 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
6432 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
6433 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
6434 * nptl/sysdeps/powerpc/tls.h: Moved ...
6435 * sysdeps/powerpc/nptl/tls.h: ... here.
6436
91c03c53
JM
64372014-06-16 Joseph Myers <joseph@codesourcery.com>
6438
6439 [BZ #16681]
6440 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
6441 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
6442 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
6443 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
6444 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
6445 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
6446 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
6447 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
6448 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
6449
a76e63c5
AS
64502014-06-17 Andreas Schwab <schwab@linux-m68k.org>
6451
6452 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6453
f2f6d82f
AS
64542014-06-16 Andreas Schwab <schwab@linux-m68k.org>
6455
ea8a15f6
AS
6456 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
6457 defined operator.
6458
f2f6d82f
AS
6459 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
6460 $TIMEOUTFACTOR.
6461
a7291117
FW
64622014-06-16 Florian Weimer <fweimer@redhat.com>
6463
6464 [BZ #17058]
6465 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
6466 non-executed part of the test.
6467
3d7c00e3
AS
64682014-06-16 Andreas Schwab <schwab@suse.de>
6469
6470 * string/bits/string2.h (strdup, strndup): Update feature guard.
6471
6957fb31
DM
64722014-06-14 David S. Miller <davem@davemloft.net>
6473
6474 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6475
11b9e55b
AS
64762014-06-14 Andreas Schwab <schwab@linux-m68k.org>
6477
1d2a0492
AS
6478 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
6479 that was previously under [RESET_PID].
6480 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
6481
11b9e55b
AS
6482 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
6483 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
6484 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
6485 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6486 (__libc_vfork): New strong alias.
6487 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
6488
0f6901d0
AK
64892014-06-14 Andi Kleen <ak@linux.intel.com>
6490
6491 * sysdeps/generic/elide.h: New file.
6492
38bbbb9f
SL
64932014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6494
6495 * Makefile (installed-headers): Adjust path of pthread.h header.
6496
45193bb8
RM
64972014-06-13 Roland McGrath <roland@hack.frob.com>
6498
9a25fd1e
RM
6499 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
6500 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
6501 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
6502 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
6503
4004f7e4
RM
6504 * nptl/sysdeps/s390/Makefile: Moved ...
6505 * sysdeps/s390/nptl/Makefile: ... here.
6506 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
6507 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
6508 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
6509 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
6510 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
6511 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
6512 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
6513 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
6514 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
6515 * sysdeps/s390/nptl/pthreaddef.h: ... here.
6516 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
6517 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
6518 * nptl/sysdeps/s390/tls.h: Moved ...
6519 * sysdeps/s390/nptl/tls.h: ... here.
6520
45193bb8
RM
6521 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
6522 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
6523
f6fdf533
DM
65242014-06-13 David S. Miller <davem@davemloft.net>
6525
6526 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
6527 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
6528 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
6529 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
6530 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
6531 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
6532 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
6533 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
6534 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
6535 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
6536 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
6537 Remove RESET_PID cpp guards.
6538 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
6539 Remove RESET_PID cpp guards.
6540 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
6541
f5d71e14
AS
65422014-06-13 Andreas Schwab <schwab@linux-m68k.org>
6543
6544 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
6545 __sp to uintptr_t.
6546
b7aa8caa
AK
65472014-06-13 Andi Kleen <ak@linux.intel.com>
6548
4b266200
AZ
6549 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
6550 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
6551 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
6552 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
6553 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
6554 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
6555 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
6556 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
6557 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
6558 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
6559 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
6560 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
6561 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
6562 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
6563 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
6564 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
6565 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
6566 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
6567 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
6568 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
6569
6570 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
6571 (pthread_rwlock_rdlock): Add elision.
6572 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
6573 (pthread_rwlock_wrlock): Add elision.
6574 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
6575 (pthread_rwlock_trywrlock): Add elision.
6576 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
6577 (pthread_rwlock_tryrdlock): Add elision.
6578 * nptl/pthread_rwlock_unlock.c: Include elide.h.
6579 (pthread_rwlock_tryrdlock): Add elision unlock.
6580 * nptl/sysdeps/pthread/pthread.h:
6581 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
6582 (PTHREAD_RWLOCK_INITIALIZER,
6583 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
6584 Handle new elision field.
6585 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
6586 * sysdeps/arm/nptl/bits/pthreadtypes.h
6587 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6588 * sysdeps/sh/nptl/bits/pthreadtypes.h
6589 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6590 * sysdeps/tile/nptl/bits/pthreadtypes.h
6591 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6592 * sysdeps/a/nptl/bits/pthreadtypes.h
6593 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6594 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6595 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6596 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6597 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6598 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
6599 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6600 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6601 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6602 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6603 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6604 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6605 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6606 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6607 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6608 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
6609 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6610 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
6611 (elision_init): Set try_xbegin to zero when no RTM.
6612 * sysdeps/x86/nptl/bits/pthreadtypes.h
6613 (pthread_rwlock_t): Change __pad1 to __rwelision.
6614 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 6615
a832bdd3
AK
66162014-06-13 Andi Kleen <ak@linux.intel.com>
6617
6618 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
6619 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
6620 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
6621 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
6622
995a46bb
MI
66232014-06-13 Meador Inge <meadori@codesourcery.com>
6624
6625 [BZ #16996]
03ed7738 6626 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
6627 that the cached result has been set before returning it.
6628
45262aee
RM
66292014-06-12 Roland McGrath <roland@hack.frob.com>
6630
febf6cc5
RM
6631 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
6632 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
6633 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
6634 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
6635 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
6636 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
6637
e2682246
RM
6638 * nptl/sysdeps/sparc/Makefile: Moved ...
6639 * sysdeps/sparc/nptl/Makefile: ... here.
6640 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
6641 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
6642 * nptl/sysdeps/sparc/tls.h: Moved ...
6643 * sysdeps/sparc/nptl/tls.h: ... here.
6644 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
6645 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
6646 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
6647 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
6648 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
6649 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
6650 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
6651 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
6652 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
6653 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
6654 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
6655 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
6656 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
6657 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
6658 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
6659 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
6660 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
6661 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
6662 Update #include.
6663 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
6664 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
6665 Update #include.
6666 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
6667 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
6668 Update #include.
6669 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
6670 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
6671 Update #include.
6672
b0725f43
RM
6673 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6674
b14368b8
RM
6675 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
6676 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
6677
c5620eb3
RM
6678 * sysdeps/pthread/posix-timer.h: Include <list.h>.
6679 (struct list_links): Type removed.
6680 (struct thread_node, struct timer_node): Replace struct list_links
6681 with struct list_head.
6682 (list_unlink_ip): Likewise.
6683 * sysdeps/pthread/timer_routines.c
6684 (timer_free_list, thread_free_list, thread_active_list): Likewise.
6685 (list_append, list_insbefore): Likewise.
6686 (list_init): Function removed.
6687 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
6688 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
6689 * sysdeps/pthread/Makefile: ... here, new file.
6690
6691 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
6692 * sysdeps/nptl/Implies: ... here.
6693 * sysdeps/unix/sysv/linux/Implies: Add nptl.
6694 * nptl/sysdeps/pthread/list.h: Moved ...
6695 * include/list.h: ... here.
6696 * nptl/sysdeps/pthread/createthread.c: Moved ...
6697 * nptl/createthread.c: ... here.
6698 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
6699 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
6700 * nptl/pt-longjmp.c: ... here.
6701 * nptl/sysdeps/pthread/Makefile: Moved ...
6702 * sysdeps/nptl/Makefile: ... here.
6703 * nptl/sysdeps/pthread/Subdirs: Moved ...
6704 * sysdeps/nptl/Subdirs: ... here.
6705 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
6706 * sysdeps/nptl/aio_misc.h: ... here.
6707 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
6708 * sysdeps/nptl/bits/libc-lock.h: ... here.
6709 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
6710 * sysdeps/nptl/bits/libc-lockP.h: ... here.
6711 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
6712 * sysdeps/nptl/bits/stdio-lock.h: ... here.
6713 * nptl/sysdeps/pthread/configure: Moved ...
6714 * sysdeps/nptl/configure: ... here.
6715 * nptl/sysdeps/pthread/configure.ac: Moved ...
6716 * sysdeps/nptl/configure.ac: ... here.
6717 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
6718 * sysdeps/nptl/gai_misc.h: ... here.
6719 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
6720 * sysdeps/nptl/librt-cancellation.c: ... here.
6721 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
6722 * sysdeps/nptl/malloc-machine.h: ... here.
6723 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
6724 * sysdeps/nptl/pthread-functions.h: ... here.
6725 * nptl/sysdeps/pthread/pthread.h: Moved ...
6726 * sysdeps/nptl/pthread.h: ... here.
6727 * nptl/sysdeps/pthread/setxid.h: Moved ...
6728 * sysdeps/nptl/setxid.h: ... here.
6729 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
6730 * sysdeps/nptl/sigfillset.c: ... here.
6731 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
6732 * sysdeps/nptl/tcb-offsets.h: ... here.
6733 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
6734 * sysdeps/nptl/tst-mqueue8x.c: ... here.
6735 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
6736 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
6737 * nptl/sysdeps/pthread/allocalim.h: Moved ...
6738 * sysdeps/pthread/allocalim.h: ... here.
6739 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
6740 * sysdeps/pthread/bits/sigthread.h: ... here.
6741 * nptl/sysdeps/pthread/flockfile.c: Moved ...
6742 * sysdeps/pthread/flockfile.c: ... here.
6743 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
6744 * sysdeps/pthread/ftrylockfile.c: ... here.
6745 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
6746 * sysdeps/pthread/funlockfile.c: ... here.
6747 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
6748 * sysdeps/pthread/posix-timer.h: ... here.
6749 * nptl/sysdeps/pthread/timer_create.c: Moved ...
6750 * sysdeps/pthread/timer_create.c: ... here.
6751 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
6752 * sysdeps/pthread/timer_delete.c: ... here.
6753 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
6754 * sysdeps/pthread/timer_getoverr.c: ... here.
6755 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
6756 * sysdeps/pthread/timer_gettime.c: ... here.
6757 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
6758 * sysdeps/pthread/timer_routines.c: ... here.
6759 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
6760 * sysdeps/pthread/timer_settime.c: ... here.
6761 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
6762 * sysdeps/pthread/tst-timer.c: ... here.
6763 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
6764 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
6765
e876b090
RM
6766 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
6767 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
6768
f6b07b3d
RM
6769 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
6770 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
6771 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
6772 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
6773 Update #include target.
6774 * nptl/sysdeps/i386/i686/Makefile: Moved ...
6775 * sysdeps/i386/i686/nptl/Makefile: ... here.
6776 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
6777 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
6778 Update #include target.
6779 * nptl/sysdeps/i386/i686/tls.h: Moved ...
6780 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
6781 * nptl/sysdeps/i386/Makefile: Moved ...
6782 * sysdeps/i386/nptl/Makefile: ... here.
6783 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
6784 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
6785 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
6786 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
6787 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
6788 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
6789 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
6790 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
6791 * sysdeps/i386/nptl/pthreaddef.h: ... here.
6792 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
6793 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
6794 * nptl/sysdeps/i386/tls.h: Moved ...
6795 * sysdeps/i386/nptl/tls.h: ... here.
6796
45262aee
RM
6797 * sysdeps/sh/Makefile [$(subdir) = csu]
6798 (gen-as-const-headers): Add tcb-offsets.sym.
6799 * nptl/sysdeps/sh/Makefile: File removed.
6800 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
6801 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
6802 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
6803 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
6804 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
6805 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
6806 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
6807 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
6808 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
6809 * sysdeps/sh/nptl/pthreaddef.h: ... here.
6810 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
6811 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
6812 * nptl/sysdeps/sh/tls.h: Moved ...
6813 * sysdeps/sh/nptl/tls.h: ... here.
6814 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
6815 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
6816 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
6817 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
6818 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
6819 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
6820 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
6821 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
6822 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
6823 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
6824 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
6825 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
6826 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
6827 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
6828 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
6829 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
6830 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
6831 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
6832 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
6833 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
6834 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
6835 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
6836 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
6837 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
6838 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
6839 Moved ...
6840 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
6841 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
6842 Moved ...
6843 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
6844 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
6845 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
6846 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
6847 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
6848 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
6849 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
6850 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
6851 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
6852 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
6853 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
6854 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
6855 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
6856 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
6857 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
6858 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
6859 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
6860 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
6861 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
6862
35a5e3e3
SL
68632014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6864
6865 * posix/spawn_faction_addopen.c: Include string.h.
6866
14642b85
RM
68672014-06-11 Roland McGrath <roland@hack.frob.com>
6868
6869 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
6870 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
6871 * nptl/sysdeps/x86_64/Makefile: Moved ...
6872 * sysdeps/x86_64/nptl/Makefile: ... here.
6873 * nptl/sysdeps/x86_64/configure: Moved ...
6874 * sysdeps/x86_64/nptl/configure: ... here.
6875 * nptl/sysdeps/x86_64/configure.ac: Moved ...
6876 * sysdeps/x86_64/nptl/configure.ac: ... here.
6877 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
6878 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
6879 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
6880 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
6881 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
6882 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
6883 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
6884 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
6885 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
6886 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
6887 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
6888 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
6889 * nptl/sysdeps/x86_64/tls.h: Moved ...
6890 * sysdeps/x86_64/nptl/tls.h: ... here.
6891 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
6892 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
6893 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
6894 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
6895
6896 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
6897
31c44fea
AZ
68982014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6899
6900 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6901
e81a4f9a
JM
69022014-06-11 Joseph Myers <joseph@codesourcery.com>
6903
6904 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6905 type.
6906 [POSIX] (off_t): Likewise.
6907 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6908 [POSIX] (S_ISBLK): Require macro.
6909 [POSIX] (S_ISCHR): Likewise.
6910 [POSIX] (S_ISDIR): Likewise.
6911 [POSIX] (S_ISFIFO): Likewise.
6912 [POSIX] (S_ISREG): Likewise.
6913 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6914 optional-macro.
6915 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6916 type.
6917 [POSIX] (time_t): Likewise.
6918 [POSIX] (timer_t): Likewise.
6919
89e435f3
FW
69202014-06-11 Florian Weimer <fweimer@redhat.com>
6921
6922 [BZ #17048]
6923 * posix/spawn_int.h (struct __spawn_action): Make the path string
6924 non-const to support deallocation.
6925 * posix/spawn_faction_addopen.c
6926 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6927 * posix/spawn_faction_destroy.c
6928 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
6929 path in all spawn_do_open actions.
6930 * posix/tst-spawn.c (do_test): Exercise the copy operation in
6931 posix_spawn_file_actions_addopen.
6932
c3a2ebe1
CM
69332014-06-11 Chris Metcalf <cmetcalf@tilera.com>
6934
6935 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6936 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6937 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6938 conditional code always true.
6939 (__libc_vfork): New alias.
6940
9503784a
RM
69412014-06-11 Roland McGrath <roland@hack.frob.com>
6942
c9cab3d2
RM
6943 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6944 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6945
d3996c79
RM
6946 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6947
ba5ec611
RM
6948 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6949 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6950
f12b4814
RM
6951 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6952 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6953
9503784a
RM
6954 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6955 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6956
e23d3d26
VR
69572014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6958
6959 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6960 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6961 multiarch strcmp for PPC64.
6962 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6963 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6964 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6965 multiarch optimizations.
6966 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6967 (__libc_ifunc_impl_list): Likewise.
6968
42b1161e
SP
69692014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6970
6971 * benchtests/scripts/validate_benchout.py: New script.
6972 * benchtests/Makefile (bench-func): Call it.
6973 * benchtests/scripts/benchout.schema.json: New file.
6974
2d0fc4dc
CM
69752014-06-10 Chris Metcalf <cmetcalf@tilera.com>
6976
4a594c34
AZ
6977 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6978 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6979 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6980 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6981 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6982 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6983 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6984 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6985 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6986 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6987 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6988 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6989 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6990 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6991 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6992 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6993 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 6994 Moved ...
4a594c34 6995 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 6996 ... here.
4a594c34 6997 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 6998 Moved ...
4a594c34
AZ
6999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
7000 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 7001 Moved ...
4a594c34 7002 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 7003 ... here.
4a594c34 7004 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 7005 Moved ...
4a594c34 7006 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 7007 ... here.
4a594c34 7008 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 7009 Moved ...
4a594c34
AZ
7010 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
7011 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 7012 Moved ...
4a594c34 7013 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 7014 ... here.
4a594c34 7015 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 7016 Moved ...
4a594c34 7017 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 7018 ... here.
4a594c34 7019 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 7020 Moved ...
4a594c34
AZ
7021 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
7022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 7023 Moved ...
4a594c34 7024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 7025 ... here.
4a594c34 7026 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 7027 Moved ...
4a594c34 7028 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 7029 ... here.
4a594c34 7030 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 7031 Moved ...
4a594c34 7032 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 7033 ... here.
4a594c34 7034 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 7035 Moved ...
4a594c34
AZ
7036 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
7037 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 7038 Moved ...
4a594c34 7039 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 7040 ... here.
4a594c34 7041 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 7042 Moved ...
4a594c34 7043 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 7044 ... here.
4a594c34 7045 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 7046 Moved ...
4a594c34 7047 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 7048 ... here.
4a594c34 7049 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 7050 Moved ...
4a594c34
AZ
7051 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
7052 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 7053 Moved ...
4a594c34 7054 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 7055 ... here.
4a594c34 7056 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 7057 Moved ...
4a594c34 7058 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 7059 ... here.
4a594c34 7060 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 7061 Moved ...
4a594c34
AZ
7062 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
7063 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 7064 Moved ...
4a594c34 7065 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 7066 ... here.
4a594c34 7067 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 7068 Moved ...
4a594c34
AZ
7069 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
7070 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 7071 Moved ...
4a594c34
AZ
7072 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
7073 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 7074 Moved ...
4a594c34 7075 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 7076 ... here.
4a594c34 7077 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 7078 Moved ...
4a594c34 7079 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 7080 ... here.
4a594c34 7081 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 7082 Moved ...
4a594c34 7083 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 7084 ... here.
4a594c34 7085 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 7086 Moved ...
4a594c34
AZ
7087 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
7088 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 7089 Moved ...
4a594c34 7090 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 7091 ... here.
4a594c34 7092 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 7093 Moved ...
4a594c34 7094 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 7095 ... here.
4a594c34
AZ
7096 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
7097 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
7098 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
7099 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
7100 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 7101 Moved ...
4a594c34 7102 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 7103 ... here.
4a594c34
AZ
7104 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
7105 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
7106 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
7107 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
7108 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
7109 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
7110 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
7111 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
7112 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
7113 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
7114 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
7115 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
7116 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 7117 Moved ...
4a594c34
AZ
7118 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
7119 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 7120 Moved ...
4a594c34
AZ
7121 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
7122 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
7123 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
7124 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 7125 Moved ...
4a594c34
AZ
7126 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
7127 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
7128 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
7129 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
7130 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
7131 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
7132 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 7133
0570cfed
W
71342014-06-10 Wilco <wdijkstr@arm.com>
7135
7136 * math/test-fenv-return.c: New file.
7137 * math/Makefile: Add new test test-fenv-return.
7138
f8ba1b56
JM
71392014-06-10 Joseph Myers <joseph@codesourcery.com>
7140
7141 [BZ #17042]
7142 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
7143 when x - 1 is zero.
7144 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
7145 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
7146 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
7147 0.0L for an argument of 1.0L.
7148 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
7149 Likewise.
7150 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
7151 value when x - 1 is zero.
7152 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
7153 * sysdeps/i386/fpu/libm-test-ulps: Update.
7154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7155
2c3520d9
BO
71562014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
7157
7158 [BZ #15119]
7159 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
7160
acaa4d24
RM
71612014-06-09 Roland McGrath <roland@hack.frob.com>
7162
7163 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
7164 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
7165
962b744d
RM
71662014-06-09 Roland McGrath <roland@hack.frob.com>
7167
d752f0cc
RM
7168 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7169 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
7170
34eda6d1
RM
7171 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7172 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
7173
50f0a637
RM
7174 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7175 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
7176
08f41f04
RM
7177 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7178 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
7179
962b744d
RM
7180 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
7181 if not already defined.
7182 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
7183 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
7184 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
7185 (TLS_INIT_TP): Use it.
7186 (TLS_DEFINE_INIT_TP): New macro.
7187 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
7188
09f19b05
JM
71892014-06-09 Joseph Myers <joseph@codesourcery.com>
7190
7191 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
7192 constant.
7193 [POSIX] (IXANY): Likewise.
7194 [POSIX] (OLCUC): Likewise.
7195 [POSIX || POSIX2008] (CBAUD): Do not allow.
7196 [POSIX || POSIX2008] (DEFECHO): Likewise.
7197 [POSIX || POSIX2008] (ECHOCTL): Likewise.
7198 [POSIX || POSIX2008] (ECHOKE): Likewise.
7199 [POSIX || POSIX2008] (ECHOPRT): Likewise.
7200 [POSIX || POSIX2008] (EXTA): Likewise.
7201 [POSIX || POSIX2008] (EXTB): Likewise.
7202 [POSIX || POSIX2008] (FLUSHO): Likewise.
7203 [POSIX || POSIX2008] (LOBLK): Likewise.
7204 [POSIX || POSIX2008] (PENDIN): Likewise.
7205 [POSIX || POSIX2008] (SWTCH): Likewise.
7206 [POSIX || POSIX2008] (VDISCARD): Likewise.
7207 [POSIX || POSIX2008] (VDSUSP): Likewise.
7208 [POSIX || POSIX2008] (VLNEXT): Likewise.
7209 [POSIX || POSIX2008] (VREPRINT): Likewise.
7210 [POSIX || POSIX2008] (VSTATUS): Likewise.
7211 [POSIX || POSIX2008] (VWERASE): Likewise.
7212 (B*): Change to B[0123456789]*.
7213 * conform/data/time.h-data [POSIX || UNIX98]
7214 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
7215 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7216 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
7217 [POSIX] (tm_*): Do not allow.
7218
686554bf
JM
72192014-06-07 Joseph Myers <joseph@codesourcery.com>
7220
7221 * Makefile (install): Don't set LANGUAGE.
7222 * Makefile.in (install): Likewise.
7223 * assert/Makefile (test-assert-ENV): Remove variable.
7224 (test-assert-perr-ENV): Likewise.
7225 * elf/Makefile (neededtest4-ENV): Likewise.
7226 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7227 [$(cross-compiling) = no]: Don't set LANGUAGE.
7228 * io/ftwtest-sh (LANG): Remove variable.
7229 * libio/Makefile (tst-widetext-ENV): Likewise.
7230 * manual/install.texi (Running make install): Don't refer to
7231 environment settings for make install.
7232 * INSTALL: Regenerated.
7233 * nptl/tst-tls6.sh: Don't set LANG.
7234 * posix/globtest.sh (LANG): Remove variable.
7235 * string/Makefile (tester-ENV): Likewise.
7236 (inl-tester-ENV): Likewise.
7237 (noinl-tester-ENV): Likewise.
7238 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7239 [$(cross-compiling) = no]: Don't set LANGUAGE.
7240 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
7241 without explicit environment settings.
7242
68e6b6b1
RM
72432014-06-06 Roland McGrath <roland@hack.frob.com>
7244
7245 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
7246 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
7247 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
7248 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
7249
4d3ae034
CM
72502014-06-06 Chris Metcalf <cmetcalf@tilera.com>
7251
7252 * crypt/crypt-private.h [DOS]: Add some includes taken from the
7253 other files in the crypt directory.
7254 * crypt/crypt.c: Remove duplicate includes.
7255 * crypt/crypt-entry.c: Likewise.
7256 * crypt/crypt_util.c: Likewise.
7257
8540f6d2
JM
72582014-06-06 Joseph Myers <joseph@codesourcery.com>
7259
7260 * Makeconfig (run-program-env): New variable.
7261 (run-program-prefix-before-env): Likewise.
7262 (run-program-prefix-after-env): Likewise.
7263 (run-program-prefix): Define in terms of new variables.
7264 (built-program-cmd-before-env): New variable.
7265 (built-program-cmd-after-env): Likewise.
7266 (built-program-cmd): Define in terms of new variables.
7267 (test-program-prefix-before-env): New variable.
7268 (test-program-prefix-after-env): Likewise.
7269 (test-program-prefix): Define in terms of new variables.
7270 (test-program-cmd-before-env): New variable.
7271 (test-program-cmd-after-env): Likewise.
7272 (test-program-cmd): Define in terms of new variables.
7273 * Rules (make-test-out): Use $(run-program-env).
7274 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
7275 (help): Do not mention environment variables. Mention
7276 --timeoutfactor option.
7277 (timeoutfactor): New variable.
7278 (blacklist_exports): Remove function.
7279 (exports): Remove variable.
7280 (command): Do not include ${exports}.
7281 * manual/install.texi (Configuring and compiling): Do not mention
7282 test wrappers preserving environment variables. Mention that last
7283 assignment to a variable must take precedence.
7284 * INSTALL: Regenerated.
7285 * benchtests/Makefile (run-bench): Use $(run-program-env).
7286 * catgets/Makefile ($(objpfx)test1.cat): Use
7287 $(built-program-cmd-before-env), $(run-program-env) and
7288 $(built-program-cmd-after-env).
7289 ($(objpfx)test2.cat): Do not specify environment variables
7290 explicitly.
7291 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
7292 $(run-program-env) and $(built-program-cmd-after-env).
7293 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
7294 $(run-program-env) and $(test-program-cmd-after-env).
7295 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
7296 explicitly.
7297 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
7298 run_program_env and test_program_cmd_after_env arguments.
7299 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
7300 * elf/tst-pathopt.sh: Use run_program_env argument.
7301 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
7302 $(test-wrapper-env) and $(run-program-env).
7303 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
7304 run_program_env arguments.
7305 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
7306 * intl/Makefile ($(objpfx)tst-gettext.out): Use
7307 $(test-program-prefix-before-env), $(run-program-env) and
7308 $(test-program-prefix-after-env).
7309 ($(objpfx)tst-gettext2.out): Likewise.
7310 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
7311 run_program_env and test_program_prefix_after_env arguments.
7312 * intl/tst-gettext2.sh: Likewise.
7313 * intl/tst-gettext4.sh: Do not set environment variables
7314 explicitly.
7315 * intl/tst-gettext6.sh: Likewise.
7316 * intl/tst-translit.sh: Likewise.
7317 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
7318 $(test-program-prefix-before-env), $(run-program-env) and
7319 $(test-program-prefix-after-env).
7320 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
7321 run_program_env and test_program_prefix_after_env arguments.
7322 * math/Makefile (run-regen-ulps): Use $(run-program-env).
7323 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
7324 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
7325 explicitly with each use of ${test_wrapper_env}.
7326 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
7327 $(test-program-prefix-before-env), $(run-program-env) and
7328 $(test-program-prefix-after-env).
7329 * posix/tst-getconf.sh: Do not set environment variables
7330 explicitly.
7331 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
7332 run_program_env and test_program_prefix_after_env arguments.
7333 * stdio-common/tst-printf.sh: Do not set environment variables
7334 explicitly.
7335 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
7336 $(test-program-prefix-before-env), $(run-program-env) and
7337 $(test-program-prefix-after-env).
7338 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
7339 run_program_env and test_program_prefix_after_env arguments.
7340 Split $test calls into $test_pre and $test.
7341 * timezone/Makefile (build-testdata): Use
7342 $(built-program-cmd-before-env), $(run-program-env) and
7343 $(built-program-cmd-after-env).
7344
ed36bfa1
AZ
73452014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7346
7347 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
7348 strlen for non SHARED builds.
7349
fc75bf46
SP
73502014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7351
7352 * nptl/allocatestack.c (check_list): Inlined function...
7353 (__reclaim_stacks): ... here.
7354
d89b3d80
OB
73552014-06-05 Ondřej Bílka <neleai@seznam.cz>
7356
7357 [BZ #15698]
7358 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7359 memory overrun.
7360
2bf18041
JM
73612014-06-05 Joseph Myers <joseph@codesourcery.com>
7362
7363 * Rules (make-test-out): Include
7364 LOCPATH=$(common-objpfx)localedata in default environment.
7365 * debug/Makefile (tst-chk1-ENV): Remove variable.
7366 (tst-chk2-ENV): Likewise.
7367 (tst-chk3-ENV): Likewise.
7368 (tst-chk4-ENV): Likewise.
7369 (tst-chk5-ENV): Likewise.
7370 (tst-chk6-ENV): Likewise.
7371 (tst-lfschk1-ENV): Likewise.
7372 (tst-lfschk2-ENV): Likewise.
7373 (tst-lfschk3-ENV): Likewise.
7374 (tst-lfschk4-ENV): Likewise.
7375 (tst-lfschk5-ENV): Likewise.
7376 (tst-lfschk6-ENV): Likewise.
7377 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
7378 (tst-iconv7-ENV): Likewise.
7379 * intl/Makefile (LOCPATH-ENV): Likewise.
7380 (tst-codeset-ENV): Likewise.
7381 (tst-gettext3-ENV): Likewise.
7382 (tst-gettext5-ENV): Likewise.
7383 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
7384 (tst-fopenloc-ENV): Likewise.
7385 (tst-fgetws-ENV): Remove variable.
7386 (tst-ungetwc1-ENV): Likewise.
7387 (tst-ungetwc2-ENV): Likewise.
7388 (bug-ungetwc2-ENV): Likewise.
7389 (tst-swscanf-ENV): Likewise.
7390 (bug-ftell-ENV): Likewise.
7391 (tst-fgetwc-ENV): Likewise.
7392 (tst-fseek-ENV): Likewise.
7393 (tst-ftell-partial-wide-ENV): Likewise.
7394 (tst-ftell-active-handler-ENV): Likewise.
7395 (tst-ftell-append-ENV): Likewise.
7396 * posix/Makefile (tst-fnmatch-ENV): Likewise.
7397 (tst-regexloc-ENV): Likewise.
7398 (bug-regex1-ENV): Likewise.
7399 (tst-regex-ENV): Likewise.
7400 (tst-regex2-ENV): Likewise.
7401 (bug-regex5-ENV): Likewise.
7402 (bug-regex6-ENV): Likewise.
7403 (bug-regex17-ENV): Likewise.
7404 (bug-regex18-ENV): Likewise.
7405 (bug-regex19-ENV): Likewise.
7406 (bug-regex20-ENV): Likewise.
7407 (bug-regex22-ENV): Likewise.
7408 (bug-regex23-ENV): Likewise.
7409 (bug-regex25-ENV): Likewise.
7410 (bug-regex26-ENV): Likewise.
7411 (bug-regex30-ENV): Likewise.
7412 (bug-regex32-ENV): Likewise.
7413 (bug-regex33-ENV): Likewise.
7414 (bug-regex34-ENV): Likewise.
7415 (bug-regex35-ENV): Likewise.
7416 (tst-rxspencer-ENV): Likewise.
7417 (tst-rxspencer-no-utf8-ENV): Likewise.
7418 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
7419 (tst-sscanf-ENV): Likewise.
7420 (tst-swprintf-ENV): Likewise.
7421 (tst-swscanf-ENV): Likewise.
7422 (test-vfprintf-ENV): Likewise.
7423 (scanf13-ENV): Likewise.
7424 (bug14-ENV): Likewise.
7425 (tst-grouping-ENV): Likewise.
7426 * stdlib/Makefile (tst-strtod-ENV): Likewise.
7427 (tst-strtod3-ENV): Likewise.
7428 (tst-strtod4-ENV): Likewise.
7429 (tst-strtod5-ENV): Likewise.
7430 (testmb2-ENV): Likewise./
7431 * string/Makefile (tst-strxfrm-ENV): Likewise.
7432 (tst-strxfrm2-ENV): Likewise.
7433 (bug-strcoll1-ENV): Likewise.
7434 (test-strcasecmp-ENV): Likewise.
7435 (test-strncasecmp-ENV): Likewise.
7436 * time/Makefile (tst-strptime-ENV): Likewise.
7437 (tst-ftime_l-ENV): Likewise.
7438 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
7439 (tst-mbrtowc-ENV): Likewise.
7440 (tst-wcrtomb-ENV): Likewise.
7441 (tst-mbrtowc2-ENV): Likewise.
7442 (tst-c16c32-1-ENV): Likewise.
7443 (tst-mbsnrtowcs-ENV): Likewise.
7444
cd1fb604
OB
74452014-06-05 Ondřej Bílka <neleai@seznam.cz>
7446
7447 * manual/resource.texi (How to get information about the memory
7448 subsystem?): Fix typo.
7449 Reported by Peon de la Parra Ivan <peon@keba.com>
7450
b42eca7d
GY
74512014-06-03 Guo Yixuan <culu.gyx@gmail.com>
7452
7453 [BZ #16882]
7454 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
7455 (pthread_spin_lock): Branch out of spin loop to proper location.
7456 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
7457 (pthread_spin_lock): Likewise.
7458
902b71f9
DM
7459 * nptl/tst-spin4.c: New test.
7460 * nptl/Makefile (tests): Add tst-spin4.
7461
f9d2d032
AS
74622014-06-03 Andreas Schwab <schwab@suse.de>
7463
7464 [BZ #15946]
7465 * resolv/res_send.c (send_dg): Reload file descriptor after
7466 calling reopen.
7467
cf7bfd28
SL
74682014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
7469
7470 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7471
111cc714
RH
74722014-06-03 Richard Henderson <rth@redhat.com>
7473
89b4bd6b
RH
7474 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
7475 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
7476 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
7477 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
7478 in the SAVE_PID block.
7479 (__libc_vfork): New alias.
71840409 7480 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 7481
111cc714
RH
7482 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
7483 child in registers, not on the stack. Remove RESET_PID conditionals.
7484 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
7485
ccc39911
MS
74862014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
7487
7488 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7489
693096cc
W
74902014-06-03 Wilco <wdijkstr@arm.com>
7491
7492 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
7493 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
7494 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7495 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
7496 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
7497 Likewise.
7498
0b4366bc
W
74992014-06-03 Wilco <wdijkstr@arm.com>
7500
7501 * sysdeps/aarch64/fpu/math_private.h
7502 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
7503 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
7504 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
7505 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7506 Fix declarations.
7507
8747cd03
KS
75082014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7509
7510 * crypt/crypt-private.h: Include ufc-crypt.h.
7511 (__b64_from_24bit): Declare extern.
7512 * crypt/crypt_util.c(__b64_from_24bit): New function.
7513 (b64t): New static const variable.
7514 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
7515 (b64t): Remove variable.
7516 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
7517 * crypt/sha256-crypt.c: Include crypt-private.h.
7518 (b64t): Remove variable.
7519 (__sha256_crypt_r): Remove b64_from_24bit and replace
7520 with __b64_from_24bit.
7521 * crypt/sha512-crypt.c: Likewise.
7522
d936d379
RM
75232014-06-02 Roland McGrath <roland@hack.frob.com>
7524
7525 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
7526 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
7527 Label the code __libc_vfork rather than __vfork.
7528 [!NOT_IN_libc] (vfork): Define as weak alias.
7529 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
7530 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
7531 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
7532
9fa76613
SP
75332014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7534
7535 * malloc/malloc.c (malloc_info): Fix format specifier for
7536 n_mmaps.
7537
a88dadbe
W
75382014-06-02 Wilco <wdijkstr@arm.com>
7539
7540 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
7541 FPCR write.
7542
c95b3011
W
75432014-06-02 Wilco <wdijkstr@arm.com>
7544
7545 [BZ #17009]
7546 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
7547 Rewrite to reduce FPCR/FPSR accesses.
7548
6b4d7a90
DM
75492014-06-01 David S. Miller <davem@davemloft.net>
7550
7551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7552
30f3d07c
DM
75532014-05-31 David S. Miller <davem@davemloft.net>
7554
7555 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
7556 to occur in round to nearest mode when |x| >= 2.0
7557
74f31c18
RH
75582014-05-30 Richard Henderson <rth@twiddle.net>
7559
f0712b54
RH
7560 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
7561 (PSEUDO_RET_NOERRNO): Remove.
7562 (ret): Don't redefine.
7563 (ret_NOERRNO): Define in terms of ret.
7564 (ret_ERRVAL): Likewise.
7565
74f31c18
RH
7566 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
7567 use of PSEUDO_RET; perform the error check directly.
7568
30477995
MM
75692014-05-30 Marko Myllynen <myllynen@redhat.com>
7570
7571 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
7572 with __int128_t.
7573
62a58816
SP
75742014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7575
7576 * malloc/malloc (malloc_info): Fix formatting.
7577
4d653a59
SP
75782014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7579 Roland McGrath <roland@hack.frob.com>
7580
7581 * malloc/malloc (malloc_info): Also print mmapped statistics.
7582
5190c17f
RM
75832014-05-30 Roland McGrath <roland@hack.frob.com>
7584
7585 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
7586 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
7587
987c0269
OB
75882014-05-30 Ondřej Bílka <neleai@seznam.cz>
7589
7590 * malloc/malloc.c (malloc_info): Inline mi_arena.
7591
af4e8ef9
RH
75922014-05-29 Richard Henderson <rth@twiddle.net>
7593
1670e207
RH
7594 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
7595 Remove comma before expanding ASM_ARGS_##nr.
7596 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
7597 Make _x0 a strict output; make _x8 a strict input; adjust expansion
7598 of ASM_ARGS_##nr.
7599 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
7600 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
7601 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
7602 (ASM_ARGS_1): Add leading comma.
7603
11a28aee
RH
7604 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
7605 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
7606 to __errno_location.
7607 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
7608 Remove the expected plt for __errno_location.
7609
a17e5ffb 7610 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 7611 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
7612 call to __read_tp.
7613
b5be4597
RH
7614 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7615 Always allocate 64 bytes of stack frame. Use ldp/stp to create
7616 it and break it down.
7617 (DOCARGS_0, DOCARGS_1): Do nothing.
7618 (DOCARGS_2): Update to store into the new stack frame.
7619 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
7620 (UNDOCARGS_1): Update to restore from the new stack frame.
7621 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
7622 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
7623
645d44ab
RH
7624 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7625 (SINGLE_THREAD_P): New parameter for result regno.
7626 (PSEUDO): Update to match; use cbz instead of beq.
7627
a8b4f04a
RH
7628 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7629 Use ENTRY to define the _nocancel entry point. Share the syscall
7630 and syscall error check paths with the cancel path.
7631 (PSEUDO_END): New.
7632
af4e8ef9
RH
7633 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
7634 whitespace; tabs before and after asm mnemonics.
7635
26b0d2e1
EW
76362014-05-29 Eric Wong <normalperson@yhbt.net>
7637
7638 [BZ #15132]
7639 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7640 Call fstat64 or stat64 internally, depending on arguments passed.
7641 Replace stat buffer argument with file descriptor argument.
7642 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
7643 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7644 Pass fd to __internal_statvfs instead of calling fstat64.
7645 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
7646 Pass fd to __internal_statvfs64 instead of calling fstat64.
7647 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
7648 Pass -1 to __internal_statvfs instead of calling stat64.
7649 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
7650 Pass -1 to __internal_statvfs64 instead of calling stat64.
7651
1efe2bd9
RM
76522014-05-28 Roland McGrath <roland@hack.frob.com>
7653
0d3b7a19
RM
7654 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
7655 that was previously under [RESET_PID].
7656 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
7657
1efe2bd9
RM
7658 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
7659 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
7660
a6bea3ca
RM
76612014-05-27 Roland McGrath <roland@hack.frob.com>
7662
30b6629e
RM
7663 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
7664
a6bea3ca
RM
7665 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
7666 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
7667
3dfb9a5c
OB
76682014-05-27 Ondřej Bílka <neleai@seznam.cz>
7669
7670 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
7671
774f9285
AS
76722014-05-27 Andreas Schwab <schwab@suse.de>
7673
7674 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
7675 TLS_INIT_TP macro.
7676 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7677 * elf/rtld.c (init_tls, dl_main): Likewise.
7678 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
7679 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
7680 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
7681 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
7682 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
7683 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
7684 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
7685 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
7686 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
7687 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
7688 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
7689 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
7690 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
7691 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
7692 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
7693 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
7694 * sysdeps/generic/tls.h: Update description.
7695
36ffe739
WN
76962014-05-27 Will Newton <will.newton@linaro.org>
7697
7698 [BZ #16990]
7699 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
7700 and restore r2 rather than just restoring.
7701
2482ae43
SP
77022014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7703
7704 [BZ #16724]
7705 * libio/tst-ftell-append.c: New test case.
7706 * libio/Makefile (tests): Add test case.
7707 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
7708 append mode.
7709 * libio/wfileops.c (do_ftell_wide): Likewise.
7710
3d1024e8
AZ
77112014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7712
bab90016
AZ
7713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7714
c7a8d667
AZ
7715 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
7716 ...
7717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
7718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7719 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
7720 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
7721 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
7722 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
7723 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
7724 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
7725 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7726 Moved ...
7727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
7728 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7729 Moved ...
7730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
7731 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
7732 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
7733 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
7734 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
7735 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
7736 ...
7737 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
7738 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
7739 Moved ...
7740 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
7741 here.
7742 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
7743 ...
7744 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
7745 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
7746 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
7747
daee7851
AZ
7748 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
7749 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
7750 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
7751 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
7752
50a40819
AZ
7753 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
7754 merge into ...
7755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
7756 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
7757 ...
7758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
7759 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
7760 ...
7761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
7762 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7763 Moved ...
7764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
7765 here.
7766 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7767 Moved ...
7768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
7769 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7770 Moved ...
7771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
7772
8464c2a1
AZ
7773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
7774 conditional [RESET_PID].
7775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7776 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
7777 removed.
7778 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
7779 removed.
7780
3d1024e8
AZ
7781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
7782 <tcb-offsets.h>.
7783 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7784 (__libc_vfork): New strong alias.
7785 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
7786 removed.
7787 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
7788 Removed.
7789
7790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
7791 <tcb-offsets.h>.
7792 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
7793 (__libc_vfork): New strong alias.
7794 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
7795 removed.
7796 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
7797 removed.
7798
fdfd175d
CD
77992014-05-26 Carlos O'Donell <carlos@redhat.com>
7800
7801 * malloc/malloc.c (mi_arena): New function.
7802 (malloc_info): Remove nested function mi_arena. Call non-nosted
7803 function mi_arena.
7804
d298c416
AZ
78052014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7806
7807 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
7808 by insrwi.
7809 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7810 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7811 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
7812 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
7813 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
7814 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
7815 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
7816
b60ea6ff
AS
78172014-05-26 Andreas Schwab <schwab@suse.de>
7818
7819 [BZ #16984]
7820 * locale/programs/repertoire.c (repertoire_read): Add slash
7821 between I18NPATH element and file name.
7822 * locale/programs/locfile.c (locfile_read): Likewise.
7823
67365926
SL
78242014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7825
7826 * nptl/pthread_mutexattr_settype.c
7827 (__pthread_mutexattr_settype):
7828 Disable lock elision for PTHREAD_MUTEX_NORMAL.
7829
f8bdf1f0
SL
78302014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7831
7832 * nptl/tst-mutex5 (do_test):
7833 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
7834
15eaf6ff
SP
78352014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7836
7837 * benchtests/README: Document 'init' directive.
7838 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
7839 BENCH_INIT.
7840 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
7841 (parse_file): Recognize 'init' directive.
7842
75f11331
KM
78432014-05-26 Kyle McMartin <kyle@redhat.com>
7844
7845 [BZ #16796]
7846 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
7847 alignment of struct pthread.
7848
c3ec475c
SP
78492014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7850
7851 [BZ #16878]
7852 * nscd/netgroupcache.c (addgetnetgrentX): Look for
7853 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7854 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
7855 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7856
82aab97c
RH
78572014-05-25 Richard Henderson <rth@twiddle.net>
7858
aa2f176d
RH
7859 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7860 (SINGLE_THREAD_P_PIC): Remove.
7861 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
7862 (SINGLE_THREAD_P_PIC): Remove.
7863
ca3cfa40
RH
7864 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
7865 branch to syscall error ...
7866 (PSEUDO): ... here.
7867 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
7868 from __local_syscall_error to .Lsyscall_error.
7869 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
7870 (SYSCALL_ERROR): Update label name.
7871
6e6c2d01
RH
7872 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7873 Do not use DOARGS/UNDOARGS.
7874 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
7875 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
7876 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
7877 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
7878 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
7879
c69abcee
RH
7880 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
7881 block comment.
7882
82aab97c
RH
7883 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
7884 define if !NOT_IN_libc.
7885 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
7886 define with non-default symbol versions.
7887
8820e3ac
RH
78882014-05-23 Richard Henderson <rth@twiddle.net>
7889
900e445f
RH
7890 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
7891 (vfork, __vfork): Define via compat_symbol.
7892
8820e3ac
RH
7893 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
7894 [!HAVE_IFUNC] (vfork_compat): Remove.
7895 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
7896
e59252a5
JM
78972014-05-23 Joseph Myers <joseph@codesourcery.com>
7898
7899 [BZ #16978]
7900 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
7901 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
7902 variable.
7903
132c7f5f
RH
79042014-05-23 Richard Henderson <rth@twiddle.net>
7905
bc89e962
RH
7906 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7907 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7908 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7909 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7910
7911 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7912 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7913 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7914 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7915 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7916 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7917 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7918 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7919 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7920 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7921 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7922 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7923 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7924 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7925 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7926 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7927 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7928 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7929 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7930 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7931 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7932 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7933 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7934 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7935 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7936 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7937 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7938 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7939 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7940 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7941 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7942 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7943 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7944 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7945 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7946 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7947 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7948 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7949 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7950 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7951 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7952 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7953 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7954 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7955 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7956 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7957 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7958 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7959 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7960 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7961 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7962 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7963 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7964 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7965 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7966 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7967
e2fa4bc2
RH
7968 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7969 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7970 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
7971 before exiting on error.
7972 (__libc_vfork): New strong alias.
7973 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7974 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7975
279b24e2
RH
7976 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7977 that was previously under [RESET_PID].
7978 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7979
132c7f5f
RH
7980 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7981
b72592e7
JM
79822014-05-23 Joseph Myers <joseph@codesourcery.com>
7983
7984 [BZ #16977]
7985 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7986 value when x - 1 is zero.
7987 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7988 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7989 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7990 0.0L for an argument of 1.0L.
7991 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7992 Likewise.
7993 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7994 value when x - 1 is zero.
7995 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7996 * sysdeps/i386/fpu/libm-test-ulps: Update.
7997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7998
2302d679
RV
79992014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
8000
8001 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
8002 alphasort and versionsort.
8003
32999d63
AZ
80042014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8005
8006 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
8007 macro.
8008 [copysignf]: Likewise.
8009
019324d0
SP
80102014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8011
8012 * crypt/md5-crypt.c: Fix formatting.
8013
34fff5c2
KS
80142014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8015
8016 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
8017 (b64_from_24bit): New function.
8018
3d2badac
AZ
80192014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8020
8021 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
8022 libc_hidden_builtin_def to ifunc.
8023 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8024 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
8025
f7bb179f 80262014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
8027
8028 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
8029 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
8030
4134b50d
JM
80312014-05-21 Joseph Myers <joseph@codesourcery.com>
8032
bb7d0337
JM
8033 * nscd/Depend (linuxthreads): Remove.
8034 (nptl): Add.
8035 * resolv/Depend (linuxthreads): Remove.
8036 * rt/Depend (linuxthreads): Remove.
8037
4134b50d
JM
8038 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
8039 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
8040 $(common-objpfx)elf/.
8041 (link-libc-before-gnulib): Likewise.
8042 (elfobjdir): Remove variable.
8043 * Makefile (install): Use $(elf-objpfx) instead of
8044 $(common-objpfx)elf/.
8045 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
8046 $(elfobjdir)/.
8047 (link-libc-deps): Likewise.
8048 ($(common-objpfx)libc.so): Likewise.
8049 ($(common-objpfx)linkobj/libc.so): Likewise.
8050 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
8051 instead of $(common-objpfx)elf/.
8052 (symbolic-link-list): Likewise.
8053 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8054 [$(cross-compiling) = no]: Likewise.
8055 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
8056 $(elfobjdir)/.
8057 (static-gnulib-arch): Likewise.
8058 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8059 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
8060 $(common-objpfx)elf/.
8061
3612eb8f
RH
80622014-05-21 Richard Henderson <rth@redhat.com>
8063
a6b3657b
RH
8064 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8065 (SINGLE_THREAD_P): Use the correct width load. Fold
8066 into the ldr offset.
8067
3612eb8f
RH
8068 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
8069 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
8070
175cef41
JM
80712014-05-20 Joseph Myers <joseph@codesourcery.com>
8072
8073 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
8074 (libgcc_s_resume): Use __attribute_used__.
8075 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
8076 Likewise.
8077
e13bccd3
AZ
80782014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8079
8080 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
8081 optimization when used with float constants.
8082
7c112a38
AZ
8083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8084
ae75a883
AJ
80852014-05-20 Aurelien Jarno <aurelien@aurel32.net>
8086
8087 [BZ #16915]
8088 * locale/nl_langinfo_l.c: Make direct reference to every
8089 _nl_current_CATEGORY symbol.
8090 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
8091 (tests-static): Add tst-langinfo-static.
8092 (tests-special): Add tst-langinfo-static.out.
8093 ($(objpfx)tst-langinfo.out): Redirect output.
8094 ($(objpfx)tst-langinfo-static.out): New.
8095 * localedata/tst-langinfo.sh: Send output to stdout.
8096 * localedata/tst-langinfo-static.c: New file.
8097
4406c41c
AJ
8098 [BZ #16965]
8099 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
8100 when the shift amount is modulo the limb size.
8101
4c0a1e63
RH
81022014-05-20 Richard Henderson <rth@redhat.com>
8103
de9d8f20
RH
8104 [BZ #16967]
8105 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
8106 Change type of sa_flags from unsigned int to int.
8107
4c0a1e63
RH
8108 [BZ #16966]
8109 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
8110
8111 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
8112
a60339aa
WN
81132014-05-20 Will Newton <will.newton@linaro.org>
8114
8115 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8116 Test the return value of the system call in the nocancel case.
8117
7d05a816
YR
81182014-05-20 Will Newton <will.newton@linaro.org>
8119 Yvan Roux <yvan.roux@linaro.org>
8120
8121 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
8122 #include of asm/ptrace.h.
8123 (PTRACE_GET_THREAD_AREA): Remove #undef.
8124 (PTRACE_GETHBPREGS): Likewise.
8125 (PTRACE_SETHBPREGS): Likewise.
8126 (struct user_regs_struct): New structure.
8127 (struct user_fpsimd_struct): New structure.
8128 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
8129 #include of asm/ptrace.h and second #include of sys/user.h.
8130 (PTRACE_GET_THREAD_AREA): Remove #undef.
8131 (PTRACE_GETHBPREGS): Likewise.
8132 (PTRACE_SETHBPREGS): Likewise.
8133 (ELF_NGREG): Use new struct user_regs_struct.
8134 (elf_fpregset_t): Use new struct user_fpsimd_struct.
8135
af121e37
AZ
81362014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8137
8138 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
8139 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
8140
834caf06
JM
81412014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
8142
8143 [BZ #16958]
8144 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
8145 membar to avoid block loads/stores to overlap previous stores.
8146
e184a918
RH
81472014-05-17 Richard Henderson <rth@redhat.com>
8148
8149 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
8150 Create the __##syscall_name##_nocancel entry point.
8151 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
8152 Remove; let the sysdep-cancel.h code create it.
8153
f56c7a6a
DM
81542014-05-17 David S. Miller <davem@davemloft.net>
8155
8156 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
8157 Protect with __USE_GNU.
8158 (TIOCSET_TEMPT): Likewise.
8159 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8160 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
8161 these are already provided in bits/ioctl-types.h
8162
f75616b2
RM
81632014-05-16 Roland McGrath <roland@hack.frob.com>
8164
3edeca86
RM
8165 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
8166 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
8167
f75616b2
RM
8168 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
8169 Use wait4 regardless of [__NR_waitpid].
8170
deb0f7f6
MR
81712014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8172
8173 PR libgcc/60166
8174 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8175 (_FP_NANSIGN_Q): Set the quiet bit.
8176
79520f4b
JM
81772014-05-16 Joseph Myers <joseph@codesourcery.com>
8178
8179 * benchtests/Makefile
8180 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
8181 not $(common-objpfx)math/libm.so.
8182 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
8183 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
8184 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
8185 $(common-objpfx)dlfcn/libdl.so.
8186 ($(objpfx)tst-audit8): Depend on $(libm), not
8187 $(common-objpfx)math/libm.so.
8188 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
8189 not $(common-objpfx)dlfcn/libdl.so.
8190 * math/Makefile
8191 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
8192 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
8193 [$(build-shared) = yes].
8194 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
8195 $(common-objpfx)nptl/libpthread.so.
8196 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
8197 $(common-objpfx)math/libm.so$(libm.so-version) or
8198 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
8199 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
8200 $(common-objpfx)dlfcn/libdl.so.
8201 * setjmp/Makefile (link-libm): Remove variable.
8202 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
8203 * stdio-common/Makefile (link-libm): Remove variable.
8204 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
8205 * stdlib/Makefile (link-libm): Remove variable.
8206 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
8207 ($(objpfx)tst-strtod-round): Likewise.
8208 ($(objpfx)tst-tininess): Likewise.
8209 ($(objpfx)tst-strtod-underflow): Likewise.
8210 ($(objpfx)tst-strtod6): Likewise.
8211 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
8212 $(libdl), not $(common-objpfx)nptl/libpthread.so and
8213 $(common-objpfx)dlfcn/libdl.so.
8214
026b0fe4
AZ
82152014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8216
8217 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
8218 BSD terminal modes definitions.
8219
def4bcb2
RM
82202014-05-16 Roland McGrath <roland@hack.frob.com>
8221
fe39b021
RM
8222 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
8223 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
8224
1d1fc46e 8225 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
8226 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
8227 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
8228 Don't do #include_next.
8229 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
8230 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
8231 Don't do #include_next.
8232 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
8233 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
8234 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
8235 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
8236
c72399fb
AM
82372014-05-16 Allan McRae <allan@archlinux.org>
8238
d51d659d
AM
8239 * po/sv.po: Update Swedish translation from translation project.
8240
c72399fb
AM
8241 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
8242 in sed expression.
8243
d0583c40
AJ
82442014-05-16 Aurelien Jarno <aurelien@aurel32.net>
8245
8246 [BZ #16917]
8247 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
8248 errno if the TIOCGPTN ioctl fails with an error different than
8249 EINVAL.
8250 * login/tst-ptsname.c: New file.
8251 * login/Makefile (tests): Add tst-ptsname.
8252
d16e6ec7
AJ
8253 [BZ #16943]
8254 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
8255 and prlimit64.
8256
cf26a0cb
SP
82572014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8258
8259 [BZ #16849]
8260 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
8261 herrno to return EAI_AGAIN.
8262
5675da1e
RM
82632014-05-14 Roland McGrath <roland@hack.frob.com>
8264
a5d87b3d
RM
8265 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
8266 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
8267 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
8268 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
8269 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
8270 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
8271 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
8272 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
8273 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
8274 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
8275 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
8276 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
8277 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
8278 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
8279 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
8280 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
8281 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
8282 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
8283 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
8284 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
8285 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
8286 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
8287 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
8288 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
8289 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
8290 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
8291 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
8292 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
8293 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
8294 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
8295 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
8296 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
8297 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
8298 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
8299 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8300 Moved ...
8301 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
8302 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
8303 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
8304 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
8305 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
8306 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
8307 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
8308 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
8309 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
8310 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
8311 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
8312 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
8313 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
8314 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
8315 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
8316 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
8317 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
8318 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
8319 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
8320 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
8321 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
8322 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
8323 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
8324 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
8325 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
8326 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
8327 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
8328 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8329 Moved ...
8330 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
8331 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
8332 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
8333 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
8334 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
8335 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
8336 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
8337 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
8338 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
8339 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
8340 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
8341 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
8342 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
8343 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
8344 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
8345 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
8346 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
8347 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
8348 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
8349 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8350 Moved ...
8351 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
8352 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
8353 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
8354
039890a6
RM
8355 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
8356 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
8357 (libpthread-sysdep_routines): Add elision-related stuff here instead.
8358 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
8359 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
8360 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
8361 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
8362 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
8363 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
8364 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
8365 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
8366 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
8367 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
8368 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
8369 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
8370 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
8371 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
8372 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
8373 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
8374 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
8375 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
8376 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
8377 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
8378 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
8379 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
8380 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
8381 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
8382 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
8383 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
8384 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
8385 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
8386
65c89320
RM
8387 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
8388 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
8389
348f8e8c
RM
8390 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
8391 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
8392 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
8393 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
8394 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
8395 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
8396 Moved ...
8397 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
8398 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
8399 Moved ...
8400 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
8401 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
8402 Moved ...
8403 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
8404 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
8405 Moved ...
8406 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
8407 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
8408 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
8409 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
8410 Moved ...
8411 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
8412 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
8413 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
8414 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
8415 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
8416 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
8417 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
8418 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
8419 Moved ...
8420 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
8421 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8422 Moved ...
8423 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8424 ... here.
8425 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
8426 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
8427 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
8428 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
8429 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8430 Moved ...
8431 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8432 ... here.
8433 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
8434 Moved ...
8435 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
8436 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
8437 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
8438 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
8439 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
8440 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
8441 Moved ...
8442 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
8443 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
8444 Moved ...
8445 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
8446 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
8447 Moved ...
8448 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
8449 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
8450 Moved ...
8451 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
8452 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
8453 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
8454 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
8455 Moved ...
8456 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
8457 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
8458 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
8459 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
8460 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
8461 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
8462 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
8463 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
8464 Moved ...
8465 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
8466 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8467 Moved ...
8468 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8469 ... here.
8470 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
8471 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
8472 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
8473 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
8474 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8475 Moved ...
8476 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8477 ... here.
8478 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
8479 Moved ...
8480 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
8481 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
8482 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
8483 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
8484 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
8485 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
8486 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
8487 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
8488 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
8489 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
8490 Moved ...
8491 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
8492 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
8493 Moved ...
8494 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
8495 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
8496 Moved ...
8497 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
8498 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
8499 Moved ...
8500 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
8501 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
8502 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
8503 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
8504 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
8505 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
8506 Moved ...
8507 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
8508 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
8509 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
8510 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
8511 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
8512 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
8513 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
8514 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
8515 Moved ...
8516 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
8517 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8518 Moved ...
8519 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8520 ... here.
8521 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
8522 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
8523 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
8524 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
8525 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8526 Moved ...
8527 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8528 ... here.
8529 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
8530 Moved ...
8531 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
8532 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
8533 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
8534 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
8535 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
8536 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
8537 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
8538 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
8539 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
8540 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
8541 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
8542
5085af05
RM
8543 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
8544 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
8545
708f0813
RM
8546 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
8547 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
8548
c96067bc
RM
8549 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
8550 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
8551 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
8552 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
8553 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
8554 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
8555 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
8556 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
8557 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
8558 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
8559 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
8560 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
8561 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
8562 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
8563 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
8564 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
8565 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
8566 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
8567 Moved ...
8568 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
8569 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
8570 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
8571 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
8572 Moved ...
8573 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
8574 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
8575 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
8576 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
8577 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
8578 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
8579 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
8580 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
8581 Moved ...
8582 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
8583 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
8584 Moved ...
8585 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
8586 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
8587 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
8588 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
8589 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
8590 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
8591 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
8592 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
8593 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
8594 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
8595 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
8596 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
8597 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
8598 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
8599 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
8600 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
8601 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
8602
ec136444
RM
8603 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
8604 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
8605 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
8606 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
8607 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
8608
2fbdf533
RM
8609 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
8610 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
8611 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
8612 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
8613 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
8614 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
8615 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
8616 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
8617 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
8618 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
8619
4c68138b
RM
8620 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
8621 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
8622
4eaae765
RM
8623 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
8624 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
8625 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
8626 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
8627 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
8628 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
8629 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
8630 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
8631 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
8632 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
8633 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
8634 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
8635 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
8636 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
8637 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
8638 Update #include.
8639 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
8640 Likewise.
8641 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8642 Likewise.
8643 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8644 Likewise.
8645 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8646 Likewise.
8647 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
8648 Likewise.
8649 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
8650 Likewise.
8651 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8652 Likewise.
8653 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
8654 Likewise.
8655 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
8656 Likewise.
4ef6befa
RM
8657 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
8658 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
8659 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
8660 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
8661 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
8662 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
8663 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
8664 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
8665 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
8666 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
8667 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
8668 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
8669 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
8670 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
8671 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 8672
941d7dfd
RM
8673 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
8674 that was previously under [RESET_PID].
8675 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8676 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
8677 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
8678
1b731c35
RM
8679 * sysdeps/i386/nptl/Implies: New file.
8680 * sysdeps/x86_64/nptl/Implies: New file.
8681 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
8682 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
8683 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
8684 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
8685
e2787137
RM
8686 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
8687 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8688 (__libc_vfork): New strong alias.
8689 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
8690 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
8691
8692 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
8693 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8694 (__libc_vfork): New strong alias.
8695 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
8696 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
8697
5675da1e
RM
8698 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
8699 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8700 (__libc_vfork): New strong alias.
8701 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
8702 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
8703 * nptl/pt-vfork.c: New file.
8704 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
8705 (libpthread: GLIBC_2.20): New version set (empty).
8706
4f02e2b8
WN
87072014-05-14 Will Newton <will.newton@linaro.org>
8708
8709 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
8710 rather than #if.
8711
0bf061d3
JM
87122014-05-14 Joseph Myers <joseph@codesourcery.com>
8713
1a84c3d6
JM
8714 [BZ #16564]
8715 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
8716 arguments with exponent 65 or above.
8717 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
8718 arguments 0x1p113L or above.
8719 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
8720 to arguments 0x1p107L or above.
8721 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
8722 positive arguments with exponent 65 or above.
8723 * math/auto-libm-test-in: Add more tests of log1p.
8724 * math/auto-libm-test-out: Regenerated.
8725
01dbacd2
JM
8726 [BZ #16928]
8727 * math/s_cacos.c (__cacos): Ensure zero real part of result from
8728 non-finite arguments is +0.
8729 * math/s_cacosf.c (__cacosf): Likewise.
8730 * math/s_cacosl.c (__cacosl): Likewise.
8731 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
8732 * sysdeps/i386/fpu/libm-test-ulps: Update.
8733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8734
913d03c8
JM
8735 [BZ #16927]
8736 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
8737 value.
8738 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8739 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
8740 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
8741 for explicit high bit of mantissa when testing for argument equal
8742 to 1.
8743 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
8744 * sysdeps/i386/fpu/libm-test-ulps: Update.
8745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8746
0bf061d3
JM
8747 [BZ #16516]
8748 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
8749 (__erf): Scale by 16 instead of 8 in potentially underflowing
8750 case. Ensure exception if result actually underflows.
8751 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
8752 (__erff): Scale by 16 instead of 8 in potentially underflowing
8753 case. Ensure exception if result actually underflows.
8754 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
8755 (efx8): Remove variable.
8756 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8757 case. Ensure exception if result actually underflows.
8758 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
8759 (efx8): Remove variable.
8760 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8761 case. Ensure exception if result actually underflows.
8762 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
8763 (efx8): Remove variable.
8764 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8765 case. Ensure exception if result actually underflows.
8766 * math/auto-libm-test-in: Add more tests of erf.
8767 * math/auto-libm-test-out: Regenerated.
8768
73ba67cb
AS
87692014-05-14 Andreas Schwab <schwab@suse.de>
8770
3d8c8bff
AS
8771 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
8772 Remove code conditionalized on USE___THREAD.
8773
73ba67cb
AS
8774 * config.h.in (HAVE_PT_CHOWN): Define as 0.
8775 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
8776 not definedness.
8777
5c521ecd
JM
87782014-05-14 Joseph Myers <joseph@codesourcery.com>
8779
5e7698c6
JM
8780 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
8781 Define unconditionally.
8782 (__ASSUME_O_CLOEXEC): Likewise.
8783 (__ASSUME_SOCK_CLOEXEC): Likewise.
8784 (__ASSUME_IN_NONBLOCK): Likewise.
8785 (__ASSUME_PIPE2): Likewise.
8786 (__ASSUME_EVENTFD2): Likewise.
8787 (__ASSUME_SIGNALFD4): Likewise.
8788 (__ASSUME_DUP3): Likewise.
8789 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8790 (__ASSUME_DUP3): Do not define.
8791 (__ASSUME_EVENTFD2): Likewise.
8792 (__ASSUME_IN_NONBLOCK): Likewise.
8793 (__ASSUME_O_CLOEXEC): Likewise.
8794 (__ASSUME_PIPE2): Likewise.
8795 (__ASSUME_SIGNALFD4): Likewise.
8796 (__ASSUME_SOCK_CLOEXEC): Likewise.
8797 (__ASSUME_UTIMES): Undefine.
8798 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8799 (__ASSUME_UTIMES): Do not define.
8800 (__ASSUME_O_CLOEXEC): Likewise.
8801 (__ASSUME_SOCK_CLOEXEC): Likewise.
8802 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
8803 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
8804 0x020621].
8805 (__ASSUME_PIPE2): Likewise.
8806 (__ASSUME_EVENTFD2): Likewise.
8807 (__ASSUME_SIGNALFD4): Likewise.
8808 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
8809 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
8810 Do not define.
8811 (__ASSUME_EVENTFD2): Likewise.
8812 (__ASSUME_SIGNALFD4): Likewise.
8813 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8814 (__ASSUME_32BITUIDS): Likewise.
8815 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8816 (__ASSUME_IPC64): Likewise.
8817 (__ASSUME_ST_INO_64_BIT): Likewise.
8818 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
8819 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
8820 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8821 (__ASSUME_UTIMES): Do not define.
8822 (__ASSUME_PSELECT): Likewise.
8823 (__ASSUME_PPOLL): Likewise.
8824 (__ASSUME_O_CLOEXEC): Likewise.
8825 (__ASSUME_SOCK_CLOEXEC): Likewise.
8826 (__ASSUME_IN_NONBLOCK): Likewise.
8827 (__ASSUME_PIPE2): Likewise.
8828 (__ASSUME_EVENTFD2): Likewise.
8829 (__ASSUME_SIGNALFD4): Likewise.
8830 (__ASSUME_DUP3): Likewise.
8831 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8832 (__ASSUME_UTIMES): Likewise.
8833 (__ASSUME_O_CLOEXEC): Likewise.
8834 (__ASSUME_SOCK_CLOEXEC): Likewise.
8835 (__ASSUME_IN_NONBLOCK): Likewise.
8836 (__ASSUME_PIPE2): Likewise.
8837 (__ASSUME_EVENTFD2): Likewise.
8838 (__ASSUME_SIGNALFD4): Likewise.
8839 (__ASSUME_DUP3): Likewise.
8840 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8841 (__ASSUME_UTIMES): Likewise.
8842 (__ASSUME_O_CLOEXEC): Likewise.
8843 (__ASSUME_SOCK_CLOEXEC): Likewise.
8844 (__ASSUME_IN_NONBLOCK): Likewise.
8845 (__ASSUME_PIPE2): Likewise.
8846 (__ASSUME_EVENTFD2): Likewise.
8847 (__ASSUME_SIGNALFD4): Likewise.
8848 (__ASSUME_DUP3): Likewise.
8849 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
8850 Likewise.
8851 (__ASSUME_UTIMES): Likewise.
8852 (__ASSUME_EVENTFD2): Likewise.
8853 (__ASSUME_SIGNALFD4): Likewise.
8854 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8855 (__ASSUME_O_CLOEXEC): Likewise.
8856 (__ASSUME_SOCK_CLOEXEC): Likewise.
8857 (__ASSUME_IN_NONBLOCK): Likewise.
8858 (__ASSUME_PIPE2): Likewise.
8859 (__ASSUME_EVENTFD2): Likewise.
8860 (__ASSUME_SIGNALFD4): Likewise.
8861 (__ASSUME_DUP3): Likewise.
8862 (__ASSUME_UTIMES): Undefine.
8863
5c521ecd
JM
8864 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
8865 feclearexcept. Remove symbol versioning code.
8866 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
8867 symbol versioning code.
8868 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
8869 symbol versioning code.
8870 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
8871 feupdateenv. Remove symbol versioning code.
8872 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
8873 fegetexceptflag. Remove symbol versioning code.
8874 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
8875 fesetexceptflag. Remove symbol versioning code.
8876 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
8877 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
8878 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
8879 (__posix_fadvise64_l32): Remove prototype.
8880 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
8881 code.
8882
5da9dfad
RM
88832014-05-13 Roland McGrath <roland@hack.frob.com>
8884
8885 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
8886 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
8887 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
8888 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
8889
893b4f37
SK
88902014-05-13 Sami Kerola <kerolasa@iki.fi>
8891
8892 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
8893 current working directory
8894
e0db6517
RM
88952014-05-13 Roland McGrath <roland@hack.frob.com>
8896
58aa195d
RM
8897 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
8898 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
8899 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
8900 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
8901 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
8902 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
8903 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
8904 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
8905 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8906 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8907 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8908 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8909 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8910 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8911 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8912 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8913 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8914 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8915 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8916 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8917 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8918 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8919 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8920 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8921 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8922 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8923 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8924 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8925 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8926 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8927 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8928 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8929 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8930 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8931 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8932 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8933 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8934 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8935 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8936 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8937 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8938 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8939
8c6d01f0
RM
8940 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8941 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8942
8943 * sysdeps/unix/sysv/linux/arm/Makefile
8944 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8945 Add rt-aeabi_unwind_cpp_pr1.
8946 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8947 Add nptl-aeabi_unwind_cpp_pr1.
8948 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8949 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8950 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8951 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8952 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8953 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8954
8955 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8956 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8957 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8958 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8959
bba6da4e
RM
8960 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8961 Deconditionalize the code that was previously under [RESET_PID].
8962 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8963
e0db6517
RM
8964 * sysdeps/generic/exit-thread.h: New file.
8965 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8966 * include/unistd.h (__exit_thread): Remove declaration.
8967 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8968 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8969 * csu/libc-start.c: Include <exit-thread.h>.
8970 (LIBC_START_MAIN): Pass no argument to __exit_thread.
8971 * nptl/pthread_create.c: Include <exit-thread.h>.
8972 (start_thread): Call __exit_thread in place of __exit_thread_inline.
8973 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8974 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8975 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8976 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8977 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8978 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8979 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8980 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8981 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8982 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8983 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8984 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8985 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8986 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8987 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8988 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8989
01eb16fd
AS
89902014-05-13 Andreas Schwab <schwab@suse.de>
8991
8992 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8993
637461d9
JM
89942014-05-12 Joseph Myers <joseph@codesourcery.com>
8995
8996 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8997 (__ASSUME_UTIMES): Do not condition on kernel version.
8998 (__ASSUME_PSELECT): Define unconditionally.
8999 (__ASSUME_PPOLL): Likewise.
9000 (__ASSUME_ATFCTS): Likewise.
9001 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
9002 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
9003 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
9004 (__ASSUME_UTIMENSAT): Define unconditionally.
9005 (__ASSUME_PRIVATE_FUTEX): Likewise.
9006 (__ASSUME_FALLOCATE): Likewise.
9007 (__ASSUME_O_CLOEXEC): Likewise.
9008 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
9009 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
9010 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
9011 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
9012 (__ASSUME_IN_NONBLOCK): Likewise.
9013 (__ASSUME_PIPE2): Likewise.
9014 (__ASSUME_EVENTFD2): Likewise.
9015 (__ASSUME_SIGNALFD4): Likewise.
9016 (__ASSUME_DUP3): Likewise.
9017 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9018 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
9019 (__ASSUME_AT_RANDOM): Likewise.
9020 (__ASSUME_PREADV): Likewise.
9021 (__ASSUME_PWRITEV): Likewise.
9022 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
9023 (__ASSUME_F_GETOWN_EX): Define unconditionally.
9024 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
9025 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9026 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
9027 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9028 (__ASSUME_O_CLOEXEC): Define unconditionally.
9029 (__ASSUME_PSELECT): Do not undefine conditionally.
9030 (__ASSUME_PPOLL): Likewise.
9031 (__ASSUME_ATFCTS): Likewise.
9032 (__ASSUME_SET_ROBUST_LIST): Likewise.
9033 (__ASSUME_UTIMENSAT): Likewise.
9034 (__ASSUME_FDATASYNC): Define unconditionally.
9035 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9036 (__ASSUME_SIGFRAME_V2): Likewise.
9037 )__ASSUME_EVENTFD2): Likewise.
9038 (__ASSUME_SIGNALFD4): Likewise.
9039 (__ASSUME_PSELECT): Do not undefine conditionally.
9040 (__ASSUME_PPOLL): Likewise.
9041 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9042 (__ASSUME_PSELECT): Define unconditionally.
9043 (__ASSUME_PPOLL): Likewise.
9044 (__ASSUME_O_CLOEXEC): Likewise.
9045 (__ASSUME_SOCK_CLOEXEC): Likewise.
9046 (__ASSUME_IN_NONBLOCK): Likewise.
9047 (__ASSUME_PIPE2): Likewise.
9048 (__ASSUME_EVENTFD2): Likewise.
9049 (__ASSUME_SIGNALFD4): Likewise.
9050 (__ASSUME_DUP3): Likewise.
9051 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9052 (__ASSUME_O_CLOEXEC): Likewise.
9053 (__ASSUME_SOCK_CLOEXEC): Likewise.
9054 (__ASSUME_IN_NONBLOCK): Likewise.
9055 (__ASSUME_PIPE2): Likewise.
9056 (__ASSUME_EVENTFD2): Likewise.
9057 (__ASSUME_SIGNALFD4): Likewise.
9058 (__ASSUME_DUP3): Likewise.
9059 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9060 (__ASSUME_EVENTFD2): Likewise.
9061 (__ASSUME_SIGNALFD4): Likewise.
9062 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9063
315eb1d8
AS
90642014-05-12 Andreas Schwab <schwab@suse.de>
9065
9066 [BZ #16932]
9067 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
9068 (_nss_nis_gethostbyname4_r): Return error if item length is larger
9069 than maximum RPC packet size.
9070 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
9071 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
9072 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
9073 (_nss_nis_getservbyport_r): Likewise.
9074
91df99f7
WN
90752014-05-12 Will Newton <will.newton@linaro.org>
9076
9077 * malloc/Makefile (tests): Add tst-mallopt.
9078 * malloc/tst-mallopt.c: New file.
9079
0a982a29
RM
90802014-05-09 Roland McGrath <roland@hack.frob.com>
9081
9082 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
9083 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
9084
0ded08a5
AZ
90852014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9086
9087 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
9088 (tst-tlsmod6.so): Likewise.
9089
55d4d550
RM
90902014-05-09 Roland McGrath <roland@hack.frob.com>
9091
9092 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
9093
77d08aca
JM
90942014-05-09 Joseph Myers <joseph@codesourcery.com>
9095
9096 [BZ #16064]
9097 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
9098 and <dl-procinfo.h>.
9099 (__fegetenv): Save SSE state in envp->__eip if supported.
9100 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
9101 envp->__eip if supported.
9102 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
9103 and <dl-procinfo.h>.
9104 (__fesetenv): Always set __eip, __cs_selector, __opcode,
9105 __data_offset and __data_selector in environment to 0. Set SSE
9106 state if supported.
9107 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9108 test-fenv-sse.
9109 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
9110 -mfpmath=sse.
9111 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
9112
28162f4d
WN
91132014-05-09 Will Newton <will.newton@linaro.org>
9114
9115 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
9116 and libc_relro_required for ARM.
9117 * sysdeps/arm/preconfigure: Regenerate.
9118
5a414ff7
DV
91192014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
9120 Stefan Liebler <stli@linux.vnet.ibm.com>
9121
9122 * config.make.in (enable-lock-elision): New Makefile variable.
9123 * configure.ac: Likewise.
9124 * configure: Regenerate.
9125 * sysdeps/s390/configure.ac:
9126 Add check for gcc transactions support.
9127 * sysdeps/s390/configure: Regenerate.
9128 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
9129 Build elision files if enabled.
9130 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
9131 Add lock elision support for s390.
9132 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
9133 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
9134 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
9135 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9136 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
9137 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
9138 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9139 Likewise.
9140 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
9141 Likewise.
9142 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
9143 Likewise.
9144 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
9145 Likewise.
9146 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
9147 (__lll_timedlock_elision, __lll_lock_elision)
9148 (__lll_unlock_elision, __lll_trylock_elision)
9149 (lll_timedlock_elision, lll_lock_elision)
9150 (lll_unlock_elision, lll_trylock_elision): Add.
9151 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9152 (pthread_mutex_t): Add lock elision support for s390.
9153
1a2f40e5
W
91542014-05-14 Wilco <wdijkstr@arm.com>
9155
9156 * sysdeps/arm/fclrexcpt.c: Cleanup.
9157 * sysdeps/arm/fedisblxcpt.c: Cleanup.
9158 * sysdeps/arm/feenablxcpt.c: Cleanup.
9159 * sysdeps/arm/fegetenv.c: Cleanup.
9160 * sysdeps/arm/fegetexcept.c: Cleanup.
9161 * sysdeps/arm/fegetround.c: Cleanup.
9162 * sysdeps/arm/feholdexcpt.c: Cleanup.
9163 * sysdeps/arm/fesetenv.c: Cleanup.
9164 * sysdeps/arm/fesetround.c: Cleanup.
9165 * sysdeps/arm/feupdateenv.c: Cleanup.
9166 * sysdeps/arm/fgetexcptflg.c: Cleanup.
9167 * sysdeps/arm/fraiseexcpt.c: Cleanup.
9168 * sysdeps/arm/fsetexcptflg.c: Cleanup.
9169 * sysdeps/arm/ftestexcept.c: Cleanup.
9170 * sysdeps/arm/get-rounding-mode.h: Cleanup.
9171 * sysdeps/arm/setfpucw.c: Cleanup.
9172
f63c86fe
WN
91732014-05-09 Will Newton <will.newton@linaro.org>
9174
9175 * sysdeps/arm/armv7/strcmp.S: New file.
9176 * NEWS: Mention addition of ARMv7 optimized strcmp.
9177
7a1a51b5
RM
91782014-05-08 Roland McGrath <roland@hack.frob.com>
9179
95afbbe5
RM
9180 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
9181 look for %.ac rather than %.in.
9182
9183 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
9184 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
9185 * sysdeps/mach/hurd/configure: Regenerated.
9186 * sysdeps/unix/sysv/linux/configure: Regenerated.
9187
7a1a51b5
RM
9188 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
9189
5057ad3b
SE
91902014-05-07 Steve Ellcey <sellcey@mips.com>
9191
9192 [BZ# 16922]
9193 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
9194 (LONG_SUB): Ditto.
9195 (PTR_SUB): Ditto.
9196
8dc97517
AS
91972014-05-07 Andreas Schwab <schwab@suse.de>
9198
9199 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
9200 when skipping over non-matching result from nscd.
9201
ce0c5b8f
OB
92022014-05-07 Ondřej Bílka <neleai@seznam.cz>
9203
9204 [BZ #16876]
9205 * nptl/sockperf.c (client): Check socket return value.
8dc97517 9206
a1189263
OB
9207 [BZ #16877]
9208 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
9209 nscd security class.
ce0c5b8f 9210
0f58d252
RM
92112014-05-06 Roland McGrath <roland@hack.frob.com>
9212
9213 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
9214 * sysdeps/arm/unwind.h: ... here.
9215
83df9ad0
AJ
92162014-05-06 Aurelien Jarno <aurelien@aurel32.net>
9217
ce0c5b8f
OB
9218 [BZ# 16916]
9219 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
9220 Define.
83df9ad0 9221
f360f94a
VR
92222014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9223
9224 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
9225 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
9226 multiarch strncpy for PPC64.
9227 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
9228 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
9229 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
9230 multiarch optimizations.
9231 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9232 (__libc_ifunc_impl_list): Likewise.
9233 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
9234 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
9235 multiarch stpncpy for PPC64.
9236 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
9237 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
9238
978a41c3
AS
92392014-05-06 Andreas Schwab <schwab@suse.de>
9240
9241 [BZ #16912]
9242 * gmon/mcount.c (_MCOUNT_DECL): Use
9243 atomic_compare_and_exchange_bool_acq instead of
9244 catomic_compare_and_exchange_bool_acq.
9245
eb1ed03d
RM
92462014-05-05 Roland McGrath <roland@hack.frob.com>
9247
fe658845
RM
9248 * elf/Makefile (others, install-bin): Remove pldd.
9249 (pldd-modules): Variable removed.
9250 ($(objpfx)pldd): Target removed.
9251 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
9252 (others, install-bin): Append pldd here.
9253 ($(objpfx)pldd): New target.
9254
eb1ed03d
RM
9255 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
9256 to 0, so the first #if test emitted later doesn't see it undefined.
9257 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
9258 * sysdeps/gnu/errlist.c: Regenerated.
9259
19c4bec0
AZ
92602014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9261
9262 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9263 [libc_hidden_builtin_def]: Define to empty value.
9264 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
9265 [libc_hidden_builtin_def]: Likewise.
9266 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
9267 [libc_hidden_builtin_def]: Likewise.
9268 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
9269 [libc_hidden_builtin_def]: Likewise.
9270 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
9271 __redirect_memcpy and define ifunc as default hidden symbol.
9272 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
9273 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
9274
7776e669
AC
92752014-05-04 Adam Conrad <adconrad@0c3.net>
9276
9277 * locale/iso-4217.def: Reintroduce XDR currency.
9278
d69aeb12
AM
92792014-05-04 Allan McRae <allan@archlinux.org>
9280
9281 * po/eo.po: Update Esperanto translation from translation project.
9282
8f1df5cf
CD
92832014-05-02 Carlos O'Donell <carlos@redhat.com>
9284
9285 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
9286 and FEATURE_INDEX_MAX to 1.
9287 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
9288
13e402e7
SE
92892014-05-01 Steve Ellcey <sellcey@mips.com>
9290
9291 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
9292 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
9293 * iconvdata/big5.c (ONE_DIRECTION): Define.
9294 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
9295 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
9296 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
9297 * iconvdata/cp932.c (ONE_DIRECTION): Define.
9298 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
9299 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
9300 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
9301 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
9302 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
9303 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
9304 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
9305 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
9306 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
9307 * iconvdata/gbk.c (ONE_DIRECTION): Define.
9308 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
9309 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
9310 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
9311 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
9312 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
9313 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
9314 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
9315 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
9316 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
9317 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
9318 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
9319 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
9320 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
9321 * iconvdata/iso646.c (ONE_DIRECTION): Define.
9322 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
9323 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
9324 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
9325 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
9326 * iconvdata/johab.c (ONE_DIRECTION): Define.
9327 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
9328 * iconvdata/sjis.c (ONE_DIRECTION): Define.
9329 * iconvdata/t.61.c (ONE_DIRECTION): Define.
9330 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
9331 * iconvdata/tscii.c (ONE_DIRECTION): Define.
9332 * iconvdata/uhc.c (ONE_DIRECTION): Define.
9333 * iconvdata/unicode.c (ONE_DIRECTION): Define.
9334 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
9335 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
9336 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
9337
c727f032
RM
93382014-05-01 Roland McGrath <roland@hack.frob.com>
9339
8f2f08d0
RM
9340 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
9341 (_IO_JUMPS_OFFSET): Define to 0.
9342
c727f032
RM
9343 * nptl/sysdeps/pthread/bits/libc-lock.h
9344 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9345 (__libc_lock_define_initialized_recursive): Always define using
9346 initializer. Modern compilers treat uninitialized (implicit zero) and
9347 explicit zero initializers the same (i.e. put the datum in bss).
9348
a849e800
AS
93492014-05-01 Andreas Schwab <schwab@linux-m68k.org>
9350
9351 * nscd/nscd-client.h: Include <string.h>.
9352
5331255b
DM
93532014-05-01 David S. Miller <davem@davemloft.net>
9354
9355 [BZ #16885]
9356 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
9357 multiple zero bytes exist at the end of a string.
9358 Reported by Aurelien Jarno <aurelien@aurel32.net>
9359
9360 * string/test-strcmp.c (check): Add explicit test for situations where
9361 there are multiple zero bytes after the first.
9362
4fdfe821
AS
93632014-05-01 Andreas Schwab <schwab@linux-m68k.org>
9364
9365 [BZ #16890]
9366 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
9367 when compiling wprintf.
9368 * stdio-common/tstdiomisc.c (t3): New function.
9369 (main): Call it.
9370
0cdddc25
SE
93712014-05-01 Steve Ellcey <sellcey@mips.com>
9372
9373 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
9374 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
9375 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
9376 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
9377
6426d77e
SE
93782014-05-01 Steve Ellcey <sellcey@mips.com>
9379
9380 * stdlib/longlong.h: Updated from GCC.
9381
6d96f5e4
WN
93822014-05-01 Will Newton <will.newton@linaro.org>
9383 Bernard Ogden <bernie.ogden@linaro.org>
9384
7470db0c
WN
9385 * NEWS: Update fixed bug list.
9386
6d96f5e4
WN
9387 [BZ #15119]
9388 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
9389
211d653c
DM
93902014-04-30 David S. Miller <davem@davemloft.net>
9391
4fa262fa
DM
9392 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
9393 (libc_feholdexcept_setround_sparc_ctx): New function.
9394 (libc_fesetenv_sparc_ctx): Likewise.
9395 (libc_feupdateenv_sparc_ctx): Likewise.
9396 (libc_feholdsetround_sparc_ctx): Likewise.
9397 (libc_feholdexcept_setround_ctx): Define.
9398 (libc_feholdexcept_setroundf_ctx): Likewise.
9399 (libc_feholdexcept_setroundl_ctx): Likewise.
9400 (libc_fesetenv_ctx): Likewise.
9401 (libc_fesetenvf_ctx): Likewise.
9402 (libc_fesetenvl_ctx): Likewise.
9403 (libc_feupdateenv_ctx): Likewise.
9404 (libc_feupdateenvf_ctx): Likewise.
9405 (libc_feupdateenvl_ctx): Likewise.
9406 (libc_feresetround_ctx): Likewise.
9407 (libc_feresetroundf_ctx): Likewise.
9408 (libc_feresetroundl_ctx): Likewise.
9409 (libc_feholdsetround_ctx): Likewise.
9410 (libc_feholdsetroundf_ctx): Likewise.
9411 (libc_feholdsetroundl_ctx): Likewise.
9412
1d3d93ef
DM
9413 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9414 with __USE_GNU instead of XOPEN cpp guards.
9415
8aa583c3
DM
9416 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
9417 0.
9418
211d653c
DM
9419 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9420 with XOPEN cpp guards.
9421
60c8f1f6
JB
94222014-04-30 Julian Brown <julian@codesourcery.com>
9423
9424 [BZ #16888]
9425 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
9426 handling.
9427
9a461d46
JM
94282014-04-30 Joseph Myers <joseph@codesourcery.com>
9429
d0f5b3f8
JM
9430 [BZ #9894]
9431 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
9432 Change to 2.6.32.
9433 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
9434 * sysdeps/unix/sysv/linux/configure: Regenerated.
9435 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
9436 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
9437 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
9438 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
9439 * README: Update reference to required Linux kernel version.
9440 * manual/install.texi (Linux): Update reference to required Linux
9441 kernel headers version.
9442 * INSTALL: Regenerated.
9443
9a461d46
JM
9444 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
9445 header inclusion.
9446 [POSIX] (limits.h): Likewise.
9447 [POSIX] (math.h): Likewise.
9448 [POSIX] (sys/wait.h): Likewise.
9449 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
9450 function.
9451 [POSIX] (stddef.h): Do not allow header inclusion.
9452
1775babf
AZ
94532014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9454
57f41c40 9455 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 9456
8f630cca
YY
94572014-04-30 Yang Yingliang <yangyingliang@huawei.com>
9458
9459 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9460 Return immediately after lll_futex_wake.
9461
1cdeb237
SP
94622014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9463
bc8f194c
SP
9464 [BZ #16791]
9465 * nscd/nscd-client.h (datahead_init_common): Initialize entire
9466 structure.
9467 (datahead_init_pos): Call datahead_init_common early.
9468 (datahead_init_neg): Likewise.
9469
1cdeb237
SP
9470 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
9471 datahead_init_neg): New functions.
9472 * nscd/aicache.c (addhstaiX): Use them.
9473 * nscd/grpcache.c (cache_addgr): Likewise.
9474 * nscd/hstcache.c (cache_addhst): Likewise.
9475 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9476 * nscd/netgroupcache.c (do_notfound): Likewise.
9477 (addgetnetgrentX): Likewise.
9478 (addinnetgrX): Likewise.
9479 * nscd/pwdcache.c (cache_addpw): Likewise.
9480 * nscd/servicescache.c (cache_addserv): Likewise.
9481
16b293a7
SP
94822014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9483 Atsushi Onoe <atsushi@onoe.org>
9484
9485 [BZ #14308]
9486 [BZ #12994]
9487 [BZ #13651]
9488 * resolv/res_query.c (__libc_res_nsearch): Return if at least
9489 one response is valid.
9490 * resolv/res_send.c (send_dg): Check for validity of other
9491 response if the current response is a referral.
9492
a28a9b94
SE
94932014-04-29 Steve Ellcey <sellcey@mips.com>
9494
9495 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
9496
2ca180e9
SL
94972014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
9498
9499 [BZ #16823]
9500 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
9501 Always divide by positive zero when computing -Inf result.
9502 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9503 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
9504
18f2945a
AZ
95052014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9506
9507 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
9508 FPSCR if value do not change.
9509 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9510 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
9511 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9512 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9513 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
9514 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
9515 function.
9516
5abebba4
CD
95172014-05-29 Carlos O'Donell <carlos@systemhalted.org>
9518
9519 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
9520 * sysdeps/unix/sysv/linux/hppa: Move directory from
9521 ports/systeps/unix/sysv/linux/hppa.
9522 * README: Update listing for hppa-*-linux-gnu.
9523
f7ed60c2
OB
95242014-04-28 Ondřej Bílka <neleai@seznam.cz>
9525
fff763a5
OB
9526 [BZ #16754]
9527 * manual/stdio.texi (Hook functions): Fix types of stream hook
9528 functions.
f7ed60c2
OB
9529 [BZ #16854]
9530 * socket/sys/socket.h: Fix typo in comment.
9531
df639d73
WD
95322014-04-28 Wilco <wdijkstr@arm.com>
9533
f7ed60c2 9534 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
9535 * sysdeps/arm/math_private.h: New file.
9536 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
9537
48332d82
L
95382014-04-25 H.J. Lu <hongjiu.lu@intel.com>
9539
9540 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
9541 with __int128_t.
9542 (La_x86_64_retval): Likewise.
9543
e5e0d9a4
IB
95442014-04-24 Ian Bolton <ian.bolton@arm.com>
9545
9546 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
9547 fpsr if value didn't change.
9548 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
9549 to fpcr if value didn't change.
9550 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
9551 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
9552 fpsr or fpcr if value didn't change.
9553 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9554 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
9555 fpcr if value didn't change.
9556 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
9557 to fpsr if value didn't change.
9558
bacc75f7
SP
95592014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9560
9561 * nptl/tst-sem3.c: Use test-skeleton.c
9562 (main): Rename to do_test. Use return instead of
9563 exit.
9564 * nptl/tst-sem4.c: Use test-skeleton.c
9565 (main): Rename to do_test.
9566
a059d359
DM
95672014-04-22 David S. Miller <davem@davemloft.net>
9568
9569 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
9570 (struct sigaction): New struct member __glibc_reserved0, change
9571 type of sa_flags to int.
9572
ea6c92f3
YZ
95732014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
9574
9575 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
9576 (COUNT_LEADING_ZEROS_0): Define for AArch64.
9577
766c4a36
SP
95782014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9579
9580 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
9581 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
9582
140cc7ab
VK
95832014-04-22 Will Newton <will.newton@linaro.org>
9584 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
9585
9586 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
9587 (__longjmp): Add longjmp and longjmp_target SystemTap
9588 probes.
9589 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
9590 (__sigsetjmp): Add setjmp SystemTap probe.
9591
c54e5cf7
CD
95922014-04-17 Carlos O'Donell <carlos@redhat.com>
9593
9594 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
9595 match manual order.
9596
75ffb047
AZ
95972014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9598
9599 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
9600
2cd925f7
AZ
9601 * sysdeps/powerpc/fpu/fenv_private.h
9602 (libc_feholdexcept_setroundl_ctx): Define to
9603 libc_feholdexcept_setround_ppc_ctx.
9604 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
9605 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
9606 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
9607 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
9608
39e6cd8d
IB
96092014-04-17 Ian Bolton <ian.bolton@arm.com>
9610
9611 * sysdeps/aarch64/math-tests.h: New file.
9612
f9281df9
SY
96132014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
9614
9615 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
9616 New.
9617 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9618 Check and set bit_AVX2_Usable.
9619 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
9620 macro.
9621 (bit_AVX2): Likewise.
9622 (index_AVX2_Usable): Likewise.
9623 (CPUID_AVX2): Likewise.
9624 (HAS_AVX2): Likewise.
9625
37d35007
WN
96262014-04-17 Will Newton <will.newton@linaro.org>
9627
7c677662
WN
9628 * manual/setjmp.texi (System V contexts): Add note that
9629 calling setcontext on a context created by a call to a
9630 signal handler is undefined. Update text to note that
9631 setcontext from a signal handler is possible but not
9632 recommended.
9633
37d35007 9634 [BZ #16629]
e04a4e9d
WN
9635 * stdlib/tst-setcontext.c: Include signal.h.
9636 (main): Check that the signal stack before and
9637 after swapcontext is the same.
9638
37d35007
WN
9639 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
9640 Re-implement to restore registers in user code and avoid
9641 rt_sigreturn system call.
9642
423a7160
W
96432014-04-17 Wilco <wdijkstr@arm.com>
9644
9645 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
9646 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
9647 * math/test-fenv.c: Skip exception trap tests on targets which only
9648 support non-stop mode.
9649
bc93ab29
IB
96502014-04-17 Ian Bolton <ian.bolton@arm.com>
9651 Wilco Dijkstra <wilco.dijkstra@arm.com>
9652
9653 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
9654 (libc_feholdsetround_aarch64_ctx)
9655 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
9656 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
9657 (libc_feresetround_ctx, libc_feresetroundf_ctx)
9658 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
9659 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
9660 (libc_feresetround_noexl_ctx): Define.
9661
95fc5fa3
RH
96622014-04-16 Richard Henderson <rth@redhat.com>
9663
ddb04724
RH
9664 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
9665
d77c0899
RH
9666 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
9667 unwind tables.
9668
a3df56fc
RH
9669 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
9670 const from the non-libc, non-ldso copy.
9671
95fc5fa3
RH
9672 * sysdeps/alpha/libm-test-ulps: Regenerate.
9673
7e0b6763
IB
96742014-04-16 Ian Bolton <ian.bolton@arm.com>
9675 Wilco Dijkstra <wilco.dijkstra@arm.com>
9676
9677 * sysdeps/aarch64/fpu/math_private.h: New file.
9678
a9ea2e0c
MS
96792014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
9680
9681 * sysdeps/aarch64/libm-test-ulps: Regenerate.
9682
ea8ba7cd
IZ
96832014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
9684
7e54fd04 9685 [BZ #16275]
ea8ba7cd
IZ
9686 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
9687 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
9688 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
9689 Intel MPX bound registers before _dl_profile_fixup.
9690 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
9691 registers after _dl_profile_fixup. Save and restore bound
9692 registers bnd0/bnd1 when calling _dl_call_pltexit.
9693 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
9694 (LR_BND_OFFSET): Likewise.
9695 (LRV_BND0_OFFSET): Likewise.
9696 (LRV_BND1_OFFSET): Likewise.
9697
9f2a4fbc
ST
96982014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9699
9700 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
9701 to...
9702 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
9703 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
9704 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
9705 fields.
9f2a4fbc 9706
fd15a59b
ST
97072014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9708
9709 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
9710
f19dfa0a
SL
97112014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9712
9713 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9714
4fa8bc3b
SL
97152014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9716
9717 [BZ #14770]
9718 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
9719 * sysdeps/s390/configure: Regenerate.
9720
8ea587db
SL
9721 [BZ #16824]
9722 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
9723 Set round-to-nearest internally to reduce error accumulation.
9724
aa5f0ff1
AM
97252014-04-16 Alan Modra <amodra@gmail.com>
9726
9727 [BZ #16740]
9728 [BZ #16619]
9729 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
9730 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 9731 * NEWS: Update fixed bug list.
aa5f0ff1 9732
bb9c256f
SP
97332014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9734
9735 * benchtests/Makefile: Depend on libraries in build directory.
9736 (bench-math): Separate out math tests.
9737 (bench-pthread): Separate out pthread tests.
9738 (bench): Include math and pthread tests.
9739
f737dfd0
CD
97402014-04-14 Carlos O'Donell <carlos@redhat.com>
9741
9742 [BZ #16831]
9743 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
9744 _dl_debug_initialize.
9745
0699f766
CD
9746 * configure.ac: Remove SELinux header check.
9747 * configure: Regenerate.
9748 * nscd/selinux.c (perms): Array of const char* to permission names.
9749 (nscd_request_avc_has_perm): Call security_deny_unknown to find
9750 default policy. Call string_to_security_class and string_to_av_perm to
9751 translate strings. Enforce default policy and call avs_has_perm with
9752 results of translated strings.
9753
809bd45f
DM
97542014-04-13 David S. Miller <davem@davemloft.net>
9755
9756 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9757
89e691f2
AM
97582014-04-12 Allan McRae <allan@archlinux.org>
9759
9760 [BZ #16838]
9761 * manual/string.texi (Collation Functions): Fix qsort argument
9762 order in example.
9763 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9764
9c9daaeb
CM
97652014-04-11 Chris Metcalf <cmetcalf@tilera.com>
9766
9767 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
9768 Make the test a no-op if there are no exceptions defined.
9769
95561fb9
PP
97702014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
9771
fe8d072c 9772 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
9773 enable-hardcoded-path-in-tests
9774
970c602a
WN
97752014-04-11 Will Newton <will.newton@linaro.org>
9776
9777 * benchtests/Makefile (extra-objs): Add json-lib.o.
9778 (bench-func): Tidy up JSON output.
9779 * benchtests/bench-skeleton.c: Include json-lib.h.
9780 (main): Use JSON library functions to do output of
9781 benchmark results.
9782 * benchtests/bench-timing-type.c (main): Output the
9783 timing type simply, leaving formatting to the user.
9784 * benchtests/json-lib.c: New file.
9785 * benchtests/json-lib.h: Likewise.
9786
36875b06
TR
97872014-04-11 Torvald Riegel <triegel@redhat.com>
9788
9789 [BZ #15215]
9790 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
9791 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
9792 memory barriers. Add comments.
9793 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
9794 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
9795 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
9796 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
9797 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
9798 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
9799
579db35a
SL
98002014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9801
9802 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
9803 * sysdeps/s390/s390-64/configure.ac: ... this ...
9804 * sysdeps/s390/configure.ac: ... to here.
9805 * sysdeps/s390/s390-32/configure: Delete file.
9806 * sysdeps/s390/s390-64/configure: Delete file.
9807 * sysdeps/s390/configure: Regenerate.
9808
c12e9f37
JAPH
98092014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
9810
9811 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
9812
439bda32
WN
98132014-04-11 Will Newton <will.newton@linaro.org>
9814
9815 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
9816 to zero if it is not defined elsewhere. (mtrim): Test
9817 the value of MALLOC_DEBUG with #if rather than #ifdef.
9818
6a5d6ea1
TR
98192014-04-10 Torvald Riegel <triegel@redhat.com>
9820
9821 * benchtests/pthread_once-inputs: New file.
9822 * benchtests/pthread_once-source.c: New file.
9823 * benchtests/README: Update documentation.
9824
a4c75cfd
IZ
98252014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
9826 H.J. Lu <hongjiu.lu@intel.com>
9827
7e54fd04 9828 [BZ #16275]
a4c75cfd
IZ
9829 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
9830 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
9831 * sysdeps/x86_64/configure: Regenerated.
9832 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
9833 macro.
9834 (REGISTER_SAVE_RAX): Likewise.
9835 (REGISTER_SAVE_RCX): Likewise.
9836 (REGISTER_SAVE_RDX): Likewise.
9837 (REGISTER_SAVE_RSI): Likewise.
9838 (REGISTER_SAVE_RDI): Likewise.
9839 (REGISTER_SAVE_R8): Likewise.
9840 (REGISTER_SAVE_R9): Likewise.
9841 (REGISTER_SAVE_BND0): Likewise.
9842 (REGISTER_SAVE_BND1): Likewise.
9843 (REGISTER_SAVE_BND2): Likewise.
9844 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
9845 bound registers when calling _dl_fixup.
9846
27822ce6
AZ
98472014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9848
9849 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
9850 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
9851 of its definition.
27822ce6
AZ
9852 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
9853 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
9854 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
9855 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
9856 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
9857 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
9858 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
9859
a88ddc90
PTB
98602014-04-09 Peter Brett <peter@peter-b.co.uk>
9861
9862 [BZ #15514]
9863 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
9864 pathconf(_PC_NAME_MAX).
9865
01f8eac2
AZ
98662014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9867
9868 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
9869 Remove macro usage.
9870 (__PTHREAD_SPINS): Move definition to ...
9871 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9872 (__PTHREAD_SPINS): ... here.
9873 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9874 (__PTHREAD_SPIN): Likewise.
9875 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
9876 (__PTHREAD_SPIN): Likewise.
9877 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
9878 (__PTHREAD_SPIN): Likewise.
9879 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
9880 (__PTHREAD_SPIN): Likewise.
9881 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9882 (__PTHREAD_SPIN): Likewise.
9883 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9884 (__PTHREAD_SPIN): Likewise.
9885 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
9886 (__PTHREAD_SPIN): Likewise.
9887 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9888 (__PTHREAD_SPIN): Likewise.
9889 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9890 (__PTHREAD_SPIN): Likewise.
9891 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9892 (__PTHREAD_SPIN): Likewise.
9893 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9894 (__PTHREAD_SPIN): Likewise.
9895 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
9896 (__PTHREAD_SPIN): Likewise.
9897
de21c33c
AZ
9898 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
9899 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
9900 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
9901 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
9902 imply folder.
9903 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9904 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9905 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9906 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9907 correct imply path.
9908 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9909 strlen symbol for non multi-arch builds.
9910 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9911 missing hidden_def and weak_alias.
9912
862c472e
CD
99132014-04-08 Carlos O'Donell <carlos@redhat.com>
9914
9915 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9916
8667f90e
WN
99172014-04-07 Will Newton <will.newton@linaro.org>
9918
9919 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9920 and contents. [!_LIBC] Remove #ifndef and contents.
9921 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
9922 * string/memccpy.c (__memccpy): Use ANSI prototype.
9923 * string/memfrob.c (memfrob): Likewise.
9924 * string/strcoll.c (STRCOLL): Likewise.
9925 * string/strlen.c (strlen): Likewise.
9926 * string/strtok.c (STRTOK): Likewise.
9927 * string/strcat.c: Remove unused #include of memcopy.h.
9928 (strcat): Use ANSI prototype.
9929 * string/strchr.c: Remove unused #include of memcopy.h.
9930 (strchr): Use ANSI prototype.
9931 * string/strcmp.c: Remove unused #include of memcopy.h.
9932 (strcmp): Use ANSI prototype.
9933 * string/strcpy.c: Remove unused #include of memcopy.h.
9934 (strcpy): Use ANSI prototype.
9935
7ffa9423
AZ
99362014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9937
9938 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9939 * config.make.in (config-extra-cppflags): Set it from
9940 libc_extra_cppflags.
9941 * configure.ac (libc_extra_cflags): Make it accumulate over
9942 configure fragments.
9943 (libc_extra_cppflags): New flag.
9944 * configure. Regenerate.
9945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
9946 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9947 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
9948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9949
8bd70862
AZ
9950 [BZ #16815]
9951 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9952 result for FE_DOWNWARD rounding mode.
9953 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9954 Likewise.
9955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9956
d42f3448
CM
99572014-04-04 Chris Metcalf <cmetcalf@tilera.com>
9958
9959 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9960 in function argument name.
9961
1c21d115
DS
99622014-04-03 David Svoboda <svoboda@cert.org>
9963
9964 [BZ #5666]
9965 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9966 explicitly.
9967
fcccd512
RM
99682014-04-03 Roland McGrath <roland@hack.frob.com>
9969
9970 * elf/dl-unmap-segments.h: New file.
9971 * sysdeps/generic/ldsodefs.h
9972 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9973 * elf/dl-close.c: Include <dl-unmap-segments.h>.
9974 * elf/dl-fptr.c: Likewise.
9975 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9976 * sysdeps/aarch64/tlsdesc.c: Likewise.
9977 * sysdeps/arm/tlsdesc.c: Likewise.
9978 * sysdeps/i386/tlsdesc.c: Likewise.
9979 * sysdeps/tile/dl-runtime.c: Likewise.
9980 * sysdeps/x86_64/tlsdesc.c: Likewise.
9981 * elf/dl-load.h: New file.
9982 * elf/dl-load.c: Include it.
9983 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9984 Macros moved to dl-load.h.
9985 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9986 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9987 Use _dl_unmap_segments in place of __munmap.
9988 Break out segment-mapping loop into ...
9989 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9990
f6488e2b
WN
99912014-04-03 Will Newton <will.newton@linaro.org>
9992
9993 * elf/dl-lookup.c (do_lookup_x): Remove comment
9994 referring to nested function and move variable
9995 declarations down to before first use.
9996
6f05bafe
JM
99972014-04-02 Joseph Myers <joseph@codesourcery.com>
9998
a84e78c8
JM
9999 [BZ #16799]
10000 [BZ #16800]
10001 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
10002 with 0 numerator.
10003 * math/s_catanf.c (__catanf): Likewise.
10004 * math/s_catanh.c (__catanh): Likewise.
10005 * math/s_catanhf.c (__catanhf): Likewise.
10006 * math/s_catanhl.c (__catanhl): Likewise.
10007 * math/s_catanl.c (__catanl): Likewise.
10008 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
10009 by positive zero when computing -Inf result.
10010 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
10011 (catanh_test): Likewise.
10012 * sysdeps/i386/fpu/libm-test-ulps: Update.
10013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10014
6f05bafe
JM
10015 [BZ #16789]
10016 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
10017 instead of using underflowing value in computing result.
10018 * math/s_clog10.c (__clog10): Likewise.
10019 * math/s_clog10f.c (__clog10f): Likewise.
10020 * math/s_clog10l.c (__clog10l): Likewise.
10021 * math/s_clogf.c (__clogf): Likewise.
10022 * math/s_clogl.c (__clogl): Likewise.
10023 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
10024 (clog10_test): Likewise.
10025 * sysdeps/i386/fpu/libm-test-ulps: Update.
10026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10027
b0abbc21
AM
100282014-04-02 Alan Modra <amodra@gmail.com>
10029
10030 [BZ #16739]
10031 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
10032 output when value is near a power of two. Use int64_t for lx and
10033 remove casts. Use decimal rather than hex exponent constants.
10034 Don't use long double multiplication when double will suffice.
10035 * math/libm-test.inc (nextafter_test_data): Add tests.
10036 * NEWS: Add 16739 and 16786 to bug list.
10037
af6b1797
AM
10038 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
10039
483818d7
AM
10040 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
10041
f6c55796
WN
100422014-04-01 Will Newton <will.newton@linaro.org>
10043
10044 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
10045 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
10046
13f7fe35
FW
100472014-04-01 Florian Weimer <fweimer@redhat.com>
10048
10049 [BZ #13347]
10050 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
10051 * nptl/tst-setuid2.c: New file.
10052 * nptl/Makefile (xtests): Add tst-setuid2.
10053
c859b32e
AM
100542014-04-01 Alan Modra <amodra@gmail.com>
10055
10056 [BZ #16786]
10057 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
10058
54fa2475
JM
100592014-03-31 Joseph Myers <joseph@codesourcery.com>
10060
8795b4a4
JM
10061 [BZ #6803]
10062 [BZ #6804]
10063 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
10064 set errno as appropriate.
10065 * math/w_scalbf.c (__scalbf): Likewise.
10066 * math/w_scalbl.c (__scalbl): Likewise.
10067 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
10068 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
10069 * math/libm-test.inc (scalb_test_data): Add errno expectations.
10070 Add more NaN tests.
10071
54fa2475
JM
10072 [BZ #16349]
10073 * math/w_atan2.c: Include <errno.h>.
10074 (__atan2): Set errno for result underflowing to zero.
10075 * math/w_atan2f.c: Include <errno.h>.
10076 (__atan2f): Set errno for result underflowing to zero.
10077 * math/w_atan2l.c: Include <errno.h>.
10078 (__atan2l): Set errno for result underflowing to zero.
10079 * math/auto-libm-test-in: Don't allow missing errno for some atan2
10080 tests.
10081 * math/auto-libm-test-out: Regenerated.
10082
757d9dd5
AZ
100832014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10084
10085 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10086 Encode instruction correctly in little endian.
10087 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10088 Likewise.
10089 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10090 Likewise.
10091 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10092 Likewise.
10093 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10094 Likewise.
10095
d7a68734
JM
100962014-03-31 Joseph Myers <joseph@codesourcery.com>
10097
47c5adeb
JM
10098 [BZ #9894]
10099 * sysdeps/unix/sysv/linux/kernel-features.h
10100 [__sparc__ && !__arch64__ && !__sparc_v9__]
10101 (__ASSUME_SET_ROBUST_LIST): Do not define.
10102 [__sparc__ && !__arch64__ && !__sparc_v9__]
10103 (__ASSUME_FUTEX_LOCK_PI): Likewise.
10104 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
10105 Likewise.
10106 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10107 (__ASSUME_FUTEX_LOCK_PI): Undefine.
10108 (__ASSUME_REQUEUE_PI): Likewise.
10109 (__ASSUME_SET_ROBUST_LIST): Likewise.
10110 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10111 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
10112 Undefine.
10113 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10114 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
10115 Likewise.
10116 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
10117 Likewise.
10118 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
10119 Likewise.
10120 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10121 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
10122 Undefine.
10123 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
10124 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
10125 Likewise.
10126
d7a68734
JM
10127 [BZ #16648]
10128 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10129 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
10130 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
10131
c760f5c2
WN
101322014-03-31 Will Newton <will.newton@linaro.org>
10133
10134 * benchtests/Makefile (bench): Add ffs and ffsll to list
10135 of tests.
10136 * benchtests/ffs-inputs: New file.
10137 * benchtests/ffsll-inputs: Likewise.
10138
ea6029b1
JM
101392014-03-29 Joseph Myers <joseph@codesourcery.com>
10140
10141 [BZ #16770]
10142 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
10143 too large before casting to int.
10144 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
10145 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
10146 * math/libm-test.inc (scalb_test_data): Add more tests.
10147
cf806aff
SP
101482014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10149
56737508
SP
10150 * benchtests/Makefile (DETAILED_OPT): New make option.
10151 (bench-func): Run benchmark program with -d if DETAILED_OPT is
10152 set.
10153 * benchtests/bench-skeleton.c: Include stdbool.h.
10154 (main): Store and print timings per input.
10155 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
10156 member to each argument value.
10157 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
10158 (_print_arg_data): Initialize per-input timing to 0.
10159
cb5e4aad
SP
10160 * benchtests/Makefile (timing-type): New binary.
10161 (bench-clean): Also remove bench-timing-type.
10162 (bench): New target for timing-type.
10163 (bench-func): Print output in JSON format.
10164 * benchtests/bench-skeleton.c (main): Print output in JSON
10165 format.
10166 * benchtests/bench-timing-type.c: New file.
10167 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
10168 (TIMING_PRINT_STATS): Remove.
10169 * benchtests/scripts/bench.py (_print_arg_data): Store variant
10170 name separately.
10171
cf806aff
SP
10172 * benchtests/bench-modf.c: Remove.
10173 * benchtests/modf-inputs: New inputs file.
10174
289e0779
JM
101752014-03-28 Joseph Myers <joseph@codesourcery.com>
10176
10177 [BZ #16362]
10178 * math/s_clog10.c (M_PI_LOG10E): New macro.
10179 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
10180 imaginary parts are 0.
10181 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
10182 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
10183 imaginary parts are 0.
10184 * math/s_clog10l.c (M_PI_LOG10El): New macro.
10185 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
10186 imaginary parts are 0.
10187 * math/libm-test.inc (clog10_test_data): Update expected results
10188 for when real and imaginary parts are 0.
10189
277ae3f1
PP
101902014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
10191
10192 * elf/dl-load.c: Finish conversion of __builtin_expect into
10193 __glibc_{un}likely.
10194
03a7091f
JM
101952014-03-27 Joseph Myers <joseph@codesourcery.com>
10196
10197 [BZ #16348]
10198 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
10199 1+x for argument with exponent below -67.
10200 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
10201 Likewise.
10202 * math/auto-libm-test-in: Add more tests of exp.
10203 * math/auto-libm-test-out: Regenerated.
10204
ea7d8b95
SP
102052014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10206
dd3022d7
SP
10207 [BZ #16759]
10208 * inet/getnetgrent_r.c (get_nonempty_val): New function.
10209 (nscd_getnetgrent): Use it.
10210
ea7d8b95
SP
10211 [BZ #16760]
10212 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
10213 of stpcpy.
10214
df5b85da
AK
102152014-03-27 Andi Kleen <ak@linux.intel.com>
10216
57f41c40
AS
10217 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
10218 (lll_robust_lock, lll_cond_lock, lll_timedlock)
10219 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10220 (lll_robust_unlock): Remove out of line section. Use cfi
10221 intrinsics.
df5b85da 10222 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
10223 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
10224 (lll_robust_lock, lll_cond_lock, lll_timedlock)
10225 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10226 (lll_robust_unlock): Remove out of line section. Use cfi
10227 intrinsics.
df5b85da
AK
10228 (LLL_STUB_UNWIND_INFO*): Remove.
10229
fbd6b5a4
SP
102302014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10231
10232 [BZ #16758]
10233 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
10234 blank values.
10235
1b26b855
PP
102362014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
10237
10238 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
10239
9be36fb8
JM
102402014-03-26 Joseph Myers <joseph@codesourcery.com>
10241
10242 [BZ #16198]
10243 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
10244 fnstenv.
10245 * math/test-fenv-preserve.c: New file.
10246 * math/Makefile (tests): Add test-fenv-preserve.
10247
60a2f3c1
WN
102482014-03-26 Will Newton <will.newton@linaro.org>
10249
10250 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
10251
a5e5f1e2
RM
102522014-03-25 Roland McGrath <roland@hack.frob.com>
10253
10254 * scripts/versionlist.awk: Partition the version sets and emit all
10255 GLIBC_* (sorted) before all others (sorted).
10256
00f4012a
JM
102572014-03-25 Joseph Myers <joseph@codesourcery.com>
10258
10259 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
10260 GLIBC_2.2.5 version.
10261
7bc5a741
AZ
102622014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10263
10264 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
10265 calls.
10266
7578473b
AZ
10267 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
10268 previous change.
10269
f3f1dab3
AZ
10270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10271
6da36183
AS
102722014-03-25 Andreas Schwab <schwab@suse.de>
10273
10274 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
10275 label to be used after in6ailist is initialized.
10276
f3f1dab3 102772014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 10278
7578473b 10279 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
10280 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10281
046651c1
JM
102822014-03-25 Joseph Myers <joseph@codesourcery.com>
10283
10284 [BZ #16357]
10285 [BZ #16599]
10286 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
10287 min_plus_half.
10288 (fp_formats): Update initializers.
10289 (init_fp_formats): Initialize new field.
10290 (output_for_one_input_case): Allow underflow for results up to
10291 min_plus_half.
10292 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
10293 * math/auto-libm-test-in: Don't mark some underflows from asin and
10294 atanh as spurious.
10295 * math/auto-libm-test-out: Regenerated.
10296 * sysdeps/i386/fpu/libm-test-ulps: Update.
10297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10298
003e49ed
AS
102992014-03-25 Andreas Schwab <schwab@suse.de>
10300
10301 * libio/Makefile (tst-ftell-partial-wide-ENV)
10302 (tst-ftell-active-handler-ENV): Define.
10303
de031874
SL
103042014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10305
10306 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
10307
55a81e3b
PP
103082014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10309
10310 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
10311
f3426898
JM
103122014-03-24 Joseph Myers <joseph@codesourcery.com>
10313
10314 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
10315 * sysdeps/x86_64/fpu/multiarch/e_exp.c
10316 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10317
a42faf59
PP
103182014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10319
10320 [BZ #16634]
a42faf59 10321 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
10322 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
10323 (open_path): Change from boolean 'secure' to complete flag 'mode'
10324 (_dl_map_object): Adjust.
a42faf59
PP
10325 * elf/Makefile (tests): Add tst-dlopen-aout.
10326 * elf/tst-dlopen-aout.c: New test.
10327
50936127
SL
103282014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10329
10330 [BZ #16714]
10331 * sysdeps/unix/sysv/linux/s390/bits/stat.h
10332 (struct stat): Rename member pad0 to __glibc_reserved0.
10333
26011b5c
SL
10334 [BZ #16712]
10335 * sysdeps/s390/s390-32/bits/wordsize.h
10336 (__WORDSIZE32_SIZE_ULONG): New define.
10337 * sysdeps/s390/s390-64/bits/wordsize.h
10338 (__WORDSIZE32_SIZE_ULONG): Likewise.
10339 * sysdeps/generic/stdint.h (SIZE_MAX):
10340 Define as UL if __WORDSIZE32_SIZE_ULONG.
10341
a2d86bf1
SL
10342 [BZ #16713]
10343 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
10344 (__glibc_reserved0): New variable.
10345 (sa_flags): Change type to int.
10346
78b6eebc
SL
10347 * posix/Makefile (before-compile): Use += before-compile instead
10348 of a :=.
10349
f1399b5a
SL
10350 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10351 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10352
a071766e
AS
103532014-03-20 Andreas Schwab <schwab@suse.de>
10354
10355 [BZ #16743]
10356 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
10357 non-matching result from nscd.
10358
27c673b8
SP
103592014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10360
10361 * scripts/bench.py: Moved to ...
10362 * benchtests/scripts/bench.py: ... here.
10363 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
10364
44152e4b
AS
103652014-03-24 Andreas Schwab <schwab@suse.de>
10366
10367 [BZ #16002]
10368 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
10369 alloca_account and account alloca use for struct in6ailist.
10370
b376a11a
JM
103712014-03-24 Joseph Myers <joseph@codesourcery.com>
10372
10373 [BZ #16284]
10374 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
10375 rounding mode to recompute results that overflow to infinity or
10376 underflow to zero.
10377 * math/auto-libm-test-in: Don't mark tests as expected to fail for
10378 bug 16284.
10379 * math/auto-libm-test-out: Regenerated.
10380 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
10381 (ccosh_test): Likewise.
10382 (csin_test_data): Use plus_oflow.
10383 (csin_test): Use ALL_RM_TEST.
10384 (csinh_test_data): Use plus_oflow.
10385 (csinh_test): Use ALL_RM_TEST.
10386 * sysdeps/i386/fpu/libm-test-ulps: Update.
10387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10388
f7be7376
JM
103892014-03-21 Joseph Myers <joseph@codesourcery.com>
10390
1ca2d03e
JM
10391 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
10392 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
10393 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
10394
f7be7376
JM
10395 [BZ #16731]
10396 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
10397 when x - 1 is zero.
10398 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
10399 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
10400 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10401 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
10402 argument is 1.
10403 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
10404 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
10405 zero.
10406 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
10407 * sysdeps/i386/fpu/libm-test-ulps: Update.
10408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10409
fdf4534d
SP
104102014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10411
df26ea53
SP
10412 * scripts/bench.pl: Remove file.
10413 * scripts/bench.py: New benchmark script.
10414 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
10415 * benchtests/README: Mention python dependency.
10416 * scripts/pylintrc: New file.
10417 * scripts/pylint: New file.
10418
fdf4534d
SP
10419 * bits/mathdef.h: Use #ifdef instead of #if.
10420 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
10421 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10422 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
10423 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10424 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
10425 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10426
6f23d093
AZ
104272014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10428 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10429
10430 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
10431 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
10432 and strpbrk-ppc64 objects.
10433 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10434 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
10435 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
10436 multiarch strpbrk for POWER7.
10437 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
10438 multiarch strpbrk for PPC64.
10439 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
10440 ifunc selector.
10441 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
10442 strpbrk for POWER7.
10443
8c92dfff
JM
104442014-03-20 Joseph Myers <joseph@codesourcery.com>
10445
10446 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
10447 (atan_test): Likewise.
10448 (atanh_test_data): Use NO_TEST_INLINE for two tests.
10449 (atanh_test): Use ALL_RM_TEST.
10450 (atan2_test_data): Likewise.
10451 (cabs_test): Likewise.
10452 (cacosh_test): Likewise.
10453 (carg_test): Likewise.
10454 (casin_test): Likewise.
10455 (casinh_test): Likewise.
10456 (cbrt_test): Likewise.
10457 (csqrt_test): Likewise.
10458 (erf_test): Likewise.
10459 (erfc_test): Likewise.
10460 (pow10_test): Likewise.
10461 (exp2_test): Likewise.
10462 (hypot_test): Likewise.
10463 (j0_test): Likewise.
10464 (j1_test): Likewise.
10465 (lgamma_test): Likewise.
10466 (gamma_test): Likewise.
10467 (sincos_test): Likewise.
10468 (tanh_test): Likewise.
10469 (y0_test): Likewise.
10470 (y1_test): Likewise.
10471 * sysdeps/i386/fpu/libm-test-ulps: Update.
10472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10473
6eaf95cb
AZ
104742014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10475
a387428c
SP
10476 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
10477 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
10478 and strcspn-ppc64 objects.
10479 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10480 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
10481 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
10482 multiarch strcspn for POWER7.
10483 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
10484 multiarch strcspn for PPC64.
10485 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
10486 ifunc selector.
10487 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
10488 strcspn for POWER7.
10489
ae3a5dff
JM
104902014-03-20 Joseph Myers <joseph@codesourcery.com>
10491
10492 * math/gen-libm-test.pl (generate_testfile): Expect only function
10493 name as argument to AUTO_TESTS_* and pass results for all rounding
10494 modes to parse_args.
10495 (parse_auto_input): Separate inputs of automatic tests from
10496 outputs before storing in %auto_tests.
10497 * math/libm-test.inc (acos_test_data): Update call to
10498 AUTO_TESTS_f_f.
10499 (acos_test): Use ALL_RM_TEST.
10500 (acos_tonearest_test_data): Remove.
10501 (acos_test_tonearest): Likewise.
10502 (acos_towardzero_test_data): Likewise.
10503 (acos_test_towardzero): Likewise.
10504 (acos_downward_test_data): Likewise.
10505 (acos_test_downward): Likewise.
10506 (acos_upward_test_data): Likewise.
10507 (acos_test_upward): Likewise.
10508 (acosh_test_data): Update call to AUTO_TESTS_f_f.
10509 (asin_test_data): Likewise.
10510 (asin_test): Use ALL_RM_TEST.
10511 (asin_tonearest_test_data): Remove.
10512 (asin_test_tonearest): Likewise.
10513 (asin_towardzero_test_data): Likewise.
10514 (asin_test_towardzero): Likewise.
10515 (asin_downward_test_data): Likewise.
10516 (asin_test_downward): Likewise.
10517 (asin_upward_test_data): Likewise.
10518 (asin_test_upward): Likewise.
10519 (asinh_test_data): Update call to AUTO_TESTS_f_f.
10520 (atan_test_data): Likewise.
10521 (atanh_test_data): Likewise.
10522 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
10523 (cabs_test_data): Update call to AUTO_TESTS_c_f.
10524 (carg_test_data): Likewise.
10525 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
10526 (ccos_test_data): Update call to AUTO_TESTS_c_c.
10527 (ccosh_test_data): Likewise.
10528 (cexp_test_data): Likewise.
10529 (clog_test_data): Likewise.
10530 (clog10_test_data): Likewise.
10531 (cos_test_data): Update call to AUTO_TESTS_f_f.
10532 (cos_test): Use ALL_RM_TEST.
10533 (cos_tonearest_test_data): Remove.
10534 (cos_test_tonearest): Likewise.
10535 (cos_towardzero_test_data): Likewise.
10536 (cos_test_towardzero): Likewise.
10537 (cos_downward_test_data): Likewise.
10538 (cos_test_downward): Likewise.
10539 (cos_upward_test_data): Likewise.
10540 (cos_test_upward): Likewise.
10541 (cosh_test_data): Update call to AUTO_TESTS_f_f.
10542 (cosh_test): Use ALL_RM_TEST.
10543 (cosh_tonearest_test_data): Remove.
10544 (cosh_test_tonearest): Likewise.
10545 (cosh_towardzero_test_data): Likewise.
10546 (cosh_test_towardzero): Likewise.
10547 (cosh_downward_test_data): Likewise.
10548 (cosh_test_downward): Likewise.
10549 (cosh_upward_test_data): Likewise.
10550 (cosh_test_upward): Likewise.
10551 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
10552 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
10553 (ctan_test_data): Likewise.
10554 (ctan_test): Use ALL_RM_TEST.
10555 (ctan_tonearest_test_data): Remove.
10556 (ctan_test_tonearest): Likewise.
10557 (ctan_towardzero_test_data): Likewise.
10558 (ctan_test_towardzero): Likewise.
10559 (ctan_downward_test_data): Likewise.
10560 (ctan_test_downward): Likewise.
10561 (ctan_upward_test_data): Likewise.
10562 (ctan_test_upward): Likewise.
10563 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
10564 (ctanh_test): Use ALL_RM_TEST.
10565 (ctanh_tonearest_test_data): Remove.
10566 (ctanh_test_tonearest): Likewise.
10567 (ctanh_towardzero_test_data): Likewise.
10568 (ctanh_test_towardzero): Likewise.
10569 (ctanh_downward_test_data): Likewise.
10570 (ctanh_test_downward): Likewise.
10571 (ctanh_upward_test_data): Likewise.
10572 (ctanh_test_upward): Likewise.
10573 (erf_test_data): Update call to AUTO_TESTS_f_f.
10574 (erfc_test_data): Likewise.
10575 (exp_test_data): Likewise.
10576 (exp_test): Use ALL_RM_TEST.
10577 (exp_tonearest_test_data): Remove.
10578 (exp_test_tonearest): Likewise.
10579 (exp_towardzero_test_data): Likewise.
10580 (exp_test_towardzero): Likewise.
10581 (exp_downward_test_data): Likewise.
10582 (exp_test_downward): Likewise.
10583 (exp_upward_test_data): Likewise.
10584 (exp_test_upward): Likewise.
10585 (exp10_test_data): Update call to AUTO_TESTS_f_f.
10586 (exp10_test): Use ALL_RM_TEST.
10587 (exp10_tonearest_test_data): Remove.
10588 (exp10_test_tonearest): Likewise.
10589 (exp10_towardzero_test_data): Likewise.
10590 (exp10_test_towardzero): Likewise.
10591 (exp10_downward_test_data): Likewise.
10592 (exp10_test_downward): Likewise.
10593 (exp10_upward_test_data): Likewise.
10594 (exp10_test_upward): Likewise.
10595 (exp2_test_data): Update call to AUTO_TESTS_f_f.
10596 (expm1_test_data): Likewise.
10597 (expm1_test): Use ALL_RM_TEST.
10598 (expm1_tonearest_test_data): Remove.
10599 (expm1_test_tonearest): Likewise.
10600 (expm1_towardzero_test_data): Likewise.
10601 (expm1_test_towardzero): Likewise.
10602 (expm1_downward_test_data): Likewise.
10603 (expm1_test_downward): Likewise.
10604 (expm1_upward_test_data): Likewise.
10605 (expm1_test_upward): Likewise.
10606 (fma_test_data): Update call to AUTO_TESTS_fff_f.
10607 (fma_test): Use ALL_RM_TEST.
10608 (fma_towardzero_test_data): Remove.
10609 (fma_test_towardzero): Likewise.
10610 (fma_downward_test_data): Likewise.
10611 (fma_test_downward): Likewise.
10612 (fma_upward_test_data): Likewise.
10613 (fma_test_upward): Likewise.
10614 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
10615 (j0_test_data): Update call to AUTO_TESTS_f_f.
10616 (j1_test_data): Likewise.
10617 (jn_test_data): Update call to AUTO_TESTS_if_f.
10618 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
10619 (log_test_data): Update call to AUTO_TESTS_f_f.
10620 (log10_test_data): Likewise.
10621 (log1p_test_data): Likewise.
10622 (log2_test_data): Likewise.
10623 (pow_test_data): Update call to AUTO_TESTS_ff_f.
10624 (pow_tonearest_test_data): Likewise.
10625 (sin_test_data): Update call to AUTO_TESTS_f_f.
10626 (sin_test): Use ALL_RM_TEST.
10627 (sin_tonearest_test_data): Remove.
10628 (sin_test_tonearest): Likewise.
10629 (sin_towardzero_test_data): Likewise.
10630 (sin_test_towardzero): Likewise.
10631 (sin_downward_test_data): Likewise.
10632 (sin_test_downward): Likewise.
10633 (sin_upward_test_data): Likewise.
10634 (sin_test_upward): Likewise.
10635 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
10636 (sinh_test_data): Update call to AUTO_TESTS_f_f.
10637 (sinh_test): Use ALL_RM_TEST.
10638 (sinh_tonearest_test_data): Remove.
10639 (sinh_test_tonearest): Likewise.
10640 (sinh_towardzero_test_data): Likewise.
10641 (sinh_test_towardzero): Likewise.
10642 (sinh_downward_test_data): Likewise.
10643 (sinh_test_downward): Likewise.
10644 (sinh_upward_test_data): Likewise.
10645 (sinh_test_upward): Likewise.
10646 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
10647 (sqrt_test): Use ALL_RM_TEST.
10648 (sqrt_tonearest_test_data): Remove.
10649 (sqrt_test_tonearest): Likewise.
10650 (sqrt_towardzero_test_data): Likewise.
10651 (sqrt_test_towardzero): Likewise.
10652 (sqrt_downward_test_data): Likewise.
10653 (sqrt_test_downward): Likewise.
10654 (sqrt_upward_test_data): Likewise.
10655 (sqrt_test_upward): Likewise.
10656 (tan_test_data): Update call to AUTO_TESTS_f_f.
10657 (tan_test): Use ALL_RM_TEST.
10658 (tan_tonearest_test_data): Remove.
10659 (tan_test_tonearest): Likewise.
10660 (tan_towardzero_test_data): Likewise.
10661 (tan_test_towardzero): Likewise.
10662 (tan_downward_test_data): Likewise.
10663 (tan_test_downward): Likewise.
10664 (tan_upward_test_data): Likewise.
10665 (tan_test_upward): Likewise.
10666 (tanh_test_data): Update call to AUTO_TESTS_f_f.
10667 (tgamma_test_data): Likewise.
10668 (y0_test_data): Likewise.
10669 (y1_test_data): Likewise.
10670 (yn_test_data): Update call to AUTO_TESTS_if_f.
10671 (main): Do not call removed functions.
10672
d71aeee8
JM
106732014-03-19 Joseph Myers <joseph@codesourcery.com>
10674
10675 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
10676 (ldexp_test_data): Remove.
10677 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
10678 scalbn_test_data.
10679 (scalb_test): Use ALL_RM_TEST.
10680
baaf1ded
AS
106812014-03-19 Andreas Schwab <schwab@suse.de>
10682
10683 * nscd/nscd.service: Also invalidate netgroup cache on reload.
10684
b1115e91
JM
106852014-03-19 Joseph Myers <joseph@codesourcery.com>
10686
10687 [BZ #16649]
10688 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10689 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
10690 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
10691 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10692 (__ASSUME_PREADV): Undefine.
10693 (__ASSUME_PWRITEV): Likewise.
10694
0283ecca
RM
106952014-03-18 Roland McGrath <roland@hack.frob.com>
10696
7d375303
RM
10697 * bits/mman-linux.h: Add comment about non-Linux use.
10698 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
10699 bits/mman-linux.h resting place.
10700
0283ecca
RM
10701 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
10702 * bits/mman-linux.h: ... here.
10703
aebe1003
AZ
107042014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10705
10706 * conform/conformtest.pl: Add standard definition when calling C
10707 preprocessor on data files.
10708 (checknamespace): Remove unused variable.
10709
b29b6bb8
JM
107102014-03-18 Joseph Myers <joseph@codesourcery.com>
10711
10712 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
10713 minus_oflow, plus_uflow and minus_uflow in expected results.
10714 * math/libm-test.inc (scalbn_test_data): Add more tests of
10715 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
10716 minus_uflow.
10717 (scalbn_test): Use ALL_RM_TEST.
10718 (scalbln_test_data): Add more tests of negative arguments. Use
10719 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
10720 (scalbln_test): Use ALL_RM_TEST.
10721
c8f8fa15
RM
107222014-03-18 Roland McGrath <roland@hack.frob.com>
10723
10724 * scripts/abilist.awk: Ignore symbols marked with .hidden.
10725
fede7a5f
WN
107262014-03-18 Will Newton <will.newton@linaro.org>
10727
10728 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
10729 inaccurate comment.
10730
80cf0a58
JM
107312014-03-18 Joseph Myers <joseph@codesourcery.com>
10732
10733 * Makerules [!subdir] (check-abi): Exit with error status if a
10734 test failed.
10735
b3620862
JM
107362014-03-17 Joseph Myers <joseph@codesourcery.com>
10737
10738 * math/libm-test.inc (nearbyint_test_data): Include all tests used
10739 for rint. Include results for all rounding modes.
10740 (nearbyint_test): Use ALL_RM_TEST.
10741 (rint_test_data): Include all tests used for nearbyint.
10742
788bba36
WN
107432014-03-17 Will Newton <will.newton@linaro.org>
10744
04ec140a
WN
10745 * nptl/sysdeps/pthread/pthread.h: Revert previous
10746 change.
10747
7579d8d5
WN
10748 * sysdeps/generic/ldsodefs.h: Revert previous
10749 change.
10750
c15cf13a
WN
10751 * libio/genops.c: Revert previous change.
10752 * libio/libioP.h: Likewise.
10753 * stdio-common/vfprintf.c: Likewise.
10754
d0ac1324
WN
10755 * sysdeps/generic/math_private.h: Revert previous
10756 change.
10757
9290130a
WN
10758 * sysdeps/generic/math_private.h: Check whether
10759 HAVE_RM_CTX is defined with #ifdef rather
10760 than #if.
10761
afb466fc
WN
10762 * argp/argp-fmtstream.h: Check whether
10763 __STRICT_ANSI__ is defined with #ifdef rather
10764 than #if.
10765 * argp/argp.h: Likewise.
10766
f7efd7c3
WN
10767 * libio/genops.c: Check whether
10768 _IO_JUMPS_OFFSET is defined with #ifdef rather
10769 than #if.
10770 * libio/libioP.h: Likewise.
10771 * stdio-common/vfprintf.c: Likewise.
10772
53f1bed3
WN
10773 * sysdeps/generic/ldsodefs.h: Check whether
10774 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
10775 than #if.
10776
788bba36
WN
10777 * nptl/sysdeps/pthread/pthread.h: Check
10778 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
10779 its value.
10780
fcd89ebe
SP
107812014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10782
ae42bbc5
SP
10783 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
10784 setting O_APPEND.
10785 * libio/tst-ftell-active-handler.c (do_append_test): Add a
10786 test case.
10787
ea33158c
SP
10788 [BZ #16680]
10789 * libio/fileops.c (_IO_file_open): Seek to end of file but
10790 don't cache the offset.
10791 (get_file_offset): Remove function.
10792 (do_ftell): Use cached offset when available.
10793 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
10794 don't cache the offset.
10795 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
10796 case.
10797 (do_one_test): Call it.
10798 (do_ftell_test): Fix up expected old offset for a+ mode.
10799 * libio/wfileops.c (do_ftell_wide): Used cached offset when
10800 available.
10801
b1dbb426
SP
10802 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
10803 up test status with function return status.
10804 (do_write_test): Likewise.
10805 (do_append_test): Likewise.
10806
fcd89ebe
SP
10807 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
10808 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
10809 Remove.
10810
9962a2d3
JM
108112014-03-17 Joseph Myers <joseph@codesourcery.com>
10812
10813 * math/gen-libm-test.pl (parse_args): Handle results specified for
10814 each rounding mode separately.
10815 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
10816 tests and results from lrint_tonearest_test_data,
10817 lrint_towardzero_test_data, lrint_downward_test_data and
10818 lrint_upward_test_data.
10819 (lrint_test): Use ALL_RM_TEST.
10820 (lrint_tonearest_test_data): Remove.
10821 (lrint_test_tonearest): Likewise.
10822 (lrint_towardzero_test_data): Likewise.
10823 (lrint_test_towardzero): Likewise.
10824 (lrint_downward_test_data): Likewise.
10825 (lrint_test_downward): Likewise.
10826 (lrint_upward_test_data): Likewise.
10827 (lrint_test_upward): Likewise.
10828 (llrint_test_data): Merge in per-rounding-mode tests and results
10829 from llrint_tonearest_test_data, llrint_towardzero_test_data,
10830 llrint_downward_test_data and llrint_upward_test_data.
10831 (llrint_test): Use ALL_RM_TEST.
10832 (llrint_tonearest_test_data): Remove.
10833 (llrint_test_tonearest): Likewise.
10834 (llrint_towardzero_test_data): Likewise.
10835 (llrint_test_towardzero): Likewise.
10836 (llrint_downward_test_data): Likewise.
10837 (llrint_test_downward): Likewise.
10838 (llrint_upward_test_data): Likewise.
10839 (llrint_test_upward): Likewise.
10840 (rint_test_data): Merge in per-rounding-mode tests and results
10841 from rint_tonearest_test_data, rint_towardzero_test_data,
10842 rint_downward_test_data and rint_upward_test_data. Add
10843 per-rounding-mode results for tests not in those arrays.
10844 (rint_test): Use ALL_RM_TEST.
10845 (rint_tonearest_test_data): Remove.
10846 (rint_test_tonearest): Likewise.
10847 (rint_towardzero_test_data): Likewise.
10848 (rint_test_towardzero): Likewise.
10849 (rint_downward_test_data): Likewise.
10850 (rint_test_downward): Likewise.
10851 (rint_upward_test_data): Likewise.
10852 (rint_test_upward): Likewise.
10853 (main): Don't call removed functions.
10854
5006148e
RM
108552014-03-14 Roland McGrath <roland@hack.frob.com>
10856
10857 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
10858 "Compiled on ..." crapola. It is anti-useful.
10859
d6fe5e58
JM
108602014-03-14 Joseph Myers <joseph@codesourcery.com>
10861
10862 * scripts/evaluate-test.sh: Handle fourth argument to determine
10863 whether test run should stop on failure.
10864 * Makeconfig (stop-on-test-failure): New variable.
10865 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
10866 $(stop-on-test-failure).
10867 * Makefile (tests): Give a summary of results from testing and
10868 exit with failure status if they include an ERROR or FAIL.
10869 (xtests): Likewise.
10870 * manual/install.texi (Configuring and compiling): Mention
10871 stop-on-test-failure=y.
10872 * INSTALL: Regenerated.
10873
498a2233
RM
108742014-03-14 Roland McGrath <roland@hack.frob.com>
10875
22dbc19d
RM
10876 * scripts/versionlist.awk: New file.
10877 * Makerules [$(build-shared) = yes]
10878 (postclean-generated): Add Versions.def, not Versions.def.v and
10879 Versions.def.v.i.
10880 ($(common-objpfx)Versions.def.v.i): Target removed.
10881 ($(common-objpfx)Versions.def): New target.
10882 ($(common-objpfx)Versions.all): Depend on that rather that
10883 $(common-objpfx)Versions.def.v.
10884 * Versions.def: File removed.
10885
498a2233
RM
10886 * Makeconfig (+gccwarn): Add -Wundef.
10887 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
10888 a dl-sysdep.h breaking its contract.
10889 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
10890 * include/stackinfo.h: New file.
10891 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
10892 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
10893 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
10894 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
10895 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
10896 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
10897 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10898 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10899 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10900 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10901 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10902 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
10903 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10904 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10905 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10906
c7de5025
AZ
109072014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10908
10909 [BZ #16707]
10910 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10911 implementation.
10912 * math/libm-test.inc (round_test_data): Add more tests.
10913
98fb27a3
AZ
10914 [BZ #16706]
10915 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10916 implementation.
10917 * math/libm-test.inc (nearbyint_test_data): Add more tests.
10918
374f7f61
AZ
10919 [BZ #16701]
10920 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10921 implementation.
10922 * math/libm-test.inc (ceil_test_data): Add more tests.
10923
4655c291
AZ
10924 * math/libm-test.inc (trunc_test_data): Add more tests related to
10925 BZ#16414.
10926
d7329d4b
RM
109272014-03-14 Roland McGrath <roland@hack.frob.com>
10928
10929 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10930 with #if rather than #ifdef.
10931 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10932
aa4de9ce
L
109332014-03-14 H.J. Lu <hongjiu.lu@intel.com>
10934
10935 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10936 first. Disable AVX-512 GCC support if assembler doesn't support
10937 it.
10938 * sysdeps/x86_64/configure: Regenerated.
10939
2e03fae7
CD
109402014-03-13 Carlos O'Donell <carlos@redhat.com>
10941
10942 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10943 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10944 (__old_pthread_attr_setstack): Likewise.
10945 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10946 [!_STACK_GROWS_DOWN]: Likewise.
10947
43ca83ec
MF
109482014-03-13 Mike Frysinger <vapier@gentoo.org>
10949
10950 * config.make.in (have-bash2): Delete.
10951 * configure.ac (libc_cv_have_bash2): Delete.
10952 * configure: Regenerate.
10953 * elf/Makefile (common-ldd-rewrite): Rename to ...
10954 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
10955 (sh-ldd-rewrite): Delete.
10956 (bash-ldd-rewrite): Delete.
10957 (have-bash2): Delete checks.
57f41c40
AS
10958 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10959 ldd-rewrite.
c66e48b4
MF
10960
10961 * config.make.in (have-ksh): Delete.
10962 (KSH): Delete.
10963 * configure.ac (libc_cv_have_ksh): Delete.
10964 * configure: Regenerate.
10965
b93834ef
MF
10966 * elf/Makefile: Delete $(have-ksh) check.
10967 ($(objpfx)sotruss): Change KSH to BASH.
10968 * elf/sotruss.ksh: Rename to ...
10969 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
10970 function style to match POSIX. Drop ksh vim mode setting.
10971
f3a4632a
MF
10972 * manual/time.texi (Specifying the Time Zone with TZ): Change
10973 Tuesday to Thursday.
10974
5896c8bd
MF
10975 * debug/tst-longjmp_chk2.c: Update header comment.
10976 (stackoverflow_handler): Add comment. Call assert on pass value.
10977
2d63a517
IZ
109782014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
10979
7e54fd04 10980 [BZ #16194]
2d63a517
IZ
10981 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10982 (HAVE_AVX512_ASM_SUPPORT): Likewise.
10983 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10984 (La_x86_64_vector): Add zmm.
10985 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10986 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10987 ($(objpfx)tst-audit10): New target.
10988 ($(objpfx)tst-audit10.out): Likewise.
10989 (tst-audit10-ENV): New.
10990 (AVX512-CFLAGS): Likewise.
10991 (CFLAGS-tst-audit10.c): Likewise.
10992 (CFLAGS-tst-auditmod10a.c): Likewise.
10993 (CFLAGS-tst-auditmod10b.c): Likewise.
10994 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10995 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10996 * sysdeps/x86_64/configure: Regenerated.
10997 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10998 AVX-512 zmm register support.
10999 (_dl_x86_64_save_sse): Likewise.
11000 (_dl_x86_64_restore_sse): Likewise.
11001 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
11002 size vector registers.
11003 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
11004 (ZMM_SIZE): Likewise.
11005 * sysdeps/x86_64/tst-audit10.c: New file.
11006 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
11007 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
11008
44c4e5d5
RM
110092014-03-13 Roland McGrath <roland@hack.frob.com>
11010
11011 * configure.ac (HAVE_EHDR_START): New check.
11012 * configure: Regenerated.
11013 * config.h.in (HAVE_EHDR_START): New #undef.
11014 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
11015 assuming the lowest-addressed segment maps the start of the file.
11016
acd6e389
JM
110172014-03-13 Joseph Myers <joseph@codesourcery.com>
11018
11019 * INSTALL: Regenerated.
11020
6f918f36
WN
110212014-03-13 Will Newton <will.newton@linaro.org>
11022
11023 * manual/setjmp.texi (System V contexts): Improve
11024 clarity and grammar of documentation.
11025
798212a0
PP
110262014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
11027
11028 [BZ #16381]
798212a0 11029 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 11030 (tests-pie): Add tst-pie2.
798212a0
PP
11031 * elf/tst-pie2.c: New file.
11032 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
11033 for ET_EXEC.
11034 * elf/rtld.c (map_doit): Load executable as lt_executable.
11035 (dl_main): Likewise.
11036
abe6d90c
JM
110372014-03-12 Joseph Myers <joseph@codesourcery.com>
11038
11039 [BZ #16642]
11040 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11041 (__ASSUME_PSELECT): Undefine.
11042
dd3946c6
AZ
110432014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11044
11045 [BZ #16689]
11046 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
11047 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
11048 static build.
11049 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
11050 selector for static builds.
11051
c44496df
SP
110522014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11053
11054 [BZ #16695]
11055 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
11056 key in the buffer.
11057
27c7220a
AZ
110582014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11059
57f41c40
AS
11060 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
11061 IFUNC selector for static builds.
27c7220a 11062
600fa361
JM
110632014-03-11 Joseph Myers <joseph@codesourcery.com>
11064
76c96cf7
JM
11065 * sysdeps/mips/math_private.h [__mips_hard_float]
11066 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
11067 libc_feresetround_mips_ctx.
11068 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
11069 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
11070 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
11071
600fa361
JM
11072 [BZ #16677]
11073 * math/s_nextafter.c (__nextafter): Do not return value from
11074 overflowing computation.
11075 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
11076 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
11077 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
11078 Likewise.
11079 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
11080 Likewise.
11081 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
11082 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
11083
d7706c32
RM
110842014-03-11 Roland McGrath <roland@hack.frob.com>
11085
11086 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
11087 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
11088 Move sfi_sp use from the load-multiple (that no longer sets sp) to
11089 the new mov targetting sp.
11090
4facea47
AZ
110912014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11092
11093 [BZ #16683]
11094 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
11095 Define it for static builds as well.
11096 (NO_BZERO_IMPL): Likewise.
11097
e65caf1f
VR
110982014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11099
11100 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
11101 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
11102 multiarch strspn for PPC64.
11103 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
11104 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
11105 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11106 (__libc_ifunc_impl_list): Likewise.
11107 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
11108 multiarch optimizations
11109 * string/strspn.c (strspn): Using macro to redefine symbol name.
11110
ba9cc071
AZ
111112014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11112 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11113
11114 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
11115 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
11116 multiarch strncat for PPC64.
11117 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
11118 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
11119 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11120 (__libc_ifunc_impl_list): Likewise.
11121 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
11122 multiarch optimizations
11123
8b4ff974
SP
111242014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11125
11126 [BZ #16639]
11127 * nscd/nscd.service: Make service type forking.
11128
54b46a4b
AZ
111292014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11130
11131 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
11132 sign in non default rounding modes.
11133 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11134
e9996ef7
JM
111352014-03-08 Joseph Myers <joseph@codesourcery.com>
11136
11137 * math/libm-test.inc (ALL_RM_TEST): New macro.
11138 (ceil_test): Use ALL_RM_TEST.
11139 (cimag_test): Likewise.
11140 (conj_test): Likewise.
11141 (copysign_test): Likewise.
11142 (cproj_test): Likewise.
11143 (creal_test): Likewise.
11144 (fabs_test): Likewise.
11145 (floor_test): Likewise.
11146 (fmax_test): Likewise.
11147 (fmin_test): Likewise.
11148 (fmod_test): Likewise.
11149 (fpclassify_test): Likewise.
11150 (frexp_test): Likewise.
11151 (ilogb_test): Likewise.
11152 (isfinite_test): Likewise.
11153 (finite_test): Likewise.
11154 (isgreater_test): Likewise.
11155 (isgreaterequal_test): Likewise.
11156 (isinf_test): Likewise.
11157 (isless_test): Likewise.
11158 (islessequal_test): Likewise.
11159 (islessgreater_test): Likewise.
11160 (isnan_test): Likewise.
11161 (isnormal_test): Likewise.
11162 (issignaling_test): Likewise.
11163 (isunordered_test): Likewise.
11164 (logb_test): Likewise.
11165 (logb_downward_test_data): Remove.
11166 (logb_test_downward): Likewise.
11167 (lround_test): Use ALL_RM_TEST.
11168 (llround_test): Likewise.
11169 (modf_test): Likewise.
11170 (nexttoward_test): Likewise.
11171 (remainder_test): Likewise.
11172 (drem_test): Likewise.
11173 (remainder_tonearest_test_data): Likewise.
11174 (remainder_test_tonearest): Likewise.
11175 (drem_test_tonearest): Likewise.
11176 (remainder_towardzero_test_data): Likewise.
11177 (remainder_test_towardzero): Likewise.
11178 (drem_test_towardzero): Likewise.
11179 (remainder_downward_test_data): Likewise.
11180 (remainder_test_downward): Likewise.
11181 (drem_test_downward): Likewise.
11182 (remainder_upward_test_data): Likewise.
11183 (remainder_test_upward): Likewise.
11184 (drem_test_upward): Likewise.
11185 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
11186 (round_test): Use ALL_RM_TEST.
11187 (signbit_test): Likewise.
11188 (trunc_test): Likewise.
11189 (significand_test): Likewise.
11190 (main): Don't call removed functions.
11191
bc61d27c
JM
111922014-03-07 Joseph Myers <joseph@codesourcery.com>
11193
5c780849
JM
11194 [BZ #16674]
11195 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
11196 || __USE_XOPEN2K8].
11197 (ILL_ILLOPN): Likewise.
11198 (ILL_ILLADR): Likewise.
11199 (ILL_ILLTRP): Likewise.
11200 (ILL_PRVOPC): Likewise.
11201 (ILL_PRVREG): Likewise.
11202 (ILL_COPROC): Likewise.
11203 (ILL_BADSTK): Likewise.
11204 (FPE_INTDIV): Likewise.
11205 (FPE_INTOVF): Likewise.
11206 (FPE_FLTDIV): Likewise.
11207 (FPE_FLTOVF): Likewise.
11208 (FPE_FLTUND): Likewise.
11209 (FPE_FLTRES): Likewise.
11210 (FPE_FLTINV): Likewise.
11211 (FPE_FLTSUB): Likewise.
11212 (SEGV_MAPERR): Likewise.
11213 (SEGV_ACCERR): Likewise.
11214 (BUS_ADRALN): Likewise.
11215 (BUS_ADRERR): Likewise.
11216 (BUS_OBJERR): Likewise.
11217 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11218 (TRAP_TRACE): Likewise.
11219 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11220 __USE_XOPEN2K8].
11221 (CLD_KILLED): Likewise.
11222 (CLD_DUMPED): Likewise.
11223 (CLD_TRAPPED): Likewise.
11224 (CLD_STOPPED): Likewise.
11225 (CLD_CONTINUED): Likewise.
11226 (POLL_IN): Likewise.
11227 (POLL_OUT): Likewise.
11228 (POLL_MSG): Likewise.
11229 (POLL_ERR): Likewise.
11230 (POLL_PRI): Likewise.
11231 (POLL_HUP): Likewise.
11232 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
11233 Likewise.
11234 (ILL_ILLOPN): Likewise.
11235 (ILL_ILLADR): Likewise.
11236 (ILL_ILLTRP): Likewise.
11237 (ILL_PRVOPC): Likewise.
11238 (ILL_PRVREG): Likewise.
11239 (ILL_COPROC): Likewise.
11240 (ILL_BADSTK): Likewise.
11241 (FPE_INTDIV): Likewise.
11242 (FPE_INTOVF): Likewise.
11243 (FPE_FLTDIV): Likewise.
11244 (FPE_FLTOVF): Likewise.
11245 (FPE_FLTUND): Likewise.
11246 (FPE_FLTRES): Likewise.
11247 (FPE_FLTINV): Likewise.
11248 (FPE_FLTSUB): Likewise.
11249 (SEGV_MAPERR): Likewise.
11250 (SEGV_ACCERR): Likewise.
11251 (BUS_ADRALN): Likewise.
11252 (BUS_ADRERR): Likewise.
11253 (BUS_OBJERR): Likewise.
11254 (BUS_MCEERR_AR): Likewise.
11255 (BUS_MCEERR_AO): Likewise.
11256 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11257 (TRAP_TRACE): Likewise.
11258 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11259 __USE_XOPEN2K8].
11260 (CLD_KILLED): Likewise.
11261 (CLD_DUMPED): Likewise.
11262 (CLD_TRAPPED): Likewise.
11263 (CLD_STOPPED): Likewise.
11264 (CLD_CONTINUED): Likewise.
11265 (POLL_IN): Likewise.
11266 (POLL_OUT): Likewise.
11267 (POLL_MSG): Likewise.
11268 (POLL_ERR): Likewise.
11269 (POLL_PRI): Likewise.
11270 (POLL_HUP): Likewise.
11271 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
11272 (ILL_ILLOPN): Likewise.
11273 (ILL_ILLADR): Likewise.
11274 (ILL_ILLTRP): Likewise.
11275 (ILL_PRVOPC): Likewise.
11276 (ILL_PRVREG): Likewise.
11277 (ILL_COPROC): Likewise.
11278 (ILL_BADSTK): Likewise.
11279 (FPE_INTDIV): Likewise.
11280 (FPE_INTOVF): Likewise.
11281 (FPE_FLTDIV): Likewise.
11282 (FPE_FLTOVF): Likewise.
11283 (FPE_FLTUND): Likewise.
11284 (FPE_FLTRES): Likewise.
11285 (FPE_FLTINV): Likewise.
11286 (FPE_FLTSUB): Likewise.
11287 (SEGV_MAPERR): Likewise.
11288 (SEGV_ACCERR): Likewise.
11289 (BUS_ADRALN): Likewise.
11290 (BUS_ADRERR): Likewise.
11291 (BUS_OBJERR): Likewise.
11292 (BUS_MCEERR_AR): Likewise.
11293 (BUS_MCEERR_AO): Likewise.
11294 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11295 (TRAP_TRACE): Likewise.
11296 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11297 __USE_XOPEN2K8].
11298 (CLD_KILLED): Likewise.
11299 (CLD_DUMPED): Likewise.
11300 (CLD_TRAPPED): Likewise.
11301 (CLD_STOPPED): Likewise.
11302 (CLD_CONTINUED): Likewise.
11303 (POLL_IN): Likewise.
11304 (POLL_OUT): Likewise.
11305 (POLL_MSG): Likewise.
11306 (POLL_ERR): Likewise.
11307 (POLL_PRI): Likewise.
11308 (POLL_HUP): Likewise.
11309 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
11310 Likewise.
11311 (ILL_ILLOPN): Likewise.
11312 (ILL_ILLADR): Likewise.
11313 (ILL_ILLTRP): Likewise.
11314 (ILL_PRVOPC): Likewise.
11315 (ILL_PRVREG): Likewise.
11316 (ILL_COPROC): Likewise.
11317 (ILL_BADSTK): Likewise.
11318 (ILL_BADIADDR): Likewise.
11319 (ILL_BREAK): Likewise.
11320 (FPE_INTDIV): Likewise.
11321 (FPE_INTOVF): Likewise.
11322 (FPE_FLTDIV): Likewise.
11323 (FPE_FLTOVF): Likewise.
11324 (FPE_FLTUND): Likewise.
11325 (FPE_FLTRES): Likewise.
11326 (FPE_FLTINV): Likewise.
11327 (FPE_FLTSUB): Likewise.
11328 (FPE_DECOVF): Likewise.
11329 (FPE_DECDIV): Likewise.
11330 (FPE_DECERR): Likewise.
11331 (FPE_INVASC): Likewise.
11332 (FPE_INVDEC): Likewise.
11333 (SEGV_MAPERR): Likewise.
11334 (SEGV_ACCERR): Likewise.
11335 (SEGV_PSTKOVF): Likewise.
11336 (BUS_ADRALN): Likewise.
11337 (BUS_ADRERR): Likewise.
11338 (BUS_OBJERR): Likewise.
11339 (BUS_MCEERR_AR): Likewise.
11340 (BUS_MCEERR_AO): Likewise.
11341 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11342 (TRAP_TRACE): Likewise.
11343 (TRAP_BRANCH): Likewise.
11344 (TRAP_HWBKPT): Likewise.
11345 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11346 __USE_XOPEN2K8].
11347 (CLD_KILLED): Likewise.
11348 (CLD_DUMPED): Likewise.
11349 (CLD_TRAPPED): Likewise.
11350 (CLD_STOPPED): Likewise.
11351 (CLD_CONTINUED): Likewise.
11352 (POLL_IN): Likewise.
11353 (POLL_OUT): Likewise.
11354 (POLL_MSG): Likewise.
11355 (POLL_ERR): Likewise.
11356 (POLL_PRI): Likewise.
11357 (POLL_HUP): Likewise.
11358 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
11359 (ILL_ILLOPN): Likewise.
11360 (ILL_ILLADR): Likewise.
11361 (ILL_ILLTRP): Likewise.
11362 (ILL_PRVOPC): Likewise.
11363 (ILL_PRVREG): Likewise.
11364 (ILL_COPROC): Likewise.
11365 (ILL_BADSTK): Likewise.
11366 (FPE_INTDIV): Likewise.
11367 (FPE_INTOVF): Likewise.
11368 (FPE_FLTDIV): Likewise.
11369 (FPE_FLTOVF): Likewise.
11370 (FPE_FLTUND): Likewise.
11371 (FPE_FLTRES): Likewise.
11372 (FPE_FLTINV): Likewise.
11373 (FPE_FLTSUB): Likewise.
11374 (SEGV_MAPERR): Likewise.
11375 (SEGV_ACCERR): Likewise.
11376 (BUS_ADRALN): Likewise.
11377 (BUS_ADRERR): Likewise.
11378 (BUS_OBJERR): Likewise.
11379 (BUS_MCEERR_AR): Likewise.
11380 (BUS_MCEERR_AO): Likewise.
11381 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11382 (TRAP_TRACE): Likewise.
11383 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11384 __USE_XOPEN2K8].
11385 (CLD_KILLED): Likewise.
11386 (CLD_DUMPED): Likewise.
11387 (CLD_TRAPPED): Likewise.
11388 (CLD_STOPPED): Likewise.
11389 (CLD_CONTINUED): Likewise.
11390 (POLL_IN): Likewise.
11391 (POLL_OUT): Likewise.
11392 (POLL_MSG): Likewise.
11393 (POLL_ERR): Likewise.
11394 (POLL_PRI): Likewise.
11395 (POLL_HUP): Likewise.
11396 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
11397 (ILL_ILLOPN): Likewise.
11398 (ILL_ILLADR): Likewise.
11399 (ILL_ILLTRP): Likewise.
11400 (ILL_PRVOPC): Likewise.
11401 (ILL_PRVREG): Likewise.
11402 (ILL_COPROC): Likewise.
11403 (ILL_BADSTK): Likewise.
11404 (FPE_INTDIV): Likewise.
11405 (FPE_INTOVF): Likewise.
11406 (FPE_FLTDIV): Likewise.
11407 (FPE_FLTOVF): Likewise.
11408 (FPE_FLTUND): Likewise.
11409 (FPE_FLTRES): Likewise.
11410 (FPE_FLTINV): Likewise.
11411 (FPE_FLTSUB): Likewise.
11412 (SEGV_MAPERR): Likewise.
11413 (SEGV_ACCERR): Likewise.
11414 (BUS_ADRALN): Likewise.
11415 (BUS_ADRERR): Likewise.
11416 (BUS_OBJERR): Likewise.
11417 (BUS_MCEERR_AR): Likewise.
11418 (BUS_MCEERR_AO): Likewise.
11419 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11420 (TRAP_TRACE): Likewise.
11421 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11422 __USE_XOPEN2K8].
11423 (CLD_KILLED): Likewise.
11424 (CLD_DUMPED): Likewise.
11425 (CLD_TRAPPED): Likewise.
11426 (CLD_STOPPED): Likewise.
11427 (CLD_CONTINUED): Likewise.
11428 (POLL_IN): Likewise.
11429 (POLL_OUT): Likewise.
11430 (POLL_MSG): Likewise.
11431 (POLL_ERR): Likewise.
11432 (POLL_PRI): Likewise.
11433 (POLL_HUP): Likewise.
11434 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
11435 (ILL_ILLOPN): Likewise.
11436 (ILL_ILLADR): Likewise.
11437 (ILL_ILLTRP): Likewise.
11438 (ILL_PRVOPC): Likewise.
11439 (ILL_PRVREG): Likewise.
11440 (ILL_COPROC): Likewise.
11441 (ILL_BADSTK): Likewise.
11442 (FPE_INTDIV): Likewise.
11443 (FPE_INTOVF): Likewise.
11444 (FPE_FLTDIV): Likewise.
11445 (FPE_FLTOVF): Likewise.
11446 (FPE_FLTUND): Likewise.
11447 (FPE_FLTRES): Likewise.
11448 (FPE_FLTINV): Likewise.
11449 (FPE_FLTSUB): Likewise.
11450 (SEGV_MAPERR): Likewise.
11451 (SEGV_ACCERR): Likewise.
11452 (BUS_ADRALN): Likewise.
11453 (BUS_ADRERR): Likewise.
11454 (BUS_OBJERR): Likewise.
11455 (BUS_MCEERR_AR): Likewise.
11456 (BUS_MCEERR_AO): Likewise.
11457 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11458 (TRAP_TRACE): Likewise.
11459 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11460 __USE_XOPEN2K8].
11461 (CLD_KILLED): Likewise.
11462 (CLD_DUMPED): Likewise.
11463 (CLD_TRAPPED): Likewise.
11464 (CLD_STOPPED): Likewise.
11465 (CLD_CONTINUED): Likewise.
11466 (POLL_IN): Likewise.
11467 (POLL_OUT): Likewise.
11468 (POLL_MSG): Likewise.
11469 (POLL_ERR): Likewise.
11470 (POLL_PRI): Likewise.
11471 (POLL_HUP): Likewise.
11472 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
11473 (ILL_ILLOPN): Likewise.
11474 (ILL_ILLADR): Likewise.
11475 (ILL_ILLTRP): Likewise.
11476 (ILL_PRVOPC): Likewise.
11477 (ILL_PRVREG): Likewise.
11478 (ILL_COPROC): Likewise.
11479 (ILL_BADSTK): Likewise.
11480 (ILL_DBLFLT): Likewise.
11481 (ILL_HARDWALL): Likewise.
11482 (FPE_INTDIV): Likewise.
11483 (FPE_INTOVF): Likewise.
11484 (FPE_FLTDIV): Likewise.
11485 (FPE_FLTOVF): Likewise.
11486 (FPE_FLTUND): Likewise.
11487 (FPE_FLTRES): Likewise.
11488 (FPE_FLTINV): Likewise.
11489 (FPE_FLTSUB): Likewise.
11490 (SEGV_MAPERR): Likewise.
11491 (SEGV_ACCERR): Likewise.
11492 (BUS_ADRALN): Likewise.
11493 (BUS_ADRERR): Likewise.
11494 (BUS_OBJERR): Likewise.
11495 (BUS_MCEERR_AR): Likewise.
11496 (BUS_MCEERR_AO): Likewise.
11497 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11498 (TRAP_TRACE): Likewise.
11499 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11500 __USE_XOPEN2K8].
11501 (CLD_KILLED): Likewise.
11502 (CLD_DUMPED): Likewise.
11503 (CLD_TRAPPED): Likewise.
11504 (CLD_STOPPED): Likewise.
11505 (CLD_CONTINUED): Likewise.
11506 (POLL_IN): Likewise.
11507 (POLL_OUT): Likewise.
11508 (POLL_MSG): Likewise.
11509 (POLL_ERR): Likewise.
11510 (POLL_PRI): Likewise.
11511 (POLL_HUP): Likewise.
11512 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
11513 (ILL_ILLOPN): Likewise.
11514 (ILL_ILLADR): Likewise.
11515 (ILL_ILLTRP): Likewise.
11516 (ILL_PRVOPC): Likewise.
11517 (ILL_PRVREG): Likewise.
11518 (ILL_COPROC): Likewise.
11519 (ILL_BADSTK): Likewise.
11520 (FPE_INTDIV): Likewise.
11521 (FPE_INTOVF): Likewise.
11522 (FPE_FLTDIV): Likewise.
11523 (FPE_FLTOVF): Likewise.
11524 (FPE_FLTUND): Likewise.
11525 (FPE_FLTRES): Likewise.
11526 (FPE_FLTINV): Likewise.
11527 (FPE_FLTSUB): Likewise.
11528 (SEGV_MAPERR): Likewise.
11529 (SEGV_ACCERR): Likewise.
11530 (BUS_ADRALN): Likewise.
11531 (BUS_ADRERR): Likewise.
11532 (BUS_OBJERR): Likewise.
11533 (BUS_MCEERR_AR): Likewise.
11534 (BUS_MCEERR_AO): Likewise.
11535 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11536 (TRAP_TRACE): Likewise.
11537 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11538 __USE_XOPEN2K8].
11539 (CLD_KILLED): Likewise.
11540 (CLD_DUMPED): Likewise.
11541 (CLD_TRAPPED): Likewise.
11542 (CLD_STOPPED): Likewise.
11543 (CLD_CONTINUED): Likewise.
11544 (POLL_IN): Likewise.
11545 (POLL_OUT): Likewise.
11546 (POLL_MSG): Likewise.
11547 (POLL_ERR): Likewise.
11548 (POLL_PRI): Likewise.
11549 (POLL_HUP): Likewise.
11550 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
11551 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11552
bc61d27c
JM
11553 [BZ #16670]
11554 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
11555 before #include of <time.h>.
11556 [!__USE_XOPEN2K] (__need_timespec): Likewise.
11557 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
11558 (test-xfail-UNIX98/sched.h/conform): Likewise.
11559
302949e2
MS
115602014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
11561
11562 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
11563 error absence of trapping exception support.
11564 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11565
a00f522a
JM
115662014-03-07 Joseph Myers <joseph@codesourcery.com>
11567
6f99f280
JM
11568 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
11569 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
11570 * timezone/Makefile (testdata): Move definition above include of
11571 Rules.
11572 (test-zones): New variable.
11573 (tests-special): Add zone files.
11574 (build-testdata): Use $(evaluate-test).
11575
0b20a9e8
JM
11576 * elf/Makefile (tests-special): Rename tests to end with .out.
11577 ($(objpfx)noload-mem): Likewise.
11578 ($(objpfx)tst-leaks1-mem): Likewise.
11579 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
11580 * iconv/Makefile (xtests-special): Change test-iconvconfig to
11581 $(objpfx)test-iconvconfig.out.
11582 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
11583 set -e inside subshell and redirect output to file.
11584 * iconvdata/Makefile (generated): Rename tests to end with .out.
11585 Correct type.
11586 (tests-special): Rename tests to end with .out.
11587 ($(objpfx)mtrace-tst-loading): Likewise.
11588 * intl/Makefile (generated): Likewise.
11589 (tests-special): Likewise.
11590 ($(objpfx)mtrace-tst-gettext): Likewise.
11591 * misc/Makefile (generated): Likewise.
11592 (tests-special): Likewise.
11593 ($(objpfx)tst-error1-mem): Likewise.
11594 * nptl/Makefile (tests-special): Likewise.
11595 ($(objpfx)tst-stack3-mem): Likewise.
11596 (generated): Likewise.
11597 * posix/Makefile (generated): Likewise.
11598 (tests-special): Likewise.
11599 (xtests-special): Likewise.
11600 ($(objpfx)tst-fnmatch-mem): Likewise.
11601 ($(objpfx)bug-regex2-mem): Likewise.
11602 ($(objpfx)bug-regex14-mem): Likewise.
11603 ($(objpfx)bug-regex21-mem): Likewise.
11604 ($(objpfx)bug-regex31-mem): Likewise.
11605 ($(objpfx)tst-vfork3-mem): Likewise.
11606 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11607 ($(objpfx)tst-pcre-mem): Likewise.
11608 ($(objpfx)tst-boost-mem): Likewise.
11609 ($(objpfx)bug-ga2-mem): Likewise.
11610 ($(objpfx)bug-glob2-mem): Likewise.
11611 * resolv/Makefile (generate): Likewise.
11612 (tests-special): Likewise.
11613 (xtests-special): Likewise.
11614 (generated): Likewise.
11615 ($(objpfx)mtrace-tst-leaks): Likewise.
11616 ($(objpfx)mtrace-tst-leaks2): Likewise.
11617
265d52ab
JM
11618 * scripts/merge-test-results.sh: New file.
11619 * Makefile (tests-special-notdir): New variable.
11620 (tests): Run merge-test-results.sh.
11621 (xtests): Likewise.
11622 * Rules (tests-special-notdir): New variable.
11623 (xtests-special-notdir): Likewise.
11624 (tests): Run merge-test-results.sh
11625 (xtests): Likewise.
11626
54ee292d
JM
11627 * Makeconfig (test-xfail-name): New variable.
11628 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
11629 compute variable name for expected failures.
11630 * conform/Makefile (conformtest-headers-data): New variable.
11631 (conformtest-standards): Likewise.
11632 (conformtest-headers-ISO): Likewise.
11633 (conformtest-headers-ISO99): Likewise.
11634 (conformtest-headers-ISO11): Likewise.
11635 (conformtest-headers-POSIX): Likewise.
11636 (conformtest-headers-XPG3): Likewise.
11637 (conformtest-headers-XPG4): Likewise.
11638 (conformtest-headers-UNIX98): Likewise.
11639 (conformtest-headers-XOPEN2K): Likewise.
11640 (conformtest-headers-POSIX2008): Likewise.
11641 (conformtest-headers-XOPEN2K8): Likewise.
11642 (conformtest-header-list-base): Likewise.
11643 (conformtest-header-list-tests): Likewise.
11644 (conformtest-header-base): Likewise.
11645 (conformtest-header-tests): Likewise.
11646 (tests-special): Add $(conformtest-header-list-tests). If
11647 [$(fast-check) && !$(cross-compiling)], add
11648 $(conformtest-header-tests) instead of
11649 $(objpfx)run-conformtest.out.
11650 (generated): Add $(conformtest-header-list-base). If
11651 [$(fast-check) && !$(cross-compiling)], add
11652 $(conformtest-header-base). Remove previous setting.
11653 ($(conformtest-header-list-tests)): New target.
11654 (test-xfail-run-conformtest): Remove variable.
11655 ($(objpfx)run-conformtest.out): Remove target.
11656 (test-xfail-ISO11/complex.h/conform): New variable.
11657 (test-xfail-ISO11/stdalign.h/conform): Likewise.
11658 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11659 (test-xfail-XPG3/varargs.h/conform): Likewise.
11660 (test-xfail-XPG4/varargs.h/conform): Likewise.
11661 (test-xfail-UNIX98/varargs.h/conform): Likewise.
11662 (test-xfail-XPG4/ndbm.h/conform): Likewise.
11663 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
11664 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
11665 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
11666 (test-xfail-XPG3/fcntl.h/conform): Likewise.
11667 (test-xfail-XPG3/ftw.h/conform): Likewise.
11668 (test-xfail-XPG3/grp.h/conform): Likewise.
11669 (test-xfail-XPG3/langinfo.h/conform): Likewise.
11670 (test-xfail-XPG3/limits.h/conform): Likewise.
11671 (test-xfail-XPG3/pwd.h/conform): Likewise.
11672 (test-xfail-XPG3/search.h/conform): Likewise.
11673 (test-xfail-XPG3/signal.h/conform): Likewise.
11674 (test-xfail-XPG3/stdio.h/conform): Likewise.
11675 (test-xfail-XPG3/stdlib.h/conform): Likewise.
11676 (test-xfail-XPG3/string.h/conform): Likewise.
11677 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
11678 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
11679 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11680 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11681 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
11682 (test-xfail-XPG3/sys/types.h/conform): Likewise.
11683 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
11684 (test-xfail-XPG3/termios.h/conform): Likewise.
11685 (test-xfail-XPG3/time.h/conform): Likewise.
11686 (test-xfail-XPG3/unistd.h/conform): Likewise.
11687 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
11688 (test-xfail-XPG4/fcntl.h/conform): Likewise.
11689 (test-xfail-XPG4/langinfo.h/conform): Likewise.
11690 (test-xfail-XPG4/netdb.h/conform): Likewise.
11691 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
11692 (test-xfail-XPG4/signal.h/conform): Likewise.
11693 (test-xfail-XPG4/stdio.h/conform): Likewise.
11694 (test-xfail-XPG4/stdlib.h/conform): Likewise.
11695 (test-xfail-XPG4/stropts.h/conform): Likewise.
11696 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11697 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11698 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11699 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11700 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11701 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
11702 (test-xfail-XPG4/sys/time.h/conform): Likewise.
11703 (test-xfail-XPG4/sys/types.h/conform): Likewise.
11704 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
11705 (test-xfail-XPG4/termios.h/conform): Likewise.
11706 (test-xfail-XPG4/ucontext.h/conform): Likewise.
11707 (test-xfail-XPG4/unistd.h/conform): Likewise.
11708 (test-xfail-XPG4/utmpx.h/conform): Likewise.
11709 (test-xfail-POSIX/sched.h/conform): Likewise.
11710 (test-xfail-POSIX/signal.h/conform): Likewise.
11711 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11712 (test-xfail-POSIX/tar.h/conform): Likewise.
11713 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
11714 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
11715 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11716 (test-xfail-UNIX98/netdb.h/conform): Likewise.
11717 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
11718 (test-xfail-UNIX98/sched.h/conform): Likewise.
11719 (test-xfail-UNIX98/signal.h/conform): Likewise.
11720 (test-xfail-UNIX98/stdio.h/conform): Likewise.
11721 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11722 (test-xfail-UNIX98/stropts.h/conform): Likewise.
11723 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11724 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11725 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11726 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11727 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11728 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11729 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
11730 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
11731 (test-xfail-UNIX98/unistd.h/conform): Likewise.
11732 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11733 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
11734 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
11735 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11736 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
11737 (test-xfail-XOPEN2K/math.h/conform): Likewise.
11738 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11739 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11740 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11741 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
11742 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
11743 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
11744 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
11745 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11746 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11747 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11748 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11749 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11750 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11751 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
11752 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
11753 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11754 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
11755 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11756 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
11757 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11758 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
11759 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
11760 (test-xfail-POSIX2008/signal.h/conform): Likewise.
11761 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11762 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
11763 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
11764 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11765 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11766 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
11767 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11768 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11769 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11770 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
11771 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
11772 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11773 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11774 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11775 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
11776 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11777 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11778 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11779 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11780 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
11781 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11782 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11783 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
11784 (conformtest-cc-flags): Likewise.
11785 ($(conformtest-header-tests): New target.
11786 * conform/check-header-lists.sh: New file.
11787 * conform/run-conformtest.sh: Remove.
11788
a00f522a
JM
11789 * conform/conformtest.pl: Allow ' and \ in values given for
11790 constants.
11791 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
11792 inclusion.
11793 [POSIX] (sys/types.h): Likewise.
11794 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
11795 inclusion.
11796 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
11797 inclusion.
11798 * conform/data/signal.h-data (SIGIO): Remove expectation.
11799 [XPG3] (SIGBUS): Do not expect.
11800 [POSIX || XPG3] (SIGPOLL): Likewise.
11801 [POSIX || XPG3] (SIGPROF): Likewise.
11802 [POSIX || XPG3] (SIGSYS): Likewise.
11803 [XPG3] (SIGTRAP): Likewise.
11804 [POSIX || XPG3] (SIGURG): Likewise.
11805 [POSIX || XPG3] (SIGVTALRM): Likewise.
11806 [POSIX || XPG3] (SIGXCPU): Likewise.
11807 [POSIX || XPG3] (SIGXFSZ): Likewise.
11808 [POSIX] (SA_SIGINFO): Expect.
11809 [XPG3] (siginfo_t): Do not expect type or contents.
11810 [POSIX] (si_pid): Do not expect element.
11811 [POSIX] (si_uid): Likewise.
11812 [POSIX] (si_addr): Likewise.
11813 [POSIX] (si_status): Likewise.
11814 [POSIX] (si_band): Likewise.
11815 [XPG4] (si_value): Likewise.
11816 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
11817 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
11818 [POSIX || XPG3] (ILL_ILLADR): Likewise.
11819 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
11820 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
11821 [POSIX || XPG3] (ILL_PRVREG): Likewise.
11822 [POSIX || XPG3] (ILL_COPROC): Likewise.
11823 [POSIX || XPG3] (ILL_BADSTK): Likewise.
11824 [POSIX || XPG3] (FPE_INTDIV): Likewise.
11825 [POSIX || XPG3] (FPE_INTOVF): Likewise.
11826 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
11827 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
11828 [POSIX || XPG3] (FPE_FLTUND): Likewise.
11829 [POSIX || XPG3] (FPE_FLTRES): Likewise.
11830 [POSIX || XPG3] (FPE_FLTINV): Likewise.
11831 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
11832 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
11833 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
11834 [POSIX || XPG3] (BUS_ADRALN): Likewise.
11835 [POSIX || XPG3] (BUS_ADRERR): Likewise.
11836 [POSIX || XPG3] (BUS_OBJERR): Likewise.
11837 [POSIX || XPG3] (CLD_EXITED): Likewise.
11838 [POSIX || XPG3] (CLD_KILLED): Likewise.
11839 [POSIX || XPG3] (CLD_DUMPED): Likewise.
11840 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
11841 [POSIX || XPG3] (CLD_STOPPED): Likewise.
11842 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
11843 [POSIX || XPG3] (POLL_IN): Likewise.
11844 [POSIX || XPG3] (POLL_OUT): Likewise.
11845 [POSIX || XPG3] (POLL_MSG): Likewise.
11846 [POSIX || XPG3] (POLL_ERR): Likewise.
11847 [POSIX || XPG3] (POLL_PRI): Likewise.
11848 [POSIX || XPG3] (POLL_HUP): Likewise.
11849 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
11850 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
11851 (SIG*): Do not allow.
11852 [XPG3] (si_*): Likewise.
11853 [XPG3] (SI_*): Likewise.
11854 [XPG3 || XPG4] (sigev_*): Likewise.
11855 [XPG3 || XPG4] (SIGEV_*): Likewise.
11856 [XPG3 || XPG4] (sival_*): Likewise.
11857 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
11858 [POSIX || XPG3] (BUS_*): Likewise.
11859 [POSIX || XPG3] (CLD_*): Likewise.
11860 [POSIX || XPG3] (FPE_*): Likewise.
11861 [POSIX || XPG3] (ILL_*): Likewise.
11862 [POSIX || XPG3] (POLL_*): Likewise.
11863 [POSIX || XPG3] (SEGV_*): Likewise.
11864 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
11865 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
11866 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
11867 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
11868 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
11869 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
11870 Specify type and value.
11871 (TVERSLEN): Likewise.
11872 (REGTYPE): Likewise.
11873 (AREGTYPE): Likewise.
11874 (LNKTYPE): Likewise.
11875 (SYMTYPE): Likewise.
11876 (CHRTYPE): Likewise.
11877 (BLKTYPE): Likewise.
11878 (DIRTYPE): Likewise.
11879 (FIFOTYPE): Likewise.
11880 (CONTTYPE): Likewise.
11881 (TSUID): Likewise.
11882 (TSGID): Likewise.
11883 (TSVTX): Likewise.
11884 (TUREAD): Likewise.
11885 (TUWRITE): Likewise.
11886 (TUEXEC): Likewise.
11887 (TGREAD): Likewise.
11888 (TGWRITE): Likewise.
11889 (TGEXEC): Likewise.
11890 (TOREAD): Likewise.
11891 (TOWRITE): Likewise.
11892 (TOEXEC): Likewise.
11893 [POSIX] (TSVTX): Expect constant.
11894
aa97dee1
JM
118952014-03-06 Joseph Myers <joseph@codesourcery.com>
11896
f214606a
JM
11897 * Makefile (tests): Change dependencies to ....
11898 (tests-special): ... additions to this variable.
11899 (tests): Depend on $(tests-special).
11900 * Makerules (check-abi-list): New variable.
11901 (check-abi): Depend on $(check-abi-list).
11902 [$(subdir) = elf] (tests-special): Add
11903 $(objpfx)check-abi-libc.out.
11904 [$(build-shared) = yes && subdir] (tests-special): Add
11905 $(check-abi-list).
11906 [$(build-shared) = yes && subdir] (tests): Do not depend on
11907 check-abi.
11908 * Rules (tests): Depend on $(tests-special).
11909 (xtests): Depend on $(xtests-special).
11910 * catgets/Makefile (tests): Change dependencies to ....
11911 (tests-special): ... additions to this variable.
11912 * conform/Makefile (tests): Change dependencies to ....
11913 (tests-special): ... additions to this variable.
11914 * elf/Makefile (tests): Change dependencies to ....
11915 (tests-special): ... additions to this variable.
11916 * grp/Makefile (tests): Change dependencies to ....
11917 (tests-special): ... additions to this variable.
11918 * iconv/Makefile (xtests): Change dependencies to ....
11919 (xtests-special): ... additions to this variable.
11920 * iconvdata/Makefile (tests): Change dependencies to ....
11921 (tests-special): ... additions to this variable.
11922 * intl/Makefile (tests): Change dependencies to ....
11923 (tests-special): ... additions to this variable. Also add
11924 $(objpfx)tst-gettext.out.
11925 * io/Makefile (tests): Change dependencies to ....
11926 (tests-special): ... additions to this variable.
11927 * libio/Makefile (tests): Change dependencies to ....
11928 (tests-special): ... additions to this variable.
11929 * malloc/Makefile (tests): Change dependencies to ....
11930 (tests-special): ... additions to this variable.
11931 * misc/Makefile (tests): Change dependencies to ....
11932 (tests-special): ... additions to this variable.
11933 * nptl/Makefile (tests): Change dependencies to ....
11934 (tests-special): ... additions to this variable.
11935 * nptl_db/Makefile (tests): Change dependencies to ....
11936 (tests-special): ... additions to this variable.
11937 * posix/Makefile (tests): Change dependencies to ....
11938 (tests-special): ... additions to this variable.
11939 (xtests): Change dependencies to ....
11940 (xtests-special): ... additions to this variable.
11941 * resolv/Makefile (tests): Change dependencies to ....
11942 (tests-special): ... additions to this variable.
11943 (xtests): Change dependencies to ....
11944 (xtests-special): ... additions to this variable.
11945 * stdio-common/Makefile (tests): Change dependencies to ....
11946 (tests-special): ... additions to this variable.
11947 (do-tst-unbputc): Remove target.
11948 (do-tst-printf): Likewise.
11949 * stdlib/Makefile (tests): Change dependencies to ....
11950 (tests-special): ... additions to this variable.
11951 * string/Makefile (tests): Change dependencies to ....
11952 (tests-special): ... additions to this variable.
11953 * sysdeps/x86/Makefile (tests): Change dependencies to ....
11954 (tests-special): ... additions to this variable.
11955
81700b53
JM
11956 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11957 whole file.
11958 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11959 whole file.
11960 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11961 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11962
2ea18461
JM
11963 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11964 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11965 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11966 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11967 * conform/data/libgen.h-data [XPG3]: Likewise.
11968 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11969 * conform/data/ndbm.h-data [XPG3]: Likewise.
11970 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11971 * conform/data/netdb.h-data [XPG3]: Likewise.
11972 * conform/data/netinet/in.h-data [XPG3]: Likewise.
11973 * conform/data/poll.h-data [XPG3]: Likewise.
11974 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11975 * conform/data/strings.h-data [XPG3]: Likewise.
11976 * conform/data/stropts.h-data [XPG3]: Likewise.
11977 * conform/data/sys/mman.h-data [XPG3]: Likewise.
11978 * conform/data/sys/resource.h-data [XPG3]: Likewise.
11979 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11980 Likewise.
11981 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11982 * conform/data/sys/time.h-data [XPG3]: Likewise.
11983 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11984 * conform/data/sys/uio.h-data [XPG3]: Likewise.
11985 * conform/data/sys/un.h-data [XPG3]: Likewise.
11986 * conform/data/syslog.h-data [XPG3]: Likewise.
11987 * conform/data/ucontext.h-data [XPG3]: Likewise.
11988 * conform/data/utmpx.h-data [XPG3]: Likewise.
11989 * conform/data/varargs.h-data [UNIX98]: Enable file.
11990
355bc986
JM
11991 * manual/Makefile (INSTALL_INFO): Remove variable setting.
11992
215db402
JM
11993 * math/libm-test.inc (struct test_f_f_data): Move expected results
11994 into structure for each rounding mode.
11995 (struct test_ff_f_data): Likewise.
11996 (struct test_ff_f_data_nexttoward): Likewise.
11997 (struct test_fi_f_data): Likewise.
11998 (struct test_fl_f_data): Likewise.
11999 (struct test_if_f_data): Likewise.
12000 (struct test_fff_f_data): Likewise.
12001 (struct test_c_f_data): Likewise.
12002 (struct test_f_f1_data): Likewise.
12003 (struct test_fF_f1_data): Likewise.
12004 (struct test_ffI_f1_data): Likewise.
12005 (struct test_c_c_data): Likewise.
12006 (struct test_cc_c_data): Likewise.
12007 (struct test_f_i_data): Likewise.
12008 (struct test_ff_i_data): Likewise.
12009 (struct test_f_l_data): Likewise.
12010 (struct test_f_L_data): Likewise.
12011 (struct test_fFF_11_data): Likewise.
12012 (RM_): New macro.
12013 (RM_FE_DOWNWARD): Likewise.
12014 (RM_FE_TONEAREST): Likewise.
12015 (RM_FE_TOWARDZERO): Likewise.
12016 (RM_FE_UPWARD): Likewise.
12017 (RUN_TEST_LOOP_f_f): Update references to expected results.
12018 (RUN_TEST_LOOP_2_f): Likewise.
12019 (RUN_TEST_LOOP_fff_f): Likewise.
12020 (RUN_TEST_LOOP_c_f): Likewise.
12021 (RUN_TEST_LOOP_f_f1): Likewise.
12022 (RUN_TEST_LOOP_fF_f1): Likewise.
12023 (RUN_TEST_LOOP_fI_f1): Likewise.
12024 (RUN_TEST_LOOP_ffI_f1): Likewise.
12025 (RUN_TEST_LOOP_c_c): Likewise.
12026 (RUN_TEST_LOOP_cc_c): Likewise.
12027 (RUN_TEST_LOOP_f_i): Likewise.
12028 (RUN_TEST_LOOP_f_i_tg): Likewise.
12029 (RUN_TEST_LOOP_ff_i_tg): Likewise.
12030 (RUN_TEST_LOOP_f_b): Likewise.
12031 (RUN_TEST_LOOP_f_b_tg): Likewise.
12032 (RUN_TEST_LOOP_f_l): Likewise.
12033 (RUN_TEST_LOOP_f_L): Likewise.
12034 (RUN_TEST_LOOP_fFF_11): Likewise.
12035 * math/gen-libm-test.pl (parse_args): Output four copies of
12036 expected results for each test.
12037
67737b8f
JM
12038 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12039 (__ASSUME_UTIMES): Remove.
12040 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12041 (__ASSUME_UTIMES): Likewise.
12042
aa97dee1
JM
12043 * math/gen-auto-libm-tests.c: Update comment on output format.
12044 (output_for_one_input_case): Generate before-rounding and
12045 after-rounding information as conditions on output flags not
12046 floating-point format.
12047 * math/auto-libm-test-out: Regenerated.
12048 * math/gen-libm-test.pl (cond_value): New function.
12049 (or_cond_value): Use cond_value.
12050 (generate_testfile): Handle conditional exceptions.
12051
e6b6a857
JM
120522014-03-05 Joseph Myers <joseph@codesourcery.com>
12053
2f0a0f44
JM
12054 * math/libm-test.inc (max_valid_error): New variable.
12055 (init_max_error): Take new argument specifying whether function
12056 results are exactly determined. Set max_valid_error and bound
12057 other variables for errors based on this argument.
12058 (set_max_error): Do not record results above max_valid_error.
12059 (check_float_internal): Only accept errors of up to 0.5ulps if
12060 also at most max_valid_error.
12061 (START): Take new argument EXACT and pass it to init_max_error.
12062 (acos_test): Update call to START.
12063 (acos_test_tonearest): Likewise.
12064 (acos_test_towardzero): Likewise.
12065 (acos_test_downward): Likewise.
12066 (acos_test_upward): Likewise.
12067 (acosh_test): Likewise.
12068 (asin_test): Likewise.
12069 (asin_test_tonearest): Likewise.
12070 (asin_test_towardzero): Likewise.
12071 (asin_test_downward): Likewise.
12072 (asin_test_upward): Likewise.
12073 (asinh_test): Likewise.
12074 (atan_test): Likewise.
12075 (atanh_test): Likewise.
12076 (atan2_test): Likewise.
12077 (cabs_test): Likewise.
12078 (cacos_test): Likewise.
12079 (cacosh_test): Likewise.
12080 (carg_test): Likewise.
12081 (casin_test): Likewise.
12082 (casinh_test): Likewise.
12083 (catan_test): Likewise.
12084 (catanh_test): Likewise.
12085 (cbrt_test): Likewise.
12086 (ccos_test): Likewise.
12087 (ccosh_test): Likewise.
12088 (ceil_test): Likewise.
12089 (cexp_test): Likewise.
12090 (cimag_test): Likewise.
12091 (clog_test): Likewise.
12092 (clog10_test): Likewise.
12093 (conj_test): Likewise.
12094 (copysign_test): Likewise.
12095 (cos_test): Likewise.
12096 (cos_test_tonearest): Likewise.
12097 (cos_test_towardzero): Likewise.
12098 (cos_test_downward): Likewise.
12099 (cos_test_upward): Likewise.
12100 (cosh_test): Likewise.
12101 (cosh_test_tonearest): Likewise.
12102 (cosh_test_towardzero): Likewise.
12103 (cosh_test_downward): Likewise.
12104 (cosh_test_upward): Likewise.
12105 (cpow_test): Likewise.
12106 (cproj_test): Likewise.
12107 (creal_test): Likewise.
12108 (csin_test): Likewise.
12109 (csinh_test): Likewise.
12110 (csqrt_test): Likewise.
12111 (ctan_test): Likewise.
12112 (ctan_test_tonearest): Likewise.
12113 (ctan_test_towardzero): Likewise.
12114 (ctan_test_downward): Likewise.
12115 (ctan_test_upward): Likewise.
12116 (ctanh_test): Likewise.
12117 (ctanh_test_tonearest): Likewise.
12118 (ctanh_test_towardzero): Likewise.
12119 (ctanh_test_downward): Likewise.
12120 (ctanh_test_upward): Likewise.
12121 (erf_test): Likewise.
12122 (erfc_test): Likewise.
12123 (exp_test): Likewise.
12124 (exp_test_tonearest): Likewise.
12125 (exp_test_towardzero): Likewise.
12126 (exp_test_downward): Likewise.
12127 (exp_test_upward): Likewise.
12128 (exp10_test): Likewise.
12129 (exp10_test_tonearest): Likewise.
12130 (exp10_test_towardzero): Likewise.
12131 (exp10_test_downward): Likewise.
12132 (exp10_test_upward): Likewise.
12133 (pow10_test): Likewise.
12134 (exp2_test): Likewise.
12135 (expm1_test): Likewise.
12136 (expm1_test_tonearest): Likewise.
12137 (expm1_test_towardzero): Likewise.
12138 (expm1_test_downward): Likewise.
12139 (expm1_test_upward): Likewise.
12140 (fabs_test): Likewise.
12141 (fdim_test): Likewise.
12142 (floor_test): Likewise.
12143 (fma_test): Likewise.
12144 (fma_test_towardzero): Likewise.
12145 (fma_test_downward): Likewise.
12146 (fma_test_upward): Likewise.
12147 (fmax_test): Likewise.
12148 (fmin_test): Likewise.
12149 (fmod_test): Likewise.
12150 (fpclassify_test): Likewise.
12151 (frexp_test): Likewise.
12152 (hypot_test): Likewise.
12153 (ilogb_test): Likewise.
12154 (isfinite_test): Likewise.
12155 (finite_test): Likewise.
12156 (isgreater_test): Likewise.
12157 (isgreaterequal_test): Likewise.
12158 (isinf_test): Likewise.
12159 (isless_test): Likewise.
12160 (islessequal_test): Likewise.
12161 (islessgreater_test): Likewise.
12162 (isnan_test): Likewise.
12163 (isnormal_test): Likewise.
12164 (issignaling_test): Likewise.
12165 (isunordered_test): Likewise.
12166 (j0_test): Likewise.
12167 (j1_test): Likewise.
12168 (jn_test): Likewise.
12169 (ldexp_test): Likewise.
12170 (lgamma_test): Likewise.
12171 (gamma_test): Likewise.
12172 (lrint_test): Likewise.
12173 (lrint_test_tonearest): Likewise.
12174 (lrint_test_towardzero): Likewise.
12175 (lrint_test_downward): Likewise.
12176 (lrint_test_upward): Likewise.
12177 (llrint_test): Likewise.
12178 (llrint_test_tonearest): Likewise.
12179 (llrint_test_towardzero): Likewise.
12180 (llrint_test_downward): Likewise.
12181 (llrint_test_upward): Likewise.
12182 (log_test): Likewise.
12183 (log10_test): Likewise.
12184 (log1p_test): Likewise.
12185 (log2_test): Likewise.
12186 (logb_test): Likewise.
12187 (logb_test_downward): Likewise.
12188 (lround_test): Likewise.
12189 (llround_test): Likewise.
12190 (modf_test): Likewise.
12191 (nearbyint_test): Likewise.
12192 (nextafter_test): Likewise.
12193 (nexttoward_test): Likewise.
12194 (pow_test): Likewise.
12195 (pow_test_tonearest): Likewise.
12196 (pow_test_towardzero): Likewise.
12197 (pow_test_downward): Likewise.
12198 (pow_test_upward): Likewise.
12199 (remainder_test): Likewise.
12200 (drem_test): Likewise.
12201 (remainder_test_tonearest): Likewise.
12202 (drem_test_tonearest): Likewise.
12203 (remainder_test_towardzero): Likewise.
12204 (drem_test_towardzero): Likewise.
12205 (remainder_test_downward): Likewise.
12206 (drem_test_downward): Likewise.
12207 (remainder_test_upward): Likewise.
12208 (drem_test_upward): Likewise.
12209 (remquo_test): Likewise.
12210 (rint_test): Likewise.
12211 (rint_test_tonearest): Likewise.
12212 (rint_test_towardzero): Likewise.
12213 (rint_test_downward): Likewise.
12214 (rint_test_upward): Likewise.
12215 (round_test): Likewise.
12216 (scalb_test): Likewise.
12217 (scalbn_test): Likewise.
12218 (scalbln_test): Likewise.
12219 (signbit_test): Likewise.
12220 (sin_test): Likewise.
12221 (sin_test_tonearest): Likewise.
12222 (sin_test_towardzero): Likewise.
12223 (sin_test_downward): Likewise.
12224 (sin_test_upward): Likewise.
12225 (sincos_test): Likewise.
12226 (sinh_test): Likewise.
12227 (sinh_test_tonearest): Likewise.
12228 (sinh_test_towardzero): Likewise.
12229 (sinh_test_downward): Likewise.
12230 (sinh_test_upward): Likewise.
12231 (sqrt_test): Likewise.
12232 (sqrt_test_tonearest): Likewise.
12233 (sqrt_test_towardzero): Likewise.
12234 (sqrt_test_downward): Likewise.
12235 (sqrt_test_upward): Likewise.
12236 (tan_test): Likewise.
12237 (tan_test_tonearest): Likewise.
12238 (tan_test_towardzero): Likewise.
12239 (tan_test_downward): Likewise.
12240 (tan_test_upward): Likewise.
12241 (tanh_test): Likewise.
12242 (tgamma_test): Likewise.
12243 (trunc_test): Likewise.
12244 (y0_test): Likewise.
12245 (y1_test): Likewise.
12246 (yn_test): Likewise.
12247 (significand_test): Likewise.
12248
e6b6a857
JM
12249 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
12250 individual tests in comment.
12251 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
12252 (prev_max_error): New variable.
12253 (prev_real_max_error): Likewise.
12254 (prev_imag_max_error): Likewise.
12255 (compare_ulp_data): Don't refer to test names in comment.
12256 (find_test_ulps): Remove function.
12257 (find_function_ulps): Likewise.
12258 (find_complex_function_ulps): Likewise.
12259 (init_max_error): Take function name as argument. Look up ulps
12260 for that function.
12261 (print_ulps): Remove function.
12262 (print_max_error): Use prev_max_error instead of calling
12263 find_function_ulps.
12264 (print_complex_max_error): Use prev_real_max_error and
12265 prev_imag_max_error instead of calling find_complex_function_ulps.
12266 (check_float_internal): Take max_ulp parameter instead of calling
12267 find_test_ulps. Don't call print_ulps.
12268 (check_float): Update call to check_float_internal.
12269 (check_complex): Update calls to check_float_internal.
12270 (START): Pass argument to init_max_error.
12271 * math/gen-libm-test.pl (%results): Don't include "kind"
12272 information.
12273 (parse_ulps): Don't handle ulps of individual tests.
12274 (print_ulps_file): Likewise.
12275 (output_ulps): Likewise.
12276 * math/README.libm-test: Update.
12277 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
12278 individual tests.
12279 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
12280 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
12281 * sysdeps/arm/libm-test-ulps: Likewise.
12282 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
12283 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
12284 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
12285 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
12286 * sysdeps/microblaze/libm-test-ulps: Likewise.
12287 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12288 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12289 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12290 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
12291 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12292 * sysdeps/sh/libm-test-ulps: Likewise.
12293 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12294 * sysdeps/tile/libm-test-ulps: Likewise.
12295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12296
45adef3c
JM
122972014-03-04 Joseph Myers <joseph@codesourcery.com>
12298
12299 * math/libm-test.inc (print_complex_max_error): Check separately
12300 whether real and imaginary errors are within allowed range and
12301 pass 0 to print_complex_function_ulps instead of value within
12302 allowed range.
12303
000232b9
SP
123042014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12305
d4b17258
SP
12306 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
12307 formatting.
12308 (get_handles_fopen): Likewise.
12309 (do_write_test): Likewise.
12310
091eff71
SP
12311 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
12312
fa3cd248
SP
12313 * libio/fileops.c (do_ftell): Use cached offset when
12314 available.
12315 * libio/iofwide.c (do_ftell_wide): Likewise.
12316 * libio/iofdopen.c (_IO_new_fdopen): Don't use
12317 _IO_file_attach.
12318 * libio/wfileops.c (_IO_fwide): Don't cache offset.
12319
000232b9
SP
12320 [BZ #16532]
12321 * libio/libioP.h (get_file_offset): New function.
12322 * libio/fileops.c (get_file_offset): Likewise.
12323 (do_ftell): Likewise.
12324 (_IO_new_file_seekoff): Split out ftell logic.
12325 * libio/wfileops.c (do_ftell_wide): Likewise.
12326 (_IO_wfile_seekoff): Split out ftell logic.
12327 * libio/tst-ftell-active-handler.c: New test case.
12328 * libio/Makefile (tests): Add it.
12329
116f4d1a
RM
123302014-03-03 Roland McGrath <roland@hack.frob.com>
12331
12332 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
12333 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
12334
532a6035
SP
123352014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12336
12337 [BZ #16639]
12338 * nscd/connections.c (nscd_init): Call do_exit.
12339 (start_threads): Call do_exit and notify_parent.
12340 (begin_drop_privileges): Call do_exit.
12341 (finish_drop_privileges): Likewise.
12342 * nscd/selinux.c (preserve_capabilities): Likewise.
12343 (install_real_capabilities): Likewise.
12344 (nscd_selinux_enabled): Likewise.
12345 (avc_create_thread): Likewise.
12346 (avc_alloc_lock): Likewise.
12347 (nscd_avc_init): Likewise.
12348 * nscd/nscd.c (parent_fd): New static variable.
12349 (main): Create a pipe between parent and child processes.
12350 Skip closing parent_fd.
12351 (monitor_child): New function.
12352 (do_exit): Likewise.
12353 (notify_parent): Likewise.
12354 * nscd/nscd.h (notify_parent): Likewise.
12355 (do_exit): Likewise.
12356
d6285c9f
CD
123572014-03-03 Carlos O'Donell <carlos@redhat.com>
12358
12359 * malloc/malloc.c (__libc_calloc): Revert last change.
12360
2b85d2a0
AZ
123612014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12362
12363 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12364
c7debbdf
RS
123652014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12366
12367 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
12368 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
12369 implementation.
12370 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12371 (__libc_ifunc_impl_list): Likewise.
12372 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
12373 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
12374 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
12375 * string/strrchr.c: Define STRRCHR.
12376
235eed86
OB
123772014-02-28 Ondřej Bílka <neleai@seznam.cz>
12378
12379 * benchtest/bench-strtok.c (simple_strtok): Delete.
12380 (strtok_string): Use as benchmark.
12381 * string/strtok (STRTOK): New macro.
12382
8e25d1e7
CD
123832014-02-28 Carlos O'Donell <carlos@redhat.com>
12384
ef563f92
CD
12385 * manual/threads.texi: Add header and standard comments to all
12386 functions.
12387
8e25d1e7
CD
12388 * elf/dl-lookup.c (check_match): New function.
12389 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
12390 (do_lookup_x): Remove nested function check_match. Use non-nested
12391 function check_match.
12392
ff71cc37
RM
123932014-02-28 Roland McGrath <roland@hack.frob.com>
12394
f08e9a26
RM
12395 * csu/Makefile (generated, before-compile): Use += rather than =.
12396 * catgets/Makefile (generated, generated-dirs): Likewise.
12397 * debug/Makefile (generated): Likewise.
12398 * dlfcn/Makefile (generated): Likewise.
12399 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
12400 * iconvdata/Makefile (before-compile, generated): Likewise.
12401 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
12402 * libio/Makefile (generated): Likewise.
12403 * malloc/Makefile (generated): Likewise.
12404 * manual/Makefile (generated, generated-dirs): Likewise.
12405 * misc/Makefile (generated): Likewise.
12406 * posix/Makefile (generated): Likewise.
12407 * resolv/Makefile (generated): Likewise.
12408 * sunrpc/Makefile (generated, generated-dirs): Likewise.
12409 * timezone/Makefile (generated, generated-dirs): Likewise.
12410
ff71cc37
RM
12411 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
12412
fe13a20c
AZ
124132014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12414
57f41c40
AS
12415 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12416 power8 implementation.
12417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
12418 file: POWER8 llround ifunc implementation.
12419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
12420 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
12421 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
12422 POWER8 llround implementation.
12423
57f41c40
AS
12424 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
12425 power8 implementation.
12426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
12427 file: POWER8 llrint ifunc implementation.
12428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
12429 Add POWER8 implementation.
1ad8950a
AZ
12430 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
12431 POWER8 llrint implementation.
12432
57f41c40
AS
12433 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
12434 power8 implementation.
12435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
12436 file: POWER8 finite ifunc implementation.
12437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
12438 Add POWER8 implementation.
cac626d6
AZ
12439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
12440 Likewise.
12441 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
12442 POWER8 finite implementation.
12443 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
12444
57f41c40
AS
12445 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
12446 power8 implementation.
12447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
12448 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
12449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
12450 POWER8 implementation.
12451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
12452 Likewise.
57f41c40
AS
12453 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
12454 isinf implementation.
4393fc11
AZ
12455 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
12456
57f41c40
AS
12457 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
12458 (INIT_ARCH): Add hwcap2 initialization.
12459 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12460 power8 implementation.
12461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
12462 file: POWER8 isnan ifunc implementation.
487972ae
AZ
12463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
12464 POWER8 implementation.
12465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
12466 Likewise.
57f41c40
AS
12467 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
12468 isnan implementation.
487972ae
AZ
12469 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
12470
7d92b787
JY
124712014-02-27 Joey Ye <joey.ye@arm.com>
12472
12473 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12474 (_FP_NANFRAC_Q): Set to zero.
12475
1cadc858
SP
124762014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12477
12478 [BZ #16623]
12479 * math/auto-libm-test-in: New test inputs.
12480 * math/auto-libm-test-out: Regenerate.
12481 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
12482 and DA.
12483 (__cos): Likewise.
12484 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12485
f8c17e79
JM
124862014-02-27 Joseph Myers <joseph@codesourcery.com>
12487
12488 * scripts/evaluate-test.sh: Take new argument indicating whether
12489 failure is expected.
12490 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
12491 indicating whether failure is expected.
12492 * conform/Makefile (test-xfail-run-conformtest): New variable.
12493 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
12494 level.
12495 * posix/Makefile (test-xfail-annexc): New variable.
12496 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
12497
a5f891ac
JM
124982014-02-26 Joseph Myers <joseph@codesourcery.com>
12499
12500 * argp/Makefile: Include Makeconfig immediately after defining
12501 subdir.
12502 * assert/Makefile: Likewise.
12503 * benchtests/Makefile: Likewise.
12504 * catgets/Makefile: Likewise.
12505 * conform/Makefile: Likewise.
12506 * crypt/Makefile: Likewise.
12507 * csu/Makefile: Likewise.
12508 (all): Remove target.
12509 * ctype/Makefile: Include Makeconfig immediately after defining
12510 subdir.
12511 * debug/Makefile: Likewise.
12512 * dirent/Makefile: Likewise.
12513 * dlfcn/Makefile: Likewise.
12514 * gmon/Makefile: Likewise.
12515 * gnulib/Makefile: Likewise.
12516 * grp/Makefile: Likewise.
12517 * gshadow/Makefile: Likewise.
12518 * hesiod/Makefile: Likewise.
12519 * hurd/Makefile: Likewise.
12520 (all): Remove target.
12521 * iconvdata/Makefile: Include Makeconfig immediately after
12522 defining subdir.
12523 * inet/Makefile: Likewise.
12524 * intl/Makefile: Likewise.
12525 * io/Makefile: Likewise.
12526 * libio/Makefile: Likewise.
12527 (all): Remove target.
12528 * locale/Makefile: Include Makeconfig immediately after defining
12529 subdir.
12530 * login/Makefile: Likewise.
12531 * mach/Makefile: Likewise.
12532 (all): Remove target.
12533 * malloc/Makefile: Include Makeconfig immediately after defining
12534 subdir.
12535 (all): Remove target.
12536 * manual/Makefile: Include Makeconfig immediately after defining
12537 subdir.
12538 * math/Makefile: Likewise.
12539 * misc/Makefile: Likewise.
12540 * nis/Makefile: Likewise.
12541 * nss/Makefile: Likewise.
12542 * po/Makefile: Likewise.
12543 (all): Remove target.
12544 * posix/Makefile: Include Makeconfig immediately after defining
12545 subdir.
12546 * pwd/Makefile: Likewise.
12547 * resolv/Makefile: Likewise.
12548 * resource/Makefile: Likewise.
12549 * rt/Makefile: Likewise.
12550 * setjmp/Makefile: Likewise.
12551 * shadow/Makefile: Likewise.
12552 * signal/Makefile: Likewise.
12553 * socket/Makefile: Likewise.
12554 * soft-fp/Makefile: Likewise.
12555 * stdio-common/Makefile: Likewise.
12556 * stdlib/Makefile: Likewise.
12557 * streams/Makefile: Likewise.
12558 * string/Makefile: Likewise.
12559 * sunrpc/Makefile: Likewise.
12560 (all): Remove target.
12561 * sysvipc/Makefile: Include Makeconfig immediately after defining
12562 subdir.
12563 * termios/Makefile: Likewise.
12564 * time/Makefile: Likewise.
12565 * timezone/Makefile: Likewise.
12566 (all): Remove target.
12567 * wcsmbs/Makefile: Include Makeconfig immediately after defining
12568 subdir.
12569 * wctype/Makefile: Likewise.
12570
5b456e9d
SE
125712014-02-26 Steve Ellcey <sellcey@mips.com>
12572
12573 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
12574 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
12575 (libc_feholdexcept_setround_mips): Ditto.
12576 (libc_feholdsetround): New.
12577 (libc_feholdsetroundf): New.
12578 (libc_feholdsetroundl): New.
12579 (libc_feupdateenv_test_mips): New.
12580 (libc_feupdateenv_test): New.
12581 (libc_feupdateenv_testf): New.
12582 (libc_feupdateenv_testl): New.
12583 (libc_feresetround): New.
12584 (libc_feresetroundf): New.
12585 (libc_feresetroundl): New.
12586 (libc_fetestexcept_mips): New.
12587 (libc_fetestexcept): New.
12588 (libc_fetestexceptf): New.
12589 (libc_fetestexceptl): New.
12590 (HAVE_RM_CTX): New.
12591 (libc_feholdexcept_setround_mips_ctx): New.
12592 (libc_feholdexcept_setround_ctx): New.
12593 (libc_feholdexcept_setroundf_ctx): New.
12594 (libc_feholdexcept_setroundl_ctx): New.
12595 (libc_fesetenv_mips_ctx): New.
12596 (libc_fesetenv_ctx): New.
12597 (libc_fesetenv_ctxf): New.
12598 (libc_fesetenv_ctxl): New.
12599 (libc_feupdateenv_mips_ctx): New.
12600 (libc_feupdateenv_ctx): New.
12601 (libc_feupdateenvf_ctx): New.
12602 (libc_feupdateenvl_ctx): New.
12603 (libc_feholdsetround_mips_ctx): New.
12604 (libc_feholdsetround_ctx): New.
12605 (libc_feholdsetroundf_ctx): New.
12606 (libc_feholdsetroundl_ctx): New.
12607 (libc_feresetround_mips_ctx): New.
12608 (libc_feresetround_ctx): New.
12609 (libc_feresetroundf_ctx): New.
12610 (libc_feresetroundl_ctx): New.
12611
085d0e35
CD
126122014-02-26 Carlos O'Donell <carlos@redhat.com>
12613
f067bf1f
CD
12614 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
12615
085d0e35
CD
12616 * manual/ipc.texi: New file.
12617 * manual/Makefile (chapters): Add ipc.
12618 * manual/job.texi: Add "Inter-Process Communication" to next.
12619 * manual/process.texi: Add "Inter-Process Communication" to prev.
12620
86e58c08
AZ
126212014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12622
12623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12624
4248f0da
OB
126252014-02-26 Ondřej Bílka <neleai@seznam.cz>
12626
12627 * malloc/malloc.c (__libc_calloc): Simplify implementation.
12628
cf822e3c
OB
12629 * manual/arith.texi: Fix spaces after sentences.
12630 * manual/charset.texi: Likewise.
12631 * manual/errno.texi: Likewise.
12632 * manual/install.texi: Likewise.
12633 * manual/llio.texi: Likewise.
12634 * manual/locale.texi: Likewise.
12635 * manual/maint.texi: Likewise.
12636 * manual/math.texi: Likewise.
12637 * manual/memory.texi: Likewise.
12638 * manual/message.texi: Likewise.
12639 * manual/probes.texi: Likewise.
12640 * manual/resource.texi: Likewise.
12641 * manual/signal.texi: Likewise.
12642 * manual/socket.texi: Likewise.
12643 * manual/stdio.texi: Likewise.
12644 * manual/string.texi: Likewise.
12645 * manual/time.texi: Likewise.
12646 * manual/users.texi: Likewise.
12647
ade40b10
CD
126482014-02-25 Carlos O'Donell <carlos@redhat.com>
12649
12650 [BZ #16632]
12651 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
12652 _DEFAULT_SOURCE is defined.
12653
d0503676
CD
126542014-02-25 Ulrich Drepper <drepper@gmail.com>
12655 Carlos O'Donell <carlos@redhat.com>
12656
12657 [BZ #16613]
12658 * elf/dl-tls.c (_dl_count_modids): New function.
12659 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
12660 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
12661 audit library and increment generation counter.
12662 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
12663 * elf/tst-audit9.c: New file.
12664 * elf/tst-auditmod9a.c: New file.
12665 * elf/tst-auditmod9b.c: New file.
12666 * elf/Makefile: Add rules to build and run tst-audit9.
12667
4cbf380c
FW
126682014-02-25 Florian Weimer <fweimer@redhat.com>
12669
12670 [BZ #15347]
12671 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
12672
80a56cc3
WN
126732014-02-25 Will Newton <will.newton@linaro.org>
12674
12675 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
12676 (__longjmp): Restore sp and lr before restoring callee
12677 saved registers. Add longjmp and longjmp_target
12678 SystemTap probe point.
12679 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
12680 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
12681 Define to zero to match jmpbuf layout.
12682 * sysdeps/arm/setjmp.S: Include stap-probe.h.
12683 (__sigsetjmp): Save sp and lr before saving callee
12684 saved registers. Add setjmp SystemTap probe point.
12685
3ea0f74e
SL
126862014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
12687
12688 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12689
b04acb26
AS
126902014-02-24 Andreas Schwab <schwab@suse.de>
12691
12692 [BZ #15804]
12693 * elf/pldd.c (wait_for_ptrace_stop): New function.
12694 (main): Call it after attaching.
12695
098ad55c
RM
126962014-02-22 Roland McGrath <roland@hack.frob.com>
12697
d4ec6ae1
RM
12698 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
12699 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
12700 Versions files is now verboten.
12701 * hurd/Versions (libc: GLIBC_2.0):
12702 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
12703 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
12704 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
12705 * mach/Versions: Likewise.
12706
098ad55c
RM
12707 * csu/Versions: Remove unused %include.
12708 * resolv/Versions: Likewise.
12709
acd7f096
JM
127102014-02-21 Joseph Myers <joseph@codesourcery.com>
12711
f0881698
JM
12712 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
12713 ($(objpfx)check-local-headers.out): Likewise.
12714 ($(objpfx)begin-end-check.out): Likewise.
12715 * Makerules (check-abi-%.out): Likewise.
12716 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
12717 ($(objpfx)test2.cat): Likewise.
12718 ($(objpfx)de/libc.cat): Likewise.
12719 ($(objpfx)test-gencat.out): Likewise.
12720 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
12721 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
12722 ($(objpfx)noload-mem): Likewise.
12723 ($(objpfx)tst-pathopt.out): Likewise.
12724 ($(objpfx)tst-rtld-load-self.out): Likewise.
12725 ($(objpfx)tst-array1-cmp.out): Likewise.
12726 ($(objpfx)tst-array1-static-cmp.out): Likewise.
12727 ($(objpfx)tst-array2-cmp.out): Likewise.
12728 ($(objpfx)tst-array3-cmp.out): Likewise.
12729 ($(objpfx)tst-array4-cmp.out): Likewise.
12730 ($(objpfx)tst-array5-cmp.out): Likewise.
12731 ($(objpfx)tst-array5-static-cmp.out): Likewise.
12732 ($(objpfx)check-textrel.out): Likewise.
12733 ($(objpfx)check-execstack.out): Likewise.
12734 ($(objpfx)check-localplt.out): Likewise.
12735 ($(objpfx)order2-cmp.out): Likewise.
12736 ($(objpfx)tst-leaks1-mem): Likewise.
12737 ($(objpfx)tst-leaks1-static-mem): Likewise.
12738 ($(objpfx)tst-initorder-cmp.out): Likewise.
12739 ($(objpfx)tst-initorder2-cmp.out): Likewise.
12740 ($(objpfx)tst-unused-dep.out): Likewise.
12741 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
12742 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
12743 * iconv/Makefile (test-iconvconfig): Likewise.
12744 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
12745 ($(objpfx)iconv-test.out): Likewise.
12746 ($(objpfx)tst-tables.out): Likewise.
12747 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
12748 ($(objpfx)tst-gettext.out): Likewise.
12749 ($(objpfx)tst-translit.out): Likewise.
12750 ($(objpfx)tst-gettext2.out): Likewise.
12751 ($(objpfx)tst-gettext4.out): Likewise.
12752 ($(objpfx)tst-gettext6.out): Likewise.
12753 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
12754 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
12755 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
12756 ($(objpfx)tst-fopenloc-mem.out): Likewise.
12757 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
12758 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
12759 * posix/Makefile ($(objpfx)globtest.out): Likewise.
12760 ($(objpfx)wordexp-tst.out): Likewise.
12761 ($(objpfx)annexc.out): Likewise.
12762 ($(objpfx)tst-fnmatch-mem): Likewise.
12763 ($(objpfx)bug-regex2-mem): Likewise.
12764 ($(objpfx)bug-regex14-mem): Likewise.
12765 ($(objpfx)bug-regex21-mem): Likewise.
12766 ($(objpfx)bug-regex31-mem): Likewise.
12767 ($(objpfx)tst-vfork3-mem): Likewise.
12768 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12769 ($(objpfx)tst-pcre-mem): Likewise.
12770 ($(objpfx)tst-boost-mem): Likewise.
12771 ($(objpfx)tst-getconf.out): Likewise.
12772 ($(objpfx)bug-ga2-mem): Likewise.
12773 ($(objpfx)bug-glob2-mem): Likewise.
12774 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
12775 ($(objpfx)mtrace-tst-leaks2): Likewise.
12776 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
12777 ($(objpfx)tst-printf.out): Likewise.
12778 ($(objpfx)tst-setvbuf1.out): Likewise.
12779 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
12780 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
12781 ($(objpfx)tst-fmtmsg.out): Likewise.
12782 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
12783 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
12784
acd7f096
JM
12785 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
12786 * bits/sigaction.h [__USE_MISC]: Likewise.
12787 * bits/waitstatus.h: Update #endif comments.
12788 * ctype/ctype.h: Likewise.
12789 * dirent/dirent.h: Likewise.
12790 [__USE_MISC]: Remove redundant conditionals.
12791 * grp/grp.h: Update #endif comments.
12792 [__USE_GNU]: Remove redundant conditionals.
12793 [__USE_MISC]: Likewise.
12794 * inet/netinet/in.h [__USE_GNU]: Likewise.
12795 * io/sys/stat.h [__USE_MISC]: Likewise.
12796 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
12797 * libio/bits/stdio.h: Update #endif comments.
12798 [__USE_MISC]: Remove redundant conditionals.
12799 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
12800 * libio/stdio.h: Update #endif comments.
12801 [__USE_MISC]: Remove redundant conditionals.
12802 * math/bits/math-finite.h [__USE_MISC]: Likewise.
12803 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
12804 * math/math.h: Update #else and #endif comments.
12805 [__USE_MISC]: Remove redundant conditionals.
12806 * misc/sys/uio.h: Update #endif comments.
12807 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
12808 * posix/glob.h [__USE_MISC]: Likewise.
12809 * posix/sys/types.h: Update #endif comments.
12810 [__USE_MISC]: Remove redundant conditionals.
12811 * posix/sys/wait.h: Update #endif comments.
12812 [__USE_MISC]: Remove redundant conditionals.
12813 * posix/unistd.h: Update #endif comments.
12814 [__USE_MISC]: Remove redundant conditionals.
12815 * pwd/pwd.h [__USE_GNU]: Likewise.
12816 [__USE_MISC]: Likewise.
12817 * resolv/netdb.h [__USE_GNU]: Likewise.
12818 * signal/signal.h: Update #endif comments.
12819 [__USE_MISC]: Remove redundant conditionals.
12820 * stdlib/stdlib.h: Update #else and #endif comments.
12821 [__USE_MISC]: Remove redundant conditionals.
12822 [__USE_GNU]: Likewise.
12823 * string/bits/string2.h [__USE_MISC]: Likewise.
12824 * string/string.h: Update #endif comments.
12825 [__USE_MISC]: Remove redundant conditionals.
12826 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
12827 Likewise.
12828 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
12829 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
12830 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
12831 Likewise.
12832 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
12833 Likewise.
12834 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
12835 comments.
12836 [__USE_MISC]: Remove redundant conditionals.
12837 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
12838 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
12839 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
12840 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
12841 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
12842 Likewise.
12843 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
12844 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
12845 Likewise.
12846 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
12847 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
12848 Likewise.
12849 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
12850 Likewise.
12851 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
12852 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
12853 Likewise.
12854 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
12855 Likewise.
12856 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
12857 * sysdeps/x86/bits/string.h: Update #endif comments.
12858 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
12859 conditionals.
12860 * time/sys/time.h: Update #endif comments.
12861 * time/time.h: Likewise.
12862 [__USE_MISC]: Remove redundant conditionals.
12863
a5d82e4e
YG
128642014-02-21 Yury Gribov <y.gribov@samsung.com>
12865
12866 [BZ #16600]
12867 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
12868
9a80491d
AS
128692014-02-21 Andreas Schwab <schwab@linux-m68k.org>
12870
12871 * Versions.def (librt): Add GLIBC_2.17.
12872
105fa381
AC
128732014-02-21 Adam Conrad <adconrad@0c3.net>
12874
12875 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
12876 synonym for _SYS_AUXV_H to allow direct inclusion.
12877 * sysdeps/sparc/bits/hwcap.h: Likewise.
12878 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
12879 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
12880 * sysdeps/sparc/sysdep.h: Likewise.
12881
b8cd1c4e
SP
128822014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12883
12884 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
12885
bd939d23
RS
128862014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12887
12888 * benchtests/bench-strrchr.c: Print length instead of position.
12889
5d7b57ca
JM
128902014-02-20 Joseph Myers <joseph@codesourcery.com>
12891
bc688c10
JM
12892 [BZ #16611]
12893 * sysdeps/unix/sysv/linux/kernel-features.h
12894 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
12895 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
12896 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
12897 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
12898 Likewise.
12899 [__i386__ || __powerpc__ || __sh__ || __sparc__]
12900 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12901 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
12902 (__ASSUME_SENDMMSG): Define instead of using previous
12903 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
12904 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12905 (__ASSUME_SENDMMSG_SYSCALL): Define.
12906 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12907 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12908 Likewise.
12909 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12910 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12911 Likewise.
12912 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12913 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12914 Likewise.
12915 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12916 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12917 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12918 [__ASSUME_SENDMMSG]: Change conditionals to
12919 [__ASSUME_SENDMMSG_SOCKETCALL].
12920 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12921 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12922 Define.
12923 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12924 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12925 Likewise.
12926 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12927 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12928 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12929 [!__ASSUME_SENDMMSG]: Change conditional to
12930 [!__ASSUME_SENDMMSG_SOCKETCALL].
12931 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12932 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12933 Define.
12934
0e31b18c
JM
12935 [BZ #16610]
12936 * sysdeps/unix/sysv/linux/kernel-features.h
12937 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12938 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12939 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12940 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12941 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12942 [__i386__ || __sparc__]
12943 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12944 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12945 (__ASSUME_RECVMMSG): Define instead of using previous
12946 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12947 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12948 (__ASSUME_RECVMMSG_SYSCALL): Define.
12949 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12950 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12951 Likewise.
12952 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12953 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12954 Likewise.
12955 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12956 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12957 Likewise.
12958 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12959 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12960 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12961 [__ASSUME_RECVMMSG]: Change condition to
12962 [__ASSUME_RECVMMSG_SOCKETCALL].
12963 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12964 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12965 Define.
12966 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12967 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12968 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12969 Likewise.
12970 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12971 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12972 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12973 [!__ASSUME_RECVMMSG]: Change condition to
12974 [!__ASSUME_RECVMMSG_SOCKETCALL].
12975 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12976 (__ASSUME_RECVMMSG_SYSCALL): Define.
12977
dd481ccf
JM
12978 [BZ #16609]
12979 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12980 __powerpc__ || __s390__ || __sh__ || __sparc__]
12981 (__ASSUME_SOCKETCALL): Define.
12982 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12983 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12984 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12985 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12986 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12987 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12988 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12989 (__ASSUME_ACCEPT4): Define instead of using previous
12990 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12991 __powerpc__ || __sparc__ || __s390__)] condition.
12992 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12993 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12994 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12995 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12996 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12997 [!__ASSUME_ACCEPT4]: Change condition to
12998 [!__ASSUME_ACCEPT4_SOCKETCALL].
12999 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13000 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
13001 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
13002 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13003 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
13004 __ASSUME_ACCEPT4_SYSCALL.
13005 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
13006 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
13007 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13008 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
13009 __ASSUME_ACCEPT4_SYSCALL.
13010 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
13011 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
13012 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
13013 [__ASSUME_ACCEPT4]: Change condition to
13014 [__ASSUME_ACCEPT4_SOCKETCALL].
13015 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13016 (__ASSUME_SOCKETCALL): Define.
13017 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
13018 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13019 (__ASSUME_SOCKETCALL): Define.
13020 (__ASSUME_ACCEPT4): Remove.
13021 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
13022 Define.
13023 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13024 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
13025 Likewise.
13026 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13027 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
13028
5d7b57ca
JM
13029 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
13030 macro.
13031 (HWCAP_ARM_LPAE): Likewise.
13032 (HWCAP_ARM_EVTSTRM): Likewise.
13033 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
13034 Add vpfd32, lpae and evtstrm.
13035 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
13036 Increase to 22.
13037
63689d61
JM
130382014-02-19 Joseph Myers <joseph@codesourcery.com>
13039
13040 * math/auto-libm-test-in: Add tests of clog10.
13041 * math/auto-libm-test-out: Regenerated.
13042 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
13043 * sysdeps/i386/fpu/libm-test-ulps: Update.
13044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13045
ab09bf61
AS
130462014-02-18 Andreas Schwab <schwab@suse.de>
13047
13048 [BZ #16574]
13049 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
13050 Store non-zero if the second buffer was newly allocated.
13051 (send_dg): Likewise.
13052 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
13053 to send_vc and send_dg.
13054 (res_nsend): Pass NULL for ansp2_malloced.
13055 * resolv/res_query.c (__libc_res_nquery): Add parameter
13056 answerp2_malloced and pass it down to __libc_res_nsend.
13057 (res_nquery): Pass additional NULL to __libc_res_nquery.
13058 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
13059 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
13060 second answer buffer if answerp2_malloced was set.
13061 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
13062 (__libc_res_nquerydomain): Add parameter
13063 answerp2_malloced and pass it down to __libc_res_nquery.
13064 (res_nquerydomain): Pass additional NULL to
13065 __libc_res_nquerydomain.
13066 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
13067 additional NULL to __libc_res_nsend and __libc_res_nquery.
13068 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
13069 additional NULL to __libc_res_nsearch.
13070 (_nss_dns_gethostbyname4_r): Revert last change. Use new
13071 parameter of __libc_res_nsearch to check for separately allocated
13072 second buffer.
13073 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
13074 __libc_res_nquery.
13075 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
13076 additional NULL to __libc_res_nquery.
13077 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
13078 __libc_res_nsearch.
13079 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
13080 * include/resolv.h: Update prototypes of __libc_res_nquery,
13081 __libc_res_nsearch, __libc_res_nsend.
13082
a4fb7861
JM
130832014-02-18 Joseph Myers <joseph@codesourcery.com>
13084
c6af2d89
JM
13085 * math/auto-libm-test-in: Add tests of fma.
13086 * math/auto-libm-test-out: Regenerated.
13087 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
13088 (fma_towardzero_test_data): Likewise.
13089 (fma_downward_test_data): Likewise.
13090 (fma_upward_test_data): Likewise.
13091 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
13092 mpc_mode.
13093 (rounding_modes): Add values for new field.
13094 (func_calc_method): Add value mpfr_fff_f.
13095 (func_calc_desc): Add mpfr_fff_f union field.
13096 (test_function): Add field exact_args.
13097 (FUNC): Add macro argument EXACT_ARGS.
13098 (FUNC_mpfr_f_f): Update call to FUNC.
13099 (FUNC_mpfr_f_f): Likewise.
13100 (FUNC_mpfr_ff_f): Likewise.
13101 (FUNC_mpfr_if_f): Likewise.
13102 (FUNC_mpc_c_f): Likewise.
13103 (FUNC_mpc_c_c): Likewise.
13104 (test_functions): Add fma. Update calls to FUNC.
13105 (handle_input_arg): Add argument exact_args.
13106 (add_test): Update call to handle_input_arg.
13107 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
13108 (output_for_one_input_case): Update call to calc_generic_results.
13109 Recalculate exact zero results in each rounding mode.
13110
a4fb7861
JM
13111 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
13112 non-negative before setting low bit.
13113 * math/auto-libm-test-in: Mark one asin test possibly having
13114 spurious underflow.
13115 * math/auto-libm-test-out: Regenerated.
13116 * sysdeps/i386/fpu/libm-test-ulps: Update.
13117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13118
ef114eaf
DH
131192014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
13120
2b7f4f2c
SP
13121 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
13122 * sysdeps/unix/sysv/linux/microblaze: Move directory from
13123 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
13124 * README: Add missing listing for microblaze*-*-linux-gnu.
13125
8125aedc
AM
131262014-02-16 Ondřej Bílka <neleai@seznam.cz>
13127
13128 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
13129 duplicate code
13130
c70a4b1d
MF
131312014-02-16 Mike Frysinger <vapier@gentoo.org>
13132
13133 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
13134 * sysdeps/unix/sysv/linux/ia64: Move directory from
13135 ports/sysdeps/unix/sysv/linux/ia64.
13136 * README: Update listing for ia64-*-linux-gnu.
13137
591aeaf7
TD
131382014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
13139 Joseph Myers <joseph@codesourcery.com>
13140
13141 * Makeconfig (test-name): New variable.
13142 (evaluate-test): Likewise.
13143 * Makerules (do-test-clean): Remove .test-result files.
13144 (common-mostlyclean): Likewise.
13145 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
13146 * scripts/evaluate-test.sh: New file.
13147
6e89caf1
JM
131482014-02-14 Joseph Myers <joseph@codesourcery.com>
13149
7f98f180
JM
13150 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
13151 separate $(objpfx)tst-fopenloc-cmp.out and
13152 $(objpfx)tst-fopenloc-mem.out targets.
13153 (tests): Update dependencies.
13154 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
13155 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
13156 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
13157 (tst-rxspencer-no-utf8-ARGS): New variable.
13158 (tst-rxspencer-no-utf8-ENV): Likewise.
13159 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
13160 instead of $(objpfx)tst-rxspencer-mem.
13161 ($(objpfx)tst-rxspencer-mem): Change target to
13162 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
13163 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
13164 * posix/tst-rxspencer-no-utf8.c: New file.
13165
6e89caf1
JM
13166 * elf/Makefile ($(objpfx)order.out): Remove rule.
13167 [$(run-built-tests) = yes] (tests): Depend on
13168 $(objpfx)order-cmp.out.
13169 ($(objpfx)order-cmp.out): New rule.
13170 [$(run-built-tests) = yes] (tests): Depend on
13171 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
13172 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
13173 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
13174 $(objpfx)tst-array5-static-cmp.out.
13175 ($(objpfx)tst-array1.out): Remove rule.
13176 ($(objpfx)tst-array1-cmp.out): New rule.
13177 ($(objpfx)tst-array1-static.out): Remove rule.
13178 ($(objpfx)tst-array1-static-cmp.out): New rule.
13179 ($(objpfx)tst-array2.out): Remove rule.
13180 ($(objpfx)tst-array2-cmp.out): New rule.
13181 ($(objpfx)tst-array3.out): Remove rule.
13182 ($(objpfx)tst-array3-cmp.out): New rule.
13183 ($(objpfx)tst-array4.out): Remove rule.
13184 ($(objpfx)tst-array4-cmp.out): New rule.
13185 ($(objpfx)tst-array5.out): Remove rule.
13186 ($(objpfx)tst-array5-cmp.out): New rule.
13187 ($(objpfx)tst-array5-static.out): Remove rule.
13188 ($(objpfx)tst-array5-static-cmp.out): New rule.
13189 [$(run-built-tests) = yes] (tests): Depend on
13190 $(objpfx)order2-cmp.out.
13191 ($(objpfx)order2.out): Remove rule.
13192 ($(objpfx)order2-cmp.out): New rule.
13193 ($(objpfx)tst-initorder.out): Remove rule.
13194 [$(run-built-tests) = yes] (tests): Depend on
13195 $(objpfx)tst-initorder-cmp.out.
13196 ($(objpfx)tst-initorder-cmp.out): New rule.
13197 ($(objpfx)tst-initorder2.out): Remove rule.
13198 [$(run-built-tests) = yes] (tests): Depend on
13199 $(objpfx)tst-initorder2-cmp.out.
13200 ($(objpfx)tst-initorder2-cmp.out): New rule.
13201 [$(run-built-tests) = yes] (tests): Depend on
13202 $(objpfx)tst-unused-dep-cmp.out.
13203 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
13204 ($(objpfx)tst-unused-dep-cmp.out): New rule.
13205 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
13206 on $(objpfx)tst-setvbuf1-cmp.out.
13207 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
13208 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
13209 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
13210 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
13211 ($(objpfx)tst-svc.out): Remove rule.
13212 ($(objpfx)tst-svc-cmp.out): New rule.
13213
ed9a38e2
JM
132142014-02-13 Joseph Myers <joseph@codesourcery.com>
13215
13216 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
13217 * ctype/ctype.h [__USE_MISC]: Likewise.
13218 * dirent/dirent.h [__USE_MISC]: Likewise.
13219 * grp/grp.h [__USE_MISC]: Likewise.
13220 * io/fcntl.h [__USE_MISC]: Likewise.
13221 * io/sys/stat.h [__USE_MISC]: Likewise.
13222 * libio/stdio.h [__USE_MISC]: Likewise.
13223 * posix/unistd.h [__USE_MISC]: Likewise.
13224 * pwd/pwd.h [__USE_MISC]: Likewise.
13225 * stdlib.h [__USE_MISC]: Likewise.
13226 * string/bits/string2.h [__USE_MISC]: Likewise.
13227 * string/string.h [__USE_MISC]: Likewise.
13228 * time/time.h [__USE_MISC]: Likewise.
13229
d6680619
AS
132302014-02-13 Andreas Schwab <schwab@suse.de>
13231
13232 [BZ #16574]
13233 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
13234 second answer buffer if it was separately allocated.
13235
ace614b8
JM
132362014-02-12 Joseph Myers <joseph@codesourcery.com>
13237
743151ae
JM
13238 * sysdeps/mips/math-tests.h: Include <features.h>.
13239 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13240 (ROUNDING_TESTS_long_double): Do not define.
13241 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13242 (EXCEPTION_TESTS_long_double): Likewise.
13243 * sysdeps/mips/mips64/libm-test-ulps: Update.
13244
498afc54
JM
13245 * include/features.h (__USE_BSD): Remove macro definitions.
13246 (__USE_SVID): Likewise.
13247 (_BSD_SOURCE): Likewise.
13248 (_SVID_SOURCE): Likewise.
13249 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
13250 from definition of _DEFAULT_SOURCE.
13251 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
13252 [_DEFAULT_SOURCE].
13253 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
13254 * bits/mman.h [__USE_BSD]: Likewise.
13255 * bits/termios.h [__USE_BSD]: Likewise.
13256 * bits/waitstatus.h [__USE_BSD]: Likewise.
13257 * ctype/ctype.h [__USE_SVID]: Likewise.
13258 * dirent/dirent.h [__USE_BSD]: Likewise.
13259 * grp/grp.h [__USE_SVID]: Likewise.
13260 [__USE_BSD]: Likewise.
13261 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
13262 * io/fcntl.h [__USE_BSD]: Likewise.
13263 * io/ftw.h [__USE_BSD]: Likewise.
13264 * io/sys/stat.h [__USE_BSD]: Likewise.
13265 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
13266 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
13267 * libio/stdio.h [__USE_SVID]: Likewise.
13268 [__USE_BSD]: Likewise.
13269 * math/math.h [__USE_SVID]: Likewise.
13270 [__USE_BSD]: Likewise.
13271 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
13272 * misc/bits/syslog.h [__USE_BSD]: Likewise.
13273 * misc/search.h [__USE_SVID]: Likewise.
13274 * misc/sys/mman.h [__USE_BSD]: Likewise.
13275 * misc/sys/syslog.h [__USE_BSD]: Likewise.
13276 * misc/sys/uio.h [__USE_BSD]: Likewise.
13277 * posix/bits/unistd.h [__USE_BSD]: Likewise.
13278 * posix/glob.h [__USE_BSD]: Likewise.
13279 * posix/regex.h [__USE_BSD]: Likewise.
13280 * posix/sys/types.h [__USE_BSD]: Likewise.
13281 [__USE_SVID]: Likewise.
13282 * posix/sys/utsname.h [__USE_SVID]: Likewise.
13283 * posix/sys/wait.h [__USE_BSD]: Likewise.
13284 [__USE_SVID]: Likewise.
13285 * posix/unistd.h [__USE_BSD]: Likewise.
13286 [__USE_SVID]: Likewise.
13287 * pwd/pwd.h [__USE_SVID]: Likewise.
13288 * resolv/netdb.h [__USE_BSD]: Likewise.
13289 * setjmp/setjmp.h [__USE_BSD]: Likewise.
13290 * signal/signal.h [__USE_BSD]: Likewise.
13291 [__USE_SVID]: Likewise.
13292 * socket/sys/socket.h [__USE_BSD]: Likewise.
13293 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
13294 * stdlib/stdlib.h [__USE_BSD]: Likewise.
13295 [__USE_SVID]: Likewise.
13296 * string/bits/string2.h [__USE_BSD]: Likewise.
13297 [__USE_SVID]: Likewise.
13298 * string/bits/string3.h [__USE_BSD]: Likewise.
13299 * string/endian.h [__USE_BSD]: Likewise.
13300 * string/string.h [__USE_SVID]: Likewise.
13301 [__USE_BSD]: Likewise.
13302 * string/strings.h [__USE_BSD]: Likewise.
13303 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
13304 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
13305 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
13306 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
13307 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
13308 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
13309 Likewise.
13310 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
13311 Likewise.
13312 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
13313 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
13314 Likewise.
13315 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
13316 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
13317 Likewise.
13318 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
13319 Likewise.
13320 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
13321 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
13322 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
13323 Likewise.
13324 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
13325 Likewise.
13326 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
13327 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
13328 * termios/termios.h [__USE_BSD]: Likewise.
13329 * time/sys/time.h [__USE_BSD]: Likewise.
13330 * time/time.h [__USE_BSD]: Likewise.
13331 [__USE_SVID]: Likewise.
13332
dd7b064c
JM
13333 * Makefile (subdir_targets): Remove subdir_lint.out.
13334
a2c4c199
JM
13335 * stdio-common/Makefile (do-tst-unbputc): Remove target.
13336 (do-tst-printf): Likewise.
13337 (tests): Depend directly on $(objpfx)tst-unbputc.out and
13338 $(objpfx)tst-printf.out.
13339
8756f740
JM
13340 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
13341
1b6dd3f1
JM
13342 * Makerules (check-abi-%): Change target to
13343 $(objpfx)check-abi-%.out.
13344 (check-abi target): Update dependencies.
13345 (check-abi-pattern variable): Redirect output of diff to $@.
13346 (check-abi variable): Likewise.
13347 * elf/Makefile (check-abi): Update dependencies.
13348
ace614b8
JM
13349 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
13350 unused.
13351 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
13352 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
13353 subnormal range.
13354 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
13355 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
13356 value has largest subnormal exponent.
13357 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
13358 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
13359 * sysdeps/aarch64/soft-fp/sfp-machine.h
13360 (_FP_TININESS_AFTER_ROUNDING): New macro.
13361 * sysdeps/alpha/soft-fp/sfp-machine.h
13362 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13363 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13364 Likewise.
13365 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
13366 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13367 * sysdeps/mips/soft-fp/sfp-machine.h
13368 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13369 * sysdeps/powerpc/soft-fp/sfp-machine.h
13370 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13371 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13372 Likewise.
13373 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13374 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13375 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13376 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13377 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13378 Likewise.
13379
fbfdf9cb
DAS
133802014-02-12 Dylan Alex Simon <dylan@dylex.net>
13381
13382 [BZ #16545]
13383 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
13384 model 1.
13385
68b7efaa
RH
133862014-02-12 Richard Henderson <rth@redhat.com>
13387
c70a4b1d 13388 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
13389 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
13390 * sysdeps/unix/sysv/linux/alpha: Move directory from
13391 ports/sysdeps/unix/sysv/linux/alpha.
13392 * README: Update listing for alpha-*-linux-gnu.
13393
cb4a2928
JM
133942014-02-11 Joseph Myers <joseph@codesourcery.com>
13395
c941736c
JM
13396 * include/features.h: Update comment documenting feature test
13397 macros.
13398 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
13399 _DEFAULT_SOURCE.
13400 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
13401 (_SVID_SOURCE): Likewise.
13402 (_DEFAULT_SOURCE): Update description of default features.
13403 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
13404 with _GNU_SOURCE.
13405 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
13406 (S_ISVTX): Likewise.
13407 * manual/math.texi (Mathematical Constants): Likewise.
13408 * manual/signal.texi (Interrupted Primitives): Likewise.
13409 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
13410 * math/test-matherr.c (_SVID_SOURCE): Do not define.
13411 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
13412 Don't refer to _SVID_SOURCE in warning text.
13413
e8d8d7ec
JM
13414 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13415
cb4a2928
JM
13416 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
13417 already defined.
13418 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
13419 * sysdeps/mips/dl-lookup.c: Remove.
13420 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
13421
7e6424e3
AK
134222014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13423
13424 [BZ #16447]
13425 * math/auto-libm-test-in: Add testcase for expl.
13426 * math/auto-libm-test-out: Regenerate.
13427 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
13428 calculation of unsafe.
13429 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
13430
75eff3fe
MS
134312014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
13432
13433 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
13434 * sysdeps/unix/sysv/linux/aarch64: Move directory from
13435 ports/sysdeps/unix/sysv/linux/aarch64.
13436 * README: Update listing for aarch64*-*-linux-gnu.
13437
d35f1e80
WN
134382014-02-11 Will Newton <will.newton@linaro.org>
13439
13440 * manual/probes.texi (Mathematical Function Probes): Use
13441 "triggered" instead of "hit".
13442
7b3436d4
WN
13443 * manual/probes.texi (Internal Probes): Add documentation
13444 of setjmp, longjmp and longjmp_target probes.
13445
b4f12ca3
WN
13446 * include/stap-probe.h: Add comment about probe argument
13447 format.
13448
c13a72b7
WN
13449 * malloc/mtrace.c (attribute_hidden): Remove unused macro
13450 definition. (tr_where, tr_freehook, tr_mallochook,
13451 tr_reallochook, tr_memalignhook): Use ANSI protoype.
13452
195b8165
DM
134532014-02-11 David S. Miller <davem@davemloft.net>
13454
13455 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
13456 processing int_tests.
13457
2ad7600b
JM
134582014-02-10 Joseph Myers <joseph@codesourcery.com>
13459
13460 * sysdeps/mips: Move directory from ports/sysdeps/mips.
13461 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
13462 * sysdeps/unix/sysv/linux/mips: Move directory from
13463 ports/sysdeps/unix/sysv/linux/mips.
13464 * README: Update listing for mips-*-linux-gnu and
13465 mips64-*-linux-gnu.
13466
73588a72
AS
134672014-02-10 Andreas Schwab <schwab@linux-m68k.org>
13468
13469 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
13470 * sysdeps/unix/sysv/linux/m68k: Move directory from
13471 ports/sysdeps/unix/sysv/linux/m68k.
13472 * README: Update listing for m68k-*-linux-gnu.
13473
4372980f
CM
134742014-02-10 Chris Metcalf <cmetcalf@tilera.com>
13475
13476 * sysdeps/tile: Move directory from ports/sysdeps/tile.
13477 * sysdeps/unix/sysv/linux/generic: Move directory from
13478 ports/sysdeps/unix/sysv/linux/generic.
13479 * sysdeps/unix/sysv/linux/tile: Move directory from
13480 ports/sysdeps/unix/sysv/linux/tile.
13481 * README: Update listing for tile*-*-linux-gnu.
13482
a1ffb40e
OB
134832014-02-10 Ondřej Bílka <neleai@seznam.cz>
13484
57f41c40
AS
13485 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
13486 __builtin_expect.
a1ffb40e
OB
13487 * benchtests/bench-memmem.c (simple_memmem): Likewise.
13488 * catgets/open_catalog.c (__open_catalog): Likewise.
13489 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
13490 * debug/confstr_chk.c: Likewise.
13491 * debug/fread_chk.c (__fread_chk): Likewise.
13492 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
13493 * debug/getgroups_chk.c: Likewise.
13494 * debug/mbsnrtowcs_chk.c: Likewise.
13495 * debug/mbsrtowcs_chk.c: Likewise.
13496 * debug/mbstowcs_chk.c: Likewise.
13497 * debug/memcpy_chk.c: Likewise.
13498 * debug/memmove_chk.c: Likewise.
13499 * debug/mempcpy_chk.c: Likewise.
13500 * debug/memset_chk.c: Likewise.
13501 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13502 * debug/strcat_chk.c (__strcat_chk): Likewise.
13503 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
13504 * debug/strncat_chk.c (__strncat_chk): Likewise.
13505 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
13506 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
13507 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
13508 * debug/wcpncpy_chk.c: Likewise.
13509 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13510 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
13511 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
13512 * debug/wcsncpy_chk.c: Likewise.
13513 * debug/wcsnrtombs_chk.c: Likewise.
13514 * debug/wcsrtombs_chk.c: Likewise.
13515 * debug/wcstombs_chk.c: Likewise.
13516 * debug/wmemcpy_chk.c: Likewise.
13517 * debug/wmemmove_chk.c: Likewise.
13518 * debug/wmempcpy_chk.c: Likewise.
13519 * debug/wmemset_chk.c: Likewise.
13520 * dirent/scandirat.c (SCANDIRAT): Likewise.
13521 * dlfcn/dladdr1.c (dladdr1): Likewise.
13522 * dlfcn/dladdr.c (dladdr): Likewise.
13523 * dlfcn/dlclose.c (dlclose_doit): Likewise.
13524 * dlfcn/dlerror.c (__dlerror): Likewise.
13525 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
13526 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13527 * dlfcn/dlopen.c (dlopen_doit): Likewise.
13528 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
13529 * dlfcn/dlsym.c (dlsym_doit): Likewise.
13530 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
13531 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
13532 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
13533 Likewise.
13534 * elf/dl-conflict.c: Likewise.
13535 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
13536 * elf/dl-dst.h: Likewise.
13537 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
13538 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
13539 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
13540 * elf/dl-init.c (call_init, _dl_init): Likewise.
13541 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
13542 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
13543 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
13544 Likewise.
a1ffb40e
OB
13545 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
13546 Likewise.
13547 * elf/dl-minimal.c (__libc_memalign): Likewise.
13548 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
13549 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13550 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
13551 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
13552 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
13553 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
13554 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
13555 * elf/dl-writev.h (_dl_writev): Likewise.
13556 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
13557 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
13558 (dl_main): Likewise.
a1ffb40e
OB
13559 * elf/setup-vdso.h (setup_vdso): Likewise.
13560 * grp/compat-initgroups.c (compat_call): Likewise.
13561 * grp/fgetgrent.c (fgetgrent): Likewise.
13562 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
13563 * grp/putgrent.c (putgrent): Likewise.
13564 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
13565 Likewise.
13566 * hurd/hurdinit.c: Likewise.
13567 * iconvdata/8bit-gap.c (struct): Likewise.
13568 * iconvdata/ansi_x3.110.c : Likewise.
13569 * iconvdata/big5.c : Likewise.
13570 * iconvdata/big5hkscs.c : Likewise.
13571 * iconvdata/cp1255.c: Likewise.
13572 * iconvdata/cp1258.c : Likewise.
13573 * iconvdata/cp932.c : Likewise.
13574 * iconvdata/euc-cn.c: Likewise.
13575 * iconvdata/euc-jisx0213.c : Likewise.
13576 * iconvdata/euc-jp.c: Likewise.
13577 * iconvdata/euc-jp-ms.c : Likewise.
13578 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
13579 * iconvdata/gb18030.c : Likewise.
13580 * iconvdata/gbbig5.c (const): Likewise.
13581 * iconvdata/gbgbk.c: Likewise.
13582 * iconvdata/gbk.c : Likewise.
13583 * iconvdata/ibm1364.c : Likewise.
13584 * iconvdata/ibm930.c : Likewise.
13585 * iconvdata/ibm932.c: Likewise.
13586 * iconvdata/ibm933.c : Likewise.
13587 * iconvdata/ibm935.c : Likewise.
13588 * iconvdata/ibm937.c : Likewise.
13589 * iconvdata/ibm939.c : Likewise.
13590 * iconvdata/ibm943.c: Likewise.
13591 * iconvdata/iso_11548-1.c: Likewise.
13592 * iconvdata/iso-2022-cn.c : Likewise.
13593 * iconvdata/iso-2022-cn-ext.c : Likewise.
13594 * iconvdata/iso-2022-jp-3.c: Likewise.
13595 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
13596 * iconvdata/iso-2022-kr.c : Likewise.
13597 * iconvdata/iso646.c (gconv_end): Likewise.
13598 * iconvdata/iso_6937-2.c : Likewise.
13599 * iconvdata/iso_6937.c : Likewise.
13600 * iconvdata/iso8859-1.c: Likewise.
13601 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
13602 * iconvdata/shift_jisx0213.c : Likewise.
13603 * iconvdata/sjis.c : Likewise.
13604 * iconvdata/t.61.c : Likewise.
13605 * iconvdata/tcvn5712-1.c : Likewise.
13606 * iconvdata/tscii.c: Likewise.
13607 * iconvdata/uhc.c : Likewise.
13608 * iconvdata/unicode.c (gconv_end): Likewise.
13609 * iconvdata/utf-16.c (gconv_end): Likewise.
13610 * iconvdata/utf-32.c (gconv_end): Likewise.
13611 * iconvdata/utf-7.c (base64): Likewise.
13612 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
13613 * iconv/gconv_close.c (__gconv_close): Likewise.
13614 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
13615 * iconv/gconv_simple.c (internal_ucs4_loop_single)
13616 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
13617 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
13618 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
13619 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
13620 * iconv/iconv.c (iconv): Likewise.
13621 * iconv/iconv_close.c: Likewise.
13622 * iconv/loop.c (SINGLE): Likewise.
13623 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
13624 * include/atomic.h: Likewise.
13625 * inet/inet6_option.c (option_alloc): Likewise.
13626 * intl/bindtextdom.c (set_binding_values): Likewise.
13627 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
13628 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
13629 * intl/localealias.c (read_alias_file): Likewise.
13630 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
13631 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
13632 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
13633 * libio/fmemopen.c (fmemopen): Likewise.
13634 * libio/iofgets.c (_IO_fgets): Likewise.
13635 * libio/iofgets_u.c (fgets_unlocked): Likewise.
13636 * libio/iofgetws.c (fgetws): Likewise.
13637 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13638 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
13639 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
13640 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
13641 * locale/findlocale.c (_nl_find_locale): Likewise.
13642 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
13643 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
13644 Likewise.
13645 * locale/setlocale.c (setlocale): Likewise.
13646 * login/programs/pt_chown.c (main): Likewise.
13647 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
13648 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
13649 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
13650 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
13651 * math/e_exp2l.c: Likewise.
13652 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
13653 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
13654 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
13655 * math/s_catan.c (__catan): Likewise.
13656 * math/s_catanf.c (__catanf): Likewise.
13657 * math/s_catanh.c (__catanh): Likewise.
13658 * math/s_catanhf.c (__catanhf): Likewise.
13659 * math/s_catanhl.c (__catanhl): Likewise.
13660 * math/s_catanl.c (__catanl): Likewise.
13661 * math/s_ccosh.c (__ccosh): Likewise.
13662 * math/s_ccoshf.c (__ccoshf): Likewise.
13663 * math/s_ccoshl.c (__ccoshl): Likewise.
13664 * math/s_cexp.c (__cexp): Likewise.
13665 * math/s_cexpf.c (__cexpf): Likewise.
13666 * math/s_cexpl.c (__cexpl): Likewise.
13667 * math/s_clog10.c (__clog10): Likewise.
13668 * math/s_clog10f.c (__clog10f): Likewise.
13669 * math/s_clog10l.c (__clog10l): Likewise.
13670 * math/s_clog.c (__clog): Likewise.
13671 * math/s_clogf.c (__clogf): Likewise.
13672 * math/s_clogl.c (__clogl): Likewise.
13673 * math/s_csin.c (__csin): Likewise.
13674 * math/s_csinf.c (__csinf): Likewise.
13675 * math/s_csinh.c (__csinh): Likewise.
13676 * math/s_csinhf.c (__csinhf): Likewise.
13677 * math/s_csinhl.c (__csinhl): Likewise.
13678 * math/s_csinl.c (__csinl): Likewise.
13679 * math/s_csqrt.c (__csqrt): Likewise.
13680 * math/s_csqrtf.c (__csqrtf): Likewise.
13681 * math/s_csqrtl.c (__csqrtl): Likewise.
13682 * math/s_ctan.c (__ctan): Likewise.
13683 * math/s_ctanf.c (__ctanf): Likewise.
13684 * math/s_ctanh.c (__ctanh): Likewise.
13685 * math/s_ctanhf.c (__ctanhf): Likewise.
13686 * math/s_ctanhl.c (__ctanhl): Likewise.
13687 * math/s_ctanl.c (__ctanl): Likewise.
13688 * math/w_pow.c: Likewise.
13689 * math/w_powf.c: Likewise.
13690 * math/w_powl.c: Likewise.
13691 * math/w_scalb.c (sysv_scalb): Likewise.
13692 * math/w_scalbf.c (sysv_scalbf): Likewise.
13693 * math/w_scalbl.c (sysv_scalbl): Likewise.
13694 * misc/error.c (error_tail): Likewise.
13695 * misc/pselect.c (__pselect): Likewise.
13696 * nis/nis_callback.c (__nis_create_callback): Likewise.
13697 * nis/nis_call.c (__nisfind_server): Likewise.
13698 * nis/nis_creategroup.c (nis_creategroup): Likewise.
13699 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
13700 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
13701 * nis/nis_getservlist.c (nis_getservlist): Likewise.
13702 * nis/nis_lookup.c (nis_lookup): Likewise.
13703 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
13704 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
13705 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 13706 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
13707 * nis/nss_compat/compat-grp.c (getgrent_next_file)
13708 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
13709 * nis/nss_compat/compat-initgroups.c (add_group)
13710 (internal_getgrent_r): Likewise.
13711 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
13712 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
13713 * nis/nss_compat/compat-spwd.c (getspent_next_file)
13714 (internal_getspnam_r): Likewise.
13715 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
13716 (_nss_nis_getaliasbyname_r): Likewise.
13717 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
13718 (_nss_nis_getntohost_r): Likewise.
13719 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
13720 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
13721 (_nss_nis_getgrgid_r): Likewise.
13722 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
13723 (internal_nis_gethostent_r, internal_gethostbyname2_r)
13724 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
13725 (_nss_nis_gethostbyname4_r): Likewise.
13726 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
13727 (initgroups_netid): Likewise.
a1ffb40e 13728 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
13729 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
13730 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
13731 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
13732 (_nss_nis_getprotobynumber_r): Likewise.
13733 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
13734 (_nss_nis_getsecretkey): Likewise.
13735 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
13736 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
13737 (_nss_nis_getpwuid_r): Likewise.
13738 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
13739 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
13740 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
13741 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
13742 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
13743 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
13744 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
13745 Likewise.
57f41c40
AS
13746 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
13747 (_nss_nisplus_getntohost_r): Likewise.
13748 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
13749 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
13750 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
13751 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 13752 Likewise.
57f41c40
AS
13753 * nis/nss_nisplus/nisplus-initgroups.c
13754 (_nss_nisplus_initgroups_dyn): Likewise.
13755 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
13756 (_nss_nisplus_getnetbyaddr_r): Likewise.
13757 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
13758 (_nss_nisplus_getprotobynumber_r): Likewise.
13759 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
13760 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
13761 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
13762 Likewise.
57f41c40
AS
13763 * nis/nss_nisplus/nisplus-service.c
13764 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
13765 (_nss_nisplus_getservbyport_r): Likewise.
13766 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
13767 (_nss_nisplus_getspnam_r): Likewise.
13768 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
13769 Likewise.
a1ffb40e
OB
13770 * nscd/aicache.c (addhstaiX): Likewise.
13771 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
13772 * nscd/connections.c (register_traced_file, send_ro_fd)
13773 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
13774 (main_loop_epoll): Likewise.
a1ffb40e
OB
13775 * nscd/grpcache.c (addgrbyX): Likewise.
13776 * nscd/hstcache.c (addhstbyX): Likewise.
13777 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13778 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
13779 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
13780 (addinnetgrX): Likewise.
13781 * nscd/nscd-client.h (__nscd_acquire_maplock)
13782 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
13783 * nscd/nscd_getai.c (__nscd_getai): Likewise.
13784 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13785 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
13786 Likewise.
13787 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
13788 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
13789 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
13790 (__nscd_get_map_ref): Likewise.
a1ffb40e 13791 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
13792 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
13793 Likewise.
a1ffb40e
OB
13794 * nscd/pwdcache.c (addpwbyX): Likewise.
13795 * nscd/selinux.c (preserve_capabilities): Likewise.
13796 * nscd/servicescache.c (addservbyX): Likewise.
13797 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
13798 * posix/fnmatch.c (fnmatch): Likewise.
13799 * posix/getopt.c (_getopt_internal_r): Likewise.
13800 * posix/glob.c (glob, glob_in_dir): Likewise.
13801 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
13802 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
13803 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
13804 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
13805 * resolv/res_init.c: Likewise.
13806 * resolv/res_mkquery.c (res_nmkquery): Likewise.
13807 * resolv/res_query.c (__libc_res_nquery): Likewise.
13808 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
13809 Likewise.
13810 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
13811 * stdio-common/perror.c (perror): Likewise.
13812 * stdio-common/printf_fp.c (___printf_fp): Likewise.
13813 * stdio-common/tmpnam.c (tmpnam): Likewise.
13814 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13815 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
13816 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13817 Likewise.
a1ffb40e
OB
13818 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13819 * stdlib/putenv.c (putenv): Likewise.
13820 * stdlib/setenv.c (__add_to_environ): Likewise.
13821 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13822 * stdlib/strtol_l.c (INTERNAL): Likewise.
13823 * string/memmem.c (memmem): Likewise.
13824 * string/strerror.c (strerror): Likewise.
13825 * string/strnlen.c (__strnlen): Likewise.
13826 * string/test-memmem.c (simple_memmem): Likewise.
13827 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
13828 * sunrpc/pm_getport.c (__get_socket): Likewise.
13829 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
13830 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
13831 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
13832 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
13833 Likewise.
13834 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13835 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13836 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
13837 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
13838 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
13839 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
13840 Likewise.
13841 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
13842 Likewise.
a1ffb40e
OB
13843 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13844 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13845 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13846 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13847 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13848 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
13849 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13850 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
13851 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
13852 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
13853 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13854 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13855 Likewise.
13856 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
13857 Likewise.
13858 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
13859 Likewise.
13860 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
13861 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13862 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
13863 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
13864 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13865 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
13866 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13867 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
13868 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
13869 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
13870 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
13871 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13872 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13873 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13874 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
13875 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13876 Likewise.
a1ffb40e
OB
13877 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
13878 Likewise.
13879 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
13880 Likewise.
13881 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
13882 Likewise.
13883 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13884 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13885 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
13886 Likewise.
13887 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
13888 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
13889 * sysdeps/posix/opendir.c (__opendirat): Likewise.
13890 * sysdeps/posix/sleep.c: Likewise.
13891 * sysdeps/posix/tempname.c: Likewise.
13892 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
13893 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13894 Likewise.
57f41c40
AS
13895 * sysdeps/powerpc/powerpc32/dl-machine.h
13896 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
13897 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13898 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13899 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
13900 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
13901 Likewise.
13902 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13903 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
13904 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13905 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13906 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13907 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13908 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13909 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13910 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13911 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13912 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13913 (elf_machine_lazy_rel): Likewise.
a1ffb40e 13914 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13915 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13916 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13917 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13918 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13919 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13920 * sysdeps/unix/grantpt.c (grantpt): Likewise.
13921 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13922 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13923 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13924 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13925 Likewise.
13926 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13927 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13928 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13929 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13930 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13931 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13932 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13933 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13934 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13935 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13936 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13937 Likewise.
13938 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13939 (__posix_fallocate64_l64): Likewise.
13940 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13941 (posix_fallocate): Likewise.
57f41c40
AS
13942 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13943 Likewise.
a1ffb40e 13944 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
13945 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13946 (getifaddrs_internal): Likewise.
a1ffb40e
OB
13947 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13948 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13949 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13950 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13951 * sysdeps/unix/sysv/linux/posix_fallocate64.c
13952 (__posix_fallocate64_l64): Likewise.
13953 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13954 Likewise.
13955 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
13956 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13957 (__get_clockfreq): Likewise.
a1ffb40e
OB
13958 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13959 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13960 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13961 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13962 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13963 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13964 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13965 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13966 Likewise.
13967 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13968 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13969 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13970 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13971 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13972 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13973 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13974 Likewise.
13975 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13976 (posix_fallocate): Likewise.
13977 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13978 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13979 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13980 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13981 (elf_machine_rela, elf_machine_rela_relative)
13982 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13983 * time/asctime.c (asctime_internal): Likewise.
13984 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13985 * time/tzset.c (__tzset_parse_tz): Likewise.
13986 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13987 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13988 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13989 * wcsmbs/wcsmbsload.h: Likewise.
13990
f3d338c9
OB
13991 [BZ #15894]
13992 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13993
57f41c40
AS
13994 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13995 (arena_get2): Remove THREAD_STATS conditionals.
13996 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13997 (__malloc_stats, int): Likewise.
bdfe308a 13998
d674667c
MF
139992014-02-08 Mike Frysinger <vapier@gentoo.org>
14000
14001 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
14002 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
14003
6349768c
MF
14004 * manual/setjmp.texi: Fix typos/grammar errors.
14005
0b7c7473
MF
14006 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
14007 Only return early when n is <= 0. Delete unused return statement.
14008
ac8cc9e3
MF
14009 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
14010 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
14011 * debug/tst-longjmp_chk3.c: New file.
14012
c5bb8e23
MF
14013 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
14014 (test_main): Replace code with set_fortify_handler call.
14015 * debug/test-strcpy_chk.c: Likewise.
14016 * debug/tst-chk1.c: Likewise.
14017 * debug/tst-longjmp_chk.c: Likewise.
14018 * test-skeleton.c: Include fcntl.h & paths.h
14019 (set_fortify_handler): Define.
14020
10444e42
MF
14021 * debug/tst-longjmp_chk.c: Add header comment and include
14022 ../test-skeleton.c.
14023 (do_test): Mark static.
14024 (TEST_FUNCTION): Define.
14025
1e805e8d
MF
14026 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
14027 (IP_PMTUDISC_INTERFACE): Likewise.
14028 (IP_MULTICAST_IF): Likewise.
14029 (IP_MULTICAST_TTL): Likewise.
14030 (IP_MULTICAST_LOOP): Likewise.
14031 (IP_ADD_MEMBERSHIP): Likewise.
14032 (IP_DROP_MEMBERSHIP): Likewise.
14033 (IP_UNBLOCK_SOURCE): Likewise.
14034 (IP_BLOCK_SOURCE): Likewise.
14035 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
14036 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
14037 (IP_MSFILTER): Likewise.
14038 (MCAST_JOIN_GROUP): Likewise.
14039 (MCAST_BLOCK_SOURCE): Likewise.
14040 (MCAST_UNBLOCK_SOURCE): Likewise.
14041 (MCAST_LEAVE_GROUP): Likewise.
14042 (MCAST_JOIN_SOURCE_GROUP): Likewise.
14043 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
14044 (MCAST_MSFILTER): Likewise.
14045 (IP_MULTICAST_ALL): Likewise.
14046 (IP_UNICAST_IF): Likewise.
14047
73f79bb7
MF
14048 * timezone/Makefile: Delete $(have-ksh) check.
14049 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
14050 * timezone/tzselect.ksh: Add +x mode bits.
14051
8da79b60
MF
14052 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
14053 (ANON_INODE_FS_MAGIC): Likewise.
14054 (BDEVFS_MAGIC): Likewise.
14055 (BINFMTFS_MAGIC): Likewise.
14056 (BTRFS_TEST_MAGIC): Likewise.
14057 (CRAMFS_MAGIC_WEND): Likewise.
14058 (DEBUGFS_MAGIC): Likewise.
14059 (ECRYPTFS_SUPER_MAGIC): Likewise.
14060 (EXT3_SUPER_MAGIC): Likewise.
14061 (EXT4_SUPER_MAGIC): Likewise.
14062 (FUTEXFS_SUPER_MAGIC): Likewise.
14063 (HOSTFS_SUPER_MAGIC): Likewise.
14064 (HUGETLBFS_MAGIC): Likewise.
14065 (MINIX3_SUPER_MAGIC): Likewise.
14066 (MTD_INODE_FS_MAGIC): Likewise.
14067 (NILFS_SUPER_MAGIC): Likewise.
14068 (OPENPROM_SUPER_MAGIC): Likewise.
14069 (PIPEFS_MAGIC): Likewise.
14070 (PSTOREFS_MAGIC): Likewise.
14071 (QNX6_SUPER_MAGIC): Likewise.
14072 (RAMFS_MAGIC): Likewise.
14073 (REISERFS_SUPER_MAGIC_STRING): Likewise.
14074 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
14075 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
14076 (SECURITYFS_MAGIC): Likewise.
14077 (SELINUX_MAGIC): Likewise.
14078 (SMACK_MAGIC): Likewise.
14079 (SOCKFS_MAGIC): Likewise.
14080 (SQUASHFS_MAGIC): Likewise.
14081 (STACK_END_MAGIC): Likewise.
14082 (TMPFS_MAGIC): Likewise.
14083 (USBDEVICE_SUPER_MAGIC): Likewise.
14084 (V9FS_MAGIC): Likewise.
14085 (XENFS_SUPER_MAGIC): Likewise.
14086 (CRAMFS_MAGIC): Fix typo in comment.
14087 (EXT2_SUPER_MAGIC): Update comment.
14088 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
14089
464263cc
JM
140902014-02-08 Joseph Myers <joseph@codesourcery.com>
14091
c6bfe5c4
JM
14092 * sysdeps/arm: Move directory from ports/sysdeps/arm.
14093 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
14094 * sysdeps/unix/sysv/linux/arm: Move directory from
14095 ports/sysdeps/unix/sysv/linux/arm.
14096 * README: Update listing for arm-*-linux-gnueabi.
14097
464263cc
JM
14098 * README: Remove mention of am33.
14099
32749f6c
RM
141002014-02-07 Roland McGrath <roland@hack.frob.com>
14101
14102 * bits/sigset.h (__sigemptyset): Use a statement expression rather
14103 than the comma operator, to avoid "rhs of comma has no effect"
14104 compiler warnings.
14105 (__sigfillset, __sigandset, __sigorset): Likewise.
14106 * include/signal.h (__sigemptyset): Likewise.
14107 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
14108
d5b396c1
AM
141092014-02-07 Allan McRae <allan@archlinux.org>
14110
14111 * version.h (RELEASE): Set to "development".
14112 (VERSION): Set to "2.19.90"
14113 * NEWS: Add 2.20 section.
14114
3bfff2ed
CD
141152014-02-06 Carlos O'Donell <carlos@redhat.com>
14116
14117 [BZ #16529]
14118 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
14119
ee7cc385
SP
141202014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14121
14122 * manual/contrib.texi: Update entry for Carlos O'Donell,
14123 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
14124
f877c4f2
CD
141252014-02-05 Carlos O'Donell <carlos@rehdat.com>
14126
27e839f6
CD
14127 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
14128
f877c4f2
CD
14129 * sysdeps/unix/sysv/linux/kernel-features.h
14130 [__LINUX_KERNEL_VERSION >= 0x020621]
14131 (__ASSUME_PROC_PID_TASK_COMM): Define.
14132
68159946
SP
141332014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14134
ba17cdbd
SP
14135 [BZ #16398]
14136 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
14137 conversion when destination buffer does not have enough space.
14138 * libio/tst-ftell-partial-wide.c: New test case.
14139 * libio/Makefile (tests): Add tst-ftell-partial-wide.
14140
68159946
SP
14141 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
14142 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
14143 Leonard and Allan McRae.
14144
2b528732
DM
141452014-02-04 David S. Miller <davem@davemloft.net>
14146
14147 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
14148 32-bit.
14149
0ff82463
AZ
141502014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14151
57f41c40
AS
14152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14153 New file
c01603f7
AZ
14154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14155 New file
57f41c40
AS
14156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14157 New file.
14158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14159 New file.
c01603f7
AZ
14160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14161 New file.
57f41c40
AS
14162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14163 New file.
14164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14165 New file.
c01603f7
AZ
14166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14167 New file.
14168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14169 New file.
14170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14171 New file.
14172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14173 New file.
14174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14175 New file.
14176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14177 New file.
14178
141792014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14180
0ff82463
AZ
14181 * nptl/shlib-versions: Change powerpc*le start to 2.17.
14182 * shlib-versions: Likewise.
14183
1695c773
AZ
141842014-02-04 Roland McGrath <roland@hack.frob.com>
14185 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14186
14187 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
14188 (abilist-pattern): New variable, set to %-le.abilist.
14189
14190 * Makerules (abilist-pattern): New variable.
14191 (vpath): Use $(abilist-pattern) in place of %.abilist.
14192 (check-abi-% pattern rule): Likewise.
14193 (check-abi, update-abi): Likewise.
14194
6c0ce4b4
EW
141952014-02-04 Eric Wong <normalperson@yhbt.net>
14196
14197 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14198
481e3524
CD
141992014-02-03 Carlos O'Donell <carlos@redhat.com>
14200
14201 * manual/startup.texi: Add next, previous, and top entries for
14202 the `Program Arguments' and `Environment Variables' nodes.
14203
375592d3
AO
142042014-02-03 Alexandre Oliva <aoliva@redhat.com>
14205
14206 * manual/macros.texi: Add comments before MTASC-safety macros.
14207
f54838ba
AO
14208 * manual/users.texi: Document MTASC-safety properties.
14209
57f41c40
AS
14210 * manual/threads.texi (pthread_key_create, pthread_key_delete)
14211 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
14212 @deftypefun, and add @safety note.
14213 * manual/signal.texi: Move comments that analyze the above
14214 functions to their home place.
14215
fd3daba4
AM
142162014-02-03 Allan McRae <allan@archlinux.org>
14217
14218 * po/sl.po: Update Slovenian translation from translation project.
14219
597636d7
AO
142202014-02-02 Alexandre Oliva <aoliva@redhat.com>
14221
14222 * manual/time.texi (timegm): Add missing blank after @c.
14223 Reported by Joseph Myers <joseph@codesourcery.com>.
14224
ee196e3c
AO
142252014-02-01 Alexandre Oliva <aoliva@redhat.com>
14226
14227 * manual/check-safety.sh: New.
14228 * manual/Makefile ($(objpfx)stamp-summary): Run it.
14229
f8d529d5
AO
14230 * manual/terminal.texi: Document MTASC-safety properties.
14231
de55fdf4
AO
14232 * manual/filesys.texi: Document MTASC-safety properties.
14233
c3299c08
AO
14234 * manual/errno.texi: Document MTASC-safety properties.
14235
06e90b14
AO
14236 * manual/intro.texi: Document safety identifiers and
14237 conditionals.
14238
1acd4371
AO
14239 * manual/string.texi (wcstok): Fix prototype.
14240 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
14241
23e5b8cb
AO
14242 * manual/time.texi: Document MTASC-safety properties.
14243
11087373
AO
14244 * manual/string.texi: Document MTASC-safety properties.
14245
5da2c93d
AO
14246 * manual/threads.texi: Document MTASC-safety properties.
14247
171e9210
AO
14248 * manual/stdio.texi: Document MTASC-safety properties.
14249
d9e02532
AO
14250 * manual/syslog.texi: Document MTASC-safety properties.
14251
6af8bab7
AO
14252 * manual/sysinfo.texi: Document MTASC-safety properties.
14253
663b02d7
AO
14254 * manual/startup.texi: Document MTASC-safety properties.
14255
973f180b
AO
14256 * manual/socket.texi: Document MTASC-safety properties.
14257
8f3c25c8
AO
14258 * manual/signal.texi: Document MTASC-safety properties.
14259
542210fb
AO
142602014-01-31 Alexandre Oliva <aoliva@redhat.com>
14261
14262 * manual/setjmp.texi: Document MTASC-safety properties.
14263
433c45a2
AO
14264 * manual/search.texi: Document MTASC-safety properties.
14265
c8ce789c
AO
14266 * manual/resource.texi: Document MTASC-safety properties.
14267
19f5d29c
AO
14268 * manual/process.texi: Document MTASC-safety properties.
14269
e2dfb7f4
AO
14270 * manual/platform.texi: Document MTASC-safety properties.
14271
8c1413f5
AO
14272 * manual/pipe.texi: Document MTASC-safety properties.
14273
03483ada
AO
14274 * manual/pattern.texi: Document MTASC-safety properties.
14275
29e7e2df
AO
14276 * manual/message.texi: Document MTASC-safety properties.
14277
9f529d7c
AO
14278 [BZ #12751]
14279 * manual/memory.texi: Document MTASC-safety properties.
14280
27aaa791
AO
14281 * manual/math.texi: Document MTASC-safety properties.
14282
f2d58726
AO
14283 * manual/locale.texi: Document MTASC-safety properties.
14284
2cc3615c
AO
14285 * manual/llio.texi: Document MTASC-safety properties.
14286
d9f0ec97
AO
14287 * manual/libdl.texi: New.
14288
e7c4409a
AO
14289 * manual/lang.texi: Document MTASC-safety properties.
14290
27bdc63c
AO
14291 * manual/job.texi: Document MTASC-safety properties.
14292
a7b90ea9
AO
14293 * manual/getopt.texi: Document MTASC-safety properties.
14294
c49130e3
AO
14295 * manual/ctype.texi: Document MTASC-safety properties.
14296
0d23a5c1
MR
142972014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
14298
14299 [BZ #16046]
14300 * csu/libc-tls.c (static_map): Remove variable.
14301 (__libc_setup_tls): Use main executable's link map for TLS data.
14302 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
14303 casing for LM_ID_BASE and GL(dl_nns).
14304 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
14305 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
14306 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
14307 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
14308 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
14309 member.
14310 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
14311 l_phnum members.
14312
0037bb60
AO
143132014-01-30 Alexandre Oliva <aoliva@redhat.com>
14314
14315 * manual/debug.texi: Document MTASC-safety properties.
14316
409e00bd
L
143172014-01-29 H.J. Lu <hongjiu.lu@intel.com>
14318
14319 [BZ #16510]
14320 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
14321 of __x86_64__ when disabling x87 inline functions.
14322
86e60666
AO
143232014-01-29 Alexandre Oliva <aoliva@redhat.com>
14324
14325 * manual/charset.texi: Document MTASC-safety properties.
14326
76167637
AO
14327 * manual/crypt.texi: Document MTASC-safety properties.
14328
e567f2a0
AO
14329 * manual/conf.texi: Document MTASC-safety properties.
14330
b719dafd
AO
14331 * manual/arith.texi: Document MTASC-safety properties.
14332
4a16c662
AO
14333 * manual/argp.texi: Document MTASC-safety properties.
14334
0a57b83e
AO
14335 * manual/macros.texi: Introduce macros to document multi
14336 thread, asynchronous signal and asynchronous cancellation
14337 safety properties.
14338 * manual/intro.texi: Introduce the properties themselves.
14339
feab2397
KK
143402014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14341
14342 * sysdeps/sh/sh4/Makefile: New file.
14343
1c0d11bc
AS
143442014-01-27 Andreas Schwab <schwab@linux-m68k.org>
14345
14346 * math/gen-libm-test.pl ($srcdir): New variable.
14347 ($auto_input): Use it.
14348
af37a8a3
SP
143492014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14350
d7b00f98
SP
14351 [BZ #16506]
14352 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
14353 access beyond array bounds when parsing netgroups file.
14354
af37a8a3
SP
14355 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
14356 the old buffer before realloc.
14357
0c00f062
AM
143582014-01-27 Allan McRae <allan@archlinux.org>
14359
14360 * po/fr.po: Update French translation from translation project.
14361
7d69a1b0
KK
143622014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14363
14364 * sysdeps/sh/libm-test-ulps: Regenerate.
14365
6e697ff7
DM
143662014-01-24 David S. Miller <davem@davemloft.net>
14367
14368 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
14369
9cadb35c
KK
143702014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14371
14372 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
14373 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
14374
5d41dadf
SP
143752013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14376
14377 [BZ #16474]
14378 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
14379 string pointers after reallocation.
14380
0bad441c
KK
143812014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14382
14383 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
14384 __SH4A__ instead of __SH_FPU_ANY__.
14385
7007c661
KK
143862014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14387
14388 * sysdeps/sh/fpu_control.h: New file.
14389 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
14390 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
14391 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
14392 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
14393 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
14394 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
14395 * sysdeps/sh/sys/ucontext.h: Remove.
14396 * sysdeps/sh/sys: Remove directory.
14397
0f0c35e4
AK
143982014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14399
14400 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
14401 s390/sys/ucontext.h.
14402 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
14403 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
14404
4959e284
L
144052014-01-20 H.J. Lu <hongjiu.lu@intel.com>
14406
14407 [BZ #15605]
14408 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
14409
d98720e0
AZ
144102014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14411
14412 [BZ#16431]
14413 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14414 Adjust the vDSO correctly for internal calls.
14415 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
14416
91cbd0bc
AM
144172014-01-20 Allan McRae <allan@archlinux.org>
14418
14419 * po/ca.po: Update Catalan translation from translation project.
14420
7a02cfad
MF
144212014-01-16 Mike Frysinger <vapier@gentoo.org>
14422
14423 * sysdeps/s390/sotruss-lib.c: New file.
14424
736c304a
AZ
144252014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14426
14427 [BZ#16430]
6e077ee5 14428 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
14429 (__GI___gettimeofday): Alias for a different internal symbol to avoid
14430 local calls issues by not having a PLT stub required for IFUNC calls.
14431 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
14432
94d0cea0
JM
144332014-01-16 Joseph Myers <joseph@codesourcery.com>
14434
14435 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
14436 * math/test-fpucw-static.c: Likewise.
14437
980cb518
SP
144382013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14439
14440 [BZ #16453]
14441 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
14442
2393fc01
AZ
144432014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14444
14445 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
14446 implementation for powerpc.
14447
d359bcc2
OB
144482014-01-15 Ondřej Bílka <neleai@seznam.cz>
14449
14450 [BZ #14782]
14451 * sysdeps/posix/system.c (__libc_system): Do not enable
14452 asynchronous cancellation.
14453
7beb48cb
AK
144542014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14455
14456 [BZ #16427]
14457 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
14458 handling only for numbers special also in the IEEE case.
14459
c20d5bf5
AK
144602014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14461
14462 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14463
e83bd4ee
AM
144642014-01-11 Allan McRae <allan@archlinux.org>
14465
76d0ea69
AM
14466 * po/bg.po: Update Bulgarian translation from translation project.
14467
e83bd4ee
AM
14468 * po/de.po: Update German translation from translation project.
14469
bc2ba20a
RM
144702014-01-10 Roland McGrath <roland@hack.frob.com>
14471
14472 * sysdeps/generic/gcc-compat.h: New file.
14473
649ecea2
SP
144742014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14475
14476 * benchtests/asin-inputs: Correct slow inputs.
14477 * benchtests/acos-inputs: Likewise.
14478
1b19c006
AM
144792014-01-10 Allan McRae <allan@archlinux.org>
14480
a46dab08
AM
14481 * po:sv.po: Update Swedish translation from translation project.
14482
421df74a
AM
14483 * po/vi.po: Update Vietnamese translation from translation project.
14484
d61c51a7
AM
14485 * po/eo.po: Update Esperanto translation from translation project.
14486
0339a319
AM
14487 * po/cs.po: Update Czech translation from translation project.
14488
94ad3e99
AM
14489 * po/nl.po: Update Dutch translation from translation project.
14490
e349ca71
AM
14491 * po/pl.po: Update Polish translation from translation project.
14492
ddf930c1
AM
14493 * po/ru.po: Update Russian translation from translation project.
14494
1b19c006
AM
14495 * po/uk.po: Update Ukrainian translation from translation project.
14496
9f236c49
BM
144972014-01-08 Brooks Moses <bmoses@google.com>
14498
14499 * elf/dl-load.c: Fix comment typo.
14500
cd6701cf
CD
145012014-01-08 Carlos O'Donell <carlos@redhat.com>
14502
14503 * po/header.pot: Rename to...
14504 * po/pot.header: ... this.
14505 * po/Makefile: Use pot.header.
14506
66671c84
YK
145072014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
14508 Maxim Kuvyrkov <maxim@kugelworks.com>
14509
14510 [BZ #16394]
cd6701cf
CD
14511 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
14512 SRC and DEST against LEN.
66671c84 14513
38f34581
AZ
145142014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14515
14516 [BZ #16414]
14517 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
14518 implementation.
14519 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
14520
145212014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
14522
14523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14524
4c327f2a
JM
145252014-01-08 Joseph Myers <joseph@codesourcery.com>
14526
14527 [BZ #16408]
14528 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
14529 for large positive arguments.
14530
b821f414
JM
145312014-01-07 Joseph Myers <joseph@codesourcery.com>
14532
1f0f2067
JM
14533 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14534
a5a326f6
JM
14535 * math/auto-libm-test-in: Mark various tests with
14536 xfail-rounding:ldbl-128ibm.
14537 * math/auto-libm-test-out: Regenerated.
14538
b821f414
JM
14539 [BZ #16407]
14540 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14541 Increase overflow threshold.
14542
94c8a4bc
OB
145432014-01-07 Ondřej Bílka <neleai@seznam.cz>
14544
14545 [BZ #14286]
14546 * stdio-common/vfprintf.c: Check for integer overflow.
14547
87ded0c3
AK
145482014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14549
14550 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
14551 the first argument and return value of __tls_get_addr_internal.
14552
c5eebdd0
AK
145532014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14554
14555 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
14556 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
14557
05d138ef
AK
145582014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14559
14560 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
14561 * sysdeps/s390/rtld-global-offsets.sym: New file.
14562 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
14563 GLIBC_2.19 symbol.
14564 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
14565 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
14566 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14567 ... this.
14568 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
14569 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14570 ... this.
14571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14572 Regenerate.
14573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14574 Regenerate.
14575 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
14576 halfs of GPRs for high_gprs contexts.
14577 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
14578 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
14579 field.
14580 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
14581 uc_flags field.
14582 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
14583 64 bit versions:
14584 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
14585 for high GPRs (uc_high_gprs) and for future extensions
14586 (__reserved).
14587 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
14588 for future extensions (__reserved).
14589 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
14590 64 bit versions:
14591 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
14592 SC_HIGHGPRS offset definition.
14593 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
14594 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
14595
93a45ff1
AK
14596 * Versions.def: Add GLIBC_2.19 for libpthread.
14597 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
14598 siglongjmp for libpthread with GLIBC_2.19 symver.
14599 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
14600 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
14601 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
14602 * sysdeps/s390/__longjmp.c: New file.
14603 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
14604 * sysdeps/s390/longjmp.c: New file.
14605 * sysdeps/s390/setjmp.S: New file.
14606 * sysdeps/s390/sigjmp.S: New file.
14607 * sysdeps/s390/v1-longjmp.c: New file.
14608 * sysdeps/s390/v1-setjmp.h: New file.
14609 * sysdeps/s390/v1-sigjmp.c: New file.
14610 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
14611 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
14612 GLIBC_2.19 version.
14613 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
14614 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
14615 versioned symbols for ____longjmp_chk.
14616 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14617 Likewise.
14618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14619 Regenerate.
14620 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14621 Regenerate.
14622 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14623 Regenerate.
14624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14625 Regenerate.
14626 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
14627 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
14628 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
14629 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
14630 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
14631 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
14632 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
14633 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
14634 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
14635 * sysdeps/s390/rtld-__longjmp.c: New file.
14636 * sysdeps/s390/rtld-setjmp.S: New file.
14637
eb3fc44b
JM
146382014-01-06 Joseph Myers <joseph@codesourcery.com>
14639
14640 [BZ #16400]
14641 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14642 Return -__logl (x) for small positive arguments without evaluating
14643 a polynomial.
14644
9341dde4
MF
146452014-01-06 Mike Frysinger <vapier@gentoo.org>
14646
14647 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
14648 Rename to ...
14649 (__ptrace_peeksiginfo_args): ... this.
14650 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14651 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14652 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14653
4cff0293
AM
146542014-01-06 Allan McRae <allan@archlinux.org>
14655
14656 * inet/netinet/in.h: Fix typo in comment.
14657
75595dcf
AJ
146582014-01-05 Andreas Jaeger <aj@suse.de>
14659
14660 * sysdeps/i386/fpu/libm-test-ulps: Update.
14661
79c1e109
AM
146622014-01-05 Allan McRae <allan@archlinux.org>
14663
dd804818
AM
14664 * po/libc.pot: Regenerated.
14665
79c1e109
AM
14666 * malloc/memusagestat.c: Fix gettext call formatting.
14667
0c813d1f
SK
146682014-01-04 Sami Kerola <kerolasa@iki.fi>
14669
14670 * nscd/nscd.c: Improve usage() output.
14671
20f4a8d9
MF
146722014-01-04 Mike Frysinger <vapier@gentoo.org>
14673
14674 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
14675 * sysdeps/unix/sysv/linux/configure: Regenerated.
14676 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
14677 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
14678
22562bb2
JM
146792014-01-03 Joseph Myers <joseph@codesourcery.com>
14680
14681 [BZ #16390]
14682 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14683 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
14684
d7ad2d9b
AZ
146852014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14686
14687 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
14688 extra tokens at end of #undef directive.
14689 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
14690 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
14691 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
14692
7dd009d8
JM
146932014-01-03 Joseph Myers <joseph@codesourcery.com>
14694
24db925a
JM
14695 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14696
7dd009d8
JM
14697 * math/auto-libm-test-in: Mark various tests with
14698 xfail-rounding:ldbl-128ibm.
14699 * math/auto-libm-test-out: Regenerated.
14700
396e3ecf
JM
147012014-01-02 Joseph Myers <joseph@codesourcery.com>
14702
819e5d50
JM
14703 [BZ #16386]
14704 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
14705 numbers with subnormal high part when calculating exponent.
14706
90b6a1e5
JM
14707 [BZ #16385]
14708 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
14709 fabs.
14710
396e3ecf
JM
14711 [BZ #16384]
14712 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
14713 M_LN2l.
14714 (__ieee754_acoshl): Use __log1pl not __log1p.
14715
6c8dbf00
OB
147162013-01-02 Ondřej Bílka <neleai@seznam.cz>
14717
57f41c40
AS
14718 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
14719 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
14720 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
14721 (grow_heap, heap_trim, _int_new_arena, get_free_list)
14722 (reused_arena, arena_get2): Convert to GNU style.
14723 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
14724 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
14725 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 14726 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
14727 * malloc/malloc.c (__malloc_assert, malloc_init_state)
14728 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
14729 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
14730 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
14731 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
14732 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 14733 * malloc/malloc.h: Likewise.
57f41c40
AS
14734 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
14735 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 14736 * malloc/mcheck.h: Likewise.
57f41c40
AS
14737 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
14738 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
14739 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
14740 * malloc/morecore.c (__default_morecore): Likewise.
14741 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
14742 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
14743 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
14744 (print_and_abort): Likewise.
6c8dbf00
OB
14745 * malloc/obstack.h: Likewise.
14746 * malloc/set-freeres.c (__libc_freeres): Likewise.
14747 * malloc/tst-mallocstate.c (main): Likewise.
14748 * malloc/tst-mtrace.c (main): Likewise.
14749 * malloc/tst-realloc.c (do_test): Likewise.
14750
d4124212
SP
147512013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14752
9a3c6a6f
SP
14753 [BZ #16366]
14754 * nscd/netgroupcache.c (do_notfound): New function.
14755 (addgetnetgrentX): Use it.
14756
d4124212
SP
14757 [BZ # 16365]
14758 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
14759 NSS_STATUS_NOTFOUND.
14760
97b9a009
JM
147612014-01-01 Joseph Myers <joseph@codesourcery.com>
14762
14763 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14765
d4697bc9
AM
147662014-01-01 Allan McRae <allan@archlinux.org>
14767
ddb3687f
AM
14768 * scripts/update-copyrights: Update configure input file suffix.
14769
88726d48
AM
14770 * NEWS: Update copyright year.
14771 * catgets/gencat.c: Likewise.
14772 * csu/version.c: Likewise.
14773 * debug/catchsegv.sh: Likewise.
14774 * debug/pcprofiledump.c: Likewise.
14775 * debug/xtrace.sh: Likewise.
14776 * elf/ldconfig.c: Likewise.
14777 * elf/ldd.bash.in: Likewise.
14778 * elf/pldd.c: Likewise.
14779 * elf/sotruss.ksh: Likewise.
14780 * elf/sprof.c: Likewise.
14781 * iconv/iconv_prog.c: Likewise.
14782 * iconv/iconvconfig.c: Likewise.
14783 * locale/programs/locale.c: Likewise.
14784 * locale/programs/localedef.c: Likewise.
14785 * login/programs/pt_chown.c: Likewise.
14786 * malloc/memusage.sh: Likewise.
14787 * malloc/memusagestat.c: Likewise.
14788 * malloc/mtrace.pl: Likewise.
14789 * manual/libc.texinfo: Likewise.
14790 * nscd/nscd.c: Likewise.
14791 * nss/getent.c: Likewise.
14792 * nss/makedb.c: Likewise.
14793 * posix/getconf.c: Likewise.
14794 * scripts/test-installation.pl: Likewise.
14795
d4697bc9
AM
14796 * All files with FSF copyright notices: Update copyright dates
14797 using scripts/update-copyrights.
14798 * intl/plural.c: Regenerated.
14799 * locale/programs/charmap-kw.h: Likewise.
14800 * locale/programs/locfile-kw.h: Likewise.
14801
c8590f9d
MF
148022013-12-31 Mike Frysinger <vapier@gentoo.org>
14803
14804 * sysdeps/unix/sysv/linux/configure: Regenerated.
14805 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
14806 the linux/fanotify.h header.
14807 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
14808 HAVE_LINUX_FANOTIFY_H is defined.
14809
b19221b9
SP
148102013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14811
dd1d85e5
SP
14812 * benchtests/cos-inputs: New inputs.
14813 * benchtests/sin-inputs: Likewise.
14814
1acbb90f
SP
14815 * benchtests/atan-inputs: New inputs. Fix name of multiple
14816 precision fallback inputs.
14817
4c012ed3
SP
14818 * benchtests/atanh-inputs: New inputs.
14819 * benchtests/tanh-inputs: Likewise.
14820
eff98324
SP
14821 * benchtests/acosh-inputs: New inputs.
14822 * benchtests/asinh-inputs: Likewise.
14823
ce641152
SP
14824 * benchtests/cosh-inputs: New inputs.
14825 * benchtests/sinh-inputs: Likewise.
14826
b19221b9
SP
14827 * benchtests/acos-inputs: Add more inputs.
14828 * benchtests/asin-inputs: Likewise.
14829
030a4976 148302013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 14831
030a4976 14832 [BZ #16375]
9dcc8f11
VS
14833 * manual/arith.texi: Fix spelling.
14834 * manual/charset.texi: Likewise.
14835 * manual/errno.texi: Likewise.
14836 * manual/filesys.texi: Likewise.
14837 * manual/lang.texi: Likewise.
14838 * manual/llio.texi: Likewise.
14839 * manual/locale.texi: Likewise.
14840 * manual/message.texi: Likewise.
14841 * manual/resource.texi: Likewise.
14842 * manual/search.texi: Likewise.
14843 * manual/setjmp.texi: Likewise.
14844 * manual/stdio.texi: Likewise.
14845 * manual/string.texi: Likewise.
14846 * manual/sysinfo.texi: Likewise.
14847 * manual/time.texi: Likewise.
14848
11520a57
CD
148492013-12-27 Carlos O'Donell <carlos@redhat.com>
14850
14851 * po/sl.po: New file.
14852
471103ae
MF
148532013-12-27 Mike Frysinger <vapier@gentoo.org>
14854
14855 * .gitignore: Add core/.gdbinit/.gdb_history.
14856
6c9642ed
AM
148572013-12-27 Allan McRae <allan@archlinux.org>
14858
14859 [BZ #16369]
14860 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
14861 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
14862
3f637079
BM
148632013-12-24 Brooks Moses <bmoses@google.com>
14864
14865 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
14866 all compilers that claim C++98 compliance, not just GCC.
14867 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14868 Likewise.
14869
abc26e99
MK
148702013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14871
14872 * NEWS: Restore accidentally deleted bug-fix entries.
14873
362b47fe
MK
148742013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14875 Ondřej Bílka <neleai@seznam.cz>
14876
14877 [BZ #15073]
14878 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 14879 have_lock.
362b47fe 14880
b9bcbbcb
OB
148812013-12-23 Ondřej Bílka <neleai@seznam.cz>
14882
14883 [BZ #12986]
14884 * manual/stdio.texi (String Input Conversions): Clarify that character
14885 classes are not supported.
14886
fb55fcd2
AZ
148872013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14888
14889 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14890
ef7344f0
JM
148912013-12-22 Joseph Myers <joseph@codesourcery.com>
14892
4f40e4b3
JM
14893 [BZ #16337]
14894 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14895 Calculate results for small negative arguments directly rather
14896 than using reflection formula with special underflow handling.
14897
ef7344f0
JM
14898 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
14899 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
14900 sysdeps/unix/bsd/bsd4.4/syscalls.list.
14901 (fchflags): Likewise.
14902 (revoke): Likewise.
14903 (setlogin): Likewise.
14904 (sigaltstack): Likewise.
14905 (wait4): Likewise.
14906 (sigblock): Remove.
14907 (sigsetmask): Likewise.
14908 (wait3): Likewise.
14909 (waitpid): Likewise.
14910 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14911 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14912 file.
14913 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14914 * sysdeps/unix/bsd/Makefile: ... here.
14915 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14916 * sysdeps/unix/bsd/Versions: ... here.
14917 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14918 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14919 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14920 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14921 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14922 * sysdeps/unix/bsd/sigblock.c: ... here.
14923 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14924 * sysdeps/unix/bsd/sigsetmask.c: ... here.
14925 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14926 * sysdeps/unix/bsd/sigvec.c: ... here.
14927 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14928 * sysdeps/unix/bsd/tcdrain.c: ... here.
14929 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14930 * sysdeps/unix/bsd/tcgetattr.c: ... here.
14931 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14932 * sysdeps/unix/bsd/tcsetattr.c: ... here.
14933 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14934 * sysdeps/unix/bsd/wait.c: ... here.
14935 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14936 * sysdeps/unix/bsd/wait3.c: ... here.
14937 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14938 * sysdeps/unix/bsd/waitpid.c: ... here.
14939
5b0626b9
JM
149402013-12-21 Joseph Myers <joseph@codesourcery.com>
14941
14942 [BZ #16356]
14943 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14944 round-to-nearest for [!USE_AS_EXPM1L].
14945 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14946 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
14947 more tests of exp and exp10. Expect some exp10 tests to miss
14948 exceptions or fail in directed rounding modes.
14949 * math/auto-libm-test-out: Regenerated.
14950 * math/libm-test.inc (exp10_tonearest_test_data): New array.
14951 (exp10_test_tonearest): New function.
14952 (exp10_towardzero_test_data): New array.
14953 (exp10_test_towardzero): New function.
14954 (exp10_downward_test_data): New array.
14955 (exp10_test_downward): New function.
14956 (exp10_upward_test_data): New array.
14957 (exp10_test_upward): New function.
14958 (main): Call the new functions.
14959 * sysdeps/i386/fpu/libm-test-ulps: Update.
14960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14961
7fda5682
JM
149622013-12-20 Joseph Myers <joseph@codesourcery.com>
14963
31e3a405
JM
14964 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14965 asinh, atan, atan2, atanh, cbrt, cos and cosh.
14966 * math/auto-libm-test-out: Regenerated.
14967 * math/libm-test.inc (acosh_test_data): Add more tests.
14968 (atanh_test_data): Likewise.
14969 (ceil_test_data): Likewise.
14970 (copysign_test_data): Likewise.
14971 * sysdeps/i386/fpu/libm-test-ulps: Update.
14972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14973
85bff96a
JM
14974 * timezone/checktab.awk: Update from tzcode 2013i.
14975 * timezone/private.h: Likewise.
14976 * timezone/scheck.c: Likewise.
14977 * timezone/tzfile.h: Likewise.
14978 * timezone/tzselect.ksh: Likewise.
14979 * timezone/zdump.c: Likewise.
14980 * timezone/zic.c: Likewise.
14981
b7867a3b
JM
14982 * math/auto-libm-test-in: Add tests of cpow.
14983 * math/auto-libm-test-out: Regenerated.
14984 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 14985 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
14986 mpc_cc_c.
14987 (func_calc_desc): Add mpc_cc_c union field.
14988 (test_functions): Add cpow.
14989 (special_fill_2pi): New function.
14990 (special_real_inputs): Add 2pi.
14991 (calc_generic_results): Handle mpc_cc_c.
14992 * sysdeps/i386/fpu/libm-test-ulps: Update.
14993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14994
7fda5682
JM
14995 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14996 csqrt, ctan and ctanh.
14997 * math/auto-libm-test-out: Regenerated.
14998 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14999 (TEST_COND_x86): Likewise.
15000 (ccos_test_data): Use AUTO_TESTS_c_c.
15001 (ccosh_test_data): Likewise.
15002 (cexp_test_data): Likewise.
15003 (clog_test_data): Likewise.
15004 (csqrt_test_data): Likewise.
15005 (ctan_test_data): Likewise.
15006 (ctan_tonearest_test_data): Likewise.
15007 (ctan_towardzero_test_data): Likewise.
15008 (ctan_downward_test_data): Likewise.
15009 (ctan_upward_test_data): Likewise.
15010 (ctanh_test_data): Likewise.
15011 (ctanh_tonearest_test_data): Likewise.
15012 (ctanh_towardzero_test_data): Likewise.
15013 (ctanh_downward_test_data): Likewise.
15014 (ctanh_upward_test_data): Likewise.
15015 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15016 mpc_c_c.
15017 (func_calc_desc): Add mpc_c_c union field.
15018 (FUNC_mpc_c_c): New macro.
15019 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
15020 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
15021 ctanh.
15022 (special_fill_min_subnorm_p120): New function.
15023 (special_real_inputs): Add min_subnorm_p120.
15024 (calc_generic_results): Handle mpc_c_c.
15025 * sysdeps/i386/fpu/libm-test-ulps: Update.
15026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15027
5ff8d60e
SP
150282013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15029
57f41c40
AS
15030 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
15031 (do_sin_slow): New functions.
15032 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
15033 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 15034
84ba214c
SP
15035 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
15036 Use M to change sign of result instead of X. Assume X is
15037 positive.
15038 (csloww1): Likewise.
15039 (__sin): Adjust.
15040 (__cos): Adjust.
15041
975195e4
SP
15042 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
15043 arguments A and DA.
15044 (__sin): Adjust.
15045 (__cos): Likewise.
15046
5ff8d60e
SP
15047 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
15048 (__cos): Likewise.
15049 (sloww1): Don't adjust sign of DX.
15050 (csloww1): Likewise.
15051 (sloww2): Use X directly and don't adjust sign of DX.
15052 (csloww2): Likewise.
15053
eb983568
JM
150542013-12-19 Joseph Myers <joseph@codesourcery.com>
15055
64a17f1a
JM
15056 * math/auto-libm-test-in: Add tests of cabs and carg.
15057 * math/auto-libm-test-out: Regenerated.
15058 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
15059 (carg_test_data): Likewise.
15060 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15061 mpc_c_f.
15062 (func_calc_desc): Add mpc_c_f union field.
15063 (test_functions): Add cabs and carg.
15064 (calc_generic_results): Handle mpc_c_f.
15065
eb983568
JM
15066 * sysdeps/powerpc/powerpc32/libgcc-compat.S
15067 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
15068 as a macro and a compat symbol.
15069 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
15070 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
15071 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
15072 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
15073 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
15074 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
15075 not use .hidden.
15076 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
15077 Likewise.
15078 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
15079 Likewise.
15080 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
15081 Likewise.
15082 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
15083 Likewise.
15084 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
15085 Likewise.
15086 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
15087 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
15088 from GLIBC_2.3.2.
15089
6eeb678a
AZ
150902013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15091
15092 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15093
6f6fc482
JM
150942013-12-19 Joseph Myers <joseph@codesourcery.com>
15095
21fea2e2
JM
15096 * manual/texinfo.tex: Update to version 2013-11-26.10 with
15097 trailing whitespace removed.
15098 * scripts/config.guess: Update to version 2013-11-29.
15099 * scripts/config.sub: Update to version 2013-10-01.
15100
6f6fc482
JM
15101 * math/auto-libm-test-in: Add tests of sincos.
15102 * math/auto-libm-test-out: Regenerated.
15103 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
15104 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15105 mpfr_f_11.
15106 (func_calc_desc): Add mpfr_f_11 union field.
15107 (test_functions): Add sincos.
15108 (calc_generic_results): Handle mpfr_f_11.
15109 * sysdeps/i386/fpu/libm-test-ulps: Update.
15110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15111
83f5c32d
AS
151122013-12-19 Andreas Schwab <schwab@suse.de>
15113
15114 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
15115 CALL_MCOUNT.
15116 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15117 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
15118 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
15119
c688b419
JM
151202013-12-19 Joseph Myers <joseph@codesourcery.com>
15121
335ee092
JM
15122 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
15123 * sysdeps/i386/fpu/libm-test-ulps: Update.
15124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15125
f88acd39
JM
15126 [BZ #16293]
15127 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
15128 round-to-nearest mode when using frndint.
15129 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
15130 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15131 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15132 Likewise.
15133 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
15134 sinh test to fail.
15135 * math/auto-libm-test-out: Regenerated.
15136 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
15137 (TEST_COND_x86): Likewise.
15138 (expm1_tonearest_test_data): New array.
15139 (expm1_test_tonearest): New function.
15140 (expm1_towardzero_test_data): New array.
15141 (expm1_test_towardzero): New function.
15142 (expm1_downward_test_data): New array.
15143 (expm1_test_downward): New function.
15144 (expm1_upward_test_data): New array.
15145 (expm1_test_upward): New function.
15146 (main): Run the new test functions.
15147 * sysdeps/i386/fpu/libm-test-ulps: Update.
15148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15149
c688b419
JM
15150 * include/features.h: Update comment documenting feature test
15151 macros. Mention _DEFAULT_SOURCE in comment.
15152 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
15153 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
15154 _BSD_SOURCE and _SVID_SOURCE.
15155 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
15156 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
15157 !_SVID_SOURCE]: Likewise.
15158 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15159 (__USE_POSIX_IMPLICITLY): Define.
15160 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15161 (_POSIX_SOURCE): Undefine and redefine.
15162 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15163 (_POSIX_C_SOURCE): Likewise.
15164 * manual/creature.texi (_DEFAULT_SOURCE): Document.
15165 (Feature Test Macros): Update documentation of default features.
15166
9f6e964c
RS
151672013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15168
15169 * benchtests/Makefile: Add bench-strtok.
15170 * benchtests/bench-strtok.c: New file: strtok benchtest.
15171
ee0a148a
AM
151722013-12-19 Allan McRae <allan@archlinux.org>
15173
15174 * manual/install.texi: Suppress menu for plain text output.
15175 * INSTALL: Regenerated.
15176
b9ab448f
BM
151772013-12-18 Brooks Moses <bmoses@google.com>
15178
15179 [BZ #15846]
15180 * misc/getauxval.c: Include errno.h.
15181 (__getauxval): Set errno to ENOENT if the requested type is not
15182 found.
15183 * misc/sys/auxv.h (getauxval): Document that it may set errno;
15184 don't declare with __attribute_const__.
15185 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
15186 * manual/startup.texi: Document that getauxval sets errno.
15187
23776487
JM
151882013-12-18 Joseph Myers <joseph@codesourcery.com>
15189
f889953b
JM
15190 * math/auto-libm-test-in: Add tests of jn and yn.
15191 * math/auto-libm-test-out: Regenerated.
15192 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
15193 (yn_test_data): Likewise.
15194 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15195 mpfr_if_f.
15196 (func_calc_desc): Add mpfr_if_f union field.
15197 (FUNC_mpfr_if_f): New macro.
15198 (test_functions): Add jn and yn.
15199 (calc_generic_results): Assert type of second input for
15200 mpfr_ff_f. Handle mpfr_if_f.
15201 (output_for_one_input_case): Disable all checking for arguments
15202 fitting floating-point types in case of an integer argument.
15203 * sysdeps/i386/fpu/libm-test-ulps: Update.
15204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15205
23776487
JM
15206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15207 Don't expect fegetround reference in libm.so.
15208
cb756c6d
MS
152092013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15210
15211 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
15212 $(config-cflags-nofma).
15213
2dec468f
JM
152142013-12-18 Joseph Myers <joseph@codesourcery.com>
15215
5953eb3a
JM
15216 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
15217 * math/auto-libm-test-out: Regenerated.
15218
2dec468f
JM
15219 [BZ #16338]
15220 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
15221 to determine exponent and adjust argument to have exponent of -1.
15222 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
15223 log2.
15224 * math/auto-libm-test-out: Regenerated.
15225 * sysdeps/i386/fpu/libm-test-ulps: Update.
15226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15227
4d84e6ad
OB
152282013-12-18 Ondřej Bílka <neleai@seznam.cz>
15229
15230 * manual/probes.texi: Remove cases when per-thread arenas are
15231 disabled.
15232
1818483b
AS
152332013-12-18 Andreas Schwab <schwab@suse.de>
15234
15235 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
15236 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
15237 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
15238 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
15239 * sysdeps/i386/i686/multiarch/Makefile: Update.
15240 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
15241
25de95bf
JM
152422013-12-17 Joseph Myers <joseph@codesourcery.com>
15243
15244 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
15245 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
15246
674762d9
PE
152472013-12-17 Paul Eggert <eggert@cs.ucla.edu>
15248
ed27ed83 15249 [BZ #15968]
0748546f
PE
15250 Support TZ transition times < 00:00:00.
15251 This is needed for version-3 tz-format files; it supports time
15252 stamps past 2037 for America/Godthab (the only entry in the tz
15253 database for which this change is relevant).
15254 * manual/time.texi (TZ Variable): Document transition times
15255 from -167:59:59 through -00:00:01.
15256 * time/tzset.c (tz_rule): Time of day is now signed.
15257 (__tzset_parse_tz): Parse negative time of day.
15258
4480e934
PE
15259 Document TZ transition times >= 25:00:00.
15260 * manual/time.texi (TZ Variable): Document transition times from
15261 25:00:00 through 167:59:59. These are already supported, and this
15262 support will help with version-3 tz-format files.
15263
69947401
PE
15264 * manual/time.texi (TZ Variable): Modernize North America example
15265 to reflect current (i.e., 2007-and-later) daylight saving rules.
15266
674762d9
PE
15267 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
15268
7011c262
JM
152692013-12-17 Joseph Myers <joseph@codesourcery.com>
15270
2fc6557e
JM
15271 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
15272 * sysdeps/unix/bsd/bits/stat.h: Likewise.
15273 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
15274 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15275 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
15276 * sysdeps/unix/bsd/bsdstat.h: Likewise.
15277 * sysdeps/unix/bsd/clock.c: Likewise.
15278 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
15279 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
15280 * sysdeps/unix/bsd/init-posix.c: Likewise.
15281 * sysdeps/unix/bsd/poll.c: Likewise.
15282 * sysdeps/unix/bsd/ptsname.c: Likewise.
15283 * sysdeps/unix/bsd/seekdir.c: Likewise.
15284 * sysdeps/unix/bsd/setegid.c: Likewise.
15285 * sysdeps/unix/bsd/seteuid.c: Likewise.
15286 * sysdeps/unix/bsd/setgid.c: Likewise.
15287 * sysdeps/unix/bsd/setrgid.c: Likewise.
15288 * sysdeps/unix/bsd/setruid.c: Likewise.
15289 * sysdeps/unix/bsd/setsid.c: Likewise.
15290 * sysdeps/unix/bsd/setuid.c: Likewise.
15291 * sysdeps/unix/bsd/sigaction.c: Likewise.
15292 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
15293 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
15294 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
15295 * sysdeps/unix/bsd/telldir.c: Likewise.
15296 * sysdeps/unix/bsd/times.c: Likewise.
15297 * sysdeps/unix/bsd/usleep.c: Likewise.
15298
029c7b25
JM
15299 * misc/Makefile (install-lib): Remove libbsd-compat.a.
15300 ($(objpfx)libbsd-compat.a): Remove rule.
15301
7011c262
JM
15302 * include/features.h (__FAVOR_BSD): Do not define.
15303 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
15304 features conflicting with POSIX.
15305 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
15306 (_BSD_SOURCE): Remove description of not being a subset of other
15307 feature test macros.
15308 * manual/job.texi (getpgrp): Do not document BSD version.
15309 (getpgid): Do not document by reference to BSD getpgrp.
15310 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
15311 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
15312 * signal/signal.h [__FAVOR_BSD]: Likewise.
15313 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
15314 instead of making contents conditional on [__FAVOR_BSD].
15315 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
15316
affb6f78
AZ
153172013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15318
15319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15320
c88769dd
JM
153212013-12-17 Joseph Myers <joseph@codesourcery.com>
15322
6432a540
JM
15323 [BZ #16314]
15324 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
15325 values below 2**-450, not 2**-500.
15326 * math/auto-libm-test-in: Don't allow spurious underflow from
15327 hypot.
15328 * math/auto-libm-test-out: Regenerated.
15329
c88769dd
JM
15330 [BZ #16316]
15331 [BZ #16330]
15332 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
15333 values of ha and hb and sort them after adjusting subnormal
15334 arguments.
15335 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15336 Likewise.
15337 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
15338 values of ea and eb and sort them after adjusting subnormal
15339 arguments.
15340 * math/auto-libm-test-in: Do not expect some hypot tests of
15341 subnormals to fail. Add more hypot tests.
15342 * math/auto-libm-test-out: Regenerated.
15343
29618f6b
KK
153442013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15345
15346 [BZ #13304]
15347 * sysdeps/sh/s_fma.c: New file.
15348 * sysdeps/sh/s_fmaf.c: New file.
15349 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
15350 version.
15351 * sysdeps/sh/Implies: Add sh/soft-fp.
15352
eacfdfbf
RM
153532013-12-16 Roland McGrath <roland@hack.frob.com>
15354
15355 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
15356 level of indirection to members `objname', `errstring', `malloced'.
15357 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
15358 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
15359 it as the __longjmp argument (just pass 1 instead).
15360 (_dl_catch_error): Initialize C with argument pointers and address of
15361 volatile local ERRCODE rather than copying values out of C at return.
15362
ff362e5b
JM
153632013-12-16 Joseph Myers <joseph@codesourcery.com>
15364
15365 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
15366 * math/auto-libm-test-out: Regenerated.
15367 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
15368 (hypot_test_data): Likewise.
15369 (pow_test_data): Likewise.
15370 (pow_tonearest_test_data): Likewise.
15371 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15372 mpfr_ff_f.
15373 (func_calc_desc): Add mpfr_ff_f union field.
15374 (FUNC_mpfr_ff_f): New macro.
15375 (test_functions): Add atan2, hypot and pow.
15376 (special_fill_min): New function.
15377 (special_fill_minus_min): Likewise.
15378 (special_fill_min_subnorm): Likewise.
15379 (special_fill_minus_min_subnorm): Likewise.
15380 (special_real_inputs): Add min, -min, min_subnorm and
15381 -min_subnorm.
15382 (calc_generic_results): Handle mpfr_ff_f.
15383 * sysdeps/i386/fpu/libm-test-ulps: Update.
15384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15385
5764c27f
WN
153862013-12-16 Will Newton <will.newton@linaro.org>
15387
15388 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
15389 (Aligned Memory Blocks): Add documentation for aligned_alloc
15390 and suggest it as an alternative to posix_memalign.
15391 (Hooks for Malloc): Document __memalign_hook is also called
15392 for aligned_alloc. (Summary of Malloc): Add summary for
15393 aligned alloc. Document __memalign_hook is also called
15394 for aligned_alloc.
15395
0a096e44
WN
153962013-12-16 Will Newton <will.newton@linaro.org>
15397
15398 * manual/memory.texi (Malloc Examples): Clarify default
15399 alignment documentation. Suggest posix_memalign rather
15400 than memalign or valloc.
15401 (Aligned Memory Blocks): Remove suggestion to use memalign
15402 or valloc. Remove obsolete comment about BSD.
15403 Document memalign errno values and mark the function obsolete.
15404 Document posix_memalign returned error codes. Mark valloc
15405 as obsolete. (Hooks for Malloc): __memalign_hook is also
15406 called for posix_memalign and valloc.
15407 (Summary of Malloc): Add posix_memalign to function summary.
15408 __memalign_hook is also called for posix_memalign and valloc.
15409
8d561986
SP
154102013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15411
15412 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
15413 TAYLOR_SIN.
15414 (__sin): Adjust.
15415 (__cos): Likewise.
15416 (sloww): Use mynumber union. Expand ternary operator into
15417 if-else statements.
15418 (cslow): use mynumber union.
15419
73616a74
AM
154202013-12-16 Allan McRae <allan@archlinux.org>
15421
9e8ac24b
AM
15422 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
15423 * configure: Regenerated.
15424
6f8e37eb
AM
15425 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
15426
8894bad3
AM
15427 [BZ #14120]
15428 * configure.ac: Added --enable-maintainer-mode. Check for
15429 autoconf when enabled.
15430 * configure: Regenerated.
15431
73616a74
AM
15432 * nscd/nscd.service: New file.
15433 * nscd/nscd.tmpfiles: New file.
15434
584b18eb
OB
154352013-12-14 Ondřej Bílka <neleai@seznam.cz>
15436
15437 [BZ #12100]
15438 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
15439 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
15440 * sysdeps/x86_64/multiarch/strstr.c: ... here.
15441 (strstr): Add __strstr_sse2_unaligned ifunc.
15442 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
15443 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
15444 (strcasestr): Remove __strcasestr_sse42 ifunc.
15445 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
15446 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15447 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15448
8a5c7897
KK
154492013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15450
15451 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
15452 * sysdeps/sh/bits/fenv.h: ... here.
15453 * sysdeps/sh/sh4/fpu/bits: Remove directory.
15454
fd712ef3
AZ
154552013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15456
15457 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
15458
42fcb46c
AZ
15459 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
15460 hypotf multiarch implementations.
15461 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
15462 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
15463 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
15464 multiarch hypot for PPC64.
15465 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
15466 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
15467 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
15468 multiarch hypotf for PPC64.
15469
83efded4
AZ
15470 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
15471 modff multiarch implementations.
15472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
15473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
15474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
15475 multiarch modf for PPC64.
15476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
15477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
15478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
15479 multiarch modff for PPC64.
15480
43e246d2
AZ
15481 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
15482 and logl multiarch implementations.
15483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
15484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
15485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
15486 multiarch logb for PPC64.
15487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
15488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
15489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
15490 multiarch logb for PPC64.
15491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
15492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
15493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
15494 multiarch logb for PPC64.
15495
8fdad123
AZ
15496 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
15497 isinff multiarch implementation.
15498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
15499 file.
15500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
15501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
15502 multiarch isinf for PPC64.
15503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
15504 file.
15505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
15506 multiarch isinff for PPC64.
15507
1481d706
AZ
15508 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
15509 finitef multiarch implementation.
15510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
15511 file.
15512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
15513 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
15514 multiarch finite for PPC64.
15515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
15516 file.
15517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
15518 multiarch finitef for PPC64.
15519
5ccd5fc8
AZ
15520 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
15521 lrint multiarch implementation.
15522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
15523 file.
15524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
15525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
15526 multiarch llrint for PPC64.
15527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
15528 multiarch lrint for PPC64.
15529
2568f3fa
AZ
15530 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
15531 copysignf multiarch implementation.
15532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
15533 file.
15534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
15535 file.
15536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
15537 multiarch copysign for PPC64.
15538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
15539 multiarch copysignf for PPC64.
15540
1cb341fd
AZ
15541 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
15542 multiarch implementation.
15543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
15544 file.
15545 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
15546 file.
15547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
15548 file.
15549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
15550 file.
15551 multiarch llround for PPC64.
15552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
15553 multiarch trunc for PPC64.
15554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
15555 multiarch truncf for PPC64.
15556
59a3e194
AZ
15557 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
15558 multiarch implementation.
15559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
15560 file.
15561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
15562 file.
15563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
15564 file.
15565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
15566 file.
15567 multiarch llround for PPC64.
15568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
15569 multiarch round for PPC64.
15570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
15571 multiarch roundf for PPC64.
15572
357fd3b4
AZ
15573 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
15574 multiarch implementation.
15575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
15576 file.
15577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
15578 file.
15579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
15580 file.
15581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
15582 file.
15583 multiarch llround for PPC64.
15584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
15585 multiarch floor for PPC64.
15586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
15587 multiarch floorf for PPC64.
15588
96770f12
AZ
15589 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
15590 multiarch implementation.
15591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
15592 file.
15593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
15594 file.
15595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
15596 file.
15597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
15598 file.
15599 multiarch llround for PPC64.
15600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
15601 multiarch ceil for PPC64.
15602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
15603 multiarch ceilf for PPC64.
15604
c3627f6e
AZ
15605 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15606 multiarch implementation.
15607 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
15608 file.
15609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
15610 file.
15611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
15612 file.
15613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
15614 multiarch llround for PPC64.
15615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
15616 multiarch lround for PPC64.
15617
b2284ad7
AZ
15618 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15619 multiarch implementation.
15620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
15621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
15622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
15623 file.
15624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
15625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
15626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
15627 multiarch isnan for PPC64.
15628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
15629 multiarch isnanf for PPC64.
15630
69bbc63d
AZ
15631 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
15632 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
15633 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
15634 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
15635 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
15636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
15637
c24517c9
AZ
15638 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
15639 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15640 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15641 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15642
a52374e8
AZ
15643 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
15644 multiarch implementations.
15645 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15646 (__libc_ifunc_impl_list): Likewise.
15647 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
15648 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
15649 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
15650 multiarch stpcpy for PPC64.
15651
7f5ec113
AZ
15652 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
15653 multiarch implementations.
15654 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15655 (__libc_ifunc_impl_list): Likewise.
15656 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
15657 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
15658 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
15659 multiarch strcpy for PPC64.
15660
e28bcd42
AZ
15661 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
15662 redefine function name.
15663 (_wordcopy_fwd_dest_aligned): Likewise.
15664 (_wordcopy_bwd_aligned): Likewise.
15665 (_wordcopy_bwd_dest_aligned): Likewise.
15666 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
15667 multiarch implementations.
15668 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15669 (__libc_ifunc_impl_list): Likewise.
15670 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
15671 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
15672 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
15673 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
15674 multiarch wcscpy for PPC64.
15675
92cacfce
AZ
15676 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
15677 multiarch implementations.
15678 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15679 (__libc_ifunc_impl_list): Likewise.
15680 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
15681 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
15682 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
15683 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
15684 multiarch wcscpy for PPC64.
15685
7b714620
AZ
15686 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
15687 multiarch implementations.
15688 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15689 (__libc_ifunc_impl_list): Likewise.
15690 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
15691 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
15692 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
15693 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
15694 multiarch wcsrchr for PPC64.
15695
16fd2ae3
AZ
15696 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
15697 multiarch implementations.
15698 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15699 (__libc_ifunc_impl_list): Likewise.
15700 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
15701 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
15702 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
15703 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
15704 multiarch wcschr for PPC64.
15705
9ee2969b
AZ
15706 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
15707 multiarch implementations.
15708 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15709 (__libc_ifunc_impl_list): Likewise.
15710 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
15711 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
15712 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
15713 multiarch strchrnul for PPC64.
15714
372dc060
AZ
15715 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
15716 implementations.
15717 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15718 (__libc_ifunc_impl_list): Likewise.
15719 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
15720 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
15721 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
15722 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
15723 strchr for PPC64.
15724
24c2c3b9
AZ
15725 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
15726 implementations.
15727 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15728 (__libc_ifunc_impl_list): Likewise.
15729 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
15730 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
15731 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
15732 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
15733 strncmp for PPC64.
15734
1c92d9a0
AZ
15735 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
15736 multiarch implementations.
15737 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15738 (__libc_ifunc_impl_list): Likewise.
15739 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
15740 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
15741 strncasecmp for PPC64.
15742 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
15743 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
15744 multiarch strncasecmp_l for PPC64.
15745
17de3ee3
AZ
15746 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
15747 multiarch implementations.
15748 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15749 (__libc_ifunc_impl_list): Likewise.
15750 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
15751 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
15752 multiarch strcasecmp for PPC64.
15753 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
15754 file.
15755 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
15756 multiarch strcasecmp_l for PPC64.
15757
62982bf9
AZ
15758 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
15759 implementations.
15760 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15761 (__libc_ifunc_impl_list): Likewise.
15762 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
15763 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
15764 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
15765 strnlen for PPC64.
15766
a65f4904
AZ
15767 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
15768 implementations.
15769 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15770 (__libc_ifunc_impl_list): Likewise.
15771 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
15772 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
15773 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
15774 strlen for PPC64.
15775
1fd005ad
AZ
15776 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
15777 implementations.
15778 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15779 (__libc_ifunc_impl_list): Likewise.
15780 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
15781 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
15782 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
15783 rawmemrchr for PPC64.
15784
cd05ba91
AZ
15785 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
15786 implementation.
15787 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15788 (__libc_ifunc_impl_list): Likewise.
15789 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
15790 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
15791 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
15792 memrchr for PPC64.
15793
870f8676
AZ
15794 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
15795 implementation.
15796 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15797 (__libc_ifunc_impl_list): Likewise.
15798 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
15799 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
15800 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
15801 memchr for PPC64.
15802
f00be62b
AZ
15803 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
15804 implementation.
15805 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15806 (__libc_ifunc_impl_list): Likewise.
15807 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
15808 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
15809 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
15810 mempcpy for PPC64.
15811
8a29a3d0
AZ
15812 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
15813 avoid cretion of __bzero symbol.
15814 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
15815 Likewise.
15816 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
15817 Likewise.
15818 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
15819 Likewise.
15820 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
15821 multiarch implementations.
15822 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15823 (__libc_ifunc_impl_list): Likewise.
15824 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
15825 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
15826 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
15827 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
15828 bzero for PPC32.
15829 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
15830 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
15831 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
15832 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
15833 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
15834 memset for PPC64.
15835 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
15836
07253fcf
AZ
15837 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
15838 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
15839 implementations.
15840 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15841 (__libc_ifunc_impl_list): Likewise.
15842 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
15843 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
15844 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
15845 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
15846 memcmp for PPC64.
15847
b5beafbc
AZ
15848 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
15849 multiarch for POWER/PPC64.
15850 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15851 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
15852 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
15853 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
15854 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
15855 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
15856 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
15857 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
15858 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
15859 memcpy for PPC64.
15860
5e6a4d4b
AZ
15861 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
15862 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
15863 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
15864 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
15865 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
15866 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
15867 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
15868 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
15869 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
15870 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
15871 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
15872 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
15873 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
15874 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
15875 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
15876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
15877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
15878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
15879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
15880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
15881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
15882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
15883
ddfab6dc
KK
158842013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15885
15886 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
15887
19b5525e
SP
158882013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15889
15890 * benchtests/Makefile (bench): Add exp2 and log2.
15891 (LDLIBS-bench-exp2): Add -lm.
15892 (LDLIBS-bench-log2): Likewise.
15893 * benchtests/exp2-inputs: New inputs file.
15894 * benchtests/log2-inputs: New inputs file.
15895 * benchtests/log-inputs: Add new inputs.
15896 * benchtests/tan-inputs: Likewise.
15897
196f7f5d
SP
158982013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15899
7a74607f
SP
15900 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
15901 definition...
57f41c40
AS
15902 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
15903 (csloww2): ... from here.
7a74607f 15904
196f7f5d
SP
15905 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15906 instead of structures.
15907 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15908 (POLYNOMIAL): Likewise.
15909 (TAYLOR_SLOW): Likewise.
15910 (__sin): Likewise.
15911 (__cos): Likewise.
15912 (slow1): Likewise.
15913 (slow2): Likewise.
15914 (sloww): Likewise.
15915 (sloww1); Likewise.
15916 (sloww2): Likewise.
15917 (bsloww1): Likewise.
15918 (bsloww2): Likewise.
15919 (cslow2): Likewise.
15920 (csloww): Likewise.
15921 (csloww1): Likewise.
15922 (csloww2): Likewise.
15923
0dfa665c
OB
159242013-12-10 Ondřej Bílka <neleai@seznam.cz>
15925
15926 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
15927 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15928 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
15929 * malloc/hooks.c (realloc_check): Likewise.
15930
5782a80f
OB
15931 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15932 * malloc/arena.c: Remove PER_THREAD conditional.
15933 [!PER_THREAD]: Remove code.
15934 (ptmalloc_unlock_all2): Likewise.
15935 (ptmalloc_init): Likewise.
15936 (_int_new_arena): Likewise.
15937 (arena_get2): Likewise.
15938 * malloc/hooks.c (__malloc_get_state): Likewise.
15939 (__malloc_set_state): Likewise.
15940 * malloc/malloc.c: Likewise.
15941 (struct malloc_state): Likewise.
15942 (struct malloc_par): Likewise.
15943 (__libc_realloc): Likewise.
15944 (__libc_mallopt): Likewise.
15945
aeb95445
AZ
159462013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15947
15948 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15949
e8349efd
OB
159502013-12-09 Ondřej Bílka <neleai@seznam.cz>
15951
15952 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15953 macro to a function. Check for zero perturb_byte.
15954 (_int_malloc, _int_free): Remove zero perturb_byte checks.
15955
f3eeb3fc 15956 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
15957 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15958 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
15959 force_reg by atomic_forced_read.
15960 * malloc/arena.c (ptmalloc_init): Likewise.
15961 * malloc/hooks.c (top_check): Likewise.
15962
be2f9009
AZ
159632013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15964
15965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15966
e7b914bd
MT
159672013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
15968
15969 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15970
9f0be4f8
JM
159712013-12-08 Joseph Myers <joseph@codesourcery.com>
15972
15973 * math/auto-libm-test-in: Add tests of lgamma.
15974 * math/auto-libm-test-out: Regenerated.
15975 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15976 (M_LOG_2_SQRT_PIl): Likewise.
15977 (lgamma_test_data): Use AUTO_TESTS_f_f1.
15978 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15979 mpfr_f_f1.
15980 (func_calc_desc): Add mpfr_f_f1 union field.
15981 (ARGS1): New macro.
15982 (ARGS2): Likewise.
15983 (ARGS3): Likewise.
15984 (ARGS4): Likewise.
15985 (RET1): Likewise.
15986 (RET2): Likewise.
15987 (CALC): Likewise.
15988 (FUNC): Likewise.
15989 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15990 (test_functions): Add lgamma.
15991 (calc_generic_results): Handle mpfr_f_f1.
15992 * sysdeps/i386/fpu/libm-test-ulps: Update.
15993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15994
24eeafdb
AZ
159952013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15996
15997 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15998 __mpn_add_n for PowerPC64/POWER7.
15999 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
16000 __mpn_sub_n for PowerPC64/POWER7.
16001
4a2c0fd4
AZ
16002 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
16003 __mpn_addmul_1 for PowerPC64.
16004 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
16005 __mpn_submul_1 for PowerPC64.
16006 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
16007 for PowerPC64.
16008 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
16009 for PowerPC64.
16010
4b5b548c
FS
160112013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
16012
16013 [BZ #15089]
16014 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
16015
0a3ac0aa
AZ
160162013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16017
16018 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
16019
ccdc8438
AZ
16020 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
16021 add multiarch folders.
16022 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
16023 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
16024 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
16025 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
16026 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
16027 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
16028 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
16029 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
16030 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
16031 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
16032 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
16033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
16034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
16035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
16036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
16037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
16038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
16039
2e973d99
AZ
16040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16041 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
16042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
16043 New file.
16044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
16045 New file.
16046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
16047 multiarch __ieee754_hypot for PowerPC32.
16048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
16049 New file.
16050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
16051 New file.
16052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
16053 multiarch __ieee754_hypotf for PowerPC32.
16054
2d9470b2
AZ
16055 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
16056 long_double_symbol only if __logbl is defined.
16057 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
16058 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
16059 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
16060 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
16061 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
16062 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
16063 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
16064 path for implementation.
16065 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
16066 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
16067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
16068 logb, and logbl multiarch implementations for PowerPC32.
16069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
16070 file.
16071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
16072 file.
16073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
16074 multiarch logb for PowerPC32.
16075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
16076 file.
16077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
16078 file.
16079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
16080 multiarch logbf for PowerPC32.
16081 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
16082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
16083 file.
16084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
16085 multiarch logbl implementation for PowerPC32.
16086
5212ffce
AZ
16087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
16088 and modff multiarch implementations.
16089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
16090 New file.
16091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
16092 New file.
16093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
16094 multiarch modf for PowerPC32.
16095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
16096 New file.
16097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
16098 New file.
16099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
16100 multiarch modff for PowerPC32.
16101
79dccf31
AZ
16102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
16103 and lrintf multiarch implementations.
16104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
16105 New file.
16106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
16107 New file.
16108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
16109 multiarch lrint for PowerPC32.
16110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
16111 file: multiarch lrintf for PowerPC32.
16112
deb66480
AZ
16113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
16114 and lroundf multiarch implementations.
16115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
16116 New file.
16117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
16118 New file.
16119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
16120 New file.
16121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
16122 multiarch lround for PowerPC32.
16123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
16124 file: multiarch lroundf for PowerPC32.
16125
264b036b
AZ
16126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16127 copysign and copysignf multiarch implementations.
16128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
16129 New file.
16130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
16131 New file.
16132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
16133 file: multiarch copysign for PowerPC32.
16134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
16135 file: multiarch copysignf for PowerPC32.
16136
d47db6c9
AZ
16137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
16138 and truncf multiarch implementations.
16139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
16140 New file.
16141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
16142 file.
16143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
16144 multiarch trunc for PowerPC32.
16145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
16146 New file.
16147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
16148 New file.
16149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
16150 multiarch truncf for PowerPC32.
16151
ddb60b5a
AZ
16152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
16153 and roundf multiarch implementations.
16154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
16155 New file.
16156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
16157 file.
16158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
16159 multiarch round for PowerPC32.
16160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
16161 New file.
16162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
16163 New file.
16164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
16165 multiarch roundf for PowerPC32.
16166
bedcf49b
AZ
16167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
16168 and floorf multiarch implementations.
16169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
16170 New file.
16171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
16172 file.
16173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
16174 multiarch floor for PowerPC32.
16175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
16176 New file.
16177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
16178 New file.
16179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
16180 multiarch floorf for PowerPC32.
16181
35ae5b40
AZ
16182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
16183 and ceilf multiarch implementations.
16184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
16185 New file.
16186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
16187 file.
16188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
16189 multiarch ceil for PowerPC32.
16190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
16191 New file.
16192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
16193 file.
16194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
16195 multiarch ceilf for PowerPC32.
16196
ae1a4cd9
AZ
16197 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
16198 is defined.
16199 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
16200 FINITEF is defined.
16201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
16202 and finitef multiarch implementations.
16203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
16204 New file.
16205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
16206 file.
16207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
16208 multiarch finite for PowerPC32.
16209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
16210 New file.
16211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
16212 file: multiarch finitef for PowerPC32.
16213
64fffd65
AZ
16214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
16215 and isinff multiarch implementations.
16216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
16217 file.
16218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
16219 file.
16220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
16221 multiarch isinf for PowerPC32.
16222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
16223 New file.
16224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
16225 multiarch isinff for PowerPC32.
16226
8e4e7ba2
AZ
16227 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
16228 alias when __isnan is defined.
16229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
16230 and isnanf multiarch implementations.
16231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
16232 file.
16233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
16234 file.
16235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
16236 file.
16237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
16238 file.
16239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
16240 multiarch isnan for PowerPC32.
16241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
16242 New file.
16243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
16244 New file.
16245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
16246 multiarch isnanf for PowerPC32.
16247
ddba588e
AZ
16248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
16249 and sqrtf multiarch implementations.
16250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
16251 file.
16252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
16253 file.
16254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
16255 multiarch sqrt for PowerPC32.
16256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
16257 file.
16258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
16259 file.
16260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
16261 multiarch sqrtf for PowerPC32.
16262
0f96a2f0
AZ
16263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
16264 and llroundf multiarch implementations.
16265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
16266 New file.
16267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
16268 New file.
16269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
16270 New file.
16271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
16272 file: multiarch llround for PowerPC32.
16273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
16274 file: multiarch llroundf for PowerPC32.
16275
c9b5d79e
AZ
16276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
16277 multiarch PowerPC32 fpu implementations.
16278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
16279 New file.
16280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
16281 New file.
16282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
16283 multiarch llrint for PowerPC32.
16284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
16285 New file.
16286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
16287 New file.
16288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
16289 file.
16290
9cbb3aab
AZ
16291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
16292
ea5a72f8
AZ
16293 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
16294 file.
16295 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
16296 file.
16297 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
16298 file.
16299 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
16300 multiarch wordcopy for PPC32.
16301 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16302 wordcopy objects.
16303 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16304 (__libc_ifunc_impl_list): Likewise.
16305 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
16306 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
16307 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
16308 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
16309 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
16310 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
16311
93be09e7
AZ
16312 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
16313 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
16314 file.
16315 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
16316 file.
16317 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
16318 file.
16319 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
16320 multiarch wcscpy for PPC32.
16321 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16322 multiarch objects.
16323 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16324 (__libc_ifunc_impl_list): Likewise.
16325 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16326 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16327 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
16328 sysdeps/powerpc/power6/wcscpy.c.
16329
bb04e529
AZ
16330 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
16331 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
16332 file.
16333 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
16334 file.
16335 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
16336 file.
16337 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
16338 multiarch wcsrchr for PPC32.
16339 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16340 multiarch objects.
16341 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16342 (__libc_ifunc_impl_list): Likewise.
16343 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16344 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16345 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
16346 sysdeps/powerpc/power6/wcsrchr.c.
16347
05b5cd1c
AZ
16348 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
16349 file.
16350 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
16351 file.
16352 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
16353 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
16354 multiarch wcschr for PPc32.
16355 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16356 multiarch objects.
16357 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16358 (__libc_ifunc_impl_list): Likewise.
16359 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
16360 * sysdeps/powerpc/power6/wcschr.c: ... to here.
16361 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
16362 sysdeps/powerpc/power6/wcschr.c.
16363
ba964147
AZ
16364 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
16365 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
16366 file.
16367 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
16368 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
16369 file: multiarch strchr for PPC32.
16370 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
16371 multiarch objects.
16372 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16373 (__libc_ifunc_impl_list): Likewise.
16374
31c81aaa
AZ
16375 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
16376 name.
16377 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
16378 file.
16379 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
16380 file.
16381 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
16382 multiarch strchrnul for PPC32.
16383 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
16384 multiarch objects.
16385 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16386 (__libc_ifunc_impl_list): Likewise.
16387
0d0607d9
AZ
16388 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
16389 file.
16390 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
16391 multiarch strncasecmp for PPC32.
16392 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
16393 file.
16394 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
16395 multiarch strncasecmp_l for PPC32.
16396 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
16397 strncasecmp multiarch objects.
16398 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16399 (__libc_ifunc_impl_list): Likewise.
16400
4dfd5c86
AZ
16401 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
16402 file.
16403 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
16404 multiarch strncasecmp for PPC32.
16405 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16406 New file.
16407 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
16408 multiarch strcasecmp_l for PPC32.
16409 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
16410 multiarch objects.
16411 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16412 (__libc_ifunc_impl_list): Likewise.
16413
a19e01a3
AZ
16414 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
16415 file.
16416 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
16417 file.
16418 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
16419 multiarch strncmp for PPC32.
16420 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
16421 multiarch objects.
16422 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16423 (__libc_ifunc_impl_list): Likewise.
16424
ae9cf7a2
AZ
16425 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
16426 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
16427 file.
16428 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
16429 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
16430 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
16431 multiarch objects.
16432 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16433 (__libc_ifunc_impl_list): Likewise.
16434
3148bb7d
AZ
16435 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
16436 file.
16437 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
16438 file.
16439 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
16440 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
16441 multiarch objects.
16442 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16443 (__libc_ifunc_impl_list): Likewise.
16444
7af8b946
AZ
16445 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
16446 file.
16447 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
16448 file.
16449 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
16450 multiarch rawmemchr for PPC32.
16451 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
16452 multiarch objects.
16453 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16454 (__libc_ifunc_impl_list): Likewise.
16455
03a6aa6a
AZ
16456 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
16457 file.
16458 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
16459 file.
16460 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
16461 file: memrchr multiarch for PPC32.
16462 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
16463 multiarch objects.
16464 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16465 (__libc_ifunc_impl_list): Likewise.
16466
1c62e6d9
AZ
16467 * string/memchr.c (__memchr): Using macro to redefine symbol name.
16468 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
16469 file.
16470 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
16471 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
16472 multiarch memchr for PPC32.
16473 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
16474 multiarch objects.
16475 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16476 (__libc_ifunc_impl_list): Likewise.
16477
87da8bdb
AZ
16478 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
16479 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
16480 file.
16481 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
16482 file.
16483 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
16484 file: multiarch mempcpy for PPC32.
16485 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
16486 multiarch objects.
16487 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16488 (__libc_ifunc_impl_list): Likewise.
16489
20ed4714
AZ
16490 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
16491 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
16492 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
16493 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
16494 multiarch bzero for PPC32.
16495 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
16496 file.
16497 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
16498 file.
16499 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
16500 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
16501 file: multiarch memset for PPC32.
16502 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
16503 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
16504 memset multiarch objects.
16505 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16506 (__libc_ifunc_impl_list): Likewise.
16507
ab3e3a46
AZ
16508 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
16509 file.
16510 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
16511 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
16512 memcmp for PPC32.
16513 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
16514 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
16515 multiarch objects.
16516 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16517 (__libc_ifunc_impl_list): Likewise.
16518
930de6f0
AZ
16519 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
16520 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
16521 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
16522 file.
16523 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
16524 file.
16525 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
16526 file.
16527 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
16528 multiarch memcpy for PPC32.
16529 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
16530 multiarch objects.
16531 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16532 (__libc_ifunc_impl_list): Likewise.
16533
4c628e00
AZ
16534 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
16535 support multiarch for POWER/PPC32.
16536 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
16537 Likewise.
16538 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
16539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
16540 Implies file to make multiarch folder appers before the fpu and
16541 default folder for power4 configuration.
16542
f4479220
SP
165432013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16544
16545 * scripts/bench.pl: Append volatile keyword to type.
16546
8517800f
KK
165472013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16548
16549 * sysdeps/sh/sotruss-lib.c: New file.
16550 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
16551
180138f1
AZ
165522013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16553
16554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16555
bbf37bdc
JM
165562013-12-05 Joseph Myers <joseph@codesourcery.com>
16557
e47cc4e0
JM
16558 [BZ #6810]
16559 * math/w_tgamma.c: Include <errno.h>.
16560 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
16561 * math/w_tgammaf.c: Include <errno.h>.
16562 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
16563 * math/w_tgammal.c: Include <errno.h>.
16564 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
16565 * math/auto-libm-test-in: Do not allow missing errno on tgamma
16566 underflow. Add more tgamma tests.
16567 * math/auto-libm-test-out: Regenerated.
16568 * sysdeps/i386/fpu/libm-test-ulps: Update.
16569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16570
bbf37bdc
JM
16571 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
16572 sin, sinh, tan, tanh, tgamma, y0 and y1.
16573 * math/auto-libm-test-out: Regenerated.
16574 * math/libm-test.inc (TEST_COND_x86_64): New macro.
16575 (TEST_COND_x86): Likewise.
16576 (M_E2l): Remove macro.
16577 (M_E3l): Likewise.
16578 (M_2_SQRT_PIl): Likewise.
16579 (M_SQRT_PIl): Likewise.
16580 (M_1_DIV_El): Likewise.
16581 (log_test_data): Use AUTO_TESTS_f_f.
16582 (log10_test_data): Likewise.
16583 (log1p_test_data): Likewise.
16584 (log2_test_data): Likewise.
16585 (sin_test_data): Likewise.
16586 (sin_tonearest_test_data): Likewise.
16587 (sin_towardzero_test_data): Likewise.
16588 (sin_downward_test_data): Likewise.
16589 (sin_upward_test_data): Likewise.
16590 (sinh_test_data): Likewise.
16591 (sinh_tonearest_test_data): Likewise.
16592 (sinh_towardzero_test_data): Likewise.
16593 (sinh_downward_test_data): Likewise.
16594 (sinh_upward_test_data): Likewise.
16595 (tan_test_data): Likewise.
16596 (tan_tonearest_test_data): Likewise.
16597 (tan_towardzero_test_data): Likewise.
16598 (tan_downward_test_data): Likewise.
16599 (tan_upward_test_data): Likewise.
16600 (tanh_test_data): Likewise.
16601 (tgamma_test_data): Likewise.
16602 (y0_test_data): Likewise.
16603 (y1_test_data): Likewise.
16604 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
16605 (special_real_inputs): Add pi/4.
16606 * sysdeps/i386/fpu/libm-test-ulps: Update.
16607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16608
eb5ad6b9
AZ
166092013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16610
16611 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
16612 "longjmp_target" static probes.
16613 (__longjmp): Rename to __longjmp_symbol.
16614 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16615 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
16616 on which longjmp to generate.
16617 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16618 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
16619 probe.
16620 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16621 (__sigjmp_save): Rename to __sigjmp_save_symbol.
16622 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16623 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
16624 and __sigjmp_save_symbol based on which sigsetjmp to generated.
16625 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
16626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
16627 __longjmp_symbol based on which __longjmp to generate.
16628 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
16629 probe.
16630 (setjmp): Rename to setjmp_symbol.
16631 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16632 (_setjmp): Rename to _setjmp_symbol.
16633 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16634 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
16635 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
16636 which setjmp to generate.
16637 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
16638 "longjmp_target" static probes.
16639
d136c6dc
SP
166402013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16641
9298ecba
SP
16642 * benchtests/README: Add note about output arguments.
16643 * benchtests/bench-sincos.c: Remove file.
16644 * benchtests/sincos-inputs: New file.
16645 * scripts/bench.pl: Identify output arguments and define
16646 static variables for them.
16647
232983e9
SP
16648 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
16649
d136c6dc
SP
16650 [BZ #15941]
16651 * Makefile (INSTALL): Add install-plain.texi as the primary
16652 dependency.
16653 * manual/install-plain.texi: New file.
16654 * manual/install.texi: Include node directive only for
16655 non-plaintext output.
16656
699ff837
JM
166572013-12-04 Joseph Myers <joseph@codesourcery.com>
16658
ab07cea8
JM
16659 * stdlib/longlong.h: Update from GCC.
16660
699ff837
JM
16661 [BZ #6807]
16662 [BZ #15901]
16663 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
16664 * math/w_j0f.c (y0f): Likewise.
16665 * math/w_j0l.c (__y0l): Likewise.
16666 * math/w_j1.c (y1): Likewise.
16667 * math/w_j1f.c (y1f): Likewise.
16668 * math/w_j1l.c (__y1l): Likewise
16669 * math/w_jn.c (yn): Likewise.
16670 * math/w_jnf.c (ynf): Likewise.
16671 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
16672 Bessel function pole errors in _POSIX_ mode. Use NAN as return
16673 value for Bessel function domain errors outside _SVID_ mode.
16674 Adjust sign of return value for yn (negative integer, 0).
16675 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
16676 by zero in return for negative x and set sign appropriately for
16677 negative n.
16678 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
16679 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16680 * math/libm-test.inc (y0_test_data): Add more tests and adjust
16681 expectations in error cases.
16682 (y1_test_data): Likewise.
16683 (yn_test_data): Likewise.
16684 * sysdeps/i386/fpu/libm-test-ulps: Update.
16685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16686
5b118558
UW
166872013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16688
16689 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
16690 "64" to "64-v1". Add "64-v2".
16691 (abi-64-options): Rename to ...
16692 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
16693 (abi-64-condition): Rename to ...
16694 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
16695 (abi-64-ld-soname): Rename to ...
16696 (abi-64-v1-ld-soname): ... this.
16697 (abi-64-v2-options): Define.
16698 (abi-64-v2-condition): Likewise.
16699 (abi-64-v2-ld-soname): Likewise.
16700 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
16701 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
16702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
16703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
16704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
16705
61cd8fe4
UW
167062013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16707 Alan Modra <amodra@gmail.com>
16708
16709 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
16710 New versions for use with the ELFv2 ABI.
16711 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
16712 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
16713 declaration.
16714 (struct La_ppc64v2_retval): Likewise.
16715 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
16716 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
16717 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
16718 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
16719 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
16720 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16721 Do not save or restore CR.
16722 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
16723 (_dl_profile_resolve): Do no save or restore CR. Support extended
16724 return values for ELFv2 ABI. Fix location of FPR return registers.
16725 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
16726 updated values for _CALL_ELF == 2.
16727 (La_regs, La_retval, int_retval): Likewise.
16728
8b8a692c
UW
167292013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16730
16731 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
16732 (FRAME_MIN_SIZE_PARM): Likewise.
16733 (FRAME_BACKCHAIN): Likewise.
16734 (FRAME_CR_SAVE): Likewise.
16735 (FRAME_LR_SAVE): Likewise.
16736 (FRAME_TOC_SAVE): Likewise.
16737 (FRAME_PARM_SAVE): Likewise.
16738 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
16739 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
16740 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16741 (call_mcount_parm_offset): New macro.
16742 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
16743 (PROF): Use symbolic stack frame offsets.
16744 (TAIL_CALL_SYSCALL_ERROR): Likewise.
16745 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
16746 Redefine in terms of FRAME_MIN_SIZE.
16747 (_dl_runtime_resolve): Use symbolic stack frame offsets.
16748 (_dl_profile_resolve): Likewise. Update comment.
16749 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
16750 symbols stack frame offsets.
16751 (__sigsetjmp): Likewise.
16752 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
16753 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
16754 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
16755 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
16756
16757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
16758 (FRAME_BACKCHAIN): Remove.
16759 (FRAME_CR_SAVE): Likewise.
16760 (FRAME_LR_SAVE): Likewise.
16761 (FRAME_COMPILER_DW): Likewise.
16762 (FRAME_LINKER_DW): Likewise.
16763 (FRAME_TOC_SAVE): Likewise.
16764 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
16765 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
16766 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
16767 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
16768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
16769 (CHECK_SP): Use symbolic stack frame offsets.
16770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
16771 zone" instead of caller's parameter save area for temp storage.
16772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16773 Likewise. Also, use symbolic stack frame offsets.
16774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
16775 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
16776 our own stack frame instead of the caller's.
16777 (__socket): Use symbolic stack frame offsets.
16778
122b66de
UW
167792013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16780 Alan Modra <amodra@gmail.com>
16781
16782 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
16783 Define.
57f41c40
AS
16784 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
16785 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
16786 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
16787 New function.
16788 (elf_machine_fixup_plt): Call it.
16789 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
16790 reloc arguments.
16791 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
16792 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16793 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
16794 r2 before calling target.
16795
696caf1d
UW
167962013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16797 Alan Modra <amodra@gmail.com>
16798
16799 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
16800 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
16801 versions of macros to support ELFv2 ABI.
16802 (LOCALENTRY): New macro.
16803 (ENTRY, EALIGN): Use it.
16804 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
16805 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
16806 fall through into ENTRY entry point.
16807 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
16808 Only define if _CALL_ELF != 2.
16809
16810 (elf_machine_matches_host): Verify ABI version matches.
16811 (RTLD_START): Use LOCALENTRY.
16812 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
16813 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
16814 (PLT_ENTRY_WORDS): New macro.
16815 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
16816 (elf_machine_runtime_setup): Support ELFv2 ABI.
16817 (elf_machine_fixup_plt): Likewise.
16818 (elf_machine_plt_conflict): Likewise.
16819 (resolve_ifunc): Likewise.
16820 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16821 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16822 Likewise.
16823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
16824 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
16825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16826 (makecontext): Support ELFv2 ABI.
16827 * elf/elf.h (EF_PPC64_ABI): Define.
16828
d31beafa
UW
168292013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16830
57f41c40
AS
16831 * sysdeps/powerpc/powerpc64/sysdep.h
16832 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
16833 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
16834 (ENTRY) [ASSEMBLER]: ... but instead here ...
16835 (EALIGN) [ASSEMBLER]: ... and here.
16836 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
16837 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
16838 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
16839 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
16840 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
16841 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16842 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
16843 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
16844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
16845 Use PPC64_LOAD_FUNCPTR.
16846
b525166b
UW
16847 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
16848
7ec07d9a
AM
168492013-12-04 Alan Modra <amodra@gmail.com>
16850
16851 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
16852 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
16853 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
16854 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
16855
16856 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
16857 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
16858 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
16859 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
16860 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
16861 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
16862
5162e7dd
UW
168632013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16864
16865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16866 (__makecontext): Fix incorrect CFI when backtracing out of
16867 context created via makecontext.
16868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
16869 (__setcontext): Fix incorrect CFI during switch to new context.
16870 (__novec_setcontext): Likewise.
16871
19e3372b
OB
168722013-12-04 Ondřej Bílka <neleai@seznam.cz>
16873
16874 [BZ #4772]
16875 * time/strptime_l.c (__strptime_internal): Allow modifiers
16876 in strptime.
16877 * time/tst-strptime.c (day_tests): Add testcase.
16878
ecaf142d
SP
168792013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16880
16881 * scripts/bench.pl: Skip over blank lines.
16882
fbf964ae
PE
168832013-12-04 Paul Eggert <eggert@cs.ucla.edu>
16884
16885 [BZ #926]
16886 * manual/time.texi (Calendar Time): Clarify what timezone functions
16887 use.
16888
fa60a674
AZ
168892013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16890
16891 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16892
d674f0ef
OB
168932013-12-04 Ondřej Bílka <neleai@seznam.cz>
16894
16895 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
16896 implementation.
16897 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16898 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16899 * debug/memset_chk.c (__memset_chk): Likewise.
16900 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
16901 * debug/strncpy_chk.c: Likewise.
16902
17dea188
JM
169032013-12-03 Joseph Myers <joseph@codesourcery.com>
16904
749008ff
JM
16905 [BZ #15268]
16906 [BZ #15425]
16907 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16908 (__ieee754_exp): For possibly underflowing results, check size of
16909 result and force underflow exception if required.
16910 * math/auto-libm-test-in: Add more tests of exp.
16911 * math/auto-libm-test-out: Regenerated.
16912 * sysdeps/i386/fpu/libm-test-ulps: Update.
16913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16914
17dea188
JM
16915 [BZ #16283]
16916 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16917 * math/w_exp2f.c (__exp2f): Likewise.
16918 * math/w_exp2l.c (__exp2l): Likewise.
16919 * math/auto-libm-test-in: Do not allow missing errno on exp2
16920 underflow.
16921 * math/auto-libm-test-out: Regenerated.
16922
b20de2c3
OB
169232013-12-03 Ondřej Bílka <neleai@seznam.cz>
16924
16925 [BZ #16274]
16926 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16927 handle filename validation.
16928 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16929 (do_open): Delete.
16930
d8e2dbe3
JM
169312013-12-03 Joseph Myers <joseph@codesourcery.com>
16932
34e16df5
JM
16933 [BZ #6786]
16934 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16935 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16936 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16937 <float.h>.
16938 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16939 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16940 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16941 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16942 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16943 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16944 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16945 * math/auto-libm-test-in: Don't allow missing errno from erfc.
16946 Add more erfc tests.
16947 * math/auto-libm-test-out: Regenerated.
16948 * sysdeps/i386/fpu/libm-test-ulps: Update.
16949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16950
d8e2dbe3
JM
16951 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16952 exp2, expm1, j0 and j1.
16953 * math/auto-libm-test-out: Regenerated.
16954 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16955 (erfc_test_data): Likewise.
16956 (exp_test_data): Likewise.
16957 (exp_tonearest_test_data): Likewise.
16958 (exp_towardzero_test_data): Likewise.
16959 (exp_downward_test_data): Likewise.
16960 (exp_upward_test_data): Likewise.
16961 (exp10_test_data): Likewise.
16962 (exp2_test_data): Likewise.
16963 (expm1_test_data): Likewise.
16964 (j0_test_data): Likewise.
16965 (j1_test_data): Likewise.
16966 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16967 (input_flag_type): Add flag_xfail_rounding.
16968 (input_flags): Add xfail-rounding.
16969 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16970 (output_for_one_input_case): Handle flag_xfail_rounding.
16971 * sysdeps/i386/fpu/libm-test-ulps: Update.
16972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16973
18d14251
AJ
169742013-12-03 Aurelien Jarno <aurelien@aurel32.net>
16975
3d2e6075 16976 [BZ #16289]
18d14251
AJ
16977 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16978 division by 0.
16979
520d437b
SP
169802013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16981
16982 [BZ #16195]
16983 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16984 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16985 (STAP_PROBE0): New macro.
16986 (STAP_PROBE1): Likewise.
16987 (STAP_PROBE2): Likewise.
16988 (STAP_PROBE3): Likewise.
16989 (STAP_PROBE4): Likewise.
16990
416e0145
OB
169912013-12-02 Ondřej Bílka <neleai@seznam.cz>
16992
16993 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16994
9d17796a
SE
169952013-12-02 Steve Ellcey <sellcey@mips.com>
16996
16997 * benchtests/Makefile (bench): Add sqrt.
16998 (LDLIBS-bench-sqrt): New.
16999 * benchtests/sqrt-input: New.
17000
f524d6a8
PS
170012013-12-02 Pavel Simerda <psimerda@redhat.com>
17002
639a0ef8
PS
17003 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
17004 (GAIH_EAI): Likewise.
17005 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
17006 (gaih_inet): Likewise.
17007 (getaddrinfo): Don't use GAIH_EAI.
17008
f524d6a8
PS
17009 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
17010 (struct gaih): Remove definition.
17011
df3aedaf
SP
170122013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17013
17014 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
17015 Use HERRNOP directly.
17016
1ab19dec
AZ
170172013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17018
b42ad38d 17019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 17020
176b0c79
JM
170212013-11-30 Joseph Myers <joseph@codesourcery.com>
17022
17023 * math/gen-auto-libm-tests.c (test_functions): Add more
17024 single-argument functions.
17025 (special_fill_pi_2): New function.
17026 (special_fill_minus_pi_2): Likewise.
17027 (special_fill_pi_6): Likewise.
17028 (special_fill_minus_pi_6): Likewise.
17029 (special_fill_pi_3): Likewise.
17030 (special_fill_2pi_3): Likewise.
17031 (special_fill_e): Likewise.
17032 (special_fill_1_e): Likewise.
17033 (special_fill_e_minus_1): Likewise.
17034 (special_real_inputs): Add more special inputs.
17035 (output_for_one_input_case): Do not require ERANGE on underflow to
17036 zero if round-to-nearest result does not underflow to zero, unless
17037 exact results required.
17038 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
17039 atan, atanh, cbrt, cos and cosh.
17040 * math/auto-libm-test-out: Regenerated.
17041 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
17042 (acos_tonearest_test_data): Likewise.
17043 (acos_towardzero_test_data): Likewise.
17044 (acos_downward_test_data): Likewise.
17045 (acos_upward_test_data): Likewise.
17046 (acosh_test_data): Likewise.
17047 (asin_test_data): Likewise.
17048 (asin_tonearest_test_data): Likewise.
17049 (asin_towardzero_test_data): Likewise.
17050 (asin_upward_test_data): Likewise.
17051 (asinh_test_data): Likewise.
17052 (atan_test_data): Likewise.
17053 (atanh_test_data): Likewise.
17054 (cbrt_test_data): Likewise.
17055 (cos_test_data): Likewise.
17056 (cos_tonearest_test_data): Likewise.
17057 (cos_towardzero_test_data): Likewise.
17058 (cos_downward_test_data): Likewise.
17059 (cos_upward_test_data): Likewise.
17060 (cosh_test_data): Likewise.
17061 (cosh_tonearest_test_data): Likewise.
17062 (cosh_towardzero_test_data): Likewise.
17063 (cosh_downward_test_data): Likewise.
17064 (cosh_upward_test_data): Likewise.
17065 * sysdeps/i386/fpu/libm-test-ulps: Update.
17066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17067
ffb536d0
JM
170682013-11-29 Joseph Myers <joseph@codesourcery.com>
17069
2a77a467
JM
17070 [BZ #6787]
17071 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
17072 * math/w_exp10f.c (__exp10f): Likewise.
17073 * math/w_exp10l.c (__exp10l): Likewise.
17074 * math/libm-test.inc (exp10_test_data): Add more tests and expect
17075 errno settings in existing tests.
17076
ea3bc4e8
JM
17077 [BZ #14032]
17078 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
17079 precision control set to double precision.
17080 * sysdeps/i386/fpu/w_sqrt.c: New file.
17081 * math/auto-libm-test-in: Add more tests.
17082 * math/auto-libm-test-out: Update.
17083
0712c9d8
JM
17084 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
17085 (sqrt_test_tonearest): New function.
17086 (sqrt_towardzero_test_data): New variable.
17087 (sqrt_test_towardzero): New function.
17088 (sqrt_downward_test_data): New variable.
17089 (sqrt_test_downward): New function.
17090 (sqrt_upward_test_data): New variable.
17091 (sqrt_test_upward): New function.
17092 (main): Call the new functions.
17093
ffb536d0
JM
17094 * math/gen-auto-libm-tests.c: New file.
17095 * math/auto-libm-test-in: Likewise.
17096 * math/auto-libm-test-out: New generated file.
17097 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
17098 variables.
17099 (%beautify): Add generated representations of zero.
17100 (top level): Set $auto_input and call parse_auto_input.
17101 (beautify): Remove trailing "f" from hex float constants.
17102 (parse_args): Handle XFAIL_TEST.
17103 (convert_condition): New function.
17104 (or_value): Likewise.
17105 (or_cond_value): Likewise.
17106 (generate_testfile): Handle AUTO_TESTS_* lines.
17107 (parse_auto_input): New function.
17108 * math/libm-test.inc (XFAIL_TEST): New macro.
17109 (ERRNO_UNCHANGED): Update value.
17110 (ERRNO_EDOM): Likewise.
17111 (ERRNO_ERANGE): Likewise.
17112 (IGNORE_RESULT): Likewise.
17113 (TEST_COND_flt_32): New macro.
17114 (TEST_COND_dbl_64): Likewise.
17115 (TEST_COND_ldbl_96_intel): Likewise.
17116 (TEST_COND_ldbl_96_m68k): Likewise.
17117 (TEST_COND_ldbl_128): Likewise.
17118 (TEST_COND_ldbl_128ibm): Likewise.
17119 (TEST_COND_long32): Likewise.
17120 (TEST_COND_long64): Likewise.
17121 (TEST_COND_before_rounding): Likewise.
17122 (TEST_COND_after_rounding): Likewise.
17123 (enable_test): Handle XFAIL_TEST flag.
17124 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
17125 with finite results.
17126 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
17127 auto-libm-test-out.
17128
acd98a8e
AK
171292013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17130 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17131
17132 [BZ #16214]
17133 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
17134 __tls_get_addr_internal instead of __tls_get_offset in order to
17135 avoid GOT pointer dependency. Make rtld export
17136 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
17137 __tls_get_addr since we are a __tls_get_offset platform.
17138 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
17139 GOT pointer being set up before.
17140 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
17141
3c1c46a6
JM
171422013-11-28 Joseph Myers <joseph@codesourcery.com>
17143
7475aef5
JM
17144 * manual/math.texi (Errors in Math Functions): Document accuracy
17145 goals.
17146
8bca7cd8
JM
17147 [BZ #15004]
17148 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
17149 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
17150 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17151 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17152 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17153 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17154 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17155 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17156 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17157 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17158 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17159 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17160 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17161 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17162 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17163 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17164
91a1f3fe
JM
17165 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
17166 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
17167 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
17168 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
17169 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
17170 Likewise.
17171 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
17172 Likewise.
17173 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
17174 Likewise.
17175 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
17176 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
17177 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
17178 atomic-feupdateenv and flt-rounds.
17179 * sysdeps/powerpc/nofpu/Versions (libc): Add
17180 __atomic_feholdexcept, __atomic_feclearexcept,
17181 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
17182 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
17183 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
17184 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
17185 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
17186 here.
17187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17188 Update.
17189
c5df7609
JM
17190 * manual/arith.texi (FP Exceptions): Document that exceptions may
17191 not be raised when matherr is used.
17192 (Math Error Reporting): Document overflow in directed rounding
17193 modes. Document that errno may not be set when finite values are
17194 returned on overflow. Document intent to set errno on underflow
17195 only for underflow to zero.
17196
3c1c46a6
JM
17197 [BZ #16271]
17198 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
17199 round-to-nearest then adjust result for other rounding modes.
17200 * include/fenv.h (fegetround): Use libm_hidden_proto.
17201 * math/fegetround.c (fegetround): Use libm_hidden_def.
17202 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
17203 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
17204 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17205 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
17206 Likewise.
17207 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
17208 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17209 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
17210 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
17211
5a4c6d53
SP
172122013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17213
17214 [BZ #16077]
17215 * nss/Versions (libnss_files): Add
17216 _nss_files_gethostbyname3_r.
17217 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
17218 New function.
17219 (HOST_DB_LOOKUP): Remove macro.
17220 (_nss_files_gethostbyname_r): Implement function without the
17221 HOST_DB_LOOKUP macro.
17222 (_nss_files_gethostbyname2_r): Likewise.
17223
897b98ba
OB
172242013-11-28 Ondřej Bílka <neleai@seznam.cz>
17225
17226 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
17227
6f476861
UB
172282013-11-26 Uros Bizjak <ubizjak@gmail.com>
17229
17230 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
17231 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
17232 warning.
17233
bd12ab55
AZ
172342013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17235
17236 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
17237 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
17238 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17239 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17240 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
17241 __fe_nomask_env_priv and attribute_hidden.
17242 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
17243 (libc_feupdateenv_test_ppc): Likewise.
17244 (libc_feresetround_ppc): Likewise.
17245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17246 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
17247 compat_symbol macro.
17248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17249 (__fe_nomask_env): Likewise.
17250 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
17251
52bb6543
OB
172522013-11-26 Ondřej Bílka <neleai@seznam.cz>
17253
17254 * string/Makefile: Remove ifunc tests.
17255 * string/test-string.h: Define TEST_IFUNC.
17256 * string/test-bcopy-ifunc.c: Remove.
17257 * string/test-bzero-ifunc.c: Likewise.
17258 * string/test-memccpy-ifunc.c: Likewise.
17259 * string/test-memchr-ifunc.c: Likewise.
17260 * string/test-memcmp-ifunc.c: Likewise.
17261 * string/test-memcpy-ifunc.c: Likewise.
17262 * string/test-memmem-ifunc.c: Likewise.
17263 * string/test-memmove-ifunc.c: Likewise.
17264 * string/test-mempcpy-ifunc.c: Likewise.
17265 * string/test-memrchr-ifunc.c: Likewise.
17266 * string/test-memset-ifunc.c: Likewise.
17267 * string/test-rawmemchr-ifunc.c: Likewise.
17268 * string/test-stpcpy-ifunc.c: Likewise.
17269 * string/test-stpncpy-ifunc.c: Likewise.
17270 * string/test-strcasecmp-ifunc.c: Likewise.
17271 * string/test-strcasestr-ifunc.c: Likewise.
17272 * string/test-strcat-ifunc.c: Likewise.
17273 * string/test-strchr-ifunc.c: Likewise.
17274 * string/test-strchrnul-ifunc.c: Likewise.
17275 * string/test-strcmp-ifunc.c: Likewise.
17276 * string/test-strcpy-ifunc.c: Likewise.
17277 * string/test-strcspn-ifunc.c: Likewise.
17278 * string/test-strlen-ifunc.c: Likewise.
17279 * string/test-strncasecmp-ifunc.c: Likewise.
17280 * string/test-strncat-ifunc.c: Likewise.
17281 * string/test-strncmp-ifunc.c: Likewise.
17282 * string/test-strncpy-ifunc.c: Likewise.
17283 * string/test-strnlen-ifunc.c: Likewise.
17284 * string/test-strpbrk-ifunc.c: Likewise.
17285 * string/test-strrchr-ifunc.c: Likewise.
17286 * string/test-strspn-ifunc.c: Likewise.
17287 * string/test-strstr-ifunc.c: Likewise.
17288
ab260039 172892013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
17290
17291 * benchtests/Makefile: Remove ifunc tests.
17292 * benchtests/bench-string.h: Define TEST_IFUNC.
17293 * benchtests/bench-bcopy-ifunc.c: Remove.
17294 * benchtests/bench-bzero-ifunc.c: Likewise.
17295 * benchtests/bench-memccpy-ifunc.c: Likewise.
17296 * benchtests/bench-memchr-ifunc.c: Likewise.
17297 * benchtests/bench-memcmp-ifunc.c: Likewise.
17298 * benchtests/bench-memcpy-ifunc.c: Likewise.
17299 * benchtests/bench-memmem-ifunc.c: Likewise.
17300 * benchtests/bench-memmove-ifunc.c: Likewise.
17301 * benchtests/bench-mempcpy-ifunc.c: Likewise.
17302 * benchtests/bench-memrchr-ifunc.c: Likewise.
17303 * benchtests/bench-memset-ifunc.c: Likewise.
17304 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
17305 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
17306 * benchtests/bench-stpcpy-ifunc.c: Likewise.
17307 * benchtests/bench-stpncpy-ifunc.c: Likewise.
17308 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
17309 * benchtests/bench-strcasestr-ifunc.c: Likewise.
17310 * benchtests/bench-strcat-ifunc.c: Likewise.
17311 * benchtests/bench-strchr-ifunc.c: Likewise.
17312 * benchtests/bench-strchrnul-ifunc.c: Likewise.
17313 * benchtests/bench-strcmp-ifunc.c: Likewise.
17314 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
17315 * benchtests/bench-strcpy-ifunc.c: Likewise.
17316 * benchtests/bench-strcspn-ifunc.c: Likewise.
17317 * benchtests/bench-strlen-ifunc.c: Likewise.
17318 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
17319 * benchtests/bench-strncat-ifunc.c: Likewise.
17320 * benchtests/bench-strncmp-ifunc.c: Likewise.
17321 * benchtests/bench-strncpy-ifunc.c: Likewise.
17322 * benchtests/bench-strnlen-ifunc.c: Likewise.
17323 * benchtests/bench-strpbrk-ifunc.c: Likewise.
17324 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 17325 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
17326 * benchtests/bench-strspn-ifunc.c: Likewise.
17327 * benchtests/bench-strstr-ifunc.c: Likewise.
17328
173292013-11-26 Ondřej Bílka <neleai@seznam.cz>
17330
ab260039
OB
17331 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
17332
d1d9eaf4 173332013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 17334
d1d9eaf4
OB
17335 * resolv/netdb.h: Use __glibc_reserved instead __unused.
17336 * rt/aio.h: Likewise.
17337 * sysdeps/gnu/bits/utmp.h: Likewise.
17338 * sysdeps/gnu/bits/utmpx.h: Likewise.
17339 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
17340 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
17341 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
17342 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
17343 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
17344 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
17345 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
17346 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
17347 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
17348 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
17349 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
17350 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
17351 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
17352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
17353 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17354 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
17355 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
17356 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
17357 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
17358 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
17359 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
17360 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
17361 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
17362 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17363 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
17364 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17365 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
17366 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
17367 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
17368 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
17369 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
17370 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
17371 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
17372 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17373 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
17374 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
17375 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
17376 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
17377 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
17378 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
17379 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
17380 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17381
a7624ed9
CD
173822013-11-25 Carlos O'Donell <carlos@redhat.com>
17383
17384 [BZ #16245]
17385 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
17386 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
17387
63cfe52b
JM
173882013-11-25 Joseph Myers <joseph@codesourcery.com>
17389
17390 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
17391 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17392 Likewise.
17393
41e8926a
AZ
173942013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17395
17396 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
17397 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
17398 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
17399 (__fesetround): Remove define.
17400 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
17401 rounding and exceptions handling.
17402 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
17403 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
17404 (__fe_nomask_env): Likewise.
17405 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
17406 __fegetround instead of fegetround.
17407 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17408 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
17409
6851bd4d
RM
174102013-11-21 Roland McGrath <roland@hack.frob.com>
17411
070906ff
RM
17412 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
17413 it's there.
17414
6851bd4d
RM
17415 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
17416
84ae135d
MI
174172013-11-21 Meador Inge <meadori@codesourcery.com>
17418
17419 [BZ #11157]
17420 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
17421 (encrypt_r): Likewise.
17422 * malloc/obstack.h (obstack_free): Likewise.
17423 * posix/unistd.h (encrypt): Likewise.
17424
daf75146
GM
174252013-11-21 Guy Martin <gmsoft@tuxicoman.be>
17426
17427 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
17428 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
17429 DL_CALL_DT_FINI() that call the functions directly.
17430 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
17431 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
17432 * elf/dl-fini.c: Likewise.
17433
10ad46bc
OB
174342013-11-20 Ondřej Bílka <neleai@seznam.cz>
17435
17436 * malloc/hooks.c (memalign_check): Add alignment rounding.
17437 * malloc/malloc.c (_mid_memalign): New function.
17438 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
17439 Implement by calling _mid_memalign.
17440 * manual/probes.texi (Memory Allocation Probes): Remove
17441 memory_valloc_retry and memory_pvalloc_retry.
17442
f3fd2628
SP
174432013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17444
4712799f
SP
17445 * locale/programs/locarchive.c (open_archive): Add const
17446 qualifier to ARCHIVEFNAME and copy default fname to
17447 DEFAULT_FNAME.
17448
0417b20f
SP
17449 [BZ #15601]
17450 * libio/tst-widetext.input: Rename Oriya to Odia.
17451 * locale/iso-639.def: Likewise.
17452
f3fd2628
SP
17453 * manual/probes.texi (Mathematical Function Probes): Add
17454 documentation for sin, cos, asin and acos probes.
17455 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
17456 (__sin32): Add slowasin probe.
17457 (__cos32): Add slowacos probe.
17458 (__mpsin): Add slowsin probe.
17459 (__mpcos): Add slowcos probe.
17460
73c1ce4f
JM
174612013-11-19 Joseph Myers <joseph@codesourcery.com>
17462
17463 [BZ #15483]
17464 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
17465 thread-local __sim_exceptions_thread and global
17466 __sim_exceptions_global.
17467 (__sim_disabled_exceptions): Change to thread-local
17468 __sim_disabled_exceptions_thread and global
17469 __sim_disabled_exceptions_global.
17470 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17471 and global __sim_round_mode_global.
17472 (__simulate_exceptions): Use thread-local floating-point state and
17473 set global state from it as needed.
17474 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
17475 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
17476 __sim_round_mode_thread.
17477 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
17478 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
17479 and global __sim_exceptions_global.
17480 (__sim_disabled_exceptions): Change to thread-local
17481 __sim_disabled_exceptions_thread and global
17482 __sim_disabled_exceptions_global.
17483 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17484 and global __sim_round_mode_global.
17485 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
17486 (SIM_SET_GLOBAL): Likewise.
17487 * sysdeps/powerpc/soft-fp/sfp-machine.h
17488 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
17489 __sim_round_mode_thread.
17490 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
17491 __sim_disabled_exceptions_thread.
17492 (__sim_exceptions): Change to __sim_exceptions_thread.
17493 (__sim_disabled_exceptions): Change to
17494 __sim_disabled_exceptions_thread.
17495 (__sim_round_mode): Change to __sim_round_mode_thread.
17496 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
17497 thread-local floating-point state and set global state from it as
17498 needed.
17499 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
17500 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
17501 (__sim_disabled_exceptions): Remove extern declaration.
17502 (feenableexcept): Use thread-local floating-point state and set
17503 global state from it as needed.
17504 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
17505 extern declaration.
17506 (__sim_disabled_exceptions): Likewise.
17507 (__sim_round_mode): Likewise.
17508 (__fegetenv): Use thread-local floating-point state.
17509 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
17510 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17511 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
17512 floating-point state and set global state from it as needed.
17513 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
17514 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17515 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
17516 Likewise.
17517 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
17518 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
17519 Likewise.
17520 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
17521 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
17522 Use __sim_round_mode_thread.
17523 * math/test-fenv-tls.c: New file.
17524 * math/Makefile (tests): Add test-fenv-tls.
17525 ($(objpfx)test-fenv-tls): Depend on
17526 $(common-objpfx)nptl/libpthread.so.
17527
b5449b12
AS
175282013-11-19 Andreas Schwab <schwab@suse.de>
17529
17530 * locale/programs/locale.c (show_info): Decode wordarray elements.
17531 * locale/categories.def (LC_MONETARY): Add element for
17532 _NL_MONETARY_CRNCYSTR.
17533 * locale/C-monetary.c (conversion_rate): New variable.
17534 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
17535 element.
17536
e186536b
CM
175372013-11-18 Chris Metcalf <cmetcalf@tilera.com>
17538
17539 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
17540 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
17541
5c349950
PP
175422013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
17543
17544 * elf/Makefile (tst-auxv): New test.
17545 * elf/tst-auxv.c: New
17546 * elf/rtld.c (dl_main): Adjust AT_EXECFN
17547
699df45b
JM
175482013-11-18 Joseph Myers <joseph@codesourcery.com>
17549
17550 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
17551 (hidden_proto): Caller changed.
17552 (hidden_tls_proto): New macro.
17553 (libc_hidden_tls_proto): Likewise.
17554 (rtld_hidden_tls_proto): Likewise.
17555 (libm_hidden_tls_proto): Likewise.
17556 (libresolv_hidden_tls_proto): Likewise.
17557 (librt_hidden_tls_proto): Likewise.
17558 (libdl_hidden_tls_proto): Likewise.
17559 (libnss_files_hidden_tls_proto): Likewise.
17560 (libnsl_hidden_tls_proto): Likewise.
17561 (libnss_nisplus_hidden_tls_proto): Likewise.
17562 (libutil_hidden_tls_proto): Likewise.
17563
b7589107
OB
175642013-11-18 Ondřej Bílka <neleai@seznam.cz>
17565
17566 [BZ #10253]
17567 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
17568 (decompose_rpath): Defer expansion to fillin_rpath.
17569 (_dl_init_paths): Pass linkmap to fillin_rpath.
17570
250c23bd
RS
175712013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17572
17573 * benchtests/Makefile: Add strsep.
17574 * benchtests/bench-strsep.c: New file: strsep benchtest.
17575 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
17576
a7931fcf
AS
175772013-11-18 Andreas Schwab <schwab@suse.de>
17578
17579 * locale/programs/locale.c (show_info) [case byte]: Check for
17580 '\377' instead of '\177'.
17581 * locale/C-monetary.c (not_available): Always use "\377".
17582 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
17583 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
17584 detect unavailable sign_posn locale elements.
17585 * locale/localeconv.c (__localeconv): For grouping and
17586 mon_grouping handle "\177" and "\377" like no grouping.
17587 (INT_ELEM): New macro. Use it to set all numeric members.
17588 * locale/programs/ld-monetary.c (monetary_read)
17589 <tok_mon_grouping>: Normalize single -1 to the empty string.
17590 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
17591 Likewise.
17592
728dab0e
OB
175932013-11-07 Ondřej Bílka <neleai@seznam.cz>
17594
17595 [BZ #16055]
17596 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
17597 when we match (nil).
17598 * stdio-common/tst-sscanf.c (struct test): Add testcase.
17599
66294491
JM
176002013-11-16 Joseph Myers <joseph@codesourcery.com>
17601
ce665817
JM
17602 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
17603 (NO_TEST_INLINE): Update value.
17604 (ERRNO_UNCHANGED): Likewise.
17605 (ERRNO_EDOM): Likewise.
17606 (ERRNO_ERANGE): Likewise.
17607 (IGNORE_RESULT): Likewise.
17608 (check_float_internal): Check signs of NaN results if
17609 TEST_NAN_SIGN used.
17610 (check_complex): Pass TEST_NAN_SIGN flag through to second
17611 check_float_internal call.
17612 (copysign_test_data): Add tests with quiet NaNs as second
17613 argument. Use TEST_NAN_SIGN.
17614 (fabs_test_data): Add test of negative quiet NaN argument. Use
17615 TEST_NAN_SIGN.
17616 (signbit_test_data): Add tests of quiet NaN argument.
17617 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
17618
ee1466a9
JM
17619 * math/gen-libm-test.pl (show_exceptions): Take extra argument
17620 $ignore_result.
17621 (parse_args): Handle function results specified as IGNORE.
17622 * math/libm-test.inc (IGNORE_RESULT): New macro.
17623 (check_float_internal): Do not check numerical result if flag
17624 IGNORE_RESULT set.
17625 (check_complex): Pass through IGNORE_RESULT to second
17626 check_float_internal call.
17627 (check_int): Do not check numerical result if flag IGNORE_RESULT
17628 set.
17629 (check_long): Likewise.
17630 (check_bool): Likewise.
17631 (check_longlong): Likewise.
17632 (lrint_test_data): Add tests of infinite and NaN arguments.
17633 (lrint_tonearest_test_data): Likewise.
17634 (lrint_towardzero_test_data): Likewise.
17635 (lrint_downward_test_data): Likewise.
17636 (lrint_upward_test_data): Likewise.
17637 (llrint_test_data): Likewise.
17638 (llrint_tonearest_test_data): Likewise.
17639 (llrint_towardzero_test_data): Likewise.
17640 (llrint_downward_test_data): Likewise.
17641 (llrint_upward_test_data): Likewise.
17642 (lround_test_data): Likewise.
17643 (llround_test_data): Likewise.
17644
14407b7e
JM
17645 * math/libm-test.inc (NO_TEST_INLINE): New macro.
17646 (ERRNO_UNCHANGED): Update value.
17647 (ERRNO_EDOM): Likewise.
17648 (ERRNO_ERANGE): Likewise.
17649 (NO_TEST_INLINE_FLOAT): New macro.
17650 (NO_TEST_INLINE_DOUBLE): Likewise.
17651 (enable_test): New function.
17652 (RUN_TEST_f_f): Check enable_test before running test.
17653 (RUN_TEST_2_f): Likewise.
17654 (RUN_TEST_fff_f): Likewise.
17655 (RUN_TEST_c_f): Likewise.
17656 (RUN_TEST_f_f1): Likewise.
17657 (RUN_TEST_fF_f1): Likewise.
17658 (RUN_TEST_fI_f1): Likewise.
17659 (RUN_TEST_ffI_f1): Likewise.
17660 (RUN_TEST_c_c): Likewise.
17661 (RUN_TEST_cc_c): Likewise.
17662 (RUN_TEST_f_i): Likewise.
17663 (RUN_TEST_f_i_tg): Likewise.
17664 (RUN_TEST_ff_i_tg): Likewise.
17665 (RUN_TEST_f_b): Likewise.
17666 (RUN_TEST_f_b_tg): Likewise.
17667 (RUN_TEST_f_l): Likewise.
17668 (RUN_TEST_f_L): Likewise.
17669 (RUN_TEST_fFF_11): Likewise.
17670 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
17671 conditionals.
17672 (cosh_test_data): Likewise.
17673 (exp_test_data): Likewise.
17674 (expm1_test_data): Likewise.
17675 (hypot_test_data): Likewise.
17676 (pow_test_data): Likewise.
17677 (sinh_test_data): Likewise.
17678 (tanh_test_data): Likewise.
17679 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
17680 flags argument.
17681
ca07f197
JM
17682 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
17683 tests with quiet NaN input and output.
17684 (acosh_test_data): Likewise.
17685 (asin_test_data): Likewise.
17686 (asinh_test_data): Likewise.
17687 (atan_test_data): Likewise.
17688 (atanh_test_data): Likewise.
17689 (atan2_test_data): Likewise.
17690 (cbrt_test_data): Likewise.
17691 (cos_test_data): Likewise.
17692 (cosh_test_data): Likewise.
17693 (erf_test_data): Likewise.
17694 (erfc_test_data): Likewise.
17695 (exp_test_data): Likewise.
17696 (exp10_test_data): Likewise.
17697 (exp2_test_data): Likewise.
17698 (expm1_test_data): Likewise.
17699 (hypot_test_data): Likewise.
17700 (j0_test_data): Likewise.
17701 (j1_test_data): Likewise.
17702 (jn_test_data): Likewise.
17703 (lgamma_test_data): Likewise.
17704 (log_test_data): Likewise.
17705 (log10_test_data): Likewise.
17706 (log1p_test_data): Likewise.
17707 (log2_test_data): Likewise.
17708 (pow_test_data): Likewise.
17709 (scalb_test_data): Likewise.
17710 (sin_test_data): Likewise.
17711 (sincos_test_data): Likewise.
17712 (sinh_test_data): Likewise.
17713 (tan_test_data): Likewise.
17714 (tanh_test_data): Likewise.
17715 (tgamma_test_data): Likewise.
17716 (y0_test_data): Likewise.
17717 (y1_test_data): Likewise.
17718 (yn_test_data): Likewise.
17719
66294491
JM
17720 [BZ #16167]
17721 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
17722 argument being NaN and avoid computations with second argument in
17723 that case.
17724 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17725 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17726 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17727
1820b143
CL
177282013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
17729
17730 * locale/iso-639.def: Add Chitwani Tharu (the).
17731
714bd261
AS
177322013-11-14 Andreas Schwab <schwab@suse.de>
17733
17734 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
17735 word instead of empty string.
17736
7ab44563
AZ
177372013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17738
17739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17740 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
17741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17742 (__fe_nomask_env): Likewise.
17743
e8470ea2
SE
177442013-11-13 Steve Ellcey <sellcey@mips.com>
17745
17746 * benchtests/bench-timing.h: Include time.h.
17747
17c1d9f0
L
177482013-11-13 H.J. Lu <hongjiu.lu@intel.com>
17749
17750 [BZ #15997]
17751 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
17752 to 3.4.0 for x32.
17753 * sysdeps/unix/sysv/linux/configure: Regenerated.
17754
9310c284
JM
177552013-11-13 Joseph Myers <joseph@codesourcery.com>
17756
17757 [BZ #16151]
17758 * stdlib/strtod_l.c (round_and_return): Do not consider
17759 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
17760 exponent one less than half the least subnormal exponent.
17761 * stdlib/test-strtod-round-data: Add more tests.
17762 * stdlib/tst-strtod-round.c (tests): Regenerated.
17763
7a2ad8cf
AZ
177642013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17765
17766 [BZ #14143]
17767 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
17768 (__fe_mask_env): Likewise.
17769 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
17770 libm_hidden_proto and add function prototype.
17771 (__fe_mask_env): Add function prototype.
17772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17773 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
17774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17775 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
17776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17777 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
17778
50727aa7
MS
177792013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17780
b2f386c1 17781 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
17782 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
17783
a615be46
MS
177842013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17785
17786 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
17787 of htab_find_slot().
17788
7ddace62
DM
177892013-11-11 David S. Miller <davem@davemloft.net>
17790
17791 [BZ #16150]
17792 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
17793 symbol in the non-vis3 case in static builds.
17794 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
17795 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
17796 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
17797 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
17798
9182aa67
JK
177992013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17800
17801 [BZ #387]
17802 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
17803 it is empty.
17804
450a2e2d
AZ
178052013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17806
b2f386c1
SP
17807 * benchtests/Makefile: Add bench-strtod.
17808 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 17809
8ec3f656
AS
178102013-11-11 Andreas Schwab <schwab@suse.de>
17811
17812 [BZ #16153]
17813 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
17814 terminating NUL in key length.
17815
76a9b998
AZ
178162013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17817
17818 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17819 Add artificial ODP entry for vDSO symbol for PPC64.
17820 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
17821 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17822
e4368156
OB
178232013-11-07 Ondřej Bílka <neleai@seznam.cz>
17824
17825 [BZ #15374]
17826 * nss/getent.c (services_keys): Recognize services starting with digit.
17827
8d6bb57c
DM
178282013-11-06 David S. Miller <davem@davemloft.net>
17829
17830 [BZ #15985]
17831 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
17832 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
17833
e256c421
WN
178342013-11-06 Will Newton <will.newton@linaro.org>
17835
17836 * manual/memory.texi (Malloc Examples): Remove register
17837 keyword from examples.
17838
f6e12daa 178392013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 17840
f6e12daa 17841 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 17842
9d880655
AS
178432013-11-04 Joseph Myers <joseph@codesourcery.com>
17844
fd2f9486 17845 [BZ #6981]
9d880655
AS
17846 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
17847 depending on [__GCC_IEC_559 > 0].
17848 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
17849 depending on [__GCC_IEC_559_COMPLEX > 0].
17850
ae129d3c
CL
178512013-11-03 Chris Leonard <cjl@sugarlabs.org>
17852
17853 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
17854 to iso-639.def.
17855
4a15c2a4 178562013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
17857
17858 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
17859
8b35e35d
OB
178602013-11-01 Ondřej Bílka <neleai@seznam.cz>
17861
17862 [BZ #16112]
17863 * malloc/malloc (malloc_info): Do not handle first bin as
17864 special case.
17865
1d70fd6c
CL
178662013-11-01 Chris Leonard <cjl@sugarlabs.org>
17867
17868 * locale/iso-639.def: Add Central Nahuatl (nhn).
17869
8c5c2600
BH
178702013-11-01 Bruno Haible <bruno@clisp.org>
17871
17872 [BZ #7003]
17873 * manual/math.texi (BSD Random): Specify range upper bound as
17874 in POSIX.
17875
da5579c2
CL
178762013-10-31 Chris Leonard <cjl@sugarlabs.org>
17877
17878 * locale/iso-639.def: Add Meadow Mari (mhr).
17879
5d30d853
OB
178802013-10-31 Ondřej Bílka <neleai@seznam.cz>
17881
17882 [BZ #14752], [BZ #15763]
17883 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
17884 Validate name.
17885 * rt/tst_shm.c: Add test for escaping directory.
17886
a4966c61
AS
178872013-10-31 Andreas Schwab <schwab@suse.de>
17888
8a43e768 17889 [BZ #15917]
a4966c61
AS
17890 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
17891 followed by 'x' as part of digit sequence.
17892 * stdio-common/tst-sscanf.c (double_tests2): New tests.
17893
28d708c4
MAP
178942013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
17895
17896 [BZ #16037]
17897 * configure.ac: allow GNU Make 4.0 and greater.
17898 * configure: Regenerated.
17899
a56ee40b
WN
179002013-10-30 Will Newton <will.newton@linaro.org>
17901
17902 [BZ #16038]
17903 * malloc/hooks.c (memalign_check): Limit alignment to the
17904 maximum representable power of two.
17905 * malloc/malloc.c (__libc_memalign): Likewise.
17906 * malloc/tst-memalign.c (do_test): Add test for very
17907 large alignment values.
17908 * malloc/tst-posix_memalign.c (do_test): Likewise.
17909
c6e4925d
OB
179102013-10-30 Ondřej Bílka <neleai@seznam.cz>
17911
17912 [BZ #11087]
17913 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17914 (munmap_chunk): Likewise.
17915 (mremap_chunk): Likewise.
17916
179172013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 17918
8a43e768 17919 [BZ #15799]
bbea82f7
OB
17920 * stdlib/div.c (div): Remove obsolete code.
17921 * stdlib/ldiv.c (ldiv): Likewise.
17922 * stdlib/lldiv.c (lldiv): Likewise.
17923
977f4b31
SP
179242013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17925
17926 [BZ #16071]
17927 * nss/nss_files/files-XXX.c (get_contents_ret): New
17928 enumerator.
17929 (get_contents): New function.
17930 (internal_getent): Use it. Expand size of LINEBUFLEN.
17931
cb8a6dbd
MF
179322013-10-30 Mike Frysinger <vapier@gentoo.org>
17933
17934 * configure.in: Moved to ...
17935 * configure.ac: ... here. Change reference to configure.in
17936 to configure.ac.
17937 * sysdeps/arm/preconfigure.ac: ... here.
17938 configure.in to configure.ac.
17939 * sysdeps/gnu/configure.in: Moved to ...
17940 * sysdeps/gnu/configure.ac: ... here.
17941 * sysdeps/i386/configure.in: Moved to ...
17942 * sysdeps/i386/configure.ac: ... here.
17943 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17944 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17945 * sysdeps/mach/configure.in: Moved to ...
17946 * sysdeps/mach/configure.ac: ... here.
17947 * sysdeps/mach/hurd/configure.in: Moved to ...
17948 * sysdeps/mach/hurd/configure.ac: ... here.
17949 * sysdeps/powerpc/configure.in: Moved to ...
17950 * sysdeps/powerpc/configure.ac: ... here.
17951 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17952 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17953 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17954 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17955 * sysdeps/s390/s390-32/configure.in: Moved to ...
17956 * sysdeps/s390/s390-32/configure.ac: ... here.
17957 * sysdeps/s390/s390-64/configure.in: Moved to ...
17958 * sysdeps/s390/s390-64/configure.ac: ... here.
17959 * sysdeps/sh/configure.in: Moved to ...
17960 * sysdeps/sh/configure.ac: ... here.
17961 * sysdeps/sparc/configure.in: Moved to ...
17962 * sysdeps/sparc/configure.ac: ... here.
17963 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17964 * sysdeps/unix/sysv/linux/configure.ac: ... here.
17965 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17966 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17967 * sysdeps/x86_64/configure.in: Moved to ...
17968 * sysdeps/x86_64/configure.ac: ... here.
17969 * sysdeps/x86_64/preconfigure.in: Moved to ...
17970 * sysdeps/x86_64/preconfigure.ac: ... here.
17971 * aclocal.m4: Change reference to configure.in to configure.ac.
17972 * config.h.in: Likewise.
17973 * manual/install.texi: Likewise.
17974 * manual/maint.texi: Likewise.
17975 * Makefile: Likewise.
17976 * malloc/Makefile: Likewise.
17977 * nscd/Makefile: Likewise.
17978 * Makeconfig: Change reference to configure.in and
17979 preconfigure.in to configure.ac and preconfigure.ac
17980 respectively.
17981 * INSTALL: Regenerated.
17982 * configure: Likewise.
17983 * sysdeps/gnu/configure: Likewise.
17984 * sysdeps/i386/configure: Likewise.
17985 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17986 * sysdeps/mach/configure: Likewise.
17987 * sysdeps/mach/hurd/configure: Likewise.
17988 * sysdeps/powerpc/configure: Likewise.
17989 * sysdeps/powerpc/powerpc32/configure: Likewise.
17990 * sysdeps/powerpc/powerpc64/configure: Likewise.
17991 * sysdeps/s390/s390-32/configure: Likewise.
17992 * sysdeps/s390/s390-64/configure: Likewise.
17993 * sysdeps/sh/configure: Likewise.
17994 * sysdeps/sparc/configure: Likewise.
17995 * sysdeps/unix/sysv/linux/configure: Likewise.
17996 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17997 * sysdeps/x86_64/configure: Likewise.
17998 * sysdeps/x86_64/preconfigure: Likewise.
17999
36a4953a
AS
180002013-10-29 Andreas Schwab <schwab@suse.de>
18001
18002 * stdio-common/Makefile (tst-swscanf-ENV): Define.
18003
c79a1204
SP
180042013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18005
dfa1b402
SP
18006 * benchtests/pow-inputs: Add new inputs.
18007
54f73d9c
SP
18008 * benchtests/exp-inputs: Add new inputs.
18009
c79a1204
SP
18010 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
18011 conditional check for return value.
18012 (__cos32): Likewise.
18013
67beb545 180142013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
18015
18016 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
18017 to provide a boost for large inputs with word alignment.
18018 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
18019 implementation based on optimized PPC64 strcpy.
18020 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
18021 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
18022 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
18023 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
18024
151659f6
OB
180252013-10-25 Ondřej Bílka <neleai@seznam.cz>
18026
482a077e 18027 [BZ #2801]
151659f6
OB
18028 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
18029
10b0f26b
OB
180302013-10-25 Ondřej Bílka <neleai@seznam.cz>
18031
18032 [BZ #14876]
18033 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
18034 * time/tst-strptime.c (day_tests): Add testcase.
18035
ca42d35e
OB
180362013-10-25 Ondřej Bílka <neleai@seznam.cz>
18037
482a077e 18038 [BZ #14029]
ca42d35e
OB
18039 * manual/pattern.texi: Acknowledge that fnmatch can fail.
18040
52e6d801
FB
180412013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
18042
18043 [BZ #16074]
18044 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
18045 MAP_FAILED on error.
18046
7cbcdb36
SP
180472013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18048
18049 [BZ #16072]
18050 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
18051 heap for large requests.
18052
894f3f10
AM
180532013-10-25 Aurelien Jarno <aurelien@aurel32.net>
18054
18055 [BZ #9954]
18056 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
18057 result if the result has no associated interface.
18058 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
18059 interface for all 127.X.Y.Z addresses.
18060
b85545a6
CL
180612013-10-24 Chris Leonard <cjl@sugarlabs.org>
18062
18063 * locale/iso-639.def: Add Ligurian (lij)
18064
d1f23d46
OB
180652013-10-21 Ondřej Bílka <neleai@seznam.cz>
18066
18067 [BZ #15825]
18068 * sunrpc/rpc_main.c: Document rpcgen -5.
18069
4db5b08f
MS
180702013-10-19 Michael Stahl <mstahl@redhat.com>
18071
18072 * elf/rtld.c (do_preload): Print the reason why preloading failed.
18073
a471e96a
OB
180742013-10-19 Ondřej Bílka <neleai@seznam.cz>
18075
d1f23d46 18076 [BZ #10278]
a471e96a
OB
18077 * posix/glob.c: Match only directories when trailing slash is present.
18078 * posix/tst-gnuglob.c (my_opendir): Do not open files.
18079 (main): Add testcase.
18080
45c30c61
OB
180812013-10-19 Ondřej Bílka <neleai@seznam.cz>
18082
18083 [BZ #15670]
18084 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
18085
484c12fb
CD
180862013-10-18 Carlos O'Donell <carlos@redhat.com>
18087
3d7dc513
CD
18088 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
18089 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
18090 AUTH_DES and cindex for FIPS 140-2.
18091 (DES Encryption): Add cindex FIPS 46-3.
18092
484c12fb
CD
18093 * locale/locarchive.h (struct locarhandle): Add fname.
18094 * locale/programs/localedef.c (main): Pass ARGV[remaining]
18095 if an optional argument was specified to --list-archive,
18096 otherwise NULL.
18097 * locale/programs/locarchive.c (show_archive_content): Take new
18098 argument fname and pass it via ah.fname to open_archive.
18099 * locale/programs/localedef.h: Update decl.
18100 (open_archive): If AH->fname is non-null, open that file
18101 rather than the default file name, and don't ignore ENOENT.
18102 (create_archive): Set AH.fname to NULL.
18103 (delete_locales_from_archive): Likewise.
18104 (add_locales_to_archive): Likewise.
18105 * locale/programs/locfile.c (write_all_categories): Likewise.
18106
3c8325fb
JM
181072013-10-18 Joseph Myers <joseph@codesourcery.com>
18108 Aldy Hernandez <aldyh@redhat.com>
18109
18110 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
18111 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
18112 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
18113 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
18114 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
18115 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
18116 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
18117 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
18118 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
18119 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
18120 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
18121 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
18122 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
18123 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
18124 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
18125 Likewise.
18126 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
18127 Likewise.
18128 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
18129 Likewise.
18130 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
18131 Likewise.
18132 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
18133 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
18134 Likewise.
18135 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
18136 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
18137 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
18138 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
18139 Likewise.
18140 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
18141 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
18142 * sysdeps/powerpc/preconfigure: Likewise.
18143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
18144 Likewise.
18145 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
18146 Replace contents of file by #include of <fenv_libc.h>.
18147 * sysdeps/powerpc/soft-fp/sfp-machine.h
18148 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
18149 and <sys/prctl.h>.
18150 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
18151 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
18152 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
18153 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
18154 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
18155 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
18156 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
18157 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
18158 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
18159 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
18160 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
18161 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
18162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18163 Allow copysignl PLT reference to be missing.
18164
5abe0682
RS
181652013-10-18 Richard Sandiford <richard@codesourcery.com>
18166 Joseph Myers <joseph@codesourcery.com
18167
18168 [BZ #15948]
18169 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
18170 single character.
18171 (add_to_tablewc): Assert sequence of wide characters is nonempty.
18172
c7738d08
SP
181732013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18174
18175 * elf/tst-tls-dlinfo.c: Don't include tls.h.
18176 * elf/tst-tls1.c: Likewise.
18177 * elf/tst-tls10.h: Likewise.
18178 * elf/tst-tls14.c: Likewise.
18179 * elf/tst-tls2.c: Likewise.
18180 * elf/tst-tls3.c: Likewise.
18181 * elf/tst-tls4.c: Likewise.
18182 * elf/tst-tls5.c: Likewise.
18183 * elf/tst-tls6.c: Likewise.
18184 * elf/tst-tls7.c: Likewise.
18185 * elf/tst-tls8.c: Likewise.
18186 * elf/tst-tls9.c: Likewise.
18187 * elf/tst-tlsmod1.c: Likewise.
18188 * elf/tst-tlsmod13.c: Likewise.
18189 * elf/tst-tlsmod13a.c: Likewise.
18190 * elf/tst-tlsmod14a.c: Likewise.
18191 * elf/tst-tlsmod16a.c: Likewise.
18192 * elf/tst-tlsmod16b.c: Likewise.
18193 * elf/tst-tlsmod2.c: Likewise.
18194 * elf/tst-tlsmod3.c: Likewise.
18195 * elf/tst-tlsmod4.c: Likewise.
18196 * elf/tst-tlsmod5.c: Likewise.
18197 * elf/tst-tlsmod6.c: Likewise.
18198
0bfcf2c7
OB
181992013-10-18 Ondřej Bílka <neleai@seznam.cz>
18200
18201 [BZ #12486]
18202 * malloc/malloc.c: remove checks for statistics.
18203
264aad1e
OB
182042013-10-17 Ondřej Bílka <neleai@seznam.cz>
18205
18206 [BZ #15277]
18207 * inet/inet_net.c (inet_network): Detect additional invalid strings.
18208 * inet/tst-network.c: Add testcase.
18209
b957ced8
AS
182102013-10-17 Andreas Schwab <schwab@suse.de>
18211
18212 [BZ #15218]
18213 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
18214 to determine canonical name.
18215
c5d5d574
OB
182162013-10-17 Ondřej Bílka <neleai@seznam.cz>
18217
18218 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
18219 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
18220 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18221 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18222 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18223 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18224 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18225 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18226 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18227 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18228 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18229 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18230 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18231 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18232 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18233 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18234 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18235 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18236 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18237 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18238 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18239 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18240 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18241 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
18242 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
18243 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18244 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18245 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
18246 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18247 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
18248 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18249 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18250 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18251 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18252 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18253 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18254 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18255 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18256 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18257 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18258 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18259 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18260 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18261 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18262 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18263 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18264 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18265 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18266 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18267 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18268 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18269 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18270 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18271 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18272 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18273 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18274 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18275 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18276
e5c2c2d0
JM
182772013-10-17 Joseph Myers <joseph@codesourcery.com>
18278
18279 [BZ #16041]
18280 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
18281 make result into a quiet NaN.
18282
51ca9e29
JM
182832013-10-16 Joseph Myers <joseph@codesourcery.com>
18284
18285 * soft-fp/adddf3.c: Fix horizontal whitespace.
18286 * soft-fp/addsf3.c: Likewise.
18287 * soft-fp/addtf3.c: Likewise.
18288 * soft-fp/divdf3.c: Likewise.
18289 * soft-fp/divsf3.c: Likewise.
18290 * soft-fp/divtf3.c: Likewise.
18291 * soft-fp/double.h: Likewise.
18292 * soft-fp/eqdf2.c: Likewise.
18293 * soft-fp/eqsf2.c: Likewise.
18294 * soft-fp/eqtf2.c: Likewise.
18295 * soft-fp/extenddftf2.c: Likewise.
18296 * soft-fp/extended.h: Likewise.
18297 * soft-fp/extendsfdf2.c: Likewise.
18298 * soft-fp/extendsftf2.c: Likewise.
18299 * soft-fp/extendxftf2.c: Likewise.
18300 * soft-fp/fixdfdi.c: Likewise.
18301 * soft-fp/fixdfsi.c: Likewise.
18302 * soft-fp/fixdfti.c: Likewise.
18303 * soft-fp/fixsfdi.c: Likewise.
18304 * soft-fp/fixsfsi.c: Likewise.
18305 * soft-fp/fixsfti.c: Likewise.
18306 * soft-fp/fixtfdi.c: Likewise.
18307 * soft-fp/fixtfsi.c: Likewise.
18308 * soft-fp/fixtfti.c: Likewise.
18309 * soft-fp/fixunsdfdi.c: Likewise.
18310 * soft-fp/fixunsdfsi.c: Likewise.
18311 * soft-fp/fixunsdfti.c: Likewise.
18312 * soft-fp/fixunssfdi.c: Likewise.
18313 * soft-fp/fixunssfsi.c: Likewise.
18314 * soft-fp/fixunssfti.c: Likewise.
18315 * soft-fp/fixunstfdi.c: Likewise.
18316 * soft-fp/fixunstfsi.c: Likewise.
18317 * soft-fp/fixunstfti.c: Likewise.
18318 * soft-fp/floatdidf.c: Likewise.
18319 * soft-fp/floatdisf.c: Likewise.
18320 * soft-fp/floatditf.c: Likewise.
18321 * soft-fp/floatsidf.c: Likewise.
18322 * soft-fp/floatsisf.c: Likewise.
18323 * soft-fp/floatsitf.c: Likewise.
18324 * soft-fp/floattidf.c: Likewise.
18325 * soft-fp/floattisf.c: Likewise.
18326 * soft-fp/floattitf.c: Likewise.
18327 * soft-fp/floatundidf.c: Likewise.
18328 * soft-fp/floatundisf.c: Likewise.
18329 * soft-fp/floatunditf.c: Likewise.
18330 * soft-fp/floatunsidf.c: Likewise.
18331 * soft-fp/floatunsisf.c: Likewise.
18332 * soft-fp/floatunsitf.c: Likewise.
18333 * soft-fp/floatuntidf.c: Likewise.
18334 * soft-fp/floatuntisf.c: Likewise.
18335 * soft-fp/floatuntitf.c: Likewise.
18336 * soft-fp/fmadf4.c: Likewise.
18337 * soft-fp/fmasf4.c: Likewise.
18338 * soft-fp/fmatf4.c: Likewise.
18339 * soft-fp/gedf2.c: Likewise.
18340 * soft-fp/gesf2.c: Likewise.
18341 * soft-fp/getf2.c: Likewise.
18342 * soft-fp/ledf2.c: Likewise.
18343 * soft-fp/lesf2.c: Likewise.
18344 * soft-fp/letf2.c: Likewise.
18345 * soft-fp/muldf3.c: Likewise.
18346 * soft-fp/mulsf3.c: Likewise.
18347 * soft-fp/multf3.c: Likewise.
18348 * soft-fp/negdf2.c: Likewise.
18349 * soft-fp/negsf2.c: Likewise.
18350 * soft-fp/negtf2.c: Likewise.
18351 * soft-fp/op-1.h: Likewise.
18352 * soft-fp/op-2.h: Likewise.
18353 * soft-fp/op-4.h: Likewise.
18354 * soft-fp/op-8.h: Likewise.
18355 * soft-fp/op-common.h: Likewise.
18356 * soft-fp/quad.h: Likewise.
18357 * soft-fp/single.h: Likewise.
18358 * soft-fp/soft-fp.h: Likewise.
18359 * soft-fp/sqrtdf2.c: Likewise.
18360 * soft-fp/sqrtsf2.c: Likewise.
18361 * soft-fp/sqrttf2.c: Likewise.
18362 * soft-fp/subdf3.c: Likewise.
18363 * soft-fp/subsf3.c: Likewise.
18364 * soft-fp/subtf3.c: Likewise.
18365 * soft-fp/truncdfsf2.c: Likewise.
18366 * soft-fp/trunctfdf2.c: Likewise.
18367 * soft-fp/trunctfsf2.c: Likewise.
18368 * soft-fp/trunctfxf2.c: Likewise.
18369 * soft-fp/unorddf2.c: Likewise.
18370 * soft-fp/unordsf2.c: Likewise.
18371 * soft-fp/unordtf2.c: Likewise.
18372
9ebb0332
JM
183732013-10-15 Joseph Myers <joseph@codesourcery.com>
18374
18375 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
18376 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
18377
4b1a6d8b
OB
183782013-10-15 Ondřej Bílka <neleai@seznam.cz>
18379
18380 * elf/dl-libc.c: Clear initfini list after freeing.
18381
1e145589
JM
183822013-10-14 Joseph Myers <joseph@codesourcery.com>
18383
18384 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
18385 * soft-fp/addsf3.c: Likewise.
18386 * soft-fp/addtf3.c: Likewise.
18387 * soft-fp/divdf3.c: Likewise.
18388 * soft-fp/divsf3.c: Likewise.
18389 * soft-fp/divtf3.c: Likewise.
18390 * soft-fp/double.h: Likewise.
18391 * soft-fp/eqdf2.c: Likewise.
18392 * soft-fp/eqsf2.c: Likewise.
18393 * soft-fp/eqtf2.c: Likewise.
18394 * soft-fp/extenddftf2.c: Likewise.
18395 * soft-fp/extended.h: Likewise.
18396 * soft-fp/extendsfdf2.c: Likewise.
18397 * soft-fp/extendsftf2.c: Likewise.
18398 * soft-fp/extendxftf2.c: Likewise.
18399 * soft-fp/fixdfdi.c: Likewise.
18400 * soft-fp/fixdfsi.c: Likewise.
18401 * soft-fp/fixdfti.c: Likewise.
18402 * soft-fp/fixsfdi.c: Likewise.
18403 * soft-fp/fixsfsi.c: Likewise.
18404 * soft-fp/fixsfti.c: Likewise.
18405 * soft-fp/fixtfdi.c: Likewise.
18406 * soft-fp/fixtfsi.c: Likewise.
18407 * soft-fp/fixtfti.c: Likewise.
18408 * soft-fp/fixunsdfdi.c: Likewise.
18409 * soft-fp/fixunsdfsi.c: Likewise.
18410 * soft-fp/fixunsdfti.c: Likewise.
18411 * soft-fp/fixunssfdi.c: Likewise.
18412 * soft-fp/fixunssfsi.c: Likewise.
18413 * soft-fp/fixunssfti.c: Likewise.
18414 * soft-fp/fixunstfdi.c: Likewise.
18415 * soft-fp/fixunstfsi.c: Likewise.
18416 * soft-fp/fixunstfti.c: Likewise.
18417 * soft-fp/floatdidf.c: Likewise.
18418 * soft-fp/floatdisf.c: Likewise.
18419 * soft-fp/floatditf.c: Likewise.
18420 * soft-fp/floatsidf.c: Likewise.
18421 * soft-fp/floatsisf.c: Likewise.
18422 * soft-fp/floatsitf.c: Likewise.
18423 * soft-fp/floattidf.c: Likewise.
18424 * soft-fp/floattisf.c: Likewise.
18425 * soft-fp/floattitf.c: Likewise.
18426 * soft-fp/floatundidf.c: Likewise.
18427 * soft-fp/floatundisf.c: Likewise.
18428 * soft-fp/floatunsidf.c: Likewise.
18429 * soft-fp/floatunsisf.c: Likewise.
18430 * soft-fp/floatuntidf.c: Likewise.
18431 * soft-fp/floatuntisf.c: Likewise.
18432 * soft-fp/floatuntitf.c: Likewise.
18433 * soft-fp/fmadf4.c: Likewise.
18434 * soft-fp/fmasf4.c: Likewise.
18435 * soft-fp/fmatf4.c: Likewise.
18436 * soft-fp/gedf2.c: Likewise.
18437 * soft-fp/gesf2.c: Likewise.
18438 * soft-fp/getf2.c: Likewise.
18439 * soft-fp/ledf2.c: Likewise.
18440 * soft-fp/lesf2.c: Likewise.
18441 * soft-fp/letf2.c: Likewise.
18442 * soft-fp/muldf3.c: Likewise.
18443 * soft-fp/mulsf3.c: Likewise.
18444 * soft-fp/multf3.c: Likewise.
18445 * soft-fp/negdf2.c: Likewise.
18446 * soft-fp/negsf2.c: Likewise.
18447 * soft-fp/negtf2.c: Likewise.
18448 * soft-fp/op-1.h: Likewise.
18449 * soft-fp/op-2.h: Likewise.
18450 * soft-fp/op-4.h: Likewise.
18451 * soft-fp/op-8.h: Likewise.
18452 * soft-fp/op-common.h: Likewise.
18453 * soft-fp/quad.h: Likewise.
18454 * soft-fp/single.h: Likewise.
18455 * soft-fp/soft-fp.h: Likewise.
18456 * soft-fp/sqrtdf2.c: Likewise.
18457 * soft-fp/sqrtsf2.c: Likewise.
18458 * soft-fp/sqrttf2.c: Likewise.
18459 * soft-fp/subdf3.c: Likewise.
18460 * soft-fp/subsf3.c: Likewise.
18461 * soft-fp/subtf3.c: Likewise.
18462 * soft-fp/truncdfsf2.c: Likewise.
18463 * soft-fp/trunctfdf2.c: Likewise.
18464 * soft-fp/trunctfsf2.c: Likewise.
18465 * soft-fp/trunctfxf2.c: Likewise.
18466 * soft-fp/unorddf2.c: Likewise.
18467 * soft-fp/unordsf2.c: Likewise.
18468 * soft-fp/unordtf2.c: Likewise.
18469
17c48a60
OB
184702013-10-14 Ondřej Bílka <neleai@seznam.cz>
18471
18472 [BZ #15672]
18473 * misc/error.c (error_tail): Fix possible buffer overflow.
18474
cabba934
OB
184752013-10-14 Aurelien Jarno <aurelien@aurel32.net>
18476
18477 [BZ #13028]
18478 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
18479 address.
18480
94bf958a
PM
184812013-10-14 P. J. McDermott <pj@pehjota.net>
18482
18483 [BZ #832]
18484 * elf/ldd.bash.in (try_trace): New function. Delete previous code
18485 testing pipefail option.
18486
71b4dea7
JM
184872013-10-12 Joseph Myers <joseph@codesourcery.com>
18488
18489 * soft-fp/double.h: Indent preprocessor directives inside #if.
18490 * soft-fp/extended.h: Likewise.
18491 * soft-fp/op-2.h: Likewise.
18492 * soft-fp/op-4.h: Likewise.
18493 * soft-fp/op-common.h: Likewise.
18494 * soft-fp/quad.h: Likewise.
18495 * soft-fp/single.h: Likewise.
18496 * soft-fp/soft-fp.h: Likewise.
18497
55602758
YC
184982013-10-12 Yuri Chornoivan <yurchor@ukr.net>
18499
18500 * iconv/iconv_prog.c: Fix typos.
18501 * stdio-common/psiginfo-data.h: Likewise.
18502
9cd83302
RT
185032013-10-12 Reuben Thomas <rrt@sc3d.org>
18504
18505 [BZ #15764]
18506 * locale/setlocale.c: Fix typo.
18507
99fd9f47
JM
185082013-10-12 Joseph Myers <joseph@codesourcery.com>
18509
b7ea74f0
JM
18510 [BZ #16036]
18511 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
18512 signaling NaN arguments.
18513 * soft-fp/unordsf2.c (__unordsf2): Likewise.
18514 * soft-fp/unordtf2.c (__unordtf2): Likewise.
18515
8a509447
JM
18516 [BZ #14910]
18517 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
18518 unordered operands.
18519 * soft-fp/gesf2.c (__gesf2): Likewise.
18520 * soft-fp/getf2.c (__getf2): Likewise.
18521 * soft-fp/ledf2.c (__ledf2): Likewise.
18522 * soft-fp/lesf2.c (__lesf2): Likewise.
18523 * soft-fp/letf2.c (__letf2): Likewise.
18524
98998e9f
JM
18525 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
18526 * soft-fp/eqsf2.c (__eqsf2): Likewise.
18527 * soft-fp/eqtf2.c (__eqtf2): Likewise.
18528 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
18529 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
18530 * soft-fp/fixdfti.c (__fixdfti): Likewise.
18531 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
18532 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
18533 * soft-fp/fixsfti.c (__fixsfti): Likewise.
18534 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
18535 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
18536 * soft-fp/fixtfti.c (__fixtfti): Likewise.
18537 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
18538 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
18539 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
18540 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
18541 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
18542 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
18543 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
18544 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
18545 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
18546 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
18547 * soft-fp/floatdisf.c (__floatdisf): Likewise.
18548 * soft-fp/floatsisf.c (__floatsisf): Likewise.
18549 * soft-fp/floattidf.c (__floattidf): Likewise.
18550 * soft-fp/floattisf.c (__floattisf): Likewise.
18551 * soft-fp/floattitf.c (__floattitf): Likewise.
18552 * soft-fp/floatundidf.c (__floatundidf): Likewise.
18553 * soft-fp/floatundisf.c (__floatundisf): Likewise.
18554 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
18555 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
18556 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
18557 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
18558 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
18559 * soft-fp/gesf2.c (__gesf2): Likewise.
18560 * soft-fp/getf2.c (__getf2): Likewise.
18561 * soft-fp/ledf2.c (__ledf2): Likewise.
18562 * soft-fp/lesf2.c (__lesf2): Likewise.
18563 * soft-fp/letf2.c (__letf2): Likewise.
18564
8edc4a11
JM
18565 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
18566 Undefine and redefine.
18567 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
18568 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
18569 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
18570 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
18571 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18572 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
18573 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18574 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
18575 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18576 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
18577 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18578 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
18579 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18580 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
18581 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18582
8399acaf
JM
18583 [BZ #16032]
18584 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
18585 without decrementing exponent if mantissa >= that for the
18586 denominator, not >.
18587 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
18588 denominator, not >. Decrement exponent in < case instead of
18589 incrementing in >= case.
18590 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
18591 without decrementing exponent if mantissa >= that for the
18592 denominator, not >.
18593
99fd9f47
JM
18594 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
18595 computing saturated result for unsigned overflow.
18596
10e1cf6b
SP
185972013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18598 Jeff Law <law@redhat.com>
18599
18600 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
18601 (atan2Mp): Add systemtap probe marker.
18602 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
18603 (__ieee754_log): Add systemtap probe marker.
18604 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
18605 (atanMp): Add systemtap probe marker.
18606 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
18607 (tanMp): Add systemtap probe marker.
18608 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
18609 (__slowexp): Add systemtap probe marker.
18610 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
18611 (__slowpow): Add systemtap probe marker.
18612 * manual/probes.texi: Document probes.
18613
3d110c7c
EB
186142013-10-11 Eric Biggers <ebiggers3@gmail.com>
18615
18616 [BZ #15362]
18617 * libio/fileops.c (_IO_new_file_write): Return count of bytes
18618 written.
18619 (_IO_new_file_xsputn): Don't return EOF if nothing has been
18620 written.
18621 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
18622 written to buffer but not flushed.
18623 * libio/iofwrite_u.c: Likewise.
18624 * libio/iopadn.c: Return bytes returned even if EOF was
18625 encountered.
18626 * libio/iowpadn.c: Likewise.
18627 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
18628 if _IO_padn does not write the whole buffer.
18629 [!COMPILE_WPRINTF] (PAD): Likewise.
18630
75b4202a
DM
186312013-10-10 David S. Miller <davem@davemloft.net>
18632
18633 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
18634 directory block.
18635
6c6352e6
JM
186362013-10-10 Joseph Myers <joseph@codesourcery.com>
18637
33b853c3
JM
18638 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
18639 instead of FSF address.
18640 * soft-fp/fixdfti.c: Likewise.
18641 * soft-fp/fixsfti.c: Likewise.
18642 * soft-fp/fixtfti.c: Likewise.
18643 * soft-fp/fixunsdfti.c: Likewise.
18644 * soft-fp/fixunssfti.c: Likewise.
18645 * soft-fp/fixunstfti.c: Likewise.
18646 * soft-fp/floattidf.c: Likewise.
18647 * soft-fp/floattisf.c: Likewise.
18648 * soft-fp/floattitf.c: Likewise.
18649 * soft-fp/floatuntidf.c: Likewise.
18650 * soft-fp/floatuntisf.c: Likewise.
18651 * soft-fp/floatuntitf.c: Likewise.
18652 * soft-fp/trunctfxf2.c: Likewise.
18653
6c6352e6
JM
18654 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
18655 * soft-fp/fixdfti.c: Likewise.
18656 * soft-fp/fixsfti.c: Likewise.
18657 * soft-fp/fixtfti.c: Likewise.
18658 * soft-fp/fixunsdfti.c: Likewise.
18659 * soft-fp/fixunssfti.c: Likewise.
18660 * soft-fp/fixunstfti.c: Likewise.
18661 * soft-fp/floattidf.c: Likewise.
18662 * soft-fp/floattisf.c: Likewise.
18663 * soft-fp/floattitf.c: Likewise.
18664 * soft-fp/floatuntidf.c: Likewise.
18665 * soft-fp/floatuntisf.c: Likewise.
18666 * soft-fp/floatuntitf.c: Likewise.
18667 * soft-fp/trunctfxf2.c: Likewise.
18668
3bf78b71
DM
186692013-10-10 David S. Miller <davem@davemloft.net>
18670
18671 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18672
6f10289e
JM
186732013-10-10 Joseph Myers <joseph@codsourcery.com>
18674
bd878fc0
JM
18675 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18676 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
18677 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
18678 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
18679 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
18680 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
18681 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
18682
6f10289e
JM
18683 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
18684 for NaNs before doing comparisons on argument.
18685 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18686 Likewise.
18687
321e2684
WN
186882013-10-10 Will Newton <will.newton@linaro.org>
18689
18690 * malloc/hooks.c (memalign_check): Ensure the value of bytes
18691 passed to _int_memalign does not overflow.
18692
40fefba1
TR
186932013-10-10 Torvald Riegel <triegel@redhat.com>
18694
18695 * scripts/bench.pl: Add include-sources directive.
18696 * benchtests/README: Update documentation.
18697
2ae21ed2
JM
186982013-10-10 Joseph Myers <joseph@codesourcery.com>
18699
dcc2dd3f
JM
18700 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
18701 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
18702 instead of FP_INIT_ROUNDMODE.
18703 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
18704 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
18705
2ae21ed2
JM
18706 [BZ #16034]
18707 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
18708 copy class of input value.
18709 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
18710 not handle exceptions.
18711 * soft-fp/negsf2.c (__negsf2): Likewise.
18712 * soft-fp/negtf2.c (__negtf2): Likewise.
18713 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
18714
cb8f9562
JM
187152013-10-09 Joseph Myers <joseph@codesourcery.com>
18716
18717 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
18718 semicolon. From Linux kernel.
18719
5b60c59d
AB
187202013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
18721
18722 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
18723
b86835ca
YC
187242013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
18725
18726 [BZ #156]
18727 * manual/socket.texi: Added statement about buffer
18728 for gethostbyname2_r.
18729
e7044ea7
OB
187302013-10-08 Ondřej Bílka <neleai@seznam.cz>
18731
18732 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
18733 Use .p2align directive instead, throughout.
18734 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18735 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18736 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18737 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18738 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18739 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18740 * sysdeps/x86_64/strchr.S: Likewise.
18741 * sysdeps/x86_64/strrchr.S: Likewise.
18742
09544cbc
SP
187432013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18744
88576635
SP
18745 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
18746
e7b2d1dd
SP
18747 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
18748
09544cbc
SP
18749 * sysdeps/generic/math_private.h (__mpsin1): Remove
18750 declaration.
18751 (__mpcos1): Likewise.
18752 (__mpsin): New argument __range_reduce.
18753 (__mpcos): Likewise.
18754 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18755 (slow): Use __mpsin and __mpcos.
18756 (slow1): Likewise.
18757 (slow2): Likewise.
18758 (sloww): Likewise.
18759 (sloww1): Likewise.
18760 (sloww2): Likewise.
18761 (bsloww): Likewise.
18762 (bsloww1): Likewise.
18763 (bsloww2): Likewise.
18764 (cslow2): Likewise.
18765 (csloww): Likewise.
18766 (csloww1): Likewise.
18767 (csloww2): Likewise.
18768 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
18769 range_reduce. Merge in __mpsin1.
18770 (__mpcos): Likewise.
18771 (__mpsin1): Remove.
18772 (__mpcos1): Likewise.
18773
7602d070
JM
187742013-10-07 Joseph Myers <joseph@codesourcery.com>
18775
18776 * locale/loadlocale.c (_nl_intern_locale_data): Use
18777 LOCFILE_ALIGNED_P.
18778 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
18779 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
18780 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
18781 obstack data is appropriately aligned.
18782 (obstack_int32_grow_fast): Likewise.
18783 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
18784 * locale/programs/locfile.c (add_locale_uint32): Likewise.
18785 (add_locale_uint32_array): Likewise.
18786
a357259b
SP
187872013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18788
18789 * benchtests/Makefile: Remove ARGLIST and RET variables.
18790 ($(objpfx)bench-%.c): Pass only function name to the script.
18791 * benchtests/README: Update documentation.
18792 * benchtests/acos-inputs: Add new directives.
18793 * benchtests/acosh-inputs: Likewise.
18794 * benchtests/asin-inputs: Likewise.
18795 * benchtests/asinh-inputs: Likewise.
18796 * benchtests/atan-inputs: Likewise.
18797 * benchtests/atanh-inputs: Likewise.
18798 * benchtests/cos-inputs: Likewise.
18799 * benchtests/cosh-inputs: Likewise.
18800 * benchtests/exp-inputs: Likewise.
18801 * benchtests/log-inputs: Likewise.
18802 * benchtests/pow-inputs: Likewise.
18803 * benchtests/rint-inputs: Likewise.
18804 * benchtests/sin-inputs: Likewise.
18805 * benchtests/sinh-inputs: Likewise.
18806 * benchtests/tan-inputs: Likewise.
18807 * benchtests/tanh-inputs: Likewise.
18808 * scripts/bench.pl: Add support for new directives.
18809
9ec1b13d
AM
188102013-10-07 Alan Modra <amodra@gmail.com>
18811
18812 * README: Fix careless merge.
18813
8b7d57cd
AM
188142013-10-05 Alan Modra <amodra@gmail.com>
18815
18816 * NEWS: Mention powerpc64le support and bugs fixed.
18817 * README: Both big-endian and little-endian powerpc64 supported.
18818
7b7bab13
ST
188192013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18820
57f41c40
AS
18821 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
18822 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
18823 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
18824 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
18825
d39baad1
RA
188262013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
18827
18828 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
18829 match prototype.
18830
cd78f7e7
JM
188312013-10-04 Joseph Myers <joseph@codesourcery.com>
18832
29d73d86
JM
18833 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
18834 Move -mhard-float appending from
18835 ports/sysdeps/powerpc/powerpc32/Makefile.
18836 [$(with-fp) = yes] (ASFLAGS): Likewise.
18837 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
18838 * sysdeps/powerpc/nofpu: Move directory from
18839 ports/sysdeps/powerpc/nofpu.
18840 * sysdeps/powerpc/soft-fp: Move directory from
18841 ports/sysdeps/powerpc/soft-fp.
18842 * sysdeps/powerpc/powerpc32/405: Move directory from
18843 ports/sysdeps/powerpc/powerpc32/405.
18844 * sysdeps/powerpc/powerpc32/440: Move directory from
18845 ports/sysdeps/powerpc/powerpc32/440.
18846 * sysdeps/powerpc/powerpc32/464: Move directory from
18847 ports/sysdeps/powerpc/powerpc32/464.
18848 * sysdeps/powerpc/powerpc32/476: Move directory from
18849 ports/sysdeps/powerpc/powerpc32/476.
18850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
18851 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
18852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
18853 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
18854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
18855 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
18856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
18857 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
18858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
18859 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
18860 * README: Update for powerpc-*-linux-gnu software floating point
18861 support in libc.
18862
e246b347
JM
18863 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
18864 case to powerpc/powerpc32*.
18865 * sysdeps/unix/sysv/linux/configure: Regenerated.
18866
89c2003e
JM
18867 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
18868 (_FPU_MASK_OM): Define as 0x04.
18869 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
18870 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
18871 0x00c10080.
18872 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
18873 0x0000003c.
18874 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
18875
cd78f7e7
JM
18876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
18877 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18878 getcontext_e500.
18879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
18880 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18881 setcontext_e500.
18882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
18883 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
18884 and setcontext_e500.
18885
c755294d
CL
188862013-10-04 Chris Leonard <cjl@sugarlabs,.org>
18887
18888 * locale/iso-3166.def: Update iso-1366.def and related occurrences
18889
e16d221c
SP
188902013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18891
18892 * manual/threads.texi (Default Thread Attributes): Fix typo.
18893
215c7d43
WN
188942013-10-04 Will Newton <will.newton@linaro.org>
18895
18896 * malloc/Makefile: Add tst-memalign.
18897 * malloc/tst-memalign.c: New file.
18898
27d0461b
WN
18899 * malloc/tst-posix_memalign.c: Add comments.
18900 (do_test): Add comments and call free on all potentially
18901 allocated pointers. Add space after cast.
18902
1bc92709
WN
18903 * malloc/tst-pvalloc.c: Add comments.
18904 (do_test): Add comments and call free on all potentially
18905 allocated pointers. Remove duplicate check for NULL pointer.
18906 Add space after cast.
18907
66a9be9d
WN
18908 * malloc/tst-valloc.c: Add comments.
18909 (do_test): Add comments and call free on all potentially
18910 allocated pointers. Remove duplicate check for NULL pointer.
18911 Add space after cast.
18912
4cb81307
AM
189132013-10-04 Alan Modra <amodra@gmail.com>
18914
18915 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18916 Use stdint types in rather than __attribute__((mode())).
18917 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18918
f8e3e9f3
AM
189192013-10-04 Alan Modra <amodra@gmail.com>
18920
18921 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18922 Correct handling of unaligned relocs for little-endian.
18923 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18924
8f9ebb08
AM
189252013-10-04 Alan Modra <amodra@gmail.com>
18926
18927 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18928 * configure: Regenerate.
18929 * nptl/shlib-versions: Powerpc*le starts at 2.18.
18930 * shlib-versions: Likewise.
18931
0edf96c2
AM
189322013-10-04 Alan Modra <amodra@gmail.com>
18933
18934 * string/tester.c (test_memrchr): Increment reported test cycle.
18935
e0f7a380
AM
189362013-10-04 Alan Modra <amodra@gmail.com>
18937
18938 * string/test-memcpy.c (do_one_test): When reporting errors, print
18939 string address and don't overrun end of string.
18940
466b0393
AM
189412013-10-04 Alan Modra <amodra@gmail.com>
18942
18943 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18944 insrdi. Make better use of reg selection to speed exit slightly.
18945 Schedule entry path a little better. Remove useless "are we done"
18946 checks on entry to main loop. Handle wrapping around zero address.
18947 Correct main loop count. Handle single left-over word from main
18948 loop inline rather than by using loop_small. Remove extra word
18949 case in loop_small caused by wrong loop count. Add little-endian
18950 support.
18951 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18952 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
18953 cache hint.
18954 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18955 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18956 support. Avoid rlwimi.
18957 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18958
3be87c77
AM
189592013-10-04 Alan Modra <amodra@gmail.com>
18960
18961 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 18962 insrdi. Formatting.
3be87c77
AM
18963 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18964 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18965 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18966 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18967 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18968 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18969
759cfef3
AM
189702013-10-04 Alan Modra <amodra@gmail.com>
18971
18972 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18973 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18974 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18975 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18976 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18977 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18978 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18979 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18980 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
18981 use of regs. Use power7 mtocrf. Tidy function tails.
18982
fe6e95d7
AM
189832013-10-04 Alan Modra <amodra@gmail.com>
18984
18985 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18986 Formatting. Consistently use rXXX register defines or rN defines.
18987 Use early exit labels that avoid restoring unused non-volatile regs.
18988 Make cr field use more consistent with rWORDn compares. Rename
18989 regs used as shift registers for unaligned loop, using rN defines
18990 for short lifetime/multiple use regs.
18991 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18992 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
18993 addi 1,1,64 to pop stack frame. Simplify return value code.
18994 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18995
664318c3
AM
189962013-10-04 Alan Modra <amodra@gmail.com>
18997
18998 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18999 support. Correct typos, formatting. Optimize tail. Use insrdi
19000 rather than rlwimi.
19001 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
19002 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
19003 little-endian support. Correct typos.
19004 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
19005 rather than rlwimi.
19006 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
19007 in loop and entry code to keep "and." results.
19008 (strchr): Add little-endian support. Comment. Move cntlzd
19009 earlier in tail.
19010 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
19011
43b84013
AM
190122013-10-04 Alan Modra <amodra@gmail.com>
19013
19014 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
19015 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
19016 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
19017 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
19018
8a7413f9
AM
190192013-10-04 Alan Modra <amodra@gmail.com>
19020
19021 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
19022 (rTMP): Define as r11.
19023 (strcmp): Add little-endian support. Optimise tail.
19024 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
19025 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19026 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19027 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19028 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19029 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19030 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19031
33ee81de
AM
190322013-10-04 Alan Modra <amodra@gmail.com>
19033
19034 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
19035 little-endian support. Remove unnecessary "are we done" tests.
19036 Handle "s" wrapping around zero and extremely large "size".
19037 Correct main loop count. Handle single left-over word from main
19038 loop inline rather than by using small_loop. Correct comments.
19039 Delete "zero" tail, use "end_max" instead.
19040 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
19041
db9b4570
AM
190422013-10-04 Alan Modra <amodra@gmail.com>
19043
19044 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
19045 support. Don't branch over align.
19046 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
19047 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
19048 support. Rearrange tmp reg use to suit. Comment.
19049 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
19050
f7c399cf
AM
190512013-10-04 Alan Modra <amodra@gmail.com>
19052
19053 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
19054
0b2c2ace
AM
190552013-10-04 Alan Modra <amodra@gmail.com>
19056
19057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
19058 conditional form of branch and link when obtaining pc.
19059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
19060
02f04a6c
AM
190612013-10-04 Alan Modra <amodra@gmail.com>
19062
19063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
19064 HIWORD/LOWORD.
19065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
19066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
19067
9b874b2f
AM
190682013-10-04 Alan Modra <amodra@gmail.com>
19069
19070 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
19071 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
19072 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
19073 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
19074 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19075 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19076 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
19077 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19078 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
19079 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
19080
be1e5d31
AB
190812013-10-04 Anton Blanchard <anton@au1.ibm.com>
19082 Alistair Popple <alistair@ozlabs.au.ibm.com>
19083 Alan Modra <amodra@gmail.com>
19084
19085 [BZ #15723]
19086 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
19087 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
19088 _dl_hwcap access for little-endian.
19089 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
19090 destroy vmx regs when saving unaligned.
19091 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
19092 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
19093 destroy vmx regs when saving unaligned.
19094
fef13a78
AM
190952013-10-04 Alan Modra <amodra@gmail.com>
19096
19097 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
19098 Don't use a union to pack hi/low value.
19099
76a66d51
AB
191002013-10-04 Anton Blanchard <anton@au1.ibm.com>
19101
19102 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
19103 for little-endian.
19104 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19105 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
19106 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19107 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19108 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19109
6a31fe7f
AM
191102013-10-04 Alan Modra <amodra@gmail.com>
19111
19112 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
19113 constants to usual value for .cst8 section, and remove redundant
19114 high address load.
19115 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
19116 constant for 0x1p52. Load little-endian words of double from
19117 correct stack offsets.
19118
7b88401f
AM
191192013-10-04 Alan Modra <amodra@gmail.com>
19120
19121 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
19122 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
19123 words of double from correct stack offsets.
19124 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
19125 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
19126 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19127 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19128 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19129 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19130 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19131 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
19132 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
19133 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19134 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19135 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19136 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19137 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19138 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19139 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
19140 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
19141
9c008155
AM
191422013-10-04 Alan Modra <amodra@gmail.com>
19143
19144 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
19145 64-bit int/double union.
19146 (_FPU_SETCW): Likewise.
19147 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
19148 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
19149
da13146d
AM
191502013-10-04 Alan Modra <amodra@gmail.com>
19151
19152 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
19153 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
19154
603e8410
AM
191552013-10-04 Alan Modra <amodra@gmail.com>
19156
19157 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
19158 use vector int constants.
19159 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
19160
4a28b3ca
AB
191612013-10-04 Anton Blanchard <anton@au1.ibm.com>
19162
19163 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
19164 array with long long.
19165 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
19166 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
19167 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
19168 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
19169 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
19170 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
19171 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
19172 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
19173 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
19174 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
19175 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
19176 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
19177 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
19178
2ca85d2b
AB
191792013-10-04 Anton Blanchard <anton@au1.ibm.com>
19180
19181 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
19182 (__signbit): Likewise. Correct for little-endian.
19183 (__signbitl): Call __signbit.
19184 (lrint): Correct for little-endian.
19185 (lrintf): Call lrint.
19186
62a728ae
AM
191872013-10-04 Alan Modra <amodra@gmail.com>
19188
19189 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
19190 union 32-bit int array member with 64-bit int array.
19191 (t515, tm256): Double rather than long double.
19192 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
19193
32c301df
AM
191942013-10-04 Alan Modra <amodra@gmail.com>
19195
19196 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
19197 Delete.
19198 (IEEE854_LONG_DOUBLE_BIAS): Delete.
19199 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
19200 version of math_ldbl.h.
19201
650ef4bd
AM
192022013-10-04 Alan Modra <amodra@gmail.com>
19203
19204 [BZ #15734], [BZ #15735]
19205 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
19206 all uses of ieee875 long double macros and unions. Simplify test
19207 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
19208 ldbl_extract_mantissa value for ix,iy exponents. Properly
19209 normalize after ldbl_extract_mantissa, and don't add hidden bit
19210 already handled. Don't treat low word of ieee854 mantissa like
19211 low word of IBM long double and mask off bit when testing for
19212 zero.
19213 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
19214 all uses of ieee875 long double macros and unions. Simplify tests
19215 for 0.0L and inf. Correct double adjustment of k. Delete dead code
19216 adjusting ha,hb. Simplify code setting kld. Delete two600 and
19217 two1022, instead use their values. Recognise that tests for large
19218 "a" and small "b" are mutually exclusive. Rename vars. Comment.
19219 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
19220 Rewrite all uses of ieee875 long double macros and unions. Simplify
19221 test for 0.0L and nan. Correct negation.
19222 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
19223 ieee875 long double macros and unions. Correct output for large
19224 magnitude x. Correct absolute value calculation.
19225 (__erfcl): Likewise.
19226 * math/libm-test.inc: Add tests for errors discovered in IBM long
19227 double versions of fmodl, remainderl, erfl and erfcl.
19228
765714ca
AM
192292013-10-04 Alan Modra <amodra@gmail.com>
19230
19231 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
19232 all uses of ieee854 long double macros and unions. Simplify tests
19233 for long doubles that are fully specified by the high double.
19234 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19235 Likewise.
19236 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
19237 Remove dead code too.
19238 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19239 (__ieee754_ynl): Likewise.
19240 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
19241 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
19242 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
19243 Remove dead code too.
19244 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
19245 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
19246 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
19247 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
19248 Simplify.
19249 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
19250 Simplify.
19251 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
19252 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
19253 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
19254 Comment on variable precision.
19255 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
19256 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19257 Likewise.
19258 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19259 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19260 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19261 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
19262 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
19263
4ebd120c
AM
192642013-10-04 Alan Modra <amodra@gmail.com>
19265
19266 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
19267 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
19268 all uses of ieee854 long double macros and unions.
19269 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
19270 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19271 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
19272 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
19273 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
19274 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19275 Likewise.
19276 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
19277 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19278 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
19279 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19280 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
19281 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
19282 Simplify sign and nan test too.
19283 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
19284 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
19285 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
19286 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
19287 Likewise.
19288 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19289 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
19290 Likewise.
19291 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19292 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
19293 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
19294 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
19295 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
19296 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
19297
1b6adf88
AM
192982013-10-04 Alan Modra <amodra@gmail.com>
19299
19300 * stdio-common/printf_size.c (__printf_size): Don't use
19301 union ieee854_long_double in fpnum union.
19302 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
19303 signbit macro to retrieve sign from long double.
19304 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
19305 retrieve sign from long double.
19306 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
19307 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
19308 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
19309 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19310 * math/test-misc.c (main): Don't use union ieee854_long_double.
19311
4cf69995
AM
193122013-10-04 Alan Modra <amodra@gmail.com>
19313
19314 [BZ #15680]
19315 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
19316 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
19317 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
19318 calculation. Remove unnecessary test for denormal exponent.
19319 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
19320 Correct handling of denormals. Avoid undefined shift behaviour.
19321 Correct normalisation of low mantissa when low double is denormal.
19322 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
19323 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
19324 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
19325 Correct normalisation of low mantissa. Test for overflow of high
19326 mantissa and normalise.
19327 (ldbl_nearbyint): Use more readable constant for two52.
19328 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
19329 (__mpn_construct_long_double): Fix test for overflow of high
19330 mantissa and correct normalisation. Avoid undefined shift.
19331
9605ca6c
AM
193322013-10-04 Alan Modra <amodra@gmail.com>
19333
19334 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19335 (union ibm_extended_long_double): Define as an array of ieee754_double.
19336 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
19337 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
19338 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
19339 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19340 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19341 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
19342 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19343 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19344 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19345 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
19346 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19347
975569d0
JM
193482013-10-03 Joseph Myers <joseph@codesourcery.com>
19349
d3d23756
JM
19350 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
19351 page size instead of calling getpagesize.
19352
975569d0
JM
19353 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
19354 (LOCFILE_ALIGN_MASK): Likewise.
19355 (LOCFILE_ALIGN_UP): Likewise.
19356 (LOCFILE_ALIGNED_P): Likewise.
19357 * locale/programs/ld-collate.c (collate_output): Use the new
19358 macros instead of __alignof__ (int32_t).
19359 * locale/weight.h (findidx): Likewise.
19360
b1fe1f2b
OB
193612013-10-03 Ondřej Bílka <neleai@seznam.cz>
19362
19363 [BZ #431]
19364 * manual/string.texi: Fix strncat and wcsncat.
19365
5f855e35
BM
193662013-10-03 Brooks Moses <bmoses@google.com>
19367
19368 [BZ #15915]
19369 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
19370 * Makerules: ...here, and adjust associated comments.
19371
3cef6009
WN
193722013-10-02 Will Newton <will.newton@linaro.org>
19373
19374 * malloc/Makefile: Add tst-pvalloc.
19375 * malloc/tst-pvalloc.c: New file.
19376
7815420b
WN
193772013-10-02 Will Newton <will.newton@linaro.org>
19378
19379 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
19380 improve test coverage.
19381
4868b204
WN
193822013-10-02 Will Newton <will.newton@linaro.org>
19383
19384 * malloc/Makefile: Add tst-posix_memalign.
19385 * malloc/tst-posix_memalign.c: New file.
19386
29c793b3
EB
193872013-10-01 Eric Blake <eblake@redhat.com>
19388
19389 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
19390 Use __THROWNL rather than __THROW on static functions.
19391
fd967522
PM
193922013-09-30 Petr Machata <pmachata@redhat.com>
19393
19394 * elf/elf.h (R_AARCH64_ABS16): New macro.
19395 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
19396 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
19397 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
19398 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
19399 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
19400 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
19401 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
19402 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
19403 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
19404 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
19405 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
19406 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
19407 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
19408 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
19409 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
19410 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
19411 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
19412 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
19413 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
19414 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
19415 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
19416 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
19417 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
19418 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
19419 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
19420 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
19421 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
19422 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
19423 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
19424 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
19425 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
19426 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
19427 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
19428 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
19429 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
19430 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
19431 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
19432 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
19433 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
19434 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
19435 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
19436 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
19437 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
19438 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
19439 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
19440 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
19441 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
19442 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
19443 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
19444 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
19445 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
19446 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
19447 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
19448 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
19449 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
19450 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
19451 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
19452 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
19453 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
19454 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
19455 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
19456 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
19457 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
19458 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
19459 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
19460 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
19461 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
19462 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
19463 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
19464 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
19465 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
19466 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
19467 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
19468 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
19469 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
19470 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
19471 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
19472 (R_AARCH64_TLSDESC_LDR): Likewise.
19473 (R_AARCH64_TLSDESC_ADD): Likewise.
19474 (R_AARCH64_TLSDESC_CALL): Likewise.
19475
b2179107
AS
194762013-09-30 Andreas Schwab <schwab@suse.de>
19477
19478 [BZ #15048]
19479 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
19480 the nss database lookup.
19481 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19482 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19483
47f28d0a
MF
194842013-09-28 Mike Frysinger <vapier@gentoo.org>
19485
19486 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
19487
194882013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
19489
19490 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
19491 ${Bash-specific parameter/pattern/string} parameter expansion.
19492 * sysdeps/unix/make-syscalls.sh: Likewise.
19493
f4518a17
KK
194942013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19495
19496 * sysdeps/sh/stackguard-macros.h: New file.
19497
dc1a95c7
OB
194982013-09-26 Ondřej Bílka <neleai@seznam.cz>
19499
19500 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19501 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
19502 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
19503 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
19504 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19505 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
19506
5ebbff8f
AZ
195072013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19508
19509 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
19510 Fix thread ID register.
19511
4fd2cf9f
JM
195122013-09-25 Joseph Myers <joseph@codesourcery.com>
19513
19514 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
19515 [POSIX || UNIX98]: Require rather than permitting all symbols from
19516 <time.h>.
19517 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
19518 element of struct sched_param.
19519 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
19520 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
19521 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
19522 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
19523 constant.
19524
12c22bc4
OL
195252013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
19526
19527 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
19528 argument calculation.
19529
a03d8ea7
JM
195302013-09-24 Joseph Myers <joseph@codesourcery.com>
19531
19532 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
19533 Expect macro.
19534 [POSIX] (pthread_attr_t): Do not require type.
19535 [POSIX] (pthread_cond_t): Likewise.
19536 [POSIX] (pthread_condattr_t): Likewise.
19537 [POSIX] (pthread_key_t): Likewise.
19538 [POSIX] (pthread_mutex_t): Likewise.
19539 [POSIX] (pthread_mutexattr_t): Likewise.
19540 [POSIX] (pthread_once_t): Likewise.
19541 [POSIX] (pthread_t): Likewise.
19542 [POSIX-based standards] (pthread_atfork): Expect function.
19543
6055173a
JM
195442013-09-24 Joseph Myers <joseph@codesourcery.com>
19545 Richard Sandiford <richard@codesourcery.com>
19546
19547 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
19548 (swap_endianness_p): New extern variable.
19549 (set_big_endian): New inline function.
19550 (maybe_swap_uint32): Likewise.
19551 (maybe_swap_uint32_array): Likewise.
19552 (maybe_swap_uint32_obstack): Likewise.
19553 * locale/programs/locfile.c: Include <stdbool.h>.
19554 (swap_endianness_p): New variable.
19555 (add_locale_uint32): Call maybe_swap_uint32.
19556 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
19557 (write_locale_data): Call maybe_swap_uint32_array.
19558 * locale/programs/ld-collate.c (obstack_int32_grow): Call
19559 maybe_swap_uint32.
19560 (obstack_int32_grow_fast): Likewise.
19561 (output_weightwc): Call maybe_swap_uint32_obstack.
19562 (collate_output): Likewise.
19563 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
19564 (OPT_LITTLE_ENDIAN): Likewise.
19565 (options): Add --little-endian and --big-endian options.
19566 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
19567 * locale/programs/locarchive.c: Include "locfile.h".
19568 (GET): New macro.
19569 (SET): Likewise.
19570 (INC): Likewise.
19571 (create_archive): Use the new macros to access fields of
19572 structures directly mapped from or written to locale archives.
19573 (oldlocrecentcmp): Likewise.
19574 (enlarge_archive): Likewise.
19575 (insert_name): Likewise.
19576 (add_alias): Likewise.
19577 (add_locale): Likewise.
19578 (delete_locales_from_archive): Likewise.
19579 (show_archive_content): Likewise.
19580 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
19581 locale data.
19582
39bf0bb4
RM
195832013-09-24 Roland McGrath <roland@hack.frob.com>
19584
19585 * manual/freemanuals.texi: Updated from (newly) canonical copy at
19586 http://www.gnu.org/doc/freemanuals.texi.
19587 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
19588
f02eed10
WN
195892013-09-24 Will Newton <will.newton@linaro.org>
19590
19591 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
19592 macro.
19593
a3a6c312
JM
195942013-09-23 Joseph Myers <joseph@codesourcery.com>
19595
19596 * locale/hashval.h (compute_hashval): Interpret bytes of key as
19597 unsigned char.
19598
107375ac
MR
195992013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
19600
19601 * manual/threads.texi (POSIX Threads): Fix a typo.
19602
141f3a77
SP
196032013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19604
303e567a
SP
19605 [BZ #14547]
19606 * string/tst-strcoll-overflow.c: New test case.
19607 * string/Makefile (xtests): Add tst-strcoll-overflow.
19608 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
19609 cache if string sizes may cause integer overflow.
19610
141f3a77
SP
19611 [BZ #14547]
19612 * string/strcoll_l.c (coll_seq): New members rule, idx,
19613 save_idx and back_us.
19614 (get_next_seq_nocache): New function.
19615 (do_compare_nocache): New function.
19616 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
19617 when malloc fails.
19618
c61b4d41
CD
196192013-09-23 Carlos O'Donell <carlos@redhat.com>
19620
0b1f8e35
CD
19621 [BZ #15754]
19622 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
19623 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
19624 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
19625
c61b4d41
CD
19626 [BZ #15754]
19627 * elf/Makefile (tests): Add tst-ptrguard1.
19628 (tests-static): Add tst-ptrguard1-static.
19629 (tst-ptrguard1-ARGS): Define.
19630 (tst-ptrguard1-static-ARGS): Define.
19631 * elf/tst-ptrguard1.c: New file.
19632 * elf/tst-ptrguard1-static.c: New file.
19633 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
19634 * sysdeps/i386/stackguard-macros.h: Likewise.
19635 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19636 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19637 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19638 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19639 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19640 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19641
196422013-09-23 Hector Marco <hecmargi@upv.es>
19643 Ismael Ripoll <iripoll@disca.upv.es>
19644 Carlos O'Donell <carlos@redhat.com>
19645
19646 [BZ #15754]
19647 * sysdeps/generic/stackguard-macros.h: Define
19648 __pointer_chk_guard_local and POINTER_CHK_GUARD.
19649 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
19650 Define __pointer_chk_guard_local.
19651 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
19652 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
19653
f5f4e7b4
VV
196542013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
19655
19656 [BZ #15859]
19657 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
19658
5bb43a43
AS
196592013-09-20 Andreas Schwab <schwab@linux-m68k.org>
19660
19661 * include/string.h (__ffs): Declare as hidden.
19662 * string/ffs.c (__ffs): Define as hidden.
19663 * sysdeps/i386/ffs.c (__ffs): Likewise.
19664 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
19665 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
19666 * sysdeps/s390/ffs.c (__ffs): Likewise.
19667 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
19668
3ea5be54
AO
196692013-09-20 Alexandre Oliva <aoliva@redhat.com>
19670
ffb89e53
AO
19671 * NEWS: Mention malloc probes.
19672
322dea08
AO
19673 * malloc/arena.c (new_heap): New memory_heap_new probe.
19674 (grow_heap): New memory_heap_more probe.
19675 (shrink_heap): New memory_heap_less probe.
19676 (heap_trim): New memory_heap_free probe.
19677 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
19678 (systrim): New memory_sbrk_less probe.
19679 * manual/probes.texi: Document them.
19680
655673f3
AO
19681 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
19682 * manual/probes.texi: Document it.
19683
35fed6f1
AO
19684 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
19685 (__libc_realloc): Add memory_realloc_retry probe.
19686 (__libc_memalign): Add memory_memalign_retry probe.
19687 (__libc_valloc): Add memory_valloc_retry probe.
19688 (__libc_pvalloc): Add memory_pvalloc_retry probe.
19689 (__libc_calloc): Add memory_calloc_retry probe.
19690 * manual/probes.texi: Document them.
19691
6999d38c
AO
19692 * malloc/arena.c (get_free_list): Add probe
19693 memory_arena_reuse_free_list.
19694 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
19695 and memory_arena_reuse.
19696 (arena_get2) [!PER_THREAD]: Likewise.
19697 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
19698 memory_arena_reuse_realloc.
19699 * manual/probes.texi: Document them.
19700
0653427f
AO
19701 * malloc/malloc.c (__libc_free): Add
19702 memory_mallopt_free_dyn_thresholds probe.
19703 (__libc_mallopt): Add multiple memory_mallopt probes.
19704 * manual/probes.texi: Document them.
19705
3ea5be54
AO
19706 * malloc/malloc.c: Include stap-probe.h.
19707 (__libc_mallopt): Add memory_mallopt probe.
19708 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
19709 * manual/probes.texi: New.
19710 * manual/Makefile (chapters): Add probes.
19711 * manual/threads.texi: Set next node.
19712
e35696c3 197132013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 19714
e35696c3
CL
19715 [BZ #15963, #13985]
19716 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
19717 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
19718 Add `Chinese' to `nan' entry name.
19719
4aafb73c
SP
197202013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19721
19722 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
19723 (POLYNOMIAL): Likewise.
19724 (TAYLOR_SINCOS): Likewise.
19725 (TAYLOR_SLOW): Likewise.
19726 (__sin): Use TAYLOR_SINCOS.
19727 (__cos): Likewise.
19728 (slow): Use TAYLOR_SLOW.
19729 (sloww): Likewise.
19730 (bsloww): Likewise.
19731 (csloww): Likewise.
19732
d84f25c7
LD
197332013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19734
19735 * stdlib/strtod_l.c: Fix buffer overrun.
19736
5eea0404
SP
197372013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19738
7849ff93
SP
19739 * benchtests/Makefile (bench): Add sincos.
19740 * benchtests/bench-sincos.c: New file.
19741
cfa3c886
SP
19742 * math/libm-test.inc (cos_test_data): New test inputs.
19743 (sin_test_data): Likewise.
19744
b348e1e3
SP
19745 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
19746 macro.
19747 (__sin): Use it.
19748 (__cos): Likewise.
19749 (slow1): Likewise.
19750 (slow2): Likewise.
19751 (sloww1): Likewise.
19752 (sloww2): Likewise.
19753 (bsloww1): Likewise.
19754 (bsloww2): Likewise.
19755 (cslow2): Likewise.
19756 (csloww1): Likewise.
19757 (csloww2): Likewise.
19758
6cce25f8
SP
19759 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
19760 function.
19761 (__sin): Use it.
19762 (__cos): Likewise.
19763
5eea0404
SP
19764 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
19765 gotos.
19766 (__cos): Likewise.
19767
9c21573c
MR
197682013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
19769
19770 * config.h.in (HAVE_MIPS_NAN2008): New macro.
19771 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
19772 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
19773 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
19774 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
19775 * elf/cache.c (print_entry): Handle the new cache flags.
19776
24d22e65
JM
197772013-09-18 Joseph Myers <joseph@codesourcery.com>
19778 Aldy Hernandez <aldyh@redhat.com>
19779
19780 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
19781 Change condition to [_SOFT_FLOAT].
19782 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
19783 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
19784 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
19785 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
19786 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
19787 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
19788 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
19789 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
19790 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
19791 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
19792 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
19793 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
19794 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
19795 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
19796 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
19797 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
19798 declaration.
19799
d13ef066
JM
198002013-09-18 Joseph Myers <joseph@codesourcery.com>
19801
2e071de0
JM
19802 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
19803 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19804 (__longjmp): Use LOAD_GP to load saved GPRs.
19805 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
19806 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19807 (__sigsetjmp): Use SAVE_GP to save GPRs.
19808
d13ef066
JM
19809 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
19810 Do not append -msoft-float.
19811 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
19812
97a0650b
SP
198132013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19814
19815 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
19816
11ca09e9
JM
198172013-09-17 Joseph Myers <joseph@codesourcery.com>
19818
19819 [BZ #15966]
19820 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
19821 (_FPU_GETCW): Use initial "__" on variable and field names but not
19822 on macro parameter name.
19823 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
19824 parentheses around reference to macro parameter.
19825
08ffcf34
RS
198262013-09-13 Richard Sandiford <richard@codesourcery.com>
19827
19828 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
19829 prototype.
19830 (ctype_startup): Use uint32_t in cast and sizeof for
19831 ctype->charnames.
19832
ae7080d3
JL
198332013-09-11 Jia Liu <proljc@gmail.com>
19834
19835 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
19836 __daddr_t_defined.
19837 [__FreeBSD__]: Likewise.
19838
5905e7b3
OB
198392013-09-11 Ondřej Bílka <neleai@seznam.cz>
19840
19841 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19842 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
19843 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
19844 (strchr): Remove __strchr_sse42 ifunc selection.
19845 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
19846 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
19847
b987c776
WN
198482013-09-11 Will Newton <will.newton@linaro.org>
19849
19850 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
19851 parameter to RES. Remove hardcoded 1000 value.
19852 * benchtests/bench-skeleton.c (main): Pass RES parameter
19853 to TIMING_INIT and multiply result by 1000.
19854
ddf985af
AZ
198552013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19856
19857 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19858
ffdd3181
AS
198592013-09-11 Andreas Schwab <schwab@suse.de>
19860
19861 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19862 if not defined.
19863 (O_TMPFILE) [__USE_GNU]: Define.
19864 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
19865 Define.
19866
b73ed247
WN
198672013-09-11 Will Newton <will.newton@linaro.org>
19868
19869 [BZ #15857]
19870 * malloc/malloc.c (__libc_memalign): Check the value of bytes
19871 does not overflow.
19872
55e17aad
WN
198732013-09-11 Will Newton <will.newton@linaro.org>
19874
19875 [BZ #15856]
19876 * malloc/malloc.c (__libc_valloc): Check the value of bytes
19877 does not overflow.
19878
1159a193
WN
198792013-09-11 Will Newton <will.newton@linaro.org>
19880
19881 [BZ #15855]
19882 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
19883 does not overflow.
19884
5905e7b3 198852013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
19886
19887 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
19888 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19889 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19890 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19891 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19892
cdfc721b
AM
198932013-09-10 Allan McRae <allan@archlinux.org>
19894
aa04af00
AM
19895 [BZ #15748]
19896 * manual/arith.texi (Parsing of Floats): Clarify
19897 cross-reference.
19898
cdfc721b
AM
19899 [BZ #15849]
19900 * manual/install.texi (Running make install): Mention
19901 --enable-pt-chown.
19902 * INSTALL: Regenerated.
19903
95e7cf29
MR
199042013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19905
19906 * csu/init-first.c (_init): Remove the !SHARED condition around
19907 FPU control word initialization.
19908 * elf/dl-support.c (_dl_fpu_control): New variable.
19909 (_dl_aux_init) <AT_FPUCW>: Initialize it.
19910 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19911 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19912 * math/test-fpucw-static.c: New file.
19913 * math/test-fpucw-ieee.c: New file.
19914 * math/test-fpucw-ieee-static.c: New file.
19915 * math/Makefile (tests): Add `test-fpucw-ieee' and
19916 `$(tests-static)'.
19917 (tests-static): New variable.
19918 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19919 dependency to...
19920 [($(build-shared),yes)]
19921 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19922 ... this.
19923 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19924 New dependency.
19925
83e43bf0
AM
199262013-09-09 Allan McRae <allan@archlinux.org>
19927
a9f5ce09
AM
19928 [BZ #15939]
19929 * manual/string.texi (Collation Functions): Fix typo in
19930 strcoll example.
19931 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19932
34829bc2
AM
19933 [BZ #15893]
19934 * stdlib/isomac.c (get_null_defines): Fix memory leak.
19935
3932737d
AM
19936 [BZ #15892]
19937 * libio/memstream.c (open_memstream): Fix memory leak.
19938 * libio/wmemstream.c (open_wmemstream): Likewise.
19939
83e43bf0
AM
19940 [BZ #15895]
19941 * nscd/netgroupcache.c: Fix nesting of ifdefs.
19942
0c66b8e9
WN
199432013-09-09 Will Newton <will.newton@linaro.org>
19944
19945 * malloc/Makefile: Add tst-realloc to tests.
19946 * malloc/tst-realloc.c: New file.
19947
f6b00fd1
AM
199482013-09-09 Allan McRae <allan@archlinux.org>
19949
19950 [BZ #15844]
19951 * COPYING: Update from GNU website to fix FSF address.
19952 * COPYING.LIB: Likewise.
19953
eec55e16
DM
199542013-09-06 David S. Miller <davem@davemloft.net>
19955
19956 * po/zh_TW.po: Update Chinese (traditional) translation from
19957 translation project.
19958
1ecbb381
RS
199592013-09-06 Richard Sandiford <richard@codesourcery.com>
19960 Joseph Myers <joseph@codesourcery.com>
19961
19962 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19963 "localeinfo.h".
19964 (obstack_chunk_alloc): New macro.
19965 (obstack_chunk_free): Likewise.
19966 (record_offset): New function.
19967 (init_locale_data): Likewise.
19968 (align_locale_data): Likewise.
19969 (add_locale_empty): Likewise.
19970 (add_locale_raw_data): Likewise.
19971 (add_locale_raw_obstack): Likewise.
19972 (add_locale_string): Likewise.
19973 (add_locale_wstring): Likewise.
19974 (add_locale_uint32): Likewise.
19975 (add_locale_uint32_array): Likewise.
19976 (add_locale_char): Likewise.
19977 (start_locale_structure): Likewise.
19978 (end_locale_structure): Likewise.
19979 (start_locale_prelude): Likewise.
19980 (end_locale_prelude): Likewise.
19981 (write_locale_data): Take locale_file structure rather than an
19982 iovec.
19983 * locale/programs/locfile.h: Include "obstack.h".
19984 (struct locale_file): Change to store locale file contents instead
19985 of header.
19986 (init_locale_data): New prototype.
19987 (align_locale_data): Likewise.
19988 (add_locale_empty): Likewise.
19989 (add_locale_raw_data): Likewise.
19990 (add_locale_raw_obstack): Likewise.
19991 (add_locale_string): Likewise.
19992 (add_locale_wstring): Likewise.
19993 (add_locale_uint32): Likewise.
19994 (add_locale_uint32_array): Likewise.
19995 (add_locale_char): Likewise.
19996 (start_locale_structure): Likewise.
19997 (end_locale_structure): Likewise.
19998 (start_locale_prelude): Likewise.
19999 (end_locale_prelude): Likewise.
20000 (write_locale_data): Update prototype.
20001 * locale/programs/3level.h (struct TABLE): Remove result field.
20002 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
20003 Use new locale_file interface.
20004 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
20005 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
20006 * locale/programs/ld-address.c (address_output): Use new
20007 locale_file interface.
20008 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
20009 NO_ADD_LOCALE.
20010 (collate_finish): Don't call collseq_table_finalize.
20011 (collate_output): Use new locale_file interface.
20012 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
20013 in file.
20014 (NO_FINALIZE): Change to NO_ADD_LOCALE.
20015 (TABLE): Move defines earlier in file.
20016 (ELEMENT): Likewise.
20017 (DEFAULT): Likewise.
20018 (wctrans_table_add): Move macro and inline function earlier in
20019 file.
20020 (struct wctype_table): Move type earlier in file.
20021 (add_locale_wctype_table): New static prototype.
20022 (struct locale_ctype_t): Use logical types instead of struct iovec
20023 pointers for members.
20024 (ctype_output): Use new locale_file interface.
20025 (wctype_table_finalize): Change to add_locale_wctype_table. Use
20026 new locale_file interface.
20027 (allocate_arrays): Update for use of new locale_file interface.
20028 * locale/programs/ld-identification.c (identification_output): Use
20029 new locale_file interface.
20030 * locale/programs/ld-measurement.c (measurement_output): Likewise.
20031 * locale/programs/ld-messages.c (messages_output): Likewise.
20032 * locale/programs/ld-monetary.c (monetary_output): Likewise.
20033 * locale/programs/ld-name.c (name_output): Likewise.
20034 * locale/programs/ld-numeric.c (numeric_output): Likewise.
20035 * locale/programs/ld-paper.c (paper_output): Likewise.
20036 * locale/programs/ld-telephone.c (telephone_output): Likewise.
20037 * locale/programs/ld-time.c (time_output): Likewise.
20038
e029e2e5
AZ
200392013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20040
20041 * benchtests/Makefile: Add memrchr benchmark.
20042 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
20043 benchmark as memrchr.
20044 * benchtests/bench-memrchr-ifunc.c: New file.
20045 * benchtests/bench-memrchr.c: New file.
20046
bbf6e8e4
WN
200472013-09-06 Will Newton <will.newton@linaro.org>
20048
20049 * benchtests/Makefile (string-bench): Add memcpy.
20050
6c82a2f8
CD
200512013-09-05 Carlos O'Donell <carlos@redhat.com>
20052 Cong Wang <amwang@redhat.com>
20053
e732c5f0 20054 [BZ #15850]
6c82a2f8
CD
20055 * sysdeps/unix/sysv/linux/bits/in.h
20056 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
20057 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
20058 before __USE_KERNEL_IPV6_DEFS uses.
20059 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
20060 IPPROTO_BEETPH.
20061 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
20062 sockaddr_in6, or ipv6_mreq.
20063
5430fc65
AZ
200642013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20065
20066 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
20067 memory access for final bytes in some large inputs.
20068 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
20069
4660856c
AZ
200702013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20071
20072 * string/test-memrchr.c: New file.
20073 * string/test-memrchr-ifunc.c: New file.
20074 * string/Makefile: Add new memrchr testcase.
20075
bb8ea713
MF
200762013-09-05 Mike Frysinger <vapier@gentoo.org>
20077
20078 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
20079 fanotify_init returns EPERM.
20080
b92a20b5
JM
200812013-09-04 Joseph Myers <joseph@codesourcery.com>
20082
20083 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
20084 errors.
20085 (top level): Treat second token from macro or constant entries for
20086 allowed headers as allowed.
20087 * include/complex.h: Condition internal declarations on
20088 [!_ISOMAC].
20089 * include/fenv.h: Condition include of <stdbool.h> and internal
20090 declarations on [!_ISOMAC].
7447ccd9
CL
20091
200922013-09-04 Chris Leonard <cjl@sugarlabs,.org>
20093
3e181dda 20094 [BZ #15923]
7447ccd9
CL
20095 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
20096
3f2e46a4
JM
200972013-09-04 Joseph Myers <joseph@codesourcery.com>
20098
20099 * configure.in (--enable-versioning): Remove configure option.
20100 (libc_cv_asm_symver_directive): Remove configure test.
20101 (libc_cv_ld_version_script_option): Likewise.
20102 (VERSIONING): Remove variable and AC_SUBST.
20103 (DO_VERSIONING): Remove AC_DEFINE.
20104 * configure: Regenerated.
20105 * config.h.in (DO_VERSIONING): Remove macro.
20106 * Makerules [$(versioning) = yes]: Change conditionals to
20107 [$(build-shared) = yes].
20108 * config.make.in (versioning): Remove variable.
20109 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
20110 [$(build-shared) = yes].
20111 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
20112 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
20113 * elf/Makefile [$(versioning) = yes]: Change conditionals to
20114 [$(build-shared) = yes].
20115 * extra-lib.mk [$(versioning) = yes]: Likewise.
20116 * hurd/Makefile [$(versioning) = yes]: Likewise.
20117 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
20118 [SHARED].
20119 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
20120 [SHARED].
20121 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20122 [SHARED && !NO_HIDDEN].
20123 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
20124 [SHARED].
20125 [SHARED && DO_VERSIONING]: Likewise..
20126 * libio/Makefile [$(versioning) = yes]: Change conditionals to
20127 [$(build-shared) = yes].
20128 * manual/install.texi (--disable-versioning): Remove
20129 documentation.
20130 * INSTALL: Regenerated.
20131 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
20132 to [SHARED].
20133 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
20134 [$(build-shared) = yes].
20135 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
20136 * sysdeps/i386/i686/multiarch/strstr-c.c
20137 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20138 [SHARED && !NO_HIDDEN].
20139 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
20140 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
20141 * sysdeps/powerpc/powerpc32/dl-machine.c
20142 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
20143 * sysdeps/powerpc/powerpc32/sysdep.h
20144 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
20145 to [SHARED && PIC && !NO_HIDDEN].
20146 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
20147 conditional to [SHARED].
20148
44558701
WN
201492013-09-04 Will Newton <will.newton@linaro.org>
20150
20151 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
20152 * benchtests/bench-string.h: Include bench-timing.h instead
20153 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
20154 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
20155 call to HP_TIMING_DIFF_INIT.
20156 * benchtests/bench-memccpy.c: Use bench-timing.h macros
20157 instead of hp-timing.h macros.
20158 * benchtests/bench-memchr.c: Likewise.
20159 * benchtests/bench-memcmp.c: Likewise.
20160 * benchtests/bench-memcpy.c: Likewise.
20161 * benchtests/bench-memmem.c: Likewise.
20162 * benchtests/bench-memmove.c: Likewise.
20163 * benchtests/bench-memset.c: Likewise.
20164 * benchtests/bench-rawmemchr.c: Likewise.
20165 * benchtests/bench-strcasecmp.c: Likewise.
20166 * benchtests/bench-strcasestr.c: Likewise.
20167 * benchtests/bench-strcat.c: Likewise.
20168 * benchtests/bench-strchr.c: Likewise.
20169 * benchtests/bench-strcmp.c: Likewise.
20170 * benchtests/bench-strcpy.c: Likewise.
20171 * benchtests/bench-strcpy_chk.c: Likewise.
20172 * benchtests/bench-strlen.c: Likewise.
20173 * benchtests/bench-strncasecmp.c: Likewise.
20174 * benchtests/bench-strncat.c: Likewise.
20175 * benchtests/bench-strncmp.c: Likewise.
20176 * benchtests/bench-strncpy.c: Likewise.
20177 * benchtests/bench-strnlen.c: Likewise.
20178 * benchtests/bench-strpbrk.c: Likewise.
20179 * benchtests/bench-strrchr.c: Likewise.
20180 * benchtests/bench-strspn.c: Likewise.
20181 * benchtests/bench-strstr.c: Likewise.
20182
cae16d66
WN
201832013-09-04 Will Newton <will.newton@linaro.org>
20184
20185 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
20186
ffa3cd7f
JM
201872013-09-03 Joseph Myers <joseph@codesourcery.com>
20188
20189 [BZ #15427]
20190 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
20191 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
20192 * math/libm-test.inc (lgamma_test_data): Add more tests.
20193 * sysdeps/i386/fpu/libm-test-ulps: Update.
20194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20195
8f02859f
OB
201962013-09-03 Ondřej Bílka <neleai@seznam.cz>
20197
20198 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
20199 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20200 Add ifunc.
20201 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20202 Add strcmp-sse2-unaligned
20203 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
20204
18d43716
MF
202052013-09-02 Mike Frysinger <vapier@gentoo.org>
20206
20207 * Versions.def (libc): Add GLIBC_2.19.
20208
ac444012
MF
202092013-09-02 Mike Frysinger <vapier@gentoo.org>
20210
20211 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
20212 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
20213
b7835e32
JM
202142013-09-02 Joseph Myers <joseph@codesourcery.com>
20215
20216 [BZ #14155]
20217 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
20218 intermediate calculations in recurrence.
20219 (__ieee754_ynf): Likewise.
20220 * math/libm-test.inc (jn_test_data): Do not allow spurious
20221 underflow exception. Add more tests.
20222 (yn_test_data): Add more tests.
20223 * sysdeps/i386/fpu/libm-test-ulps: Update.
20224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20225
8220f4f0
OB
202262013-09-02 Ondřej Bílka <neleai@seznam.cz>
20227
20228 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
20229
f24a6d08
OB
202302013-08-30 Ondřej Bílka <neleai@seznam.cz>
20231
20232 * csu/init-first.c: Fix then/than typos.
20233 * locale/programs/ld-collate.c: Likewise.
20234 * locale/programs/linereader.h: Likewise.
20235 * manual/charset.texi: Likewise.
20236 * manual/filesys.texi: Likewise.
20237 * manual/stdio.texi: Likewise.
20238 * manual/string.texi: Likewise.
20239 * stdlib/fmtmsg.c: Likewise.
20240 * sysdeps/i386/stpncpy.S: Likewise.
20241 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20242 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20243 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20244 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20245
382466e0
OB
202462013-08-30 Ondřej Bílka <neleai@seznam.cz>
20247
20248 * elf/dl-open.c: Fix typos.
20249 * iconvdata/gbbig5.c: Likewise.
20250 * iconvdata/iso-2022-jp.c: Likewise.
20251 * iconv/gconv_int.h: Likewise.
20252 * iconv/loop.c: Likewise.
20253 * nis/rpcsvc/nis.h: Likewise.
20254 * resolv/ns_name.c: Likewise.
20255 * stdio-common/vfscanf.c: Likewise.
20256 * streams/stropts.h: Likewise.
20257 * sunrpc/rpc_thread.c: Likewise.
20258 * sysdeps/i386/strpbrk.S: Likewise.
20259 * sysdeps/ieee754/k_standard.c: Likewise.
20260 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20261 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20262 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
20263 * sysdeps/mach/hurd/profil.c: Likewise.
20264 * sysdeps/s390/dl-procinfo.h: Likewise.
20265 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
20266 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20267 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
20268 * sysdeps/x86_64/dl-trampoline.S: Likewise.
20269 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20270
0186c6e9
OB
202712013-08-30 Ondřej Bílka <neleai@seznam.cz>
20272
20273 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
20274 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
20275
d4e16af1
OB
202762013-08-29 Ondřej Bílka <neleai@seznam.cz>
20277
20278 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
20279 aix specific files.
20280 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
20281 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
20282 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
20283 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
20284 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
20285 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
20286 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
20287 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
20288
88335980
TS
202892013-08-29 Thomas Schwinge <thomas@codesourcery.com>
20290 Roland McGrath <roland@hack.frob.com>
20291
20292 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
20293 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
20294
ed479b02
ST
202952013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
20296
20297 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
20298 __executable_start symbol instead of _start.
20299
f1cc4c86
TS
203002013-08-29 Thomas Schwinge <thomas@codesourcery.com>
20301
d821f07c
TS
20302 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
20303 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
20304 Move macros to...
20305 * sysdeps/gnu/ldsodefs.h: ... this new file.
20306
c54290cf
TS
20307 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
20308 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
20309 instead of ELFOSABI_LINUX.
20310
0007fc9b 20311 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
20312 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
20313 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
20314 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
20315 Likewise.
20316 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
20317 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
20318 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
20319 Likewise.
20320 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20321 (ibm_extended_long_double): Add ieee_nan member.
20322 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
20323 (do_test): New function.
20324
f1cc4c86
TS
20325 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
20326 TEST_TRUNC.
20327 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
20328 functions, renamed from truncdfsf_test, trunctfsf_test,
20329 trunctfdf_test.
20330 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
20331 functions.
20332 (do_test): Run all these.
20333
6f65e668
OB
203342013-08-29 Ondřej Bílka <neleai@seznam.cz>
20335
20336 * argp/argp-help.c: Fix typos.
20337 * argp/argp-parse.c: Likewise.
20338 * debug/backtracesyms.c: Likewise.
20339 * elf/elf.h: Likewise.
20340 * malloc/malloc.c: Likewise.
20341 * nis/nis_print.c: Likewise.
20342 * resolv/res_comp.c: Likewise.
20343 * stdlib/stdlib.h: Likewise.
20344 * sunrpc/clnt_tcp.c: Likewise.
20345 * sunrpc/clnt_udp.c: Likewise.
20346 * sunrpc/clnt_unix.c: Likewise.
20347 * sysdeps/unix/bsd/ptsname.c: Likewise.
20348 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
20349 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
20350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
20351 Likewise.
20352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
20353 Likewise.
20354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20355 Likewise.
6f65e668
OB
20356 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20357
3a309239
SP
203582013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20359
20360 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
20361 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20362
3b813b29
MF
203632013-08-27 Mike Frysinger <vapier@gentoo.org>
20364
20365 [BZ #15897]
20366 * dlfcn/Makefile (tests): Add bug-dl-leaf.
20367 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
20368 ($(objpfx)bug-dl-leaf): New rule.
20369 ($(objpfx)bug-dl-leaf.so): Likewise.
20370 ($(objpfx)bug-dl-leaf.out): Likewise.
20371 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
20372 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
20373 * dlfcn/bug-dl-leaf.c: New test.
20374 * dlfcn/bug-dl-leaf-lib.c: Likewise.
20375 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
20376 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
20377 (dlclose): Likewise.
20378 (dlmopen): Likewise.
20379
8cc3269f
RM
203802013-08-27 Roland McGrath <roland@hack.frob.com>
20381
7f9d0034
RM
20382 * include/netdb.h [!_ISOMAC]:
20383 Don't include <tls.h>.
20384 (h_errno, __libc_h_errno): Move declaration and macros out of
20385 [_LIBC_REENTRANT].
20386
fb431262
RM
20387 * include/resolv.h [_RESOLV_H_]:
20388 Don't include <tls.h>.
20389 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
20390 * resolv/res_libc.c: Don't include <tls.h>.
20391 (_res): Use __attribute__ ((nocommon)) in place of
20392 __attribute__ ((section (".bss"))).
20393
bd81123a
RM
20394 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
20395 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
20396
c4e42566
RM
20397 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
20398
f890a59b
RM
20399 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
20400 only under [SIOCGIFCONF && SIOCGIFNETMASK].
20401
20402 * resolv/res_mkquery.c: Include <sys/time.h>.
20403
5d1f0a09
RM
20404 * inet/ifreq.c: Moved to ...
20405 * sysdeps/unix/ifreq.c: ... here.
20406 * inet/ifreq.c: New file, true stub version.
20407
6fcf28b3
RM
20408 * socket/sa_len.c: New file.
20409 * socket/Makefile (aux): Add it.
20410 * sysdeps/unix/sysv/linux/Makefile
20411 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
20412 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
20413 and #include <socket/sa_len.c>.
20414 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
20415 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
20416
e041fb8b
RM
20417 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
20418 * bits/socket.h: ... here.
20419
8cc3269f
RM
20420 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
20421 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
20422 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
20423
5d228a43
AS
204242013-08-27 Andreas Schwab <schwab@suse.de>
20425
45b8accc
AS
20426 [BZ #15736]
20427 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
20428 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
20429 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
20430 * string/test-strcasecmp.c (test_main): Run tests in several
20431 locales.
20432 * string/test-strncasecmp.c (test_main): Likewise.
20433
5d228a43
AS
20434 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
20435 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
20436 to __strcasecmp_nonascii and __strncasecmp_nonascii.
20437 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
20438 (__strncasecmp_ssse3) [PIC]: Likewise.
20439
59d112a4
RM
204402013-08-26 Roland McGrath <roland@hack.frob.com>
20441
53234cc3
RM
20442 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
20443
59d112a4
RM
20444 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
20445 instead of explicitly declaring xdecrypt.
20446 * nis/nss_nis/nis-publickey.c: Likewise.
20447
595aba70
SP
204482013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20449
20450 [BZ #15890]
20451 * nscd/aicache.c: Include res_hconf.h.
20452 (addhstaiX): Initialize res_hconf.
20453
ffabd393
AS
204542013-08-26 Andreas Schwab <schwab@suse.de>
20455
20456 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
20457 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
20458
e0a69f5c
SP
204592013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20460
20461 * nscd/aicache.c (addhstaiX): Fix indentation.
20462
8c12f01d
MF
204632013-08-25 Mike Frysinger <vapier@gentoo.org>
20464
20465 * configure.ac: Quote $build_pt_chown test.
20466 * configure: Regenerated.
20467
8fe89494
JM
204682013-08-23 Joseph Myers <joseph@codesourcery.com>
20469
20470 [BZ #15532]
20471 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
20472 * math/s_cexpf.c (__cexpf): Likewise.
20473 * math/s_cexpl.c (__cexpl): Likewise.
20474 * math/libm-test.inc (cexp_test_data): Correct expected return
20475 value for NaN + i0. Add another test.
20476
75b181d6
DM
204772013-08-22 David S. Miller <davem@davemloft.net>
20478
20479 * po/ca.po: Update Catalan translation from translation project.
936241e4 20480 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 20481
acd06bb1
JM
204822013-08-21 Joseph Myers <joseph@codesourcery.com>
20483
20484 [BZ #15797]
20485 * math/s_fdim.c (__fdim): Check for infinite arguments if result
20486 is infinite, not alongside NaN test.
20487 * math/s_fdimf.c (__fdimf): Likewise.
20488 * math/s_fdiml.c (__fdiml): Likewise.
20489 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
20490 errno is unchanged.
20491
c0c3f78a
OB
204922013-08-21 Ondřej Bílka <neleai@seznam.cz>
20493
20494 * argp/argp-help.c: Fix typos.
20495 * crypt/speeds.c: Likewise.
20496 * csu/check_fds.c: Likewise.
20497 * elf/dl-load.c: Likewise.
20498 * elf/dl-open.c: Likewise.
20499 * elf/reldep3.c: Likewise.
20500 * elf/reldep.c: Likewise.
20501 * elf/sprof.c: Likewise.
20502 * iconv/iconv_charmap.c: Likewise.
20503 * iconv/skeleton.c: Likewise.
20504 * iconv/strtab.c: Likewise.
20505 * io/lockf64.c: Likewise.
20506 * libio/libioP.h: Likewise.
20507 * resolv/gai_notify.c: Likewise.
20508 * resolv/ns_name.c: Likewise.
20509 * resolv/ns_samedomain.c: Likewise.
20510 * resolv/res_send.c: Likewise.
20511 * stdlib/random.c: Likewise.
20512 * sunrpc/rpc/xdr.h: Likewise.
20513 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
20514 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20515 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20516 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20517 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20518 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20519 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20520 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20521 * sysdeps/mach/hurd/check_fds.c: Likewise.
20522 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20523 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20524 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20525 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20526 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20527 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20528 * sysdeps/pthread/aio_notify.c: Likewise.
20529 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
20530 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
20531 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
20532 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20533 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20534
46ed1038
LD
205352013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20536
20537 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
20538 version if bit_Slow_SSE4_2 is set.
20539 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20540 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20541
d400dcac
AZ
205422013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20543
20544 [BZ #15867]
20545 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
20546 trampoline stack frame information.
20547 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
20548 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
20549 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
20550 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
20551 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
20552 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20553 (_libc_vdso_platform_setup): Initialize the signal trampolines.
20554 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
20555 sa_flags value.
20556 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
20557 interrupting a syscall and set with option SA_SIGINFO.
20558
42c8fdd8
JM
205592013-08-20 Joseph Myers <joseph@codesourcery.com>
20560
c980f2f4
JM
20561 [BZ #15531]
20562 * math/s_cproj.c (__cproj): Only return an infinity if one part of
20563 argument is infinite.
20564 * math/s_cprojf.c (__cprojf): Likewise.
20565 * math/s_cprojl.c (__cprojl): Likewise.
20566 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
20567 * math/libm-test.inc (cproj_test_data): Add more tests.
20568
0716c4fc
JM
20569 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
20570
42c8fdd8
JM
20571 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
20572 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
20573 size. Use __ffs to determine corresponding shift.
20574
b31469d0
JM
205752013-08-20 Joseph Myers <joseph@codesourcery.com>
20576 Roland McGrath <roland@hack.frob.com>
20577
20578 * Makefile (INSTALL): Remove trailing blank lines from output of
20579 makeinfo.
20580
4e39af6e
AK
205812013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20582
20583 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
20584 Align 32 bit compat elf_greg to 8 bytes.
20585
f315524e
AA
205862013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
20587
20588 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
20589
1326ba1a
SP
205902013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20591
20592 * string/strcoll_l.c (coll_seq): New structure.
20593 (get_next_seq_cached): New function.
20594 (get_next_seq): New function.
20595 (do_compare): New function.
20596 (STRCOLL): Use GNU style definition. Simplify implementation
20597 by using get_next_seq, get_next_seq_cached and do_compare.
20598
91ce4085
FW
205992013-08-16 Florian Weimer <fweimer@redhat.com>
20600
20601 [BZ #14699]
20602 CVE-2013-4237
20603 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
20604 member.
20605 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
20606 member.
20607 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
20608 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
20609 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
20610 conditional.
20611 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
20612 GETDENTS_64BIT_ALIGNED.
20613 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20614 * manual/filesys.texi (Reading/Closing Directory): Document
20615 ENAMETOOLONG return value of readdir_r. Recommend readdir more
20616 strongly.
20617 * manual/conf.texi (Limits for Files): Add portability note to
20618 NAME_MAX, PATH_MAX.
20619 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
20620
ca0a6bc4
AS
206212013-08-13 Andreas Schwab <schwab@suse.de>
20622
20623 [BZ #15749]
20624 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
20625 of fabs.
20626 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
20627 LDBL_MAX_EXP >= 16384]: Add tests for it.
20628
6c1fd795
DM
206292013-08-12 David S. Miller <davem@davemloft.net>
20630
20631 * version.h (RELEASE): Set to "development".
20632 (VERSION): Set to "2.18.90".
20633 * NEWS: Add 2.19 section.
20634
31ad488d
DM
206352013-08-03 David S. Miller <davem@davemloft.net>
20636
20637 * po/ko.po: Update Korean translation from translation project.
20638
db24e684
DM
206392013-08-01 David S. Miller <davem@davemloft.net>
20640
20641 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
20642 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
20643 Bilka.
20644
f723285b
DM
206452013-07-30 David S. Miller <davem@davemloft.net>
20646
20647 * po/fr.po: Update French translation from translation project.
20648
3cbc52db
DM
206492013-07-28 David S. Miller <davem@davemloft.net>
20650
30bbc0cc
DM
20651 * po/cs.po: Update Czech translation from translation project.
20652
3cbc52db
DM
20653 * po/sv.po: Update Swedish translation from translation project.
20654
d492e6d0
DM
206552013-07-27 David S. Miller <davem@davemloft.net>
20656
f1a7f492
DM
20657 * po/eo.po: Update Esperanto translation from translation project.
20658
90e62a4a
DM
20659 * po/vi.po: Update Vietnamese translation from translation project.
20660
d492e6d0
DM
20661 * po/de.po: Update German translation from translation project.
20662
d4baa62d
DM
206632013-07-26 David S. Miller <davem@davemloft.net>
20664
641aa7b4
DM
20665 * po/bg.po: Update Bulgarian translation from translation project.
20666
d4baa62d
DM
20667 * po/nl.po: Update Dutch translation from translation project.
20668 * po/pl.po: Update Polish translation from translation project.
20669 * po/ru.po: Update Russian translation from translation project.
20670
61a9dcb9
DM
206712013-07-24 David S. Miller <davem@davemloft.net>
20672
20673 * po/libc.pot: Update.
20674
7b1f8b58
AZ
206752013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20676
20677 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
20678 variable page size.
20679 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
20680 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
20681 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
20682
a8fc7a03
AK
206832013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20684
20685 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
20686
e4608715
CD
206872013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20688 Andreas Schwab <schwab@suse.de>
20689 Roland McGrath <roland@hack.frob.com>
20690 Joseph Myers <joseph@codesourcery.com>
20691 Carlos O'Donell <carlos@redhat.com>
20692
20693 [BZ #15755]
20694 * config.h.in: Define HAVE_PT_CHOWN.
20695 * config.make.in (build-pt-chown): New variable.
20696 * configure.in (--enable-pt_chown): New configure option.
20697 * configure: Regenerate.
20698 * login/Makefile: Include Makeconfig. Build pt_chown only if
20699 build-pt-chown is enabled.
20700 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
20701 pt_chown to fix pty ownership.
20702 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
20703 CLOSE_ALL_FDS.
20704 * manual/install.texi (Configuring and compiling): Mention
20705 --enable-pt_chown. Add @findex for grantpt.
20706 * INSTALL: Regenerate.
20707
da2d62df
DM
207082013-07-20 David S. Miller <davem@davemloft.net>
20709
20710 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
20711 difference between 32-bit and 64-bit.
20712
d7e06450
CD
207132013-07-15 Carlos O'Donell <carlos@redhat.com>
20714
20715 [BZ #15711]
20716 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
20717 Avoid system header dependency with -ffreestanding.
20718 ($(objpfx)bits/syscall%d): Likewise.
20719
f959cfd7
DM
207202013-07-13 David S. Miller <davem@davemloft.net>
20721
20722 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
20723 underflows from atanl/atan2l due to bug 15319.
20724 (casinh_test_data): Likewise.
20725
c61f8513
DM
207262013-07-07 David S. Miller <davem@davemloft.net>
20727
20728 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20729
72c90ed0
JA
207302013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
20731
20732 * sysdeps/i386/fpu/libm-test-ulps: Update.
20733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20734
52dfbe13
SP
207352013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20736
20737 * configure.in (--enable-lock-elision): Fix message text.
20738 * INSTALL: Regenerate.
20739 * configure: Regenerate.
20740
3f169543
AZ
207412013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20742
20743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20744
521c6785
AJ
207452013-07-03 Andreas Jaeger <aj@suse.de>
20746
20747 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
20748 define.
20749 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
20750 (ptrace_peeksiginfo_args): Add.
20751 (__ptrace_peeksiginfo_flags): Add.
20752 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20753 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20754 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20755
d2cc15cb
AM
207562013-07-03 Allan McRae <allan@archlinux.org>
20757
20758 * sysdeps/i386/fpu/libm-test-ulps: Update.
20759
3aaeeca7
DM
207602013-07-02 David S. Miller <davem@davemloft.net>
20761
20762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20763
5314ed1a
MT
207642013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
20765
20766 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20767
67338156
JM
207682013-07-02 Joseph Myers <joseph@codesourcery.com>
20769
20770 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20772
1717da59
AK
207732013-07-02 Andi Kleen <ak@linux.intel.com>
20774
20775 * config.h.in (ENABLE_LOCK_ELISION): Add.
20776 * configure.in (--enable-lock-elision): Add option.
20777 * manual/install.texi: Document --enable lock elision.
20778 * configure: Regenerate
20779 * INSTALL: Regenerate.
20780
1c81621c
L
207812013-07-02 H.J. Lu <hongjiu.lu@intel.com>
20782
20783 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
20784 SSE4.2 strcasecmp for libc.a.
20785 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20786
77f01ab5
JM
207872013-07-02 Joseph Myers <joseph@codesourcery.com>
20788
20789 [BZ #13304]
20790 * soft-fp/op-common.h (_FP_FMA): New macro.
20791 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
20792 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
20793 (_FP_MUL_MEAT_1_imm): ... here.
20794 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
20795 (_FP_MUL_MEAT_1_wide): ... here.
20796 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
20797 (_FP_MUL_MEAT_1_hard): ... here.
20798 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
20799 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
20800 (_FP_MUL_MEAT_2_wide): ... here.
20801 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
20802 (_FP_MUL_MEAT_2_wide_3mul): ... here.
20803 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
20804 (_FP_MUL_MEAT_2_gmp): ... here.
20805 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
20806 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
20807 (_FP_MUL_MEAT_4_wide): ... here.
20808 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
20809 (_FP_MUL_MEAT_4_gmp): ... here.
20810 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
20811 (_FP_WFRACBITS_DW_S): Likewise.
20812 (_FP_WFRACXBITS_DW_S): Likewise.
20813 (_FP_HIGHBIT_DW_S): Likewise.
20814 (FP_FMA_S): Likewise.
20815 (_FP_FRAC_HIGH_DW_S): Likewise.
20816 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
20817 (_FP_WFRACBITS_DW_D): Likewise.
20818 (_FP_WFRACXBITS_DW_D): Likewise.
20819 (_FP_HIGHBIT_DW_D): Likewise.
20820 (FP_FMA_D): Likewise.
20821 (_FP_FRAC_HIGH_DW_D): Likewise.
20822 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
20823 (_FP_WFRACBITS_DW_E): Likewise.
20824 (_FP_WFRACXBITS_DW_E): Likewise.
20825 (_FP_HIGHBIT_DW_E): Likewise.
20826 (FP_FMA_E): Likewise.
20827 (_FP_FRAC_HIGH_DW_E): Likewise.
20828 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
20829 (_FP_WFRACBITS_DW_Q): Likewise.
20830 (_FP_WFRACXBITS_DW_Q): Likewise.
20831 (_FP_HIGHBIT_DW_Q): Likewise.
20832 (FP_FMA_Q): Likewise.
20833 (_FP_FRAC_HIGH_DW_Q): Likewise.
20834 * soft-fp/fmasf4.c: New file.
20835 * soft-fp/fmadf4.c: Likewise.
20836 * soft-fp/fmatf4.c: Likewise.
20837
6308fd9a
LD
208382013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20839
20840 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20841 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
20842 Silvermont.
20843 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
20844 macro.
20845 (index_Slow_SSE4_2): Likewise.
20846 (index_Prefer_PMINUB_for_stringop): Likewise.
20847 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
20848 bit_Slow_SSE4_2 is set.
20849 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20850 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20851
89cd9569
RA
208522013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20853
20854 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
20855 rtld_global._dl_hwcap2.
20856 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
20857 POWER8.
20858 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
20859 POWER8 feature descriptions defined in _dl_hwcap2.
20860 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
20861 string handling for POWER8 feature bits.
20862 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
20863 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
20864 _dl_powerpc_cap_flags.
20865 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
20866 * sysdeps/powerpc/rtld-global-offsets.sym
20867 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
20868 _dl_hwcap2 in the rtld_global_ro structure.
20869
1ae8bfe0
RA
208702013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20871
20872 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
20873 hardware capabilities in support of AT_HWCAP2.
20874 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
20875 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
20876 GLRO(dl_hwcap2).
20877 (_dl_show_auxv): Add support for calling _dl_procinfo to display
20878 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
20879 explicitly the unknown a_type display mechanism is used.
20880 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
20881 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
20882 struct member.
20883 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
20884 to macro prototype for AT_HWCAP2 support.
20885 * sysdeps/i386/dl-procinfo.h: Likewise.
20886 * sysdeps/s390/dl-procinfo.h: Likewise.
20887 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
20888 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
20889 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
20890 return -1 for unknown a_type display fallback.
20891 * sysdeps/sparc/dl-procinfo.h: Likewise.
20892 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
20893 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
20894
8fbec010
JM
208952013-06-28 Joseph Myers <joseph@codesourcery.com>
20896
20897 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
20898 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
20899
0432680e
PY
209002013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
20901
20902 [BZ #12492]
20903 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
20904 mprotect making __stack_prot writable.
20905
ce61a2ad
NF
209062013-06-28 Nathan Froyd <froydnj@codesourcery.com>
20907 Joseph Myers <joseph@codesourcery.com>
20908
20909 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20910 as being properly aligned.
20911
f91f1c0f
MR
209122013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
20913
3d0f5d0c
MR
20914 * dlfcn/modstatic5.c: New file.
20915 * dlfcn/tststatic5.c: New file.
20916 * dlfcn/Makefile (tests): Add tststatic5.
20917 (tests-static): Likewise.
20918 (modules-names): Add modstatic5.
20919 (tststatic5-ENV): New variable.
20920 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20921
f91f1c0f
MR
20922 [BZ #15022]
20923 * elf/dl-support.c (_dl_main_map): New variable.
20924 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20925 (_dl_nns, _dl_load_adds): Set to 1.
20926 (_dl_initial_searchlist): Refer to _dl_main_map.
20927 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20928 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20929 call to _dl_get_origin.
20930 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20931 around call_map.
20932 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20933 * dlfcn/modstatic3.c: New file.
20934 * dlfcn/tststatic3.c: New file.
20935 * dlfcn/tststatic4.c: New file.
20936 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20937 (tests-static): Likewise.
20938 (modules-names): Add modstatic3.
20939 (tststatic3-ENV, tststatic4-ENV): New variables.
20940 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20941 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20942
cbe7d24b
JM
209432013-06-26 Joseph Myers <joseph@codesourcery.com>
20944
20945 * configure.in (CC): Require GCC version 4.4 or later.
20946 * configure: Regenerated.
20947 * manual/install.texi (Tools for Compilation): Update GCC version
20948 requirement.
20949 * INSTALL: Regenerated.
20950
11b8a0e1
LD
209512013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20952
20953 [BZ #15674]
bb5bb87c
L
20954 * string/test-memcmp.c (check2): New.
20955 (main): Call check2.
20956
11b8a0e1
LD
20957 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20958
b0037103
MR
209592013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
20960
20961 [BZ #15022]
20962 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20963 over to...
20964 (dl_open_worker) [!SHARED]: ... here.
20965
c18c701d
RA
209662013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20967
20968 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20969
1d17fa5f
RH
209702013-06-25 Richard Henderson <rth@redhat.com>
20971
20972 * locale/programs/locarchive.c: Include <libc-internal.h>
20973
8fcb833a
JM
209742013-06-25 Joseph Myers <joseph@codesourcery.com>
20975
20976 * manual/texinfo.tex: Update to version 2013-06-21.17, with
20977 trailing whitespace removed.
20978
17db6e8d
MF
209792013-06-24 Mike Frysinger <vapier@gentoo.org>
20980
20981 [BZ #10283]
17db6e8d
MF
20982 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20983 * locale/programs/locarchive.c: Include libc-mmap.h.
20984 (prepare_address_space): Take two new outputs (the mmap base and len).
20985 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
20986 values.
20987 (create_archive): Declare new mmap base and len values for
20988 prepare_address_space, and store the result in ah.
20989 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20990 (enlarge_archive): If ah->mmap_base is not NULL, use that and
20991 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20992 Declare new mmap base and len values for
20993 prepare_address_space, and store the result in new_ah.
20994 (open_archive): Declare new mmap base and len values for
20995 prepare_address_space, and store the result in ah.
20996 (close_archive): If ah->mmap_base is not NULL, use that and
20997 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20998 * sysdeps/generic/libc-mmap.h: New file.
20999
d605071e
MF
210002013-06-24 Mike Frysinger <vapier@gentoo.org>
21001
21002 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
21003 (ALIGN_UP): Likewise.
21004 (PTR_ALIGN_DOWN): Likewise.
21005 (PTR_ALIGN_UP): Likewise.
21006
2f063a6e
RA
210072013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21008
21009 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
21010 entry mapped to PPC_PLATFORM_POWER8.
21011 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
21012 POWER8.
21013 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
21014 (_dl_string_platform): Add case for exporting platform position for
21015 POWER8.
21016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
21017 search path to sysdeps/powerpc/powerpc32/power8 directory.
21018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
21019 search path to sysdeps/powerpc/powerpc64/power8 directory.
21020 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
21021 power7 directories.
21022 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
21023 power7 directories.
21024
a31ee4b3
SP
210252013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21026
a74ca98f
SP
21027 * INSTALL: Regenerate.
21028
a31ee4b3
SP
21029 * nscd/connections.c (nscd_init): Fix comment.
21030
695c378f
JM
210312013-06-22 Joseph Myers <joseph@codesourcery.com>
21032
d8412221
JM
21033 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
21034
695c378f
JM
21035 [BZ #15667]
21036 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
21037 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
21038
d1d54715
MR
210392013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
21040
21041 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
21042 DL_DST_REQ_STATIC.
21043 (DL_DST_REQ_STATIC): Remove macro.
21044
8fdda7af
JM
210452013-06-21 Joseph Myers <joseph@codesourcery.com>
21046
21047 [BZ #7006]
21048 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
21049 with a shift of 0 bits.
21050
f3bc5e5a
MR
210512013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
21052
21053 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
21054 $(tststatic-ENV).
21055
be09e8c9
KK
210562013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21057
21058 [BZ #15655]
21059 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
21060
85c2e611
AZ
210612013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21062
21063 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
21064 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
21065 accepts -fno-tree-loop-distribute-patterns.
21066 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
21067 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
21068 recursive call.
21069 * string/memset.c (memset): Likewise.
21070 * string/test-memmove.c (simple_memmove): Disable loop transformation
21071 to library calls.
21072 * string/test-memset.c (simple_memset): Likewise.
21073 * benchtests/bench-memmove.c (simple_memmove): Likewise.
21074 * benchtests/bench-memset.c (simple_memset): Likewise.
21075 * configure: Regenerated.
21076
c91e0825
JM
210772013-06-20 Joseph Myers <joseph@codesourcery.com>
21078
b8c792af
JM
21079 * math/test-misc.c (main): Ignore fesetround failure when failures
21080 of subsequent rounding tests would be ignored.
21081
c91e0825
JM
21082 [BZ #15654]
21083 * math/fedisblxcpt.c (fedisableexcept): Return 0.
21084 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
21085 * math/fegetenv.c (__fegetenv): Return 0.
21086 * math/fegetexcept.c (fegetexcept): Return 0.
21087 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
21088 FE_TONEAREST.
21089 * math/feholdexcpt.c (feholdexcept): Return 0.
21090 * math/fesetenv.c (__fesetenv): Return 0.
21091 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
21092 argument FE_TONEAREST.
21093 * math/feupdateenv.c (__feupdateenv): Return 0.
21094 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
21095
bfcacbde
RM
210962013-06-18 Roland McGrath <roland@hack.frob.com>
21097
21098 * elf/rtld-Rules (rtld-compile-command.S): New variable.
21099 (rtld-compile-command.s, rtld-compile-command.c): New variables.
21100 ($(objpfx)rtld-%.os rules): Use them.
21101
e55a9b25
AZ
211022013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21103
21104 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
21105 fields.
21106
346d65b3
RM
211072013-06-17 Roland McGrath <roland@hack.frob.com>
21108
12086fb4
RM
21109 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
21110 length of target pattern, then descending length of dependency pattern.
21111 * configure.in (AWK): Require gawk 3.1.2 or newer.
21112 * manual/install.texi (Tools for Compilation): Say that we do.
21113 * configure: Regenerated.
21114
346d65b3
RM
21115 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
21116 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
21117 * scripts/sysd-rules.awk: ... this new script.
21118 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
21119 than a glob-style pattern.
21120
1a846317
JM
211212013-06-17 Joseph Myers <joseph@codesourcery.com>
21122
21123 * math/test-misc.c (main): Do not treat incorrectly rounded
21124 conversions as failure unless ROUNDING_TESTS passes.
21125
8fc75e6f
JM
211262013-06-15 Joseph Myers <joseph@codesourcery.com>
21127
3711a167
JM
21128 [BZ #15631]
21129 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
21130 restore exception state around main square root computation, then
21131 check for inexactness explicitly.
21132
8fc75e6f
JM
21133 * math/libm-test.inc (fma_test_data): Add another test.
21134
61dd6208
SP
211352013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21136
adf23d2c
SP
21137 * manual/threads.texi (Non-POSIX Extensions): New document
21138 node. Document pthread_getattr_default_np and
21139 pthread_setattr_default_np.
21140
61dd6208
SP
21141 * Versions.def (libpthread): Add GLIBC_2.18.
21142 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
21143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21144 Likewise.
21145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21146 Likewise.
21147 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21148 Likewise.
21149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21150 Likewise.
21151 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
21152 Likewise.
21153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21154 Likewise.
21155 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21156 Likewise.
21157 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21158 Likewise.
21159 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21160 Likewise.
21161
d086fc7b
LD
211622013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21163
21164 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21165 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
21166
747ef469
SP
211672013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21168 H.J. Lu <hjl.tools@gmail.com>
21169
21170 [BZ #15627]
21171 * sysdeps/x86_64/rtld-memset.c: Remove file.
21172 * sysdeps/x86_64/rtld-memset.S: New file.
21173
1b2feed2
JM
211742013-06-14 Joseph Myers <joseph@codesourcery.com>
21175
21176 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
21177 (test_in_one_mode): Take arguments for whether the rounding mode
21178 is supported for each floating-point type.
21179 (do_test): Pass new arguments to test_in_one_mode using
21180 ROUNDING_TESTS.
21181
a58ad3f8
RM
211822013-06-13 Roland McGrath <roland@hack.frob.com>
21183
21184 * posix/tst-waitid.c (do_test): Distinguish different instances of
21185 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
21186 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
21187 before entering the kernel for waitpid.
21188
c204ab28
SP
211892013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21190
21191 * NEWS: Fix note on clock function precision. Text by Roland
21192 McGrath.
21193
f4a29fba
RM
211942013-06-13 Roland McGrath <roland@hack.frob.com>
21195
21196 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
21197 it into place only when and if the sanity check passes.
21198
1f24b9ad
JM
211992013-06-13 Joseph Myers <joseph@codesourcery.com>
21200
21201 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
21202 output for whether conversion result is exact. Take argument
21203 indicating whether type is IBM long double.
21204 (round_for_all): Change need_exact field to ibm_ld.
21205 * stdlib/tst-strtod-round.c (struct exactness): New type.
21206 (struct test): Change bool ld_ok field to struct exactness exact.
21207 (TEST): Update all definitions for change to field.
21208 (tests): Regenerate array contents.
21209 (test_in_one_mode): Take pointer to new field instead of old ld_ok
21210 field value. Check for IBM long double here.
21211 (do_test): Update calls to test_in_one_mode.
21212
58206c68
SP
212132013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21214
21215 [BZ #12515]
21216 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
21217 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
21218
2d6f4c5b 212192013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
21220
21221 [BZ #15605]
21222 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
21223 generated by the compiler on loop optimizations.
21224 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
21225 general definitions.
21226
94f2c076
JM
212272013-06-12 Joseph Myers <joseph@codesourcery.com>
21228
21229 * math/bug-nextafter.c: Include <math-tests.h>.
21230 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21231 the relevant type.
21232 * math/bug-nexttoward.c: Include <math-tests.h>.
21233 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21234 the relevant type.
21235 * math/test-misc.c: Include <math-tests.h>.
21236 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21237 the relevant type.
21238
e0e50a0a
AJ
212392013-06-12 Andreas Jaeger <aj@suse.de>
21240
21241 * po/ia.po: Update Interlingua translation from translation
21242 project.
21243
25061094
SP
212442013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21245
21246 * include/fenv.h: Include stdbool.h.
21247 (struct rm_ctx): New structure.
21248 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
21249 Define macro.
21250 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
21251 (SET_RESTORE_ROUNDF): Likewise.
21252 (SET_RESTORE_ROUNDL): Likewise.
21253 (SET_RESTORE_ROUND_NOEX): Likewise.
21254 (SET_RESTORE_ROUND_NOEXF): Likewise.
21255 (SET_RESTORE_ROUND_NOEXL): Likewise.
21256 (SET_RESTORE_ROUND_53BIT): Likewise.
21257 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
21258 (libc_feresetround_noexf_ctx): Likewise.
21259 (libc_feresetround_noexl_ctx): Likewise.
21260 (libc_feholdsetround_53bit_ctx): Likewise.
21261 (libc_feresetround_53bit_ctx): Likewise.
21262 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
21263 (libc_feholdexcept_setround_sse_ctx): New function.
21264 (libc_fesetenv_sse_ctx): Likewise.
21265 (libc_feupdateenv_sse_ctx): Likewise.
21266 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
21267 (libc_feholdexcept_setround_387_ctx): Likewise.
21268 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
21269 (libc_feholdsetround_387_prec_ctx): Likewise.
21270 (libc_feholdsetround_387_ctx): Likewise.
21271 (libc_feholdsetround_387_53bit_ctx): Likewise.
21272 (libc_feholdsetround_sse_ctx): Likewise.
21273 (libc_feresetround_sse_ctx): Likewise.
21274 (libc_feresetround_387_ctx): Likewise.
21275 (libc_feupdateenv_387_ctx): Likewise.
21276 (libc_feholdexcept_setroundf_ctx): Define macro.
21277 (libc_fesetenvf_ctx): Likewise.
21278 (libc_feupdateenvf_ctx): Likewise.
21279 (libc_feholdsetroundf_ctx): Likewise.
21280 (libc_feresetroundf_ctx): Likewise.
21281 (libc_feholdexcept_setround_ctx): Likewise.
21282 (libc_fesetenv_ctx): Likewise.
21283 (libc_feupdateenv_ctx): Likewise.
21284 (libc_feholdsetround_ctx): Likewise.
21285 (libc_feresetround_ctx): Likewise.
21286 (libc_feholdexcept_setroundl_ctx): Likewise.
21287 (libc_feupdateenvl_ctx): Likewise.
21288 (libc_feholdsetroundl_ctx): Likewise.
21289 (libc_feresetroundl_ctx): Likewise.
21290 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
21291 (libc_feresetround_53bit_ctx): Likewise.
21292
59b30555
SP
212932013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21294
21295 * locale/iso-639.def: Convert to UTF-8.
21296
f1d73d30
JM
212972013-06-11 Joseph Myers <joseph@codesourcery.com>
21298
21299 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
21300 (EXCEPTION_TESTS_double): Likewise.
21301 (EXCEPTION_TESTS_long_double): Likewise.
21302 (EXCEPTION_TESTS): Likewise.
21303 * math/libm-test.inc (test_exceptions): Only test exceptions if
21304 EXCEPTION_TESTS (FLOAT).
21305
94aca5e7
SP
213062013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21307
21308 * benchtests/Makefile (string-bench): Add strcpy_chk and
21309 stpcpy_chk.
21310 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
21311 * benchtests/bench-stpcpy_chk.c: New file.
21312 * benchtests/bench-strcpy_chk-ifunc.c: New file.
21313 * benchtests/bench-strcpy_chk.c: New file.
21314 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
21315 code.
21316 (do_test): Likewise.
21317
fac0c5f2
RA
213182013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21319
21320 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
21321 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
21322 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
21323 with tabs where appropriate.
21324 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
21325 dl-procinfo.h.
21326 [PPC_PLATFORM_PPC440]: Likewise.
21327 [PPC_PLATFORM_PPC464]: Likewise.
21328 [PPC_PLATFORM_PPC476]: Likewise.
21329 (_dl_string_platform): Add support for detecting ppc405, ppc440,
21330 ppc464, and ppc476 platform strings merging from ports/
21331 dl-procinfo.h.
21332
f22bc486
AS
213332013-06-11 Andreas Schwab <schwab@suse.de>
21334
21335 [BZ #14991]
21336 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
21337 (from_ucs4_idx): Regenerate.
21338 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
21339 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
21340 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
21341 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
21342 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
21343 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
21344 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
21345 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
21346 from FROM_LOOP and TO_LOOP specific macros.
21347 (BODY): Handle combining characters.
21348 * iconvdata/BIG5HKSCS.irreversible: Update.
21349 * iconvdata/BIG5HKSCS.precomposed: New file.
21350 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
21351 characters.
21352 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
21353
c1f75dc3
SP
213542013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21355
4eacded2
SP
21356 * include/sys/time.h: Fix indentation and add copyright header.
21357
fec799f8
SP
21358 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
21359 (do_test): Likewise.
21360 * string/test-memchr.c (do_one_test): Likewise.
21361 (do_test): Likewise.
21362 * string/test-memcmp.c (do_one_test): Likewise.
21363 (do_test): Likewise.
21364 * string/test-memcpy.c (do_one_test): Likewise.
21365 (do_test): Likewise.
21366 * string/test-memmem.c (do_one_test): Likewise.
21367 (do_test): Likewise.
21368 (do_random_tests): Likewise.
21369 * string/test-memmove.c (do_one_test): Likewise.
21370 (do_test): Likewise.
21371 * string/test-memset.c (do_one_test): Likewise.
21372 (do_test): Likewise.
21373 * string/test-rawmemchr.c (do_one_test): Likewise.
21374 (do_test): Likewise.
21375 * string/test-strcasecmp.c (do_one_test): Likewise.
21376 (do_test): Likewise.
21377 * string/test-strcasestr.c (do_one_test): Likewise.
21378 (do_test): Likewise.
21379 * string/test-strcat.c (do_one_test): Likewise.
21380 (do_test): Likewise.
21381 * string/test-strchr.c (do_one_test): Likewise.
21382 (do_test): Likewise.
21383 * string/test-strcmp.c (do_one_test): Likewise.
21384 (do_test): Likewise.
21385 * string/test-strcpy.c (do_one_test): Likewise.
21386 (do_test): Likewise.
21387 * string/test-string.h: Likewise.
21388 (test_init): Likewise.
21389 * string/test-strlen.c (do_one_test): Likewise.
21390 (do_test): Likewise.
21391 * string/test-strncasecmp.c (do_one_test): Likewise.
21392 (do_test): Likewise.
21393 * string/test-strncat.c (do_one_test): Likewise.
21394 (do_test): Likewise.
21395 * string/test-strncmp.c (do_one_test): Likewise.
21396 (do_test_limit): Likewise.
21397 (do_test): Likewise.
21398 * string/test-strncpy.c (do_one_test): Likewise.
21399 (do_test): Likewise.
21400 * string/test-strnlen.c (do_one_test): Likewise.
21401 (do_test): Likewise.
21402 * string/test-strpbrk.c (do_one_test): Likewise.
21403 (do_test): Likewise.
21404 * string/test-strrchr.c (do_one_test): Likewise.
21405 (do_test): Likewise.
21406 * string/test-strspn.c (do_one_test): Likewise.
21407 (do_test): Likewise.
21408 * string/test-strstr.c (do_one_test): Likewise.
21409 (do_test): Likewise.
21410
97020474
SP
21411 * benchtests/Makefile (string-bench): Add string benchmarks.
21412 * benchtests/bench-bcopy-ifunc.c: New file.
21413 * benchtests/bench-bcopy.c: New file.
21414 * benchtests/bench-bzero-ifunc.c: New file.
21415 * benchtests/bench-bzero.c: New file.
21416 * benchtests/bench-memccpy-ifunc.c: New file.
21417 * benchtests/bench-memccpy.c: New file.
21418 * benchtests/bench-memchr-ifunc.c: New file.
21419 * benchtests/bench-memchr.c: New file.
21420 * benchtests/bench-memcmp-ifunc.c: New file.
21421 * benchtests/bench-memcmp.c: New file.
21422 * benchtests/bench-memmem-ifunc.c: New file.
21423 * benchtests/bench-memmem.c: New file.
21424 * benchtests/bench-memmove-ifunc.c: New file.
21425 * benchtests/bench-memmove.c: New file.
21426 * benchtests/bench-mempcpy-ifunc.c: New file.
21427 * benchtests/bench-mempcpy.c: New file.
21428 * benchtests/bench-memset-ifunc.c: New file.
21429 * benchtests/bench-memset.c: New file.
21430 * benchtests/bench-rawmemchr-ifunc.c: New file.
21431 * benchtests/bench-rawmemchr.c: New file.
21432 * benchtests/bench-stpcpy-ifunc.c: New file.
21433 * benchtests/bench-stpcpy.c: New file.
21434 * benchtests/bench-stpncpy-ifunc.c: New file.
21435 * benchtests/bench-stpncpy.c: New file.
21436 * benchtests/bench-strcasecmp-ifunc.c: New file.
21437 * benchtests/bench-strcasecmp.c: New file.
21438 * benchtests/bench-strcasestr-ifunc.c: New file.
21439 * benchtests/bench-strcasestr.c: New file.
21440 * benchtests/bench-strcat-ifunc.c: New file.
21441 * benchtests/bench-strcat.c: New file.
21442 * benchtests/bench-strchr-ifunc.c: New file.
21443 * benchtests/bench-strchr.c: New file.
21444 * benchtests/bench-strchrnul-ifunc.c: New file.
21445 * benchtests/bench-strchrnul.c: New file.
21446 * benchtests/bench-strcmp-ifunc.c: New file.
21447 * benchtests/bench-strcmp.c: New file.
21448 * benchtests/bench-strcpy-ifunc.c: New file.
21449 * benchtests/bench-strcpy.c: New file.
21450 * benchtests/bench-strcspn-ifunc.c: New file.
21451 * benchtests/bench-strcspn.c: New file.
21452 * benchtests/bench-strlen-ifunc.c: New file.
21453 * benchtests/bench-strlen.c: New file.
21454 * benchtests/bench-strncasecmp-ifunc.c: New file.
21455 * benchtests/bench-strncasecmp.c: New file.
21456 * benchtests/bench-strncat-ifunc.c: New file.
21457 * benchtests/bench-strncat.c: New file.
21458 * benchtests/bench-strncmp-ifunc.c: New file.
21459 * benchtests/bench-strncmp.c: New file.
21460 * benchtests/bench-strncpy-ifunc.c: New file.
21461 * benchtests/bench-strncpy.c: New file.
21462 * benchtests/bench-strnlen-ifunc.c: New file.
21463 * benchtests/bench-strnlen.c: New file.
21464 * benchtests/bench-strpbrk-ifunc.c: New file.
21465 * benchtests/bench-strpbrk.c: New file.
21466 * benchtests/bench-strrchr-ifunc.c: New file.
21467 * benchtests/bench-strrchr.c: New file.
21468 * benchtests/bench-strspn-ifunc.c: New file.
21469 * benchtests/bench-strspn.c: New file.
21470 * benchtests/bench-strstr-ifunc.c: New file.
21471 * benchtests/bench-strstr.c: New file.
21472
c1f75dc3
SP
21473 * benchtests/Makefile: Disable parallel execution of targets.
21474 (string-bench): Add memcpy.
21475 (benchset): New variable to store a list of benchmark sets.
21476 (bench-func): Renamed from bench.
21477 (bench-set): New target.
21478 (bench): Depend on bench-func and bench-set.
21479 * benchtests/README: Add section on benchmark sets.
21480 * benchtests/bench-memcpy-ifunc.c: New file.
21481 * benchtests/bench-memcpy.c: New file.
21482 * benchtests/bench-string.h: New file.
21483
50fd745b
AS
214842013-06-11 Andreas Schwab <schwab@suse.de>
21485
21486 [BZ #15577]
21487 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
21488 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
21489 values in the triple.
21490 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
21491 terminator in the group key.
21492
3ee7e9fe
AJ
214932013-06-11 Andreas Jaeger <aj@suse.de>
21494
21495 * po/zh_TW.po: Update Chinese (traditional) translation from
21496 translation project.
21497
89fb6835
SP
214982013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21499
21500 * include/time.h (__clock_gettime): Add libc_hidden_proto.
21501 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
21502 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
21503 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21504 (clock_getcpuclockid): Likewise.
21505 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
21506 Add weak_alias and libc_hidden_def.
21507 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
21508 * rt/clock_gettime.c (clock_gettime): Rename to
21509 __clock_gettime. Add weak_alias and libc_hidden_def.
21510 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
21511 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
21512 __clock_nanosleep. Add weak_alias and libc_hidden_def.
21513 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
21514 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
21515 Likewise.
21516 * rt/clock_settime.c (clock_settime): Rename to
21517 __clock_settime. Add weak_alias and libc_hidden_def.
21518 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
21519
0efa6f8b
JM
215202013-06-10 Joseph Myers <joseph@codesourcery.com>
21521
b8c61b4b
JM
21522 * mach/err_boot.sub: Remove trailing whitespace.
21523 * mach/err_ipc.sub: Likewise.
21524 * mach/err_mach.sub: Likewise.
21525
0efa6f8b
JM
21526 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
21527 (ROUNDING_TESTS_double): Likewise.
21528 (ROUNDING_TESTS_long_double): Likewise.
21529 (ROUNDING_TESTS): Likewise.
21530 * math/libm-test.inc: Include <math-tests.h>.
21531 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
21532 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21533 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21534 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21535
50b818bf
SP
215362013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21537
21538 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
21539 of assigning.
21540
60d2f8f3
JM
215412013-06-08 Joseph Myers <joseph@codesourcery.com>
21542
4902d2c3
JM
21543 * sysdeps/gnu/errlist.awk: Do not generate space at end of
21544 otherwise empty TRANS lines.
21545 * sysdeps/gnu/errlist.c: Regenerated.
21546
60d2f8f3
JM
21547 * catgets/gencat.c (error_print): Use (void) in function
21548 definition.
21549 * crypt/crypt_util.c (__init_des): Likewise.
21550 * crypt/speeds.c (Stop): Likewise.
21551 (main): Likewise.
21552 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
21553 * inet/ruserpass.c (token): Likewise.
21554 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
21555 * intl/localealias.c (extend_alias_table): Likewise.
21556 * intl/plural-exp.c (init_germanic_plural): Likewise.
21557 * libio/fcloseall.c (__fcloseall): Likewise.
21558 * libio/genops.c (_IO_flush_all): Likewise.
21559 (_IO_flush_all_linebuffered): Likewise.
21560 (_IO_cleanup): Likewise.
21561 (_IO_iter_begin): Likewise.
21562 (_IO_iter_end): Likewise.
21563 (_IO_list_lock): Likewise.
21564 (_IO_list_unlock): Likewise.
21565 (_IO_list_resetlock): Likewise.
21566 * libio/getchar.c (getchar): Likewise.
21567 * libio/getchar_u.c (getchar_unlocked): Likewise.
21568 * libio/getwchar.c (getwchar): Likewise.
21569 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
21570 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
21571 * login/getpt.c (__getpt): Likewise.
21572 * login/tst-utmp.c (main): Likewise.
21573 * malloc/hooks.c (__malloc_check_init): Likewise.
21574 * malloc/malloc.c (__malloc_stats): Likewise.
21575 * malloc/mtrace.c (tr_break): Likewise.
21576 (mtrace): Likewise.
21577 (muntrace): Likewise.
21578 * misc/fstab.c (endfsent): Likewise.
21579 * misc/getclktck.c (__getclktck): Likewise.
21580 * misc/getdtsz.c (__getdtablesize): Likewise.
21581 * misc/gethostid.c (gethostid): Likewise.
21582 * misc/getpagesize.c (__getpagesize): Likewise.
21583 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
21584 (__get_nprocs): Likewise.
21585 (__get_phys_pages): Likewise.
21586 (__get_avphys_pages): Likewise.
21587 * misc/getttyent.c (getttyent): Likewise.
21588 (setttyent): Likewise.
21589 (endttyent): Likewise.
21590 * misc/getusershell.c (getusershell): Likewise.
21591 (endusershell): Likewise.
21592 (setusershell): Likewise.
21593 (initshells): Likewise.
21594 * misc/hsearch.c (__hdestroy): Likewise.
21595 * misc/sync.c (sync): Likewise.
21596 * misc/syslog.c (closelog_internal): Likewise.
21597 (closelog): Likewise.
21598 * misc/ttyslot.c (ttyslot): Likewise.
21599 * misc/vhangup.c (vhangup): Likewise.
21600 * posix/fork.c (__fork): Likewise.
21601 * posix/getegid.c (__getegid): Likewise.
21602 * posix/geteuid.c (__geteuid): Likewise.
21603 * posix/getgid.c (__getgid): Likewise.
21604 * posix/getpid.c (__getpid): Likewise.
21605 * posix/getppid.c (__getppid): Likewise.
21606 * posix/getuid.c (__getuid): Likewise.
21607 * posix/pause.c (pause): Likewise.
21608 * posix/setpgrp.c (setpgrp): Likewise.
21609 * posix/setsid.c (__setsid): Likewise.
21610 * posix/test-vfork.c (noop): Likewise.
21611 * resolv/gethnamaddr.c (_endhtent): Likewise.
21612 (_gethtent): Likewise.
21613 (ht_endhostent): Likewise.
21614 (gethostent): Likewise.
21615 (dns_service): Likewise.
21616 * stdlib/drand48.c (drand48): Likewise.
21617 * stdlib/lrand48.c (lrand48): Likewise.
21618 * stdlib/mrand48.c (mrand48): Likewise.
21619 * stdlib/rand.c (rand): Likewise.
21620 * stdlib/random.c (__random): Likewise.
21621 * stdlib/setenv.c (clearenv): Likewise.
21622 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
21623 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
21624 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
21625 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
21626 (__get_nprocs): Likewise.
21627 (__get_phys_pages): Likewise.
21628 (__get_avphys_pages): Likewise.
21629 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
21630 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
21631 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
21632 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
21633 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
21634 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
21635 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
21636 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
21637 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
21638 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
21639 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
21640 * sysdeps/mach/hurd/sync.c (sync): Likewise.
21641 * sysdeps/posix/clock.c (clock): Likewise.
21642 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
21643 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
21644 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
21645 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
21646 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
21647 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
21648 (__get_nprocs_conf): Likewise.
21649 (__get_phys_pages): Likewise.
21650 (__get_avphys_pages): Likewise.
21651 * time/clock.c (clock): Likewise.
21652 * time/tzset.c (__tzname_max): Likewise.
21653
2e09a79a
JM
216542013-06-07 Joseph Myers <joseph@codesourcery.com>
21655
21656 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
21657 (__bswap_32): Do not use "register".
21658 * crypt/crypt.c (_ufc_doit_r): Likewise.
21659 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21660 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21661 * gmon/gmon.c (__monstartup): Likewise.
21662 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
21663 * hurd/hurdmalloc.c (more_memory): Likewise.
21664 (malloc): Likewise.
21665 (free): Likewise.
21666 (realloc): Likewise.
21667 (malloc_fork_prepare): Likewise.
21668 (malloc_fork_parent): Likewise.
21669 (malloc_fork_child): Likewise.
21670 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
21671 (_svcauth_des): Likewise.
21672 * inet/inet_lnaof.c (inet_lnaof): Likewise.
21673 * inet/inet_net.c (inet_network): Likewise.
21674 * inet/inet_netof.c (inet_netof): Likewise.
21675 * inet/rcmd.c (__validuser2_sa): Likewise.
21676 * io/fts.c (fts_open): Likewise.
21677 (fts_load): Likewise.
21678 (fts_close): Likewise.
21679 (fts_read): Likewise.
21680 (fts_children): Likewise.
21681 (fts_build): Likewise.
21682 (fts_stat): Likewise.
21683 (fts_sort): Likewise.
21684 (fts_alloc): Likewise.
21685 (fts_lfree): Likewise.
21686 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
21687 (_IO_file_xsgetn): Likewise.
21688 (_IO_file_xsgetn_mmap): Likewise.
21689 * libio/iofopncook.c (_IO_cookie_read): Likewise.
21690 (_IO_cookie_write): Likewise.
21691 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
21692 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
21693 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
21694 * malloc/obstack.c (_obstack_begin): Likewise.
21695 (_obstack_begin_1): Likewise.
21696 (_obstack_newchunk): Likewise.
21697 (_obstack_allocated_p): Likewise.
21698 (obstack_free): Likewise.
21699 (_obstack_memory_used): Likewise.
21700 * misc/getttyent.c (getttynam): Likewise.
21701 (getttyent): Likewise.
21702 (skip): Likewise.
21703 (value): Likewise.
21704 * misc/getusershell.c (initshells): Likewise.
21705 * misc/syslog.c (__vsyslog_chk): Likewise.
21706 * misc/ttyslot.c (ttyslot): Likewise.
21707 * nis/nis_hash.c (__nis_hash): Likewise.
21708 * posix/fnmatch_loop.c (FCT): Likewise.
21709 * posix/getconf.c (print_all): Likewise.
21710 (main): Likewise.
21711 * posix/getopt.c (exchange): Likewise.
21712 * posix/glob.c (globfree): Likewise.
21713 (prefix_array): Likewise.
21714 (__glob_pattern_type): Likewise.
21715 * resolv/arpa/nameser.h (NS_GET16): Likewise.
21716 (NS_GET32): Likewise.
21717 (NS_PUT16): Likewise.
21718 (NS_PUT32): Likewise.
21719 * resolv/gethnamaddr.c (getanswer): Likewise.
21720 (gethostbyname2): Likewise.
21721 (gethostbyaddr): Likewise.
21722 (_gethtent): Likewise.
21723 (_gethtbyname2): Likewise.
21724 (_gethtbyaddr): Likewise.
21725 * resolv/ns_print.c (dst_s_get_int16): Likewise.
21726 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21727 * resolv/res_init.c (__res_vinit): Likewise.
21728 (net_mask): Likewise.
21729 * resolv/res_mkquery.c (outchar): Likewise.
21730 (PRINT): Likewise.
21731 * stdio-common/printf_fp.c (outchar): Likewise.
21732 (PRINT): Likewise.
21733 * stdio-common/printf_fphex.c (outchar): Likewise.
21734 (PRINT): Likewise.
21735 * stdio-common/printf_size.c (outchar): Likewise.
21736 (PRINT): Likewise.
21737 * stdio-common/test_rdwr.c (main): Likewise.
21738 * stdio-common/tfformat.c (matches): Likewise.
21739 * stdio-common/vfprintf.c (outchar): Likewise.
21740 (printf_unknown): Likewise.
21741 (buffered_vfprintf): Likewise.
21742 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21743 * stdio-common/xbug.c (AppendToBuffer): Likewise.
21744 (ReadFile): Likewise.
21745 * stdlib/qsort.c (SWAP): Likewise.
21746 (_quicksort): Likewise.
21747 * stdlib/setenv.c (__add_to_environ): Likewise.
21748 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21749 * stdlib/strtol_l.c (__strtol_l): Likewise.
21750 * stdlib/tst-strtod.c (main): Likewise.
21751 * stdlib/tst-strtol.c (main): Likewise.
21752 * stdlib/tst-strtoll.c (main): Likewise.
21753 * string/bits/string2.h (__strcmp_cc): Likewise.
21754 (__strcmp_cg): Likewise.
21755 (__strcspn_c1): Likewise.
21756 (__strcspn_c2): Likewise.
21757 (__strcspn_c3): Likewise.
21758 (__strspn_c1): Likewise.
21759 (__strspn_c2): Likewise.
21760 (__strspn_c3): Likewise.
21761 (__strsep_1c): Likewise.
21762 (__strsep_2c): Likewise.
21763 (__strsep_3c): Likewise.
21764 * string/memccpy.c (__memccpy): Likewise.
21765 * string/stpcpy.c (__stpcpy): Likewise.
21766 * string/strcmp.c (strcmp): Likewise.
21767 * string/strrchr.c (strrchr): Likewise.
21768 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
21769 Likewise.
21770 * sysdeps/mach/hurd/getcwd.c
21771 (_hurd_canonicalize_directory_name_internal): Likewise.
21772 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
21773 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
21774 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
21775 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
21776 Likewise, in both definitions.
21777 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
21778 definitions.
21779 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
21780 64] (__bswap_64): Likewise.
21781 * time/test_time.c (main): Likewise.
21782 * time/tzfile.c (__tzfile_read): Likewise.
21783 (__tzfile_compute): Likewise.
21784 * time/tzset.c (__tzset_parse_tz): Likewise.
21785 (tzset_internal): Likewise.
21786 (compute_change): Likewise.
21787 * wcsmbs/wcscat.c (__wcscat): Likewise.
21788 * wcsmbs/wcschr.c (wcschr): Likewise.
21789 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21790 * wcsmbs/wcscspn.c (wcscspn): Likewise.
21791 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21792 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
21793 * wcsmbs/wcsspn.c (wcsspn): Likewise.
21794 * wcsmbs/wcsstr.c (wcsstr): Likewise.
21795 * wcsmbs/wmemchr.c (wmemchr): Likewise.
21796 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21797 * wcsmbs/wmemset.c (wmemset): Likewise.
21798
9e54314b
JM
217992013-06-06 Joseph Myers <joseph@codesourcery.com>
21800
21801 * scripts/config.guess: Update to version 2013-05-16.
21802 * scripts/config.sub: Update to version 2013-04-24.
21803 * scripts/install-sh: Update to version 2011-11-20.07.
21804 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
21805 * scripts/move-if-change: Update to version 2012-01-06 07:23.
21806
350635a5
OB
218072013-06-06 Ondřej Bílka <neleai@seznam.cz>
21808
21809 * debug/fgetws_u_chk.c: Fix leading whitespaces.
21810 * elf/sln.c: Likewise.
21811 * hurd/hurd/ioctl.h: Likewise.
21812 * hurd/hurdmalloc.c: Likewise.
21813 * hurd/xattr.c: Likewise.
21814 * include/shlib-compat.h: Likewise.
21815 * inet/ruserpass.c: Likewise.
21816 * libio/iofgets_u.c: Likewise.
21817 * libio/iofgetws_u.c: Likewise.
21818 * locale/programs/ld-identification.c: Likewise.
21819 * locale/programs/ld-time.c: Likewise.
21820 * mach/msg-destroy.c: Likewise.
21821 * nss/nss_files/files-netgrp.c: Likewise.
21822 * resolv/res_data.c: Likewise.
21823 * soft-fp/op-1.h: Likewise.
21824 * soft-fp/op-2.h: Likewise.
21825 * soft-fp/op-4.h: Likewise.
21826 * soft-fp/op-common.h: Likewise.
21827 * stdio-common/printf_fphex.c: Likewise.
21828 * stdlib/strtod_l.c: Likewise.
21829 * sunrpc/rpc/clnt.h: Likewise.
21830 * sysdeps/generic/framestate.c: Likewise.
21831 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21832 * sysdeps/i386/bsd-setjmp.S: Likewise.
21833 * sysdeps/i386/__longjmp.S: Likewise.
21834 * sysdeps/i386/setjmp.S: Likewise.
21835 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21836 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21837 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21838 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21839 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21840 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21841 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21842 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21843 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21844 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21845 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21846 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21847 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21848 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21849 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21850 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21851 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21852 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
21853 * sysdeps/ieee754/support.c: Likewise.
21854 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21855 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
21856 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
21857 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
21858 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
21859 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
21860 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
21861 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
21862 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
21863 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
21864 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
21865 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
21866 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
21867 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
21868 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
21869 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
21870 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21872
44a988af
OB
218732013-06-05 Ondřej Bílka <neleai@seznam.cz>
21874
25506f09 21875 * posix/transbug.c: Remove executable mode.
44a988af 21876
9c84384c
JM
218772013-06-05 Joseph Myers <joseph@codesourcery.com>
21878
21879 * crypt/speeds.c: Remove trailing whitespace.
21880 * dlfcn/default.c: Likewise.
21881 * elf/ifuncdep2.c: Likewise.
21882 * elf/ifuncmain1.c: Likewise.
21883 * elf/ifuncmain1vis.c: Likewise.
21884 * elf/testobj.h: Likewise.
21885 * elf/tst-stackguard1.c: Likewise.
21886 * gmon/sys/gmon.h: Likewise.
21887 * hurd/hurdmsg.c: Likewise.
21888 * hurd/new-fd.c: Likewise.
21889 * hurd/ports-get.c: Likewise.
21890 * iconvdata/ibm1008_420.c: Likewise.
21891 * inet/tst-getni1.c: Likewise.
21892 * inet/tst-getni2.c: Likewise.
21893 * libio/ioungetc.c: Likewise.
21894 * libio/wfiledoalloc.c: Likewise.
21895 * manual/libm-err-tab.pl: Likewise.
21896 * math/w_dremf.c: Likewise.
21897 * misc/ftruncate.c: Likewise.
21898 * posix/bug-glob2.c: Likewise.
21899 * posix/tst-pcre.c: Likewise.
21900 * posix/wait4.c: Likewise.
21901 * resolv/README: Likewise.
21902 * resolv/res_debug.h: Likewise.
21903 * resolv/tst-inet_ntop.c: Likewise.
21904 * setjmp/bug269-setjmp.c: Likewise.
21905 * soft-fp/extended.h: Likewise.
21906 * soft-fp/op-1.h: Likewise.
21907 * soft-fp/op-2.h: Likewise.
21908 * soft-fp/op-4.h: Likewise.
21909 * soft-fp/op-8.h: Likewise.
21910 * soft-fp/testit.c: Likewise.
21911 * stdio-common/bug16.c: Likewise.
21912 * stdlib/random.c: Likewise.
21913 * sunrpc/rpcsvc/rquota.x: Likewise.
21914 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21915 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21916 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21917 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21918 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21919 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21920 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21921 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21922 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21923 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21924 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21925 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21926 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21927 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21928 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21929 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21930 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21931 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21932 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21933 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21934 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21935 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21936 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21937 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21938 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21939 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21940 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21941 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21942 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21943 * sysdeps/ieee754/s_lib_version.c: Likewise.
21944 * sysdeps/mach/hurd/check_fds.c: Likewise.
21945 * sysdeps/mach/hurd/getsockname.c: Likewise.
21946 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21947 * sysdeps/mach/hurd/recvfrom.c: Likewise.
21948 * sysdeps/powerpc/bits/link.h: Likewise.
21949 * sysdeps/powerpc/dl-procinfo.c: Likewise.
21950 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21951 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21952 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21953 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21954 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21955 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21956 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21957 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21958 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21959 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21960 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21961 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21962 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21963 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21964 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21965 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21966 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21967 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21968 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21969 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21970 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21971 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21972 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21973 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21974 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21975 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21976 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21977 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21978 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21979 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21980 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21981 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21982 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21983 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21984 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21985 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21986 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21987 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21988 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21989 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21990 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21991 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21992 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21993 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21994 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21995 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21996 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21997 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21998 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21999 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22000 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22001 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22002 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22003 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
22004 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
22005 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
22006 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22007 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
22008 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
22009 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
22010 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
22011 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
22012 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22013 * sysdeps/powerpc/sysdep.h: Likewise.
22014 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22015 * sysdeps/s390/s390-64/sub_n.S: Likewise.
22016 * sysdeps/sh/dl-trampoline.S: Likewise.
22017 * sysdeps/sh/memset.S: Likewise.
22018 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
22019 * sysdeps/sh/strlen.S: Likewise.
22020 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
22021 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
22022 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
22023 * sysdeps/sparc/sparc32/rem.S: Likewise.
22024 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
22025 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
22026 * sysdeps/sparc/sparc32/strchr.S: Likewise.
22027 * sysdeps/sparc/sparc32/udiv.S: Likewise.
22028 * sysdeps/sparc/sparc32/urem.S: Likewise.
22029 * sysdeps/sparc/sparc64/add_n.S: Likewise.
22030 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22031 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
22032 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
22033 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
22034 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
22035 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
22036 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
22037 * sysdeps/unix/bsd/times.c: Likewise.
22038 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
22039 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
22040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
22041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
22042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
22043 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
22044 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22045 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
22046 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
22047 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
22048 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
22049 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22050 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
22051 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22052 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22053 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
22054 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22055 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
22056 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
22057 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
22058 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
22059 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
22060 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22061 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
22062 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
22063 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
22064 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
22065 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22066 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
22067 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
22068 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
22069 * sysdeps/x86_64/strcspn.S: Likewise.
22070
869378a5
RA
220712013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22072
22073 * locale/C-translit.h: Revert #include <stdint.h> because this is a
22074 generated file. Regenerate properly from gen-translit.pl.
22075 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
22076 locale/C-translit.h.
22077
840e2943
AS
220782013-06-05 Andreas Schwab <schwab@suse.de>
22079
22080 [BZ #15100]
22081 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
22082 week as 6 instead of -1.
22083 * time/tst-strptime.c (day_tests): Add test case.
22084
4c60cb0c
SP
220852013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22086
22087 * sysdeps/generic/math_private.h
22088 (libc_feholdexcept_setround_53bit): Replace with
22089 libc_feholdsetround_53bit.
22090 (libc_feupdateenv_53bit): Replace with
22091 libc_feresetround_53bit.
22092 (SET_RESTORE_ROUND_53BIT): Adjust.
22093
d180203e
SP
220942013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22095
96df079a
SP
22096 * string/test-strchrnul.c: Add copyright header.
22097
d180203e
SP
22098 * posix/tst-getaddrinfo4.c: Increase test timeout.
22099
8b0ccb2d
CD
221002013-06-03 Carlos O'Donell <carlos@redhat.com>
22101
22102 [BZ #15536]
22103 * math/libm-test.inc (MAX_EXP): Remove
22104 (MIN_EXP): Define.
22105 (ulp): Use MIN_EXP - MANT_DIG.
22106 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
22107
3b3c4d40
CD
221082013-05-31 Carlos O'Donell <carlos@redhat.com>
22109
22110 * po/be.po: Revert last change.
22111 * po/zh_CN.po: Likewise.
22112 * po/header.pot: Likewise.
22113
fab7ce3f
JM
221142013-05-31 Joseph Myers <joseph@codesourcery.com>
22115
22116 * Makefile ($(common-objpfx)linkobj/libc.so): Define
22117 link-libc-deps to empty as target-specific variable.
22118 * Makerules (link-libc-args): New variable.
22119 (libc-for-link): Likewise.
22120 (link-libc-deps): Likewise.
22121 (lib%.so): Depend on $(link-libc-deps). Link with
22122 $(link-libc-args).
22123 (build-module): Link with $(link-libc-args).
22124 (build-module-asneeded): Likewise.
22125 (build-module-helper-objlist): Filter out $(link-libc-deps) from
22126 list of objects.
22127 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
22128 target-specific variable.
22129 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
22130 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
22131 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
22132 libc.
22133 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
22134 libc and ld.so.
22135 ($(objpfx)libpcprofile.so): Likewise.
22136 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
22137 libc_nonshared.a.
22138 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
22139 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
22140 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
22141 $(link-libc-deps).
22142 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
22143 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
22144 * login/Makefile ($(objpfx)libutil.so): Likewise.
22145 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
22146 * math/Makefile ($(objpfx)libm.so): Likewise.
22147 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
22148 $(objpfx)libnsl.so): Define libc-for-link as target-specific
22149 variable instead of depending directly on libc.
22150 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
22151 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
22152 $(link-libc-deps).
22153 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
22154 libc.
22155 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
22156 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
22157 ($(objpfx)libanl.so): Likewise.
22158 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
22159 ld.so.
22160 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
22161 $(link-libc-deps).
22162 * sysdeps/i386/fpu/Makefile: Remove file.
22163 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
22164 ($(objpfx)libm.so): Remove dependency on ld.so.
22165
eca5920c
PF
221662013-05-30 Patsy Franklin <pfrankli@redhat.com>
22167
22168 [BZ # 15553]
22169 * nis/yp_xdr.c (XDRMAXNAME): Define.
22170 (XDRMAXRECORD): Define.
22171 (xdr_domainname): Use XDRMAXNAME.
22172 (xdr_mapname): Likewise.
22173 (xdr_peername): Likewise.
22174 (xdr_keydat): Use XDRMAXRECORD.
22175 (xdr_valdat): Likewise.
22176
221772013-05-30 Jeff Law <law@redhat.com>
96945714
JL
22178
22179 [BZ #14256]
22180 * manual/errno.texi (ESTALE): Update to account for more than
22181 just NFS file systems.
22182 * sysdeps/gnu/errlist.c: Regenerated.
22183
b9375348
SP
221842013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22185
22186 [BZ #15465]
22187 * elf/Makefile (tests): Add tst-null-argv.
22188 (modules-names): Add tst-null-argv-lib.
22189 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
22190 (tst-null-argv-ENV): Set environment for tst-null-argv.
22191 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
22192 (RTLD_PROGNAME): New macro.
22193 * elf/tst-null-argv.c: New test case.
22194 * elf/tst-null-argv-lib.c: Library for test case.
22195 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
22196 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
22197 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
22198 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
22199 * elf/dl-init.c (call_init): Likewise.
22200 (_dl_init): Likewise.
22201 * elf/dl-load.c (print_search_path): Likewise.
22202 (_dl_map_object): Likewise.
22203 * elf/dl-lookup.c (do_lookup_x): Likewise.
22204 (add_dependency): Likewise.
22205 (_dl_lookup_symbol_x): Likewise.
22206 (_dl_debug_bindings): Likewise.
22207 * elf/dl-open.c (_dl_show_scope): Likewise.
22208 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22209 * elf/dl-version.c (match_symbol): Likewise.
22210 (_dl_check_map_versions): Likewise.
22211 * elf/rtld.c (dl_main): Likewise.
22212 (print_unresolved): Use RTLD_PROGNAME.
22213 (print_missing_version): Likewise.
22214 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
22215 (elf_machine_rela): Likewise.
22216 * sysdeps/powerpc/powerpc32/dl-machine.c
22217 (__process_machine_rela): Likewise.
22218 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22219 Likewise.
22220 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22221 Likewise.
22222 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
22223 Likewise.
22224 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22225 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
22226 Likewise.
22227 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
22228 Likewise.
22229 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22230
8a9f20c8
CD
222312013-05-28 Carlos O'Donell <carlos@redhat.com>
22232
22233 * po/be.po: Add descriptive title.
22234 * po/zh_CN.po: Likewise.
22235 * po/header.pot: Likewise.
22236
0e60d68e
MF
222372013-05-28 Mike Frysinger <vapier@gentoo.org>
22238
22239 * locale/programs/locarchive.c (create_archive): Inlucde fname in
22240 error message.
22241 (enlarge_archive): Likewise.
22242
56b672e9
BN
222432013-05-28 Ben North <ben@redfrontdoor.org>
22244
22245 * manual/arith.texi (frexp): It is the magnitude of the return
22246 value which lies in [0.5, 1), not the return value itself.
22247
5e056687
AZ
222482013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22249
22250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22251
2b66ef5d
TS
222522013-05-26 Thomas Schwinge <thomas@codesourcery.com>
22253
528c2405
TS
22254 * stdio-common/bug26.c (main): Correct fscanf template.
22255
07b4c13d
TS
22256 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
22257 declare _dl_skip_args.
22258
ec9dd97c
TS
22259 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
22260 Don't declare.
22261
2b66ef5d
TS
22262 * manual/platform.texi: Add missing @end deftypefun.
22263
4f8dfe27
JM
222642013-05-24 Joseph Myers <joseph@codesourcery.com>
22265
0323d086
JM
22266 [BZ #15529]
22267 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
22268 bit of mantissa of 2^16382.
22269 * math/libm-test.inc (hypot_test_data): Add more tests.
22270
dd4259b9
JM
22271 * math/libm-test.inc: Add drem and pow10 to list of tested
22272 functions.
22273 (pow10_test): New function.
22274 (drem_test): Likewise.
22275 (drem_test_tonearest): Likewise.
22276 (drem_test_towardzero): Likewise.
22277 (drem_test_downward): Likewise.
22278 (drem_test_upward): Likewise.
22279 (main): Call the new functions.
22280
4f8dfe27
JM
22281 * math/libm-test.inc (finite_test_data): Remove.
22282 (finite_test): Run tests from isfinite_test_data.
22283 (gamma_test_data): Remove.
22284 (gamma_test): Run tests from lgamma_test_data.
22285 * sysdeps/i386/fpu/libm-test-ulps: Update.
22286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22287
d116b7c4
AZ
222882013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22289
22290 * manual/platform.texi: Add PowerPC PPR function set documentation.
22291 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
22292 implementation.
22293
e96e3767
CD
222942013-05-24 Carlos O'Donell <carlos@redhat.com>
22295
22296 * math/libm-test.inc (MAX_EXP): Define.
22297 (ULPDIFF): Define.
22298 (ulp): New function.
22299 (check_float_internal): Use ULPDIFF.
22300 (cpow_test): Disable failing test.
22301 (check_ulp): Test ulp() implemetnation.
22302 (main): Call check_ulp before starting tests.
22303
b679a606
JM
223042013-05-24 Joseph Myers <joseph@codesourcery.com>
22305
e8bdba36
JM
22306 * math/gen-libm-test.pl (generate_testfile): Do not handle
22307 START_DATA and END_DATA.
22308 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
22309 END_DATA.
22310 (acos_tonearest_test_data): Likewise.
22311 (acos_towardzero_test_data): Likewise.
22312 (acos_downward_test_data): Likewise.
22313 (acos_upward_test_data): Likewise.
22314 (acosh_test_data): Likewise.
22315 (asin_test_data): Likewise.
22316 (asin_tonearest_test_data): Likewise.
22317 (asin_towardzero_test_data): Likewise.
22318 (asin_downward_test_data): Likewise.
22319 (asin_upward_test_data): Likewise.
22320 (asinh_test_data): Likewise.
22321 (atan_test_data): Likewise.
22322 (atanh_test_data): Likewise.
22323 (atan2_test_data): Likewise.
22324 (cabs_test_data): Likewise.
22325 (cacos_test_data): Likewise.
22326 (cacosh_test_data): Likewise.
22327 (carg_test_data): Likewise.
22328 (casin_test_data): Likewise.
22329 (casinh_test_data): Likewise.
22330 (catan_test_data): Likewise.
22331 (catanh_test_data): Likewise.
22332 (cbrt_test_data): Likewise.
22333 (ccos_test_data): Likewise.
22334 (ccosh_test_data): Likewise.
22335 (ceil_test_data): Likewise.
22336 (cexp_test_data): Likewise.
22337 (cimag_test_data): Likewise.
22338 (clog_test_data): Likewise.
22339 (clog10_test_data): Likewise.
22340 (conj_test_data): Likewise.
22341 (copysign_test_data): Likewise.
22342 (cos_test_data): Likewise.
22343 (cos_tonearest_test_data): Likewise.
22344 (cos_towardzero_test_data): Likewise.
22345 (cos_downward_test_data): Likewise.
22346 (cos_upward_test_data): Likewise.
22347 (cosh_test_data): Likewise.
22348 (cosh_tonearest_test_data): Likewise.
22349 (cosh_towardzero_test_data): Likewise.
22350 (cosh_downward_test_data): Likewise.
22351 (cosh_upward_test_data): Likewise.
22352 (cpow_test_data): Likewise.
22353 (cproj_test_data): Likewise.
22354 (creal_test_data): Likewise.
22355 (csin_test_data): Likewise.
22356 (csinh_test_data): Likewise.
22357 (csqrt_test_data): Likewise.
22358 (ctan_test_data): Likewise.
22359 (ctan_tonearest_test_data): Likewise.
22360 (ctan_towardzero_test_data): Likewise.
22361 (ctan_downward_test_data): Likewise.
22362 (ctan_upward_test_data): Likewise.
22363 (ctanh_test_data): Likewise.
22364 (ctanh_tonearest_test_data): Likewise.
22365 (ctanh_towardzero_test_data): Likewise.
22366 (ctanh_downward_test_data): Likewise.
22367 (ctanh_upward_test_data): Likewise.
22368 (erf_test_data): Likewise.
22369 (erfc_test_data): Likewise.
22370 (exp_test_data): Likewise.
22371 (exp_tonearest_test_data): Likewise.
22372 (exp_towardzero_test_data): Likewise.
22373 (exp_downward_test_data): Likewise.
22374 (exp_upward_test_data): Likewise.
22375 (exp10_test_data): Likewise.
22376 (exp2_test_data): Likewise.
22377 (expm1_test_data): Likewise.
22378 (fabs_test_data): Likewise.
22379 (fdim_test_data): Likewise.
22380 (finite_test_data): Likewise.
22381 (floor_test_data): Likewise.
22382 (fma_test_data): Likewise.
22383 (fma_towardzero_test_data): Likewise.
22384 (fma_downward_test_data): Likewise.
22385 (fma_upward_test_data): Likewise.
22386 (fmax_test_data): Likewise.
22387 (fmin_test_data): Likewise.
22388 (fmod_test_data): Likewise.
22389 (fpclassify_test_data): Likewise.
22390 (frexp_test_data): Likewise.
22391 (gamma_test_data): Likewise.
22392 (hypot_test_data): Likewise.
22393 (ilogb_test_data): Likewise.
22394 (isfinite_test_data): Likewise.
22395 (isgreater_test_data): Likewise.
22396 (isgreaterequal_test_data): Likewise.
22397 (isinf_test_data): Likewise.
22398 (isless_test_data): Likewise.
22399 (islessequal_test_data): Likewise.
22400 (islessgreater_test_data): Likewise.
22401 (isnan_test_data): Likewise.
22402 (isnormal_test_data): Likewise.
22403 (issignaling_test_data): Likewise.
22404 (isunordered_test_data): Likewise.
22405 (j0_test_data): Likewise.
22406 (j1_test_data): Likewise.
22407 (jn_test_data): Likewise.
22408 (ldexp_test_data): Likewise.
22409 (lgamma_test_data): Likewise.
22410 (lrint_test_data): Likewise.
22411 (lrint_tonearest_test_data): Likewise.
22412 (lrint_towardzero_test_data): Likewise.
22413 (lrint_downward_test_data): Likewise.
22414 (lrint_upward_test_data): Likewise.
22415 (llrint_test_data): Likewise.
22416 (llrint_tonearest_test_data): Likewise.
22417 (llrint_towardzero_test_data): Likewise.
22418 (llrint_downward_test_data): Likewise.
22419 (llrint_upward_test_data): Likewise.
22420 (log_test_data): Likewise.
22421 (log10_test_data): Likewise.
22422 (log1p_test_data): Likewise.
22423 (log2_test_data): Likewise.
22424 (logb_test_data): Likewise.
22425 (logb_downward_test_data): Likewise.
22426 (lround_test_data): Likewise.
22427 (llround_test_data): Likewise.
22428 (modf_test_data): Likewise.
22429 (nearbyint_test_data): Likewise.
22430 (nextafter_test_data): Likewise.
22431 (nexttoward_test_data): Likewise.
22432 (pow_test_data): Likewise.
22433 (pow_tonearest_test_data): Likewise.
22434 (pow_towardzero_test_data): Likewise.
22435 (pow_downward_test_data): Likewise.
22436 (pow_upward_test_data): Likewise.
22437 (remainder_test_data): Likewise.
22438 (remainder_tonearest_test_data): Likewise.
22439 (remainder_towardzero_test_data): Likewise.
22440 (remainder_downward_test_data): Likewise.
22441 (remainder_upward_test_data): Likewise.
22442 (remquo_test_data): Likewise.
22443 (rint_test_data): Likewise.
22444 (rint_tonearest_test_data): Likewise.
22445 (rint_towardzero_test_data): Likewise.
22446 (rint_downward_test_data): Likewise.
22447 (rint_upward_test_data): Likewise.
22448 (round_test_data): Likewise.
22449 (scalb_test_data): Likewise.
22450 (scalbn_test_data): Likewise.
22451 (scalbln_test_data): Likewise.
22452 (signbit_test_data): Likewise.
22453 (sin_test_data): Likewise.
22454 (sin_tonearest_test_data): Likewise.
22455 (sin_towardzero_test_data): Likewise.
22456 (sin_downward_test_data): Likewise.
22457 (sin_upward_test_data): Likewise.
22458 (sincos_test_data): Likewise.
22459 (sinh_test_data): Likewise.
22460 (sinh_tonearest_test_data): Likewise.
22461 (sinh_towardzero_test_data): Likewise.
22462 (sinh_downward_test_data): Likewise.
22463 (sinh_upward_test_data): Likewise.
22464 (sqrt_test_data): Likewise.
22465 (tan_test_data): Likewise.
22466 (tan_tonearest_test_data): Likewise.
22467 (tan_towardzero_test_data): Likewise.
22468 (tan_downward_test_data): Likewise.
22469 (tan_upward_test_data): Likewise.
22470 (tanh_test_data): Likewise.
22471 (tgamma_test_data): Likewise.
22472 (trunc_test_data): Likewise.
22473 (y0_test_data): Likewise.
22474 (y1_test_data): Likewise.
22475 (yn_test_data): Likewise.
22476 (significand_test_data): Likewise.
22477
b679a606
JM
22478 * math/gen-libm-test.pl (@functions): Remove variable.
22479 (generate_testfile): Don't handle START and END lines.
22480 * math/libm-test.inc (START): New macro.
22481 (END): Likewise.
22482 (END_COMPLEX): Likewise.
22483 (acos_test): Use END macro without arguments.
22484 (acos_test_tonearest): Likewise.
22485 (acos_test_towardzero): Likewise.
22486 (acos_test_downward): Likewise.
22487 (acos_test_upward): Likewise.
22488 (acosh_test): Likewise.
22489 (asin_test): Likewise.
22490 (asin_test_tonearest): Likewise.
22491 (asin_test_towardzero): Likewise.
22492 (asin_test_downward): Likewise.
22493 (asin_test_upward): Likewise.
22494 (asinh_test): Likewise.
22495 (atan_test): Likewise.
22496 (atanh_test): Likewise.
22497 (atan2_test): Likewise.
22498 (cabs_test): Likewise.
22499 (cacos_test): Use END_COMPLEX macro without arguments.
22500 (cacosh_test): Likewise.
22501 (carg_test): Use END macro without arguments.
22502 (casin_test): Use END_COMPLEX macro without arguments.
22503 (casinh_test): Likewise.
22504 (catan_test): Likewise.
22505 (catanh_test): Likewise.
22506 (cbrt_test): Use END macro without arguments.
22507 (ccos_test): Use END_COMPLEX macro without arguments.
22508 (ccosh_test): Likewise.
22509 (ceil_test): Use END macro without arguments.
22510 (cexp_test): Use END_COMPLEX macro without arguments.
22511 (cimag_test): Use END macro without arguments.
22512 (clog_test): Use END_COMPLEX macro without arguments.
22513 (clog10_test): Likewise.
22514 (conj_test): Likewise.
22515 (copysign_test): Use END macro without arguments.
22516 (cos_test): Likewise.
22517 (cos_test_tonearest): Likewise.
22518 (cos_test_towardzero): Likewise.
22519 (cos_test_downward): Likewise.
22520 (cos_test_upward): Likewise.
22521 (cosh_test): Likewise.
22522 (cosh_test_tonearest): Likewise.
22523 (cosh_test_towardzero): Likewise.
22524 (cosh_test_downward): Likewise.
22525 (cosh_test_upward): Likewise.
22526 (cpow_test): Use END_COMPLEX macro without arguments.
22527 (cproj_test): Likewise.
22528 (creal_test): Use END macro without arguments.
22529 (csin_test): Use END_COMPLEX macro without arguments.
22530 (csinh_test): Likewise.
22531 (csqrt_test): Likewise.
22532 (ctan_test): Likewise.
22533 (ctan_test_tonearest): Likewise.
22534 (ctan_test_towardzero): Likewise.
22535 (ctan_test_downward): Likewise.
22536 (ctan_test_upward): Likewise.
22537 (ctanh_test): Likewise.
22538 (ctanh_test_tonearest): Likewise.
22539 (ctanh_test_towardzero): Likewise.
22540 (ctanh_test_downward): Likewise.
22541 (ctanh_test_upward): Likewise.
22542 (erf_test): Use END macro without arguments.
22543 (erfc_test): Likewise.
22544 (exp_test): Likewise.
22545 (exp_test_tonearest): Likewise.
22546 (exp_test_towardzero): Likewise.
22547 (exp_test_downward): Likewise.
22548 (exp_test_upward): Likewise.
22549 (exp10_test): Likewise.
22550 (exp2_test): Likewise.
22551 (expm1_test): Likewise.
22552 (fabs_test): Likewise.
22553 (fdim_test): Likewise.
22554 (finite_test): Likewise.
22555 (floor_test): Likewise.
22556 (fma_test): Likewise.
22557 (fma_test_towardzero): Likewise.
22558 (fma_test_downward): Likewise.
22559 (fma_test_upward): Likewise.
22560 (fmax_test): Likewise.
22561 (fmin_test): Likewise.
22562 (fmod_test): Likewise.
22563 (fpclassify_test): Likewise.
22564 (frexp_test): Likewise.
22565 (gamma_test): Likewise.
22566 (hypot_test): Likewise.
22567 (ilogb_test): Likewise.
22568 (isfinite_test): Likewise.
22569 (isgreater_test): Likewise.
22570 (isgreaterequal_test): Likewise.
22571 (isinf_test): Likewise.
22572 (isless_test): Likewise.
22573 (islessequal_test): Likewise.
22574 (islessgreater_test): Likewise.
22575 (isnan_test): Likewise.
22576 (isnormal_test): Likewise.
22577 (issignaling_test): Likewise.
22578 (isunordered_test): Likewise.
22579 (j0_test): Likewise.
22580 (j1_test): Likewise.
22581 (jn_test): Likewise.
22582 (ldexp_test): Likewise.
22583 (lgamma_test): Likewise.
22584 (lrint_test): Likewise.
22585 (lrint_test_tonearest): Likewise.
22586 (lrint_test_towardzero): Likewise.
22587 (lrint_test_downward): Likewise.
22588 (lrint_test_upward): Likewise.
22589 (llrint_test): Likewise.
22590 (llrint_test_tonearest): Likewise.
22591 (llrint_test_towardzero): Likewise.
22592 (llrint_test_downward): Likewise.
22593 (llrint_test_upward): Likewise.
22594 (log_test): Likewise.
22595 (log10_test): Likewise.
22596 (log1p_test): Likewise.
22597 (log2_test): Likewise.
22598 (logb_test): Likewise.
22599 (logb_test_downward): Likewise.
22600 (lround_test): Likewise.
22601 (llround_test): Likewise.
22602 (modf_test): Likewise.
22603 (nearbyint_test): Likewise.
22604 (nextafter_test): Likewise.
22605 (nexttoward_test): Likewise.
22606 (pow_test): Likewise.
22607 (pow_test_tonearest): Likewise.
22608 (pow_test_towardzero): Likewise.
22609 (pow_test_downward): Likewise.
22610 (pow_test_upward): Likewise.
22611 (remainder_test): Likewise.
22612 (remainder_test_tonearest): Likewise.
22613 (remainder_test_towardzero): Likewise.
22614 (remainder_test_downward): Likewise.
22615 (remainder_test_upward): Likewise.
22616 (remquo_test): Likewise.
22617 (rint_test): Likewise.
22618 (rint_test_tonearest): Likewise.
22619 (rint_test_towardzero): Likewise.
22620 (rint_test_downward): Likewise.
22621 (rint_test_upward): Likewise.
22622 (round_test): Likewise.
22623 (scalb_test): Likewise.
22624 (scalbn_test): Likewise.
22625 (scalbln_test): Likewise.
22626 (signbit_test): Likewise.
22627 (sin_test): Likewise.
22628 (sin_test_tonearest): Likewise.
22629 (sin_test_towardzero): Likewise.
22630 (sin_test_downward): Likewise.
22631 (sin_test_upward): Likewise.
22632 (sincos_test): Likewise.
22633 (sinh_test): Likewise.
22634 (sinh_test_tonearest): Likewise.
22635 (sinh_test_towardzero): Likewise.
22636 (sinh_test_downward): Likewise.
22637 (sinh_test_upward): Likewise.
22638 (sqrt_test): Likewise.
22639 (tan_test): Likewise.
22640 (tan_test_tonearest): Likewise.
22641 (tan_test_towardzero): Likewise.
22642 (tan_test_downward): Likewise.
22643 (tan_test_upward): Likewise.
22644 (tanh_test): Likewise.
22645 (tgamma_test): Likewise.
22646 (trunc_test): Likewise.
22647 (y0_test): Likewise.
22648 (y1_test): Likewise.
22649 (yn_test): Likewise.
22650 (significand_test): Likewise.
22651
bae143d2
OB
226522013-05-24 Ondřej Bílka <neleai@seznam.cz>
22653
22654 [BZ #15381]
22655 * libio/genops.c (_IO_no_init): Initialize wide struct info.
22656
9323d39b
EM
226572013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
22658
d4ea44a0 22659 [BZ #14894]
9323d39b
EM
22660 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
22661 __ppc_mdoio and __ppc_mdoom.
22662 * manual/platform.texi: Document new functions __ppc_yield,
22663 __ppc_mdoio and __ppc_mdoom.
22664
13e23af7
CD
226652013-05-22 Carlos O'Donell <carlos@redhat.com>
22666
22667 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
22668 (main): Mention "tls" pseudo-hwcap is legacy.
22669 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
22670
351fe550
JM
226712013-05-22 Joseph Myers <joseph@codesourcery.com>
22672
22673 * math/gen-libm-test.pl (parse_args): Output only string of
22674 arguments as text for test name, not full call or descriptions of
22675 tests for extra outputs.
22676 (generate_testfile): Do not pass function name to parse_args.
22677 Generate this_func variable from START.
22678 * math/libm-test.inc (struct test_f_f_data): Rename test_name
22679 field to arg_str.
22680 (struct test_ff_f_data): Likewise.
22681 (test_ff_f_data_nexttoward): Likewise.
22682 (struct test_fi_f_data): Likewise.
22683 (struct test_fl_f_data): Likewise.
22684 (struct test_if_f_data): Likewise.
22685 (struct test_fff_f_data): Likewise.
22686 (struct test_c_f_data): Likewise.
22687 (struct test_f_f1_data): Likewise. Remove field extra_name.
22688 (struct test_fF_f1_data): Likewise.
22689 (struct test_ffI_f1_data): Likewise.
22690 (struct test_c_c_data): Rename test_name field to arg_str.
22691 (struct test_cc_c_data): Likewise.
22692 (struct test_f_i_data): Likewise.
22693 (struct test_ff_i_data): Likewise.
22694 (struct test_f_l_data): Likewise.
22695 (struct test_f_L_data): Likewise.
22696 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
22697 and extra2_name.
22698 (COMMON_TEST_SETUP): New macro.
22699 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
22700 (COMMON_TEST_CLEANUP): Likewise.
22701 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
22702 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
22703 macros.
22704 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
22705 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
22706 macros.
22707 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
22708 (RUN_TEST_fff_f): Take argument string. Call new setup and
22709 cleanup macros.
22710 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
22711 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
22712 macros.
22713 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
22714 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
22715 macros.
22716 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22717 (RUN_TEST_fF_f1): Take argument string. Call new setup and
22718 cleanup macros.
22719 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22720 (RUN_TEST_fI_f1): Take argument string. Call new setup and
22721 cleanup macros.
22722 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22723 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
22724 cleanup macros.
22725 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22726 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
22727 macros.
22728 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
22729 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
22730 macros.
22731 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
22732 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
22733 macros.
22734 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
22735 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
22736 cleanup macros.
22737 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
22738 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
22739 cleanup macros.
22740 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
22741 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
22742 macros.
22743 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
22744 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
22745 cleanup macros.
22746 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
22747 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
22748 macros.
22749 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
22750 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
22751 macros.
22752 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
22753 (RUN_TEST_fFF_11): Take argument string. Call new setup and
22754 cleanup macros.
22755 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
22756
85118d4d
EBM
227572013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22758
22759 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
22760 to _sifields.sigfault.
22761 (si_addr_lsb): Define new macro.
22762 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22763 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22764 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
22765
7a44c18f
CD
227662013-05-03 Carlos O'Donell <carlos at redhat.com>
22767
22768 [BZ #15441]
22769 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
22770 returns -1.
22771 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
22772 null return -1.
22773 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
22774 loading the domain.
22775
b50a7181
JM
227762013-05-22 Joseph Myers <joseph@codesourcery.com>
22777
22778 * math/gen-libm-test.pl (parse_args): Do not include expected
22779 result in test name.
22780 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
22781 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22782 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22783 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22784 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22786
051063c8
SP
227872013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22788
3ce9e010
SP
22789 * benchtests/Makefile: Sort function entries.
22790
051063c8
SP
22791 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
22792 tanh, asinh, acosh, atanh.
22793 * benchtests/acos-inputs: New file.
22794 * benchtests/acosh-inputs: New file.
22795 * benchtests/asin-inputs: New file.
22796 * benchtests/asinh-inputs: New file.
22797 * benchtests/atanh-inputs: New file.
22798 * benchtests/cosh-inputs: New file.
22799 * benchtests/log-inputs: New file.
22800 * benchtests/sinh-inputs: New file.
22801 * benchtests/tanh-inputs: New file.
22802
47c22455
DL
228032013-05-21 Dmitry V. Levin <ldv@altlinux.org>
22804
22805 [BZ #15339]
22806 * posix/tst-getaddrinfo4.c: New test.
22807 * posix/Makefile (tests): Add it.
22808
3d04f5db
SP
228092013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22810
22811 [BZ #15339]
22812 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
22813 when no services were used.
22814 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
22815 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
22816
d5dd6189
AS
228172013-05-21 Andreas Schwab <schwab@suse.de>
22818
22819 [BZ #15014]
22820 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
22821 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
22822 successful.
22823 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
22824 redundant variable declarations and reallocation of buffer when
22825 parsing as IPv6 address. Always set NSS status when called from
22826 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
22827 buffer too small. Correct computation of needed size.
22828 * nss/Makefile (tests): Add test-digits-dots.
22829 * nss/test-digits-dots.c: New test.
22830
fef94eab
SP
228312013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22832
22833 * benchtests/Makefile: Remove instructions for adding
22834 benchmark tests.
22835 * benchtests/README: New file to explain how to execute and
22836 enhance the benchmark tests.
22837
e39adf43
AS
228382013-05-21 Andreas Schwab <schwab@suse.de>
22839
22840 [BZ #15493]
22841 * setjmp/Makefile (tests): Add tst-sigsetjmp.
22842 * setjmp/tst-sigsetjmp.c: New test.
22843
b2b671b6
OB
228442013-05-20 Ondřej Bílka <neleai@seznam.cz>
22845
22846 * sysdeps/x86_64/memset.S (memset): New implementation.
22847 (__bzero): Likewise.
22848 (__memset_tail): New function.
22849
2d48b41c
OB
228502013-05-20 Ondřej Bílka <neleai@seznam.cz>
22851
22852 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
22853 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
22854 __memcpy_sse2_unaligned ifunc selection.
22855 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22856 Add memcpy-sse2-unaligned.S.
22857 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22858 Add: __memcpy_sse2_unaligned.
22859
f16cc3eb
JM
228602013-05-19 Joseph Myers <joseph@codesourcery.com>
22861
3e694268
JM
22862 [BZ #15490]
22863 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22864 math_force_eval before restoring floating-point envrionment.
22865 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
22866 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
22867 Likewise.
22868 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
22869 <math_private.h>.
22870 (__nearbyintl): Use math_force_eval before restoring
22871 floating-point environment.
22872 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
22873
db62a907
JM
22874 * math/gen-libm-test.pl (special_functions): Remove.
22875 (parse_args): Don't handle TEST_extra. Handle functions with no
22876 return value.
22877 * math/libm-test.inc (struct test_sincos_data): Replace with
22878 struct test_fFF_11_data.
22879 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
22880 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
22881 (sincos_test_data): Change element type to struct
22882 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
22883 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
22884 RUN_TEST_LOOP_sincos.
22885 * math/README.libm-test: Don't mention special handling of
22886 individual functions.
22887 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
22888 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22889 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22890 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22891 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22893
f16cc3eb
JM
22894 * math/gen-libm-test.pl (get_variable): Remove function.
22895 (parse_args): Don't show pointer parameters to call in test
22896 names. Use "extra output N" in test names for extra outputs
22897 rather than naming variables.
22898
3779b5b6
JM
228992013-05-18 Joseph Myers <joseph@codesourcery.com>
22900
2ee094ff
JM
22901 [BZ #15488]
22902 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
22903 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
22904 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22905 double tests.
22906 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22907 disable.
22908 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22909 check_long_double.
22910
3779b5b6
JM
22911 * math/gen-libm-test.pl (@tests): Remove variable.
22912 ($count): Likewise.
22913 (new_test): Remove function.
22914 (show_exceptions): New function.
22915 (special_functions): Use show_exceptions instead of new_test.
22916 (parse_args): Likewise.
22917 (generate_testfile): Pass only function name in generated call to
22918 print_max_error or print_complex_max_error.
22919 (get_ulps): Do not handle complex tests specially.
22920 (output_test): Rename to ...
22921 (get_all_ulps_for_test): ... this. Return a string rather than
22922 printing to a file. Require ulps to be present.
22923 (output_ulps): Generate arrays rather than #defines.
22924 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22925 (struct ulp_data): New type.
22926 (BUILD_COMPLEX_ULP): Remove macro.
22927 (compare_ulp_data): New function.
22928 (find_ulps): Likewise.
22929 (find_test_ulps): Likewise.
22930 (find_function_ulps): Likewise.
22931 (find_complex_function_ulps): Likewise.
22932 (print_max_error): Determine allowed ulps using
22933 find_function_ulps.
22934 (print_complex_max_error): Determine allowed ulps using
22935 find_complex_function_ulps.
22936 (check_float_internal): Determine max ulps using find_test_ulps.
22937 (check_float): Do not take max_ulp parameter. Update call to
22938 check_float_internal.
22939 (check_complex): Likewise.
22940 (check_int): Do not take max_ulp parameter.
22941 (check_long): Likewise.
22942 (check_bool): Likewise.
22943 (check_longlong): Likewise.
22944 (struct test_f_f_data): Remove max_ulp field.
22945 (struct test_ff_f_data): Likewise.
22946 (struct test_ff_f_data_nexttoward): Likewise.
22947 (struct test_fi_f_data): Likewise.
22948 (struct test_fl_f_data): Likewise.
22949 (struct test_if_f_data): Likewise.
22950 (struct test_fff_f_data): Likewise.
22951 (struct test_c_f_data): Likewise.
22952 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22953 (struct test_fF_f1_data): Likewise.
22954 (struct test_ffI_f1_data): Likewise.
22955 (struct test_c_c_data): Remove max_ulp field.
22956 (struct test_cc_c_data): Likewise.
22957 (struct test_f_i_data): Likewise.
22958 (struct test_ff_i_data): Likewise.
22959 (struct test_f_l_data): Likewise.
22960 (struct test_f_L_data): Likewise.
22961 (struct test_sincos_data): Likewise.
22962 (RUN_TEST_f_f): Do not handle ulps.
22963 (RUN_TEST_LOOP_f_f): Likewise.
22964 (RUN_TEST_2_f): Likewise.
22965 (RUN_TEST_LOOP_2_f): Likewise.
22966 (RUN_TEST_fff_f): Likewise.
22967 (RUN_TEST_LOOP_fff_f): Likewise.
22968 (RUN_TEST_c_f): Likewise.
22969 (RUN_TEST_LOOP_c_f): Likewise.
22970 (RUN_TEST_f_f1): Likewise.
22971 (RUN_TEST_LOOP_f_f1): Likewise.
22972 (RUN_TEST_fF_f1): Likewise.
22973 (RUN_TEST_LOOP_fF_f1): Likewise.
22974 (RUN_TEST_fI_f1): Likewise.
22975 (RUN_TEST_LOOP_fI_f1): Likewise.
22976 (RUN_TEST_ffI_f1): Likewise.
22977 (RUN_TEST_LOOP_ffI_f1): Likewise.
22978 (RUN_TEST_c_c): Likewise.
22979 (RUN_TEST_LOOP_c_c): Likewise.
22980 (RUN_TEST_cc_c): Likewise.
22981 (RUN_TEST_LOOP_cc_c): Likewise.
22982 (RUN_TEST_f_i): Likewise.
22983 (RUN_TEST_LOOP_f_i): Likewise.
22984 (RUN_TEST_f_i_tg): Likewise.
22985 (RUN_TEST_LOOP_f_i_tg): Likewise.
22986 (RUN_TEST_ff_i_tg): Likewise.
22987 (RUN_TEST_LOOP_ff_i_tg): Likewise.
22988 (RUN_TEST_f_b): Likewise.
22989 (RUN_TEST_LOOP_f_b): Likewise.
22990 (RUN_TEST_f_b_tg): Likewise.
22991 (RUN_TEST_LOOP_f_b_tg): Likewise.
22992 (RUN_TEST_f_l): Likewise.
22993 (RUN_TEST_LOOP_f_l): Likewise.
22994 (RUN_TEST_f_L): Likewise.
22995 (RUN_TEST_LOOP_f_L): Likewise.
22996 (RUN_TEST_sincos): Likewise.
22997 (RUN_TEST_LOOP_sincos): Likewise.
22998
8269107f
JM
229992013-05-17 Joseph Myers <joseph@codesourcery.com>
23000
bb38759d
JM
23001 [BZ #15480]
23002 [BZ #15485]
23003 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
23004 main case of finite arguments, set rounding mode to FE_TONEAREST
23005 and discard exceptions.
23006 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
23007 exceptions.
23008 (remainder_tonearest_test_data): New variable.
23009 (remainder_test_tonearest): New function.
23010 (remainder_towardzero_test_data): New variable.
23011 (remainder_test_towardzero): New function.
23012 (remainder_downward_test_data): New variable.
23013 (remainder_test_downward): New function.
23014 (remainder_upward_test_data): New variable.
23015 (remainder_test_upward): New function.
23016 (main): Call the new test functions.
23017
a00bdcf0
JM
23018 * math/libm-test.inc (struct test_f_f1_data): Remove field
23019 extra_init.
23020 (struct test_fF_f1_data): Likewise.
23021 (struct test_ffI_f1_data): Likewise.
23022 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
23023 based on value of EXTRA_EXPECTED.
23024 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23025 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
23026 EXTRA_VAR based on value of EXTRA_EXPECTED.
23027 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23028 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
23029 EXTRA_VAR based on value of EXTRA_EXPECTED.
23030 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23031 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
23032 EXTRA_VAR based on value of EXTRA_EXPECTED.
23033 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23034 * math/gen-libm-test.pl (parse_args): Don't output initializers
23035 for extra output values.
23036
de407f79
JM
23037 * math/libm-test.inc (check_int): Expect result to be exactly
23038 equal to expected value and do not handle ulps.
23039 (check_long): Likewise.
23040 (check_longlong): Likewise.
23041
8269107f
JM
23042 * math/libm-test.inc (ceil_test_data): Test for "inexact"
23043 exceptions.
23044 (cimag_test_data): Likewise.
23045 (conj_test_data): Likewise.
23046 (copysign_test_data): Likewise.
23047 (cproj_test_data): Likewise.
23048 (creal_test_data): Likewise.
23049 (fabs_test_data): Likewise.
23050 (fdim_test_data): Likewise.
23051 (finite_test_data): Likewise.
23052 (floor_test_data): Likewise.
23053 (fmax_test_data): Likewise.
23054 (fmin_test_data): Likewise.
23055 (fmod_test_data): Likewise.
23056 (fpclassify_test_data): Likewise.
23057 (frexp_test_data): Likewise.
23058 (ilogb_test_data): Likewise.
23059 (isfinite_test_data): Likewise.
23060 (isgreater_test_data): Likewise.
23061 (isgreaterequal_test_data): Likewise.
23062 (isinf_test_data): Likewise.
23063 (isless_test_data): Likewise.
23064 (islessequal_test_data): Likewise.
23065 (islessgreater_test_data): Likewise.
23066 (isnan_test_data): Likewise.
23067 (isnormal_test_data): Likewise.
23068 (issignaling_test_data): Likewise.
23069 (isunordered_test_data): Likewise.
23070 (ldexp_test_data): Likewise.
23071 (lrint_test_data): Likewise.
23072 (lrint_test_data) [TEST_FLOAT]: Disable one test.
23073 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
23074 (lrint_tonearest_test_data): Test for "inexact" exceptions.
23075 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23076 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
23077 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23078 test input.
23079 (lrint_towardzero_test_data): Test for "inexact" exceptions.
23080 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23081 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
23082 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
23083 that test input.
23084 (lrint_downward_test_data): Test for "inexact" exceptions.
23085 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23086 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
23087 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23088 test input.
23089 (lrint_upward_test_data): Test for "inexact" exceptions.
23090 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
23091 test input.
23092 (llrint_test_data): Test for "inexact" exceptions.
23093 (llrint_test_data) [TEST_FLOAT]: Disable one test.
23094 (llrint_tonearest_test_data): Test for "inexact" exceptions.
23095 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23096 (llrint_towardzero_test_data): Test for "inexact" exceptions.
23097 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23098 (llrint_downward_test_data): Test for "inexact" exceptions.
23099 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23100 (llrint_upward_test_data): Test for "inexact" exceptions.
23101 (logb_test_data): Likewise.
23102 (logb_downward_test_data): Likewise.
23103 (nextafter_test_data): Likewise.
23104 (nexttoward_test_data): Likewise.
23105 (remainder_test_data): Likewise.
23106 (remquo_test_data): Likewise.
23107 (scalbn_test_data): Likewise.
23108 (scalbln_test_data): Likewise.
23109 (signbit_test_data): Likewise.
23110 (sqrt_test_data): Likewise.
23111 (significand_test_data): Likewise.
23112
48a18de1
SP
231132013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23114
23115 [BZ #15424]
23116 * benchtests/bench-modf.c (struct args): Mark arg0 as
23117 volatile.
23118 * scripts/bench.pl: Mark members of struct args as volatile.
23119
13d3b41a
AZ
231202013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23121
68191c1d 23122 [BZ # 15497]
13d3b41a
AZ
23123 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
23124 negative infinity on POWER6 or lower.
23125 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
23126
2848b105
MR
231272013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
23128
23129 [BZ #15442]
23130 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
23131 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
23132 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
23133 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
23134 (_FP_SETQNAN): New macro.
23135 (_FP_SETQNAN_SEMIRAW): Likewise.
23136 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
23137 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
23138 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
23139 (FP_EXTEND): Use _FP_FRAC_SNANP.
23140 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
23141 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
23142 into account.
23143 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23144 New macro.
23145 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23146 Likewise.
23147
323e5cb7
JM
231482013-05-16 Joseph Myers <joseph@codesourcery.com>
23149
c58b274f
JM
23150 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
23151 with DIVIDE_BY_ZERO_EXCEPTION.
23152 (gamma_test_data): Likewise.
23153 (lgamma_test_data): Likewise.
23154 (log_test_data): Likewise.
23155 (log10_test_data): Likewise.
23156 (log2_test_data): Likewise.
23157 (tgamma_test_data): Likewise.
23158
0ab34904
JM
23159 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
23160 (acos_test_tonearest): Likewise.
23161 (acos_test_towardzero): Likewise.
23162 (acos_test_downward): Likewise.
23163 (acos_test_upward): Likewise.
23164 (acosh_test): Likewise.
23165 (asin_test): Likewise.
23166 (asin_test_tonearest): Likewise.
23167 (asin_test_towardzero): Likewise.
23168 (asin_test_downward): Likewise.
23169 (asin_test_upward): Likewise.
23170 (asinh_test): Likewise.
23171 (atan_test): Likewise.
23172 (atanh_test): Likewise.
23173 (atan2_test): Likewise.
23174 (cabs_test): Likewise.
23175 (cacos_test): Likewise.
23176 (cacosh_test): Likewise.
23177 (casin_test): Likewise.
23178 (casinh_test): Likewise.
23179 (catan_test): Likewise.
23180 (catanh_test): Likewise.
23181 (cbrt_test): Likewise.
23182 (ccos_test): Likewise.
23183 (ccosh_test): Likewise.
23184 (cexp_test): Likewise.
23185 (clog_test): Likewise.
23186 (clog10_test): Likewise.
23187 (cos_test): Likewise.
23188 (cos_test_tonearest): Likewise.
23189 (cos_test_towardzero): Likewise.
23190 (cos_test_downward): Likewise.
23191 (cos_test_upward): Likewise.
23192 (cosh_test): Likewise.
23193 (cosh_test_tonearest): Likewise.
23194 (cosh_test_towardzero): Likewise.
23195 (cosh_test_downward): Likewise.
23196 (cosh_test_upward): Likewise.
23197 (cpow_test): Likewise.
23198 (csin_test): Likewise.
23199 (csinh_test): Likewise.
23200 (csqrt_test): Likewise.
23201 (ctan_test): Likewise.
23202 (ctan_test_tonearest): Likewise.
23203 (ctan_test_towardzero): Likewise.
23204 (ctan_test_downward): Likewise.
23205 (ctan_test_upward): Likewise.
23206 (ctanh_test): Likewise.
23207 (ctanh_test_tonearest): Likewise.
23208 (ctanh_test_towardzero): Likewise.
23209 (ctanh_test_downward): Likewise.
23210 (ctanh_test_upward): Likewise.
23211 (erf_test): Likewise.
23212 (erfc_test): Likewise.
23213 (exp_test): Likewise.
23214 (exp_test_tonearest): Likewise.
23215 (exp_test_towardzero): Likewise.
23216 (exp_test_downward): Likewise.
23217 (exp_test_upward): Likewise.
23218 (exp10_test): Likewise.
23219 (exp2_test): Likewise.
23220 (expm1_test): Likewise.
23221 (fmod_test): Likewise.
23222 (gamma_test): Likewise.
23223 (hypot_test): Likewise.
23224 (j0_test): Likewise.
23225 (j1_test): Likewise.
23226 (jn_test): Likewise.
23227 (lgamma_test): Likewise.
23228 (log_test): Likewise.
23229 (log10_test): Likewise.
23230 (log1p_test): Likewise.
23231 (log2_test): Likewise.
23232 (logb_test_downward): Likewise.
23233 (pow_test): Likewise.
23234 (pow_test_tonearest): Likewise.
23235 (pow_test_towardzero): Likewise.
23236 (pow_test_downward): Likewise.
23237 (pow_test_upward): Likewise.
23238 (remainder_test): Likewise.
23239 (remquo_test): Likewise.
23240 (sin_test): Likewise.
23241 (sin_test_tonearest): Likewise.
23242 (sin_test_towardzero): Likewise.
23243 (sin_test_downward): Likewise.
23244 (sin_test_upward): Likewise.
23245 (sincos_test): Likewise.
23246 (sinh_test): Likewise.
23247 (sinh_test_tonearest): Likewise.
23248 (sinh_test_towardzero): Likewise.
23249 (sinh_test_downward): Likewise.
23250 (sinh_test_upward): Likewise.
23251 (sqrt_test): Likewise.
23252 (tan_test): Likewise.
23253 (tan_test_tonearest): Likewise.
23254 (tan_test_towardzero): Likewise.
23255 (tan_test_downward): Likewise.
23256 (tan_test_upward): Likewise.
23257 (tanh_test): Likewise.
23258 (tgamma_test): Likewise.
23259 (y0_test): Likewise.
23260 (y1_test): Likewise.
23261 (yn_test): Likewise.
23262
323e5cb7
JM
23263 * math/gen-libm-test.pl (adjust_arg): Remove function.
23264 (special_function): Remove argument $in_func. Only handle
23265 generating output for tables of tests, not inside functions.
23266 (parse_args): Likewise.
23267 (generate_testfile): Remove variable $in_func. Update call to
23268 parse_args.
23269 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
23270 (MINUS_ZERO_INIT): Rename macro to minus_zero.
23271 (PLUS_INFTY_INIT): Rename macro to plus_infty.
23272 (MINUS_INFTY_INIT): Rename macro to minus_infty.
23273 (QNAN_VALUE_INIT): Rename macro to qnan_value.
23274 (MAX_VALUE_INIT): Rename macro to max_value.
23275 (MIN_VALUE_INIT): Rename macro to min_value.
23276 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
23277 (plus_zero): Remove variable.
23278 (minus_zero): Likewise.
23279 (plus_infty): Likewise.
23280 (minus_infty): Likewise.
23281 (qnan_value): Likewise.
23282 (max_value): Likewise.
23283 (min_value): Likewise.
23284 (min_subnorm_value): Likewise.
23285
e054f494
RA
232862013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23287
23288 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
23289 uint64_t or uint32_t usage.
23290 * crypt/sha256-block.c: Likewise.
23291 * crypt/sha256-crypt.c: Likewise.
23292 * crypt/sha256.c: Likewise.
23293 * crypt/sha512-block.c: Likewise.
23294 * crypt/sha512-crypt.c: Likewise.
23295 * crypt/sha512.c: Likewise.
23296 * debug/backtrace-tst.c: Likewise.
23297 * debug/pcprofiledump.c: Likewise.
23298 * elf/cache.c: Likewise.
23299 * elf/dl-cache.c: Likewise.
23300 * elf/dl-misc.c: Likewise.
23301 * elf/dl-profile.c: Likewise.
23302 * elf/dl-support.c: Likewise.
23303 * elf/ldconfig.c: Likewise.
23304 * elf/sprof.c: Likewise.
23305 * iconv/dummy-repertoire.c: Likewise.
23306 * iconv/iconv_charmap.c: Likewise.
23307 * iconv/skeleton.c: Likewise.
23308 * iconvdata/8bit-generic.c: Likewise.
23309 * iconvdata/cp737.h: Likewise.
23310 * iconvdata/cp775.h: Likewise.
23311 * iconvdata/ibm1008.h: Likewise.
23312 * iconvdata/ibm1025.h: Likewise.
23313 * iconvdata/ibm1046.h: Likewise.
23314 * iconvdata/ibm1097.h: Likewise.
23315 * iconvdata/ibm1112.h: Likewise.
23316 * iconvdata/ibm1122.h: Likewise.
23317 * iconvdata/ibm1123.h: Likewise.
23318 * iconvdata/ibm1124.h: Likewise.
23319 * iconvdata/ibm1129.h: Likewise.
23320 * iconvdata/ibm1130.h: Likewise.
23321 * iconvdata/ibm1132.h: Likewise.
23322 * iconvdata/ibm1133.h: Likewise.
23323 * iconvdata/ibm1137.h: Likewise.
23324 * iconvdata/ibm1140.h: Likewise.
23325 * iconvdata/ibm1141.h: Likewise.
23326 * iconvdata/ibm1142.h: Likewise.
23327 * iconvdata/ibm1143.h: Likewise.
23328 * iconvdata/ibm1144.h: Likewise.
23329 * iconvdata/ibm1145.h: Likewise.
23330 * iconvdata/ibm1146.h: Likewise.
23331 * iconvdata/ibm1147.h: Likewise.
23332 * iconvdata/ibm1148.h: Likewise.
23333 * iconvdata/ibm1149.h: Likewise.
23334 * iconvdata/ibm1153.h: Likewise.
23335 * iconvdata/ibm1154.h: Likewise.
23336 * iconvdata/ibm1155.h: Likewise.
23337 * iconvdata/ibm1156.h: Likewise.
23338 * iconvdata/ibm1157.h: Likewise.
23339 * iconvdata/ibm1158.h: Likewise.
23340 * iconvdata/ibm1160.h: Likewise.
23341 * iconvdata/ibm1161.h: Likewise.
23342 * iconvdata/ibm1162.h: Likewise.
23343 * iconvdata/ibm1163.h: Likewise.
23344 * iconvdata/ibm1164.h: Likewise.
23345 * iconvdata/ibm1166.h: Likewise.
23346 * iconvdata/ibm1167.h: Likewise.
23347 * iconvdata/ibm12712.h: Likewise.
23348 * iconvdata/ibm1390.h: Likewise.
23349 * iconvdata/ibm1399.h: Likewise.
23350 * iconvdata/ibm16804.h: Likewise.
23351 * iconvdata/ibm4517.h: Likewise.
23352 * iconvdata/ibm4899.h: Likewise.
23353 * iconvdata/ibm4909.h: Likewise.
23354 * iconvdata/ibm4971.h: Likewise.
23355 * iconvdata/ibm5347.h: Likewise.
23356 * iconvdata/ibm803.h: Likewise.
23357 * iconvdata/ibm856.h: Likewise.
23358 * iconvdata/ibm901.h: Likewise.
23359 * iconvdata/ibm902.h: Likewise.
23360 * iconvdata/ibm9030.h: Likewise.
23361 * iconvdata/ibm9066.h: Likewise.
23362 * iconvdata/ibm921.h: Likewise.
23363 * iconvdata/ibm922.h: Likewise.
23364 * iconvdata/ibm9448.h: Likewise.
23365 * iconvdata/isiri-3342.h: Likewise.
23366 * iconvdata/jis0201.h: Likewise.
23367 * include/link.h: Likewise.
23368 * include/netdb.h: Likewise.
23369 * inet/check_native.c: Likewise.
23370 * inet/check_pf.c: Likewise.
23371 * inet/getipv4sourcefilter.c: Likewise.
23372 * inet/getnameinfo.c: Likewise.
23373 * inet/getsourcefilter.c: Likewise.
23374 * inet/htonl.c: Likewise.
23375 * inet/setipv4sourcefilter.c: Likewise.
23376 * inet/setsourcefilter.c: Likewise.
23377 * inet/test-inet6_opt.c: Likewise.
23378 * inet/tst-network.c: Likewise.
23379 * locale/C-collate.c: Likewise.
23380 * locale/C-ctype.c: Likewise.
23381 * locale/C-time.c: Likewise.
23382 * locale/C-translit.h: Likewise.
23383 * locale/loadarchive.c: Likewise.
23384 * locale/programs/3level.h: Likewise.
23385 * locale/programs/charmap.c: Likewise.
23386 * locale/programs/charmap.h: Likewise.
23387 * locale/programs/ld-address.c: Likewise.
23388 * locale/programs/ld-collate.c: Likewise.
23389 * locale/programs/ld-ctype.c: Likewise.
23390 * locale/programs/ld-identification.c: Likewise.
23391 * locale/programs/ld-measurement.c: Likewise.
23392 * locale/programs/ld-messages.c: Likewise.
23393 * locale/programs/ld-monetary.c: Likewise.
23394 * locale/programs/ld-name.c: Likewise.
23395 * locale/programs/ld-numeric.c: Likewise.
23396 * locale/programs/ld-paper.c: Likewise.
23397 * locale/programs/ld-telephone.c: Likewise.
23398 * locale/programs/ld-time.c: Likewise.
23399 * locale/programs/linereader.c: Likewise.
23400 * locale/programs/locale.c: Likewise.
23401 * locale/programs/locarchive.c: Likewise.
23402 * locale/programs/locfile.h: Likewise.
23403 * locale/programs/repertoire.c: Likewise.
23404 * locale/programs/simple-hash.c: Likewise.
23405 * locale/programs/simple-hash.h: Likewise.
23406 * malloc/memusage.c: Likewise.
23407 * malloc/memusagestat.c: Likewise.
23408 * nis/nis_defaults.c: Likewise.
23409 * nis/nis_hash.c: Likewise.
23410 * nis/nis_print.c: Likewise.
23411 * nis/nis_xdr.c: Likewise.
23412 * nscd/connections.c: Likewise.
23413 * nscd/hstcache.c: Likewise.
23414 * nscd/nscd_gethst_r.c: Likewise.
23415 * nscd/nscd_getserv_r.c: Likewise.
23416 * nscd/nscd_helper.c: Likewise.
23417 * nscd/servicescache.c: Likewise.
23418 * nss/makedb.c: Likewise.
23419 * nss/nss_db/db-XXX.c: Likewise.
23420 * nss/nss_db/db-initgroups.c: Likewise.
23421 * nss/nss_db/db-netgrp.c: Likewise.
23422 * nss/nss_files/files-network.c: Likewise.
23423 * nss/nss_files/files-parse.c: Likewise.
23424 * posix/bug-regex5.c: Likewise.
23425 * posix/fnmatch_loop.c: Likewise.
23426 * posix/regcomp.c: Likewise.
23427 * posix/regexec.c: Likewise.
23428 * posix/tst-rfc3484-2.c: Likewise.
23429 * posix/tst-rfc3484-3.c: Likewise.
23430 * posix/tst-rfc3484.c: Likewise.
23431 * resolv/nss_dns/dns-canon.c: Likewise.
23432 * resolv/nss_dns/dns-network.c: Likewise.
23433 * resolv/res_init.c: Likewise.
23434 * resolv/res_mkquery.c: Likewise.
23435 * resolv/tst-aton.c: Likewise.
23436 * stdlib/cxa_atexit.c: Likewise.
23437 * stdlib/cxa_finalize.c: Likewise.
23438 * stdlib/gen-fpioconst.c: Likewise.
23439 * stdlib/strtol_l.c: Likewise.
23440 * string/tst-endian.c: Likewise.
23441 * sunrpc/auth_des.c: Likewise.
23442 * sunrpc/clnt_udp.c: Likewise.
23443 * sunrpc/rtime.c: Likewise.
23444 * sunrpc/svcauth_des.c: Likewise.
23445 * sunrpc/xdr.c: Likewise.
23446 * sunrpc/xdr_intXX_t.c: Likewise.
23447 * sunrpc/xdr_rec.c: Likewise.
23448 * sysdeps/generic/ldconfig.h: Likewise.
23449 * sysdeps/generic/ldsodefs.h: Likewise.
23450 * sysdeps/generic/memusage.h: Likewise.
23451 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23452 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
23453 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
23454 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23455 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23456 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23457 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23458 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23459 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23460 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23461 * sysdeps/posix/getaddrinfo.c: Likewise.
23462 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23463 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23464 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23465 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23466 * sysdeps/powerpc/test-gettimebase.c: Likewise.
23467 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23468 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
23469 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
23470 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
23471 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
23472 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23473 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23474 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
23475 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
23476 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
23477 * sysdeps/x86_64/dl-tls.h: Likewise.
23478 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
23479 * time/alt_digit.c: Likewise.
23480 * time/era.c: Likewise.
23481 * wcsmbs/tst-c16c32-1.c: Likewise.
23482
8c75f674
JM
234832013-05-16 Joseph Myers <joseph@codesourcery.com>
23484
23485 * math/libm-test.inc (struct test_sincos_data): New type.
23486 (RUN_TEST_LOOP_sincos): New macro.
23487 (sincos_test_data): New variable.
23488 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
23489
e6e49e59
RH
234902013-05-16 Richard Henderson <rth@redhat.com>
23491
23492 * math/atest-exp2.c (LIMB64): New macro.
23493 (CONSTSZ): New macro.
23494 (mp_exp1, mp_exp_m1, mp_log2): New variables.
23495 (hexdig): Move ...
23496 (print_mpn_fp): ... to function scope.
23497 (read_mpn_hex): Remove.
23498 (get_log2): Remove.
23499 (exp2_mpn): Use mp_log2.
23500 (main): Use mp_exp1.
23501
15c7c18d
JM
235022013-05-16 Joseph Myers <joseph@codesourcery.com>
23503
105a07df
JM
23504 * math/libm-test.inc: Remove comment about not testing "inexact"
23505 exceptions.
23506 (INEXACT_EXCEPTION): New macro.
23507 (NO_INEXACT_EXCEPTION): Likewise.
23508 (INVALID_EXCEPTION_OK): Update value.
23509 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23510 (OVERFLOW_EXCEPTION_OK): Likewise.
23511 (UNDERFLOW_EXCEPTION_OK): Likewise.
23512 (IGNORE_ZERO_INF_SIGN): Likewise.
23513 (ERRNO_UNCHANGED): Likewise.
23514 (ERRNO_EDOM): Likewise.
23515 (ERRNO_ERANGE): Likewise.
23516 (test_exceptions): Handle testing "inexact" exceptions.
23517 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
23518 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
23519 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
23520 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
23521 INEXACT_EXCEPTION.
23522 (rint_towardzero_test_data): Likewise.
23523 (rint_downward_test_data): Likewise.
23524 (rint_upward_test_data): Likewise.
23525
e9eee333
JM
23526 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
23527 with OVERFLOW_EXCEPTION.
23528 (exp10_test_data): Likewise.
23529 (exp2_test_data): Likewise.
23530 (expm1_test_data): Likewise.
23531 (lgamma_test_data): Likewise.
23532 (pow_test_data): Likewise.
23533 (tgamma_test_data): Likewise.
23534 (yn_test_data): Remove duplicate test of overflow.
23535
1c38ff73
JM
23536 * math/libm-test.inc (struct test_cc_c_data): New type.
23537 (RUN_TEST_LOOP_cc_c): New macro.
23538 (cpow_test_data): New variable.
23539 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
23540
15c7c18d
JM
23541 * math/libm-test.inc (struct test_f_L_data): New type.
23542 (RUN_TEST_LOOP_f_L): New macro.
23543 (llrint_test_data): New variable.
23544 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
23545 (llrint_tonearest_test_data): New variable.
23546 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
23547 (llrint_towardzero_test_data): New variable.
23548 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
23549 (llrint_downward_test_data): New variable.
23550 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
23551 (llrint_upward_test_data): New variable.
23552 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
23553 (llround_test_data): New variable.
23554 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
23555
f137ff13
PC
235562013-05-13 Peter Collingbourne <pcc@google.com>
23557
23558 * math/atest-exp2.c (get_log2): Remove const attribute.
23559
3608cb24
JM
235602013-05-15 Joseph Myers <joseph@codesourcery.com>
23561
23562 * math/libm-test.inc (struct test_f_l_data): New type.
23563 (RUN_TEST_LOOP_f_l): New macro.
23564 (lrint_test_data): New variable.
23565 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
23566 (lrint_tonearest_test_data): New variable.
23567 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
23568 (lrint_towardzero_test_data): New variable.
23569 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
23570 (lrint_downward_test_data): New variable.
23571 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
23572 (lrint_upward_test_data): New variable.
23573 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
23574 (lround_test_data): New variable.
23575 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
23576
39b1f617
PC
235772013-05-15 Peter Collingbourne <pcc@google.com>
23578
1deff3dc
PC
23579 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
23580 (EXTRACT_WORDS64) Use where appropriate.
23581 (INSERT_WORDS64) Likewise.
23582
791f3ba0
PC
23583 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
23584 constraints with x constraints.
23585 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
23586
39b1f617
PC
23587 * malloc/obstack.c (_obstack_compat): Add initializer.
23588
12fba011
EM
235892013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
23590
23591 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
23592 si_trapno and add si_addr_lsb to _sifields.sigfault.
23593 (si_trapno): Remove macro.
23594 (si_addr_lsb): Define new macro.
23595 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23596
d369f531
JM
235972013-05-15 Joseph Myers <joseph@codesourcery.com>
23598
b861c6c4
JM
23599 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
23600 instead of TEST_f_l.
23601 (llrint_test_tonearest): Likewise.
23602 (llrint_test_towardzero): Likewise.
23603 (llrint_test_downward): Likewise.
23604 (llrint_test_upward): Likewise.
23605 (llround_test): Likewise.
23606
7abeee12
JM
23607 * math/libm-test.inc (struct test_f_i_data): Add comment.
23608 (RUN_TEST_LOOP_f_b): New macro.
23609 (RUN_TEST_LOOP_f_b_tg): Likewise.
23610 (finite_test_data): New variable.
23611 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
23612 (isfinite_test_data): New variable.
23613 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23614 (isinf_test_data): New variable.
23615 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23616 (isnan_test_data): New variable.
23617 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23618 (isnormal_test_data): New variable.
23619 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23620 (issignaling_test_data): New variable.
23621 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23622 (signbit_test_data): New variable.
23623 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23624
cbe8c4d3
JM
23625 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
23626 with INVALID_EXCEPTION.
23627 (acosh_test_data): Likewise.
23628 (asin_test_data): Likewise.
23629 (atanh_test_data): Likewise.
23630 (fmod_test_data): Likewise.
23631 (log_test_data): Likewise.
23632 (log10_test_data): Likewise.
23633 (log2_test_data): Likewise.
23634 (pow_test_data): Likewise.
23635 (sqrt_test_data): Likewise.
23636 (y0_test_data): Likewise.
23637 (y1_test_data): Likewise.
23638 (yn_test_data): Likewise.
23639
5575c0e5
JM
23640 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
23641 function contents.
23642
d369f531
JM
23643 * math/libm-test.inc (struct test_ff_i_data): New type.
23644 (RUN_TEST_LOOP_ff_i_tg): New macro.
23645 (isgreater_test_data): New variable.
23646 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23647 (isgreaterequal_test_data): New variable.
23648 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23649 (isless_test_data): New variable.
23650 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23651 (islessequal_test_data): New variable.
23652 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23653 (islessgreater_test_data): New variable.
23654 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23655 (isunordered_test_data): New variable.
23656 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23657
781fd748
DM
236582013-05-14 David S. Miller <davem@davemloft.net>
23659
23660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23661
87aa21df
JM
236622013-05-14 Joseph Myers <joseph@codesourcery.com>
23663
5e908270
JM
23664 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
23665
f71172e5
JM
23666 * math/libm-test.inc (struct test_fF_f1_data): Change type of
23667 extra_test to int.
23668 (struct test_f_i_data): Change type of max_ulp to int.
23669
8cfa635a
JM
23670 * math/libm-test.inc (test_ffI_f1_data): New type.
23671 (RUN_TEST_LOOP_ffI_f1): New macro.
23672 (remquo_test_data): New variable.
23673 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
23674
2bcb36b2
JM
23675 * setjmp/tst-setjmp-fp.c: New file.
23676 * setjmp/Makefile (tests): Add tst-setjmp-fp.
23677 (link-libm): New variable.
23678 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
23679
acbd839a
JM
23680 * math/libm-test.inc (struct test_f_i_data): New type.
23681 (RUN_TEST_LOOP_f_i): New macro.
23682 (RUN_TEST_LOOP_f_i_tg): Likewise.
23683 (fpclassify_test_data): New variable.
23684 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
23685 (ilogb_test_data): New variable.
23686 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
23687
e414d745
JM
23688 * math/libm-test.inc (scalbln_test): Correct function name in END
23689 call.
23690
d9c2a0fd
JM
23691 * math/libm-test.inc (struct test_f_f1_data): Add comment.
23692 (RUN_TEST_LOOP_fI_f1): New macro.
23693 (frexp_test_data): New variable.
23694 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
23695
9dc9095d
JM
23696 * math/libm-test.inc (struct test_fF_f1_data): New type.
23697 (RUN_TEST_LOOP_fF_f1): New macro.
23698 (modf_test_data): New variable.
23699 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
23700
87aa21df
JM
23701 * math/libm-test.inc (struct test_f_f1_data): New type.
23702 (RUN_TEST_LOOP_f_f1): New macro.
23703 (gamma_test_data): New variable.
23704 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23705 (lgamma_test_data): New variable.
23706 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23707
141af660
CD
237082013-05-13 Carlos O'Donell <carlos@redhat.com>
23709
23710 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
23711 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
23712 (main): Comment "tls" pseudo-hwcap.
23713
6d33265c
JM
237142013-05-13 Joseph Myers <joseph@codesourcery.com>
23715
68fc074c
JM
23716 * math/libm-test.inc (struct test_fl_f_data): New type.
23717 (RUN_TEST_LOOP_fl_f): New variable.
23718 (scalbln_test_data): New variable.
23719 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
23720
243216e1
JM
23721 * math/libm-test.inc (struct test_fi_f_data): New type.
23722 (RUN_TEST_LOOP_fi_f): New macro.
23723 (ldexp_test_data): New variable.
23724 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
23725 (scalbn_test_data): New variable.
23726 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
23727
6a1992e2
JM
23728 * math/libm-test.inc (struct test_c_f_data): New type.
23729 (RUN_TEST_LOOP_c_f): New macro.
23730 (cabs_test_data): New variable.
23731 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
23732 (carg_test_data): New variable.
23733 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
23734 (cimag_test_data): New variable.
23735 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
23736 (creal_test_data): New variable.
23737 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
23738
0e400df5
JM
23739 * math/libm-test.inc (struct test_if_f_data): New type.
23740 (RUN_TEST_LOOP_if_f): New macro.
23741 (jn_test_data): New variable.
23742 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
23743 (yn_test_data): New variable.
23744 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
23745
6d33265c
JM
23746 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
23747
f98ece5f
AZ
237482013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23749
23750 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
23751 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
23752
0f7d347b
SP
237532013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23754
43fe811b
SP
23755 * benchtests/Makefile (CPPFLAGS-nonlib): Add
23756 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
23757 (bench-deps): Add bench-timing.h.
23758 * benchtests-bench-skeleton.c: Include bench-timing.h.
23759 (main): Use TIMING_* macros instead of clock_gettime.
23760 * benchtests/bench-timing.h: New file.
23761
0f7d347b
SP
23762 [BZ #14582]
23763 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
23764 Renamed from _LIB_VERSION.
23765 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
23766
601a3a5f
JM
237672013-05-12 Joseph Myers <joseph@codesourcery.com>
23768
4f184d30
JM
23769 * math/libm-test.inc (struct test_fff_f_data): New type.
23770 (RUN_TEST_LOOP_fff_f): New macro.
23771 (fma_test_data): New variable.
23772 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
23773 (fma_towardzero_test_data): New variable.
23774 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
23775 (fma_downward_test_data): New variable.
23776 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
23777 (fma_upward_test_data): New variable.
23778 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
23779
08198877
JM
23780 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
23781 (struct test_c_c_data): New type.
23782 (RUN_TEST_LOOP_c_c): New macro.
23783 (cacos_test_data): New variable.
23784 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
23785 (cacosh_test_data): New variable.
23786 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
23787 (casin_test_data): New variable.
23788 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
23789 (casinh_test_data): New variable.
23790 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
23791 (catan_test_data): New variable.
23792 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
23793 (catanh_test_data): New variable.
23794 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
23795 (ccos_test_data): New variable.
23796 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
23797 (ccosh_test_data): New variable.
23798 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
23799 (cexp_test_data): New variable.
23800 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
23801 (clog_test_data): New variable.
23802 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
23803 (clog10_test_data): New variable.
23804 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
23805 (conj_test_data): New variable.
23806 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
23807 (cproj_test_data): New variable.
23808 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
23809 (csin_test_data): New variable.
23810 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
23811 (csinh_test_data): New variable.
23812 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
23813 (csqrt_test_data): New variable.
23814 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
23815 (ctan_test_data): New variable.
23816 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
23817 (ctan_tonearest_test_data): New variable.
23818 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23819 (ctan_towardzero_test_data): New variable.
23820 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23821 (ctan_downward_test_data): New variable.
23822 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23823 (ctan_upward_test_data): New variable.
23824 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23825 (ctanh_test_data): New variable.
23826 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
23827 (ctanh_tonearest_test_data): New variable.
23828 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23829 (ctanh_towardzero_test_data): New variable.
23830 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23831 (ctanh_downward_test_data): New variable.
23832 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23833 (ctanh_upward_test_data): New variable.
23834 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23835 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
23836 of BUILD_COMPLEX.
23837
601a3a5f
JM
23838 * math/libm-test.inc (struct test_ff_f_data): New type.
23839 (struct test_ff_f_data_nexttoward): Likewise.
23840 (RUN_TEST_LOOP_2_f): New macro.
23841 (RUN_TEST_LOOP_ff_f): Likewise.
23842 (atan2_test_data): New variable.
23843 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
23844 (copysign_test_data): New variable.
23845 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
23846 (fdim_test_data): New variable.
23847 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
23848 (fmax_test_data): New variable.
23849 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
23850 (fmin_test_data): New variable.
23851 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
23852 (fmod_test_data): New variable.
23853 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
23854 (hypot_test_data): New variable.
23855 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
23856 (nextafter_test_data): New variable.
23857 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
23858 (nexttoward_test_data): New variable.
23859 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
23860 (pow_test_data): New variable.
23861 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
23862 (pow_tonearest_test_data): New variable.
23863 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
23864 (pow_towardzero_test_data): New variable.
23865 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
23866 (pow_downward_test_data): New variable.
23867 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
23868 (pow_upward_test_data): New variable.
23869 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
23870 (remainder_test_data): New variable.
23871 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
23872 (scalb_test_data): New variable.
23873 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
23874 * sysdeps/i386/fpu/libm-test-ulps: Update.
23875
74c57478
JM
238762013-05-11 Joseph Myers <joseph@codesourcery.com>
23877
8329e4da
JM
23878 * math/libm-test.inc (fma_test): Use max_value instead of local
23879 variable fltmax.
23880 (nextafter_test): Likewise.
23881
74c57478
JM
23882 * math/libm-test.inc (acos_towardzero_test_data): New variable.
23883 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23884 (acos_downward_test_data): New variable.
23885 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23886 (acos_upward_test_data): New variable.
23887 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23888 (acosh_test_data): New variable.
23889 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
23890 (asin_test_data): New variable.
23891 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
23892 (asin_tonearest_test_data): New variable.
23893 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23894 (asin_towardzero_test_data): New variable.
23895 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23896 (asin_downward_test_data): New variable.
23897 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23898 (asin_upward_test_data): New variable.
23899 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23900 (asinh_test_data): New variable.
23901 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
23902 (atan_test_data): New variable.
23903 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
23904 (atanh_test_data): New variable.
23905 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23906 (cbrt_test_data): New variable.
23907 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23908 (ceil_test_data): New variable.
23909 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23910 (cos_test_data): New variable.
23911 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23912 (cos_tonearest_test_data): New variable.
23913 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23914 (cos_towardzero_test_data): New variable.
23915 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23916 (cos_downward_test_data): New variable.
23917 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23918 (cos_upward_test_data): New variable.
23919 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23920 (cosh_test_data): New variable.
23921 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23922 (cosh_tonearest_test_data): New variable.
23923 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23924 (cosh_towardzero_test_data): New variable.
23925 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23926 (cosh_downward_test_data): New variable.
23927 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23928 (cosh_upward_test_data): New variable.
23929 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23930 (erf_test_data): New variable.
23931 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23932 (erfc_test_data): New variable.
23933 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23934 (exp_test_data): New variable.
23935 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23936 (exp_tonearest_test_data): New variable.
23937 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23938 (exp_towardzero_test_data): New variable.
23939 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23940 (exp_downward_test_data): New variable.
23941 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23942 (exp_upward_test_data): New variable.
23943 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23944 (exp10_test_data): New variable.
23945 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23946 (exp2_test_data): New variable.
23947 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23948 (expm1_test_data): New variable.
23949 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23950 (fabs_test_data): New variable.
23951 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23952 (floor_test_data): New variable.
23953 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23954 (j0_test_data): New variable.
23955 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23956 (j1_test_data): New variable.
23957 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23958 (log_test_data): New variable.
23959 (log_test): Run tests with RUN_TEST_LOOP_f_f.
23960 (log10_test_data): New variable.
23961 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23962 (log1p_test_data): New variable.
23963 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23964 (log2_test_data): New variable.
23965 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23966 (logb_test_data): New variable.
23967 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23968 (logb_downward_test_data): New variable.
23969 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23970 (nearbyint_test_data): New variable.
23971 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23972 (rint_test_data): New variable.
23973 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23974 (rint_tonearest_test_data): New variable.
23975 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23976 (rint_towardzero_test_data): New variable.
23977 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23978 (rint_downward_test_data): New variable.
23979 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23980 (rint_upward_test_data): New variable.
23981 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23982 (round_test_data): New variable.
23983 (round_test): Run tests with RUN_TEST_LOOP_f_f.
23984 (sin_test_data): New variable.
23985 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23986 (sin_tonearest_test_data): New variable.
23987 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23988 (sin_towardzero_test_data): New variable.
23989 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23990 (sin_downward_test_data): New variable.
23991 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23992 (sin_upward_test_data): New variable.
23993 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23994 (sinh_test_data): New variable.
23995 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23996 (sinh_tonearest_test_data): New variable.
23997 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23998 (sinh_towardzero_test_data): New variable.
23999 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24000 (sinh_downward_test_data): New variable.
24001 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24002 (sinh_upward_test_data): New variable.
24003 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24004 (sqrt_test_data): New variable.
24005 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
24006 (tan_test_data): New variable.
24007 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
24008 (tan_tonearest_test_data): New variable.
24009 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24010 (tan_towardzero_test_data): New variable.
24011 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24012 (tan_downward_test_data): New variable.
24013 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24014 (tan_upward_test_data): New variable.
24015 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24016 (tanh_test_data): New variable.
24017 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
24018 (tgamma_test_data): New variable.
24019 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
24020 (trunc_test_data): New variable.
24021 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
24022 (y0_test_data): New variable.
24023 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
24024 (y1_test_data): New variable.
24025 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
24026 (significand_test_data): New variable.
24027 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
24028
7187d844
CG
240292013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
24030
24031 [BZ #12387]
24032 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
24033
f63fae73
PT
240342013-05-10 Pino Toscano <toscano.pino@tiscali.it>
24035
24036 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
24037
8a67a4b3
AJ
240382013-05-10 Andreas Jaeger <aj@suse.de>
24039
24040 [BZ #15448]
24041 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
24042 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
24043
51df539d
JM
240442013-05-10 Joseph Myers <joseph@codesourcery.com>
24045
24046 * math/gen-libm-test.pl (adjust_arg): New function.
24047 (special_functions): Handle generating output in both functions
24048 and arrays.
24049 (parse_args): Likewise.
24050 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
24051 $in_func argument to parse_args.
24052 * math/libm-test.inc (struct test_f_f_data): New type.
24053 (IF_ROUND_INIT_): New macro.
24054 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
24055 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24056 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24057 (IF_ROUND_INIT_FE_UPWARD): Likewise.
24058 (ROUND_RESTORE_): Likewise.
24059 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
24060 (ROUND_RESTORE_FE_TONEAREST): Likewise.
24061 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
24062 (ROUND_RESTORE_FE_UPWARD): Likewise.
24063 (RUN_TEST_LOOP_f_f): New macro.
24064 (acos_test_data): New variable.
24065 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
24066 (acos_tonearest_test_data): New variable.
24067 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24068
5c637fe5
SP
240692013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24070
24071 * benchtests/bench-skeleton.c (startup): Fix coding style.
24072
ab2b9461
JM
240732013-05-10 Joseph Myers <joseph@codesourcery.com>
24074
24075 [BZ #6809]
24076 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
24077 negative infinity argument.
24078 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
24079 negative infinity argument.
24080 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
24081 negative infinity argument.
24082 * math/libm-test.inc (tgamma_test): Expect errno to be set for
24083 domain errors.
24084
4c0fe6fe
FW
240852013-05-10 Florian Weimer <fweimer@redhat.com>
24086
24087 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
24088 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
24089 * iconv/iconv_prog.c (main): Likewise.
24090 * locale/programs/charmap-dir.c (charmap_readdir)
24091 (fopen_uncompressed): Likewise.
24092 * locale/programs/locfile.c (siblings_uncached)
24093 (write_locale_data): Use lstat64 instead of lstat.
24094 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
24095 stat.
24096
a3375d29
AJ
240972013-05-10 Andreas Jaeger <aj@suse.de>
24098
24099 [BZ #15395]
24100 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
24101 localization.
24102 Include <locale.h>.
24103
36129722
CD
241042013-05-09 Carlos O'Donell <carlos@redhat.com>
24105
24106 * elf/dl-close.c (_dl_close_worker): Add comments.
24107
faa7f811
JM
241082013-05-09 Joseph Myers <joseph@codesourcery.com>
24109
ed41ffef
JM
24110 [BZ #15359]
24111 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
24112 high part of pi/2.
24113 (__ieee754_rem_pio2l): Update comments.
24114
d0213cd0
JM
24115 [BZ #15429]
24116 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
24117 high part of pi/2.
24118 (__ieee754_rem_pio2l): Update comments.
24119
0d3e777a
JM
24120 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
24121 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
24122
24f56066
JM
24123 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
24124 M_PI_4l.
24125
faa7f811
JM
24126 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
24127 (M_PI_34_LOG10El): Likewise.
24128 (M_PI2_LOG10El): Likewise.
24129 (M_PI4_LOG10El): Likewise.
24130 (M_PI_LOG10El): Likewise.
24131
e9a5e0fd
AZ
241322013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24133
24134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24135
d8cd06db
JM
241362013-05-08 Joseph Myers <joseph@codesourcery.com>
24137
a0d9f9d7
JM
24138 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
24139 (MINUS_ZERO_INIT): Likewise.
24140 (PLUS_INFTY_INIT): Likewise.
24141 (MINUS_INFTY_INIT): Likewise.
24142 (QNAN_VALUE_INIT): Likewise.
24143 (MAX_VALUE_INIT): Likewise.
24144 (MIN_VALUE_INIT): Likewise.
24145 (MIN_SUBNORM_VALUE_INIT): Likewise.
24146 (plus_zero): Initialize with PLUS_ZERO_INIT.
24147 (minus_zero): Initialize with MINUS_ZERO_INIT.
24148 (plus_infty): Initialize with PLUS_INFTY_INIT.
24149 (minus_infty): Initialize with MINUS_INFTY_INIT.
24150 (qnan_value): Initialize with QNAN_VALUE_INIT.
24151 (max_value): Initialize with MAX_VALUE_INIT.
24152 (min_value): Initialize with MIN_VALUE_INIT.
24153 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
24154
ae08db3b
JM
24155 * math/libm-test.inc (RUN_TEST_if_f): New macro.
24156 (jn_test): Use TEST_if_f instead of TEST_ff_f.
24157 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
24158 (yn_test): Use TEST_if_f instead of TEST_ff_f.
24159
f44bf14a
JM
24160 * math/libm-test.inc (RUN_TEST_f_f): New macro.
24161 (RUN_TEST_2_f): Likewise.
24162 (RUN_TEST_ff_f): Likewise.
24163 (RUN_TEST_fi_f): Likewise.
24164 (RUN_TEST_fl_f): Likewise.
24165 (RUN_TEST_fff_f): Likewise.
24166 (RUN_TEST_c_f): Likewise.
24167 (RUN_TEST_f_f1): Likewise.
24168 (RUN_TEST_fF_f1): Likewise.
24169 (RUN_TEST_fI_f1): Likewise.
24170 (RUN_TEST_ffI_f1): Likewise.
24171 (RUN_TEST_c_c): Likewise.
24172 (RUN_TEST_cc_c): Likewise.
24173 (RUN_TEST_f_i): Likewise.
24174 (RUN_TEST_f_i_tg): Likewise.
24175 (RUN_TEST_ff_i_tg): Likewise.
24176 (RUN_TEST_f_b): Likewise.
24177 (RUN_TEST_f_b_tg): Likewise.
24178 (RUN_TEST_f_l): Likewise.
24179 (RUN_TEST_f_L): Likewise.
24180 (RUN_TEST_sincos): Likewise.
24181 * math/gen-libm-test.pl (new_test): Take new argument to indicate
24182 whether to show exceptions. Do not include ");\n" in return
24183 value.
24184 (special_functions): Output call to RUN_TEST_sincos instead of
24185 check_float calls. Update calls to new_test.
24186 (parse_args): Output call to single RUN_TEST_* macro instead of
24187 check_* calls and other assignments. Update calls to new_test.
24188
d8cd06db
JM
24189 [BZ #2546]
24190 [BZ #2560]
24191 [BZ #5159]
24192 [BZ #15426]
24193 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
24194 input to result for tgamma overflow.
24195 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
24196 (gamma_coeff): New variable.
24197 (NCOEFF): New macro.
24198 (gamma_positive): New function.
24199 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
24200 underflow here. Use gamma_positive instead of exp (lgamma) for
24201 other arguments.
24202 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
24203 (gamma_coeff): New variable.
24204 (NCOEFF): New macro.
24205 (gammaf_positive): New function.
24206 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
24207 underflow here. Use gamma_positive instead of exp (lgamma) for
24208 other arguments.
24209 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
24210 (gamma_coeff): New variable.
24211 (NCOEFF): New macro.
24212 (gammal_positive): New function.
24213 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
24214 underflow here. Use gamma_positive instead of exp (lgamma) for
24215 other arguments.
24216 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
24217 (gamma_coeff): New variable.
24218 (NCOEFF): New macro.
24219 (gammal_positive): New function.
24220 (__ieee754_gammal_r): Handle positive infinity, overflow and
24221 underflow here. Handle NaN the same as positive infinity. Remove
24222 check x < 0xffffffff for negative integers. Use gamma_positive
24223 instead of exp (lgamma) for other arguments.
24224 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
24225 (gamma_coeff): New variable.
24226 (NCOEFF): New macro.
24227 (gammal_positive): New function.
24228 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
24229 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
24230 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
24231 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
24232 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
24233 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
24234 * sysdeps/generic/math_private.h (__gamma_productf): New
24235 prototype.
24236 (__gamma_product): Likewise.
24237 (__gamma_productl): Likewise.
24238 * math/Makefile (libm-calls): Add gamma_product.
24239 * math/libm-test.inc (tgamma_test): Add more tests.
24240 * sysdeps/i386/fpu/libm-test-ulps: Update.
24241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24242
bb7cf681
OB
242432013-05-08 Ondřej Bílka <neleai@seznam.cz>
24244
24245 * benchtests/bench-skeleton.c (main): Preheat CPU.
24246
ba853947
AJ
242472013-05-07 Aurelien Jarno <aurelien@aurel32.net>
24248
24249 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
24250
8347c74c
RM
242512013-05-07 Roland McGrath <roland@hack.frob.com>
24252
24253 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
24254 and _dl_skip_args_internal.
24255
e8dd4791
CD
242562013-05-07 Carlos O'Donell <carlos@redhat.com>
24257
24258 * manual/message.texi (Message Translation): Talk about users.
24259 Message to key mapping impacts design.
24260
c7405830
RM
242612013-05-06 Roland McGrath <roland@hack.frob.com>
24262
a9173057
RM
24263 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
24264
976e2f03
RM
24265 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
24266
9723ffc5
RM
24267 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
24268 * sysdeps/wordsize-64/glob64.c: ... here.
24269
962e6658
RM
24270 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
24271 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
24272 New macros.
24273
ee586a6d
RM
24274 * debug/getlogin_r_chk.c: Moved to ...
24275 * login/getlogin_r_chk.c: ... here.
24276 * debug/Makefile (routines): Move getlogin_r_chk to ...
24277 * login/Makefile (routines): ... here.
24278 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
24279 * login/Versions (libc: GLIBC_2.4): ... here.
24280
355f9165
RM
24281 * io/poll.c (__poll): Renamed from poll.
24282 Add libc_hidden_def.
24283 (poll): Define as weak alias.
24284
bd9ffde6
RM
24285 * debug/ptsname_r_chk.c: Moved to ...
24286 * login/ptsname_r_chk.c: ... here.
24287 * debug/Makefile (routines): Move ptsname_r_chk to ...
24288 * login/Makefile (routines): ... here.
24289 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
24290 * login/Versions (libc: GLIBC_2.4): ... here.
24291
8fb16a04
RM
24292 * posix/getlogin.c: Moved to ...
24293 * login/getlogin.c: ... here.
24294 * posix/getlogin_r.c: Moved to ...
24295 * login/getlogin_r.c: ... here.
24296 * posix/getlogin_r.c: Moved to ...
24297 * login/getlogin_r.c: ... here.
24298 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
24299 * login/Makefile (routines): ... here.
24300 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
24301 * login/Versions (libc: GLIBC_2.0): ... here.
24302
b99b892f
RM
24303 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
24304 (setrlimit): Define as weak alias.
24305
c7405830
RM
24306 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
24307 Call __ names for open, ftruncate, and close.
24308 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
24309 (truncate): Define as weak alias.
24310
5bf96de5
JM
243112013-05-06 Joseph Myers <joseph@codesourcery.com>
24312
9ea3513c
JM
24313 * math/gen-libm-test.pl (parse_args): Initialize x before each
24314 test of frexp, modf and remquo.
24315
5bf96de5
JM
24316 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
24317 test signgam value.
24318
16e616a7
AZ
243192013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24320
24321 [BZ #15418]
24322 [BZ #15419]
24323 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
24324 internal tests.
24325 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24326
d5e82754
RM
243272013-05-06 Roland McGrath <roland@hack.frob.com>
24328
24329 * elf/dl-writev.h: New file.
24330 * elf/dl-misc.c: Include it.
24331 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
24332 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
24333
a7548d41
JM
243342013-05-04 Joseph Myers <joseph@codesourcery.com>
24335
b7dab1e4
JM
24336 * math/libm-test.inc (noXFails): Remove variable.
24337 (noXPasses): Likewise.
24338 (BUILD_COMPLEX_INT): Remove macro.
24339 (print_screen): Remove xfail argument.
24340 (print_screen_max_error): Likewise.
24341 (update_stats): Likewise.
24342 (print_max_error): Likewise. Update calls to other affected
24343 functions.
24344 (print_complex_max_error): Likewise.
24345 (test_single_exception): Update calls to print_screen.
24346 (test_single_errno): Likewise.
24347 (check_float_internal): Remove xfail argument. Update calls to
24348 other affected functions.
24349 (check_float): Likewise.
24350 (check_complex): Likewise.
24351 (check_int): Likewise.
24352 (check_long): Likewise.
24353 (check_bool): Likewise.
24354 (check_longlong): Likewise.
24355 (main): Don't print noXFails and noXPasses.
24356 * math/gen-libm-test.pl (top level): Don't mention expected
24357 failure handling in comment.
24358 (new_test): Don't handle expected failures.
24359 (parse_args): Don't mention expected failure handling in comment.
24360 (generate_testfile): Don't handle expected failures.
24361 (parse_ulps): Likewise.
24362 (print_ulps_file): Likewise.
24363 (get_failure): Remove function.
24364 (output_test): Don't handle expected failures.
24365 * make/README.libm-test: Don't mention expected failure handling.
24366
a7548d41
JM
24367 * math/libm-test.inc (plus_zero): Make const. Add initializer.
24368 (minus_zero): Likewise.
24369 (plus_infty): Likewise.
24370 (minus_infty): Likewise.
24371 (qnan_value): Likewise.
24372 (max_value): Likewise.
24373 (min_value): Likewise.
24374 (min_subnorm_value): Likewise.
24375 (initialize): Do not initialize those variables dynamically.
24376
60bfd54c
RM
243772013-05-03 Roland McGrath <roland@hack.frob.com>
24378
cc0e6ed8
RM
24379 * io/open.c (__open_2): Moved to ...
24380 * io/open_2.c: ... this new file.
24381 * io/open64.c (__open64_2): Moved to ...
24382 * io/open64_2.c: ... this new file.
24383 * io/openat.c (__openat_2): Moved to ...
24384 * io/openat_2.c: ... this new file.
24385 * io/openat64.c (__openat64_2): Moved to ...
24386 * io/openat64_2.c: ... this new file.
24387 * io/Makefile (routines): Add them.
24388 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
24389 * sysdeps/unix/sysv/linux/open_2.c: File removed.
24390 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
24391 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
24392 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
24393 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
24394 (__openat64): Add hidden_ver.
24395 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
24396 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
24397
60bfd54c
RM
24398 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
24399 Separately conditionalize setting of GLRO(dl_sysinfo) so
24400 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
24401 as well, but the actual setting is only under [NEED_DL_SYSINFO].
24402
83e7640f
AZ
244032013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24404
24405 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
24406 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
24407 definition.
24408 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
24409 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24410 (_libc_vdso_platform_setup): Add __vdso_time initialization.
24411 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
24412 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
24413
d5dc2af3
JM
244142013-05-03 Joseph Myers <joseph@codesourcery.com>
24415
c31a5b1e
JM
24416 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
24417 test signgam value.
24418
d5dc2af3
JM
24419 * math/libm-test.inc (hypot_test): Do not use
24420 IGNORE_ZERO_INF_SIGN.
24421
164fd39d
AJ
244222013-05-03 Andreas Jaeger <aj@suse.de>
24423
24424 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
24425 Linux 3.9.
24426 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
24427 (PF_MAX): Adjust for VSOCK change.
24428
8237f48c
AZ
244292013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24430
24431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24432
9df02941
CD
244332013-05-02 Carlos O'Donell <carlos@redhat.com>
24434
24435 [BZ #15264]
24436 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
24437 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
24438 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
24439
d422395e
DM
244402013-05-02 David S. Miller <davem@davemloft.net>
24441
24442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24443
a07c5731
OB
244442013-05-01 Ondřej Bílka <neleai@seznam.cz>
24445
24446 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
24447
1324e37f
RM
244482013-05-01 Roland McGrath <roland@hack.frob.com>
24449
24450 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
24451
0695940b
RS
244522013-05-01 Richard Smith <richard@metafoo.co.uk>
24453
bb5f27ad 24454 [BZ #14952]
0695940b
RS
24455 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
24456 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24457 Use __attribute__ ((__gnu_inline__)).
24458 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24459 Don't use __attribute__ ((__gnu_inline__)).
24460
10de07f5
JM
244612013-05-01 Joseph Myers <joseph@codesourcery.com>
24462
24463 [BZ #15423]
24464 * math/s_catan.c (__catan): Handle small real or imaginary part of
24465 input specially to avoid spurious underflow.
24466 * math/s_catanf.c (__catanf): Likewise.
24467 * math/s_catanh.c (__catanh): Likewise.
24468 * math/s_catanhf.c (__catanhf): Likewise.
24469 * math/s_catanhl.c (__catanhl): Likewise.
24470 * math/s_catanl.c (__catanl): Likewise.
24471 * math/libm-test.inc (catan_test): Add more tests.
24472 (catanh_test): Likewise.
24473 * sysdeps/i386/fpu/libm-test-ulps: Update.
24474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24475
cb4d5414
AZ
244762013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24477
24478 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24479
caf84319
JM
244802013-04-30 Joseph Myers <joseph@codesourcery.com>
24481
24482 [BZ #15416]
24483 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
24484 accurately for denominator in atan2.
24485 * math/s_catanf.c (__catanf): Likewise.
24486 * math/s_catanh.c (__catanh): Likewise.
24487 * math/s_catanhf.c (__catanhf): Likewise.
24488 * math/s_catanhl.c (__catanhl): Likewise.
24489 * math/s_catanl.c (__catanl): Likewise.
24490 * math/libm-test.inc (catan_test): Add more tests.
24491 (catanh_test): Likewise.
24492 * sysdeps/i386/fpu/libm-test-ulps: Update.
24493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24494
d569c6ee
SP
244952013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24496
6dbe713d
SP
24497 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
24498
f0ee064b
SP
24499 * benchtests/Makefile (bench): Remove slow benchmarks.
24500 * benchtests/atan-inputs: Add slow benchmark inputs.
24501 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
24502 (BENCH_FUNC): Accept variant offset.
24503 (VARIANT): Define.
24504 * benchtests/bench-skeleton.c (main): Run benchmark for each
24505 variant.
24506 * benchtests/cos-inputs: Add slow benchmark inputs.
24507 * benchtests/exp-inputs: Likewise.
24508 * benchtests/pow-inputs: Likewise.
24509 * benchtests/sin-inputs: Likewise.
24510 * benchtests/slowatan-inputs: Remove.
24511 * benchtests/slowatan.c: Remove.
24512 * benchtests/slowcos-inputs: Remove.
24513 * benchtests/slowcos.c: Remove.
24514 * benchtests/slowexp-inputs: Remove.
24515 * benchtests/slowexp.c: Remove.
24516 * benchtests/slowpow-inputs: Remove.
24517 * benchtests/slowpow.c: Remove.
24518 * benchtests/slowsin-inputs: Remove.
24519 * benchtests/slowsin.c: Remove.
24520 * benchtests/slowtan-inputs: Remove.
24521 * benchtests/slowtan.c: Remove.
24522 * benchtests/tan-inputs: Add slow benchmark inputs.
24523 * scripts/bench.pl: Parse comments and directives.
24524
d569c6ee
SP
24525 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
24526 in CPPFLAGS.
24527 ($(objpfx)bench-%.c): Remove *-ITER.
24528 * benchtests/bench-modf.c: Remove definition of ITER.
24529 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
24530 (main): Loop for DURATION seconds instead of fixed number of
24531 iterations.
24532 * scripts/bench.pl: Don't expect iterations in parameters.
24533
a6a242fe
RM
245342013-04-29 Roland McGrath <roland@hack.frob.com>
24535
24536 * io/fchdir.c (__fchdir): Renamed from fchdir.
24537 (fchdir): Define as weak alias.
24538
f2da7793
JM
245392013-04-29 Joseph Myers <joseph@codesourcery.com>
24540
24541 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
24542 (ERRNO_EDOM): Likewise.
24543 (ERRNO_ERANGE): Likewise.
24544 (noErrnoTests): New variable.
24545 (init_max_error): Set errno to 0.
24546 (test_single_errno): New function.
24547 (test_errno): Likewise.
24548 (check_float_internal): Call test_errno. Set errno to 0.
24549 (check_complex): Refer to errno tests in comment.
24550 (check_int): Call test_errno. Set errno to 0.
24551 (check_long): Likewise.
24552 (check_bool): Likewise.
24553 (check_longlong): Likewise.
24554 (cos_test): Use ERRNO_* flags for errno tests instead of
24555 check_int.
24556 (expm1_test): Likewise.
24557 (fmod_test): Likewise.
24558 (ilogb_test): Likewise.
24559 (lgamma_test): Likewise.
24560 (pow_test): Likewise.
24561 (remainder_test): Likewise.
24562 (sin_test): Likewise.
24563 (tan_test): Likewise.
24564 (yn_test): Likewise.
24565 (initialize): Set errno to 0.
24566 (main): Print number of errno tests.
24567 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
24568
b1a36ceb
AJ
245692013-04-29 Andreas Jaeger <aj@suse.de>
24570
c3ed8088
AJ
24571 [BZ #15084]
24572 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
24573 and RES_USEVC.
24574
f1a24198
AJ
24575 [BZ #15085]
24576 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
24577 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
24578 unimplemented.
24579
9ce3b2cb
AJ
24580 [BZ #15380]
24581 * stdlib/random.c (__initstate): Return NULL if
24582 __initstate fails.
24583
f1a24198 24584 [BZ #15086]
b1a36ceb
AJ
24585 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
24586 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
24587 RES_SNGLKUPREOP.
24588
7e7b6f36
AZ
245892013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24590
24591 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24592
4d14f449
JM
245932013-04-29 Joseph Myers <joseph@codesourcery.com>
24594
24595 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
24596 of individual tests.
24597 (casin_test): Likewise.
24598 (casinh_test): Likewise.
24599
5b4217d7
JM
246002013-04-27 Joseph Myers <joseph@codesourcery.com>
24601
24602 [BZ #15409]
24603 * math/s_catan.c (__catan): Handle arguments with large real or
24604 imaginary part separately without squaring.
24605 * math/s_catanf.c (__catanf): Likewise.
24606 * math/s_catanh.c (__catanh): Likewise.
24607 * math/s_catanhf.c (__catanhf): Likewise.
24608 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24609 and redefine.
24610 (__catanhl): Handle arguments with large real or imaginary part
24611 separately without squaring.
24612 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24613 and redefine.
24614 (__catanl): Handle arguments with large real or imaginary part
24615 separately without squaring.
24616 * math/libm-test.inc (catan_test): Add more tests.
24617 (catanh_test): Likewise.
24618 * sysdeps/i386/fpu/libm-test-ulps: Update.
24619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24620
4220c3ef
AJ
246212013-04-27 Andreas Jaeger <aj@suse.de>
24622
24623 [BZ #15007]
24624 * stdlib/stdlib.h: Update guards for qecvt.
24625 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
24626 <stdlib.h>.
24627
4721b2d1
AM
246282013-04-27 Allan McRae <allan@archlinux.org>
24629
24630 * sysdeps/i386/fpu/libm-test-ulps: Update.
24631
f0302940
JM
246322013-04-26 Joseph Myers <joseph@codesourcery.com>
24633
9457fd95
JM
24634 [BZ #15406]
24635 * math/s_catan.c: Include <float.h>.
24636 (__catan): Ensure underflow exception occurs for underflowed
24637 result.
24638 * math/s_catanf.c: Include <float.h>.
24639 (__catanf): Ensure underflow exception occurs for underflowed
24640 result.
24641 * math/s_catanh.c: Include <float.h>.
24642 (__catanh): Ensure underflow exception occurs for underflowed
24643 result.
24644 * math/s_catanhf.c: Include <float.h>.
24645 (__catanhf): Ensure underflow exception occurs for underflowed
24646 result.
24647 * math/s_catanhl.c: Include <float.h>.
24648 (__catanhl): Ensure underflow exception occurs for underflowed
24649 result.
24650 * math/s_catanl.c: Include <float.h>.
24651 (__catanl): Ensure underflow exception occurs for underflowed
24652 result.
24653 * math/libm-test.inc (catan_test): Add more tests.
24654 (catanh_test): Likewise.
24655
f0302940
JM
24656 [BZ #15405]
24657 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
24658 underflowed result.
24659 * math/s_ccoshf.c (__ccoshf): Likewise.
24660 * math/s_ccoshl.c (__ccoshl): Likewise.
24661 * math/s_csin.c (__csin): Likewise.
24662 * math/s_csinf.c (__csinf): Likewise.
24663 * math/s_csinh.c (__csinh): Likewise.
24664 * math/s_csinhf.c (__csinhf): Likewise.
24665 * math/s_csinhl.c (__csinhl): Likewise.
24666 * math/s_csinl.c (__csinl): Likewise.
24667 * math/libm-test.inc (ccos_test): Add more tests.
24668 (ccosh_test): Likewise.
24669 (csin_test): Likewise.
24670 (csinh_test): Likewise.
24671
aa630f59
AZ
246722013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24673
24674 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
24675 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
24676 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
24677 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
24678 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
24679 powerpc/power5+/fpu folders.
24680 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
24681
24682
1b835983
MT
246832013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24684
24685 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24686
73709b26
JM
246872013-04-25 Joseph Myers <joseph@codesourcery.com>
24688
24689 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
24690 additions to variable.
24691 [$(config-machine) = x86_64] (modules-names): Likewise.
24692 ($(objpfx)tst-audit3): Remove dependency.
24693 ($(objpfx)tst-audit3.out): Likewise.
24694 ($(objpfx)tst-audit4): Likewise.
24695 ($(objpfx)tst-audit4.out): Likewise.
24696 ($(objpfx)tst-audit5): Likewise.
24697 ($(objpfx)tst-audit5.out): Likewise.
24698 ($(objpfx)tst-audit6): Likewise.
24699 ($(objpfx)tst-audit6.out): Likewise.
24700 ($(objpfx)tst-audit7): Likewise.
24701 ($(objpfx)tst-audit7.out): Likewise.
24702 (tst-audit3-ENV): Remove variable.
24703 (tst-audit4-ENV): Likewise.
24704 (tst-audit5-ENV): Likewise.
24705 (tst-audit6-ENV): Likewise.
24706 (tst-audit7-ENV): Likewise.
24707 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
24708 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
24709 addition to variable.
24710 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
24711 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
24712 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
24713 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
24714 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
24715 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
24716 tst-audit3, tst-audit4 and tst-audit5.
24717 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
24718 tst-audit6 and tst-audit7.
24719 [$(subdir) = elf] (modules-names): Add audit modules for those
24720 tests.
24721 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
24722 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
24723 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
24724 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
24725 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
24726 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
24727 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
24728 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
24729 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
24730 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
24731 [$(subdir) = elf] (tst-audit3-ENV): New variable.
24732 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
24733 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
24734 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
24735 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
24736 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
24737 Likewise.
24738 [$(subdir) = elf && $(config-cflags-avx) = yes]
24739 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
24740 [$(subdir) = elf && $(config-cflags-avx) = yes]
24741 (CFLAGS-tst-auditmod4a.c): Likewise.
24742 [$(subdir) = elf && $(config-cflags-avx) = yes]
24743 (CFLAGS-tst-auditmod4b.c): Likewise.
24744 [$(subdir) = elf && $(config-cflags-avx) = yes]
24745 (CFLAGS-tst-auditmod6b.c): Likewise.
24746 [$(subdir) = elf && $(config-cflags-avx) = yes]
24747 (CFLAGS-tst-auditmod6c.c): Likewise.
24748 [$(subdir) = elf && $(config-cflags-avx) = yes]
24749 (CFLAGS-tst-auditmod7b.c): Likewise.
24750 * elf/tst-audit3.c: Move to ...
24751 * sysdeps/x86_64/tst-audit3.c: ... here.
24752 * elf/tst-audit4.c: Move to ...
24753 * sysdeps/x86_64/tst-audit4.c: ... here.
24754 * elf/tst-audit5.c: Move to ...
24755 * sysdeps/x86_64/tst-audit5.c: ... here.
24756 * elf/tst-audit6.c: Move to ...
24757 * sysdeps/x86_64/tst-audit6.c: ... here.
24758 * elf/tst-audit7.c: Move to ...
24759 * sysdeps/x86_64/tst-audit7.c: ... here.
24760 * elf/tst-auditmod3a.c: Move to ...
24761 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
24762 * elf/tst-auditmod3b.c: Move to ...
24763 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
24764 * elf/tst-auditmod4a.c: Move to ...
24765 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
24766 * elf/tst-auditmod4b.c: Move to ...
24767 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
24768 * elf/tst-auditmod5a.c: Move to ...
24769 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
24770 * elf/tst-auditmod5b.c: Move to ...
24771 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
24772 * elf/tst-auditmod6a.c: Move to ...
24773 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
24774 * elf/tst-auditmod6b.c: Move to ...
24775 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
24776 * elf/tst-auditmod6c.c: Move to ...
24777 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
24778 * elf/tst-auditmod7a.c: Move to ...
24779 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
24780 * elf/tst-auditmod7b.c: Move to ...
24781 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
24782
1ef74943
PP
247832013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
24784
24785 [BZ #15366]
24786 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
24787 define unconditionally.
24788 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
24789 define unconditionally.
24790 (INT8_C, INT16_C, etc.): Likewise.
24791
93fd48c5
MR
247922013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
24793
ae9552cf
MR
24794 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
24795 __ehdr_start with hidden visibility.
24796
93fd48c5
MR
24797 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
24798
418601aa
CD
247992013-04-24 Carlos O'Donell <carlos@redhat.com>
24800
24801 * math/libm-test.inc (cos_test): Use accurate hex constants.
24802 (sincost_test): Likewise.
24803
2f38fbfe
JM
248042013-04-24 Joseph Myers <joseph@codesourcery.com>
24805
5e221800
JM
24806 * math/libm-test.inc (catan_test): Add more tests.
24807 (catanh_test): Likewise.
24808
77f143fd
JM
24809 * math/s_catanf.c (__catanf): Use suffixed floating-point
24810 constants.
24811 * math/s_catanhf.c (__catanhf): Likewise.
24812 * math/s_catanhl.c (__catanhl): Likewise.
24813 * math/s_catanl.c (__catanl): Likewise.
24814
2f38fbfe
JM
24815 [BZ #15394]
24816 * math/s_catan.c (__catan): Calculate imaginary part of result
24817 with log1p not log unless computing log of number close to 0.
24818 * math/s_catanf.c (__catanf): Likewise.
24819 * math/s_catanl.c (__catanl): Likewise.
24820 * math/s_catanh.c (__catanh): Calculate real part of result with
24821 log1p not log unless computing log of number close to 0.
24822 * math/s_catanhf.c (__catanhf): Likewise.
24823 * math/s_catanhl.c (__catanhl): Likewise.
24824 * math/libm-test.inc (catan_test): Add more tests.
24825 (catanh_test): Likewise.
24826 * sysdeps/i386/fpu/libm-test-ulps: Update.
24827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24828
45d69176
SP
248292013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24830
24831 * benchtests/Makefile: Mention files in which fast and slow
24832 paths of math functions are implemented.
24833
87f51853
RM
248342013-04-23 Roland McGrath <roland@hack.frob.com>
24835
24836 * sysdeps/posix/timespec_get.c: New file.
24837
3c026539
AZ
248382013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24839
24840 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
24841 POWER.
24842 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
24843 for POWER.
24844 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
24845 powerpc/power5/fpu folders.
24846 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
24847 * benchtests/Makefile: Add modf testcase.
24848 * benchtests/bench-modf.c: New file: Benchmark test for mo
24849
ff491d14
SP
248502013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24851
24852 [BZ #14888]
24853 * time/Makefile (tests): Add tst-strptime-whitespace.
24854 * time/strptime_l.c (get_number): Use ISSPACE.
24855 (__strptime_internal): Likewise.
24856 * time/tst-strptime-whitespace.c: New test case.
24857
7ed3f4e8
AS
248582013-04-23 Andreas Schwab <schwab@linux-m68k.org>
24859
24860 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
24861 member.
24862 (_nss_files_init): Set it here.
24863
5c95f7b6
HC
248642013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
24865
24866 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
24867 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
24868 unsigned.
24869
d34c9158
JBG
248702013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
24871
24872 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
24873
2169712d
SP
248742013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24875
24876 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
24877 size just once.
24878
29c5de99
DM
248792013-04-21 David S. Miller <davem@davemloft.net>
24880
24881 * po/ru.po: Update Russion translation from translation project.
24882
ccdad15d
AC
248832013-04-17 Adam Conrad <adconrad@0c3.net>
24884
24885 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
24886 and setfsgid.
24887
0f122b8d
CD
248882013-04-17 Carlos O'Donell <carlos@redhat.com>
24889
5c5b07da 24890 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 24891 * configure: Regenerate.
5c5b07da 24892 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
24893 Add example to error message.
24894 * sysdeps/i386/configure: Regenerate.
24895
037714dd
SP
248962013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24897
24898 * benchtests/Makefile (bench): Add cos, tan, slowcos and
24899 slowtan.
24900 * benchtests/cos-inputs: New file.
24901 * benchtests/slowcos-inputs: New file.
24902 * benchtests/slowcos.c: New file.
24903 * benchtests/slowtan-inputs: New file.
24904 * benchtests/slowtan.c: New file.
24905 * benchtests/tan-inputs: New file.
24906
e913141d
RM
249072013-04-16 Roland McGrath <roland@hack.frob.com>
24908
24909 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24910 considered kosher.
24911
a2964074
SP
249122013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24913
4856bcd2
SP
24914 * benchtests/Makefile: Include cppflags-iterator.mk to add
24915 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24916
a2964074
SP
24917 * Makefile.in (bench-clean): New target.
24918 * benchtests/Makefile (bench-clean): Likewise.
24919
9fbf9aca
DH
249202013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
24921
24922 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24923
207d1e2a
TS
249242013-04-15 Thomas Schwinge <thomas@codesourcery.com>
24925
24926 * stdio-common/tstdiomisc.c: Fix coding-style violation.
24927
306dfba9
AS
249282013-04-15 Andreas Schwab <schwab@suse.de>
24929
24930 * nscd/grpcache.c (cache_addgr): Properly check for short write.
24931 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24932 * nscd/pwdcache.c (cache_addpw): Likewise.
24933 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
24934 more than recsize.
24935
206a6699
SP
249362013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24937
24938 * benchtests/Makefile (bench): Write all output to
24939 bench-out.tmp together.
24940
0582f6b3
AS
249412013-04-15 Andreas Schwab <schwab@suse.de>
24942
24943 * nscd/nscd.c (main): Don't fork again after closing files.
24944
acb4325f
SP
249452013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24946
5cb26d0a
SP
24947 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24948
acb4325f
SP
24949 * benchtests/Rules (bench-deps): Collect dependencies into a
24950 single variable. Add Makefile to dependencies.
24951 ($(objpfx)bench-%.c): Depend on bench-deps.
24952
47792506
RM
249532013-04-12 Roland McGrath <roland@hack.frob.com>
24954 Xavier Roche <roche+kml2@exalead.com>
24955
24956 [BZ #15361]
24957 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24958 just that it's a file descriptor.
24959 * manual/llio.texi (Synchronizing AIO Operations): Update description
24960 for EBADF error from aio_fsync.
24961
8fc1bee5
SP
249622013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24963
24964 * Rules (bench): Move target definition...
24965 * benchtests/Makefile: ... here.
24966
aba5e333
CD
249672013-04-11 Carlos O'Donell <carlos@redhat.com>
24968
24969 * math/libm-test.inc (cos_test): Fix PI/2 test.
24970 (sincos_test): Likewise.
24971 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24972 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24973
273cdee8
AS
249742013-04-11 Andreas Schwab <schwab@suse.de>
24975
6ecec3b6
AS
24976 [BZ #13988]
24977 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24978 accept exponent character only when digits were seen.
24979 * stdio-common/Makefile (tests): Add bug26.
24980 * stdio-common/bug26.c: New file.
24981
273cdee8
AS
24982 [BZ #14293]
24983 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24984 non-freeable.
24985
8da491f5
SP
249862013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24987
01dc6df9
SP
24988 * Makeconfig (rtld-prefix): Define built linker prefix.
24989 * Rules (run-bench): Use it.
24990 * math/Makefile (run-regen-ulps): Likewise.
24991
8da491f5
SP
24992 * Rules (bench): Remove eval.
24993
abe7f530
SP
249942013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24995 Roland McGrath <roland@hack.frob.com>
24996 Ondrej Bilka <neleai@seznam.cz>
24997
24998 [BZ #15346]
24999 * time/getdate.c: Include ctype.h and alloca.h.
25000 (__getdate_r): Trim leading and trailing spaces of input.
25001 * time/tst-getdate.c (tests): Add tests with leading and
25002 trailing spaces.
25003
61c23e62
RM
250042013-04-08 Roland McGrath <roland@hack.frob.com>
25005
25006 [BZ #14280]
25007 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
25008 when computing value.
25009
7208a313
CD
250102013-04-06 Carlos O'Donell <carlos@redhat.com>
25011
085b2d41
CD
25012 * math/README.libm-test (How can I generate "libm-test-ulps"?):
25013 Use testrun.sh to run libm tests.
25014
7208a313
CD
25015 [BZ #15309]
25016 * elf/dl-open.c (dl_open_worker): memset all of seen array.
25017
872c0acd
MM
250182013-04-06 Marko Myllynen <myllynen@redhat.com>
25019
25020 [BZ #15264]
25021 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
25022
26510bdd
CD
250232013-04-06 Carlos O'Donell <carlos@redhat.com>
25024
25025 * Makefile.in (regen-ulps): New target.
25026 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
25027 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
25028 [ifneq (no,$(PERL)] (regen-ulps): New target.
25029 [ifeq (no,$(PERL)] (regen-ulps): New target.
25030 * math/libm-test.inc (ulps_file_name): Define.
25031 (output_dir): New variable.
25032 (options): Add "output-dir" option.
25033 (parse_opt): Handle 'o' case.
25034 (main): If output_dir is non-NULL use it as a prefix
25035 otherwise use "".
25036 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
25037
a01f19c8
CD
250382013-04-06 Carlos O'Donell <carlos@redhat.com>
25039
25040 [BZ #10060, #10062]
25041 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
25042 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
25043 fail configure if __sync_val_compare_and_swap is not inlined.
25044 * sysdeps/i386/configure: Regenerate.
25045 * configure.in: Build for i686 when configured for i386.
25046 * configure: Regenerate.
25047 * README: Remove i386 reference.
25048
b7a329a5
CD
250492013-04-06 Carlos O'Donell <carlos@redhat.com>
25050
25051 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
25052 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25053
bf0f50df
TS
250542013-04-05 Thomas Schwinge <thomas@codesourcery.com>
25055
ee091edf
TS
25056 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
25057 (lmsnanval): New variables.
25058 (F): Add conversion tests.
25059 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
25060 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
25061
a8b792d6
TS
25062 * stdio-common/tstdiomisc.c (F): Properly collect individual
25063 tests' results.
25064
a1cbf437
TS
25065 [BZ #14686, #15336]
25066 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
25067 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
25068 Instead, use input NaN values or generate a qNaN by arithmetic
25069 operation. Also fix bugs to comply with the standard.
25070 * math/libm-test.inc (remainder_test): Add more tests.
25071
8b43a0c9
TS
25072 [BZ #15335, #15342]
25073 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
25074 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
25075 input NaN values or generate a qNaN by arithmetic operation.
25076
d91da4ce
TS
25077 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
25078 unreachable code.
25079
bf0f50df
TS
25080 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
25081 definitions.
25082
05e166c8
JM
250832013-04-03 Joseph Myers <joseph@codesourcery.com>
25084
25085 [BZ #14478]
25086 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
25087 underflowed result.
25088 * math/s_cexpf.c (__cexpf): Likewise.
25089 * math/s_cexpl.c (__cexpl): Likewise.
25090 * math/libm-test.inc (cexp_test): Add more tests.
25091
1cef1b19
AS
250922013-04-03 Andreas Schwab <schwab@suse.de>
25093
25094 [BZ #15330]
25095 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
25096 order arrays from heap if bigger than alloca cutoff.
25097
74d87055
TS
250982013-04-03 Thomas Schwinge <thomas@codesourcery.com>
25099
25100 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
25101 (SNAN_TESTS_double): Refer to GCC PR56831.
25102 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
25103 GCC PR56828.
25104
d755bba4
SP
251052013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25106
90d5d5bb
SP
25107 * Rules (bench): Move bench.out after the run is complete.
25108
73e0cd5d
SP
25109 * Rules (bench): Echo currently running benchmark.
25110
64aabd4b
SP
25111 * benchtests/Makefile (bench): Add atan and slowatan.
25112 * benchtests/atan-inputs: New file.
25113 * benchtests/slowatan-inputs: New file.
25114 * benchtests/slowatan.c: New file.
25115
c871eccd
SP
25116 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
25117 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
25118 its value.
25119
d755bba4
SP
25120 [BZ #15305]
25121 * sysdeps/unix/sysv/linux/kernel-features.h
25122 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
25123 __ASSUME_XFS_RESTRICTED_CHOWN.
25124 * sysdeps/unix/sysv/linux/pathconf.c
25125 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
25126 Save and restore errno.
25127
52ce4860
JM
251282013-04-02 Joseph Myers <joseph@codesourcery.com>
25129
25130 [BZ #15327]
25131 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
25132 arguments using __kernel_casinh.
25133 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
25134 arguments using __kernel_casinhf.
25135 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
25136 arguments using __kernel_casinhl.
25137 * math/libm-test.inc (cacosh_test): Add more tests.
25138 * sysdeps/i386/fpu/libm-test-ulps: Update.
25139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25140
81f311c2
SP
251412013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25142
e7906a47
SP
25143 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
25144 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
25145
92e3664b
SP
25146 * bench/Makefile (bench): Add sin and slowsin.
25147 * benchtests/sin-inputs: New file.
25148 * benchtests/slowsin-inputs: New file.
25149 * benchtests/slowsin.c: New file.
25150
81f311c2
SP
25151 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
25152 (bench): Add slowexp and slowpow.
25153 (exp-ITER): Increase iterations.
25154 (pow-ITER): Likewise.
25155 * benchtests/exp-inputs: Change input.
25156 * benchtests/pow-inputs: Likewise.
25157 * benchtests/slowexp-inputs: New file.
25158 * benchtests/slowexp.c: New file.
25159 * benchtests/slowpow-inputs: New file.
25160 * benchtests/slowpow.c: New file.
25161
ab0f1aa9
AZ
251622013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25163
25164 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
25165 instructions.
25166 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25167 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
25168 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
25169 * benchtests/Makefile: Add rint benchtest.
25170 * benchtests/rint-inputs: Input for rint benchtest.
25171
57267616
TS
251722013-04-02 Thomas Schwinge <thomas@codesourcery.com>
25173
25174 * Versions.def (libm): Add GLIBC_2.18.
25175 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
25176 hidden libm prototypes.
25177 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
25178 * math/Makefile (libm-calls): Add s_issignaling.
25179 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
25180 __issignalingf, __issignalingl. Adjust all libm.abilist files.
25181 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
25182 declaration.
25183 * math/math.h [__USE_GNU] (issignaling): New macro.
25184 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
25185 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
25186 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
25187 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
25188 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
25189 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
25190 * manual/arith.texi (issignaling): New section.
25191 * manual/libm-err-tab.pl (@all_functions): Update comment.
25192 * math/gen-libm-test.pl (parse_args): Apply special handling for
25193 issignaling.
25194 * math/libm-test.inc (print_float, issignaling_test): New
25195 functions.
25196 (check_float_internal): Add issignaling checks.
25197 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
25198 default definition.
25199 * sysdeps/powerpc/math-tests.h: New file.
25200 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
25201 tests.
25202 * math/test-snan.c (TEST_FUNC): Likewise.
25203
6142896d
DM
252042013-03-30 David S. Miller <davem@davemloft.net>
25205
25206 * po/de.po: Update from translation team.
25207
ccc8cadf
JM
252082013-03-30 Joseph Myers <joseph@codesourcery.com>
25209
25210 [BZ #10357]
25211 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25212 imaginary part less than 1.0 and real part less than 0.5
25213 specially.
25214 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25215 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25216 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
25217 (cacos_test): Add more tests.
25218 (casin_test): Likewise.
25219 (casinh_test): Likewise.
25220 * sysdeps/i386/fpu/libm-test-ulps: Update.
25221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25222
0f6a8d4b
SP
252232013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25224
0d1029de
SP
25225 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
25226 ONE with its value.
25227
c2d94018
SP
25228 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
25229 (__pow_mp): Replace ONE and MONE with their values.
25230 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25231 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
25232 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25233 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
25234 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25235 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25236
27ec37f1
SP
25237 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
25238
a64d7e0e
SP
25239 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
25240 (__pow_mp): Replace ZERO and MZERO with their values.
25241 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25242 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25243 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25244 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25245 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25246 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
25247 (__sqr): Likewise.
25248
d26dd3eb
SP
25249 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
25250
0f6a8d4b
SP
25251 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
25252
e57b0c61
RM
252532013-03-28 Roland McGrath <roland@hack.frob.com>
25254
25255 * include/stdlib.h [!SHARED] (__call_tls_dtors):
25256 Declare with __attribute__ ((weak)).
25257 * stdlib/exit.c (__libc_atexit) [!SHARED]:
25258 Call __call_tls_dtors only if it's not NULL.
25259
356b3480
RM
252602013-03-28 Roland McGrath <roland@hack.frob.com>
25261
288f7d79
RM
25262 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
25263 didn't do it already, then set _dl_phdr and _dl_phnum based on the
25264 magic __ehdr_start linker symbol if it's defined.
25265 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
25266 them up here if it was already done.
25267
dc0a0263
RM
25268 * elf/dl-support.c (_dl_phdr): Make pointer to const.
25269 (_dl_aux_init): Use const in cast when setting it.
25270 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
25271 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
25272 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
25273
3d3436ae
RM
25274 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
25275 Declare them here.
25276 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
25277 * csu/libc-tls.c: Nor here.
25278 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
25279
356b3480
RM
25280 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
25281 (__libc_message): Never call vsyslog.
25282
b0f1246a
AM
252832013-03-28 Alan Modra <amodra@gmail.com>
25284
25285 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
25286 Define as empty.
25287 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
25288 Likewise.
25289
fbbe2b9a
AZ
252902013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25291
25292 [BZ #15214]
25293 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
25294 underflow.
25295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25296
1728ab37
SP
252972013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25298
7a86be6e
SP
25299 [BZ #15304]
25300 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25301 Don't add gid passed as argument.
25302
1728ab37
SP
25303 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
25304
3a7182a1
JM
253052013-03-27 Joseph Myers <joseph@codesourcery.com>
25306
25307 [BZ #15307]
25308 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25309 imaginary part between 1.0 and 1.5 and real part less than 0.5
25310 specially.
25311 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25312 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25313 * math/libm-test.inc (cacos_test): Add more tests.
25314 (casin_test): Likewise.
25315 (casinh_test): Likewise.
25316 * sysdeps/i386/fpu/libm-test-ulps: Update.
25317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25318
6f2e90e7
SP
253192013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25320
5739f705
SP
25321 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
25322 constants.
25323 (norm): Likewise.
25324 (denorm): Likewise.
25325 (__dbl_mp): Likewise.
25326 (add_magnitudes): Likewise.
25327 (sub_magnitudes): Likewise.
25328 (__add): Likewise.
25329 (__sub): Likewise.
25330 (__mul): Likewise.
25331 (__sqr): Likewise.
25332 (__inv): Likewise.
25333 (__dvd): Likewise.
25334
e375e83d
SP
25335 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
25336 commented code.
25337 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
25338 (__dubcos): Likewise.
25339 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
25340 (__ieee754_acos): Likewise.
25341 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25342 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
25343 (__exp1): Likewise.
25344 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25345 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25346 (log1): Likewise.
25347 (my_log2): Likewise.
25348 (checkint): Likewise.
25349 * sysdeps/ieee754/dbl-64/e_remainder.c
25350 (__ieee754_remainder): Likewise.
25351 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25352 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
25353 (bsloww): Likewise.
25354 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25355
6f2e90e7
SP
25356 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25357 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
25358 MANTISSA_STORE_T to store computations on mantissa. Use
25359 macros for rounding and division.
25360 (denorm): Likewise.
25361 (__dbl_mp): Likewise.
25362 (add_magnitudes): Likewise.
25363 (sub_magnitudes): Likewise.
25364 (__mul): Likewise.
25365 (__sqr): Likewise.
25366 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25367 powers of two in terms of TWOPOW macro.
25368 (mp_no): Make type of mantissa as MANTISSA_T.
25369 [!RADIXI]: Define RADIXI.
25370 [!TWO52]: Define TWO52.
25371 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25372
fce14d4e
AZ
253732013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25374
25375 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
25376 llroundl symbol when building for PPC32.
25377
9ad027fb
MW
253782013-03-24 Mark H Weaver <mhw@netris.org>
25379
25380 * manual/arith.texi (Normalization Functions): Fix prototypes for
25381 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
25382
e42a38dd
AZ
253832013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25384
25385 [BZ #13889]
25386 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
25387 high value to check if expl overflow.
25388 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
25389 to check for underflow and overflow.
25390 * math/libm-test.inc: Add exp test.
25391
2e0fb521
DL
253922013-03-21 Dmitry V. Levin <ldv@altlinux.org>
25393
25394 [BZ #11120]
25395 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
25396 with NOT_IN_libc.
25397
b5784d95
AZ
253982013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25399
25400 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
25401 symbol.
25402
5aa4a1a1
TS
254032013-03-21 Thomas Schwinge <thomas@codesourcery.com>
25404
bdef0be7
TS
25405 * math/gen-libm-test.pl (parse_args, special_functions): Properly
25406 wrap blocks consisting of several statements.
25407
5aa4a1a1
TS
25408 * sysdeps/generic/math-tests.h: New file.
25409 * sysdeps/i386/fpu/math-tests.h: Likewise.
25410 * math/test-snan.c: Include it.
25411 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
25412
98c48fe5
JM
254132013-03-21 Joseph Myers <joseph@codesourcery.com>
25414
25415 [BZ #15285]
25416 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
25417 (__ieee754_j0l): Do not improve calculations using cos of twice
25418 input for inputs above LDBL_MAX / 2.0L.
25419 (__ieee754_y0l): Likewise.
25420 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
25421 (__ieee754_j1l): Do not improve calculations using cos of twice
25422 input for inputs above LDBL_MAX / 2.0L.
25423 (__ieee754_y1l): Likewise.
25424 * math/libm-test.inc (j0_test): Add another test.
25425 (j1_test): Likewise.
25426 (y0_test): Likewise.
25427 (y1_test): Likewise.
25428 * sysdeps/i386/fpu/libm-test-ulps: Update.
25429
3775a8bc
SP
254302013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25431
25432 * Rules ($(objpfx)bench-%.c): Include code from a C source
25433 file.
25434
0a1b2ae6
JM
254352013-03-21 Joseph Myers <joseph@codesourcery.com>
25436
25437 [BZ #15287]
25438 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25439 imaginary part 1.0 and real part less than 0.5 specially.
25440 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25441 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25442 * math/libm-test.inc (cacos_test): Add more tests.
25443 (casin_test): Likewise.
25444 (casinh_test): Likewise.
25445 * sysdeps/i386/fpu/libm-test-ulps: Update.
25446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25447
b33d4ce4
SP
254482013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25449
25450 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
25451 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
25452
bef0b507
JM
254532013-03-20 Joseph Myers <joseph@codesourcery.com>
25454
25455 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
25456 * config.make.in (config-cflags-sse4): Remove variable.
25457 (config-cflags-avx): Likewise.
25458 (config-cflags-sse2avx): Likewise.
25459 (config-cflags-novzeroupper): Likewise.
25460 (config-asflags-i686): Likewise.
25461 (have-mfma4): Likewise.
25462 (have-as-vis3): Likewise.
25463 (MIG): Likewise.
25464 * configure.in (MIG): Do not AC_SUBST.
25465 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
25466 (libc_cv_cc_sse4): Do not AC_SUBST.
25467 (libc_cv_cc_avx): Likewise.
25468 (libc_cv_cc_sse2avx): Likewise.
25469 (libc_cv_cc_novzeroupper): Likewise.
25470 (libc_cv_cc_fma4): Likewise.
25471 (libc_cv_as_i686): Likewise.
25472 (libc_cv_sparc_as_vis3): Likewise.
25473 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
25474 LIBC_CONFIG_VAR.
25475 (config-asflags-i686): Likewise.
25476 (config-cflags-avx): Likewise.
25477 (config-cflags-sse2avx): Likewise.
25478 (have-mfma4): Likewise.
25479 (config-cflags-novzeroupper): Likewise.
25480 * sysdeps/mach/configure.in (MIG): Likewise.
25481 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
25482 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
25483 LIBC_CONFIG_VAR.
25484 (config-cflags-avx): Likewise.
25485 (config-cflags-sse2avx): Likewise.
25486 (have-mfma4): Likewise.
25487 (config-cflags-novzeroupper): Likewise.
25488 * configure: Regenerated.
25489 * sysdeps/i386/configure: Likewise.
25490 * sysdeps/mach/configure: Likewise.
25491 * sysdeps/sparc/configure: Likewise.
25492 * sysdeps/x86_64/configure: Likewise.
25493
912cc4b3
RM
254942013-03-20 Roland McGrath <roland@hack.frob.com>
25495
25496 [BZ #14812]
25497 * locale/programs/localedef.c (options): Put N_ translation marker
25498 on argument names, not just descriptions.
25499
04eed2b0
MS
255002013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25501
25502 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
25503
a065ceff
OB
255042013-03-20 Ondřej Bílka <neleai@seznam.cz>
25505
9bb2a810 25506 [BZ #14176]
a065ceff
OB
25507 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
25508
a600e5ce
RM
255092013-03-19 Roland McGrath <roland@hack.frob.com>
25510
25511 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
25512 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
25513 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
25514 [!BEFORE_ABORT] (before_abort): New function.
25515 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
25516 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
25517 (writev_for_fatal): New function.
25518 (WRITEV_FOR_FATAL): New macro; call that.
25519 (backtrace_and_maps): New function.
25520 (BEFORE_ABORT): New macro; call that.
25521 (struct str_list): Type removed.
25522 (__libc_message, __libc_fatal): Functions removed.
25523 Include <sysdeps/posix/libc_fatal.c> instead.
25524
6b18bea6
JM
255252013-03-19 Joseph Myers <joseph@codesourcery.com>
25526
25527 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
25528 constants.
25529 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
25530 double constants.
25531
aaa8cb4b
AS
255322013-03-19 Andreas Schwab <schwab@suse.de>
25533
44673770
AS
25534 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
25535 * sysdeps/gnu/configure: Regenerate.
25536
aaa8cb4b
AS
25537 * configure.in: Substitute libc_cv_rtlddir.
25538 * configure: Regenerate.
25539 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
25540 * Makeconfig (rtlddir, inst_rtlddir): New variables.
25541 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
25542 * elf/Makefile (install-others, CFLAGS-interp.c)
25543 (ldso_install, common-ldd-rewrite): Likewise.
25544 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
25545 $(inst_slibdir)/$(rtld-installed-name).
25546 * scripts/rellns-sh: Add -p option.
25547 * Makerules (make-shlib-link): Use rellns-sh to get relative name
25548 for source.
25549
d3cfc668
SP
255502013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25551
25552 * manual/nptl.texi: Renamed to ...
25553 * manual/threads.texi: ... this.
25554 * manual/Makefile (chapters): Update.
25555
0e2b9cdd
RM
255562013-03-18 Roland McGrath <roland@hack.frob.com>
25557
25558 [BZ #14812]
25559 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
25560 on argument names, not just descriptions.
0e2b9cdd
RM
25561 * malloc/memusagestat.c (options): Likewise.
25562 * nss/getent.c (options): Likewise.
63270c24
RM
25563
255642013-03-18 Benno Schulenberg <bensberg@justemail.net>
25565
25566 [BZ #14812]
25567 * iconv/iconv_prog.c (options): Put N_ translation marker
25568 on argument names, not just descriptions.
25569 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 25570
b2e1393c
OB
255712013-03-18 Ondrej Bilka <neleai@seznam.cz>
25572
25573 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
25574 implementation which is faster on all x86_64 architectures.
25575 Tested on AMD, Intel Nehalem, SNB, IVB.
25576 * sysdeps/x86_64/strnlen.S: Likewise.
25577
25578 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25579 Remove all multiarch strlen and strnlen versions.
25580 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25581 Remove strlen and strnlen related parts.
25582
25583 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
25584 Inline strlen part.
25585 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25586
25587 * sysdeps/x86_64/multiarch/strlen.S: Remove.
25588 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
25589 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
25590 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
25591 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25592 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
25593
ec4ff04d
CD
255942013-03-17 Carlos O'Donell <carlos@redhat.com>
25595
25596 * manual/memory.texi (Malloc Tunable Parameters):
25597 Sort parameters alphabetically. Add comments for missing entries.
25598
cd18e90a
DM
255992013-03-17 David S. Miller <davem@davemloft.net>
25600
25601 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25602
2a185d32
JM
256032013-03-16 Joseph Myers <joseph@codesourcery.com>
25604
d2f9799e
JM
25605 [BZ #15283]
25606 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
25607 for arguments at most half maximum finite value.
25608 * math/libm-test.inc (j0_test): Add more tests.
25609 (j1_test): Likewise.
25610 (y0_test): Likewise.
25611 (y1_test): Likewise.
25612 * sysdeps/i386/fpu/libm-test-ulps: Update.
25613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25614
2a185d32
JM
25615 [BZ #14155]
25616 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
25617 1 / x and functions P and Q for arguments above 0x1p256L.
25618 (__ieee754_y0l): Likewise.
25619 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
25620 (__ieee754_y1l): Likewise.
25621 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
25622 (j1_test): Likewise.
25623 (y0_test): Likewise.
25624 (y1_test): Likewise.
25625
6cbec759
TS
256262013-03-16 Thomas Schwinge <thomas@codesourcery.com>
25627
25628 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
25629 variable.
25630
bc16e260
RM
256312013-03-15 Roland McGrath <roland@hack.frob.com>
25632
aefc9b8c
RM
25633 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
25634 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
25635 zero since it's initialized to EXEC_PAGESIZE.
25636
bc16e260
RM
25637 * sysdeps/unix/sysv/linux/ldsodefs.h
25638 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
25639 * sysdeps/generic/ldsodefs.h: ... here.
25640
a57da955
TS
256412013-03-15 Thomas Schwinge <thomas@codesourcery.com>
25642
af00a34d
TS
25643 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
25644
495ded2c
TS
25645 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
25646 math/test-snan.c.
25647 * math/test-snan.c: Renamed from
25648 sysdeps/powerpc/fpu/test-powerpc-snan.c.
25649 * math/Makefile (tests): Add test-snan.
25650 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
25651 test-powerpc-snan.
25652
777b0332
TS
25653 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
25654 SUFFIX. Initialize qNaN_var with __builtin_nan family of
25655 functions.
25656 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
25657 __builtin_nan family of functions.
25658 * math/libm-test.inc (initialize): Initialize qnan_value with
25659 __builtin_nan family of functions.
25660 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
25661 Remove variables.
25662 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
25663 Remove functions.
25664 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
25665 storage class. Initialize qNaN_var and sNaN_var with
25666 __builtin_nan and __builtin_nans families of functions,
25667 respectively.
25668
64d063b8
TS
25669 * math/libm-test.inc (acosh_test): Also test with qNaN input.
25670 (sqrt_test): Remove duplicate test with qNaN input.
25671 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
25672 (round_test, signbit_test, significand_test): Note missing +/-Inf
25673 as well as qNaN tests.
25674
67e971f1
TS
25675 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
25676 qNaN_var. Fix a few strings, too.
25677 * math/libm-test.inc (nan_value): Rename to qnan_value.
25678 * math/gen-libm-test.pl (%beautify): Adjust to that.
25679 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
25680 * math/test-misc.c (main): Likewise.
25681 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
25682 to __qnan_bytes, and __qnan_union, respectively.
25683 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
25684 Likewise.
25685 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
25686 and lqnanval, respectively.
25687 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
25688 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
25689 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
25690 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
25691
64487e12
TS
25692 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
25693 * math/test-misc.c (main) [__x86_64__]: Enable test for long
25694 doubles.
25695
e015e27b
TS
25696 * math/test-misc.c (main): Fix copy'n'pastos.
25697 * misc/tst-efgcvt.c (special): Likewise.
25698
a57da955
TS
25699 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
25700 Remove declarations.
25701
1e380345
SP
257022013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25703
25704 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
25705 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
25706 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
25707 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
25708
ef26eece
AZ
257092013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25710
25711 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
25712 macro to return vdso values correctly in IFUNC implementations.
25713 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25714 Optimization by using IFUNC.
25715
8cfdb7e0
SP
257162013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25717 Richard Henderson <rth@redhat.com>
25718 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25719
25720 * Makefile.in (bench): New target.
25721 * NEWS: Mention the benchmark framework.
25722 * Rules (bench): Likewise.
25723 (binaries-bench): Generate binaries for functions to
25724 benchmark.
25725 * benchtests/Makefile: New makefile for benchmark tests.
25726 * benchtests/bench-skeleton.c: New skeleton file for benchmark
25727 programs.
25728 * benchtests/exp-inputs: New input file for EXP function.
25729 * benchtests/pow-inputs: New input file for POW function.
25730 * scripts/bench.pl: New script to generate source files for
25731 benchmark programs.
25732
bcda9880
SP
257332013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25734
d22ca8cd
SP
25735 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25736 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
25737 computations on mantissa. Use macros for rounding and
25738 division.
25739 (denorm): Likewise.
25740 (__dbl_mp): Likewise.
25741 (add_magnitudes): Likewise.
25742 (sub_magnitudes): Likewise.
25743 (__mul): Likewise.
25744 (__sqr): Likewise.
25745 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25746 powers of two in terms of TWOPOW macro.
25747 (mp_no): Make type of mantissa as MANTISSA_T.
25748 [!RADIXI]: Define RADIXI.
25749 [!TWO52]: Define TWO52.
25750 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25751
bcda9880
SP
25752 * manual/nptl.texi (cindex): Modify threads to pthreads.
25753
06d5adfb
JM
257542013-03-15 Joseph Myers <joseph@codesourcery.com>
25755
25756 * sysdeps/x86_64/preconfigure: Regenerated.
25757
41c7328e
JM
257582013-03-14 Joseph Myers <joseph@codesourcery.com>
25759
25760 [BZ #14155]
25761 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
25762 0x1p28 and above.
25763 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
25764 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
25765 0x1p28 and above.
25766 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
25767 * math/libm-test.inc (j0_test): Do not allow one spurious
25768 underflow exception.
25769 (y1_test): Likewise.
25770
e25cfa60
SP
257712013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25772
0409959c
SP
25773 * manual/Makefile (chapters): Add nptl.
25774 * manual/debug.texi (Debugging Support): Add link to Threads
25775 chapter.
25776 * manual/nptl.texi: New file.
25777
e25cfa60
SP
25778 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
25779
58a1335e
PB
257802013-03-14 Petr Baudis <pasky@ucw.cz>
25781
25782 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
25783 for non-NULL pointer before the memory validity test. Pointed
25784 out by Holger Brunck <holger.brunck@keymile.com>.
25785
9dc7c64f
AS
257862013-03-13 Andreas Schwab <schwab@suse.de>
25787
25788 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
25789 instead of .os.
25790
54206aa6
JM
257912013-03-13 Joseph Myers <joseph@codesourcery.com>
25792
25793 * timezone/zic.c: Update from tzcode 2013b.
25794
e98cdb38
CD
257952013-03-12 Carlos O'Donell <carlos@redhat.com>
25796
25797 * manual/install.texi (Configuring and compiling):
25798 Mention i686 and i586.
25799 * INSTALL: Regenerate.
25800
9967e003
RM
258012013-03-12 Roland McGrath <roland@hack.frob.com>
25802
25803 * sysdeps/init_array/elf-init.c: New file.
25804 * csu/elf-init.c
25805 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
25806 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
25807
25808 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
25809 __gmon_start__ as global, but as static with a .preinit_array pointer.
25810 * sysdeps/init_array/gmon-start.c: New file. Use that.
25811 * sysdeps/init_array/crti.S: New file, empty except for comments.
25812 * sysdeps/init_array/crtn.S: Likewise.
25813
e6b5a293 258142013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
25815
25816 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
25817 definining bcopy.
80f844c9
OB
25818 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25819 Remove Prefer_SSE_for_memop.
25820 * sysdeps/x86_64/multiarch/init-arch.h: Remove
25821 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
25822 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
25823 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
25824 memset-x86-64.
80f844c9 25825 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 25826 Remove bzero, memset ifunc support.
80f844c9
OB
25827 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
25828 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
25829 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25830 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25831
fb6b0fcb
AS
258322013-03-11 Andreas Schwab <schwab@suse.de>
25833
25834 [BZ #15234]
25835 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
25836 by SHLIB_COMPAT.
25837 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
25838 (GLIBC_2.16): Remove pthread_atfork.
25839
3e6bd4b1
PP
258402013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
25841
25842 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
25843 (ptestcases.h): Likewise.
25844
222d7f00
RM
258452013-03-08 Roland McGrath <roland@hack.frob.com>
25846
25847 * Makeconfig ($(common-objpfx)config.status): Depend on
25848 sysdeps/*/preconfigure{,.in} too.
25849
1ba4f030
JM
258502013-03-08 Joseph Myers <joseph@codesourcery.com>
25851
a222d91a
JM
25852 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
25853 (__free_hook): Use void * instead of __malloc_ptr_t.
25854 (__malloc_hook): Likewise.
25855 (__realloc_hook): Likewise.
25856 (__memalign_hook): Likewise.
25857 (__after_morecore_hook): Likewise.
25858 * malloc/arena.c (save_malloc_hook): Likewise.
25859 (save_free_hook): Likewise.
25860 * malloc/hooks.c (malloc_hook_ini): Likewise.
25861 (realloc_hook_ini): Likewise.
25862 (memalign_hook_ini): Likewise.
25863 * malloc/malloc.c (malloc_hook_ini): Likewise.
25864 (realloc_hook_ini): Likewise.
25865 (memalign_hook_ini): Likewise.
25866 (__free_hook): Likewise.
25867 (__malloc_hook): Likewise.
25868 (__realloc_hook): Likewise.
25869 (__memalign_hook): Likewise.
25870 (__libc_malloc): Likewise.
25871 (__libc_free): Likewise.
25872 (__libc_realloc): Likewise.
25873 (__libc_memalign): Likewise.
25874 (__libc_valloc): Likewise.
25875 (__libc_pvalloc): Likewise.
25876 (__libc_calloc): Likewise.
25877 (__posix_memalign): Likewise.
25878 * malloc/morecore.c (__sbrk): Likewise.
25879 (__default_morecore): Likewise.
25880
5cc45e10
JM
25881 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
25882
dd54b864
JM
25883 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
25884 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
25885 __malloc_ptrdiff_t.
25886
1ba4f030
JM
25887 * malloc/malloc.h (__malloc_size_t): Remove macro.
25888 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
25889 __malloc_size_t.
25890 (old_memalign_hook): Likewise.
25891 (old_realloc_hook): Likewise.
25892 (struct hdr): Likewise.
25893 (flood): Likewise.
25894 (mallochook): Likewise.
25895 (memalignhook): Likewise.
25896 (reallochook): Likewise.
25897 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
25898 (tr_old_realloc_hook): Likewise.
25899 (tr_old_memalign_hook): Likewise.
25900 (tr_mallochook): Likewise.
25901 (tr_reallochook): Likewise.
25902 (tr_memalignhook): Likewise.
25903
edf66e57
AZ
259042013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25905
25906 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25907 default_ldbl_pack and using as default implementation.
25908 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25909 implementation.
25910 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25911 redundant definition.
25912 (ldbl_insert_mantissa): Likewise.
25913 (ldbl_canonicalize): Likewise.
25914 (ldbl_nearbyint): Likewise.
25915 (ldbl_pack): Rename to ldbl_pack_ppc.
25916 (ldbl_unpack): Rename to ldbl_unpack_ppc.
25917 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25918 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25919
6d9145d8
SP
259202013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25921
25922 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25923 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25924 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25925 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25926 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25927 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25928 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25929 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25930
4dd4e157
AJ
259312013-03-07 Andreas Jaeger <aj@suse.de>
25932
25933 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25934 bits/mman-linux.h.
25935
adbb8027
SP
259362013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25937
ce544b5b
SP
25938 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25939 Include mpa.h and declare __MPEXP.
25940 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25941 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25942 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25943 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25944 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25945 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25946 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25947
4cc149fd
SP
25948 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25949 (__slowpow): Use long double EXPL and LOGL functions to
25950 compute POW.
25951 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25952 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25953 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25954 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25955 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25956 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25957
e6ebd4a7
SP
25958 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25959 intermediate variable to calculate exponent.
25960 (__sqr): Likewise.
25961 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25962 Likewise.
25963 (__sqr): Likewise.
25964
82a9811d
SP
25965 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25966 [!NO__SQR]: Define __sqr.
25967 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25968 and NO__SQR. Remove all code except __mul and __sqr. Include
25969 sysdeps/ieee754/dbl-64/mpa.c.
25970 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25971
adbb8027
SP
25972 [BZ #12723]
25973 * posix/Makefile (tests): Add tst-pathconf.
25974 * posix/tst-pathconf.c: New test case.
25975 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25976 _PC_PIPE_BUF.
25977 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25978
39120df9
PF
259792013-03-06 Patsy Franklin <pfrankli@redhat.com>
25980
25981 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25982
67525cb8
AJ
259832013-03-06 Andreas Jaeger <aj@suse.de>
25984
664a9ce4
AJ
25985 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25986 definition via __MAP_ANONYMOUS.
25987
8e39047d
AJ
25988 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25989 it's not part of Linux headers.
25990
67525cb8
AJ
25991 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25992 (MAP_HUGE_MASK): Define.
25993
25994 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25995 Define.
25996 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25997 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25998 Define.
25999 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26000 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26001 Define.
26002 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26003 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
26004 Define.
26005 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26006
26007 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
26008 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
26009 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
26010 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
26011 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
26012 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
26013
26014 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26015 Handle f2fs.
26016
26017 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26018 Handle f2fs and efivarfs.
26019
26020 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
26021 f2fs.
26022
26023 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
26024 (EFIVARFS_MAGIC): Add.
26025 (F2FS_LINK_MAX): Add.
26026
e1b42695
PP
260272013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
26028
26029 * stdio-common/vfprintf.c: Replace __builtin_expect with
26030 __glibc_unlikely.
26031
2d67d91a
JM
260322013-03-06 Joseph Myers <joseph@codesourcery.com>
26033
26034 [BZ #13550]
26035 * sysdeps/generic/bp-sym.h: Remove file.
26036 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
26037 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
26038 <bp-sym.h> and <bp-asm.h>.
26039 (__longjmp): Don't use BP_SYM.
26040 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
26041 and <bp-asm.h>.
26042 (memcpy): Don't use BP_SYM.
26043 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
26044 <bp-sym.h> and <bp-asm.h>.
26045 (memcpy): Don't use BP_SYM.
26046 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
26047 <bp-asm.h>.
26048 (memcpy): Don't use BP_SYM.
26049 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
26050 <bp-asm.h>.
26051 (memset): Don't use BP_SYM.
26052 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26053 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26054 (__bzero): Don't use BP_SYM.
26055 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26056 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26057 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
26058 <bp-sym.h> and <bp-asm.h>.
26059 (memcmp): Don't use BP_SYM. Remove comment about bounded
26060 pointers.
26061 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
26062 <bp-sym.h> and <bp-asm.h>.
26063 (memcpy): Don't use BP_SYM.
26064 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
26065 <bp-sym.h> and <bp-asm.h>.
26066 (memset): Don't use BP_SYM.
26067 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26068 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26069 (__bzero): Don't use BP_SYM.
26070 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26071 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26072 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
26073 <bp-sym.h> and <bp-asm.h>.
26074 (strncmp): Don't use BP_SYM. Remove comment about bounded
26075 pointers.
26076 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
26077 <bp-sym.h> and <bp-asm.h>.
26078 (memcpy): Don't use BP_SYM.
26079 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
26080 <bp-sym.h> and <bp-asm.h>.
26081 (memset): Don't use BP_SYM.
26082 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26083 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26084 (__bzero): Don't use BP_SYM.
26085 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26086 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26087 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
26088 <bp-sym.h> and <bp-asm.h>.
26089 (__memchr): Don't use BP_SYM.
26090 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
26091 <bp-sym.h> and <bp-asm.h>.
26092 (memcmp): Don't use BP_SYM. Remove comment about bounded
26093 pointers.
26094 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
26095 <bp-sym.h> and <bp-asm.h>.
26096 (memcpy): Don't use BP_SYM.
26097 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
26098 <bp-sym.h> and <bp-asm.h>.
26099 (__mempcpy): Don't use BP_SYM.
26100 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
26101 <bp-sym.h> and <bp-asm.h>.
26102 (__memrchr): Don't use BP_SYM.
26103 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
26104 <bp-sym.h> and <bp-asm.h>.
26105 (memset): Don't use BP_SYM.
26106 (__bzero): Likewise.
26107 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
26108 <bp-sym.h> and <bp-asm.h>.
26109 (__rawmemchr): Don't use BP_SYM.
26110 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
26111 <bp-sym.h> and <bp-asm.h>.
26112 (__STRCMP): Don't use BP_SYM.
26113 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
26114 <bp-sym.h> and <bp-asm.h>.
26115 (strchr): Don't use BP_SYM.
26116 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
26117 <bp-sym.h> and <bp-asm.h>.
26118 (__strchrnul): Don't use BP_SYM.
26119 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
26120 <bp-sym.h> and <bp-asm.h>.
26121 (strlen): Don't use BP_SYM.
26122 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
26123 <bp-sym.h> and <bp-asm.h>.
26124 (strncmp): Don't use BP_SYM. Remove comment about bounded
26125 pointers.
26126 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
26127 <bp-sym.h> and <bp-asm.h>.
26128 (__strnlen): Don't use BP_SYM.
26129 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
26130 <bp-sym.h> and <bp-asm.h>.
26131 (__GI__setjmp): Don't use BP_SYM.
26132 (_setjmp): Likewise.
26133 (__sigsetjmp): Likewise.
26134 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
26135 (L(start_addresses)): Don't use BP_SYM.
26136 (_start): Likewise.
26137 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
26138 <bp-asm.h>.
26139 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
26140 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
26141 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26142 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26143 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
26144 <bp-asm.h>.
26145 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
26146 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
26147 about bounded pointers.
26148 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26149 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26150 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
26151 <bp-asm.h>.
26152 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
26153 about bounded pointers. Remove GKM FIXME comments.
26154 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26155 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
26156 <bp-asm.h>.
26157 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
26158 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
26159 Remove GKM FIXME comments.
26160 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26161 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26162 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
26163 <bp-asm.h>.
26164 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
26165 about bounded pointers. Remove GKM FIXME comment.
26166 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
26167 and <bp-asm.h>.
26168 (strncmp): Don't use BP_SYM. Remove comment about bounded
26169 pointers.
26170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
26171 <bp-sym.h> and <bp-asm.h>.
26172 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
26174 <bp-sym.h> and <bp-asm.h>.
26175 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
26176 comment.
26177
cdcf361f
PP
261782013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26179
26180 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
26181 call free(NULL).
26182
3c4a2b15
DM
261832013-03-05 David S. Miller <davem@davemloft.net>
26184
26185 * po/es.po: Update from translation team.
26186
cdcf361f 261872013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
26188
26189 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
26190 <bits/mman-linux.h>.
26191 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26192 is fine.
26193 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
26194 <bits/mman-linux.h> to end of file.
26195 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26196 is fine.
26197 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
26198 <bits/mman-linux.h> to end of file.
26199 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26200 is fine.
26201 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
26202 <bits/mman-linux.h> to end of file.
26203
26204 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
26205 (MCL_CURRENT, MCL_FUTURE): Define here.
26206
5f67c04f
AK
262072013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26208
8a4473cc 26209 [BZ #15232]
5f67c04f
AK
26210 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
26211 attribute_hidden.
26212 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26213
c3e94a95
AK
262142013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26215
26216 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
26217 fourth parameter needed for rt_sigprocmask syscall.
26218 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
26219 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26220 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26221 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26222 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26223 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
26224
cfb6382a
JM
262252013-03-04 Joseph Myers <joseph@codesourcery.com>
26226
26227 [BZ #13550]
26228 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
26229 comment about bounded pointers.
26230 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
26231 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
26232
539d8e01
AJ
262332013-03-04 Andreas Jaeger <aj@suse.de>
26234
26235 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
26236 common definitions.
26237
26238 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
26239 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
26240 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
26241 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26242 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
26243 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26244
2e167a70 262452013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
26246
26247 [BZ #15055]
26248 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
26249 __ieee754_sqrl instead of __sqrl.
26250
68508633
JM
262512013-03-01 Joseph Myers <joseph@codesourcery.com>
26252
26253 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
26254 * sysdeps/powerpc/fpu_control.h: ... here.
26255 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
26256 * sysdeps/powerpc/bits/fenvinline.h: ... here.
26257 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
26258 * sysdeps/powerpc/bits/mathinline.h: ... here.
26259
7775448e
RM
262602013-03-01 Roland McGrath <roland@hack.frob.com>
26261
26262 * elf/dl-hwcaps.c (_dl_important_hwcaps):
26263 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
26264 to just [NEED_DL_SYSINFO_DSO].
26265 * elf/dl-support.c: Likewise.
26266 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26267 * elf/rtld.c (dl_main): Likewise.
26268 * elf/setup-vdso.h (setup_vdso): Likewise.
26269 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
26270 * sysdeps/unix/sysv/linux/dl-sysdep.c
26271 (_dl_discover_osversion): Likewise.
26272
4e9b5995
CD
262732013-03-01 Carlos O'Donell <carlos@redhat.com>
26274
26275 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
26276 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26277
e23872c8
SP
262782013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
26279
e5c74c63
SP
26280 * NEWS: Mention libm performance improvements and non-x86 PI
26281 futex support.
26282
e23872c8
SP
26283 * csu/libc-start.c (__pthread_initialize_minimal): Change
26284 function arguments.
26285 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26286
b5510883
JM
262872013-02-28 Joseph Myers <joseph@codesourcery.com>
26288
26289 [BZ #13550]
26290 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
26291 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
26292 <bp-sym.h> and <bp-asm.h>.
26293 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26294 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
26295 and <bp-asm.h>.
26296 (memcpy): Don't use BP_SYM.
26297 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
26298 <bp-asm.h>.
26299 (__mpn_add_n): Don't use BP_SYM.
26300 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
26301 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
26302 and <bp-asm.h>.
26303 (__mpn_addmul_1): Don't use BP_SYM.
26304 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26305 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
26306 <bp-sym.h>.
26307 (_setjmp): Don't use BP_SYM.
26308 (__novmx_setjmp): Likewise.
26309 (__GI__setjmp): Likewise.
26310 (__vmx_setjmp): Likewise.
26311 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
26312 <bp-sym.h>.
26313 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
26314 (__bzero): Don't use BP_SYM.
26315 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26316 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26317 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
26318 <bp-sym.h> and <bp-asm.h>.
26319 (memcpy): Don't use BP_SYM.
26320 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
26321 <bp-sym.h> and <bp-asm.h>.
26322 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26323 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
26324 <bp-sym.h> and <bp-asm.h>.
26325 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26326 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
26327 <bp-asm.h>.
26328 (__mpn_lshift): Don't use BP_SYM.
26329 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26330 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
26331 <bp-asm.h>.
26332 (memset): Don't use BP_SYM.
26333 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26334 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26335 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
26336 <bp-asm.h>.
26337 (__mpn_mul_1): Don't use BP_SYM.
26338 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26339 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
26340 <bp-sym.h> and <bp-asm.h>.
26341 (memcmp): Don't use BP_SYM.
26342 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
26343 <bp-sym.h> and <bp-asm.h>.
26344 (memcpy): Don't use BP_SYM.
26345 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
26346 <bp-sym.h> and <bp-asm.h>.
26347 (memset): Don't use BP_SYM.
26348 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
26349 <bp-sym.h> and <bp-asm.h>.
26350 (strncmp): Don't use BP_SYM.
26351 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
26352 <bp-sym.h> and <bp-asm.h>.
26353 (memcpy): Don't use BP_SYM.
26354 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
26355 <bp-sym.h> and <bp-asm.h>.
26356 (memset): Don't use BP_SYM.
26357 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
26358 <bp-sym.h> and <bp-asm.h>.
26359 (__memchr): Don't use BP_SYM.
26360 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
26361 <bp-sym.h> and <bp-asm.h>.
26362 (memcmp): Don't use BP_SYM.
26363 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
26364 <bp-sym.h> and <bp-asm.h>.
26365 (memcpy): Don't use BP_SYM.
26366 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
26367 <bp-sym.h> and <bp-asm.h>.
26368 (__mempcpy): Don't use BP_SYM.
26369 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
26370 <bp-sym.h> and <bp-asm.h>.
26371 (__memrchr): Don't use BP_SYM.
26372 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
26373 <bp-sym.h> and <bp-asm.h>.
26374 (memset): Don't use BP_SYM.
26375 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
26376 <bp-sym.h> and <bp-asm.h>.
26377 (__rawmemchr): Don't use BP_SYM.
26378 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
26379 <bp-sym.h> and <bp-asm.h>.
26380 (__STRCMP): Don't use BP_SYM.
26381 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
26382 <bp-sym.h> and <bp-asm.h>.
26383 (strchr): Don't use BP_SYM.
26384 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
26385 <bp-sym.h> and <bp-asm.h>.
26386 (__strchrnul): Don't use BP_SYM.
26387 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
26388 <bp-sym.h> and <bp-asm.h>.
26389 (strlen): Don't use BP_SYM.
26390 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
26391 <bp-sym.h> and <bp-asm.h>.
26392 (strncmp): Don't use BP_SYM.
26393 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
26394 <bp-sym.h> and <bp-asm.h>.
26395 (__strnlen): Don't use BP_SYM.
26396 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
26397 <bp-asm.h>.
26398 (__mpn_rshift): Don't use BP_SYM.
26399 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26400 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
26401 <bp-sym.h> and <bp-asm.h>.
26402 (__sigsetjmp): Don't use BP_SYM.
26403 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
26404 (L(start_addresses)): Don't use BP_SYM.
26405 (_start): Likewise.
26406 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
26407 <bp-asm.h>.
26408 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
26409 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26410 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26411 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
26412 <bp-asm.h>.
26413 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
26414 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26415 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26416 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
26417 <bp-asm.h>.
26418 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
26419 comments.
26420 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26421 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
26422 <bp-asm.h>.
26423 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
26424 FIXME comments.
26425 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26426 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26427 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
26428 <bp-asm.h>.
26429 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
26430 comment.
26431 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
26432 and <bp-asm.h>.
26433 (strncmp): Don't use BP_SYM,
26434 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
26435 <bp-asm.h>.
26436 (__mpn_sub_n): Don't use BP_SYM.
26437 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26438 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
26439 and <bp-asm.h>.
26440 (__mpn_submul_1): Don't use BP_SYM.
26441 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
26443 <bp-sym.h> and <bp-asm.h>.
26444 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
26446 <bp-sym.h> and <bp-asm.h>.
26447 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
26448 comment.
26449
8d19fe64
SP
264502013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26451
26452 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
26453 Use ZK to minimize writes to Z.
26454 (sub_magnitudes): Simplify code a bit.
26455 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
26456 Use ZK to minimize writes to Z.
26457 (sub_magnitudes): Simplify code a bit.
26458
85bd816a
RM
264592013-02-27 Roland McGrath <roland@hack.frob.com>
26460
26461 * csu/gmon-start.c: Add special exception to license text.
26462
b5977bf2
RH
264632013-02-27 Richard Henderson <rth@redhat.com>
26464
26465 * scripts/config.guess: Update from config.git.
26466 * scripts/config.sub: Likewise.
26467
11d6e2f2
SP
264682013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26469
09c14ed2
SP
26470 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
26471
a688864e
SP
26472 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
26473
6295157a
SP
26474 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
26475
b8de2202
SP
26476 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
26477
11d6e2f2
SP
26478 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
26479
7e80ddb8
RM
264802013-02-26 Roland McGrath <roland@hack.frob.com>
26481
26482 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
26483 [$(build-shared = yes].
7e80ddb8 26484
7da6d9ed
SP
264852013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26486
45f05884
SP
26487 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
26488 (__mul): Reduce iterations for calculating mantissa.
26489
2236d359
SP
26490 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
26491 MPTWO.
26492 (__mpranred): Likewise.
26493
7da6d9ed
SP
26494 [BZ #15160]
26495 * malloc/memusagestat.c (main): Draw graphs for heap and stack
26496 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
26497
b7688c42
PE
264982013-02-26 Paul Eggert <eggert@cs.ucla.edu>
26499
26500 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
26501 Define __attribute__.
26502
53a5c423
SP
265032013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26504
26505 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
26506 unused.
26507 * posix/regex_internal.h (__attribute): Remove.
26508 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
26509 (re_string_context_at): Likewise.
26510 (bitset_not): Use __attribute__ and mark function as possibly
26511 unused.
26512 (bitset_merge): Likewise.
26513 (bitset_mask): Likewise.
26514 (re_string_char_size_at): Likewise.
26515 (re_string_wchar_at): Likewise.
26516 (re_string_elem_size_at): Likewise.
26517
60f5a8b5
SP
265182013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26519
2a983a2e
SP
26520 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
26521 code.
26522 (cc32): Likewise.
26523
e69804d1
SP
26524 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
26525 (__acr): Likewise.
26526 (__cpy): Likewise.
26527 (norm): Likewise.
26528 (denorm): Likewise.
26529 (__dbl_mp): Likewise.
26530 (add_magnitudes): Likewise.
26531 (sub_magnitudes): Likewise.
26532 (__mul): Likewise.
26533 (__inv): Likewise.
26534
2f22a1e8
SP
26535 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
26536 style.
26537
8930ddc7
SP
26538 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
26539 style.
26540
dc60cb11
SP
26541 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
26542 code.
26543
60f5a8b5
SP
26544 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
26545 up changes with default code.
26546 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
26547 Likewise.
26548
b4d1fd33
AM
265492013-02-24 Allan McRae <allan@archlinux.org>
26550
faf6f8bc
AM
26551 * manual/socket.texi (The Internet Namespace): Order menu items
26552 to match that in the file.
26553
b4d1fd33
AM
26554 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
26555 node listing of the info page menu.
26556
2366713d
JM
265572013-02-21 Joseph Myers <joseph@codesourcery.com>
26558
26559 [BZ #13550]
26560 * sysdeps/i386/bp-asm.h: Remove file.
26561 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26562 (PARMS): Do not use macros from bp-asm.h.
26563 (S1): Likewise.
26564 (S2): Likewise.
26565 (SIZE): Likewise.
26566 (__mpn_add_n): Do not use BP_SYM
26567 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
26568 "bp-asm.h".
26569 (PARMS): Do not use macros from bp-asm.h.
26570 (S1): Likewise.
26571 (SIZE): Likewise.
26572 (__mpn_addmul_1): Do not use BP_SYM
26573 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
26574 "bp-asm.h".
26575 (PARMS): Do not use macros from bp-asm.h.
26576 (SIGMSK): Likewise.
26577 (_setjmp): Likewise. Do not use BP_SYM.
26578 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
26579 "bp-asm.h".
26580 (PARMS): Do not use macros from bp-asm.h.
26581 (SIGMSK): Likewise.
26582 (setjmp): Likewise. Do not use BP_SYM.
26583 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
26584 "bp-asm.h".
26585 (PARMS): Do not use macros from bp-asm.h.
26586 (__frexp): Do not use BP_SYM.
26587 (frexp): Likewise.
26588 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
26589 "bp-asm.h".
26590 (PARMS): Do not use macros from bp-asm.h.
26591 (__frexpf): Do not use BP_SYM.
26592 (frexpf): Likewise.
26593 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
26594 "bp-asm.h".
26595 (PARMS): Do not use macros from bp-asm.h.
26596 (__frexpl): Do not use BP_SYM.
26597 (frexpl): Likewise.
26598 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
26599 "bp-asm.h".
26600 (PARMS): Do not use macros from bp-asm.h.
26601 (__remquo): Do not use BP_SYM.
26602 (remquo): Likewise.
26603 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
26604 "bp-asm.h".
26605 (PARMS): Do not use macros from bp-asm.h.
26606 (__remquof): Do not use BP_SYM.
26607 (remquof): Likewise.
26608 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
26609 "bp-asm.h".
26610 (PARMS): Do not use macros from bp-asm.h.
26611 (__remquol): Do not use BP_SYM.
26612 (remquol): Likewise.
26613 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
26614 "bp-asm.h".
26615 (PARMS): Do not use macros from bp-asm.h.
26616 (DEST): Likewise.
26617 (SRC): Likewise.
26618 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
26619 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
26620 "bp-asm.h".
26621 (PARMS): Do not use macros from bp-asm.h.
26622 (strlen): Do not use BP_SYM.
26623 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
26624 "bp-asm.h".
26625 (PARMS): Do not use macros from bp-asm.h.
26626 (S1): Likewise.
26627 (S2): Likewise.
26628 (SIZE): Likewise.
26629 (__mpn_add_n): Do not use BP_SYM.
26630 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
26631 "bp-asm.h".
26632 (PARMS): Do not use macros from bp-asm.h.
26633 (S1): Likewise.
26634 (SIZE): Likewise.
26635 (__mpn_addmul_1): Do not use BP_SYM.
26636 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
26637 weak_alias.
26638 (bzero): Likewise.
26639 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
26640 "bp-asm.h".
26641 (PARMS): Do not use macros from bp-asm.h.
26642 (S): Likewise.
26643 (SIZE): Likewise.
26644 (__mpn_lshift): Do not use BP_SYM.
26645 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
26646 "bp-asm.h".
26647 (PARMS): Do not use macros from bp-asm.h.
26648 (DEST): Likewise.
26649 (SRC): Likewise.
26650 (LEN): Likewise.
26651 (memcpy): Likewise. Do not use BP_SYM.
26652 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
26653 libc_hidden_def and weak_alias.
26654 (mempcpy): Do not use BP_SYM in weak_alias.
26655 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
26656 "bp-asm.h".
26657 (PARMS): Do not use macros from bp-asm.h.
26658 (DEST): Likewise.
26659 (LEN): Likewise.
26660 [!BZERO_P] (CHR): Likewise.
26661 (memset): Likewise. Do not use BP_SYM.
26662 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
26663 "bp-asm.h".
26664 (PARMS): Do not use macros from bp-asm.h.
26665 (S1): Likewise.
26666 (SIZE): Likewise.
26667 (__mpn_mul_1): Do not use BP_SYM.
26668 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
26669 "bp-asm.h".
26670 (PARMS): Do not use macros from bp-asm.h.
26671 (S): Likewise.
26672 (SIZE): Likewise.
26673 (__mpn_rshift): Do not use BP_SYM.
26674 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
26675 "bp-asm.h".
26676 (PARMS): Do not use macros from bp-asm.h.
26677 (STR): Likewise.
26678 (CHR): Likewise.
26679 (strchr): Likewise. Do not use BP_SYM.
26680 (index): Do not use BP_SYM in weak_alias.
26681 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
26682 "bp-asm.h".
26683 (PARMS): Do not use macros from bp-asm.h.
26684 (DEST): Likewise.
26685 (SRC): Likewise.
26686 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
26687 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
26688 "bp-asm.h".
26689 (PARMS): Do not use macros from bp-asm.h.
26690 (strlen): Do not use BP_SYM.
26691 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
26692 "bp-asm.h".
26693 (PARMS): Do not use macros from bp-asm.h.
26694 (S1): Likewise.
26695 (S2): Likewise.
26696 (SIZE): Likewise.
26697 (__mpn_sub_n): Do not use BP_SYM.
26698 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
26699 "bp-asm.h".
26700 (PARMS): Do not use macros from bp-asm.h.
26701 (S1): Likewise.
26702 (SIZE): Likewise.
26703 (__mpn_submul_1): Do not use BP_SYM.
26704 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
26705 "bp-asm.h".
26706 (PARMS): Do not use macros from bp-asm.h.
26707 (S1): Likewise.
26708 (S2): Likewise.
26709 (SIZE): Likewise.
26710 (__mpn_add_n): Do not use BP_SYM.
26711 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
26712 weak_alias.
26713 (bzero): Likewise.
26714 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
26715 "bp-asm.h".
26716 (PARMS): Do not use macros from bp-asm.h.
26717 (BLK2): Likewise.
26718 (LEN): Likewise.
26719 (memcmp): Do not use BP_SYM.
26720 (bcmp): Do not use BP_SYM in weak_alias.
26721 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
26722 "bp-asm.h".
26723 (PARMS): Do not use macros from bp-asm.h.
26724 (DEST): Likewise.
26725 (SRC): Likewise.
26726 (LEN): Likewise.
26727 (memcpy): Likewise. Do not use BP_SYM.
26728 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
26729 "bp-asm.h".
26730 (PARMS): Do not use macros from bp-asm.h.
26731 (DEST): Likewise.
26732 (SRC): Likewise.
26733 (LEN): Likewise.
26734 (memmove): Likewise. Do not use BP_SYM.
26735 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
26736 "bp-asm.h".
26737 (PARMS): Do not use macros from bp-asm.h.
26738 (DEST): Likewise.
26739 (SRC): Likewise.
26740 (LEN): Likewise.
26741 (__mempcpy): Likewise. Do not use BP_SYM.
26742 (mempcpy): Do not use BP_SYM in weak_alias.
26743 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
26744 "bp-asm.h".
26745 (PARMS): Do not use macros from bp-asm.h.
26746 (DEST): Likewise.
26747 (LEN): Likewise.
26748 [!BZERO_P] (CHR): Likewise.
26749 (memset): Likewise. Do not use BP_SYM.
26750 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
26751 "bp-asm.h".
26752 (PARMS): Do not use macros from bp-asm.h.
26753 (STR2): Likewise.
26754 (strcmp): Do not use BP_SYM.
26755 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
26756 "bp-asm.h".
26757 (PARMS): Do not use macros from bp-asm.h.
26758 (STR): Likewise.
26759 (DELIM): Likewise.
26760 [USE_AS_STRTOK_R] (SAVE): Likewise.
26761 (FUNCTION): Likewise. Do not use BP_SYM.
26762 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
26763 aliases.
26764 (strtok_r): Likewise.
26765 (__GI___strtok_r): Likewise.
26766 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26767 (PARMS): Do not use macros from bp-asm.h.
26768 (S): Likewise.
26769 (SIZE): Likewise.
26770 (__mpn_lshift): Do not use BP_SYM.
26771 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26772 (PARMS): Do not use macros from bp-asm.h.
26773 (STR): Likewise.
26774 (CHR): Likewise.
26775 (__memchr): Do not use BP_SYM.
26776 (memchr): Do not use BP_SYM in weak_alias.
26777 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26778 (PARMS): Do not use macros from bp-asm.h.
26779 (BLK2): Likewise.
26780 (LEN): Likewise.
26781 (memcmp): Do not use BP_SYM.
26782 (bcmp): Do not use BP_SYM in weak_alias.
26783 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
26784 (PARMS): Do not use macros from bp-asm.h.
26785 (S1): Likewise.
26786 (SIZE): Likewise.
26787 (__mpn_mul_1): Do not use BP_SYM.
26788 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
26789 "bp-asm.h".
26790 (PARMS): Do not use macros from bp-asm.h.
26791 (STR): Likewise.
26792 (CHR): Likewise.
26793 (__rawmemchr): Do not use BP_SYM.
26794 (rawmemchr): Do not use BP_SYM in weak_alias.
26795 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26796 (PARMS): Do not use macros from bp-asm.h.
26797 (S): Likewise.
26798 (SIZE): Likewise.
26799 (__mpn_rshift): Do not use BP_SYM.
26800 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26801 (PARMS): Do not use macros from bp-asm.h.
26802 (SIGMSK): Likewise.
26803 (__sigsetjmp): Likewise. Do not use BP_SYM.
26804 * sysdeps/i386/start.S: Do not include "bp-sym.h".
26805 (_start): Do not use BP_SYM.
26806 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
26807 (PARMS): Do not use macros from bp-asm.h.
26808 (DEST): Likewise.
26809 (SRC): Likewise.
26810 (__stpcpy): Likewise. Do not use BP_SYM.
26811 (stpcpy): Do not use BP_SYM in weak_alias.
26812 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
26813 "bp-asm.h".
26814 (PARMS): Do not use macros from bp-asm.h.
26815 (DEST): Likewise.
26816 (SRC): Likewise.
26817 (LEN): Likewise.
26818 (__stpncpy): Likewise. Do not use BP_SYM.
26819 (stpncpy): Do not use BP_SYM in weak_alias.
26820 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26821 (PARMS): Do not use macros from bp-asm.h.
26822 (STR): Likewise.
26823 (CHR): Likewise.
26824 (strchr): Likewise. Do not use BP_SYM.
26825 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
26826 "bp-asm.h".
26827 (PARMS): Do not use macros from bp-asm.h.
26828 (STR): Likewise.
26829 (CHR): Likewise.
26830 (__strchrnul): Likewise. Do not use BP_SYM.
26831 (strchrnul): Do not use BP_SYM in weak_alias.
26832 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
26833 "bp-asm.h".
26834 (PARMS): Do not use macros from bp-asm.h.
26835 (STOP): Likewise.
26836 (strcspn): Do not use BP_SYM.
26837 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
26838 "bp-asm.h".
26839 (PARMS): Do not use macros from bp-asm.h.
26840 (STR): Likewise.
26841 (STOP): Likewise.
26842 (strpbrk): Likewise. Do not use BP_SYM.
26843 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
26844 "bp-asm.h".
26845 (PARMS): Do not use macros from bp-asm.h.
26846 (STR): Likewise.
26847 (CHR): Likewise.
26848 (strrchr): Likewise. Do not use BP_SYM.
26849 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
26850 (PARMS): Do not use macros from bp-asm.h.
26851 (SKIP): Likewise.
26852 (strspn): Do not use BP_SYM.
26853 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
26854 (PARMS): Do not use macros from bp-asm.h.
26855 (STR): Likewise.
26856 (DELIM): Likewise.
26857 (SAVE): Likewise.
26858 (FUNCTION): Likewise. Do not use BP_SYM.
26859 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
26860 aliases.
26861 (strtok_r): Likewise.
26862 (__GI___strtok_r): Likewise.
26863 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26864 (PARMS): Do not use macros from bp-asm.h.
26865 (S1): Likewise.
26866 (S2): Likewise.
26867 (SIZE): Likewise.
26868 (__mpn_sub_n): Do not use BP_SYM.
26869 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
26870 "bp-asm.h".
26871 (PARMS): Do not use macros from bp-asm.h.
26872 (S1): Likewise.
26873 (SIZE): Likewise.
26874 (__mpn_submul_1): Do not use BP_SYM.
26875 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
26876 <bp-sym.h>.
26877 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
26878 and <bp-asm.h>.
26879 (PARMS): Do not use macros from bp-asm.h.
26880 (FLAGS): Likewise.
26881 (PTID): Likewise.
26882 (TLS): Likewise.
26883 (CTID): Likewise.
26884 (__clone): Do not use BP_SYM.
26885 (clone): Do not use BP_SYM in weak_alias.
26886 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
26887 and <bp-asm.h>.
26888 (PARMS): Do not use macros from bp-asm.h.
26889 (LEN): Likewise.
26890 (__mmap64): Do not use BP_SYM.
26891 (mmap64): Do not use BP_SYM in weak_alias.
26892 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26893 <bp-sym.h> and <bp-asm.h>.
26894 (PARMS): Do not use macros from bp-asm.h.
26895 (__posix_fadvise64_l64): Do not use BP_SYM.
26896 * sysdeps/unix/sysv/linux/i386/semtimedop.S
26897 (PARMS): Do not use macros from bp-asm.h.
26898 (NSOPS): Likewise.
26899 (semtimedop): Do not use BP_SYM.
26900 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
26901 and <bp-asm.h>.
26902
582a3cff
AM
269032013-02-21 Allan McRae <allan@archlinux.org>
26904
26905 * manual/message.texi (Charset conversion in gettext):
26906 Move @end statement to beginning of line.
26907
bab8a695
SP
269082013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26909
80945231
SP
26910 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26911 static.
26912 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26913 Likewise.
26914
bab8a695
SP
26915 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26916 (denorm): Likewise.
26917 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26918 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26919
e21d7aa7
AK
269202013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26921
26922 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26923 tail-call to the resolved function if pltexit isn't needed.
26924
4c7a4263
SP
269252013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26926
26927 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26928 or Y being zero as being unlikely.
26929 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26930 Likewise.
26931
41f49342
CD
269322013-02-20 Carlos O'Donell <carlos@redhat.com>
26933
26934 * manual/nss.texi (System Databases and Name Service Switch):
26935 Remove frobnicate @pxref.
26936
50022a93
TS
269372013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26938
26939 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26940 __attribute__ ((unused)) to __attribute__ ((__unused__)).
26941
08cbd996
PM
269422013-02-20 Petr Machata <pmachata@redhat.com>
26943
26944 * elf/elf.h (R_ARM_TARGET1): New macro.
26945 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26946 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26947 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26948 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26949 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26950 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26951 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26952 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26953 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26954 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26955 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26956 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26957 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26958 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26959 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26960 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26961 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26962 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26963 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26964 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26965 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26966 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26967 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26968 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26969 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26970 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26971 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26972 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26973 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26974 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26975 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26976 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26977 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26978 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26979 (R_ARM_THM_GOT_BREL12): Likewise.
26980 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26981 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26982 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26983 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26984 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26985 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26986 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26987 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26988 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26989
c7b275d6
TS
269902013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26991
26992 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26993 __attribute_used__ to __attribute__ ((unused)).
26994
20cd7fb3
SP
269952013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26996
26997 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26998 powerpc mpa.c.
26999 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
27000 comment formatting.
27001 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
27002
92945b52
JM
270032013-02-19 Joseph Myers <joseph@codesourcery.com>
27004
27005 [BZ #13550]
27006 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
27007 Remove macro.
27008 (ENTER): Remove both macro definitions.
27009 (LEAVE): Likewise.
27010 (CHECK_BOUNDS_LOW): Likewise.
27011 (CHECK_BOUNDS_HIGH): Likewise.
27012 (CHECK_BOUNDS_BOTH): Likewise.
27013 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
27014 (RETURN_BOUNDED_POINTER): Likewise.
27015 (RETURN_NULL_BOUNDED_POINTER): Likewise.
27016 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
27017 (POP_ERRNO_LOCATION_RETURN): Likewise.
27018 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
27019 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27020 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
27021 macros.
27022 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27023 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
27024 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
27025 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
27026 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
27027 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
27028 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
27029 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
27030 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
27031 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
27032 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
27033 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
27034 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27035 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
27036 removed macros.
27037 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27038 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
27039 macros.
27040 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27041 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
27042 * sysdeps/i386/i586/memset.S (memset): Likewise.
27043 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
27044 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27045 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
27046 macros.
27047 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27048 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
27049 Change uses of L(2) to L(out).
27050 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
27051 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
27052 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
27053 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27054 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
27055 removed macros.
27056 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27057 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
27058 macros.
27059 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27060 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
27061 (RETURN): Do not use macro LEAVE.
27062 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
27063 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
27064 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
27065 * sysdeps/i386/i686/memset.S (memset): Likewise.
27066 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
27067 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
27068 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27069 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
27070 Likewise.
27071 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27072 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
27073 L(1_2) and L(1_3) into L(1).
27074 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27075 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
27076 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27077 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
27078 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27079 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
27080 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
27081 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27082 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
27083 macros.
27084 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
27085 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27086 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
27087 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
27088 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
27089 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27090 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
27091 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
27092 * sysdeps/i386/strcspn.S (strcspn): Likewise.
27093 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
27094 * sysdeps/i386/strrchr.S (strrchr): Likewise.
27095 * sysdeps/i386/strspn.S (strspn): Likewise.
27096 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
27097 conditional code.
27098 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27099 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
27100 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27101 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
27102 L(1_3) into L(1_1).
27103 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
27104 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27105 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
27106 macros.
27107 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27108
2389741a
JJ
271092013-02-19 Jakub Jelinek <jakub@redhat.com>
27110
27111 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
27112 macro.
27113
2016b3cd
SP
271142013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27115
e4f22324
SP
27116 * math/atest-exp.c (exp_mpn): Remove ROUND.
27117 * math/atest-exp2.c (exp_mpn): Likewise.
27118 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
27119
2016b3cd
SP
27120 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
27121 * stdlib/tst-tls-atexit-lib.c: Likewise.
27122 * stdlib/tst-tls-atexit.c: Likewise.
27123
4be9b544
MF
271242013-02-18 Mike Frysinger <vapier@gentoo.org>
27125
27126 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
27127 and __attribute_alloc_size__.
27128
2f62b9ee
MF
271292013-02-18 Mike Frysinger <vapier@gentoo.org>
27130
27131 * include/programs/xmalloc.h: Change __attribute_alloc_size to
27132 __attribute_alloc_size__.
27133 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
27134 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
27135
6ff444c4
MF
271362013-02-18 Mike Frysinger <vapier@gentoo.org>
27137
27138 * include/programs/xmalloc.h: New file.
27139 * catgets/gencat.c: Include it.
27140 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
27141 * elf/pldd.c: Likewise.
27142 * iconv/iconv_charmap.c: Likewise.
27143 * iconv/iconvconfig.c: Likewise.
27144 * iconv/strtab.c: Likewise.
27145 * locale/programs/locale.c: Likewise.
27146 * locale/programs/localedef.h: Likewise.
27147 * locale/programs/simple-hash.c: Likewise.
27148 * nscd/nscd.h: Likewise.
27149 * nss/makedb.c: Likewise.
27150 * sysdeps/generic/ldconfig.h: Likewise.
27151
be179c8a
SP
271522013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27153
ba384f6e
SP
27154 * Versions.def: Add GLIBC_2.18.
27155 * include/link.h (struct link_map): New member l_tls_dtor_count.
27156 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
27157 (__call_tls_dtors): Likewise.
27158 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
27159 __cxa_thread_atexit_impl.
27160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27161 Likewise.
27162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27163 Likewise.
27164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27165 Likewise.
27166 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27167 Likewise.
27168 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27169 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
27170 Likewise.
27171 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
27172 Likewise.
27173 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27174 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27175 Likewise.
27176 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
27177 (tests): Add test case tst-tls-atexit.
27178 (modules-names): Add shared library for tst-tls-atexit.
85891aca 27179 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
27180 (GLIBC_PRIVATE): Add __call_tls_dtors.
27181 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
27182 for libstdc++.
27183 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
27184 * stdlib/tst-tls-atexit.c: New test case.
27185 * stdlib/tst-tls-atexit-lib.c: New test case.
27186
ffaa74cf 27187 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 27188
be179c8a
SP
27189 * elf/Versions (ld): Add _dl_find_dso_for_object.
27190 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
27191 * elf/dl-open.c (_dl_find_dso_for_object): New function.
27192 (dl_open_worker): Use _dl_find_dso_for_object.
27193 * elf/dl-sym.c (do_sym): Likewise.
27194 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
27195
f78b5caa
AK
271962013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27197
27198 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
27199 Syntactic changes only.
27200 (_dl_runtime_profile): Do a tail-call to the resolved function.
27201
29691210
JM
272022013-02-17 Joseph Myers <joseph@codesourcery.com>
27203
27204 [BZ #13550]
27205 * sysdeps/x86_64/bp-asm.h: Remove file.
27206 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
27207 <bp-sym.h> and <bp-asm.h>.
27208 (__clone): Do not use BP_SYM.
27209 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
27210 <bp-sym.h> and <bp-asm.h>.
27211 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27212 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
27213 "bp-asm.h".
27214 (_setjmp): Do not use BP_SYM.
27215 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
27216 "bp-asm.h".
27217 (setjmp): Do not use BP_SYM.
27218 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
27219 libc_hidden_def.
27220 (mempcpy): Do not use BP_SYM in weak_alias.
27221 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
27222 "bp-asm.h".
27223 (strchr): Do not use BP_SYM.
27224 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
27225 "bp-asm.h".
27226 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
27227 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
27228 (_start): Do not use BP_SYM.
27229 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
27230 "bp-asm.h".
27231 (strcat): Do not use BP_SYM.
27232 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
27233 "bp-asm.h".
27234 (STRCMP): Do not use BP_SYM.
27235 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
27236 "bp-asm.h".
27237 (STRCPY): Do not use BP_SYM.
27238 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
27239 "bp-asm.h".
27240 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
27241 "bp-asm.h".
27242 (FUNCTION): Do not use BP_SYM.
27243 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
27244 weak_alias.
27245 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
27246
f238fd19
AJ
272472013-02-17 Andreas Jaeger <aj@suse.de>
27248
27249 * time/Versions: Sort entries.
27250 * string/Versions: Likewise.
27251 * resolv/Versions: Likewise.
27252 * posix/Versions: Likewise.
27253 * iconv/Versions: Likewise.
27254 * elf/Versions: Likewise.
27255 * wcsmbs/Versions: Likewise.
27256
bd07f23c 272572013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 27258
22af19f9
SP
27259 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
27260 loop termination condition.
27261
4709fe76
SP
27262 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
27263 variable to calculate EZ.
27264 (__sqr): Likewise.
2d0e0f29
SP
27265
27266 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
27267 the lower precision input.
27268
daaa7713
JM
272692013-02-15 Joseph Myers <joseph@codesourcery.com>
27270
27271 [BZ #13550]
27272 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
27273 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
27274 (run-via-rtld-prefix): Do not handle %-bp tests.
27275 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
27276 (all-object-suffixes): Remove .ob.
27277 (bppfx): Remove variable.
27278 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
27279 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
27280 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
27281 [$(build-bounded) = yes] (libtype.ob): Likewise.
27282 * Makerules (elide-routines.ob): Remove variable.
27283 (do-tests-clean): Do not handle *-bp.out.
27284 (common-mostlyclean): Do not handle *-bp and *-bp.out.
27285 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
27286 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
27287 (tests): Do not include $(tests-bp.out).
27288 (xtests): Do not include $(xtests-bp.out).
27289 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
27290 [$(build-bounded) = yes] ($(addprefix
27291 $(objpfx),$(binaries-bounded))): Remove rule.
27292 ($(objpfx)%-bp.out): Remove rule.
27293 * config.make.in (build-bounded): Remove variable.
27294 * crypt/Makefile [$(build-bounded) = yes]
27295 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
27296 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
27297 append to variable.
27298 [$(build-bounded) = yes] (install-lib): Likewise.
27299 [$(build-bounded) = yes] (generated): Likewise.
27300 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
27301 Remove rule.
27302 * intl/Makefile [$(build-bounded) = yes]
27303 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
27304 * math/Makefile [$(build-bounded) = yes]
27305 ($(tests:%=$(objpfx)%-bp): Likewise.
27306 * misc/Makefile [$(build-bounded) = yes]
27307 ($(objpfx)tst-tsearch-bp): Likewise.
27308 * nptl/Makeconfig (bounded-thread-library): Remove variable.
27309 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
27310 Remove dependency.
27311 * string/Makefile (o-objects.ob): Remove variable.
27312 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
27313 (CFLAGS-.ob): Remove variable.
27314 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
27315 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
27316 both definitions of variable.
27317 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
27318 (ASFLAGS-.ob): Remove variable.
27319
e97ed6dd
JM
273202013-02-14 Joseph Myers <joseph@codesourcery.com>
27321
2bdd4ca6
JM
27322 [BZ #13550]
27323 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
27324 Remove __BOUNDED_POINTERS__ from condition.
27325 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
27326 * string/bits/string2.h [!__NO_STRING_INLINES &&
27327 !__BOUNDED_POINTERS__]: Likewise.
27328 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
27329 Likewise.
27330 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
27331 Remove conditional code.
27332 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
27333 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
27334 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
27335 condition.
27336
e97ed6dd
JM
27337 [BZ #13550]
27338 * csu/libc-start.c: Do not include <bp-sym.h>.
27339 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
27340 * elf/dl-open.c: Do not include <bp-sym.h>.
27341 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
27342 * math/fegetenv.c: Do not include <bp-sym.h>.
27343 (fegetenv): Do not use BP_SYM in versioned symbols.
27344 * nptl/sysdeps/pthread/bits/libc-lockP.h
27345 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
27346 <bp-sym.h>.
27347 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27348 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
27349 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27350 (__pthread_mutex_destroy): Likewise.
27351 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27352 (__pthread_mutex_lock): Likewise.
27353 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27354 (__pthread_mutex_trylock): Likewise.
27355 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27356 (__pthread_mutex_unlock): Likewise.
27357 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27358 (__pthread_mutexattr_init): Likewise.
27359 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27360 (__pthread_mutexattr_destroy): Likewise.
27361 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27362 (__pthread_mutexattr_settype): Likewise.
27363 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27364 (__pthread_rwlock_init): Likewise.
27365 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27366 (__pthread_rwlock_destroy): Likewise.
27367 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27368 (__pthread_rwlock_rdlock): Likewise.
27369 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27370 (__pthread_rwlock_tryrdlock): Likewise.
27371 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27372 (__pthread_rwlock_wrlock): Likewise.
27373 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27374 (__pthread_rwlock_trywrlock): Likewise.
27375 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27376 (__pthread_rwlock_unlock): Likewise.
27377 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27378 (__pthread_key_create): Likewise.
27379 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27380 (__pthread_setspecific): Likewise.
27381 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27382 (__pthread_getspecific): Likewise.
27383 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
27384 Likewise.
27385 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27386 (_pthread_cleanup_push_defer): Likewise.
27387 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27388 (_pthread_cleanup_pop_restore): Likewise.
27389 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27390 (pthread_setcancelstate): Likewise.
27391 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
27392 <bp-sym.h>.
27393 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
27394 (memchr): Do not use BP_SYM in weak_alias.
27395 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
27396 (fegetenv): Do not use BP_SYM in versioned symbols.
27397 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
27398 (fesetenv): Do not use BP_SYM in versioned symbols.
27399 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27400 (feupdateenv): Do not use BP_SYM in versioned symbols.
27401 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27402 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27403 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
27404 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
27405 (open64): Do not use BP_SYM in weak_alias.
27406 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
27407 (fegetenv): Do not use BP_SYM in versioned symbols.
27408 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
27409 (fesetenv): Do not use BP_SYM in versioned symbols.
27410 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27411 (feupdateenv): Do not use BP_SYM in versioned symbols.
27412 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
27413 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
27414 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
27415 (feraiseexcept): Do not use BP_SYM in versioned symbols.
27416 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27417 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27418 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
27419 <bp-sym.h>.
27420 (__libc_start_main): Do not use BP_SYM.
27421
d6752ccd
SP
274222013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27423
cb57ce60
SP
27424 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
27425 redundant return line.
27426 (norm): Likewise.
27427 (denorm): Likewise.
27428 (dbl_mp): Likewise.
27429 (sub_magnitudes): Likewise.
27430 (__add): Likewise.
27431 (__sub): Likewise.
27432 (__mul): Likewise.
27433 (__inv): Likewise.
27434 (__dvd): Likewise.
27435 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
27436 (norm): Likewise.
27437 (denorm): Likewise.
27438 (dbl_mp): Likewise.
27439 (sub_magnitudes): Likewise.
27440 (__add): Likewise.
27441 (__sub): Likewise.
27442 (__mul): Likewise.
27443 (__inv): Likewise.
27444 (__dvd): Likewise.
27445
f414520d
SP
27446 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
27447 instead of __mul.
27448 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27449 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
27450 (cc32): Likewise.
27451
d6752ccd
SP
27452 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
27453 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
27454 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
27455 of __mul for squares.
27456 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
27457 function
27458 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
27459 Likewise.
27460 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
27461 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27462
70d9946a
JM
274632013-02-13 Joseph Myers <joseph@codesourcery.com>
27464
27465 [BZ #13550]
27466 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
27467 code.
27468 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
27469 prototype or function definition. Rename ubp_* variables and
27470 parameters. Remove argv definitions conditional on
27471 [__BOUNDED_POINTERS__].
27472 * debug/backtrace.c (__backtrace): Do not use __unbounded.
27473 * elf/dl-runtime.c (_dl_fixup): Likewise.
27474 * include/set-hooks.h (RUN_HOOK): Likewise.
27475 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
27476 definition.
27477 * string/strcpy.c (strcpy): Do not use __unbounded.
27478 * sysdeps/generic/frame.h (struct layout): Likewise.
27479 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
27480 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
27481 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
27482 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
27483 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
27484 (__backtrace): Likewise.
27485 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
27486 use __ptrvalue.
27487 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
27488 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27489 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27490 Likewise.
27491 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
27492 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
27493 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27494 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27495 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
27496 Do not use __unbounded.
27497 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
27498 Rename __unboundedrlimits parameter to rlimits in prototype.
27499 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
27500 Do not use __unbounded.
27501 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
27502 not use __ptrvalue.
27503 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27504 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
27505 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27506 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
27507 __ptrvalue or __unbounded.
27508 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
27509 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
27510 use __unbounded.
27511 (__new_msgctl): Do not use __ptrvalue.
27512 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
27513 __unbounded.
27514 (__libc_msgrcv): Do not use __ptrvalue.
27515 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
27516 startup_info): Do not use __unbounded.
27517 (__libc_start_main): Likewise. Rename ubp_* variables and
27518 parameters. Remove argv definitions conditional on
27519 [__BOUNDED_POINTERS__].
27520 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
27521 __ptrvalue.
27522 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
27523 use __unbounded.
27524 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
27525 or __ptrvalue.
27526 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
27527 use __unbounded.
27528 (__new_shmctl): Do not use __ptrvalue.
27529 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
27530 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
27531 Likewise.
27532 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
27533 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
27534 (__libc_sigaction): Likewise.
27535 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
27536 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
27537 Likewise.
27538 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27539
cc7834d6
OB
275402013-02-13 Ondřej Bílka <neleai@seznam.cz>
27541
ffb1ec7b 27542 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
27543
27544 * string/mempcpy.c: Implement by calling memcpy.
27545
bdf02814
SP
275462013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27547
c2af38aa
SP
27548 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
27549
4e92d59e
SP
27550 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
27551 evaluation.
27552
909279a5
SP
27553 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
27554 values in the mantissa.
27555
bdf02814
SP
27556 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
27557 minimize writes to Z.
27558 (sub_magnitudes): Simplify code a bit.
27559
cd525923
RM
275602013-02-12 Roland McGrath <roland@hack.frob.com>
27561
27562 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
27563 from the message. The linker prefixes all warnings with that already.
27564
7e2f0d2d
AS
275652013-02-12 Andreas Schwab <schwab@suse.de>
27566
a445af0b
AS
27567 [BZ #15078]
27568 * posix/regexec.c (extend_buffers): Add parameter min_len.
27569 (check_matching): Pass minimum needed length.
27570 (clean_state_log_if_needed): Likewise.
27571 (get_subexp): Likewise.
27572 * posix/Makefile (tests): Add bug-regex34.
27573 (bug-regex34-ENV): Define.
27574 * posix/bug-regex34.c: New file.
27575
7e2f0d2d
AS
27576 [BZ #11561]
27577 * posix/regcomp.c (parse_bracket_exp): When looking up collating
27578 elements compare against the byte sequence of it, not its name.
27579 * posix/Makefile (tests): Add bug-regex35.
27580 (bug-regex35-ENV): Define.
27581 * posix/bug-regex35.c: New file.
27582
a175b684
TV
275832013-02-11 Tom de Vries <tom@codesourcery.com>
27584
27585 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
27586 comment.
27587 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
27588 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
27589 (CHECK_EOL): Add undef.
27590
310998fe 275912013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
27592
27593 * bits/stdlib-bsearch.h: New file.
27594 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 27595 * stdlib/stdlib.h: Likewise.
41eda41d 27596
8ded91fb
RM
275972013-02-11 Roland McGrath <roland@hack.frob.com>
27598
27599 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
27600 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
27601 declaration.
27602 * manual/search.texi (Array Search Function): Add missing const in
27603 lfind prototype.
27604 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
27605 declaration to use rlim_t.
27606 (Basic Scheduling Functions): Remove erroneous const from
27607 sched_getparam prototype. Remove erroneous * from
27608 sched_get_priority_max and sched_get_priority_min prototypes.
27609 (Resource Usage): Fix summary @comment on vtimes to refer to
27610 sys/vtimes.h rather than vtimes.h.
27611 Add missing *s in vtimes prototype.
27612 (Limits on Resources): Fix ulimit prototype to return long int.
27613 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
27614 prototypes to use long int rather than double.
27615 (BSD Random): Fix initstate and setstate to use char *, not void *.
27616 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
27617 prototype to make second argument 'struct aiocb64 *const[]'.
27618 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
27619 (Status of AIO Operations): Remove erroneous const in aio_return and
27620 aio_return64 prototypes.
27621 (Synchronizing I/O): Fix sync prototype to return void.
27622 * manual/startup.texi (Suboptions): Remove an erroneous const in
27623 getsubopt prototype.
27624 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
27625 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
27626 use size_t rather than int.
27627 (Scanning All Users): Likewise for getpwent_r.
27628 (Setting Groups): Add missing const to setgroups prototype.
27629 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
27630 * manual/socket.texi (Host Names): Fix gethostbyaddr and
27631 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
27632 'const void *' rather than 'const char *'.
27633 (Host Address Functions): Likewise for inet_ntop.
27634 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
27635 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
27636 ssize_t for return value.
27637 (Sending Data): Likewise for send, sendto, sendmsg.
27638 (Socket Option Functions): Add a missing const in setsockopt prototype.
27639 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
27640 use wchar_t for the argument.
27641 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
27642 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
27643 take no arguments.
27644 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
27645 double/float/long double for second argument.
27646 Fix return types of significand, significandf, significandl.
27647 * manual/filesys.texi (Setting Permissions): Use mode_t for second
27648 argument in fchmod prototype.
27649 (File Owner): Use uid_t and gid_t in fchown prototype.
27650 (File Times): Add const to utimes, futimes, and lutimes prototypes.
27651 (Making Special Files): Use mode_t and dev_t in mknod prototype.
27652 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
27653 use 'const struct dirent **' as argument types to CMP function pointer
27654 argument.
27655 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
27656 (File Times): Fix summary magic @comment for struct utimbuf and utime
27657 to refer to utime.h, not time.h.
27658 * manual/string.texi (Argz Functions): Add missing const in
27659 argz_extract and argz_next prototypes.
27660 (Finding Tokens in a String): Likewise for basename.
27661 (String/Array Comparison): Fix typo in wcscasecmp prototype.
27662 (Copying and Concatenation): Fix typo in wmemmove prototype.
27663 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
27664 (Signal Stack): Remove erroneous const in sigstack prototype.
27665 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
27666 prototype.
27667 (Simple Calendar Time): Likewise for stime.
27668 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
27669 prototype.
27670 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
27671 say sys/sysctl.h instead.
27672 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
27673 and vsyslog prototypes.
27674
fe77fe6d
TV
276752013-02-11 Tom de Vries <tom@codesourcery.com>
27676
27677 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
27678 Remove.
27679
3a09b620
RM
276802013-02-11 Roland McGrath <roland@hack.frob.com>
27681
27682 * misc/sys/mman.h: Fix typo in mremap comment.
27683
550a0b89
RM
276842013-02-08 Roland McGrath <roland@hack.frob.com>
27685
27686 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
27687 the '\0' terminator.
27688
a2da1673
JM
276892013-02-08 Joseph Myers <joseph@codesourcery.com>
27690
27691 [BZ #13550]
27692 * debug/segfault.c: Don't include <bp-checks.h>.
27693 * sysdeps/generic/bp-checks.h: Remove file.
27694 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
27695 (__GETDENTS): Don't use CHECK_N.
27696 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
27697 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
27698 (__getgroups): Don't use CHECK_N.
27699 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
27700 (setgroups): Don't use CHECK_N.
27701 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
27702 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
27703 (__libc_msgrcv): Don't use CHECK_N.
27704 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
27705 (__libc_msgsnd): Don't use CHECK_N.
27706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
27707 <bp-checks.h>.
27708 (__libc_pread): Don't use CHECK_N.
27709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
27710 include <bp-checks.h>.
27711 (__libc_pread64): Don't use CHECK_N.
27712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
27713 include <bp-checks.h>.
27714 (__libc_pwrite): Don't use CHECK_N.
27715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
27716 include <bp-checks.h>.
27717 (__libc_pwrite64): Don't use CHECK_N.
27718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
27719 <bp-checks.h>.
27720 (__libc_pread): Don't use CHECK_N.
27721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
27722 include <bp-checks.h>.
27723 (__libc_pread64): Don't use CHECK_N.
27724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
27725 include <bp-checks.h>.
27726 (__libc_pwrite): Don't use CHECK_N.
27727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
27728 include <bp-checks.h>.
27729 (__libc_pwrite64): Don't use CHECK_N.
27730 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
27731 (do_pread): Don't use CHECK_N.
27732 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
27733 (do_pread64): Don't use CHECK_N.
27734 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
27735 (do_pwrite): Don't use CHECK_N.
27736 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
27737 (do_pwrite64): Don't use CHECK_N.
27738 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
27739 (__libc_readv): Don't use CHECK_N.
27740 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
27741 (semop): Don't use CHECK_N.
27742 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
27743 <bp-checks.h>.
27744 (semtimedop): Don't use CHECK_N.
27745 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
27746 (__libc_pread): Don't use CHECK_N.
27747 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
27748 <bp-checks.h>.
27749 (__libc_pread64): Don't use CHECK_N.
27750 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
27751 <bp-checks.h>.
27752 (__libc_pwrite): Don't use CHECK_N.
27753 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
27754 <bp-checks.h>.
27755 (__libc_pwrite64): Don't use CHECK_N.
27756 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
27757 <bp-checks.h>.
27758 (__libc_msgrcv): Don't use CHECK_N.
27759 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
27760 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
27761 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
27762 (__libc_writev): Don't use CHECK_N.
27763
b84660a8
RM
277642013-02-08 Roland McGrath <roland@hack.frob.com>
27765
7f3e75f8
RM
27766 * string/strcpy.c: Removed unused variable.
27767
b84660a8
RM
27768 * Makeconfig (+sysdep-includes): Define with := rather than =.
27769 Use an existing include/ subdir of each sysdeps dir before it.
27770
471514d3
CD
277712013-02-08 Carlos O'Donell <carlos@redhat.com>
27772
27773 * nscd/connection.c (register_traced_file): Comment function.
27774 [HAVE_INOTIFY] (union __inev): Define.
27775 [HAVE_INOTIFY] (inotify_check_files): New function.
27776 [HAVE_INOTIFY] (clear_db_cache): Likewise.
27777 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
27778 clear_db_cache.
27779 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
27780
b2d3c3be
CD
277812013-02-08 Carlos O'Donell <carlos@redhat.com>
27782
27783 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
27784 loaded if not already and that a failure is permanent.
27785
b39949d2
CD
277862013-02-08 Carlos O'Donell <carlos@redhat.com>
27787
ddacd1db 27788 [BZ #15006]
b39949d2
CD
27789 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
27790 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
27791
b2c9eff4
JM
277922013-02-08 Joseph Myers <joseph@codesourcery.com>
27793
f3aae3f3
JM
27794 [BZ #13550]
27795 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
27796 (CHECK_1_NULL_OK): Likewise.
27797 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
27798 (__fxstat): Do not use CHECK_1.
27799 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
27800 <bp-checks.h>.
27801 (___fxstat64): Do not use CHECK_1.
27802 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27803 <bp-checks.h>.
27804 (__fxstatat): Do not use CHECK_1.
27805 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27806 <bp-checks.h>.
27807 (__fxstatat64): Do not use CHECK_1.
27808 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
27809 <bp-checks.h>.
27810 (__fxstat): Do not use CHECK_1.
27811 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27812 <bp-checks.h>.
27813 (__fxstatat): Do not use CHECK_1.
27814 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27815 <bp-checks.h>.
27816 (__getresgid): Do not use CHECK_1.
27817 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27818 <bp-checks.h>.
27819 (__getresuid): Do not use CHECK_1.
27820 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
27821 <bp-checks.h>.
27822 (__lxstat): Do not use CHECK_1.
27823 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27824 <bp-checks.h>.
27825 (__old_msgctl): Do not use CHECK_1.
27826 (__new_msgctl): Likewise.
27827 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
27828 <bp-checks.h>.
27829 (__new_setrlimit): Do not use CHECK_1.
27830 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27831 <bp-checks.h>.
27832 (__old_shmctl): Do not use CHECK_1.
27833 (__new_shmctl): Likewise.
27834 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
27835 <bp-checks.h>.
27836 (__xstat): Do not use CHECK_1.
27837 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
27838 (__lxstat): Do not use CHECK_1.
27839 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
27840 <bp-checks.h>.
27841 (___lxstat64): Do not use CHECK_1.
27842 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
27843 (__old_msgctl): Do not use CHECK_1.
27844 (__new_msgctl): Likewise.
27845 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
27846 <bp-checks.h>.
27847 (__gettimeofday): Do not use CHECK_1.
27848 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
27849 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
27850 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
27851 <bp-checks.h>.
27852 (__gettimeofday): Do not use CHECK_1.
27853 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
27854 (__old_shmctl): Do not use CHECK_1_NULL_OK.
27855 (__new_shmctl): Do not use CHECK_1.
27856 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
27857 <bp-checks.h>.
27858 (do_sigtimedwait): Do not use CHECK_1.
27859 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
27860 <bp-checks.h>.
27861 (do_sigwaitinfo): Do not use CHECK_1.
27862 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
27863 <bp-checks.h>.
27864 (msgctl): Do not use CHECK_1.
27865 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
27866 <bp-checks.h>.
27867 (shmctl): Do not use CHECK_1.
27868 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
27869 (ustat): Do not use CHECK_1.
27870 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
27871 <bp-checks.h>.
27872 (__fxstat): Do not use CHECK_1.
27873 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27874 <bp-checks.h>.
27875 (__fxstatat): Do not use CHECK_1.
27876 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
27877 <bp-checks.h>.
27878 (__lxstat): Do not use CHECK_1.
27879 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
27880 <bp-checks.h>.
27881 (__xstat): Do not use CHECK_1.
27882 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
27883 (__xstat): Do not use CHECK_1.
27884 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
27885 (___xstat64): Do not use CHECK_1.
27886
b2c9eff4
JM
27887 [BZ #13550]
27888 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
27889 definitions.
27890 (CHECK_BOUNDS_HIGH): Likewise.
27891 * string/strcpy.c: Do not include <bp-checks.h>.
27892 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
27893
f1d70dad
RM
278942013-02-07 Roland McGrath <roland@hack.frob.com>
27895
27896 * nscd/nscd-client.h (__nscd_drop_map_ref):
27897 Add __attribute__ ((unused)).
27898 * nis/nss-nisplus.h (niserr2nss): Likewise.
27899
27900 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
27901 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
27902
27903 * csu/libc-tls.c (init_static_tls, init_slotinfo):
27904 Remove inline keyword.
27905 * include/rounding-mode.h (round_away): Likewise.
27906 * libio/wfileops.c (adjust_wide_data): Likewise.
27907 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27908 (__m128i_strloadu_tolower): Likewise.
27909 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27910 (__m128i_strloadu_tolower): Likewise.
27911 * time/mktime.c (ydhms_diff): Likewise.
27912 * locale/elem-hash.h (elem_hash): Likewise.
27913 * locale/setlocale.c (setdata): Likewise.
27914 * posix/regex_internal.h (re_string_char_size_at): Likewise.
27915 (re_string_wchar_at): Likewise.
27916 (bitset_not, bitset_merge, bitset_mask): Likewise.
27917 [!(__GNUC__ > 3)] (inline): Remove macro.
27918 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27919 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27920 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27921 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27922 * string/memcmp.c (memcmp_bytes): Likewise.
27923 * locale/programs/locarchive.c (compute_hashval): Likewise.
27924 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27925 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27926 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27927 * nss/getent.c (print_rpc, print_protocols): Likewise.
27928 (print_passwd, print_group, print_aliases): Likewise.
27929 * nis/nss-nisplus.h (niserr2nss): Likewise.
27930 * nscd/connections.c (restart_p): Likewise.
27931 Change return type to bool.
27932
eab55bfb
RM
279332013-02-05 Roland McGrath <roland@hack.frob.com>
27934
7bd642f5
RM
27935 * Makeconfig (all-Depend-files): Add existing
27936 $(sorted-subdirs:=/Depend) files.
27937 (all-subdirs): Remove nss.
27938 * sysdeps/unix/inet/Subdirs: Add it here instead.
27939 * hesiod/Depend: New file.
27940
573c29b2
RM
27941 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27942 instead of calling alloca.
27943
b2e25af0
RM
27944 * io/lseek.c (__lseek): Rename to __libc_lseek.
27945 Define __lseek as an alias.
27946
eab55bfb
RM
27947 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27948
9a0d1941
CD
279492013-02-04 Carlos O'Donell <carlos@redhat.com>
27950
27951 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27952 else clause and remove check for non-standard endianness.
27953
b83bbec4
DM
279542013-02-04 David S. Miller <davem@davemloft.net>
27955
27956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27957
6277fdab
JM
279582013-02-04 Joseph Myers <joseph@codesourcery.com>
27959
27960 [BZ #13550]
27961 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27962 (__ubp_memchr): Remove prototype.
27963 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27964 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27965 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27966 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27967 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27968 Remove alias.
27969 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27970 (__ubp_memchr): Likewise.
27971 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27972 (__ubp_memchr): Likewise.
27973 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27974 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27975 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27976 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27977 CHECK_STRING.
27978 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27979 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27980 (__getcwd): Do not use CHECK_STRING.
27981 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27982 <bp-checks.h>.
27983 (__real_chown): Do not use CHECK_STRING.
27984 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27985 <bp-checks.h>.
27986 (fchownat): Do not use CHECK_STRING.
27987 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27988 CHECK_STRING.
27989 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27990 <bp-checks.h>.
27991 (__lchown): Do not use CHECK_STRING.
27992 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27993 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27994 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27995 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27997 include <bp-checks.h>.
27998 (truncate64): Do not use CHECK_STRING.
27999 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28000 <bp-checks.h>.
28001 (__real_chown): Do not use CHECK_STRING.
28002 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28003 <bp-checks.h>.
28004 (__lchown): Do not use CHECK_STRING.
28005 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28006 <bp-checks.h>.
28007 (__chown): Do not use CHECK_STRING.
28008 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
28009 <bp-checks.h>.
28010 (truncate64): Do not use CHECK_STRING.
28011 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
28012 Likewise.
28013 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
28014 (__xmknod): Do not use CHECK_STRING.
28015 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
28016 <bp-checks.h>.
28017 (__xmknodat): Do not use CHECK_STRING.
28018 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28019 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
28020
903ae060
AS
280212013-02-04 Andreas Schwab <schwab@suse.de>
28022
28023 [BZ #14142]
28024 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
28025 * include/netdb.h: Likewise for h_errno.
28026 * elf/tst-stackguard1.c: Include <tls.h>.
28027
542f9466
JK
280282013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
28029
28030 * elf/link.h (struct link_map): Extend the l_addr comment.
28031 * include/link.h (struct link_map): Likewise.
28032
e782a927
JM
280332013-02-01 Joseph Myers <joseph@codesourcery.com>
28034
28035 [BZ #13550]
28036 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
28037 (BOUNDED_1): Remove macro.
28038 * debug/backtrace.c: Don't include <bp-checks.h>.
28039 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
28040 (__backtrace): Likewise.
28041 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
28042 <bp-checks.h>.
28043 (__backtrace): Don't use BOUNDED_1.
28044 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
28045 <bp-checks.h>.
28046 (__backtrace): Don't use BOUNDED_1.
28047 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
28048 (__backtrace): Don't use BOUNDED_1.
28049 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
28050 (shmat): Don't use BOUNDED_N.
28051
8cf28c5e
JM
280522013-01-31 Joseph Myers <joseph@codesourcery.com>
28053
3a7ac8a0
JM
28054 [BZ #13550]
28055 * sysdeps/generic/bp-start.h: Remove file.
28056 * csu/libc-start.c: Don't include <bp-start.h>.
28057 (LIBC_START_MAIN): Set up __environ directly instead of using
28058 INIT_ARGV_and_ENVIRON.
28059 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
28060 <bp-start.h>.
28061
f3499f95
JM
28062 [BZ #13550]
28063 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
28064 definitions.
28065 (CHECK_FCNTL): Likewise.
28066 (CHECK_N_PAGES): Likewise.
28067
32a45bea
JM
28068 [BZ #13550]
28069 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
28070 definitions.
28071 (CHECK_SIGSET_NULL_OK): Likewise.
28072 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
28073 <bp-checks.h>.
28074 (sigpending): Don't use CHECK_SIGSET.
28075 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
28076 <bp-checks.h>.
28077 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28078 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
28079 <bp-checks.h>.
28080 (do_sigsuspend): Don't use CHECK_SIGSET.
28081 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
28082 use CHECK_SIGSET.
28083 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
28084 (do_sigwait): Don't use CHECK_SIGSET.
28085 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
28086 use CHECK_SIGSET.
28087 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
28088 include <bp-checks.h>.
28089 (sigpending): Don't use CHECK_SIGSET.
28090 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
28091 include <bp-checks.h>.
28092 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28093 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
28094 <bp-checks.h>.
28095 (sigpending): Don't use CHECK_SIGSET.
28096 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
28097 <bp-checks.h>.
28098 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28099
2e8a5c8c
JM
28100 [BZ #13550]
28101 * sysdeps/generic/bp-semctl.h: Remove file.
28102 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
28103 <bp-checks.h> and <bp-semctl.h>.
28104 (__old_semctl): Don't use CHECK_SEMCTL.
28105 (__new_semctl): Likewise.
28106 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
28107 and <bp-semctl.h>.
28108 (__old_semctl): Don't use CHECK_SEMCTL.
28109 (__new_semctl): Likewise.
28110 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
28111 <bp-checks.h> and <bp-semctl.h>.
28112 (__old_semctl): Don't use CHECK_SEMCTL.
28113 (__new_semctl): Likewise.
28114 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
28115 <bp-checks.h> and <bp-semctl.h>.
28116 (semctl): Don't use CHECK_SEMCTL.
28117
c2d54929
JM
28118 [BZ #13550]
28119 * Makerules (elide-bp-thunks): Remove variable.
28120 (elide-routines.oS): Don't use $(elide-bp-thunks).
28121 (elide-routines.os): Likewise.
28122 (elide-routines.o): Likewise.
28123 (elide-routines.op): Likewise.
28124 (elide-routines.og): Likewise.
28125 (objects): Don't use $(bp-thunks).
28126 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
28127 include.
28128 (common-generated): Do not add s-proto-bp.d.
28129 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
28130 (int): Likewise.
28131 (typ): Likewise.
28132 Do not generate makefile rules for bounded-pointer thunks.
28133 * sysdeps/generic/bp-thunks.h: Remove file.
28134 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
28135 * sysdeps/unix/s-proto-bp.S: Likewise.
28136
8cf28c5e
JM
28137 [BZ #15062]
28138 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
28139 parts of result separately when argument is not close to line from
28140 -i to i and one part of argument is small.
28141 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28142 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28143 * math/libm-test.inc (cacos_test): Add more tests.
28144 (casin_test): Likewise.
28145 (casinh_test): Likewise.
28146 * sysdeps/i386/fpu/libm-test-ulps: Update.
28147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28148
c4e33b8d
DM
281492013-01-31 David S. Miller <davem@davemloft.net>
28150
28151 * po/de.po: Update from translation team.
28152
3b60b421
MK
281532013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
28154
28155 * time/tzfile.c: Include stdint.h for SIZE_MAX.
28156
bb931195
TS
281572013-01-25 Thomas Schwinge <thomas@codesourcery.com>
28158
b5a5da23
TS
28159 * configure.in (_AC_PROG_CC_C89): New definition.
28160 * configure: Regenerate.
28161
bb931195
TS
28162 * configure.in (AC_PROG_CPP): New definition.
28163 * configure: Regenerate.
28164
8c53a12c
JM
281652013-01-23 Joseph Myers <joseph@codesourcery.com>
28166
28167 * debug/tst-backtrace.h: New file.
28168 * debug/tst-backtrace2.c: Include tst-backtrace.h.
28169 (ret): Remove variable.
28170 (x): Likewise.
28171 (FAIL): Remove macro.
28172 (NO_INLINE): Likewise.
28173 (fn1): Use match function instead of strstr.
28174 * debug/tst-backtrace3.c: Include tst-backtrace.h.
28175 (ret): Remove variable.
28176 (x): Likewise.
28177 (FAIL): Remove macro.
28178 (NO_INLINE): Likewise.
28179 (fn): Use match function instead of strstr.
28180 * debug/tst-backtrace4.c: Include tst-backtrace.h.
28181 (ret): Remove variable.
28182 (x): Likewise.
28183 (FAIL): Remove macro.
28184 (NO_INLINE): Likewise.
28185 (handle_signal): Use match function instead of strstr.
28186 * debug/tst-backtrace5.c: Include tst-backtrace.h.
28187 (ret): Remove variable.
28188 (x): Likewise.
28189 (FAIL): Remove macro.
28190 (NO_INLINE): Likewise.
28191 (handle_signal): Use match function instead of strstr.
28192
4858fa2a
RM
281932013-01-23 Roland McGrath <roland@hack.frob.com>
28194
28195 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
28196
bae8e7f5
DM
281972013-01-23 David S. Miller <davem@davemloft.net>
28198
28199 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
28200 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
28201 argument of CAS if possible.
28202 * sysdeps/sparc/sparc64/bits/atomic.h
28203 (__arch_compare_and_exchange_val_32_acq): Likewise.
28204 (__arch_compare_and_exchange_val_64_acq): Likewise.
28205
9cbbc4ae
PT
282062013-01-23 Pino Toscano <toscano.pino@tiscali.it>
28207
28208 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
28209 * sysdeps/posix/ulimit.c: ... this.
92a601b8 28210 Include <limits.h>.
67b3f58c 28211 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 28212
5655a0b5
AC
282132013-01-23 Adam Conrad <adconrad@0c3.net>
28214
28215 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
28216 (LDFLAGS-tst-array5): Likewise.
28217
052aff95
JM
282182013-01-23 Joseph Myers <joseph@codesourcery.com>
28219
28220 [BZ #15036]
28221 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
28222 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
28223 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
28224 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
28225
7c1e01aa
DM
282262013-01-21 David S. Miller <davem@davemloft.net>
28227
28228 * sysdeps/sparc/backtrace.c: New file.
28229 * sysdeps/sparc/sparc32/backtrace.h: New file.
28230 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
28231 * sysdeps/sparc/sparc64/backtrace.h: New file.
28232 * sysdeps/sparc/sparc64/backtrace.c: Delete.
28233 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
28234 -funwind-tables.
28235
ab087e0a
AS
282362013-01-21 Andreas Schwab <schwab@suse.de>
28237
28238 [BZ #15020]
28239 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
28240 closed its stdout.
28241
ed689c2f
AS
282422013-01-20 Andreas Schwab <schwab@linux-m68k.org>
28243
28244 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
28245 "mpa2.h".
28246 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28247
31d470ac
JM
282482013-01-18 Joseph Myers <joseph@codesourcery.com>
28249 Mark Mitchell <mark@codesourcery.com>
28250 Tom de Vries <tom@codesourcery.com>
28251 Paul Pluzhnikov <ppluzhnikov@google.com>
28252
28253 * debug/tst-backtrace2.c: New file.
28254 * debug/tst-backtrace3.c: Likewise.
28255 * debug/tst-backtrace4.c: Likewise.
28256 * debug/tst-backtrace5.c: Likewise.
28257 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
28258 (CFLAGS-tst-backtrace3.c): Likewise.
28259 (CFLAGS-tst-backtrace4.c): Likewise.
28260 (CFLAGS-tst-backtrace5.c): Likewise.
28261 (LDFLAGS-tst-backtrace2): Likewise.
28262 (LDFLAGS-tst-backtrace3): Likewise.
28263 (LDFLAGS-tst-backtrace4): Likewise.
28264 (LDFLAGS-tst-backtrace5): Likewise.
28265 (tests): Add new tests tst-backtrace2, tst-backtrace3,
28266 tst-backtrace4 and tst-backtrace5.
28267
90567f30 282682013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
28269 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28270
28271 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
28272 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
28273 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
28274 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
28275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28276 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
28277 "+r" and remove output regs list as redundant. Add explicit inline
28278 asm to specify register of return val to work around compiler codegen
28279 bug. Remove (int) cast on return value. Add return type parameter to
28280 use in macro so that this macro does not truncate return value for
28281 64-bit values.
28282 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
28283 pass to INTERNAL_VSYSCALL_NCS.
28284 (INLINE_VSYSCALL): Add 'long int' as return type to
28285 INTERNAL_VSYSCALL_NCS macro invocation.
28286 (INTERNAL_VSYSCALL): Add 'long int' as return type to
28287 INTERNAL_VSYSCALL_NCS macro invocation.
28288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28289
d3b9ea61
SP
282902013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28291
0b57daeb
SP
28292 [BZ #14496]
28293 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
28294 Fix application of SIMD FP exception mask.
28295
caa99d06
SP
28296 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
28297 mp_no from a power of two.
28298 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
28299 __mpexp_twomm1. Use __pow_mp.
28300
d3b9ea61
SP
28301 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
28302 multiplication.
28303
1dbaee3c
DM
283042013-01-17 David S. Miller <davem@davemloft.net>
28305
28306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28307
728d7b43
JM
283082013-01-17 Joseph Myers <joseph@codesourcery.com>
28309
28310 [BZ #15023]
28311 * include/complex.h: Condition contents on [!_COMPLEX_H].
28312 (__kernel_casinhf): New prototype.
28313 (__kernel_casinh): Likewise.
28314 (__kernel_casinhl): Likewise.
28315 * math/Makefile (libm_calls): Add k_casinh.
28316 * math/k_casinh.c: New file.
28317 * math/k_casinhf.c: Likewise.
28318 * math/k_casinhl.c: Likewise.
28319 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
28320 finite nonzero arguments.
28321 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
28322 finite nonzero arguments.
28323 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
28324 finite nonzero arguments.
28325 * math/s_casinh.c: Do not include <float.h>.
28326 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
28327 * math/s_casinhf.c: Do not include <float.h>.
28328 (__casinhf): Move code for finite nonzero arguments to
28329 k_casinhf.c.
28330 * math/s_casinhl.c: Do not include <float.h>.
28331 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
28332 redefine.
28333 (__casinhl): Move code for finite nonzero arguments to
28334 k_casinhl.c.
28335 * math/libm-test.inc (cacos_test): Add more tests.
28336 * sysdeps/i386/fpu/libm-test-ulps: Update.
28337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28338
2a26ef3a
PT
283392013-01-17 Pino Toscano <toscano.pino@tiscali.it>
28340
28341 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
28342 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
28343 [!HAVE_MREMAP]: Remove [defined linux] case.
28344 * malloc/arena.c: Do not include <malloc-sysdep.h>.
28345
a897655d
SP
283462013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28347
28348 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
28349
881ebe89 283502013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
28351
28352 * elf/elf.h (R_386_SIZE32): New relocation.
28353 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
28354 R_386_SIZE32.
28355 (elf_machine_rela): Likewise.
28356 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28357 R_X86_64_SIZE64 and R_X86_64_SIZE32.
28358
59981e9b
JM
283592013-01-17 Joseph Myers <joseph@codesourcery.com>
28360
28361 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
28362 (FP_FAST_FMA): Do not define.
28363 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
28364 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
28365 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
28366 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
28367 !_SOFT_FLOAT]: Likewise.
28368 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
28369 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
28370 value.
28371 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
28372 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
28373 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
28374 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
28375 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
28376 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
28377 file.
28378
cfa8054f
AS
283792013-01-16 Andreas Schwab <schwab@suse.de>
28380
28381 [BZ #14327]
28382 * include/stdlib.h (__mktemp): Add declaration.
28383 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
28384 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
28385
dd930cc5
SP
283862013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28387
881ebe89
SP
28388 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
28389 definitions.
28390 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28391 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
28392 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
28393 definitions here.
28394 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
28395 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
28396 definitions.
28397 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
28398 and ONE.
28399 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
28400 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
28401 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
28402 definitions.
28403 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
28404 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
28405 definitions.
28406 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 28407
dd930cc5
SP
28408 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
28409
c19a9f89
DM
284102013-01-15 David S. Miller <davem@davemloft.net>
28411
1aa61767
DM
28412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28413 trunc{,f} to libm-sysdep_routes.
28414 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
28416 file.
28417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
28418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
28419 file.
28420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
28421 file.
28422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
28423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
28424 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
28425 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
28426 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
28427 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
28428 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
28429 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
28430
c42d5e98
DM
28431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28432 nearbyint{,f} to libm-sysdep_routes.
28433 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
28435 New file.
28436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
28437 file.
28438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
28439 New file.
28440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
28441 file.
28442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
28443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
28444 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
28445 file.
28446 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
28447 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
28448 file.
28449 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
28450 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
28451 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
28452
c19a9f89
DM
28453 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28454 libc_feholdexcept and libc_fesetenv.
28455
357679d2
MF
284562013-01-15 Mike Frysinger <vapier@gentoo.org>
28457
28458 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
28459
65a82e3d
DM
284602013-01-14 David S. Miller <davem@davemloft.net>
28461
8b954ab9
DM
28462 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
28463 (SPARC_ASM_VIS2_IFUNC): Likewise.
28464 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
28465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
28466 use of 'siam' instruction.
28467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
28468 Likewise.
28469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
28470 Likewise.
28471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
28472 Likewise.
28473 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
28474 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
28475 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
28476 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
28477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
28478 file.
28479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
28480 file.
28481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
28482 file.
28483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
28484 file.
28485 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
28486 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
28487 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
28488 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
28489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
28490 new VIS2 routines.
28491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28494 Likewise.
28495 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28496 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28497 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28498 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
28500 routines to libm-sysdep_routines.
28501 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28502
65a82e3d
DM
28503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28504 fdim/fdimf to libm-sysdep_routines.
28505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
28506 file.
28507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
28508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
28509 file.
28510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
28511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
28512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
28513 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
28514 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
28515 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
28516 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
28517
e34ab705
SP
285182013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28519
2a91b573
SP
28520 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
28521 to optimize copies.
28522
1066a534
SP
28523 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
28524 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28525 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28526
e34ab705
SP
28527 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
28528 local variable MPTWO.
28529 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28530 Likewise.
28531
aba5e596
MF
285322013-01-13 Mike Frysinger <vapier@gentoo.org>
28533
28534 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
28535 GLOB_NOESCAPE.
28536
e557e9e5
MF
285372013-01-13 Mike Frysinger <vapier@gentoo.org>
28538
28539 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
28540
0428cec9
MF
285412013-01-13 Mike Frysinger <vapier@gentoo.org>
28542
28543 * manual/pattern.texi (glob_t): Document gl_flags.
28544 (glob64_t): Likewise.
28545
8794a964
DM
285462013-01-11 David S. Miller <davem@davemloft.net>
28547
66438c3f
RM
28548 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
28549 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
28550 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
28551 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
28552 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
28553 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
28554 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
28555 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
28556 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
28557 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
28558 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
28559 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
28560 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
28561
4ae4244d
DM
28562 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28563 sparc V9 rather than using V8 code.
28564 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28565 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28566
8794a964
DM
28567 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28568 Move to...
28569 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
28570 Here.
28571
6270516e
RM
285722013-01-11 Roland McGrath <roland@hack.frob.com>
28573
28574 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
28575 not in the main loop.
28576 * configure: Regenerated.
28577
6a57d931
JM
285782013-01-11 Joseph Myers <joseph@codesourcery.com>
28579
28580 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
28581 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
28582 to just #else.
28583 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
28584 [!__GLIBC_HAVE_LONG_LONG] case.
28585 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
28586 condition to just #else.
28587 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
28588 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
28589 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
28590 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
28591 unconditional.
28592 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
28593 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28594 #elif condition to just #else.
28595 * sysdeps/unix/sysv/linux/sys/sysmacros.h
28596 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
28597 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28598 #elif condition to just #else.
28599
0e8529e9
SE
286002013-01-11 Steve Ellcey <sellcey@mips.com>
28601
28602 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
28603 (EF_MIPS_ARCH_64): Fix value.
28604 (EF_MIPS_ARCH_32R2): New.
28605 (EF_MIPS_ARCH_64R2): New.
28606
740b3dbe
L
286072013-01-11 H.J. Lu <hongjiu.lu@intel.com>
28608
28609 * Makeconfig (+link-pie-before-libc): New.
28610 (+link-pie-after-libc): Likewise.
28611 (+link-pie-tests): Likewise.
28612 (+link-pie): Rewritten.
28613 (link-before-libc): Remove $(config-LDFLAGS).
28614 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
28615 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
28616 (config-LDFLAGS): Renamed to ...
28617 (rtld-LDFLAGS): This.
28618 (rtld-tests-LDFLAGS): New macro.
28619 (link-libc-rpath-link): Likewise.
28620 (link-libc-tests-rpath-link): Likewise.
28621 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
28622 (link-libc): Prepand $(link-libc-rpath-link).
28623 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
28624 (test-program-prefix): New macro.
28625 (test-via-rtld-prefix): Likewise.
28626 (test-program-cmd): Likewise.
28627 (host-test-program-cmd): Likewise.
28628 * Makefile ($(common-objpfx)testrun.sh): Replace
28629 $(run-program-prefix) with $(test-program-prefix).
28630 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
28631 $(rtld-LDFLAGS).
28632 ($(common-objpfx)shlib.lds): Likewise.
28633 (build-module-helper): Likewise.
28634 ($(common-objpfx)format.lds): Likewise.
28635 * Rules (binaries-pie-tests): New.
28636 (binaries-pie-notests): Likewise.
28637 (binaries-pie): Rewritten.
28638 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
28639 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
28640 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
28641 (make-test-out): Replace $(host-built-program-cmd) with
28642 $(host-test-program-cmd).
28643 * config.make.in (build-hardcoded-path-in-tests): New variable.
28644 * configure.in (--enable-hardcoded-path-in-tests): New configure
28645 option.
28646 (hardcoded_path_in_tests): New AC_SUBST.
28647 * configure: Regenerated.
28648 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
28649 $(built-program-cmd) with $(test-program-cmd).
28650 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
28651 (test_program_cmd): This.
28652 * elf/Makefile ($(objpfx)order.out): Run test with
28653 $(test-program-prefix).
28654 ($(objpfx)order2.out): Likewise.
28655 ($(objpfx)tst-initorder.out): Likewise.
28656 ($(objpfx)tst-initorder2.out): Likewise.
28657 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
28658 $(test-program-cmd).
28659 ($(objpfx)tst-array1-static.out): Likewise.
28660 ($(objpfx)tst-array2.out): Likewise.
28661 ($(objpfx)tst-array3.out): Likewise.
28662 ($(objpfx)tst-array4.out): Likewise.
28663 ($(objpfx)tst-array5.out): Likewise.
28664 ($(objpfx)tst-array5-static.out): Likewise.
28665 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
28666 $(test-program-cmd).
28667 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
28668 $(run-program-prefix) with $(test-program-prefix).
28669 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
28670 (test_program_prefix): This.
28671 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
28672 $(run-program-prefix) with $(test-program-prefix).
28673 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
28674 (test_program_prefix): This.
28675 * iconvdata/tst-tables.sh: Likewise.
28676 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
28677 $(run-program-prefix) with $(test-program-prefix).
28678 ($(objpfx)tst-translit.out): Likewise.
28679 ($(objpfx)tst-gettext2.out): Likewise.
28680 ($(objpfx)tst-gettext4.out): Likewise.
28681 ($(objpfx)tst-gettext6.out): Likewise.
28682 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
28683 (test_program_prefix): This.
28684 * intl/tst-gettext2.sh: Likewise.
28685 * intl/tst-gettext4.sh Likewise.
28686 * intl/tst-gettext6.sh: Likewise.
28687 * intl/tst-translit.sh: Likewise.
28688 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
28689 with $(test-program-cmd).
28690 * libio/Makefile ($(objpfx)test-freopen.out): Replace
28691 $(run-program-prefix) with $(test-program-prefix).
28692 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
28693 (test_program_prefix): This.
28694 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
28695 $(run-program-prefix) with $(test-program-prefix).
28696 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
28697 (test_program_prefix): This.
28698 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
28699 * posix/Makefile ($(objpfx)globtest.out): Replace
28700 $(run-via-rtld-prefix) and $(test-wrapper) with
28701 $(test-program-prefix) and $(test-via-rtld-prefix).
28702 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
28703 $(test-program-prefix).
28704 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
28705 $(host-test-program-cmd).
28706 (tst-spawn-ARGS): Likewise.
28707 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
28708 $(test-program-prefix).
28709 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
28710 (test_via_rtld_prefix): This.
28711 (test_wrapper): Renamed to ...
28712 (test_program_prefix): This.
28713 (run_program_prefix): Replaced by test_program_prefix.
28714 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
28715 (test_program_prefix): This.
28716 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
28717 with $(host-test-program-cmd).
28718 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
28719 $(run-program-prefix) with $(test-program-prefix).
28720 ($(objpfx)tst-printf.out): Likewise.
28721 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
28722 $(test-program-cmd).
28723 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
28724 (test_program_prefix): This.
28725 * stdio-common/tst-unbputc.sh: Likewise.
28726 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
28727 $(run-program-prefix) with $(test-program-prefix).
28728 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
28729 (test_program_prefix): This.
28730 * string/Makefile ($(objpfx)tst-svc.out): Replace
28731 $(built-program-cmd) with $(test-program-cmd).
28732
c6fe55cf
AJ
287332013-01-11 Andreas Jaeger <aj@suse.de>
28734
28735 [BZ #15003]
28736 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
28737 value. Sync with Linux 3.7.
28738
9e6919c8
DM
287392013-01-10 David S. Miller <davem@davemloft.net>
28740
28741 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
28742 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28743 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28744
1c9f1a02
RM
287452013-01-10 Roland McGrath <roland@hack.frob.com>
28746
28747 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
28748 never set.
28749 * configure: Regenerated.
28750
b9de2dde
DM
287512013-01-10 David S. Miller <davem@davemloft.net>
28752
28753 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28754 sparc V9 rather than using V8 code.
28755 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28756 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28757
e7f68ef4
RM
287582013-01-10 Roland McGrath <roland@hack.frob.com>
28759
28760 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
28761 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
28762 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
28763 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
28764 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
28765 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
28766 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
28767 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
28768 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
28769 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
28770 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
28771 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
28772 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
28773 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
28774 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
28775 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
28776 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
28777 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
28778 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
28779 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
28780 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
28781 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
28782 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
28783 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
28784 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
28785 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
28786 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
28787
5a47cc9c
DM
287882013-01-10 David S. Miller <davem@davemloft.net>
28789
28790 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28791
4cf8f209
L
287922013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28793
28794 * posix/Makefile (tests-static): New variable.
28795 (tests): Add $(tests-static).
28796 (tst-exec-static-ARGS): New variable.
28797 (tst-spawn-static-ARGS): Likewise.
28798 * posix/tst-exec-static.c: New file.
28799 * posix/tst-spawn-static.c: Likewise.
28800 * posix/tst-exec.c: Support run directly.
28801 * posix/tst-spawn.c: Likewise.
28802
fed0faa1
JM
288032013-01-10 Joseph Myers <joseph@codesourcery.com>
28804
828beb13
JM
28805 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
28806 long.
28807 * math/bits/mathcalls.h (llrint): Likewise.
28808 (llround): Likewise.
28809 * stdlib/stdlib.h (struct drand48_data): Likewise.
28810 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
28811 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
28812 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
28813 Likewise.
28814 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
28815 Likewise.
28816 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
28817 (elf_greg_t): Likewise.
28818 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
28819 (__jmp_buf): Likewise.
28820 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
28821 definitions.
28822 (llrint): Likewise, for all definitions.
28823 (llrintl): Likewise.
28824
fed0faa1
JM
28825 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
28826 Remove [__GNUC__] condition.
28827 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
28828 condition to just [__USE_ISOC99].
28829 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
28830
1a20cb20
L
288312013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28832
28833 [BZ #14200]
28834 * sysdeps/unix/sysv/linux/x86/bits/environments.h
28835 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
28836 defined.
28837 (_POSIX_V6_ILP32_OFF32): Likewise.
28838 (_XBS5_ILP32_OFF32): Likewise.
28839 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
28840 (__ILP32_OFFBIG_LDFLAGS): Likewise.
28841
751b85f7
SP
288422013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28843
7490eb81
SP
28844 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
28845
751b85f7
SP
28846 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
28847 doubles __mpexp_twomm1. Adjust usage.
28848 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
28849 Remove.
28850
988197f0
AS
288512013-01-10 Andreas Schwab <schwab@suse.de>
28852
28853 [BZ #14964]
28854 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
28855 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
28856
e83d7298
DM
288572013-01-09 David S. Miller <davem@davemloft.net>
28858
034ed64b 28859 [BZ #15003]
57f41c40
AS
28860 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
28861 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
28862 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
28863 (TCP_FASTOPEN): Define.
e83d7298
DM
28864 (tcp_repair_opt): New structure.
28865 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
28866 enum values.
57f41c40
AS
28867 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
28868 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
28869 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
28870 (tcp_cookie_transactions): New structure.
28871
d5e0b9bd
AB
288722013-01-09 Anton Blanchard <anton@samba.org>
28873
28874 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
28875 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
28876 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
28877 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28878
0c07e3ea
JM
288792013-01-09 Joseph Myers <joseph@codesourcery.com>
28880
28881 * include/features.h (__USE_ANSI): Remove.
28882
232f7002
RM
288832013-01-09 Roland McGrath <roland@hack.frob.com>
28884
ad98e30c
RM
28885 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
28886
232f7002
RM
28887 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
28888
950c99ca
SP
288892013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
28890
b5792741
SP
28891 * sysdeps/s390/fpu/libm-test-ulps: Update.
28892
47cf2278
SP
28893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28894
950c99ca
SP
28895 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
28896 (__acr): Likewise.
28897 (__cpy): Likewise.
28898 (norm): Likewise.
28899 (denorm): Likewise.
28900 (__mp_dbl): Likewise.
28901 (__dbl_mp): Likewise.
28902 (add_magnitudes): Likewise.
28903 (sub_magnitudes): Likewise.
28904 (__add): Likewise.
28905 (__sub): Likewise.
28906 (__mul): Likewise.
28907 (__inv): Likewise.
28908 (__dvd): Likewise.
28909 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
28910 (__acr): Likewise.
28911 (__cpy): Likewise.
28912 (norm): Likewise.
28913 (denorm): Likewise.
28914 (__mp_dbl): Likewise.
28915 (__dbl_mp): Likewise.
28916 (add_magnitudes): Likewise.
28917 (sub_magnitudes): Likewise.
28918 (__add): Likewise.
28919 (__sub): Likewise.
28920 (__mul): Likewise.
28921 (__inv): Likewise.
28922 (__dvd): Likewise.
28923 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
28924 (__acr): Likewise.
28925 (__cpy): Likewise.
28926 (norm): Likewise.
28927 (denorm): Likewise.
28928 (__mp_dbl): Likewise.
28929 (__dbl_mp): Likewise.
28930 (add_magnitudes): Likewise.
28931 (sub_magnitudes): Likewise.
28932 (__add): Likewise.
28933 (__sub): Likewise.
28934 (__mul): Likewise.
28935 (__inv): Likewise.
28936 (__dvd): Likewise.
28937
eede9df9
JM
289382013-01-08 Joseph Myers <joseph@codesourcery.com>
28939
28940 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28941 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28942 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28943 2 && __USE_EXTERN_INLINES]: Likewise.
28944
c40ea3d9
AJ
289452013-01-08 Andreas Jaeger <aj@suse.de>
28946
28947 [BZ# 14985]
28948 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28949 Remove.
28950 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28951 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28952
2ccdea26
AB
289532013-01-07 Anton Blanchard <anton@samba.org>
28954
28955 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28956 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28957 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28958 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28959 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28960 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28961 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28962 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28963 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28964 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28965 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28966 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28967 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28968 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28969 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28970 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28971 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28972 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28973 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28974 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28975 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28976 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28977 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28978 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28979 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28980 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28981 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28982 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28983 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28984 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28985 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28986 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28987 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28988 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28989 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28990 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28991 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28992 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28993 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28994 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28995 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28996 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28997 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28998
a9708fed
JM
289992013-01-07 Joseph Myers <joseph@codesourcery.com>
29000
375607b9
JM
29001 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
29002 (__MALLOC_PMT): Likewise.
29003 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
29004 [__GNUC__], only on [_LIBC].
29005 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
29006 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
29007 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
29008 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
29009 forward declaration.
29010 (realloc_hook_ini): Likewise.
29011 (memalign_hook_ini): Likewise.
29012 (__libc_memalign): Do not use __MALLOC_PMT in variable
29013 declaration.
29014 (__libc_valloc): Likewise.
29015 (__libc_pvalloc): Likewise.
29016 (__libc_calloc): Likewise.
29017 (__posix_memalign): Likewise.
29018
a9708fed
JM
29019 [BZ #14996]
29020 * math/s_casinh.c: Include <float.h>.
29021 (__casinh): Do not do computation with squaring and square root
29022 for large arguments.
29023 * math/s_casinhf.c: Include <float.h>.
29024 (__casinhf): Do not do computation with squaring and square root
29025 for large arguments.
29026 * math/s_casinhl.c: Include <float.h>.
29027 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
29028 (__casinhl): Do not do computation with squaring and square root
29029 for large arguments.
29030 * math/libm-test.inc (casin_test): Add more tests.
29031 (casinh_test): Likewise.
29032 * sysdeps/i386/fpu/libm-test-ulps: Update.
29033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29034
afec409a
L
290352013-01-04 H.J. Lu <hongjiu.lu@intel.com>
29036
29037 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
29038 (__x86_64_raw_data_cache_size): Likewise.
29039 (__x86_64_data_cache_size_half): Likewise.
29040 (__x86_64_raw_data_cache_size_half): Likewise.
29041 (__x86_64_shared_cache_size): Likewise.
29042 (__x86_64_raw_shared_cache_size): Likewise.
29043 (__x86_64_shared_cache_size_half): Likewise.
29044 (__x86_64_raw_shared_cache_size_half): Likewise.
29045 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
29046 to ...
29047 (__x86_data_cache_size): This.
29048 (__x86_64_raw_data_cache_size): Renamed to ...
29049 (__x86_raw_data_cache_size): This.
29050 (__x86_64_data_cache_size_half): Renamed to ...
29051 (__x86_data_cache_size_half): This.
29052 (__x86_64_raw_data_cache_size_half): Renamed to ...
29053 (__x86_raw_data_cache_size_half): This.
29054 (__x86_64_shared_cache_size): Renamed to ...
29055 (__x86_shared_cache_size): This.
29056 (__x86_64_raw_shared_cache_size): Renamed to ...
29057 (__x86_raw_shared_cache_size): This.
29058 (__x86_64_shared_cache_size_half): Renamed to ...
29059 (__x86_shared_cache_size_half): This.
29060 (__x86_64_raw_shared_cache_size_half): Renamed to ...
29061 (__x86_raw_shared_cache_size_half): This.
29062 * sysdeps/x86_64/memcpy.S: Updated.
29063 * sysdeps/x86_64/memset.S: Likewise.
29064 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29065 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29066 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29067
0b3986d0
DM
290682013-01-04 David S. Miller <davem@davemloft.net>
29069
29070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29071
e47686e9
AS
290722013-01-04 Andreas Schwab <schwab@linux-m68k.org>
29073
d643bac1
AS
29074 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
29075 1 to avoid redefinition warning.
29076 (__USE_GNU): Don't define.
29077 (init_signaling_nan): Protoize.
29078
e47686e9
AS
29079 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29080
b18decba
SP
290812013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29082
fffb407f
SP
29083 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
29084 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
29085 (__cpymn): Likewise.
29086 (norm): Remove commented code.
29087 (denorm): Likewise.
29088 (__mp_dbl): Likewise.
29089 (__inv): Likewise.
29090 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
29091 (__cpymn): Likewise.
29092 (norm): Remove commented code.
29093 (denorm): Likewise.
29094 (__mp_dbl): Likewise.
29095 (__inv): Likewise.
29096
b18decba
SP
29097 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
29098 mp_no value for 1.0 and 2.0.
29099 (norm): Use RADIXI instead of radixi.d.
29100 (denorm): Likewise.
29101 (__mul): Use 0.0 instead of zero.d.
29102 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
29103 mp_no value for 1.0 and 2.0.
29104 (norm): Use RADIXI instead of radixi.d.
29105 (denorm): Likewise.
29106 (__mul): Use 0.0 instead of zero.d.
29107
cdc1c96f
JM
291082013-01-04 Joseph Myers <joseph@codesourcery.com>
29109
29110 [BZ #14994]
29111 * math/s_casinh.c (__casinh): Reduce finite argument to first
29112 quadrant then set signs of results at the end.
29113 * math/s_casinhf.c (__casinhf): Likewise.
29114 * math/s_casinhl.c (__casinhl): Likewise.
29115 * math/libm-test.inc (casin_test): Add more tests.
29116 (casinh_test): Likewise.
29117 * sysdeps/i386/fpu/libm-test-ulps: Update.
29118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29119
302913e1
SP
291202013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29121
6420d207
SP
29122 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
29123
a9e48ab4
SP
29124 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
29125
b7837264
SP
29126 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
29127 declarations.
29128 (denorm): Likewise.
29129 (__mp_dbl): Likewise.
29130 (__inv): Likewise.
29131
f8af25d2
SP
29132 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
29133 and adjust the header comment.
29134
302913e1
SP
29135 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
29136 variable name from declaration.
29137
5d7dd1ca
L
291382013-01-03 H.J. Lu <hongjiu.lu@intel.com>
29139
29140 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29141 Initialize COMMON_CPUID_INDEX_7 element.
29142 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
29143 (CPUID_RTM): Likewise.
29144 (HAS_RTM): Likewise.
29145 (COMMON_CPUID_INDEX_7): New enum.
29146
2f5f40f4
AS
291472013-01-03 Andreas Schwab <schwab@linux-m68k.org>
29148
29149 [BZ #14981]
29150 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
29151 size is zero, record memory as freed.
29152
4056f4a0
AJ
291532013-01-03 Andreas Jaeger <aj@suse.de>
29154
29155 * po/ia.po: Add new Interlingua translation.
29156
ab15736f 291572012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
29158
29159 * locale/programs/localedef.c: Fix description of '--posix' flag.
29160
568035b7
JM
291612013-01-02 Joseph Myers <joseph@codesourcery.com>
29162
e6898b8d
JM
29163 * NEWS: Update dates in second copyright notice.
29164 * README: Update copyright dates in example.
29165 * manual/libc.texinfo: Update copyright dates.
29166 * scripts/test-installation.pl: Update copyright date in --version
29167 output.
29168
0e2f9562
JM
29169 * hurd/ctty-input.c: Fix copyright notice formatting.
29170 * hurd/ctty-output.c: Likewise.
29171 * hurd/dtable.c: Likewise.
29172 * hurd/hurd-raise.c: Likewise.
29173 * hurd/hurdprio.c: Likewise.
29174 * hurd/msgportdemux.c: Likewise.
29175 * misc/sys/file.h: Likewise.
29176 * misc/sys/ioctl.h: Likewise.
29177 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29178 * sysdeps/mach/hurd/chdir.c: Likewise.
29179 * sysdeps/mach/hurd/fchdir.c: Likewise.
29180 * sysdeps/mach/hurd/rename.c: Likewise.
29181 * sysdeps/mach/hurd/rmdir.c: Likewise.
29182 * sysdeps/mach/hurd/seekdir.c: Likewise.
29183 * sysdeps/mach/hurd/setsid.c: Likewise.
29184 * sysdeps/posix/wait3.c: Likewise.
29185
568035b7
JM
29186 * All files with FSF copyright notices: Update copyright dates
29187 using scripts/update-copyrights.
29188 * intl/plural.c: Regenerated.
29189 * locale/programs/charmap-kw.h: Likewise.
29190 * locale/programs/locfile-kw.h: Likewise.
29191
da08f647
SP
291922013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29193
0f5477af
SP
29194 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
29195 four values.
29196
44e0d4c2
SP
29197 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
29198 calculation loop and add branch prediction.
29199
4d55b4e5
SP
29200 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
29201 check access beyond bounds of m1np.
29202
da08f647
SP
29203 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29204 MPTWO.
29205 (__inv): Remove local variable MPTWO to use the global
29206 constant.
29207 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
29208 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29209 variable MPTWO.
29210 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
29211 MP3HALFS static const.
29212
8e051029
DM
292132013-01-01 David S. Miller <davem@davemloft.net>
29214
29215 * po/ca.po: Update from translation team.
29216
f4cf5f2d
JM
292172013-01-01 Joseph Myers <joseph@codesourcery.com>
29218
29219 * scripts/update-copyrights: New file.
29220 * Makeconfig: Reformat copyright notice.
29221 * ctype/ctype.h: Likewise.
29222 * debug/swprintf_chk.c: Likewise.
29223 * elf/dl-cache.c: Likewise.
29224 * elf/dl-debug.c: Likewise.
29225 * elf/dl-object.c: Likewise.
29226 * grp/initgroups.c: Likewise.
29227 * hurd/Makefile: Likewise.
29228 * hurd/hurd/signal.h: Likewise.
29229 * hurd/hurdfault.c: Likewise.
29230 * hurd/hurdioctl.c: Likewise.
29231 * hurd/hurdlookup.c: Likewise.
29232 * hurd/intr-msg.c: Likewise.
29233 * iconv/gconv_open.c: Likewise.
29234 * libio/swprintf.c: Likewise.
29235 * locale/lc-ctype.c: Likewise.
29236 * locale/nl_langinfo.c: Likewise.
29237 * mach/Machrules: Likewise.
29238 * mach/Makefile: Likewise.
29239 * malloc/obstack.h: Likewise.
29240 * manual/Makefile: Likewise.
29241 * manual/tsort.awk: Likewise.
29242 * misc/bits/stab.def: Likewise.
29243 * nis/nis_print_group_entry.c: Likewise.
29244 * nis/nis_table.c: Likewise.
29245 * nis/nss_compat/compat-pwd.c: Likewise.
29246 * nis/nss_compat/compat-spwd.c: Likewise.
29247 * po/Makefile: Likewise.
29248 * posix/fnmatch.c: Likewise.
29249 * posix/regex.h: Likewise.
29250 * resolv/Makefile: Likewise.
29251 * resolv/nss_dns/dns-network.c: Likewise.
29252 * resolv/res_hconf.c: Likewise.
29253 * scripts/gen-sorted.awk: Likewise.
29254 * soft-fp/soft-fp.h: Likewise.
29255 * stdio-common/printf.h: Likewise.
29256 * stdlib/monetary.h: Likewise.
29257 * stdlib/random.c: Likewise.
29258 * stdlib/random_r.c: Likewise.
29259 * sysdeps/generic/Makefile: Likewise.
29260 * sysdeps/gnu/Makefile: Likewise.
29261 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29262 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29263 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29264 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29265 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29266 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29267 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29268 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29269 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29270 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29271 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29272 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29273 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29274 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29275 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
29276 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29277 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29278 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29279 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29280 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29281 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29282 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29283 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29284 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29285 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
29286 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29287 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29288 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
29289 * sysdeps/mach/hurd/errnos.awk: Likewise.
29290 * sysdeps/mach/hurd/fork.c: Likewise.
29291 * sysdeps/mach/hurd/getcwd.c: Likewise.
29292 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
29293 * sysdeps/mach/hurd/mmap.c: Likewise.
29294 * sysdeps/mach/hurd/utimes.c: Likewise.
29295 * sysdeps/mach/hurd/xmknod.c: Likewise.
29296 * sysdeps/posix/profil.c: Likewise.
29297 * sysdeps/posix/readdir_r.c: Likewise.
29298 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29299 * sysdeps/powerpc/bits/setjmp.h: Likewise.
29300 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
29301 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29302 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29303 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29304 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29305 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29306 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29307 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29308 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29309 * sysdeps/pthread/lio_listio.c: Likewise.
29310 * sysdeps/sparc/dl-procinfo.h: Likewise.
29311 * sysdeps/unix/i386/sysdep.S: Likewise.
29312 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
29313 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
29314 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
29315 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
29316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29317 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
29318 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
29319 * sysdeps/unix/sysv/linux/speed.c: Likewise.
29320 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29321 * sysdeps/wordsize-32/divdi3.c: Likewise.
29322 * time/sys/time.h: Likewise.
29323 * wcsmbs/Makefile: Likewise.
29324
0549fbba
DM
293252013-01-01 David S. Miller <davem@davemloft.net>
29326
a141f1a7
DM
29327 * po/fr.po: Update from translation team.
29328
0549fbba
DM
29329 * catgets/gencat.c: Update copyright year.
29330 * csu/version.c: Likewise.
29331 * debug/catchsegv.sh: Likewise.
29332 * debug/pcprofiledump.c: Likewise.
29333 * debug/xtrace.sh: Likewise.
29334 * elf/ldconfig.c: Likewise.
29335 * elf/ldd.bash.in: Likewise.
29336 * elf/pldd.c: Likewise.
29337 * elf/sotruss.ksh: Likewise.
29338 * elf/sprof.c: Likewise.
29339 * iconv/iconv_prog.c: Likewise.
29340 * iconv/iconvconfig.c: Likewise.
29341 * locale/programs/locale.c: Likewise.
29342 * locale/programs/localedef.c: Likewise.
29343 * login/programs/pt_chown.c: Likewise.
29344 * malloc/memusage.sh: Likewise.
29345 * malloc/memusagestat.c: Likewise.
29346 * malloc/mtrace.pl: Likewise.
29347 * nscd/nscd.c: Likewise.
29348 * nss/getent.c: Likewise.
29349 * nss/makedb.c: Likewise.
29350 * posix/getconf.c: Likewise.
29351
18ea052c
SP
293522012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
29353
29354 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
29355 numbers.
29356
9c89fca6
MF
293572012-12-30 Mike Frysinger <vapier@gentoo.org>
29358
29359 * math/bits/mathcalls.h (modf): Use __nonnull.
29360
085ec079
SP
293612012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29362
29363 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
29364 (split): Use macro CN instead of the bare value.
29365 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
29366 could be used.
29367 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
29368 instead of the bare value.
29369 (power1): Likewise.
29370
6d9f97e1
SP
293712012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29372
d63f73be
SP
29373 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
29374 __ATAN_TWOM.
29375 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29376
6d9f97e1
SP
29377 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
29378 their values.
29379 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29380 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29381 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
29382 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29383
4c4febf5
AJ
293842012-12-28 Andreas Jaeger <aj@suse.de>
29385
af5843ef
AJ
29386 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
29387 values are from Linux 3.7.
29388
4c4febf5
AJ
29389 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
29390 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
29391
99136f82
SP
293922012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29393
2f216c3c 29394 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
29395 TRUE case.
29396
99136f82
SP
29397 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
29398 (norm): Likewise.
29399 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
29400 variables with preprocessor constants.
29401 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29402 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29403 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29404
7fffbdff
BH
294052012-12-27 Bruno Haible <bruno@clisp.org>
29406
29407 [BZ #14317]
29408 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
29409 only if needed.
29410
b76eb5f0
SP
294112012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29412
31a7fe5c
SP
29413 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
29414 and use variable directly.
29415 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
29416
b76eb5f0
SP
29417 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29418 MPONE.
29419 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
29420 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29421 variable MPONE.
29422 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29423 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29424 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
29425 include directive. Remove local variable MPONE.
29426 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
29427 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
29428 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29429
2c8bfe7d
DM
294302012-12-25 David S. Miller <davem@davemloft.net>
29431
29432 * version.h (RELEASE): Set to "development".
29433 (VERSION): Set to "2.17.90".
29434 * NEWS: Add 2.18 section.
29435
147d03b0
DM
294362012-12-21 David S. Miller <davem@davemloft.net>
29437
29438 * po/hr.po: Update from translation team.
29439
a8ebb2b9
AK
294402012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29441
29442 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
29443
95b4f1b6
SE
294442012-12-19 Steve Ellcey <sellcey@mips.com>
29445
b2d94007 29446 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 29447
cedb2a90
MS
294482012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29449
29450 * manual/contrib.texi (Contributors): Spelling correction.
29451
bbf527d6
DM
294522012-12-15 David S. Miller <davem@davemloft.net>
29453
29454 * po/ru.po: Update from translation team.
29455
bc38c906
DM
294562012-12-13 David S. Miller <davem@davemloft.net>
29457
85429b1a
DM
29458 * NEWS: Mention IFUNC testsuite enhancements.
29459
d283e353
DM
29460 * po/pl.po: Update from translation team.
29461 * po/bg.po: Likewise.
29462
bc38c906
DM
29463 * manual/contrib.texi (Contributors): Update entries for Hongjiu
29464 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
29465
a181b0d7
DM
294662012-12-11 David S. Miller <davem@davemloft.net>
29467
4641d57e
DM
29468 * po/sv.po: Update from translation team.
29469
f7bc6495
DM
29470 * po/vi.po: Update from translation team.
29471
6fc9048f
DM
29472 * po/cs.po: Update from translation team.
29473
a181b0d7
DM
29474 * po/de.po: Update from translation team.
29475 * po/eo.po: Likewise.
29476 * po/nl.po: Likewise.
29477
f70bfe80
SP
294782012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29479
3c8b4190
SP
29480 [BZ #14246]
29481 * manual/argp.texi (Argp Helper Functions): Move node to follow
29482 Argp Parsing State.
29483
f70bfe80
SP
29484 [BZ #14872]
29485 * manual/conf.texi (Limits on File System Capacity): Mention if
29486 terminating null is included in the max size.
29487
188f0adf
AJ
294882012-12-10 Andreas Jaeger <aj@suse.de>
29489
29490 * po/cs.po: Update from translation team.
29491
56e7d3ad
SP
294922012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29493
29494 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
29495 void pointer and cast to uintptr_t.
29496 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
29497 path.
29498 * sysdeps/s390/s390-64/memcpy.S: Likewise.
29499 * sysdeps/s390/s390-64/memset.S: Likewise.
29500
76f2d2ea 295012012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
29502
29503 [BZ #14833]
29504 * menual/message.texi (Message Translation): Fix typos.
29505 (Helper programs for gettext): Likewise.
29506
67cbf9a2
AS
295072012-12-07 Andreas Schwab <schwab@linux-m68k.org>
29508
29509 [BZ #14898]
29510 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
29511 Change to -1.
29512
682d0e9a
DM
295132012-12-07 David S. Miller <davem@davemloft.net>
29514
29515 * po/libc.pot: Update.
29516
573cd484
RH
295172012-12-07 Richard Henderson <rth@redhat.com>
29518
7e9da188 29519 [BZ #10114]
573cd484
RH
29520 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
29521 normal/normal case to before the switch.
29522 (_FP_DIV): Likewise.
29523
e933a943
MF
295242012-12-06 Carlos O'Donell <carlos@systemhalted.org>
29525 Mike Frysinger <vapier@gentoo.org>
29526
29527 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
29528 check for __NR_fadvise64_64.
29529
82123268
CM
295302012-12-06 Chris Metcalf <cmetcalf@tilera.com>
29531
29532 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
29533 0, not just to plain "0" as a statement.
29534 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
29535 with cw.
29536
d9814526
JM
295372012-12-06 Joseph Myers <joseph@codesourcery.com>
29538
29539 * NEWS: Use sourceware.org in Bugzilla URL.
29540
7728c574
SP
295412012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29542
f16946dd
SP
29543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29544 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29545
5704bbcb
SP
29546 * stdio-common/tst-put-error.c (do_test): Add newline to the
29547 padded test to ensure flush.
29548
17aa0516
JL
295492012-12-05 Jeff Law <law@redhat.com>
29550
29551 * sunrpc/etc.rpc (fedfs_admin): Add entry.
29552
363313b5
JM
295532012-12-05 Joseph Myers <joseph@codesourcery.com>
29554
effbd42a
JM
29555 * README: Don't refer to ports add-on as distributed separately.
29556 Mention AArch64 in list of systems supported in the ports add-on.
29557
87600365
JM
29558 * LICENSES: Add more non-FSF copyright and license notices.
29559
a0d7066a
JM
29560 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
29561 ((unused)).
29562
66ca5a5b
JM
29563 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
29564
363313b5
JM
29565 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
29566 10000 as width of padded output.
29567
b37984ad
JM
295682012-12-04 Joseph Myers <joseph@codesourcery.com>
29569
9003570a
JM
29570 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
29571
b37984ad
JM
29572 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
29573 variable LX with __attribute__ ((unused)).
29574 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29575 Likewise.
29576 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29577 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29578 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
29579 with __attribute__ ((unused)).
29580
c8df52ec
DM
295812012-12-04 David S. Miller <davem@abraco.davemloft.net>
29582
29583 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
29584
b3b099af
JM
295852012-12-04 Joseph Myers <joseph@codesourcery.com>
29586
c33aa6e3
JM
29587 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
29588 (CFLAGS-nldbl-acos.c): New variable.
29589 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
29590 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
29591 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
29592 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
29593 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
29594 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
29595 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
29596 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
29597 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
29598 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
29599 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
29600 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
29601 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
29602 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
29603 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
29604 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
29605 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
29606 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
29607 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
29608 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
29609 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
29610 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
29611 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
29612 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
29613 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
29614 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
29615 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
29616 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
29617 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
29618 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
29619 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
29620 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
29621 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
29622 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
29623 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
29624 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
29625 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
29626 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
29627 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
29628 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
29629 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
29630 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
29631 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
29632 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
29633 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
29634 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
29635 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
29636 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
29637 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
29638 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
29639 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
29640 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
29641 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
29642 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
29643 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
29644 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
29645 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
29646 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
29647 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
29648 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
29649 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
29650 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
29651 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
29652 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
29653 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
29654 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
29655 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
29656 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
29657 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
29658 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
29659 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
29660 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
29661 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
29662 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
29663 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
29664 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
29665 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
29666 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
29667 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
29668 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
29669 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
29670 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
29671 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
29672 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
29673 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
29674 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
29675 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
29676 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
29677 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
29678 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
29679 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
29680 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
29681 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
29682 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
29683 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
29684 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
29685 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
29686
20f0018d
JM
29687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29688 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29689
b3b099af
JM
29690 [BZ #14914]
29691 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
29692 whole low double instead of just low 47 bits when splitting values
29693 into two parts.
29694
029264d1
AM
296952012-12-03 Allan McRae <allan@archlinux.org>
29696
29697 * manual/stdio.texi (Predefined Printf Handlers): Remove
29698 @hsep and @vsep usage.
29699
c9d6789e
MF
297002012-12-03 Mike Frysinger <vapier@gentoo.org>
29701
29702 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
29703 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
29704
4b7634a5
JL
297052012-12-03 Jeff Law <law@redhat.com>
29706
29707 * time/sys/time.h (settimeofday): Do not mark TV argument
29708 as __nonnull.
29709
eb6cbd24
MF
297102012-12-01 Mike Frysinger <vapier@gentoo.org>
29711
29712 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
29713 when currently writing and seek to current position when not.
29714 * libio/Makefile (tests): Remove bug-fclose1.
29715 * libio/bug-fclose1.c: Delete.
29716
f638872a
JM
297172012-12-01 Joseph Myers <joseph@codesourcery.com>
29718
29719 * manual/arith.texi (feenableexcept): Fix typo.
29720 (fedisableexcept): Likewise.
29721
48085d14
RM
297222012-11-30 Roland McGrath <roland@hack.frob.com>
29723
29724 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
29725 second, differently-typed declaration, rather than a cast.
29726
1a538b9f
SP
297272012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29728
29729 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
29730 * include/rpc/svc.h: ... here.
29731
d07f2ff1 297322012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
29733
29734 [BZ #13013]
29735 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
29736 depending n and resplen2 to catch cases where answer
29737 equals answerp2.
29738
c93ec1f0
CD
297392012-11-29 Carlos O'Donell <carlos@systemhalted.org>
29740
29741 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
29742 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
29743
37db69de
MF
297442012-11-29 Mike Frysinger <vapier@gentoo.org>
29745
29746 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
29747
e10c4e4f
RM
297482012-11-29 Roland McGrath <roland@hack.frob.com>
29749
29750 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
29751
2af1b328
JL
297522012-11-28 Jeff Law <law@redhat.com>
29753
29754 [BZ #13761]
29755 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
29756 dataset_temporary. Track alloca usage into alloca_used.
29757 If dataset is large allocate and release it via malloc/free.
29758
111db5b1
FW
297592012-06-04 Florian Weimer <fweimer@redhat.com>
29760
f06cc227 29761 [BZ #14197]
111db5b1
FW
29762 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
29763
dd694abd
DM
297642012-11-28 David S. Miller <davem@davemloft.net>
29765
29766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29767
9984dd01
JM
297682012-11-28 Joseph Myers <joseph@codesourcery.com>
29769
29770 [BZ #14803]
29771 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
29772 of pi/2 rounded to nearest to 64 bits.
29773 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
29774 nearest to 64 bits.
29775 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
29776 bits.
29777
14bc93a9
JL
297782012-11-28 Jeff Law <law@redhat.com>
29779 Martin Osvald <mosvald@redhat.com>
29780
29781 [BZ #14889]
29782 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
29783 * sunrpc/svc.c: Include time.h.
29784 (__svc_accept_failed): New function.
29785 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
29786 any reason other than EINTR, call __svc_accept_failed.
29787 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
29788 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
29789
e3c6aa3a
AS
297902012-11-28 Andreas Schwab <schwab@suse.de>
29791
29792 * scripts/abilist.awk: Also handle indirect functions in .opd
29793 section.
29794
1bead169
JM
297952012-11-28 Joseph Myers <joseph@codesourcery.com>
29796
29797 [BZ #13881]
29798 * sysdeps/x86/fpu/powl_helper.c: New file.
29799 * sysdeps/x86/fpu/Makefile: Likewise.
29800 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
29801 (p3): New object.
29802 (__ieee754_powl): Use __powl_helper for finite arguments except
29803 integer exponents below 8.
29804 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
29805 (p3): New object.
29806 (__ieee754_powl): Use __powl_helper for finite arguments except
29807 integer exponents below 8.
29808 * math/libm-test.inc (pow_test): Add more tests and enable some
29809 previously disabled tests.
29810 * sysdeps/i386/fpu/libm-test-ulps: Update.
29811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29812
0817d63d
SP
298132012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29814 Carlos O'Donell <carlos_odonell@mentor.com>
29815
29816 * nss/makedb.c (is_prime): Assert that input is odd and greater
29817 than 4. Note that fact in a comment too.
29818 (next_prime): Add 4 to input.
29819
de2fd463
SP
298202012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29821
29822 [BZ #11741]
29823 * libio/Makefile (tests): Add test case tst-fwrite-error.
29824 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
29825 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
29826 * libio/tst-fwrite-error.c: New test case.
29827
c515fb51
L
298282012-11-26 H.J. Lu <hongjiu.lu@intel.com>
29829
29830 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
29831 before casting to void *.
29832 * include/libc-internal.h (__pointer_type): New macro.
29833 (__integer_if_pointer_type_sub): Likewise.
29834 (__integer_if_pointer_type): Likewise.
29835 (cast_to_integer): Likewise.
29836 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
29837 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
29838 before casting to atomic64_t.
29839 (atomic_exchange_acq): Likewise.
29840 (__arch_exchange_and_add_body): Likewise.
29841 (__arch_add_body): Likewise.
29842 (atomic_add_negative): Likewise.
29843 (atomic_add_zero): Likewise.
29844
4cf77aa9
JM
298452012-11-26 Joseph Myers <joseph@codesourcery.com>
29846
29847 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
29848 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
29849 (add_fdes): Likewise.
29850 (linear_search_fdes): Likewise.
29851 (binary_search_unencoded_fdes): Likewise.
29852
d260b3b4
AS
298532012-11-26 Andreas Schwab <schwab@linux-m68k.org>
29854
29855 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
29856
67060746
AC
298572012-11-24 Adam Conrad <adconrad@0c3.net>
29858
29859 * configure.in: Autodetect C++ header directories.
29860 * configure: Regenerated.
29861
800938a1
MF
298622012-11-23 Mike Frysinger <vapier@gentoo.org>
29863
29864 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
29865
4e6e34e6
AS
298662012-11-23 Andreas Schwab <schwab@linux-m68k.org>
29867
29868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29869
7c7feb47
JM
298702012-11-22 Joseph Myers <joseph@codesourcery.com>
29871
7184dcdf
JM
29872 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
29873 LDBL_MANT_DIG == 106]: Disable some tests.
29874 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29875 Likewise.
29876 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29877 Likewise.
29878
0a42601f
JM
29879 [BZ #14871]
29880 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
29881 input for small inputs. Return +/- pi/2 for large inputs.
29882 * math/libm-test.inc (atan_test): Add more tests.
29883
79c9b9fe
JM
29884 * sysdeps/generic/unwind-dw2-fde-glibc.c
29885 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
29886 __attribute__ ((unused)).
29887
c60d3bf2
JM
29888 [BZ #14645]
29889 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
29890 x * y if x and y are nonzero and z is zero.
29891
ef1e0867
JM
29892 [BZ #14811]
29893 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
29894 nonzero exponents with absolute value below 0x1p-117 to +/-
29895 0x1p-117.
29896
1468ded3
JM
29897 [BZ #14869]
29898 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
29899 up arguments below 2**-450, not just those below 2**-500.
29900 * math/libm-test.inc (hypot_test): Add another test.
29901
8e27e3cc
JM
29902 [BZ #14868]
29903 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29904 Return a+b for ratio over 2**120, not 2**60.
29905 * math/libm-test.inc (hypot_test): Add another test.
29906
c9c0279b
JM
29907 * math/libm-test.inc (clog_test): Use
29908 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29909 (clog10_test): Likewise.
29910
7c7feb47
JM
29911 [BZ #6778]
29912 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29913
fff1530e
AS
299142012-11-22 Andreas Schwab <schwab@suse.de>
29915
29916 * sysdeps/i386/fpu/libm-test-ulps: Update.
29917
94558d30
PT
299182012-11-22 Pino Toscano <toscano.pino@tiscali.it>
29919
29920 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29921 printf output with newline.
29922
7e1be741
L
299232012-11-21 H.J. Lu <hongjiu.lu@intel.com>
29924
6bfea974
L
29925 [BZ #14865]
29926 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29927 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29928 -z nodlopen, -z initfirst and -z execstack support.
29929 * configure: Regenerated.
29930
7e1be741
L
29931 * elf/elf.h (DF_1_NODIRECT): New macro.
29932 (DF_1_IGNMULDEF): Likewise.
29933 (DF_1_NOKSYMS): Likewise.
29934 (DF_1_NOHDR): Likewise.
29935 (DF_1_EDITED): Likewise.
29936 (DF_1_NORELOC): Likewise.
29937 (DF_1_SYMINTPOSE): Likewise.
29938 (DF_1_GLOBAUDIT): Likewise.
29939 (DF_1_SINGLETON): Likewise.
29940 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29941 DT_1_SUPPORTED_MASK bits.
29942 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29943
105ce2ce
CD
299442012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
29945
29946 * sysdeps/unix/make-syscalls.sh: Document prefixes.
29947
123be9de
TS
299482012-11-20 Thomas Schwinge <thomas@codesourcery.com>
29949
d072f3f7
TS
29950 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29951 macro.
29952
123be9de
TS
29953 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29954 (sendmmsg): Move declarations...
29955 * socket/sys/socket.h: ... here.
29956 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29957 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29958 include it from...
29959 * socket/recvmmsg.c: ... this new file.
29960 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29961 (sendmmsg): Rename to __sendmmsg, create weak alias and make
29962 definition of __sendmmsg hidden.
29963 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29964 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29965 Move ENOSYS stub into and include it from...
29966 * socket/sendmmsg.c: ... this new file.
29967 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29968 (sysdep_routines): Move recvmmsg and sendmmsg...
29969 * socket/Makefile (routines): ... here.
29970 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29971 (GLIBC_PRIVATE): Add __sendmmsg.
29972 * include/sys/socket.h (__sendmmsg): Add declarations.
29973 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29974 sendmmsg.
29975
cf9a5d18
JM
299762012-11-20 Joseph Myers <joseph@codesourcery.com>
29977
29978 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29979 variable I1 with __attribute__ ((unused)).
29980 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29981
ecd4caf9
JM
299822012-11-19 Joseph Myers <joseph@codesourcery.com>
29983
be14d48f
JM
29984 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29985 DUMMY variables with __attribute__ ((unused)).
29986
ecd4caf9
JM
29987 * bits/byteswap.h: Include <bits/types.h>.
29988 (__bswap_64): Use __uint64_t instead of unsigned long long int.
29989
986cab95
PT
299902012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29991
29992 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29993 string_t. Do not manually set errno.
29994 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29995 length with __strnlen. Make sure to both set errno and return it on
29996 failure.
29997
6d33cc9d
DM
299982012-11-19 David S. Miller <davem@davemloft.net>
29999
30000 With help from Joseph Myers.
30001 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
30002 very large arguments properly.
30003 * math/libm-test.inc (atan_test): New tests.
30004 (atan2_test): New tests.
30005 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30006 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30007
ee663277
JM
300082012-11-19 Joseph Myers <joseph@codesourcery.com>
30009
877f2d8e
JM
30010 [BZ #14856]
30011 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
30012 Define to 3.
30013
116fc08a
JM
30014 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
30015 [POSIX] (EADDRNOTAVAIL): Likewise.
30016 [POSIX] (EAFNOSUPPORT): Likewise.
30017 [POSIX] (EALREADY): Likewise.
30018 [POSIX] (ECONNABORTED): Likewise.
30019 [POSIX] (ECONNREFUSED): Likewise.
30020 [POSIX] (ECONNRESET): Likewise.
30021 [POSIX] (EDESTADDRREQ): Likewise.
30022 [POSIX] (EDQUOT): Likewise.
30023 [POSIX] (EHOSTUNREACH): Likewise.
30024 [POSIX] (EIDRM): Likewise.
30025 [POSIX] (EISCONN): Likewise.
30026 [POSIX] (ELOOP): Likewise.
30027 [POSIX] (EMULTIHOP): Likewise.
30028 [POSIX] (ENETDOWN): Likewise.
30029 [POSIX] (ENETUNREACH): Likewise.
30030 [POSIX] (ENOBUFS): Likewise.
30031 [POSIX] (ENODATA): Likewise.
30032 [POSIX] (ENOLINK): Likewise.
30033 [POSIX] (ENOMSG): Likewise.
30034 [POSIX] (ENOPROTOOPT): Likewise.
30035 [POSIX] (ENOSR): Likewise.
30036 [POSIX] (ENOSTR): Likewise.
30037 [POSIX] (ENOTCONN): Likewise.
30038 [POSIX] (ENOTSOCK): Likewise.
30039 [POSIX] (EOPNOTSUPP): Likewise.
30040 [POSIX] (EOVERFLOW): Likewise.
30041 [POSIX] (EPROTO): Likewise.
30042 [POSIX] (EPROTONOSUPPORT): Likewise.
30043 [POSIX] (EPROTOTYPE): Likewise.
30044 [POSIX] (ESTALE): Likewise.
30045 [POSIX] (ETIME): Likewise.
30046 [POSIX] (ETXTBSY): Likewise.
30047 [POSIX] (EWOULDBLOCK): Likewise.
30048 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
30049 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
30050 [POSIX] (SEEK_CUR): Likewise.
30051 [POSIX] (SEEK_END): Likewise.
30052 [POSIX || UNIX98] (mode_t): Do not require.
30053 [POSIX] (off_t): Likewise.
30054 [POSIX] (pid_t): Likewise.
30055 [POSIX] (sys/stat.h): Do not allow header.
30056 [POSIX] (unistd.h): Likewise.
30057 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
30058 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
30059 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
30060 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
30061 require.
30062 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
30063 sigevent): Specify elements.
30064 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
30065 entry.
30066 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
30067 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
30068
a483863f
JM
30069 * conform/data/cpio.h-data [POSIX]: Disable whole file.
30070 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
30071 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
30072 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
30073 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
30074 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
30075 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
30076 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
30077 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
30078 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
30079 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
30080 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
30081 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
30082 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
30083 Likewise.
30084 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
30085 Likewise.
30086 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
30087 Likewise.
30088 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
30089 Likewise.
30090 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
30091 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
30092 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
30093 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
30094 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
30095 Specify lower bound on value.
30096 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
30097 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
30098 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
30099 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
30100 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
30101 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
30102 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
30103 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
30104 value.
30105 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
30106 as optional.
30107 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
30108 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
30109 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
30110 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
30111 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
30112 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
30113 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
30114 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
30115 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
30116 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
30117 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
30118 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
30119 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
30120 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
30121 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
30122 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
30123 entry.
30124 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
30125 optional.
30126 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
30127 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
30128 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
30129 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
30130 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
30131 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
30132 Likewise.
30133 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
30134 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
30135 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
30136 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
30137 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
30138 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
30139 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
30140 as optional.
30141 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
30142 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
30143 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
30144 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
30145 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
30146 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
30147 specify as optional.
30148 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
30149 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
30150 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
30151 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
30152 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
30153 [XPG3] (NL_LANGMAX): Likewise.
30154 [POSIX || XPG3] (NL_MSGMAX): Likewise.
30155 [POSIX || XPG3] (NL_NMAX): Likewise.
30156 [POSIX || XPG3] (NL_SETMAX): Likewise.
30157 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
30158 [XPG3] (NZERO): Likewise.
30159 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
30160 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
30161 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
30162 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
30163 (REG_ERANGE): Expect.
30164 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
30165 optional-constant.
30166 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
30167 Use (void) in prototype.
30168 [POSIX] (*_t): Allow.
30169 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
30170 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
30171 (WRDE_BADVAL): Expect.
30172
5ba924e3
JM
30173 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
30174 expect.
30175 [XPG3 || XPG4] (O_RSYNC): Likewise.
30176 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
30177 Likewise.
30178 [XPG3 || XPG4] (pthread_sigmask): Likewise.
30179 [XPG3 || XPG4] (sigqueue): Likewise.
30180 [XPG3 || XPG4] (sigtimedwait): Likewise.
30181 [XPG3 || XPG4] (sigwaitinfo): Likewise.
30182 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
30183 [XPG3 || XPG4] (vsnprintf): Likewise.
30184 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
30185 Likewise.
30186 [XPG3 || XPG4] (blksize_t): Likewise.
30187 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
30188 Likewise.
30189 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
30190 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
30191 [XPG3 || XPG4] (struct itimerspec): Likewise.
30192 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
30193 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
30194 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
30195 [XPG3 || XPG4] (clockid_t): Likewise.
30196 [XPG3 || XPG4] (timer_t): Likewise.
30197 [XPG3 || XPG4] (clock_getres): Likewise.
30198 [XPG3 || XPG4] (clock_gettime): Likewise.
30199 [XPG3 || XPG4] (clock_settime): Likewise.
30200 [XPG3 || XPG4] (nanosleep): Likewise.
30201 [XPG3 || XPG4] (timer_create): Likewise.
30202 [XPG3 || XPG4] (timer_delete): Likewise.
30203 [XPG3 || XPG4] (timer_gettime): Likewise.
30204 [XPG3 || XPG4] (timer_getoverrun): Likewise.
30205 [XPG3 || XPG4] (timer_settime): Likewise.
30206 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
30207 [XPG3 || XPG4] (getlogin_r): Likewise.
30208 [XPG3 || XPG4] (pread): Likewise.
30209 [XPG3 || XPG4] (pthread_atfork): Likewise.
30210 [XPG3 || XPG4] (pwrite): Likewise.
30211
ee663277
JM
30212 [BZ #14835]
30213 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
30214 <bits/siginfo.h>.
30215
942caa16
PT
302162012-11-19 Pino Toscano <toscano.pino@tiscali.it>
30217
e19af380
PT
30218 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
30219 finalizing MALLSTREAM.
30220
942caa16
PT
30221 * sysdeps/mach/hurd/syncfs.c: New file.
30222
cfde9b46
SP
302232012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30224
30225 [BZ #14719]
30226 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
30227 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
30228 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
30229 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
30230 (_nss_dns_gethostbyname4_r): Likewise.
30231 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
30232 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
30233
f6da27e5
PH
302342012-11-19 Peng Haitao <penght@cn.fujitsu.com>
30235
30236 [BZ #13763]
30237 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
30238
6665d4a2
SM
302392012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
30240
1f51ee92
SM
30241 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
30242 * elf/cache.c (print_entry): Print ",AArch64" for
30243 FLAG_AARCH64_LIB64
30244
6665d4a2
SM
30245 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
30246 * elf/cache.c (print_entry): Print ",hard-float" for
30247 FLAG_ARM_LIBHF.
30248
05b227bd
DM
302492012-11-18 David S. Miller <davem@davemloft.net>
30250
30251 With help from Joseph Myers.
30252 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
30253 cutoff to 2**-13.
30254 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
30255 cutoff to 2**-25.
30256 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
30257 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
30258 small.
30259 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
30260 * math/libm-test.inc (y0_test): New tests.
30261 (y1_test): New tests.
30262 * sysdeps/i386/fpu/libm-test-ulps: Update.
30263 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30265
786b0b67
AS
302662012-11-18 Andreas Schwab <schwab@linux-m68k.org>
30267
30268 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
30269 64-bit targets.
30270 * configure: Regenerated.
30271
8e18b86d
DM
302722012-11-17 David S. Miller <davem@davemloft.net>
30273
30274 [BZ #14811]
30275 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
30276 nonzero exponents with absolute value below 0x1p-128 to +/-
30277 0x1p-128.
30278
531f1ae0
JM
302792012-11-17 Joseph Myers <joseph@codesourcery.com>
30280
12df29e2
JM
30281 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
30282
150dc1a0
JM
30283 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
30284
531f1ae0
JM
30285 * posix/getconf-speclist.c: New file.
30286 * posix/posix-envs.def: Likewise.
30287 * posix/confstr.c (START_ENV_GROUP): New macro.
30288 (END_ENV_GROUP): Likewise.
30289 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30290 (KNOWN_PRESENT_ENV_STRING): Likewise.
30291 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30292 (UNKNOWN_ENVIRONMENT): Likewise.
30293 (confstr): Include posix-envs.def instead of handling
30294 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
30295 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
30296 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
30297 (END_ENV_GROUP): Likewise.
30298 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30299 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30300 (UNKNOWN_ENVIRONMENT): Likewise.
30301 (__sysconf): Include posix-envs.def instead of handling associated
30302 cases directly here.
30303 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
30304 preprocessing getconf-speclist.c rather than running getconf or
30305 generating empty file.
30306
a93f9cbc
PT
303072012-11-16 Pino Toscano <toscano.pino@tiscali.it>
30308
30309 * scripts/check-local-headers.sh: Ignore 'mach' headers.
30310
d64d9f87
AL
303112012-11-16 Andrej Lajovic <natrij@gmail.com>
30312
30313 [BZ #14672]
30314 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
30315
447885eb
DM
303162012-11-16 David S. Miller <davem@davemloft.net>
30317
30318 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
30319 smaller than LDBL_EPSILON/2.0L, just return xm1.
30320
bcbf9830
L
303212012-11-16 H.J. Lu <hongjiu.lu@intel.com>
30322
30323 * elf/tst-array1.c (init): Set constructor priority to 1000.
30324 (fini): Set destructor priority to 1000.
30325 * elf/tst-array2dep.c: Likewise.
30326
2b766585
SP
303272012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30328
30329 [BZ #11741]
30330 * libio/fileops.c (_IO_new_file_write): Correctly return error.
30331 (_IO_new_file_xsputn): Also return EOF if none of the input
30332 data was written when overflow failed.
30333 * libio/iopadn.c (_IO_padn): Likewise.
30334 * libio/iowpadn.c (_IO_wpadn): Likewise.
30335 * stdio-common/tst-put-error.c: Add copyright notice.
30336 (do_test): Add case for printing padded string.
30337 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
30338 _IO_padn returned error.
30339 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
30340 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
30341 return EOF.
30342
b1848fde
SP
303432012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30344
30345 * libio/libioP.h: Add comment note that the references to C++
30346 bits are now obsolete.
30347
2fd89785
MS
303482012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30349
30350 * math/libm-test.inc (check_complex): Use asprintf.
30351
e3ea5409
JM
303522012-11-14 Joseph Myers <joseph@codesourcery.com>
30353
30354 * debug/pcprofiledump.c (print_version): Update copyright year.
30355 * malloc/memusagestat.c (print_version): Likewise.
30356
2e64d265
L
303572012-11-14 H.J. Lu <hongjiu.lu@intel.com>
30358
30359 [BZ #14831]
30360 * elf/Makefile (tests): Add tst-audit8.
30361 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
30362 ($(objpfx)tst-audit8.out): New target.
30363 (tst-audit8-ENV): New variable.
30364 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
30365 audit if l_reloc_result is NULL.
30366 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
30367 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
30368 * elf/tst-audit8.c: New file.
30369
c485e4d2
MS
303702012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30371
30372 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
30373 * misc/Makefile (CFLAGS-select.c): Define.
30374 * posix/Makefile (CFLAGS-pause.c): Define.
30375
3a0d900a
DM
303762012-11-13 David S. Miller <davem@davemloft.net>
30377
30378 * crypt/Makefile: Move test targets after toplevel Rules
30379 inclusion. Grab any necessary sysdep routines when linking.
30380 * crypt/md5.c (md5_process_block): Remove define, we will always
30381 name it __md5_process_block.
30382 (md5_finish_ctx): Update md5_process_block call.
30383 (md5_stream): Likewise.
30384 (md5_process_bytes): Likewise.
30385 (md5_process_block): Rename to __md5_process_block and move to ...
30386 * crypt/md5-block.c: ... here.
30387 * crypt/sha256.c (sha256_process_block): Move to ...
30388 * crypt/sha256-block.c: ... here.
30389 * crypt/sha512.c (sha512_process_block): Move to ...
30390 * crypt/sha512-block.c: ... here.
30391 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
30392 path.
30393 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
30394 * sysdeps/sparc/sparc64/multiarch/Makefile
30395 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
30396 crypt subdir.
30397 (localedef-aux): Add md5 crypto assembler when in locale subdir.
30398 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
30399 multiarch changes.
30400 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
30401 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
30402 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
30403 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
30404 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
30405 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
30406 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
30407 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
30408 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
30409 file.
30410 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
30411 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
30412 file.
30413 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
30414
8ca89318
JM
304152012-11-13 Joseph Myers <joseph@codesourcery.com>
30416
e27d476a
JM
30417 * timezone/tzselect.ksh: Update from tzcode git revision
30418 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
30419 * timezone/zdump.c: Likewise.
30420 * timezone/zic.c: Likewise.
30421 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
30422 in TZVERSION setting, not $(PKGVERSION).
30423 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
30424 REPORT_BUGS_TO settings.
30425
8ca89318
JM
30426 [BZ #14838]
30427 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
30428 macro.
30429
47594329
MS
304302012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30431
30432 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
30433 detection to immediately after _FP_ROUND().
30434 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
30435 bits are 0.
30436
640ac3f1
DM
304372012-11-11 David S. Miller <davem@davemloft.net>
30438
30439 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
30440 inttypes.h
30441 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
30442 __close rather than their public counterparts.
30443
3d2577bb
JM
304442012-11-10 Joseph Myers <joseph@codesourcery.com>
30445
30446 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
30447 file.
30448 [UNIX98] (sem_timedwait): Do not expect.
30449 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
30450 [XPG4 || UNIX98] (sockatmark): Do not expect.
30451 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
30452 (clock_getcpuclockid): Do not expect.
30453 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
30454 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
30455 Do not expect.
30456 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
30457 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
30458 [UNIX98] (vwscanf): Likewise.
30459 [UNIX98] (vswscanf): Likewise.
30460
fb1ae1ee
JM
304612012-11-09 Joseph Myers <joseph@codesourcery.com>
30462
9ec6f8bd
JM
30463 * timezone/version.h: Remove file.
30464 * timezone/README: Do not refer to version.h.
30465 * timezone/Makefile ($(objpfx)zic.o): New dependency on
30466 $(objpfx)version.h.
30467 ($(objpfx)zdump.o): Likewise.
c3f81911 30468 ($(objpfx)version.h): New target.
9ec6f8bd 30469
0aa8f8a1
JM
30470 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
30471 2012i.
30472 * timezone/README: Don't mention modification to tzselect.ksh.
30473 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
30474 work on unmodified tzselect.ksh. Substitute version numbers in
30475 tzselect.ksh.
30476
4e87147f
JM
30477 * Makefile (format-me): Remove.
30478 (INSTALL): Adjust indentation. Use commands directly instead of
30479 using $(format-me).
30480
8b748aed
JM
30481 * aclocal.m4 (ACX_PKGVERSION): New macro.
30482 (ACX_BUGURL): Likewise.
30483 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
30484 (PKGVERSION): New AC_DEFINE_UNQUOTED.
30485 (REPORT_BUGS_TO): Likewise.
30486 * configure: Regenerated.
30487 * config.h.in (PKGVERSION): New macro.
30488 (REPORT_BUGS_TO): Likewise.
30489 * config.make.in (PKGVERSION): New variable.
30490 (PKGVERSION_TEXI): Likewise.
30491 (REPORT_BUGS_TO): Likewise.
30492 (REPORT_BUGS_TEXI): Likewise.
30493 * Makefile (format-me): Use -I$(common-objpfx)manual.
30494 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
30495 ($(common-objpfx)manual/%): New target.
30496 (manual/%): Remove target.
30497 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
30498 (print_version): Use PKGVERSION.
30499 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
30500 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
30501 and REPORT_BUGS_TO.
30502 ($(objpfx)xtrace): Likewise.
30503 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
30504 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
30505 (print_version): Use PKGVERSION.
30506 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
30507 (do_version): Use PKGVERSION.
30508 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
30509 REPORT_BUGS_TO.
30510 (common-ldd-rewrite): Likewise.
30511 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
30512 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
30513 (print_version): Use PKGVERSION.
30514 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
30515 * elf/pldd.c (argp_program_bug_address): Remove variable.
30516 (more_help): New function.
30517 (argp): Use more_help.
30518 (print_version): Use PKGVERSION.
30519 * elf/sln.c (main): Use PKGVERSION.
30520 (usage): Use REPORT_BUGS_TO.
30521 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
30522 (top level): Use PKGVERSION.
30523 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
30524 (print_version): Use PKGVERSION.
30525 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
30526 (print_version): Use PKGVERSION.
30527 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
30528 (print_version): Use PKGVERSION.
30529 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
30530 (print_version): Use PKGVERSION.
30531 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
30532 (print_version): Use PKGVERSION.
30533 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
30534 (print_version): Use PKGVERSION.
30535 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
30536 and BUGURL.
30537 ($(objpfx)memusage): Likewise.
30538 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
30539 (do_version): Use PKGVERSION.
30540 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
30541 (print_version): Use PKGVERSION.
30542 * malloc/mtrace.pl ($PACKAGE): Remove variable.
30543 ($PKGVERSION): New variable.
30544 ($REPORT_BUGS_TO): Likewise.
30545 (usage): Use $REPORT_BUGS_TO.
30546 (top level): Use $PKGVERSION.
30547 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
30548 ($(objpfx)pkgvers.texi): New rule.
30549 ($(objpfx)stamp-pkgvers): Likewise.
30550 * manual/install.texi: Include pkgvers.texi.
30551 (--with-pkgversion): Document new configure option.
30552 (--with-bugurl): Likewise.
30553 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
30554 than necessarily for this particular distribution. Use
30555 REPORT_BUGS_TO for where to report bugs.
30556 * INSTALL: Regenerated.
30557 * manual/libc.texinfo: Include pkgvers.texi.
30558 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
30559 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
30560 (print_version): Use PKGVERSION.
30561 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
30562 (print_version): Use PKGVERSION.
30563 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
30564 (print_version): Use PKGVERSION.
30565 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
30566 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
30567 macro.
30568 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
30569 (print_version): Use PKGVERSION.
30570 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
30571 (print_version): Use PKGVERSION.
30572 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
30573 and PKGVERSION.
30574
92e4b6a9
JM
30575 * timezone/checktab.awk: Update from tzcode 2012i.
30576 * timezone/ialloc.c: Likewise.
30577 * timezone/private.h: Likewise.
30578 * timezone/scheck.c: Likewise.
30579 * timezone/tzfile.h: Likewise.
30580 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
30581 (TZVERSION): Hardcode tzcode version number.
30582 * timezone/zdump.c: Update from tzcode 2012i.
30583 * timezone/zic.c: Likewise.
30584 * timezone/version.h: New file.
30585 * timezone/README: Describe version.h. Update upstream location.
30586
9bde902c
JM
30587 [BZ #14824]
30588 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
30589 (mktemp): Enable declaration.
30590 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
30591 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
30592 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
30593 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
30594 Likewise.
30595 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
30596 Likewise.
30597 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
30598 Likewise.
30599 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
30600 Likewise.
30601 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
30602 Likewise.
30603 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
30604 Likewise.
30605
fb1ae1ee
JM
30606 [BZ #14821]
30607 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
30608 offset in buffer as u_int32_t not u_long. Consistently use memcpy
30609 for copies of such integer values.
30610 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30611 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30612
2c1adbcb
AJ
306132012-11-09 Andreas Jaeger <aj@suse.de>
30614
30615 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
30616 definitions and declarations that are provided by
30617 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30618
d0f8457e
AK
306192012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30620
3a235abb 30621 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
30622 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
30623 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
30624 definition.
30625
57241e26
MS
306262012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30627
30628 * elf/elf.h: Update comment before AArch64 relocations.
30629
60e8270d
DM
306302012-11-07 David S. Miller <davem@davemloft.net>
30631
30632 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
30633 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30634 (__start_context): Declare.
30635 (__makecontext_ret): Delete.
30636 (__makecontext): Hook up __start_context instead of
30637 __makecontext_ret.
30638 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
30639 (sysdep_routines): Add __start_context when in stdlib.
30640
0fbb0fbc
JM
306412012-11-07 Joseph Myers <joseph@codesourcery.com>
30642
30643 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
30644 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
30645 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
30646 hardcoded "nm".
30647 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
30648 (READELF): New variable. Use it instead of hardcoded "readelf".
30649
eb48db7e
L
306502012-11-07 H.J. Lu <hongjiu.lu@intel.com>
30651
30652 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
30653 * sysdeps/x86/Makefile: Here.
30654 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
30655 * sysdeps/x86/tst-xmmymm.sh: This.
30656
05bcf62a
JM
306572012-11-07 Joseph Myers <joseph@codesourcery.com>
30658
c4b6cf53
JM
30659 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
30660 expectations.
30661 [UNIX98] (pthread_barrier_t): Do not expect.
30662 [UNIX98] (pthread_barrierattr_t): Likewise.
30663 [UNIX98] (pthread_spinlock_t): Likewise.
30664 [UNIX98] (pthread_barrier_destroy): Likewise.
30665 [UNIX98] (pthread_barrier_init): Likewise.
30666 [UNIX98] (pthread_barrier_wait): Likewise.
30667 [UNIX98] (pthread_barrierattr_destroy): Likewise.
30668 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
30669 [UNIX98] (pthread_barrierattr_init): Likewise.
30670 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
30671 [UNIX98] (pthread_getcpuclockid): Likewise.
30672 [UNIX98] (pthread_mutex_timedlock): Likewise.
30673 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
30674 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
30675 [UNIX98] (pthread_sigmask): Likewise.
30676 [UNIX98] (pthread_spin_destroy): Likewise.
30677 [UNIX98] (pthread_spin_init): Likewise.
30678 [UNIX98] (pthread_spin_lock): Likewise.
30679 [UNIX98] (pthread_spin_trylock): Likewise.
30680 [UNIX98] (pthread_spin_unlock): Likewise.
30681 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
30682 Do not expect.
30683 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
30684 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
30685 [XPG3 || XPG4] (pthread_cond_t): Likewise.
30686 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
30687 [XPG3 || XPG4] (pthread_key_t): Likewise.
30688 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
30689 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
30690 [XPG3 || XPG4] (pthread_once_t): Likewise.
30691 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
30692 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
30693 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
30694 [XPG3 || XPG4] (pthread_t): Likewise.
30695
cbe6e120
JM
30696 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
30697 not expect.
30698 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
30699
1b126443
JM
30700 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
30701 Change function return type to int.
30702
b961a573
JM
30703 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
30704 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
30705 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
30706 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
30707 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
30708 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
30709 [!POSIX] (posix_madvise): Likewise.
30710 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
30711 && !UNIX98].
30712 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
30713 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
30714 (mode_t): Likewise.
30715 (posix_mem_offset): Likewise.
30716 (posix_typed_mem_get_info): Likewise.
30717 (posix_typed_mem_open): Likewise.
30718
9e188909
JM
30719 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
30720 Change condition to [XOPEN2K8].
30721
05bcf62a
JM
30722 * conform/conformtest.pl: Preprocess allow-header data with -x c
30723 instead of from stdin.
30724 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
30725 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
30726 [C99-based standards] (cerfc): Likewise.
30727 [C99-based standards] (cexp2): Likewise.
30728 [C99-based standards] (cexpm1): Likewise.
30729 [C99-based standards] (clog10): Likewise.
30730 [C99-based standards] (clog1p): Likewise.
30731 [C99-based standards] (clog2): Likewise.
30732 [C99-based standards] (clgamma): Likewise.
30733 [C99-based standards] (ctgamma): Likewise.
30734 [C99-based standards] (cerff): Likewise.
30735 [C99-based standards] (cerfcf): Likewise.
30736 [C99-based standards] (cexp2f): Likewise.
30737 [C99-based standards] (cexpm1f): Likewise.
30738 [C99-based standards] (clog10f): Likewise.
30739 [C99-based standards] (clog1pf): Likewise.
30740 [C99-based standards] (clog2f): Likewise.
30741 [C99-based standards] (clgammaf): Likewise.
30742 [C99-based standards] (ctgammaf): Likewise.
30743 [C99-based standards] (cerfl): Likewise.
30744 [C99-based standards] (cerfcl): Likewise.
30745 [C99-based standards] (cexp2l): Likewise.
30746 [C99-based standards] (cexpm1l): Likewise.
30747 [C99-based standards] (clog10l): Likewise.
30748 [C99-based standards] (clog1pl): Likewise.
30749 [C99-based standards] (clog2l): Likewise.
30750 [C99-based standards] (clgammal): Likewise.
30751 [C99-based standards] (ctgammal): Likewise.
30752 * conform/data/inttypes.h-data [C99-based standards]: Include
30753 stdint.h-data. Remove all expectations for stdint.h contents.
30754 [C99-based standards] (PRI*): Do not allow.
30755 [C99-based standards] (SCN*): Likewise.
30756 [C99-based standards] (*_t): Likewise.
30757 [C99-based-standards] (PRId8): Expect macro.
30758 [C99-based-standards] (PRIi8): Likewise.
30759 [C99-based-standards] (PRIo8): Likewise.
30760 [C99-based-standards] (PRIu8): Likewise.
30761 [C99-based-standards] (PRIx8): Likewise.
30762 [C99-based-standards] (PRIX8): Likewise.
30763 [C99-based-standards] (SCNd8): Likewise.
30764 [C99-based-standards] (SCNi8): Likewise.
30765 [C99-based-standards] (SCNo8): Likewise.
30766 [C99-based-standards] (SCNu8): Likewise.
30767 [C99-based-standards] (SCNx8): Likewise.
30768 [C99-based-standards] (PRIdLEAST8): Likewise.
30769 [C99-based-standards] (PRIiLEAST8): Likewise.
30770 [C99-based-standards] (PRIoLEAST8): Likewise.
30771 [C99-based-standards] (PRIuLEAST8): Likewise.
30772 [C99-based-standards] (PRIxLEAST8): Likewise.
30773 [C99-based-standards] (PRIXLEAST8): Likewise.
30774 [C99-based-standards] (SCNdLEAST8): Likewise.
30775 [C99-based-standards] (SCNiLEAST8): Likewise.
30776 [C99-based-standards] (SCNoLEAST8): Likewise.
30777 [C99-based-standards] (SCNuLEAST8): Likewise.
30778 [C99-based-standards] (SCNxLEAST8): Likewise.
30779 [C99-based-standards] (PRIdFAST8): Likewise.
30780 [C99-based-standards] (PRIiFAST8): Likewise.
30781 [C99-based-standards] (PRIoFAST8): Likewise.
30782 [C99-based-standards] (PRIuFAST8): Likewise.
30783 [C99-based-standards] (PRIxFAST8): Likewise.
30784 [C99-based-standards] (PRIXFAST8): Likewise.
30785 [C99-based-standards] (SCNdFAST8): Likewise.
30786 [C99-based-standards] (SCNiFAST8): Likewise.
30787 [C99-based-standards] (SCNoFAST8): Likewise.
30788 [C99-based-standards] (SCNuFAST8): Likewise.
30789 [C99-based-standards] (SCNxFAST8): Likewise.
30790 [C99-based-standards] (PRId16): Likewise.
30791 [C99-based-standards] (PRIi16): Likewise.
30792 [C99-based-standards] (PRIo16): Likewise.
30793 [C99-based-standards] (PRIu16): Likewise.
30794 [C99-based-standards] (PRIx16): Likewise.
30795 [C99-based-standards] (PRIX16): Likewise.
30796 [C99-based-standards] (SCNd16): Likewise.
30797 [C99-based-standards] (SCNi16): Likewise.
30798 [C99-based-standards] (SCNo16): Likewise.
30799 [C99-based-standards] (SCNu16): Likewise.
30800 [C99-based-standards] (SCNx16): Likewise.
30801 [C99-based-standards] (PRIdLEAST16): Likewise.
30802 [C99-based-standards] (PRIiLEAST16): Likewise.
30803 [C99-based-standards] (PRIoLEAST16): Likewise.
30804 [C99-based-standards] (PRIuLEAST16): Likewise.
30805 [C99-based-standards] (PRIxLEAST16): Likewise.
30806 [C99-based-standards] (PRIXLEAST16): Likewise.
30807 [C99-based-standards] (SCNdLEAST16): Likewise.
30808 [C99-based-standards] (SCNiLEAST16): Likewise.
30809 [C99-based-standards] (SCNoLEAST16): Likewise.
30810 [C99-based-standards] (SCNuLEAST16): Likewise.
30811 [C99-based-standards] (SCNxLEAST16): Likewise.
30812 [C99-based-standards] (PRIdFAST16): Likewise.
30813 [C99-based-standards] (PRIiFAST16): Likewise.
30814 [C99-based-standards] (PRIoFAST16): Likewise.
30815 [C99-based-standards] (PRIuFAST16): Likewise.
30816 [C99-based-standards] (PRIxFAST16): Likewise.
30817 [C99-based-standards] (PRIXFAST16): Likewise.
30818 [C99-based-standards] (SCNdFAST16): Likewise.
30819 [C99-based-standards] (SCNiFAST16): Likewise.
30820 [C99-based-standards] (SCNoFAST16): Likewise.
30821 [C99-based-standards] (SCNuFAST16): Likewise.
30822 [C99-based-standards] (SCNxFAST16): Likewise.
30823 [C99-based-standards] (PRId32): Likewise.
30824 [C99-based-standards] (PRIi32): Likewise.
30825 [C99-based-standards] (PRIo32): Likewise.
30826 [C99-based-standards] (PRIu32): Likewise.
30827 [C99-based-standards] (PRIx32): Likewise.
30828 [C99-based-standards] (PRIX32): Likewise.
30829 [C99-based-standards] (SCNd32): Likewise.
30830 [C99-based-standards] (SCNi32): Likewise.
30831 [C99-based-standards] (SCNo32): Likewise.
30832 [C99-based-standards] (SCNu32): Likewise.
30833 [C99-based-standards] (SCNx32): Likewise.
30834 [C99-based-standards] (PRIdLEAST32): Likewise.
30835 [C99-based-standards] (PRIiLEAST32): Likewise.
30836 [C99-based-standards] (PRIoLEAST32): Likewise.
30837 [C99-based-standards] (PRIuLEAST32): Likewise.
30838 [C99-based-standards] (PRIxLEAST32): Likewise.
30839 [C99-based-standards] (PRIXLEAST32): Likewise.
30840 [C99-based-standards] (SCNdLEAST32): Likewise.
30841 [C99-based-standards] (SCNiLEAST32): Likewise.
30842 [C99-based-standards] (SCNoLEAST32): Likewise.
30843 [C99-based-standards] (SCNuLEAST32): Likewise.
30844 [C99-based-standards] (SCNxLEAST32): Likewise.
30845 [C99-based-standards] (PRIdFAST32): Likewise.
30846 [C99-based-standards] (PRIiFAST32): Likewise.
30847 [C99-based-standards] (PRIoFAST32): Likewise.
30848 [C99-based-standards] (PRIuFAST32): Likewise.
30849 [C99-based-standards] (PRIxFAST32): Likewise.
30850 [C99-based-standards] (PRIXFAST32): Likewise.
30851 [C99-based-standards] (SCNdFAST32): Likewise.
30852 [C99-based-standards] (SCNiFAST32): Likewise.
30853 [C99-based-standards] (SCNoFAST32): Likewise.
30854 [C99-based-standards] (SCNuFAST32): Likewise.
30855 [C99-based-standards] (SCNxFAST32): Likewise.
30856 [C99-based-standards] (PRId64): Likewise.
30857 [C99-based-standards] (PRIi64): Likewise.
30858 [C99-based-standards] (PRIo64): Likewise.
30859 [C99-based-standards] (PRIu64): Likewise.
30860 [C99-based-standards] (PRIx64): Likewise.
30861 [C99-based-standards] (PRIX64): Likewise.
30862 [C99-based-standards] (SCNd64): Likewise.
30863 [C99-based-standards] (SCNi64): Likewise.
30864 [C99-based-standards] (SCNo64): Likewise.
30865 [C99-based-standards] (SCNu64): Likewise.
30866 [C99-based-standards] (SCNx64): Likewise.
30867 [C99-based-standards] (PRIdLEAST64): Likewise.
30868 [C99-based-standards] (PRIiLEAST64): Likewise.
30869 [C99-based-standards] (PRIoLEAST64): Likewise.
30870 [C99-based-standards] (PRIuLEAST64): Likewise.
30871 [C99-based-standards] (PRIxLEAST64): Likewise.
30872 [C99-based-standards] (PRIXLEAST64): Likewise.
30873 [C99-based-standards] (SCNdLEAST64): Likewise.
30874 [C99-based-standards] (SCNiLEAST64): Likewise.
30875 [C99-based-standards] (SCNoLEAST64): Likewise.
30876 [C99-based-standards] (SCNuLEAST64): Likewise.
30877 [C99-based-standards] (SCNxLEAST64): Likewise.
30878 [C99-based-standards] (PRIdFAST64): Likewise.
30879 [C99-based-standards] (PRIiFAST64): Likewise.
30880 [C99-based-standards] (PRIoFAST64): Likewise.
30881 [C99-based-standards] (PRIuFAST64): Likewise.
30882 [C99-based-standards] (PRIxFAST64): Likewise.
30883 [C99-based-standards] (PRIXFAST64): Likewise.
30884 [C99-based-standards] (SCNdFAST64): Likewise.
30885 [C99-based-standards] (SCNiFAST64): Likewise.
30886 [C99-based-standards] (SCNoFAST64): Likewise.
30887 [C99-based-standards] (SCNuFAST64): Likewise.
30888 [C99-based-standards] (SCNxFAST64): Likewise.
30889 [C99-based-standards] (PRIdMAX): Likewise.
30890 [C99-based-standards] (PRIiMAX): Likewise.
30891 [C99-based-standards] (PRIoMAX): Likewise.
30892 [C99-based-standards] (PRIuMAX): Likewise.
30893 [C99-based-standards] (PRIxMAX): Likewise.
30894 [C99-based-standards] (PRIXMAX): Likewise.
30895 [C99-based-standards] (SCNdMAX): Likewise.
30896 [C99-based-standards] (SCNiMAX): Likewise.
30897 [C99-based-standards] (SCNoMAX): Likewise.
30898 [C99-based-standards] (SCNuMAX): Likewise.
30899 [C99-based-standards] (SCNxMAX): Likewise.
30900 [C99-based-standards] (PRIdPTR): Likewise.
30901 [C99-based-standards] (PRIiPTR): Likewise.
30902 [C99-based-standards] (PRIoPTR): Likewise.
30903 [C99-based-standards] (PRIuPTR): Likewise.
30904 [C99-based-standards] (PRIxPTR): Likewise.
30905 [C99-based-standards] (PRIXPTR): Likewise.
30906 [C99-based-standards] (SCNdPTR): Likewise.
30907 [C99-based-standards] (SCNiPTR): Likewise.
30908 [C99-based-standards] (SCNoPTR): Likewise.
30909 [C99-based-standards] (SCNuPTR): Likewise.
30910 [C99-based-standards] (SCNxPTR): Likewise.
30911 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30912 allow.
30913 * conform/data/stdint.h-data: Update comments to clarify
30914 requirements.
30915 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
30916 type.
30917 [C99-based standards] (INT8_MAX): Likewise.
30918 [C99-based standards] (INT16_MIN): Likewise.
30919 [C99-based standards] (INT16_MAX): Likewise.
30920 [C99-based standards] (INT32_MIN): Likewise.
30921 [C99-based standards] (INT32_MAX): Likewise.
30922 [C99-based standards] (INT64_MIN): Likewise.
30923 [C99-based standards] (INT64_MAX): Likewise.
30924 [C99-based standards] (UINT8_MAX): Likewise.
30925 [C99-based standards] (UINT16_MAX): Likewise.
30926 [C99-based standards] (UINT32_MAX): Likewise.
30927 [C99-based standards] (UINT64_MAX): Likewise.
30928 [C99-based standards] (INT_LEAST8_MIN): Likewise.
30929 [C99-based standards] (INT_LEAST8_MAX): Likewise.
30930 [C99-based standards] (INT_LEAST16_MIN): Likewise.
30931 [C99-based standards] (INT_LEAST16_MAX): Likewise.
30932 [C99-based standards] (INT_LEAST32_MIN): Likewise.
30933 [C99-based standards] (INT_LEAST32_MAX): Likewise.
30934 [C99-based standards] (INT_LEAST64_MIN): Likewise.
30935 [C99-based standards] (INT_LEAST64_MAX): Likewise.
30936 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30937 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30938 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30939 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30940 [C99-based standards] (INT_FAST8_MIN): Likewise.
30941 [C99-based standards] (INT_FAST8_MAX): Likewise.
30942 [C99-based standards] (INT_FAST16_MIN): Likewise.
30943 [C99-based standards] (INT_FAST16_MAX): Likewise.
30944 [C99-based standards] (INT_FAST32_MIN): Likewise.
30945 [C99-based standards] (INT_FAST32_MAX): Likewise.
30946 [C99-based standards] (INT_FAST64_MIN): Likewise.
30947 [C99-based standards] (INT_FAST64_MAX): Likewise.
30948 [C99-based standards] (UINT_FAST8_MAX): Likewise.
30949 [C99-based standards] (UINT_FAST16_MAX): Likewise.
30950 [C99-based standards] (UINT_FAST32_MAX): Likewise.
30951 [C99-based standards] (UINT_FAST64_MAX): Likewise.
30952 [C99-based standards] (INTPTR_MIN): Likewise.
30953 [C99-based standards] (INTPTR_MAX): Likewise.
30954 [C99-based standards] (UINTPTR_MAX): Likewise.
30955 [C99-based standards] (INTMAX_MIN): Likewise.
30956 [C99-based standards] (INTMAX_MAX): Likewise.
30957 [C99-based standards] (UINTMAX_MAX): Likewise.
30958 [C99-based standards] (PTRDIFF_MIN): Likewise.
30959 [C99-based standards] (PTRDIFF_MAX): Likewise.
30960 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30961 [C99-based standards] (SIZE_MAX): Likewise.
30962 [C99-based standards] (WCHAR_MAX): Likewise.
30963 [C99-based standards] (WINT_MAX): Likewise.
30964 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
30965 constraint on value.
30966 [C99-based standards] (WCHAR_MIN): Likewise.
30967 [C99-based standards] (WINT_MIN): Likewise.
30968 [C99-based standards] (*_t): Allow.
30969 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30970 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30971 Include math.h-data and complex.h-data. Remove all expectations
30972 of math.h and complex.h contents.
30973 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30974 at end of line.
30975 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30976 (struct tm): Expect tag.
30977 [C99-based-standards] (wcstof): Expect function.
30978 [C99-based-standards] (wcstold): Likewise.
30979 [C99-based-standards] (wcstoll): Likewise.
30980 [C99-based-standards] (wcstoull): Likewise.
30981 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30982 macro-int-constant. Specify type.
30983 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
30984 constraint on value.
30985 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30986 Specify type.
30987 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30988 Specify value.
30989 [ISO C standards]: Do not allow headers.
30990 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30991 wcs[abcdefghijklmnopqrstuvwxyz]*.
30992 [ISO C standards] (*_t): Do not allow.
30993 * conform/data/wctype.h-data [C99-based standards] (iswblank):
30994 Expect function.
30995 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30996 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30997 Specify type.
30998 [ISO C standards]: Do not allow headers.
30999 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
31000 is[abcdefghijklmnopqrstuvwxyz]*.
31001 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
31002 to[abcdefghijklmnopqrstuvwxyz]*.
31003 [ISO C standards] (*_t): Do not allow.
31004 * conform/data/stdalign.h-data: New file.
31005 * conform/data/stdbool.h-data: Likewise.
31006 * conform/data/stdnoreturn.h-data: Likewise.
31007
7514feb8
RM
310082012-11-07 Roland McGrath <roland@hack.frob.com>
31009
31010 [BZ #14815]
31011 * manual/filesys.texi (Directory Entries): Typo fix.
31012 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
31013
19b2ecfc
MS
310142012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31015
31016 * elf/elf.h (EM_AARCH64): New macro.
31017 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
31018 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
31019 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
31020 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
31021 (R_AARCH64_TLSDESC): Likewise.
31022 (NT_ARM_TLS): Likewise.
31023 (NT_ARM_HW_BREAK): Likewise.
31024 (NT_ARM_HW_WATCH): Likewise.
31025
60e235ee
JM
310262012-11-07 Joseph Myers <joseph@codesourcery.com>
31027
31028 [BZ #14811]
31029 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
31030 (__ieee754_powl): Saturate nonzero exponents with absolute value
31031 below 0x1p-79 to +/- 0x1p-79.
31032 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
31033 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
31034 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
31035 nonzero exponents with absolute value below 0x1p-32 to +/-
31036 0x1p-32.
31037 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
31038 (__ieee754_powl): Saturate nonzero exponents with absolute value
31039 below 0x1p-79 to +/- 0x1p-79.
31040 * math/libm-test.inc (pow_test): Add more tests.
31041
0ab234b7
AK
310422012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31043
31044 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
31045 _dl_s390_cap_flags with kernel. Increase string length.
31046 (_dl_s390_platforms): Add z196 and zEC12.
31047
45832f74
JM
310482012-11-07 Joseph Myers <joseph@codesourcery.com>
31049
31050 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
31051 Change XOPEN21K to XOPEN2K.
31052
19218757
MK
310532012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
31054
31055 * string/memmove.c: Use memcpy when possible.
31056
c5f45721
AJ
310572012-11-06 Andreas Jaeger <aj@suse.de>
31058
31059 * po/eo.po: Update from translation team.
31060
82477c28
JM
310612012-11-06 Joseph Myers <joseph@codesourcery.com>
31062
31063 [BZ #14793]
31064 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
31065 exponent and small x and y exponents, scale x or y up. Increase
31066 by 2 the exponent used in scaling up.
31067 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31068 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31069 * math/libm-test.inc (fma_test): Add more tests.
31070 (fma_test_towardzero): Likewise.
31071 (fma_test_downward): Likewise.
31072 (fma_test_upward): Likewise.
31073
99252c8c
JM
310742012-11-05 Joseph Myers <joseph@codesourcery.com>
31075
acfa885f
JM
31076 [BZ #14805]
31077 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
31078 fenv_t *.
31079
99252c8c
JM
31080 [BZ #14801]
31081 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
31082 namespace for names of struct fields.
31083 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
31084 fenv_t fields.
31085 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
31086 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
31087
d6d98dea
ST
310882012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
31089
31090 [BZ #3665]
31091 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
31092
e10bb107
TS
310932012-11-04 Thomas Schwinge <thomas@codesourcery.com>
31094
31095 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
31096 PTR_DEMANGLE.
31097
31098 [BZ #5246]
31099 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
31100 PTR_DEMANGLE.
31101
a0c2940d
JM
311022012-11-04 Joseph Myers <joseph@codesourcery.com>
31103
31104 [BZ #14797]
31105 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
31106 definitely overflow as x * y not x * y + z.
31107 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31108 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31109 * math/libm-test.inc (fma_test): Add more tests.
31110 (fma_test_towardzero): Likewise.
31111 (fma_test_downward): Likewise.
31112 (fma_test_upward): Likewise.
31113
b830319d
TS
311142012-11-04 Thomas Schwinge <thomas@codesourcery.com>
31115
31116 [BZ #157]
31117
31118 * include/stub-tag.h: Remove file.
31119 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
31120 '#include' of it.
31121 * manual/maint.texi (Porting): Don't reference it.
31122 * Makerules ($(objpfx)stubs): Likewise.
31123 * dirent/closedir.c: Don't include <stub-tag.h>.
31124 * dirent/dirfd.c: Likewise.
31125 * dirent/fdopendir.c: Likewise.
31126 * dirent/getdents.c: Likewise.
31127 * dirent/getdents64.c: Likewise.
31128 * dirent/opendir.c: Likewise.
31129 * dirent/readdir.c: Likewise.
31130 * dirent/readdir64.c: Likewise.
31131 * dirent/readdir64_r.c: Likewise.
31132 * dirent/readdir_r.c: Likewise.
31133 * dirent/rewinddir.c: Likewise.
31134 * dirent/seekdir.c: Likewise.
31135 * dirent/telldir.c: Likewise.
31136 * gmon/profil.c: Likewise.
31137 * grp/setgroups.c: Likewise.
31138 * inet/if_index.c: Likewise.
31139 * io/access.c: Likewise.
31140 * io/chdir.c: Likewise.
31141 * io/chmod.c: Likewise.
31142 * io/chown.c: Likewise.
31143 * io/close.c: Likewise.
31144 * io/dup.c: Likewise.
31145 * io/dup2.c: Likewise.
31146 * io/dup3.c: Likewise.
31147 * io/euidaccess.c: Likewise.
31148 * io/faccessat.c: Likewise.
31149 * io/fchdir.c: Likewise.
31150 * io/fchmod.c: Likewise.
31151 * io/fchmodat.c: Likewise.
31152 * io/fchown.c: Likewise.
31153 * io/fchownat.c: Likewise.
31154 * io/fcntl.c: Likewise.
31155 * io/flock.c: Likewise.
31156 * io/fstatfs.c: Likewise.
31157 * io/fstatfs64.c: Likewise.
31158 * io/fstatvfs.c: Likewise.
31159 * io/fstatvfs64.c: Likewise.
31160 * io/futimens.c: Likewise.
31161 * io/fxstat.c: Likewise.
31162 * io/fxstat64.c: Likewise.
31163 * io/fxstatat.c: Likewise.
31164 * io/fxstatat64.c: Likewise.
31165 * io/getcwd.c: Likewise.
31166 * io/isatty.c: Likewise.
31167 * io/lchmod.c: Likewise.
31168 * io/lchown.c: Likewise.
31169 * io/link.c: Likewise.
31170 * io/linkat.c: Likewise.
31171 * io/lseek.c: Likewise.
31172 * io/lseek64.c: Likewise.
31173 * io/lxstat64.c: Likewise.
31174 * io/mkdir.c: Likewise.
31175 * io/mkdirat.c: Likewise.
31176 * io/mkfifo.c: Likewise.
31177 * io/mkfifoat.c: Likewise.
31178 * io/open.c: Likewise.
31179 * io/open64.c: Likewise.
31180 * io/openat.c: Likewise.
31181 * io/openat64.c: Likewise.
31182 * io/pipe.c: Likewise.
31183 * io/pipe2.c: Likewise.
31184 * io/poll.c: Likewise.
31185 * io/posix_fadvise.c: Likewise.
31186 * io/posix_fadvise64.c: Likewise.
31187 * io/posix_fallocate.c: Likewise.
31188 * io/posix_fallocate64.c: Likewise.
31189 * io/read.c: Likewise.
31190 * io/readlink.c: Likewise.
31191 * io/readlinkat.c: Likewise.
31192 * io/rmdir.c: Likewise.
31193 * io/sendfile.c: Likewise.
31194 * io/sendfile64.c: Likewise.
31195 * io/statfs.c: Likewise.
31196 * io/statfs64.c: Likewise.
31197 * io/statvfs.c: Likewise.
31198 * io/statvfs64.c: Likewise.
31199 * io/symlink.c: Likewise.
31200 * io/symlinkat.c: Likewise.
31201 * io/ttyname.c: Likewise.
31202 * io/ttyname_r.c: Likewise.
31203 * io/umask.c: Likewise.
31204 * io/unlink.c: Likewise.
31205 * io/unlinkat.c: Likewise.
31206 * io/utime.c: Likewise.
31207 * io/utimensat.c: Likewise.
31208 * io/write.c: Likewise.
31209 * io/xmknod.c: Likewise.
31210 * io/xmknodat.c: Likewise.
31211 * io/xstat.c: Likewise.
31212 * io/xstat64.c: Likewise.
31213 * login/getpt.c: Likewise.
31214 * login/grantpt.c: Likewise.
31215 * login/unlockpt.c: Likewise.
31216 * math/e_acoshl.c: Likewise.
31217 * math/e_acosl.c: Likewise.
31218 * math/e_asinl.c: Likewise.
31219 * math/e_atan2l.c: Likewise.
31220 * math/e_atanhl.c: Likewise.
31221 * math/e_coshl.c: Likewise.
31222 * math/e_expl.c: Likewise.
31223 * math/e_fmodl.c: Likewise.
31224 * math/e_gammal_r.c: Likewise.
31225 * math/e_hypotl.c: Likewise.
31226 * math/e_j0l.c: Likewise.
31227 * math/e_j1l.c: Likewise.
31228 * math/e_jnl.c: Likewise.
31229 * math/e_lgammal_r.c: Likewise.
31230 * math/e_log10l.c: Likewise.
31231 * math/e_log2l.c: Likewise.
31232 * math/e_logl.c: Likewise.
31233 * math/e_powl.c: Likewise.
31234 * math/e_rem_pio2l.c: Likewise.
31235 * math/e_sinhl.c: Likewise.
31236 * math/e_sqrtl.c: Likewise.
31237 * math/fclrexcpt.c: Likewise.
31238 * math/fedisblxcpt.c: Likewise.
31239 * math/feenablxcpt.c: Likewise.
31240 * math/fegetenv.c: Likewise.
31241 * math/fegetexcept.c: Likewise.
31242 * math/fegetround.c: Likewise.
31243 * math/feholdexcpt.c: Likewise.
31244 * math/fesetenv.c: Likewise.
31245 * math/fesetround.c: Likewise.
31246 * math/feupdateenv.c: Likewise.
31247 * math/fgetexcptflg.c: Likewise.
31248 * math/fraiseexcpt.c: Likewise.
31249 * math/fsetexcptflg.c: Likewise.
31250 * math/ftestexcept.c: Likewise.
31251 * math/k_cosl.c: Likewise.
31252 * math/k_rem_pio2l.c: Likewise.
31253 * math/k_sinl.c: Likewise.
31254 * math/k_tanl.c: Likewise.
31255 * math/s_asinhl.c: Likewise.
31256 * math/s_atanl.c: Likewise.
31257 * math/s_cbrtl.c: Likewise.
31258 * math/s_erfl.c: Likewise.
31259 * math/s_expm1l.c: Likewise.
31260 * math/s_log1pl.c: Likewise.
31261 * math/s_tanhl.c: Likewise.
31262 * misc/acct.c: Likewise.
31263 * misc/brk.c: Likewise.
31264 * misc/chflags.c: Likewise.
31265 * misc/chroot.c: Likewise.
31266 * misc/fchflags.c: Likewise.
31267 * misc/fgetxattr.c: Likewise.
31268 * misc/flistxattr.c: Likewise.
31269 * misc/fremovexattr.c: Likewise.
31270 * misc/fsetxattr.c: Likewise.
31271 * misc/fsync.c: Likewise.
31272 * misc/ftruncate.c: Likewise.
31273 * misc/futimes.c: Likewise.
31274 * misc/futimesat.c: Likewise.
31275 * misc/getdomain.c: Likewise.
31276 * misc/getdtsz.c: Likewise.
31277 * misc/gethostid.c: Likewise.
31278 * misc/gethostname.c: Likewise.
31279 * misc/getloadavg.c: Likewise.
31280 * misc/getpagesize.c: Likewise.
31281 * misc/getsysstats.c: Likewise.
31282 * misc/getxattr.c: Likewise.
31283 * misc/gtty.c: Likewise.
31284 * misc/ioctl.c: Likewise.
31285 * misc/lgetxattr.c: Likewise.
31286 * misc/listxattr.c: Likewise.
31287 * misc/llistxattr.c: Likewise.
31288 * misc/lremovexattr.c: Likewise.
31289 * misc/lsetxattr.c: Likewise.
31290 * misc/lutimes.c: Likewise.
31291 * misc/madvise.c: Likewise.
31292 * misc/mincore.c: Likewise.
31293 * misc/mlock.c: Likewise.
31294 * misc/mlockall.c: Likewise.
31295 * misc/mmap.c: Likewise.
31296 * misc/mprotect.c: Likewise.
31297 * misc/msync.c: Likewise.
31298 * misc/munlock.c: Likewise.
31299 * misc/munlockall.c: Likewise.
31300 * misc/munmap.c: Likewise.
31301 * misc/preadv.c: Likewise.
31302 * misc/preadv64.c: Likewise.
31303 * misc/ptrace.c: Likewise.
31304 * misc/pwritev.c: Likewise.
31305 * misc/pwritev64.c: Likewise.
31306 * misc/readv.c: Likewise.
31307 * misc/reboot.c: Likewise.
31308 * misc/remap_file_pages.c: Likewise.
31309 * misc/removexattr.c: Likewise.
31310 * misc/revoke.c: Likewise.
31311 * misc/select.c: Likewise.
31312 * misc/setdomain.c: Likewise.
31313 * misc/setegid.c: Likewise.
31314 * misc/seteuid.c: Likewise.
31315 * misc/sethostid.c: Likewise.
31316 * misc/sethostname.c: Likewise.
31317 * misc/setregid.c: Likewise.
31318 * misc/setreuid.c: Likewise.
31319 * misc/setxattr.c: Likewise.
31320 * misc/sstk.c: Likewise.
31321 * misc/stty.c: Likewise.
31322 * misc/swapoff.c: Likewise.
31323 * misc/swapon.c: Likewise.
31324 * misc/sync.c: Likewise.
31325 * misc/syncfs.c: Likewise.
31326 * misc/syscall.c: Likewise.
31327 * misc/truncate.c: Likewise.
31328 * misc/ualarm.c: Likewise.
31329 * misc/usleep.c: Likewise.
31330 * misc/ustat.c: Likewise.
31331 * misc/utimes.c: Likewise.
31332 * misc/vhangup.c: Likewise.
31333 * misc/writev.c: Likewise.
31334 * posix/_exit.c: Likewise.
31335 * posix/alarm.c: Likewise.
31336 * posix/execve.c: Likewise.
31337 * posix/fexecve.c: Likewise.
31338 * posix/fork.c: Likewise.
31339 * posix/fpathconf.c: Likewise.
31340 * posix/getaddrinfo.c: Likewise.
31341 * posix/getegid.c: Likewise.
31342 * posix/geteuid.c: Likewise.
31343 * posix/getgid.c: Likewise.
31344 * posix/getgroups.c: Likewise.
31345 * posix/getlogin.c: Likewise.
31346 * posix/getlogin_r.c: Likewise.
31347 * posix/getpgid.c: Likewise.
31348 * posix/getpid.c: Likewise.
31349 * posix/getppid.c: Likewise.
31350 * posix/getresgid.c: Likewise.
31351 * posix/getresuid.c: Likewise.
31352 * posix/getsid.c: Likewise.
31353 * posix/getuid.c: Likewise.
31354 * posix/glob64.c: Likewise.
31355 * posix/nanosleep.c: Likewise.
31356 * posix/pathconf.c: Likewise.
31357 * posix/pause.c: Likewise.
31358 * posix/posix_madvise.c: Likewise.
31359 * posix/pread.c: Likewise.
31360 * posix/pread64.c: Likewise.
31361 * posix/pwrite.c: Likewise.
31362 * posix/pwrite64.c: Likewise.
31363 * posix/sched_getaffinity.c: Likewise.
31364 * posix/sched_getp.c: Likewise.
31365 * posix/sched_gets.c: Likewise.
31366 * posix/sched_primax.c: Likewise.
31367 * posix/sched_primin.c: Likewise.
31368 * posix/sched_rr_gi.c: Likewise.
31369 * posix/sched_setaffinity.c: Likewise.
31370 * posix/sched_setp.c: Likewise.
31371 * posix/sched_sets.c: Likewise.
31372 * posix/sched_yield.c: Likewise.
31373 * posix/setgid.c: Likewise.
31374 * posix/setlogin.c: Likewise.
31375 * posix/setpgid.c: Likewise.
31376 * posix/setresgid.c: Likewise.
31377 * posix/setresuid.c: Likewise.
31378 * posix/setsid.c: Likewise.
31379 * posix/setuid.c: Likewise.
31380 * posix/sleep.c: Likewise.
31381 * posix/spawni.c: Likewise.
31382 * posix/sysconf.c: Likewise.
31383 * posix/times.c: Likewise.
31384 * posix/wait.c: Likewise.
31385 * posix/wait3.c: Likewise.
31386 * posix/wait4.c: Likewise.
31387 * posix/waitpid.c: Likewise.
31388 * resolv/gai_sigqueue.c: Likewise.
31389 * resource/getpriority.c: Likewise.
31390 * resource/getrlimit.c: Likewise.
31391 * resource/getrusage.c: Likewise.
31392 * resource/nice.c: Likewise.
31393 * resource/setpriority.c: Likewise.
31394 * resource/setrlimit.c: Likewise.
31395 * resource/ulimit.c: Likewise.
31396 * rt/aio_cancel.c: Likewise.
31397 * rt/aio_fsync.c: Likewise.
31398 * rt/aio_read.c: Likewise.
31399 * rt/aio_sigqueue.c: Likewise.
31400 * rt/aio_suspend.c: Likewise.
31401 * rt/aio_write.c: Likewise.
31402 * rt/clock_getres.c: Likewise.
31403 * rt/clock_gettime.c: Likewise.
31404 * rt/clock_nanosleep.c: Likewise.
31405 * rt/clock_settime.c: Likewise.
31406 * rt/lio_listio.c: Likewise.
31407 * rt/mq_close.c: Likewise.
31408 * rt/mq_getattr.c: Likewise.
31409 * rt/mq_notify.c: Likewise.
31410 * rt/mq_open.c: Likewise.
31411 * rt/mq_receive.c: Likewise.
31412 * rt/mq_send.c: Likewise.
31413 * rt/mq_setattr.c: Likewise.
31414 * rt/mq_timedreceive.c: Likewise.
31415 * rt/mq_timedsend.c: Likewise.
31416 * rt/mq_unlink.c: Likewise.
31417 * rt/shm_open.c: Likewise.
31418 * rt/shm_unlink.c: Likewise.
31419 * rt/timer_create.c: Likewise.
31420 * rt/timer_delete.c: Likewise.
31421 * rt/timer_getoverr.c: Likewise.
31422 * rt/timer_gettime.c: Likewise.
31423 * rt/timer_settime.c: Likewise.
31424 * setjmp/__longjmp.c: Likewise.
31425 * setjmp/setjmp.c: Likewise.
31426 * signal/kill.c: Likewise.
31427 * signal/killpg.c: Likewise.
31428 * signal/raise.c: Likewise.
31429 * signal/sigaction.c: Likewise.
31430 * signal/sigaltstack.c: Likewise.
31431 * signal/sigblock.c: Likewise.
31432 * signal/sigignore.c: Likewise.
31433 * signal/sigintr.c: Likewise.
31434 * signal/signal.c: Likewise.
31435 * signal/sigpause.c: Likewise.
31436 * signal/sigpending.c: Likewise.
31437 * signal/sigqueue.c: Likewise.
31438 * signal/sigreturn.c: Likewise.
31439 * signal/sigset.c: Likewise.
31440 * signal/sigsetmask.c: Likewise.
31441 * signal/sigstack.c: Likewise.
31442 * signal/sigsuspend.c: Likewise.
31443 * signal/sigtimedwait.c: Likewise.
31444 * signal/sigvec.c: Likewise.
31445 * signal/sigwait.c: Likewise.
31446 * signal/sigwaitinfo.c: Likewise.
31447 * signal/sysv_signal.c: Likewise.
31448 * socket/accept.c: Likewise.
31449 * socket/accept4.c: Likewise.
31450 * socket/bind.c: Likewise.
31451 * socket/connect.c: Likewise.
31452 * socket/getpeername.c: Likewise.
31453 * socket/getsockname.c: Likewise.
31454 * socket/getsockopt.c: Likewise.
31455 * socket/isfdtype.c: Likewise.
31456 * socket/listen.c: Likewise.
31457 * socket/recv.c: Likewise.
31458 * socket/recvfrom.c: Likewise.
31459 * socket/recvmsg.c: Likewise.
31460 * socket/send.c: Likewise.
31461 * socket/sendmsg.c: Likewise.
31462 * socket/sendto.c: Likewise.
31463 * socket/setsockopt.c: Likewise.
31464 * socket/shutdown.c: Likewise.
31465 * socket/sockatmark.c: Likewise.
31466 * socket/socket.c: Likewise.
31467 * socket/socketpair.c: Likewise.
31468 * stdio-common/ctermid.c: Likewise.
31469 * stdio-common/cuserid.c: Likewise.
31470 * stdio-common/remove.c: Likewise.
31471 * stdio-common/rename.c: Likewise.
31472 * stdio-common/renameat.c: Likewise.
31473 * stdio-common/tempname.c: Likewise.
31474 * stdlib/getcontext.c: Likewise.
31475 * stdlib/makecontext.c: Likewise.
31476 * stdlib/setcontext.c: Likewise.
31477 * stdlib/swapcontext.c: Likewise.
31478 * stdlib/system.c: Likewise.
31479 * streams/fattach.c: Likewise.
31480 * streams/fdetach.c: Likewise.
31481 * streams/getmsg.c: Likewise.
31482 * streams/getpmsg.c: Likewise.
31483 * streams/putmsg.c: Likewise.
31484 * streams/putpmsg.c: Likewise.
31485 * sysdeps/unix/bsd/getpt.c: Likewise.
31486 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
31487 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
31488 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31490 Likewise.
31491 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
31492 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31493 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
31494 * sysvipc/msgctl.c: Likewise.
31495 * sysvipc/msgget.c: Likewise.
31496 * sysvipc/msgrcv.c: Likewise.
31497 * sysvipc/msgsnd.c: Likewise.
31498 * sysvipc/semctl.c: Likewise.
31499 * sysvipc/semget.c: Likewise.
31500 * sysvipc/semop.c: Likewise.
31501 * sysvipc/semtimedop.c: Likewise.
31502 * sysvipc/shmat.c: Likewise.
31503 * sysvipc/shmctl.c: Likewise.
31504 * sysvipc/shmdt.c: Likewise.
31505 * sysvipc/shmget.c: Likewise.
31506 * termios/tcdrain.c: Likewise.
31507 * termios/tcflow.c: Likewise.
31508 * termios/tcflush.c: Likewise.
31509 * termios/tcgetattr.c: Likewise.
31510 * termios/tcgetpgrp.c: Likewise.
31511 * termios/tcsendbrk.c: Likewise.
31512 * termios/tcsetattr.c: Likewise.
31513 * termios/tcsetpgrp.c: Likewise.
31514 * time/adjtime.c: Likewise.
31515 * time/clock.c: Likewise.
31516 * time/getitimer.c: Likewise.
31517 * time/gettimeofday.c: Likewise.
31518 * time/setitimer.c: Likewise.
31519 * time/settimeofday.c: Likewise.
31520 * time/stime.c: Likewise.
31521 * time/time.c: Likewise.
31522
315232012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 31524
a20492cf
PT
31525 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
31526 /usr/old/bin.
31527
72e182e3
PT
31528 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
31529 instead of spaces.
31530 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
31531
fbeafede
JM
315322012-11-03 Joseph Myers <joseph@codesourcery.com>
31533
5b5b04d6
JM
31534 [BZ #14796]
31535 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
31536 FE_TONEAREST before applying Dekker multiplication and Knuth
31537 addition. Clear inexact exceptions and check for exact zero
31538 results afterwards.
31539 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31540 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31541 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31542 * math/libm-test.inc (fma_test): Add more tests.
31543 (fma_test_towardzero): Likewise.
31544 (fma_test_downward): Likewise.
31545 (fma_test_upward): Likewise.
31546 * sysdeps/generic/math_private.h (default_libc_fesetround): New
31547 function.
31548 (libc_fesetround): New macro.
31549 (libc_fesetroundf): Likewise.
31550 (libc_fesetroundl): Likewise.
31551 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
31552 function.
31553 (libc_fesetround_387): Likewise.
31554 (libc_fesetroundf): New macro.
31555 (libc_fesetround): Likewise.
31556 (libc_fesetroundl): Likewise.
31557 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
31558 function.
31559 (libc_fesetroundf): New macro.
31560 (libc_fesetround): Likewise.
31561 (libc_fesetroundl): Likewise.
31562 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
31563 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
31564 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
31565 libm_hidden_ver.
31566 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
31567 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
31568 libm_hidden_def.
31569 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
31570 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
31571 libm_hidden_ver.
31572 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
31573 libm_hidden_def.
31574
fbeafede
JM
31575 [BZ #3439]
31576 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
31577 integer constant usable in #if and use that to give value to enum
31578 constant.
31579 (FE_DIVBYZERO): Likewise.
31580 (FE_UNDERFLOW): Likewise.
31581 (FE_OVERFLOW): Likewise.
31582 (FE_INVALID): Likewise.
31583 (FE_INVALID_SNAN): Likewise.
31584 (FE_INVALID_ISI): Likewise.
31585 (FE_INVALID_IDI): Likewise.
31586 (FE_INVALID_ZDZ): Likewise.
31587 (FE_INVALID_IMZ): Likewise.
31588 (FE_INVALID_COMPARE): Likewise.
31589 (FE_INVALID_SOFTWARE): Likewise.
31590 (FE_INVALID_SQRT): Likewise.
31591 (FE_INVALID_INTEGER_CONVERSION): Likewise.
31592 (FE_TONEAREST): Likewise.
31593 (FE_TOWARDZERO): Likewise.
31594 (FE_UPWARD): Likewise.
31595 (FE_DOWNWARD): Likewise.
31596 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
31597 (FE_DIVBYZERO): Likewise.
31598 (FE_OVERFLOW): Likewise.
31599 (FE_UNDERFLOW): Likewise.
31600 (FE_INEXACT): Likewise.
31601 (FE_TONEAREST): Likewise.
31602 (FE_DOWNWARD): Likewise.
31603 (FE_UPWARD): Likewise.
31604 (FE_TOWARDZERO): Likewise.
31605 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
31606 (FE_UNDERFLOW): Likewise.
31607 (FE_OVERFLOW): Likewise.
31608 (FE_DIVBYZERO): Likewise.
31609 (FE_INVALID): Likewise.
31610 (FE_TONEAREST): Likewise.
31611 (FE_TOWARDZERO): Likewise.
31612 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
31613 (FE_OVERFLOW): Likewise.
31614 (FE_UNDERFLOW): Likewise.
31615 (FE_DIVBYZERO): Likewise.
31616 (FE_INEXACT): Likewise.
31617 (FE_TONEAREST): Likewise.
31618 (FE_TOWARDZERO): Likewise.
31619 (FE_UPWARD): Likewise.
31620 (FE_DOWNWARD): Likewise.
31621 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
31622 (FE_DIVBYZERO): Likewise.
31623 (FE_OVERFLOW): Likewise.
31624 (FE_UNDERFLOW): Likewise.
31625 (FE_INEXACT): Likewise.
31626 (FE_TONEAREST): Likewise.
31627 (FE_DOWNWARD): Likewise.
31628 (FE_UPWARD): Likewise.
31629 (FE_TOWARDZERO): Likewise.
31630
105ca950
CM
316312012-11-02 Chris Metcalf <cmetcalf@tilera.com>
31632
31633 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
31634
a542b389
AS
316352012-11-03 Andreas Schwab <schwab@linux-m68k.org>
31636
31637 * scripts/cross-test-ssh.sh (command): Use newlines to separate
31638 commands. Quote $PWD.
31639 (blacklist_exports): Don't use remove_newlines. Replace "declare
31640 -x" by "export".
31641 (remove_newlines): Remove.
31642
f62c8abc
L
316432012-11-02 H.J. Lu <hongjiu.lu@intel.com>
31644
31645 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
31646 * stdlib/stdlib.h (atof): Moved to ...
31647 * include/bits/stdlib-float.h: Here. New file.
31648 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
31649 * stdlib/bits/stdlib-float.h: New file.
31650 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
31651 -mno-sse -mno-mmx.
31652 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
31653 <xmmintrin.h>.
31654
0155d5b2
JM
316552012-11-02 Joseph Myers <joseph@codesourcery.com>
31656
a68d0680
JM
31657 * conform/conformtest.pl (@headers): Add fenv.h.
31658 * conform/data/fenv.h-data: New file.
31659 * include/fenv.h [_ISOMAC]: Disable all contents of file except
31660 include of <math/fenv.h>.
31661
caf7f573
JM
31662 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
31663 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
31664 && !UNIX98]. Enables tests for XOPEN2K8.
31665 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
31666 POSIX2008]: Likewise.
31667
6c073ad6
JM
31668 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
31669 (struct rusage): Do not expect type or its members.
31670
0155d5b2
JM
31671 [BZ #3439]
31672 * math/math.h (FP_NAN): Define macro to integer constant usable in
31673 #if and use that to give value to enum constant.
31674 (FP_INFINITE): Likewise.
31675 (FP_ZERO): Likewise.
31676 (FP_SUBNORMAL): Likewise.
31677 (FP_NORMAL): Likewise.
31678
b5dcacb4
AS
316792012-11-02 Andreas Schwab <schwab@linux-m68k.org>
31680
31681 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
31682 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
31683 arguments.
31684
f7934be8
RM
316852012-11-02 Roland McGrath <roland@hack.frob.com>
31686
31687 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
31688 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
31689 autoconf-time if not.
31690 * configure.in: Remove AC_PREREQ.
31691
d7d08bde
TMQMF
316922012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31693
31694 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
31695 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
31696 of the internal implementation.
31697
dcdae19a
JM
316982012-11-02 Joseph Myers <joseph@codesourcery.com>
31699
31700 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
31701 except include of <misc/sys/syslog.h>.
31702
d6cffd3e
AS
317032012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31704
31705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
31706 function returns with a NULL context exit with zero.
31707
b3563932
TMQMF
317082012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31709
31710 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
31711
b288a93d
L
317122012-11-01 H.J. Lu <hongjiu.lu@intel.com>
31713
31714 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
31715 (run_program_cmd): This.
31716 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
31717 (tst_langinfo): New variable. Use it.
31718
a2421a68
SAS
317192012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
31720
31721 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
31722 floating point opcodes.
31723
6f796e1b
TS
317242012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31725
7402596b
TS
31726 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
31727 variable.
31728
d0d4f868
TS
31729 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
31730
6f796e1b
TS
31731 * sysdeps/mach/hurd/powerpc: Remove directory.
31732 * sysdeps/mach/powerpc: Likewise.
31733
4da224a2
AS
317342012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31735
31736 * scripts/check-local-headers.sh: Ignore c++ headers.
31737
341dd673
TS
317382012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31739
31740 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
31741 __libc_cleanup_region_start argument.
31742
473611b2
JM
317432012-11-01 Joseph Myers <joseph@codesourcery.com>
31744
31745 [BZ #14784]
31746 [BZ #14785]
31747 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
31748 x * y using scaling, not as x * y + z.
31749 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31750 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31751 * math/libm-test.inc (fma_test): Add more tests.
31752 (fma_test_towardzero): Likewise.
31753 (fma_test_downward): Likewise.
31754 (fma_test_upward): Likewise.
31755
4078da3d
TS
317562012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31757
31758 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
31759
903252aa
JM
317602012-10-31 Joseph Myers <joseph@codesourcery.com>
31761
31762 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
31763 New variable.
31764
cbc818d0
TS
317652012-10-31 Thomas Schwinge <thomas@codesourcery.com>
31766
31767 * rt/tst-shm.c (worker): Correct checking for mmap failure.
31768
5a03cb1e
AS
317692012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31770
31771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31772 Fix sort order.
31773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31774 Likewise.
31775
90aff2ff
TMQMF
317762012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31777
31778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31779 Fix the order of the list for glibc 2.17.
31780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31781 Likewise.
31782
1818fcb7
AS
317832012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31784
31785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31786
ef82f4da
JM
317872012-10-31 Joseph Myers <joseph@codesourcery.com>
31788
16a0e2ec
JM
31789 [BZ #14610]
31790 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
31791 for low part of x being zero before using __atanl (y).
31792 * math/libm-test.inc (atan2_test): Add another test.
31793
0eb69512
JM
31794 * manual/install.texi (Configuring and compiling): Document
31795 general use of test-wrapper and test-wrapper-env.
31796 * INSTALL: Regenerated.
31797
ef82f4da
JM
31798 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
31799 (__fma): Do not extract and scale down low bits on after-rounding
31800 systems when result rounded to normal precision would have normal
31801 exponent.
31802 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
31803 (__fmal): Do not extract and scale down low bits on after-rounding
31804 systems when result rounded to normal precision would have normal
31805 exponent.
31806 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
31807 (__fmal): Do not extract and scale down low bits on after-rounding
31808 systems when result rounded to normal precision would have normal
31809 exponent.
31810 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
31811 macro.
31812 (fma_test): Add more tests.
31813 (fma_test_towardzero): Likewise.
31814 (fma_test_downward): Likewise.
31815 (fma_test_upward): Likewise.
31816
954ef0d9
L
318172012-10-30 H.J. Lu <hongjiu.lu@intel.com>
31818
31819 * sysdeps/i386/tininess.h: Renamed to ...
31820 * sysdeps/x86/tininess.h: This.
31821 * sysdeps/x86_64/tininess.h: Removed.
31822
df61ffb2
JM
318232012-10-30 Joseph Myers <joseph@codesourcery.com>
31824
31825 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
31826 input. Use $(build-program-cmd).
31827 ($(objpfx)tst-array1-static.out): Likewise.
31828 ($(objpfx)tst-array2.out): Likewise.
31829 ($(objpfx)tst-array3.out): Likewise.
31830 ($(objpfx)tst-array4.out): Likewise.
31831 ($(objpfx)tst-array5.out): Likewise.
31832 ($(objpfx)tst-array5-static.out): Likewise.
31833
01767843
CM
318342012-10-30 Chris Metcalf <cmetcalf@tilera.com>
31835
47cc1490
CM
31836 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
31837 if defined.
31838
01767843
CM
31839 * nss/nsswitch.h (nss_interface_function): Provide new
31840 macro for use with NSS functions.
31841 * grp/initgroups.c: Use new macro.
31842 * nss/getXXbyYY.c: Likewise.
31843 * nss/getXXbyYY_r.c: Likewise.
31844 * nss/getXXent.c: Likewise.
31845 * nss/getXXent_r.c: Likewise.
31846 * sysdeps/posix/getaddrinfo.c: Likewise.
31847
8321aa97
AJ
318482012-10-30 Andreas Jaeger <aj@suse.de>
31849
31850 * po/ru.po: Update Russion translation from translation project.
31851
2a27fd6d
JM
318522012-10-30 Joseph Myers <joseph@codesourcery.com>
31853
8627a232
JM
31854 [BZ #14152]
31855 [BZ #14783]
31856 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
31857 result and shift together with sticky bit instead of replicating
31858 round-to-nearest rounding.
31859 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31860 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31861 * math/libm-test.inc (fma_test): Add more tests. Do not permit
31862 missing underflow exceptions.
31863 (fma_test_towardzero): Add more tests.
31864 (fma_test_downward): Likewise.
31865 (fma_test_upward): Likewise.
31866
2a27fd6d
JM
31867 [BZ #14047]
31868 * sysdeps/generic/tininess.h: New file.
31869 * sysdeps/i386/tininess.h: Likewise.
31870 * sysdeps/sh/tininess.h: Likewise.
31871 * sysdeps/x86_64/tininess.h: Likewise.
31872 * stdlib/tst-strtod-underflow.c: Likewise.
31873 * stdlib/tst-tininess.c: Likewise.
31874 * stdlib/strtod_l.c: Include <tininess.h>.
31875 (round_and_return): Do not set errno for exact underflow cases.
31876 Force an underflow exception when setting errno for underflow.
31877 Determine underflow based on rounding to normal precision if
31878 TININESS_AFTER_ROUNDING.
31879 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
31880 ERANGE for exact underflow cases.
31881 * stdlib/Makefile (tests): Add tst-tininess and
31882 tst-strtod-underflow.
31883 ($(objpfx)tst-tininess): Use $(link-libm).
31884 ($(objpfx)tst-strtod-underflow): Likewise.
31885
e7170363
AJ
318862012-10-30 Andreas Jaeger <aj@suse.de>
31887
e5088dc6
AJ
31888 [BZ#14767]
31889 * elf/Makefile (tests): Remove conditional for have-initfini-array
31890 since this is now always required and the variable does not exist
31891 anymore.
31892 (tests-static): Likewise.
31893 (modules-names): Likewise.
31894
e7170363 31895 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
31896
31897 * elf/tst-array1.c (fini_array): Make writeable so that it can be
31898 merged with constructor/destructor.
31899 (init_array): Likewise.
31900 * elf/tst-array2dep.c (fini_array): Likewise.
31901 (init_array): Likewise.
31902
60457d8a
MF
319032012-10-29 Mike Frysinger <vapier@gentoo.org>
31904
31905 * manual/message.texi: Delete @cartouche tags.
31906
8bece752
PT
319072012-10-29 Pino Toscano <toscano.pino@tiscali.it>
31908
94ce799f
PT
31909 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31910 EOPNOTSUPP.
31911 * sysdeps/mach/hurd/fsync.c: Likewise.
31912
8bece752
PT
31913 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31914 [_POSIX_REALTIME_SIGNALS]: Change condition to
31915 [_POSIX_REALTIME_SIGNALS > 0].
31916
86ebe6b1
AJ
319172012-10-27 Andreas Jaeger <aj@suse.de>
31918
31919 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31920 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31921 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31922 [__WORDSIZE != 64]: Likewise.
31923
54399c08
L
319242012-10-26 H.J. Lu <hongjiu.lu@intel.com>
31925
31926 * iconvdata/tst-table.sh: Remove ${SHELL}.
31927 * iconvdata/tst-tables.sh: Likewise.
31928
e2211bed
DM
319292012-10-25 David S. Miller <davem@davemloft.net>
31930
31931 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31932 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31933 of strtoull.
31934
f303f97c
DM
31935 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31936 ifunc-impl-list.c
31937 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31938 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31939 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31940 file.
31941
1e9d84cd
RM
319422012-10-25 Roland McGrath <roland@hack.frob.com>
31943
31944 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31945 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31946 __getdirentries.
31947
df381762
JM
319482012-10-25 Joseph Myers <joseph@codesourcery.com>
31949 Jim Blandy <jimb@codesourcery.com>
31950
31951 * scripts/cross-test-ssh.sh: New file.
31952 * manual/install.texi (Configuring and compiling): Document use of
31953 cross-test-ssh.sh.
31954 * INSTALL: Regenerated.
31955
bff64913
PT
319562012-10-25 Pino Toscano <toscano.pino@tiscali.it>
31957
31958 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31959 EOPNOTSUPP.
31960
25fe8932
JM
319612012-10-25 Joseph Myers <joseph@codesourcery.com>
31962
31963 * Makeconfig (run-program-prefix): Fix comment.
31964
cc1290d0
JM
319652012-10-24 Joseph Myers <joseph@codesourcery.com>
31966 Jim Blandy <jimb@codesourcery.com>
31967
31968 * Makeconfig (test-wrapper): New variable,
31969 (test-wrapper-env): Likewise.
31970 [$(cross-compiling) = yes && $(test-wrapper) != ""]
31971 (run-built-tests): Define to yes.
31972 (run-program-prefix): Use $(test-wrapper).
31973 (built-program-cmd): Likewise.
31974 * Rules (make-test-out): Use $(test-wrapper-env) and
31975 $(host-built-program-cmd).
31976 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31977 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31978 tst-pathopt.sh.
31979 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31980 $(test-wrapper-env) to tst-rtld-load-self.sh.
31981 ($(objpfx)order2.out): Use $(test-wrapper).
31982 ($(objpfx)tst-initorder.out): Likewise.
31983 ($(objpfx)tst-initorder2.out): Likewise.
31984 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31985 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31986 (test_wrapper_env): New variable. Use it to run ld.so.
31987 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31988 Use it to run ld.so.
31989 (test_wrapper_env): Likewise.
31990 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31991 $(test-wrapper) to run-iconv-test.sh.
31992 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31993 (ICONV): Use $test_wrapper.
31994 * posix/Makefile ($(objpfx)globtest.out): Pass
31995 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31996 globtest.sh, not $(run-program-prefix).
31997 * posix/globtest.sh (run_via_rtld_prefix): New variable.
31998 (test_wrapper): Likewise.
31999 (test_wrapper_env): Likewise. Use it to run globtest with HOME
32000 set together with run_via_rtld_prefix.
32001 (run_program_prefix): Define in terms of test_wrapper and
32002 run_via_rtld_prefix.
32003
6e6249d0
RM
320042012-10-24 Roland McGrath <roland@hack.frob.com>
32005
32006 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
32007 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
32008 Targets removed.
32009
32010 [BZ #14743]
32011 * include/time.h: Remove librt_hidden_proto (clock_gettime).
32012 Declare __clock_getres, __clock_gettime, __clock_settime,
32013 __clock_nanosleep, and __clock_getcpuclockid.
32014 * rt/clock_gettime.c: Define __clock_gettime as an alias.
32015 Remove librt_hidden_def (clock_gettime).
32016 * sysdeps/unix/clock_gettime.c: Likewise.
32017 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
32018 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
32019 * rt/clock_getres.c: Define __clock_getres as an alias.
32020 * sysdeps/posix/clock_getres.c: Likewise.
32021 * rt/clock_settime.c: Define __clock_settime as an alias.
32022 * sysdeps/unix/clock_settime.c: Likewise.
32023 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
32024 * sysdeps/unix/clock_nanosleep.c: Likewise.
32025 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
32026 * rt/clock-compat.c: New file.
32027 * rt/Makefile (librt-routines): Add clock-compat and move
32028 $(clock-routines) to ...
32029 (routines): ... here, new variable.
32030 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
32031 Don't add get_clockfreq here.
32032 * rt/Versions (libc: GLIBC_2.17): New version set.
32033 Add clock_* symbols here.
32034 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
32035 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
32036 (GLIBC_2.17): Add clock_* symbols.
32037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32038 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32039 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32041 Likewise.
32042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32043 Likewise.
32044 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32045 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32046 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32048 * NEWS: Mention the move.
32049
32050 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
32051 Use __open, __read, __close rather than their public counterparts.
32052 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32053 (__get_clockfreq_via_cpuinfo): Likewise.
32054 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
32055 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
32056
32057 * config.h.in (HAVE_IFUNC): New #undef.
32058 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
32059 was successful.
32060 * configure: Regenerated.
32061
0cae3f4b
MF
320622012-10-24 Mike Frysinger <vapier@gentoo.org>
32063
32064 * configure.in: Move READELF check to start of file.
32065 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
32066 libc_cv_asm_gnu_indirect_function in the process.
32067 * configure: Regenerated.
32068
8175a253
MF
320692012-10-24 Mike Frysinger <vapier@gentoo.org>
32070
32071 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
32072 send the output to /dev/null.
32073 (libc_cv_cc_with_libunwind): Likewise.
32074 (libc_cv_as_noexecstack): Likewise.
32075 * configure: Regenerate.
32076
0708a7d1
JM
320772012-10-24 Joseph Myers <joseph@codesourcery.com>
32078
10b40d85
JM
32079 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
32080
0708a7d1
JM
32081 * posix/globtest.sh (TMPDIR): Do not set.
32082 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
32083 (testout): Likewise.
32084
9fddec1a
AJ
320852012-10-24 Andreas Jaeger <aj@suse.de>
32086
3a8db22f
AJ
32087 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
32088 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
32089 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
32090 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
32091 posix_fadvise64, posix_fallocate64.
32092
9fddec1a
AJ
32093 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
32094 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
32095 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
32096 Likewise.
32097 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
32098 Likewise.
32099 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
32100
32101 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
32102 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
32103 <bits/fcntl-linux.h>.
32104 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
32105
32106 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
32107 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
32108 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
32109 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
32110 [__WORDSIZE != 64]: Likewise.
32111
ebfd1bbd
JM
321122012-10-23 Joseph Myers <joseph@codesourcery.com>
32113
03ac099f
JM
32114 * Makeconfig (run-built-tests): New variable.
32115 * Rules [$(cross-compiling) = yes]: Change condition to
32116 [$(run-built-tests) = no].
32117 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
32118 to [$(run-built-tests) = yes].
32119 * elf/Makefile [$(cross-compiling) = no]: Likewise
32120 * grp/Makefile [$(cross-compiling) = no]: Likewise.
32121 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
32122 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
32123 * intl/Makefile [$(cross-compiling) = no]: Likewise.
32124 * io/Makefile [$(cross-compiling) = no]: Likewise.
32125 * libio/Makefile [$(cross-compiling) = no]: Likewise.
32126 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
32127 * misc/Makefile [$(cross-compiling) = no]: Likewise.
32128 * posix/Makefile [$(cross-compiling) = no]: Likewise.
32129 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
32130 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
32131 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
32132 * string/Makefile [$(cross-compiling) = no]: Likewise.
32133
ebfd1bbd
JM
32134 * posix/Makefile ($(objpfx)globtest.out): Pass
32135 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
32136 $(rtld-installed-name).
32137 * posix/globtest.sh (elf_objpfx): Remove variable.
32138 (rtld_installed_name): Likewise.
32139 (library_path): Likewise.
32140 (run_program_prefix): New variable. Use for running globtest
32141 binary.
32142
166bca24
JB
321432012-10-23 Jim Blandy <jimb@codesourcery.com>
32144 Joseph Myers <joseph@codesourcery.com>
32145
32146 * Makeconfig (host-built-program-cmd): New variable.
32147 * elf/Makefile (tst-stackguard1-ARGS): Use
32148 $(host-built-program-cmd).
32149 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
32150 (tst-spawn-ARGS): Likewise.
32151 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
32152
88866099
JM
321532012-10-23 Joseph Myers <joseph@codesourcery.com>
32154 Jim Blandy <jimb@codesourcery.com>
32155
32156 * Makeconfig (run-via-rtld-prefix): New variable.
32157 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
32158 (built-program-cmd): Likewise.
32159
b4b4c296
AJ
321602012-10-22 Andreas Jaeger <aj@suse.de>
32161
32162 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
32163 __O_RSYNC if it exists, otherwise to O_SYNC.
32164
6fb54a22
JB
321652012-10-22 Jim Blandy <jimb@codesourcery.com>
32166 Joseph Myers <joseph@codesourcery.com>
32167
32168 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
32169 /dev/null.
32170 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
32171 from /dev/null
32172 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
32173 /dev/null.
32174
481b90b9
AJ
321752012-10-22 Andreas Jaeger <aj@suse.de>
32176
2a0e2669
AJ
32177 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
32178 Define always.
32179 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
32180
76e38f9a
AJ
32181 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32182 bits/fcntl-linux.h.
32183
7cd37b43
AJ
32184 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
32185 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
32186
481b90b9
AJ
32187 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
32188 to __O_LARGEFILE.
32189 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
32190 to __O_LARGEFILE.
32191
aba75984
JB
321922012-10-21 Jim Blandy <jimb@codesourcery.com>
32193 Joseph Myers <joseph@codesourcery.com>
32194
32195 * config.make.in (NM): New variable.
32196
88d4247f
AJ
321972012-10-21 Andreas Jaeger <aj@suse.de>
32198
32199 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
32200 definitions and declarations that are provided by
32201 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32202
f2eed205
L
322032012-10-20 H.J. Lu <hongjiu.lu@intel.com>
32204
32205 [BZ #14683]
32206 * elf/Makefile (tests-static): Add tst-leaks1-static.
32207 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
32208 ($(objpfx)tst-leaks1-static): New rule.
32209 ($(objpfx)tst-leaks1-static-mem): Likewise.
32210 (tst-leaks1-static-ENV): New macro.
32211 * elf/dl-open.c (dl_open_worker): Check the main application
32212 only if SHARED is defined.
32213 * elf/tst-leaks1-static.c: New file.
32214
335e6931
AJ
322152012-10-20 Andreas Jaeger <aj@suse.de>
32216
32217 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
32218 generic values for Linux.
32219 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
32220 and declarations that are provided by <bits/fcntl-linux.h> and
32221 include <bits/fcntl-linux.h>.
32222 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32223 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32224
ac5c94d3
RM
322252012-10-20 Roland McGrath <roland@hack.frob.com>
32226
32227 * io/fcntl.h: Move include of <bits/types.h> to the top and
32228 include it unconditionally.
32229
de54b33a
L
322302012-10-20 H.J. Lu <hongjiu.lu@intel.com>
32231
228cfb01
L
32232 * wcsmbs/Makefile (tests-ifunc): New variable.
32233 (tests): Add $(tests-ifunc).
32234 * wcsmbs/test-wcschr-ifunc.c: New file.
32235 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
32236 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
32237 * wcsmbs/test-wcslen-ifunc.c: Likewise.
32238 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
32239 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
32240
69f07e5f
L
32241 * string/Makefile (tests-ifunc): New variable.
32242 (tests): Add $(tests-ifunc).
32243 * string/test-memccpy.c (TEST_NAME): New macro.
32244 * string/test-memchr.c (TEST_NAME): Likewise.
32245 * string/test-memcmp.c (TEST_NAME): Likewise.
32246 * string/test-memcpy.c (TEST_NAME): Likewise.
32247 * string/test-memmem.c (TEST_NAME): Likewise.
32248 * string/test-memmove.c (TEST_NAME): Likewise.
32249 * string/test-memset.c (TEST_NAME): Likewise.
32250 * string/test-rawmemchr.c (TEST_NAME): Likewise.
32251 * string/test-stpcpy.c (TEST_NAME): Likewise.
32252 * string/test-stpncpy.c (TEST_NAME): Likewise.
32253 * string/test-strcasecmp.c (TEST_NAME): Likewise.
32254 * string/test-strcasestr.c (TEST_NAME): Likewise.
32255 * string/test-strcat.c (TEST_NAME): Likewise.
32256 * string/test-strchr.c (TEST_NAME): Likewise.
32257 * string/test-strcmp.c(TEST_NAME): Likewise.
32258 * string/test-strcpy.c (TEST_NAME): Likewise.
32259 * string/test-strcspn.c (TEST_NAME): Likewise.
32260 * string/test-strlen.c (TEST_NAME): Likewise.
32261 * string/test-strncasecmp.c (TEST_NAME): Likewise.
32262 * string/test-strncmp.c (TEST_NAME): Likewise.
32263 * string/test-strncpy.c (TEST_NAME): Likewise.
32264 * string/test-strnlen.c (TEST_NAME): Likewise.
32265 * string/test-strpbrk.c (TEST_NAME): Likewise.
32266 * string/test-strrchr.c (TEST_NAME): Likewise.
32267 * string/test-strspn.c (TEST_NAME): Likewise.
32268 * string/test-strstr.c (TEST_NAME): Likewise.
32269 * string/test-bcopy-ifunc.c: New file.
32270 * string/test-bzero-ifunc.c: Likewise.
32271 * string/test-memccpy-ifunc.c: Likewise.
32272 * string/test-memchr-ifunc.c: Likewise.
32273 * string/test-memcmp-ifunc.c: Likewise.
32274 * string/test-memcpy-ifunc.c: Likewise.
32275 * string/test-memmem-ifunc.c: Likewise.
32276 * string/test-memmove-ifunc.c: Likewise.
32277 * string/test-mempcpy-ifunc.c: Likewise.
32278 * string/test-memset-ifunc.c: Likewise.
32279 * string/test-rawmemchr-ifunc.c: Likewise.
32280 * string/test-stpcpy-ifunc.c: Likewise.
32281 * string/test-stpncpy-ifunc.c: Likewise.
32282 * string/test-strcasecmp-ifunc.c: Likewise.
32283 * string/test-strcasestr-ifunc.c: Likewise.
32284 * string/test-strcat-ifunc.c: Likewise.
32285 * string/test-strchr-ifunc.c: Likewise.
32286 * string/test-strchrnul-ifunc.c: Likewise.
32287 * string/test-strcmp-ifunc.c: Likewise.
32288 * string/test-strcpy-ifunc.c: Likewise.
32289 * string/test-strcspn-ifunc.c: Likewise.
32290 * string/test-strlen-ifunc.c: Likewise.
32291 * string/test-strncasecmp-ifunc.c: Likewise.
32292 * string/test-strncat-ifunc.c: Likewise.
32293 * string/test-strncmp-ifunc.c: Likewise.
32294 * string/test-strncpy-ifunc.c: Likewise.
32295 * string/test-strnlen-ifunc.c: Likewise.
32296 * string/test-strpbrk-ifunc.c: Likewise.
32297 * string/test-strrchr-ifunc.c: Likewise.
32298 * string/test-strspn-ifunc.c: Likewise.
32299 * string/test-strstr-ifunc.c: Likewise.
32300
de54b33a
L
32301 * debug/Makefile (tests-ifunc): New variable.
32302 (tests): Add $(tests-ifunc).
32303 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
32304 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
32305 * debug/test-stpcpy_chk-ifunc.c: New file.
32306 * debug/test-strcpy_chk-ifunc.c: Likewise.
32307
88481c16
SP
323082012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32309
32310 [BZ #13601]
32311 * elf/dl-load.c (open_verify): Retry read if the entire ELF
32312 header is not read in.
32313
135948bd
JM
323142012-10-19 Joseph Myers <joseph@codesourcery.com>
32315
89f1c388
JM
32316 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
32317 script to $(SHELL) as $<. Pass $(common-objpfx) to script
32318 directly. Pass built executable to script as
32319 $(built-program-cmd).
32320 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
32321 $testprogram without using LD_LIBRARY_PATH and $ldso.
32322
e40a0d21
JM
32323 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
32324 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
32325 $(rtld-installed-name).
32326 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
32327 (rtld_installed_name): Likewise.
32328 (library_path): Likewise.
32329 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
32330 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
32331 $(run-program-prefix) to tst-tables.sh.
32332 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
32333 it to run tst-table-from and tst-table-to.
32334 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
32335 Pass it to tst-table.sh.
32336 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
32337 $(run-program-prefix) to tst-gettext.sh.
32338 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
32339 tst-translit.sh.
32340 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
32341 tst-gettext2.sh.
32342 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
32343 to run tst-gettext.
32344 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
32345 to run tst-gettext2.
32346 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
32347 to run tst-translit.
32348 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
32349 $(run-program-prefix) to tst-mtrace.sh.
32350 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
32351 to run tst-mtrace.
32352 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
32353 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
32354 $(rtld-installed-name).
32355 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
32356 (rtld_installed_name): Likewise.
32357 (run_program_prefix): New variable. Use it to run wordexp-test.
32358
728e272a
JM
32359 * Makeconfig (ARCH): Remove all definitions.
32360 (machine): Likewise.
32361 [ARCH]: Remove conditional code.
32362 [!objdir]: Give error.
32363 [!objdir] (objpfx): Remove.
32364 [!objdir] (common-objpfx): Likewise.
32365 [!objdir] (common-objdir): Likewise.
32366 * configure.in (config_makefile): Remove. Hardcode Makefile in
32367 AC_CONFIG_FILES call.
32368 * configure: Regenerated.
32369
d528cdcf
JM
32370 [BZ #13888]
32371 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
32372 or TMPDIR.
32373 (testout): Likewise.
32374
135948bd
JM
32375 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
32376 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
32377 $(rtld-installed-name).
32378 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
32379 (rtld_installed_name): Likwise.
32380 (runit): Remove function.
32381 (run_getconf): New variable, Use it for running getconf binary.
32382
38c78296
L
323832012-10-18 H.J. Lu <hongjiu.lu@intel.com>
32384
32385 [BZ #14716]
32386 * string/test-memmem.c (check_result): New function.
32387 (do_one_test): Use it.
32388 (check1): New function.
32389 (test_main): Use it.
32390
d077f65f
MT
323912012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
32392
32393 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
32394
ced52c71
JM
323952012-10-18 Joseph Myers <joseph@codesourcery.com>
32396
32397 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
32398 (_G_LSEEK64): Likewise.
32399 (_G_MMAP64): Likewise.
32400 (_G_FSTAT64): Likewise.
32401 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
32402 (_G_LSEEK64): Likewise.
32403 (_G_MMAP64): Likewise.
32404 (_G_FSTAT64): Likewise.
32405 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
32406 unconditional. Call __mmap64 directly.
32407 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
32408 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
32409 __lseek64 directly.
32410 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
32411 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
32412 __mmap64 directly.
32413 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
32414 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
32415 __lseek64 directly.
32416 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
32417 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
32418 __lseek64 directly.
32419 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
32420 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
32421 __lseek64 directly.
32422 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
32423 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
32424 __fxstat64 directly.
32425 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
32426 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
32427 unconditional.
32428 (freopen64) [!_G_OPEN64]: Remove conditional code.
32429 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
32430 unconditional.
32431 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
32432 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
32433 unconditional.
32434 (ftello64) [!_G_LSEEK64]: Remove conditional code.
32435 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
32436 unconditional.
32437 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32438 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
32439 unconditional.
32440 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
32441 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
32442 unconditional.
32443 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32444 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
32445 unconditional.
32446 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32447 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
32448 unconditional.
32449 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32450
b741de23
SP
324512012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32452
32453 [BZ #12140]
32454 * manual/memory.texi (Malloc Tunable Parameters): Add note
32455 about free list pointers overwriting some perturb bytes.
32456 Wording suggested by Roland McGrath.
32457
f9b9d9c9
JM
324582012-10-17 Joseph Myers <joseph@codesourcery.com>
32459
32460 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
32461 (lgamma_test): Likewise.
32462 (tgamma_test): Likewise.
32463
172a631a
FW
324642012-10-16 Florian Weimer <fweimer@redhat.com>
32465
32466 [BZ #14700]
32467 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
32468 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
32469
e9f37252
MK
324702012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
32471
32472 * NEWS: Mention BZ #14716.
32473 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
32474 when removing AVAILABLE1_USES_J macro.
32475
d394eb74
L
324762012-10-12 H.J. Lu <hongjiu.lu@intel.com>
32477
32478 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
32479 (__bswap_64): __uint64_t for unsigned 64-bit int.
32480
ca38dc17
AS
324812012-10-12 Andreas Schwab <schwab@linux-m68k.org>
32482
32483 * include/string.h (memmem): Declare libc hidden alias.
32484 * string/memmem.c (memmem): Define libc hidden alias.
32485 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
32486 __read, __close instead of open, read, close.
32487
9a387d1f
L
324882012-10-11 H.J. Lu <hongjiu.lu@intel.com>
32489
ac49ecaf
L
32490 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
32491 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
32492 global and hidden.
32493 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
32494 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
32495 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
32496 Likewise.
32497 (__rawmemchr_sse2): Likewise.
32498 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
32499 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
32500 (__strchr_sse2): Likewise.
32501 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
32502 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
32503 (__strcasecmp_sse2): Likewise.
32504 (__strncasecmp_sse2): Likewise.
32505 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
32506 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
32507 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
32508 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
32509 (__strrchr_sse2): Likewise.
32510 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
32511 ifunc-impl-list.c.
32512 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32513 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32514 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32515 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32516 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32517 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32518 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32519 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32520 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
32521 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
32522 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
32523 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
32524 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
32525 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32526 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32527 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32528 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32529 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32530 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
32531 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
32532 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
32533 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
32534 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
32535 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
32536 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
32537 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32538 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32539 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32540 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32541 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32542
b090e8ea
L
32543 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
32544 global and hidden.
32545 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
32546 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
32547 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
32548 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
32549 Likewise.
32550 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
32551 Likewise.
32552 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
32553 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
32554 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
32555 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
32556 ifunc-impl-list.c.
32557 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32558 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32559 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32560 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32561 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32562 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32563 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32564 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32565 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32566 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32567 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32568 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32569 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32570 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32571 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32572 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32573 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32574 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
32575 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32576 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32577 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32578 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32579 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32580 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32581 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32582 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32583 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32584 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32585 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32586 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32587 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32588 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32589 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32590 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
32591 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32592 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32593 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32594 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32595 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32596 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32597 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
32598
11dd4af6
L
32599 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
32600 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
32601 * include/ifunc-impl-list.h: New file.
32602 * misc/ifunc-impl-list.c: Likewise.
32603 * misc/Makefile (routines): Add ifunc-impl-list.
32604 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
32605 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
32606 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
32607 TEST_NAME]: New variables.
11dd4af6
L
32608 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
32609 are defined.
32610 (test_init): Call __libc_ifunc_impl_list to initialize
32611 func_list if TEST_IFUNC and TEST_NAME are defined.
32612
9a387d1f
L
32613 * string/Makefile (strop-tests): Add bcopy and bzero.
32614 * string/test-bcopy.c: New file.
32615 * string/test-bzero.c: Likewise.
32616 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
32617 defined.
32618 * string/test-memset.c: Support bzero test if TEST_BZERO is
32619 defined.
32620 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
32621 __libc_memmove.
32622 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
32623 __libc_memset.
32624 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
32625 of memset.
32626
472371b9
JM
326272012-10-10 Joseph Myers <joseph@codesourcery.com>
32628
1e4a9536
JM
32629 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
32630 * configure: Regenerated.
32631
d173d12e
JM
32632 * Makeconfig (+link-static-before-libc): Don't include
32633 $(link-static-libc).
32634
472371b9
JM
32635 * libio/libio.h (_IO_pos_t): Remove.
32636
89a3ad0b
AO
326372012-10-10 Alexandre Oliva <aoliva@redhat.com>
32638
32639 * NEWS: Add note about FIPS mode. Wording suggested by Roland
32640 McGrath.
32641
e7451425
AO
326422012-10-10 Alexandre Oliva <aoliva@redhat.com>
32643
32644 * crypt/crypt-entry.c: Include fips-private.h.
32645 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
32646 * crypt/md5c-test.c (main): Tolerate disabled MD5.
32647 * sysdeps/unix/sysv/linux/fips-private.h: New file.
32648 * sysdeps/generic/fips-private.h: New file, dummy fallback.
32649
4ba74a35
AO
326502012-10-10 Alexandre Oliva <aoliva@redhat.com>
32651
32652 * crypt/crypt-private.h: Include stdbool.h.
32653 (_ufc_setup_salt_r): Return bool.
32654 * crypt/crypt-entry.c: Include errno.h.
32655 (__crypt_r): Return NULL with EINVAL for bad salt.
32656 * crypt/crypt_util.c (bad_for_salt): New.
32657 (_ufc_setup_salt_r): Check that salt is long enough and within
32658 the specified alphabet.
32659 * crypt/badsalttest.c: New file.
32660 * crypt/Makefile (tests): Add it.
32661 ($(objpfx)badsalttest): New.
32662
f96f1242
MK
326632012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
32664
32665 * NEWS: Add entry for BZ #14602.
32666
0e8e0c1c
JM
326672012-10-09 Joseph Myers <joseph@codesourcery.com>
32668
32669 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
32670 type-generic.
32671 * math/libm-test.inc: Update comment listing what functions and
32672 macros are tested.
32673 (isgreater_test): New function.
32674 (isgreaterequal_test): Likewise.
32675 (isless_test): Likewise.
32676 (islessequal_test): Likewise.
32677 (islessgreater_test): Likewise.
32678 (isunordered_test): Likewise.
32679 (main): Call the new functions.
32680
273edc5e
RM
326812012-10-09 Roland McGrath <roland@hack.frob.com>
32682
b8493de0
RM
32683 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
32684 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
32685 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
32686 * sysdeps/i386/configure: Regenerated.
32687 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
32688 * sysdeps/mach/configure: Regenerated.
32689 * sysdeps/mach/hurd/configure: Regenerated.
32690 * sysdeps/powerpc/configure: Regenerated.
32691 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32692 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32693 * sysdeps/s390/s390-32/configure: Regenerated.
32694 * sysdeps/s390/s390-64/configure: Regenerated.
32695 * sysdeps/sh/configure: Regenerated.
32696 * sysdeps/sparc/configure: Regenerated.
32697 * sysdeps/unix/sysv/linux/configure: Regenerated.
32698 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32699 * sysdeps/x86_64/configure: Regenerated.
32700
273edc5e
RM
32701 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
32702 defined. Don't check if MAP is NULL.
32703
c8450f70
JM
327042012-10-09 Joseph Myers <joseph@codesourcery.com>
32705
32706 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
32707 (_G_stat64): Likewise.
32708 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
32709 (_G_stat64): Likewise.
32710 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
32711 instead of struct _G_stat64.
32712 * libio/fileops.c (mmap_remap_check): Likewise.
32713 (decide_maybe_mmap): Likewise.
32714 (_IO_new_file_seekoff): Likewise.
32715 (_IO_file_stat): Likewise.
32716 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
32717 _G_off64_t.
32718 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
32719 instead of struct _G_stat64.
32720 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32721
57e605ba
MK
327222012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
32723
32724 [BZ #14602]
32725 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32726 Replace with ...
32727 (CHECK_EOL): New macro.
32728 (two_way_short_needle): Check beginning of haystack for EOL. Use
32729 CHECK_EOL.
32730 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32731 Replace with CHECK_EOL.
32732 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32733 Replace with CHECK_EOL.
32734
ef1bb361
JM
327352012-10-08 Joseph Myers <joseph@codesourcery.com>
32736
32737 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
32738 type-generic.
32739 * math/libm-test.inc: Update comment listing what functions and
32740 macros are tested.
32741 (finite_test): New function.
32742 (isinf_test): Likewise.
32743 (isnan_test): Likewise.
32744 (fpclassify_test): Test subnormal input.
32745 (isfinite_test): Likewise.
32746 (isnormal_test): Likewise.
32747 (main): Call the new functions.
32748
55f11534
JN
327492012-10-08 Jonathan Nieder <jrnieder@gmail.com>
32750
32751 [BZ #14660]
32752 * Makerules (%.dynsym): Force C locale when running
32753 $(OBJDUMP) --dynamic-syms.
32754
1ab29350
AS
327552012-10-08 Andreas Schwab <schwab@linux-m68k.org>
32756
32757 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
32758 <stdint.h>.
32759
f1ecb7ef
DM
327602012-10-06 David S. Miller <davem@davemloft.net>
32761
32762 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
32763 upper 32-bits of the length value in %o2 since we use branch-on-register
32764 tests which consider the entire 64-bit register.
32765
5d41d91a
L
327662012-10-06 H.J. Lu <hongjiu.lu@intel.com>
32767
32768 * string/test-strstr.c (check2): Add a test for page boundary.
32769
3baddb72
DM
327702012-10-05 David S. Miller <davem@davemloft.net>
32771
32772 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
32773 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
32774 file.
32775 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32776 sysdep_routines.
32777 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32778 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
32779 and bzero when HWCAP_SPARC_CRYPTO is present.
32780
9cee5585
L
327812012-10-05 H.J. Lu <hongjiu.lu@intel.com>
32782
d7e0dab9
L
32783 [BZ #14602]
32784 * string/test-strstr.c (check2): New function.
32785 (test_main): Call check2.
32786
03759f47
L
32787 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
32788 and bug-strchr1.
32789 * string/bug-strcasestr1.c (do_test): Moved to ...
32790 * string/test-strcasestr.c (check1): Here. New function.
32791 (do_one_test): Break out result checking code into ...
32792 (check_result): This. New function.
32793 (do_one_test): Call check_result.
32794 (test_main): Call check1.
32795 * string/bug-strchr1.c (do_test): Moved to ...
32796 * string/test-strchr.c (check1): Here. New function.
32797 (do_one_test): Break out result checking code into ...
32798 (check_result): This. New function.
32799 (do_one_test): Call check_result.
32800 (test_main): Call check1.
32801 * string/bug-strstr1.c (main): Moved to ...
046f153e 32802 * string/test-strstr.c (check1): Here. New function.
03759f47
L
32803 (do_one_test): Break out result checking code into ...
32804 (check_result): This. New function.
32805 (do_one_test): Call check_result.
32806 (test_main): Call check1.
32807 * string/bug-strcasestr1.c: Removed.
32808 * string/bug-strchr1.c: Likewise.
32809 * string/bug-strstr1.c: Likewise.
32810
53cea63e
L
32811 * elf/Makefile (dl-routines): Add hwcaps.
32812 * elf/dl-support.c (_dl_important_hwcaps): Removed.
32813 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
32814 (_dl_important_hwcaps): Moved to ...
32815 * elf/dl-hwcaps.c: Here. New file.
32816 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
32817
9cee5585 32818 [BZ #14557]
bb859b06
L
32819 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
32820 if IS_IN_rtld isn't defined.
32821
9cee5585
L
32822 * elf/dl-support.c (_dl_sysinfo_map): New.
32823 Include "get-dynamic-info.h" and "setup-vdso.h".
32824 (_dl_non_dynamic_init): Call setup_vdso.
32825 * elf/dynamic-link.h: Don't include <assert.h>.
32826 (elf_get_dynamic_info): Moved to ...
32827 * elf/get-dynamic-info.h: Here. New file.
32828 * elf/dynamic-link.h: Include "get-dynamic-info.h".
32829 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
32830 * elf/setup-vdso.h: Here. New file.
32831 * elf/rtld.c: Include "setup-vdso.h".
32832 (dl_main): Call setup_vdso.
32833
23c31b76
JM
328342012-10-05 Joseph Myers <joseph@codesourcery.com>
32835
28234b07
JM
32836 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
32837 creal in comment listing functions tested. List finite, isinf,
32838 isnan, isless, islessequal, isgreater, isgreaterequal,
32839 islessgreater, isunordered, lgamma_r and pow10 as functions and
32840 macros not tested. Mention which functions not tested are aliases
32841 for other functions. Fix typo. Note that signs of NaNs are not
32842 tested.
32843
23c31b76
JM
32844 * scripts/config.guess: Update from config.git.
32845 * scripts/config.sub: Likewise.
32846
9043e228
RM
328472012-10-04 Roland McGrath <roland@hack.frob.com>
32848
32849 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
32850 * misc/madvise.c (madvise): Renamed to __madvise.
32851 Make madvise a weak alias.
32852 * include/sys/mman.h: Declare __madvise.
32853 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
32854 * sysdeps/unix/syscalls.list
32855 (madvise): Make __madvise the strong name, and madvise a weak alias.
32856 * sysdeps/unix/sysv/linux/syscalls.list
32857 (madvise, mmap): Remove redundant entries.
32858 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
32859 * malloc/malloc.c (mtrim): Likewise.
32860 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
32861
f57f8055
RM
328622012-10-03 Roland McGrath <roland@hack.frob.com>
32863
32864 * sysdeps/mach/hurd/dl-cache.c: File removed.
32865 * config.h.in (USE_LDCONFIG): New #undef.
32866 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
32867 * configure: Regenerated.
32868 * elf/Makefile (dl-routines): Add dl-cache only under
32869 [$(use-ldconfig) = yes].
32870 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
32871 cache on [USE_LDCONFIG].
32872 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
32873 [USE_LDCONFIG].
32874 * elf/rtld.c (dl_main): Likewise.
32875
5bb0c10a
PT
328762012-10-03 Pino Toscano <toscano.pino@tiscali.it>
32877
32878 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
32879 _SC_LEVEL4_CACHE_LINESIZE.
32880
010188c6
RM
328812012-10-03 Roland McGrath <roland@hack.frob.com>
32882
32883 * sysdeps/unix/bsd/confstr.h: File removed.
32884
b6c5ec07
AO
328852012-10-02 Alexandre Oliva <aoliva@redhat.com>
32886
32887 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
32888 sys/sdt-config.h.
32889
408223d4
RM
328902012-10-02 Roland McGrath <roland@hack.frob.com>
32891
32892 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
32893 Make 'mapoff' field ElfW(Off) rather than off_t.
32894
bb9510dc
DL
328952012-10-02 Dmitry V. Levin <ldv@altlinux.org>
32896
fc997c6e
DL
32897 * nscd/Makefile: Remove nscd-cflags and all its users.
32898 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
32899 (CFLAGS-nonlib): Add compiler flags for nscd modules.
32900
bb9510dc
DL
32901 [BZ #10631]
32902 * malloc.c (malloc_printerr): Clarify error message.
32903
05699367
L
329042012-10-02 H.J. Lu <hongjiu.lu@intel.com>
32905
32906 [BZ #14648]
32907 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32908 Set bit_FMA_Usable if FMA is supported.
32909 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32910 macro.
32911 (bit_FMA4_Usable): Updated.
32912 (index_FMA_Usable): New macro.
32913 (CPUID_FMA): Likewise
32914 (HAS_FMA): Defined with bit_FMA_Usable.
32915
51367701
RM
329162012-10-01 Roland McGrath <roland@hack.frob.com>
32917
32918 * bits/types.h (__swblk_t): Type removed.
32919 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32920 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32921 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32922 (__SWBLK_T_TYPE): Likewise.
32923 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32924 (__SWBLK_T_TYPE): Likewise.
32925 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32926 (__SWBLK_T_TYPE): Likewise.
32927 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32928 (__SWBLK_T_TYPE): Likewise.
32929
4d57bf63 329302012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 32931 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
32932
32933 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32934 (xdr_mapname): Use YPMAXMAP as maxsize.
32935 (xdr_peername): Use YPMAXPEER as maxsize.
32936 (xdr_keydat): Use YPAXRECORD as maxsize.
32937 (xdr_valdat): Use YPMAXRECORD as maxsize.
32938
93c65d43
RM
329392012-10-01 Roland McGrath <roland@hack.frob.com>
32940
497a03d6
RM
32941 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32942
93c65d43
RM
32943 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32944 * csu/init-first.c: ... here.
32945 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32946 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32947 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32948 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32949 * sysdeps/i386/init-first.c: File removed.
32950 * sysdeps/sh/init-first.c: File removed.
32951
bec749fd
JM
329522012-10-01 Joseph Myers <joseph@codesourcery.com>
32953
32954 [BZ #14645]
32955 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32956 if x * y might underflow to zero and z is zero.
32957 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32958 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32959 * math/libm-test.inc (min_subnorm_value): New variable.
32960 (fma_test): Add more tests.
32961 (fma_test_towardzero): Likewise.
32962 (fma_test_downward): Likewise
32963 (fma_test_upward): Likewise.
32964 (initialize): Set min_subnorm_value.
32965
8ec5b013
JM
329662012-09-29 Joseph Myers <joseph@codesourcery.com>
32967
32968 [BZ #14638]
32969 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32970 0 + 0.
32971 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32972 mode for addition resulting in exact zero.
32973 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32974 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32975 exact 0 + 0.
32976 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32977 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32978 * math/libm-test.inc (fma_test): Add more tests.
32979 (fma_test_towardzero): New function.
32980 (fma_test_downward): Likewise.
32981 (fma_test_upward): Likewise.
32982 (main): Call the new functions.
32983
b1fa802e
DM
329842012-09-28 David S. Miller <davem@davemloft.net>
32985
32986 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32987
d3b9fd9e
RM
329882012-09-28 Roland McGrath <roland@hack.frob.com>
32989
ea4d37b3
RM
32990 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32991 instead of SIGALRM.
32992
ac51c949
RM
32993 * sysdeps/gnu/_G_config.h: Moved to ...
32994 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32995 * sysdeps/mach/hurd/_G_config.h: Moved to ...
32996 * sysdeps/generic/_G_config.h: ... here.
32997
28c195f7
RM
32998 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
32999
848917f9
RM
33000 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
33001
6bacf05b
RM
33002 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
33003 Conditionalize target on [libnss_test1.so-version].
33004
91363dbb
RM
33005 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
33006
cc87f7d8
RM
33007 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
33008 (elfobjdir): Move out of conditionals.
33009
b1c608fe
RM
33010 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
33011 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
33012 (__nss_lookup_function): Conditionalize label remove_from_tree on
33013 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 33014
1d9a6d96
DM
330152012-09-28 David S. Miller <davem@davemloft.net>
33016
33017 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
33018 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
33019 file.
33020 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33021 sysdep_routines.
33022 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33023 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
33024 when HWCAP_SPARC_CRYPTO is present.
33025
72581615
PT
330262012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33027
33028 * io/tst-mknodat.c: Create a FIFO instead of a socket.
33029
715a900c
JL
330302012-09-28 Andreas Schwab <schwab@linux-m68k.org>
33031
33032 [BZ #6530]
33033 * stdio-common/vfprintf.c (process_string_arg): Revert
33034 2000-07-22 change.
33035
330362011-09-28 Jonathan Nieder <jrnieder@gmail.com>
33037
33038 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
33039 for testcase.
33040 * stdio-common/tst-sprintf.c: Include <locale.h>
33041 (main): Test sprintf's handling of incomplete multibyte
33042 characters.
33043
9bac1d86
L
330442012-09-28 H.J. Lu <hongjiu.lu@intel.com>
33045
33046 * elf/dl-runtime.c (VERSYMIDX): Removed.
33047 * elf/dl-version.c (VERSYMIDX): Likewise.
33048 * elf/do-rel.h (VERSYMIDX): Likewise.
33049 (VALIDX): Likewise.
33050 * elf/dynamic-link.h (VERSYMIDX): Likewise.
33051 * elf/rtld.c (VALIDX): Likewise.
33052 (ADDRIDX): Likewise.
9bac1d86
L
33053 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
33054 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
33055 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
33056 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
33057 (VALIDX): Likewise.
33058 (ADDRIDX): Likewise.
9bac1d86 33059
b31606c0
PT
330602012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33061
33062 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
33063
11541177
JL
330642012-09-28 Dmitry V. Levin <ldv@altlinux.org>
33065
33066 [BZ #11438]
33067 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
33068 to global scope.
33069 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
33070 addresses are in the same scope as 192.0.2/24.
33071 * posix/gai.conf: Document new scope table defaults.
33072
adb26fae
SP
330732012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33074
33075 [BZ #5298]
33076 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
33077 for ftell. Compute offsets from write pointers instead.
33078 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33079
4573c6b0
SP
330802012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33081
33082 [BZ #14543]
33083 * libio/Makefile (tests): New test case tst-fseek.
33084 * libio/tst-fseek.c: New test case to verify that fseek/ftell
33085 combination works in wide mode.
33086 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
33087 state when the external buffer state changes.
33088
aa9bbfe6
DM
330892012-09-27 David S. Miller <davem@davemloft.net>
33090
33091 [BZ #14376]
33092 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
33093 pass reloc->r_addend in as the 'high' argument to
33094 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
33095
784421e7
DM
33096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33097
c39bc8b8
PT
330982012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33099
33100 * rt/tst-aio2.c: Include <pthread.h>.
33101 * rt/tst-aio3.c: Likewise.
33102
1ccc2399
SE
331032012-09-27 Steve Ellcey <sellcey@mips.com>
33104
33105 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
33106
31ed4153
L
331072012-09-27 H.J. Lu <hongjiu.lu@intel.com>
33108
25f5f885
L
33109 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
33110 contents on [SHARED].
31ed4153 33111
b7bfe116
MP
331122012-09-26 Marek Polacek <polacek@redhat.com>
33113
33114 [BZ #14530]
33115 [BZ #13741]
33116 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
33117 for C++ and GCC <4.3 as well as for non GCC compilers.
33118
43c4edba
MT
331192012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
33120
33121 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33122
6a1bf82f
RM
331232012-09-25 Roland McGrath <roland@hack.frob.com>
33124
33125 * Makefile.in (all, install): Declare with .PHONY.
33126 Reported by Michael Hope <michael.hope@linaro.org>.
33127
8ad11b9a
TMQMF
331282012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33129
33130 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
33131 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
33132 system header.
33133 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
33134 Likewise.
33135 (sydep_routines): Add the new and the internal functions.
33136 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
33137 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
33138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
33139 (GLIBC_2.17): Add the new function.
33140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33141 (GLIBC_2.17): Likewise.
33142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
33143 (GLIBC_2.17): Likewise.
33144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
33145 (GLIBC_2.17): Likewise.
33146 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
33147
7e2fca8d
AM
331482012-09-25 Alan Modra <amodra@gmail.com>
33149
33150 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
33151 Add release barrier before setting once_control to say
33152 initialisation is done. Add hints on lwarx. Use macro in
33153 place of isync.
33154 (clear_once_control): Add release barrier.
33155
b87c4b24
JM
331562012-09-25 Joseph Myers <joseph@codesourcery.com>
33157
d032e0d2
JM
33158 [BZ #13629]
33159 * math/s_clog.c (__clog): Handle more values close to |z| = 1
33160 specially.
33161 * math/s_clog10.c (__clog10): Likewise.
33162 * math/s_clog10f.c (__clog10f): Likewise.
33163 * math/s_clog10l.c (__clog10l): Likewise.
33164 * math/s_clogf.c (__clogf): Likewise.
33165 * math/s_clogl.c (__clogl): Likewise.
33166 * math/Makefile (libm-calls): Add x2y2m1.
33167 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
33168 (__x2y2m1): Likewise.
33169 (__x2y2m1l): Likewise.
33170 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
33171 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
33172 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
33173 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
33174 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
33175 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
33176 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
33177 * sysdeps/i386/fpu/libm-test-ulps: Update.
33178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33179
b87c4b24
JM
33180 [BZ #14621]
33181 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
33182 int as type of variable DEPTH.
33183 (glob): Use size_t instead of int as type of variables NEWCOUNT
33184 and OLD_PATHC.
33185
6d3bf199
LD
331862012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33187
22bf5c17
LD
33188 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33189 Add s_sincosf-sse2.
33190 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
33191 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
33192 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
33193 macros for using routine as __sincosf_ia32.
33194 Use macro for function declaration and weak_alias.
33195 * sysdeps/i386/fpu/libm-test-ulps: Update.
33196
33197 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
33198 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33199
33200 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
33201 subnormal argument.
33202 * math/s_cexpf.c (__cexpf): Likewise.
33203 * math/s_csinf.c (__csinf): Likewise.
33204 * math/s_csinhf.c (__csinhf): Likewise.
33205 * math/s_ctanf.c (__ctanf): Likewise.
33206 * math/s_ctanhf.c (__ctanhf): Likewise.
33207 * math/s_ccosh.c (__ccoshf): Likewise.
33208 * math/s_cexp.c (__cexpl): Likewise.
33209 * math/s_csin.c (__csin): Likewise.
33210 * math/s_csinh.c (__csinh): Likewise.
33211 * math/s_ctan.c (__ctan): Likewise.
33212 * math/s_ctanh.c (ctanh): Likewise.
33213 * math/s_ccoshl.c (__ccoshl): Likewise.
33214 * math/s_cexpl.c (__cexpl): Likewise.
33215 * math/s_csinl.c (__csinl): Likewise.
33216 * math/s_csinhl.c (__csinhl): Likewise.
33217 * math/s_ctanl.c (__ctanl): Likewise.
33218 * math/s_ctanhl.c (__ctanhl): Likewise.
33219
203e5603
JM
332202012-09-25 Joseph Myers <joseph@codesourcery.com>
33221
33222 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
33223 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
33224 (_IO_off_t): Define to __off_t, not _G_off_t.
33225 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
33226 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
33227 (_IO_wint_t): Define to wint_t, not _G_wint_t.
33228 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
33229 type of __dummy and __dummy2 fields.
33230 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
33231 (_G_ssize_t): Likewise.
33232 (_G_off_t): Likewise.
33233 (_G_pid_t): Likewise.
33234 (_G_uid_t): Likewise.
33235 (_G_wchar_t): Likewise.
33236 (_G_wint_t): Likewise.
33237 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
33238 (_G_ssize_t): Likewise.
33239 (_G_off_t): Likewise.
33240 (_G_pid_t): Likewise.
33241 (_G_uid_t): Likewise.
33242 (_G_wchar_t): Likewise.
33243 (_G_wint_t): Likewise.
33244 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
33245 (_G_ssize_t): Likewise.
33246 (_G_off_t): Likewise.
33247 (_G_pid_t): Likewise.
33248 (_G_uid_t): Likewise.
33249 (_G_wchar_t): Likewise.
33250 (_G_wint_t): Likewise.
33251
9fab36eb
SP
332522012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33253
33254 * malloc/arena.c: Include malloc-sysdep.h.
33255 (shrink_heap): Use check_may_shrink_heap to decide if madvise
33256 is sufficient to shrink the heap or an unmap is needed.
33257 * sysdeps/generic/malloc-sysdep.h: New file. Define
33258 new function check_may_shrink_heap.
33259 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
33260 new function check_may_shrink_heap.
33261
2b4f00d1
SP
332622012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33263
33264 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
33265 comments.
33266
9a9028b1
DL
332672012-09-24 Dmitry V. Levin <ldv@altlinux.org>
33268
57c69bef
DL
33269 * catgets/test-gencat.sh: Add "set -e".
33270 * elf/tst-pathopt.sh: Likewise.
33271 * grp/tst_fgetgrent.sh: Likewise.
33272 * iconvdata/run-iconv-test.sh: Likewise.
33273 * intl/tst-gettext.sh: Likewise.
33274 * intl/tst-gettext2.sh: Likewise.
33275 * intl/tst-gettext4.sh: Likewise.
33276 * intl/tst-gettext6.sh: Likewise.
33277 * intl/tst-translit.sh: Likewise.
33278 * io/ftwtest-sh: Likewise.
33279 * libio/test-freopen.sh: Likewise.
33280 * malloc/tst-mtrace.sh: Likewise.
33281 * posix/globtest.sh: Likewise.
33282 * posix/tst-getconf.sh: Likewise.
33283 * posix/wordexp-tst.sh: Likewise.
33284 * stdio-common/tst-printf.sh: Likewise.
33285 * stdio-common/tst-unbputc.sh: Likewise.
33286 * stdlib/tst-fmtmsg.sh: Likewise.
33287 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33288 * catgets/Makefile: Do not specify -e option when running
33289 testsuite shell scripts.
33290 * elf/Makefile: Likewise.
33291 * grp/Makefile: Likewise.
33292 * iconvdata/Makefile: Likewise.
33293 * intl/Makefile: Likewise.
33294 * io/Makefile: Likewise.
33295 * libio/Makefile: Likewise.
33296 * malloc/Makefile: Likewise.
33297 * posix/Makefile: Likewise.
33298 * stdio-common/Makefile: Likewise.
33299 * stdlib/Makefile: Likewise.
33300 * sysdeps/x86_64/Makefile: Likewise.
33301
9a9028b1
DL
33302 * io/ftwtest-sh: Add copyright header.
33303 * posix/globtest.sh: Likewise.
33304 * posix/tst-getconf.sh: Likewise.
33305 * posix/wordexp-tst.sh: Likewise.
33306 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33307
ced6f16e
L
333082012-09-24 H.J. Lu <hongjiu.lu@intel.com>
33309
94b32c39
L
33310 [BZ #13679]
33311 * Makeconfig (+link): Defined as $(+link-static) if
33312 $(build-shared) isn't yes.
33313 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
33314 isn't yes.
33315 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
33316
189e935b
L
33317 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
33318
ced6f16e
L
33319 [BZ #14562]
33320 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
33321 new chunk size with MALLOC_ALIGN_MASK.
33322
a9f8e53a
JM
333232012-09-24 Joseph Myers <joseph@codesourcery.com>
33324
33325 [BZ #5044]
33326 * stdio-common/printf_fphex.c: Include <stdbool.h> and
33327 <rounding-mode.h>.
33328 (__printf_fphex): Determine rounding using get_rounding_mode and
33329 round_away.
33330 * stdio-common/tst-printf-round.c (struct hex_test): New
33331 structure.
33332 (hex_tests): New variable.
33333 (test_hex_in_one_mode): New function.
33334 (do_test): Also run tests for hex float output.
33335
43153109
JM
333362012-09-21 Joseph Myers <joseph@codesourcery.com>
33337
33338 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33339 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33340 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
33341 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33342 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33343 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
33344 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33345 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33346
8a26625d
JM
333472012-09-20 Joseph Myers <joseph@codesourcery.com>
33348
33349 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
33350 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
33351 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
33352 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
33353
f3fd569c
DL
333542012-09-19 Dmitry V. Levin <ldv@altlinux.org>
33355
33356 [BZ #14579]
33357 * elf/rtld.c (dl_main): Limit the check for self loading to normal
33358 mode only.
33359 * elf/tst-rtld-load-self.sh: New test.
33360 * elf/Makefile: Run it.
33361
63bbedd4
JM
333622012-09-18 Joseph Myers <joseph@codesourcery.com>
33363
33364 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
33365 (tst-writev-ENV): Remove.
33366 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
33367
626f8b6a
CM
333682012-09-17 Chris Metcalf <cmetcalf@tilera.com>
33369
33370 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
33371
b7aaa4d6
JM
333722012-09-17 Joseph Myers <joseph@codesourcery.com>
33373
33374 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
33375 unconditional.
33376 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
33377 Likewise.
33378 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
33379 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
33380 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
33381 Likewise.
33382
65513990
L
333832012-09-14 H.J. Lu <hongjiu.lu@intel.com>
33384
33385 [BZ #14587]
33386 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
33387 * config.make.in (have-cpp-asm-debuginfo): Removed.
33388 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
33389 * configure: Regenerated.
33390
784761be
JM
333912012-09-14 Joseph Myers <joseph@codesourcery.com>
33392
33393 [BZ #5044]
33394 * stdio-common/printf_fp.c: Include <stdbool.h> and
33395 <rounding-mode.h>.
33396 (___printf_fp): Determine rounding using get_rounding_mode and
33397 round_away.
33398 * stdio-common/tst-printf-round.c: New file.
33399 * stdio-common/Makefile (tests): Add tst-printf-round.
33400 (link-libm): New variable.
33401 ($(objpfx)tst-printf-round): Depend in $(link-libm).
33402
9503345f
L
334032012-09-13 H.J. Lu <hongjiu.lu@intel.com>
33404
33405 [BZ #14576]
33406 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
33407 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
33408 Likewise.
33409 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
33410 Likewise.
33411
ad35fc00
JM
334122012-09-13 Joseph Myers <joseph@codesourcery.com>
33413
33414 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
33415 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33416 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33417 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33418
6c9b0f68
JM
334192012-09-12 Joseph Myers <joseph@codesourcery.com>
33420
33421 [BZ #14518]
33422 * include/rounding-mode.h: New file.
33423 * sysdeps/generic/get-rounding-mode.h: Likewise.
33424 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
33425 * stdlib/strtod_l.c: Include <rounding-mode.h>.
33426 (MAX_VALUE): New macro.
33427 (MIN_VALUE): Likewise.
33428 (overflow_value): New function.
33429 (underflow_value): Likewise.
33430 (round_and_return): Use overflow_value and underflow_value to
33431 determine return values in overflow and underflow cases. Use
33432 round_away to determine rounding depending on rounding mode.
33433 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
33434 determine return values in overflow and underflow cases.
33435 * stdlib/tst-strtod-round.c: Include <fenv.h>.
33436 (struct test_results): New structure.
33437 (struct test): Use struct test_results to store expected results
33438 for all rounding modes.
33439 (TEST): Include expected results for all rounding modes.
33440 (test_in_one_mode): New function.
33441 (do_test): Use test_in_one_mode to compute and check results.
33442 Check results for all rounding modes.
33443 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
33444 $(link-libm).
33445
19fcedd5
AM
334462012-12-09 Allan McRae <allan@archlinux.org>
33447
1e9d84cd 33448 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 33449
8bbfd2f1
JM
334502012-09-11 Joseph Myers <joseph@codesourcery.com>
33451
33452 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
33453 (_G_int32_t): Likewise.
33454 (_G_uint16_t): Likewise.
33455 (_G_uint32_t): Likewise.
33456 (_G_HAVE_BOOL): Likewise.
33457 (_G_HAVE_ATEXIT): Likewise.
33458 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33459 (_G_HAVE_IO_FILE_OPEN): Likewise.
33460 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
33461 (_G_int32_t): Likewise.
33462 (_G_uint16_t): Likewise.
33463 (_G_uint32_t): Likewise.
33464 (_G_HAVE_BOOL): Likewise.
33465 (_G_HAVE_ATEXIT): Likewise.
33466 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33467 (_G_HAVE_IO_FILE_OPEN): Likewise.
33468 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
33469 (_G_int32_t): Likewise.
33470 (_G_uint16_t): Likewise.
33471 (_G_uint32_t): Likewise.
33472 (_G_HAVE_BOOL): Likewise.
33473 (_G_HAVE_ATEXIT): Likewise.
33474 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33475 (_G_HAVE_IO_FILE_OPEN): Likewise.
33476
b1dc5912
L
334772012-09-11 H.J. Lu <hongjiu.lu@intel.com>
33478
33479 * csu/libc-tls.c: Update copyright years.
33480
0e886ef9
JM
334812012-09-10 Joseph Myers <joseph@codesourcery.com>
33482
28361c5e
JM
33483 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
33484 [!_G_USING_THUNKS]: Remove conditional code.
33485 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
33486 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
33487
0e886ef9
JM
33488 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
33489 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
33490 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33491 (_G_VTABLE_LABEL_PREFIX): Likewise.
33492 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33493 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33494 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33495 (_G_VTABLE_LABEL_PREFIX): Likewise.
33496 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33497 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33498 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33499 (_G_VTABLE_LABEL_PREFIX): Likewise.
33500 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33501
bcba7aa2
L
335022012-09-10 H.J. Lu <hongjiu.lu@intel.com>
33503
33504 * libio/Makefile: Include ../Makeconfig before tests.
33505 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
33506 only if $(build-shared) is yes.
33507
06585ee8
L
33508 * iconv/gconv_db.c: Update copyright years.
33509
80ccd52c
LD
335102012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33511
33512 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
33513 unwind info if defined PIC. Fix special cases description.
33514 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
33515
33516 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
33517 DP_HI_MASK entry.
33518 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
33519
691bc9c1
L
335202012-09-07 H.J. Lu <hongjiu.lu@intel.com>
33521
3d9b46b3
L
33522 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
33523
de2139a9
L
33524 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
33525 is NULL.
33526
5ca78dd0
L
33527 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
33528 (LDLIBS-tst-chk4): This.
33529 (LDFLAGS-tst-chk5): Renamed to ...
33530 (LDLIBS-tst-chk5): This.
33531 (LDFLAGS-tst-chk6): Renamed to ...
33532 (LDLIBS-tst-chk6): This.
33533 (LDFLAGS-tst-lfschk4): Renamed to ...
33534 (LDLIBS-tst-lfschk4): This.
33535 (LDFLAGS-tst-lfschk5): Renamed to ...
33536 (LDLIBS-tst-lfschk5): This.
33537 (LDFLAGS-tst-lfschk6): Renamed to ...
33538 (LDLIBS-tst-lfschk6): This.
33539
691bc9c1
L
33540 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
33541 on $(common-objpfx)soversions.mk.
33542
65cafb1c
JM
335432012-09-07 Joseph Myers <joseph@codesourcery.com>
33544
33545 [BZ #10014]
33546 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
33547 example host name.
33548
c78ab094
SP
335492012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
33550
33551 * malloc/arena.c (arena_get_retry): New function that gets
33552 another arena for the caller to try its request on.
33553 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
33554 current arena cannot fulfill the request.
33555 (__libc_memalign): Likewise.
33556 (__libc_memalign): Likewise.
33557 (__libc_pvalloc): Likewise.
33558 (__libc_calloc): Likewise.
33559
01f49f59
JT
335602012-09-05 John Tobey <john.tobey@gmail.com>
33561
33562 [BZ #13542]
33563 * manual/arith.texi (Operations on Complex): Fix description
33564 of carg branch cut.
33565
4c23fed5
JM
335662012-09-06 Joseph Myers <joseph@codesourcery.com>
33567
1d3c8572
JM
33568 [BZ #10014]
33569 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
33570 host name.
33571
4c23fed5
JM
33572 [BZ #10038]
33573 * manual/memory.texi (Memory): Make order of menu items match
33574 order of sections.
33575
04570aaa
L
335762012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33577
33578 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
33579 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
33580 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
33581
b80af2f4
L
335822012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33583
33584 * csu/libc-tls.c (static_dtv): Renamed to ...
33585 (_dl_static_dtv): This. Make it global.
33586 (_dl_initial_dtv): Removed.
33587 (__libc_setup_tls): Updated.
33588 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
33589 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
33590 DL_INITIAL_DTV.
33591
2abe9f15
PM
335922012-09-06 Petr Machata <pmachata@redhat.com>
33593
33594 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
33595 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
33596 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
33597 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
33598
0948c3af
L
335992012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33600
33601 [BZ #14545]
33602 * csu/libc-tls.c (_dl_initial_dtv): New variable.
33603 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
33604 freeing dtv[-1].
33605
a5055ad1
L
336062012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33607
33608 [BZ #14544]
33609 * Makeconfig (link-static-before-libc): Replace $(+prector)
33610 with $(+prectorT).
33611 (link-static-after-libc): Replace $(+postctor) with
33612 $(+postctorT).
33613 (link-bounded): Replace $(+prector)/$(+postctor) with
33614 $(+prectorT)/$(+postctorT).
33615 (+prectorT): New macro.
33616 (+postctorT): Likewise.
33617
ed8c2ecd
JM
336182012-09-06 Joseph Myers <joseph@codesourcery.com>
33619
33620 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
33621 (round_str): Handle values above the maximum for IBM long double
33622 as inexact.
33623 * stdlib/tst-strtod-round.c (tests): Regenerated.
33624
14c996c8
AK
336252012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33626
33627 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
33628 assembler flag.
33629 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
33630 zarch_nohighgprs around the zarch optimized routines.
33631 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
33632 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
33633 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
33634 for zarch.
33635
430d6ce6
DM
336362012-09-05 David S. Miller <davem@davemloft.net>
33637
33638 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33639
57f41c40
AS
33640 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
33641 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
33642 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
33643 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33644 entries.
33645
24d4e01b
AO
336462012-09-05 Alexandre Oliva <aoliva@redhat.com>
33647
33648 * malloc/arena.c: Fold copyright years.
33649 * malloc/mcheck.c, malloc/memusage.c: Likewise.
33650
61d58174
AO
336512012-09-05 Alexandre Oliva <aoliva@redhat.com>
33652
33653 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
33654
20196a5e
AO
336552012-09-05 Alexandre Oliva <aoliva@redhat.com>
33656
33657 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
33658
5c447383
AO
336592012-09-05 Alexandre Oliva <aoliva@redhat.com>
33660
33661 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
33662 change internal state upon failure.
33663
fad64255
AO
336642012-09-05 Alexandre Oliva <aoliva@redhat.com>
33665
33666 * malloc/mcheck.c (mcheck_check_all): Fix typo.
33667 * malloc/memusage.c (mmap): Likewise.
33668 (mmap64, mremap): Likewise. Adjust name in comment.
33669
1ffb8c90
SP
336702012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33671
33672 * libio/fileops.c: Fix typos in comments.
33673 * libio/oldfileops.c: Likewise.
33674 * libio/wfileops.c: Likewise.
33675
6ef9cc37
SP
336762012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33677
33678 [BZ #1349]
33679 * malloc/Makefile (tests): Add tst-malloc-usable test case.
33680 (tst-malloc-usable-ENV): Set environment for test case.
33681 * malloc/hooks.c (malloc_check_get_size): New function to get
33682 requested size.
33683 * malloc/malloc.c (musable): Use malloc_check_get_size.
33684 * malloc/tst-malloc-usable.c: New test case.
33685
4d038ae3
AS
336862012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33687
33688 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
33689
c4e85184
AM
336902012-09-05 Allan McRae <allan@archlinux.org>
33691
b9dafc56 33692 [BZ #13966]
c4e85184
AM
33693 * configure.in (CXX_SYSINCLUDES): Use compiler output to
33694 determine header location.
33695 * configure: Regenerated.
33696
e1343020
AS
336972012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33698
33699 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
33700 float format.
33701 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
33702 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
33703 format.
e1343020
AS
33704 (test): Regenerate.
33705
0a9f1987
DM
337062012-09-04 David S. Miller <davem@davemloft.net>
33707
33708 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
33709 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
33710 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
33711
29237804
FW
337122012-09-04 Florian Weimer <fweimer@redhat.com>
33713
33714 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
33715 failures.
33716
edb3cb88
FW
33717 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
33718
60160d83
JM
337192012-09-04 Joseph Myers <joseph@codesourcery.com>
33720
33721 [BZ #9914]
33722 * libio/iogetdelim.c: Include <limits.h>.
33723 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
33724 + len + 1 would overflow.
33725
bcd6c8dc
AJ
337262012-09-03 Andreas Jaeger <aj@suse.de>
33727
33728 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33729 * sysdeps/i386/fpu/libm-test-ulps: Update.
33730
4ffffbd2
LD
337312012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33732
33733 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33734 Add s_sinf-sse2, s_conf-sse2.
33735
33736 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
33737 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
33738 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
33739 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
33740
33741 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
33742 for using routine as __sinf_ia32.
33743 Use macro for function declaration and weak_alias.
33744 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
33745 for using routine as __cosf_ia32.
33746 Use macro for function declaration and weak_alias.
33747
33748 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
33749 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
33750
33751 * sysdeps/x86_64/fpu/s_sinf.S: New file.
33752 * sysdeps/x86_64/fpu/s_cosf.S: New file.
33753 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33754
33755 * math/libm-test.inc (cos_test): Add more test cases.
33756 (sin_test): Likewise.
33757 (sincos_test): Likewise.
33758
511fa286
AK
337592012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33760
33761 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33762 (IFUNC_RESOLVE): Make pointers to the specialized implementations
33763 hidden.
33764 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33765
5f30cfec
L
337662012-09-02 H.J. Lu <hongjiu.lu@intel.com>
33767
33768 [BZ #14538]
33769 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
33770 first element of the GOT.
33771 (elf_machine_load_address): Return the difference between
33772 the runtime address of _DYNAMIC and elf_machine_dynamic ().
33773
0786794f
AM
337742012-09-01 Allan McRae <allan@archlinux.org>
33775
5f30cfec
L
33776 [BZ #13412]
33777 * configure.in (AWK): Require gawk version 3.0 or later.
33778 * configure: Regenerated.
0786794f 33779
26889eac
JM
337802012-09-01 Joseph Myers <joseph@codesourcery.com>
33781
33782 * sysdeps/unix/sysv/linux/kernel-features.h
33783 (__ASSUME_POSIX_CPU_TIMERS): Remove.
33784 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33785 [__NR_clock_getres]: Make code unconditional.
33786 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
33787 (clock_getcpuclockid): Remove code left unreachable by removal of
33788 conditionals.
33789 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
33790 code unconditional.
33791 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33792 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33793 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
33794 Make code unconditional.
33795 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33796 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33797 * sysdeps/unix/sysv/linux/clock_settime.c
33798 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
33799 conditional code.
33800 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
33801 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33802
d22e28b0
L
338032012-08-29 H.J. Lu <hongjiu.lu@intel.com>
33804
33805 [BZ #14476]
33806 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
33807 scripts/test-installation.pl.
33808
33809 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
33810 and $ld_so_version if it is set.
33811
050af9c4
SP
338122012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33813
33814 [BZ #14516]
33815 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
33816 failure if reading from procfs failed.
33817 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
33818
ad845c0b
JM
338192012-08-27 Joseph Myers <joseph@codesourcery.com>
33820
33821 * sysdeps/unix/sysv/linux/kernel-features.h
33822 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
33823 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33824 Remove conditional code.
33825 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33826 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
33827 Remove conditional code.
33828 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33829 * sysdeps/unix/sysv/linux/i386/fxstat.c
33830 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33831 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33832 * sysdeps/unix/sysv/linux/i386/fxstatat.c
33833 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33834 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33835 * sysdeps/unix/sysv/linux/i386/lxstat.c
33836 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33837 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33838 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
33839 Remove conditional code.
33840 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33841 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33842 Remove conditional code.
33843 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33844 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
33845 <kernel-features.h>.
33846 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
33847 Remove.
33848 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
33849 Remove conditional code.
33850 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33851 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
33852 Remove conditional.
33853
5dbf56af
MF
338542012-08-27 Mike Frysinger <vapier@gentoo.org>
33855
33856 [BZ #5400]
33857 * NEWS: Add fixed bug number.
33858
d6e70f43
JM
338592012-08-27 Joseph Myers <joseph@codesourcery.com>
33860
7efb4737
JM
33861 [BZ #14519]
33862 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
33863 underflowing exponent in case of negative sign.
33864 * stdlib/tst-strtod-round-data: Add more tests.
33865 * stdlib/tst-strtod-round.c (tests): Regenerated.
33866
af92131a
JM
33867 [BZ #3479]
33868 * stdlib/strtod_l.c (NDIG): Remove.
33869 (HEXNDIG): Likewise.
33870 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
33871 smallest representable value.
33872 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
33873 lie within an exact representation of 1/2 ulp of the result.
33874 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
33875 unconditionally.
33876 (TENS_P9_IDX): Define unconditionally.
33877 (TENS_P9_SIZE): Likewise.
33878 (TENS_P10_IDX): Likewise.
33879 (TENS_P10_SIZE): Likewise.
33880 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
33881 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
33882 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
33883 entries for 10^2^13 and 10^2^14.
33884 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
33885 (TENS_P13_IDX): Define.
33886 (TENS_P13_SIZE): Likewise.
33887 (TENS_P14_IDX): Likewise.
33888 (TENS_P14_SIZE): Likewise.
33889 (_fpioconst_pow10): Change array size to
33890 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
33891 unconditional.
33892 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
33893 1024]: Add entries for 10^2^13 and 10^2^14.
33894 [LAST_POW10 > _LAST_POW10]: Remove #error.
33895 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
33896 (_fpioconst_pow10): Change array size to
33897 FPIOCONST_POW10_ARRAY_SIZE.
33898 * stdlib/gen-fpioconst.c: New file.
33899 * stdlib/gen-tst-strtod-round.c: Likewise.
33900 * stdlib/tst-strtod-round-data: Likewise.
33901 * stdlib/tst-strtod-round.c: Likewise.
33902 * stdlib/Makefile (tests): Add tst-strtod-round.
33903
d6e70f43
JM
33904 [BZ #14459]
33905 * stdlib/strtod_l.c: Include <stdint.h>.
33906 (NDEBUG): Do not define.
33907 (round_and_return): Change EXPONENT parameter to type intmax_t.
33908 Rearrange calculations to avoid internal overflow possibilities.
33909 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33910 Rearrange calculations to avoid internal overflow possibilities.
33911 Assert that number fits inside MPNSIZE limbs.
33912 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33913 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
33914 calculations and add assertions to avoid internal overflow
33915 possibilities. Add casts to avoid signed/unsigned operations.
33916 * stdlib/tst-strtod-overflow.c: New file.
33917 * stdlib/Makefile (tests): Add tst-strtod-overflow.
33918
1f529f7d
MP
339192012-08-25 Marek Polacek <polacek@redhat.com>
33920
33921 * time/time.h: Fix some typos in comments.
33922
59a629f1
RM
339232012-08-23 Roland McGrath <roland@hack.frob.com>
33924
33925 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33926 * posix/tst-rfc3484-2.c: Likewise.
33927 * posix/tst-rfc3484-3.c: Likewise.
33928
d3bafbc9
SM
339292012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
33930
33931 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33932 (EF_ARM_ABI_FLOAT_HARD): Likewise.
33933
4efcc022
JM
339342012-08-23 Joseph Myers <joseph@codesourcery.com>
33935
33936 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33937 #include of fxstatat64.c.
33938
3cc3ef96
RM
339392012-08-22 Roland McGrath <roland@hack.frob.com>
33940
f04e2132
RM
33941 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33942 * shadow/getspent_r.c: Likewise.
33943 * shadow/getspnam.c: Likewise.
33944 * shadow/getspnam_r.c: Likewise.
33945 * gshadow/getsgent.c: Likewise.
33946 * gshadow/getsgent_r.c: Likewise.
33947 * gshadow/getsgnam.c: Likewise.
33948 * gshadow/getsgnam_r.c: Likewise.
33949 * inet/getnetbyad.c: Likewise.
33950 * inet/getnetbyad_r.c: Likewise.
33951 * inet/getnetbynm.c: Likewise.
33952 * inet/getnetbynm_r.c: Likewise.
33953 * inet/getnetent.c: Likewise.
33954 * inet/getnetent_r.c: Likewise.
33955 * inet/getproto.c: Likewise.
33956 * inet/getproto_r.c: Likewise.
33957 * inet/getprtent.c: Likewise.
33958 * inet/getprtent_r.c: Likewise.
33959 * inet/getprtname.c: Likewise.
33960 * inet/getprtname_r.c: Likewise.
33961 * inet/getrpcbyname.c: Likewise.
33962 * inet/getrpcbyname_r.c: Likewise.
33963 * inet/getrpcbynumber.c: Likewise.
33964 * inet/getrpcbynumber_r.c: Likewise.
33965 * inet/getrpcent.c: Likewise.
33966 * inet/getrpcent_r.c: Likewise.
33967 * inet/getaliasent.c: Likewise.
33968 * inet/getaliasent_r.c: Likewise.
33969 * inet/getaliasname.c: Likewise.
33970 * inet/getaliasname_r.c: Likewise.
33971 * nscd/getgrgid_r.c: Likewise.
33972 * nscd/getgrnam_r.c: Likewise.
33973 * nscd/gethstbyad_r.c: Likewise.
33974 * nscd/gethstbynm3_r.c: Likewise.
33975 * nscd/getpwnam_r.c: Likewise.
33976 * nscd/getpwuid_r.c: Likewise.
33977 * nscd/getsrvbynm_r.c: Likewise.
33978 * nscd/getsrvbypt_r.c: Likewise.
33979 * nscd/gai.c: Likewise.
33980
c53d909c
RM
33981 * configure.in (build_nscd): New substituted variable, set
33982 by --disable-build-nscd and defaults to $use_nscd.
33983 * configure: Regenerated.
33984 * config.make.in (build-nscd): New substituted variable.
33985 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33986 Change conditional to require [$(build-nscd) = yes] as well.
33987 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33988
3cc3ef96
RM
33989 [BZ# 13696]
33990 * configure.in (use_nscd): New substituted variable, set by
33991 --disable-nscd. If enabled, define USE_NSCD.
33992 * configure: Regenerated.
33993 * config.h.in: Add USE_NSCD.
33994 * config.make.in (use-nscd): New substituted variable.
33995 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33996 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33997 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33998 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33999 (CFLAGS-getgrnam_r.c): Likewise.
34000 (CFLAGS-initgroups.c): Likewise.
34001 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
34002 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
34003 Variables removed.
34004 * inet/getnetgrent_r.c
34005 (nscd_setnetgrent): New function, broken out of ...
34006 (setnetgrent): ... here. Call it.
34007 (innetgr): Conditionalize nscd bits on [USE_NSCD].
34008 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
34009 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
34010 * nscd/Makefile (routines, aux): Move definitions after include of
34011 Makeconfig. Conditionalize on [$(use-nscd) != no].
34012 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
34013 Conditionalize on [USE_NSCD].
34014 (is_nscd, nscd_init_cb): Likewise.
34015 (nss_load_library): Conditionalize init callback on [USE_NSCD].
34016 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
34017 * nss/nss_db/db-init.c: Likewise.
34018 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
34019 [USE_NSCD].
34020 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
34021 (make_request): Use it.
34022 (cache_valid_p): New function.
34023 (__check_pf): Use it.
34024 * NEWS: Add item for --disable-nscd.
34025
07e51550
DL
340262012-08-22 Dmitry V. Levin <ldv@altlinux.org>
34027
34028 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
34029 to support sed >= 4.2.1-20-ga9bf076.
34030 * configure: Regenerated.
34031
35a5b08b
RM
340322012-08-22 Roland McGrath <roland@hack.frob.com>
34033
34034 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
34035 Conditionalize whole body on [IREL].
34036
8479f23a
JL
340372012-08-22 Jeff Law <law@redhat.com>
34038
34039 [BZ #14505]
34040 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
34041 if the family is PF_UNSPEC.
34042
48da0b21
MF
340432012-08-22 Mike Frysinger <vapier@gentoo.org>
34044
34045 * Makerules (lib-version): Rename from V.
34046 (install-lib-nosubdir): Change V to lib-version.
34047
15d0da8c
WS
340482012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
34049
34050 [BZ #14252]
34051 * powerpc32/power6/wcschr.c: New file.
34052 * powerpc32/power6/wcscpy.c: New file.
34053 * powerpc32/power6/wcsrchr.c: New file.
34054 * powerpc64/power6/wcschr.c: New file.
34055 * powerpc64/power6/wcscpy.c: New file.
34056 * powerpc64/power6/wcsrchr.c: New file.
34057
bcca0895
MK
340582012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
34059
34060 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
34061 (two_way_short_needle): Use it.
5a4aaa33
RM
34062 * string/strstr.c (AVAILABLE1_USES_J): Define.
34063 * string/strcasestr.c: Likewise.
99677e57
MK
34064
34065 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
34066 array references.
34067 * string/strcasestr.c (TOLOWER): Make side-effect safe.
34068
400726de
MK
34069 [BZ #11607]
34070 * NEWS: Add an entry.
34071 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
34072 define their defaults.
34073 (two_way_short_needle): Detect end-of-string on-the-fly.
34074 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
34075 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
34076 * string/bug-strcasestr1.c: New test.
34077 * string/Makefile: Run it.
34078
20a71f2c
MK
340792012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
34080
34081 [BZ #11607]
34082 * string/str-two-way.h (two_way_short_needle): Optimize matching of
34083 the first character.
34084
21ad0558
RM
340852012-08-21 Roland McGrath <roland@hack.frob.com>
34086
34087 * csu/elf-init.c (__libc_csu_irel): Function removed.
34088 * csu/libc-start.c (apply_irel): New function.
34089 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
34090
0e1d9911
JM
340912012-08-21 Joseph Myers <joseph@codesourcery.com>
34092
34093 * sysdeps/unix/sysv/linux/kernel-features.h
34094 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
34095 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
34096 <kernel-features.h>.
34097 [__NR_fadvise64_64]: Make code unconditional.
34098 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
34099 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34100 !__NR_fadvise64_64)]: Likewise.
34101 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34102 !__NR_fadvise64_64))]: Likewise.
34103 [__NR_fadvise64]: Make code unconditional.
34104 [!__NR_fadvise64]: Remove conditional code.
34105 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
34106 <kernel-features.h>.
34107 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34108 unconditional.
34109 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34110 conditional code.
34111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
34112 not include <kernel-features.h>.
34113 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34114 unconditional.
34115 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34116 conditional code.
34117 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
34118 include <kernel-features.h>.
34119 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34120 unconditional.
34121 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34122 conditional code.
34123
14a50c9d
WS
341242012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
34125
34126 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
34127 slight instruction rearrangements per scrollpipe analysis.
34128 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34129
c0f4faf0
RM
341302012-08-20 Roland McGrath <roland@hack.frob.com>
34131
696da859
RM
34132 * manual/syslog.texi (syslog; vsyslog, closelog):
34133 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
34134 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
34135
c0f4faf0
RM
34136 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
34137 DSOCAPS to match condition on defining it.
34138
348363b2
JM
341392012-08-20 Joseph Myers <joseph@codesourcery.com>
34140
a35cbf28
JM
34141 * sysdeps/unix/sysv/linux/kernel-features.h
34142 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
34143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
34144 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34145 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
34147 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34148 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
34150 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34151 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34152
445f7ecd
JM
34153 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
34154 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
34155
348363b2
JM
34156 * sysdeps/unix/sysv/linux/kernel-features.h
34157 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
34158 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
34159 unconditional.
34160 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34161 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
34162 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34163 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34164 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
34165 Make code unconditional.
34166 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34167 (__mmap64) [!__NR_mmap2]: Likewise.
34168 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
34169 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34170 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34171 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
34172 [__NR_mmap2]: Make code unconditional.
34173 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34174 (__mmap64) [!__NR_mmap2]: Likewise.
34175
bc5bc0e5
AK
341762012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34177
34178 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
34179
88d506de
AJ
341802012-08-18 Andreas Jaeger <aj@suse.de>
34181
34182 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
34183
493387d2
MF
341842012-08-18 Mike Frysinger <vapier@gentoo.org>
34185
34186 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
34187 * include/unistd.h (__have_sock_cloexec): Likewise.
34188 (__have_pipe2): Likewise.
34189 (__have_dup3): Likewise.
34190
a277af22
MF
341912012-08-18 Mike Frysinger <vapier@gentoo.org>
34192
34193 [BZ #9685]
34194 * include/unistd.h (__have_pipe2): Change define into an extern int.
34195 (__have_dup3): Likewise.
34196 * socket/have_sock_cloexec.c: Include fcntl.h.
34197 (__have_pipe2): New variable.
34198 (__have_dup3): Likewise.
34199
fdab8fd3
MF
342002012-08-17 Mike Frysinger <vapier@gentoo.org>
34201
34202 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
34203
31035e80
MP
342042012-08-17 Marek Polacek <polacek@redhat.com>
34205
34206 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
34207 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
34208
3bd9e993
RM
342092012-08-17 Roland McGrath <roland@hack.frob.com>
34210
c91c505f
RM
34211 * configure.in: Add AC_SUBST for sysheaders.
34212 * configure: Regenerated.
34213 * config.make.in (sysheaders): New substituted variable.
34214
7c6f9d53
RM
34215 * sysdeps/unix/mkfifo.c: Moved ...
34216 * sysdeps/posix/mkfifo.c: ... here.
34217 * sysdeps/unix/mkfifoat.c: Moved ...
34218 * sysdeps/posix/mkfifoat.c: ... here.
34219
34220 * sysdeps/unix/utime.c: Moved ...
34221 * sysdeps/posix/utime.c: ... here.
34222
34223 * sysdeps/unix/time.c: Moved ...
34224 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
34225 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
34226 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
34227
34228 * sysdeps/unix/nice.c: Moved ...
34229 * sysdeps/posix/nice.c: ... here.
34230
34231 * sysdeps/unix/alarm.c: Moved ...
34232 * sysdeps/posix/alarm.c: ... here.
34233
3bd9e993
RM
34234 * intl/Makefile ($(codeset_mo)): Depend on the input file.
34235
d1f09384
JL
342362012-08-17 Jeff Law <law@redhat.com>
34237
34238 * intl/Makefile (codeset_mo): New variable.
34239 ($(codeset_mo)): New target.
34240 (tst-codeset.out): Depend on that. Remove explicit rule.
34241 (tst-gettext3.out, tst-gettext5.out): Likewise.
34242 (LOCPATH-ENV, tst-codeset-ENV): New variables.
34243 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
34244 * intl/tst-codeset.sh: Remove.
34245 * intl/tst-gettext3.sh: Likewise.
34246 * intl/tst-gettext5.sh: Likewise.
34247
2ae1ae5c
RM
342482012-08-17 Roland McGrath <roland@hack.frob.com>
34249
c31fdb83
RM
34250 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
34251 * sysdeps/unix/syscalls.list: ... here.
34252
a0844057
RM
34253 * sysdeps/posix/getaddrinfo.c
34254 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
34255 (gaiconf_init, gaiconf_reload): Use them.
34256 [!_STATBUF_ST_NSEC]
34257 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
34258 Define using time_t rather than struct timespec.
34259
750c1f2a
RM
34260 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
34261 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
34262 Macros removed.
34263 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
34264 [!NO_THREADS].
34265 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
34266 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
34267 Likewise.
34268
2ae1ae5c
RM
34269 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
34270 __libc_cleanup_push argument.
34271
e66a42f5
RM
34272 * bits/param.h: New file.
34273 * misc/sys/param.h: New file.
34274 * include/sys/param.h: New file.
34275 * misc/Makefile (headers): Add bits/param.h.
34276 * sysdeps/generic/sys/param.h: File removed.
34277 * sysdeps/unix/sysv/linux/bits/param.h: New file.
34278 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
34279 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 34280 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 34281
b7c08a66
RM
34282 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
34283 last change.
34284
b2e1c562
RM
34285 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
34286 [_IO_MTSAFE_IO].
34287 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
34288 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
34289 New macros.
34290
c75ccd4c
RM
34291 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
34292 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
34293 rather than -D_IO_MTSAFE_IO conditionally.
34294 * stdio-common/Makefile (CPPFLAGS): Likewise.
34295 * wcsmbs/Makefile (CPPFLAGS): Likewise.
34296 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
34297 Use $(libio-mtsafe).
34298 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
34299 of -D_IO_MTSAFE_IO.
34300 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
34301 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
34302 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
34303 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
34304 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
34305 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
34306 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
34307 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
34308 (CFLAGS-fread_u_chk.c): Likewise.
34309 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
34310 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
34311 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
34312 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
34313 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
34314 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
34315 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
34316 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
34317 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
34318
34319 * libio/Makefile: Test [$(libc-reentrant) = yes]
34320 instead of [$(filter %REENTRANT, $(defines)) nonempty].
34321
34322 * Makeconfig
34323 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
34324 * sysdeps/pthread/configure: File removed.
34325 * sysdeps/pthread/Makeconfig: New file.
34326 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
34327 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
34328
d9195db8
GB
343292012-08-16 Gary Benson <gbenson@redhat.com>
34330
34331 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
34332 unmapping the first object in a namespace.
34333
86466cd9
RM
343342012-08-16 Roland McGrath <roland@hack.frob.com>
34335
34336 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
34337 (__internal_setnetgrent): ... this. Add internal_function to
34338 definition. Add libc_hidden_def.
34339 (setnetgrent): Update caller.
34340 (internal_endnetgrent): Renamed to ...
34341 (__internal_endnetgrent): ... this. Add internal_function to
34342 definition. Add libc_hidden_def.
34343 (endnetgrent): Update caller.
34344 (internal_getnetgrent_r): Renamed to ...
34345 (__internal_getnetgrent_r): ... this. Add internal_function to
34346 definition. Add libc_hidden_def.
34347 (__getnetgrent_r): Update caller.
34348 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
34349
c3c8283c
JM
343502012-08-16 Joseph Myers <joseph@codesourcery.com>
34351
34352 * stdlib/longlong.h: Update from GCC.
34353
db1ee0a8
RM
343542012-08-16 Roland McGrath <roland@hack.frob.com>
34355
34356 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
34357 on _QL, which is set by umul_ppmm but never used.
34358 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
34359 variables, which are set by GMP macros but never used.
34360 * stdio-common/_itowa.c (_itowa): Likewise.
34361 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
34362 * stdlib/mod_1.c (mpn_mod_1): Likewise.
34363
30f69637
CD
343642012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
34365
34366 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
34367 struct La_sh_regs is not constant.
34368 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
34369 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
34370 and struct La_sparc64_regs are not constant.
34371
93a78ac4
JM
343722012-08-16 Joseph Myers <joseph@codesourcery.com>
34373
34374 * sysdeps/unix/sysv/linux/kernel-features.h
34375 (__ASSUME_POSIX_TIMERS): Remove.
34376 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34377 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34378 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
34379 Make code unconditional.
34380 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34381 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
34382 Make code unconditional.
34383 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34384 * sysdeps/unix/sysv/linux/clock_nanosleep.c
34385 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
34386 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34387 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
34388 Make code unconditional.
34389 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34390 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
34391 (__libc_missing_posix_timers): Remove.
34392
dd924cd7
RM
343932012-08-15 Roland McGrath <roland@hack.frob.com>
34394
4b4f2771
RM
34395 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
34396 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
34397
601c888b
RM
34398 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
34399
176790a7
RM
34400 * elf/dl-sym.c: Include <stdlib.h>.
34401
329bc018
RM
34402 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
34403 constants, which avoids warnings in 32-bit builds.
34404
e04e272d
RM
34405 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
34406 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
34407
952bf94a
RM
34408 * misc/lseek.c: File moved to ...
34409 * io/lseek.c: ... here.
34410
7c99b50a
RM
34411 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
34412
dd924cd7
RM
34413 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
34414 shifting LEN more than 31 bits at once.
34415
b3f479a8
LD
344162012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34417
34418 [BZ #14195]
8c4ae0d4
RM
34419 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
34420 segmentation fault for a case of two empty input strings.
b3f479a8
LD
34421 * string/test-strncasecmp.c (check1): Renamed to...
34422 (bz12205): ...this.
34423 (bz14195): Add new testcase for two empty input strings and N > 0.
34424 (test_main): Call new testcase, adapt for renamed function.
34425
9c55864e
AJ
344262012-08-15 Andreas Jaeger <aj@suse.de>
34427
34428 [BZ #14090]
34429 * crypt/md5test2.c: New test, based on test supplied by Serge
34430 Belyshev <belyshev@depni.sinp.msu.ru>.
34431 * crypt/Makefile (xtests): Add md5test-giant..
34432 * crypt/Makefile ($(objpfx)md5test-giant): Add.
34433
02dcb6c5
PE
344342012-08-15 Paul Eggert <eggert@cs.ucla.edu>
34435
34436 [BZ #14090]
34437 * crypt/md5.c (md5_process_block): Don't assume the buffer
34438 length is less than 2**32.
34439 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
34440 length is less than 2**64.
34441
a3f95dcc
RM
344422012-08-15 Roland McGrath <roland@hack.frob.com>
34443
be75d758
RM
34444 * string/str-two-way.h: Include <sys/param.h>.
34445 (MAX): Macro removed.
34446
7312ca90
RM
34447 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
34448 Move #define and #undef of memmove to just before and after
34449 including <string.h>.
34450
9a0a5486
RM
34451 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
34452 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
34453 and after including <string.h>. Move declarations of
34454 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
34455 to before #include "string/memmove.c".
34456
67cc348d
RM
34457 * include/dirent.h: Declare __getdirentries.
34458
a3f95dcc
RM
34459 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
34460 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
34461
ca98e171
MF
344622012-08-14 Mike Frysinger <vapier@gentoo.org>
34463
34464 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
34465 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
34466 * sysdeps/i386/configure: Regenerated.
34467 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
34468 STABS_CURRENT_FILE, and STABS_FUN.
34469 (END): Remove call to STABS_FUN_END.
34470 (STABS_CURRENT_FILE1): Delete.
34471 (STABS_CURRENT_FILE): Likewise.
34472 (STABS_FUN): Likewise.
34473 (STABS_FUN_END): Likewise.
34474 (STABS_FUN2): Likewise.
34475 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
34476 * sysdeps/x86_64/configure: Regenerated.
34477
5908bf46
RM
344782012-08-14 Roland McGrath <roland@hack.frob.com>
34479
34480 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 34481 * elf/dl-lookup.c: Likewise.
5908bf46 34482
f2c05b9e
JM
344832012-08-14 Joseph Myers <joseph@codesourcery.com>
34484
34485 * sysdeps/unix/sysv/linux/kernel-features.h
34486 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
34487 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
34488 unconditionally.
34489 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
34490 unconditionally.
34491 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
34492 condition on __ASSUME_CLONE_THREAD_FLAGS.
34493
e11f5155
AJ
344942012-08-14 Andreas Jaeger <aj@suse.de>
34495
34496 * sysdeps/i386/fpu/libm-test-ulps: Update.
34497
51a9ba86
MK
344982012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
34499
2fdd4f78
AJ
34500 * include/atomic.h (atomic_exchange_and_add): Split into ...
34501 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
34502 New atomic macros.
51a9ba86 34503
ba6cba9e
MT
345042012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
34505
34506 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34507
42443a47
JL
345082012-08-13 Jeff Law <law@redhat.com>
34509
34510 * manual/stdio.texi (snprintf): Clarify handling of the trailing
34511 null byte in the output string.
34512
121dce05
JM
345132012-08-10 Joseph Myers <joseph@codesourcery.com>
34514
34515 * sysdeps/unix/sysv/linux/kernel-features.h
34516 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
34517 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
34518 (__ASSUME_ARG_MAX_STACK_BASED): Define.
34519 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34520 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
34521 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
34522 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
34523
bf51f568
JL
345242012-08-09 Jeff Law <law@redhat.com>
34525
34526 [BZ #13939]
34527 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
34528 When avoid_arena is set, don't retry in the that arena. Pick the
34529 next one, whatever it might be.
34530 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
34531 (arena_lock): Pass in new parameter to arena_get2.
34532 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
34533 arena_get2.
34534 (__libc_malloc): Unify retrying after main arena failure with
34535 __libc_memalign version.
34536 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
34537
f85fa270
L
345382012-08-09 H.J. Lu <hongjiu.lu@intel.com>
34539
34540 [BZ #14166]
34541 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
34542 to __redirect_strstr.
34543 (__strstr_sse42): Use typeof __redirect_strstr.
34544 (__strstr_ia32): Likewise.
34545 (__libc_strstr): New prototype.
34546 (strstr): Renamed to ...
34547 (__libc_strstr): This.
34548 (strstr): New strong alias of __libc_strstr.
34549 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34550 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
34551 __redirect_time.
34552 Include <time.h>.
34553 (__libc_time): New prototype.
34554 (time_ifunc): Replace time with __libc_time.
34555 (time): New strong alias and hidden definition of __libc_time.
34556 (__GI_time): Remove strong alias.
34557 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
34558 Include <stddef.h>.
34559 (memmove): Redefined to __redirect_memmove.
34560 (__memmove_sse2): Use typeof __redirect_memmove.
34561 (__memmove_ssse3): Likewise.
34562 (__memmove_ssse3_back): Likewise.
34563 (__libc_memmove): New prototype.
34564 (memmove): Renamed to ...
34565 (__libc_memmove): This.
34566 (memmove): New strong alias of __libc_memmove.
34567
33b4a91e
MS
345682012-08-08 Mark Salter <msalter@redhat.com>
34569
34570 * elf/elf.h
34571 (R_MN10300_TLS_GD): Define.
34572 (R_MN10300_TLS_LD): Likewise.
34573 (R_MN10300_TLS_LDO): Likewise.
34574 (R_MN10300_TLS_GOTIE): Likewise.
34575 (R_MN10300_TLS_IE): Likewise.
34576 (R_MN10300_TLS_LE): Likewise.
34577 (R_MN10300_TLS_DTPMOD): Likewise.
34578 (R_MN10300_TLS_DTPOFF): Likewise.
34579 (R_MN10300_TLS_TPOFF): Likewise.
34580 (R_MN10300_SYM_DIFF): Likewise.
34581 (R_MN10300_ALIGN): Likewise.
34582 (R_MN10300_NUM): Update.
34583
b36137f1
JM
345842012-08-08 Joseph Myers <joseph@codesourcery.com>
34585
34586 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
34587 Remove.
34588
cdd915fd
RM
345892012-08-08 Roland McGrath <roland@hack.frob.com>
34590
a2433aac
RM
34591 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
34592
cdd915fd
RM
34593 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
34594 sysdeps/unix -> sysdeps/posix move.
34595 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34596
bf9b740a
AM
345972012-08-07 Allan McRae <allan@archlinux.org>
34598
34599 [BZ #14303]
34600 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
34601 (SUNOS_CPP): Likewise.
34602 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
34603 not found.
34604 (open_input): Call CPP using execvp.
34605
93df14ee
JM
346062012-08-07 Joseph Myers <joseph@codesourcery.com>
34607
34608 * sysdeps/unix/sysv/linux/kernel-features.h
34609 (__ASSUME_PROT_GROWSUPDOWN): Remove.
34610 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34611 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34612 (__ASSUME_WAITID_SYSCALL): Likewise.
34613 * sysdeps/unix/sysv/linux/dl-execstack.c
34614 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
34615 code unconditional.
34616 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
34617 conditional code.
34618 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
34619 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
34620 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
34621 code.
34622 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
34623 unconditional.
34624 [__ASSUME_WAITID_SYSCALL]: Likewise.
34625 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
34626
d34689de
RM
346272012-08-07 Roland McGrath <roland@hack.frob.com>
34628
a281decc
RM
34629 * sysdeps/unix/closedir.c: Renamed to ...
34630 * sysdeps/posix/closedir.c: ... here.
34631 * sysdeps/unix/dirfd.c: Renamed to ...
34632 * sysdeps/posix/dirfd.c: ... here.
34633 * sysdeps/unix/dirstream.h: Renamed to ...
34634 * sysdeps/posix/dirstream.h: ... here.
34635 * sysdeps/unix/fdopendir.c: Renamed to ...
34636 * sysdeps/posix/fdopendir.c: ... here.
34637 * sysdeps/unix/opendir.c: Renamed to ...
34638 * sysdeps/posix/opendir.c: ... here.
34639 * sysdeps/unix/readdir.c: Renamed to ...
34640 * sysdeps/posix/readdir.c: ... here.
34641 * sysdeps/unix/readdir_r.c: Renamed to ...
34642 * sysdeps/posix/readdir_r.c: ... here.
34643 * sysdeps/unix/rewinddir.c: Renamed to ...
34644 * sysdeps/posix/rewinddir.c: ... here.
34645 * sysdeps/unix/seekdir.c: Renamed to ...
34646 * sysdeps/posix/seekdir.c: ... here.
34647 * sysdeps/unix/telldir.c: Renamed to ...
34648 * sysdeps/posix/telldir.c: ... here.
34649 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
34650 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
34651 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34652 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
34653
22895b47
RM
34654 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
34655 * bits/fcntl.h: ... here.
34656
707a53b6
RM
34657 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
34658 not 0.
34659 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
34660 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
34661 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
34662 (struct flock): Move l_start, l_len to the beginning.
34663 Use __pid_t for l_pid.
34664 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
34665 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
34666 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
34667 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
34668 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
34669 [__USE_LARGEFILE64] (struct flock64): New type.
34670 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
34671
f0bd3e25
RM
34672 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
34673 * bits/dirent.h: ... here.
34674
d34689de
RM
34675 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
34676 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
34677
6dad2c06
JM
346782012-08-07 Joseph Myers <joseph@codesourcery.com>
34679
34680 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34681 Change from 2.6.0 to 2.6.16.
34682 * sysdeps/unix/sysv/linux/configure: Regenerated.
34683 * sysdeps/unix/sysv/linux/kernel-features.h
34684 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
34685 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
34686 version.
34687 (__ASSUME_UTIMES): Likewise.
34688 (__ASSUME_CLONE_STOPPED): Remove.
34689 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
34690 architectures, not kernel version.
34691 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
34692 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34693 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34694 (__ASSUME_WAITID_SYSCALL): Likewise.
34695 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
34696 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
34697 * README: State 2.6.16 as minimum Linux kernel version. Do not
34698 refer to older versions.
34699
03af9520
RM
347002012-08-06 Roland McGrath <roland@hack.frob.com>
34701
8e49df1d
RM
34702 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
34703 Define alphasort64 as an alias.
34704 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
34705 Define versionsort64 as an alias.
34706 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
34707 Define scandir64 as an alias.
34708 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
34709 Define scandirat64 as an alias.
34710 * dirent/alphasort64.c (alphasort64):
34711 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
34712 * dirent/versionsort64.c: Likewise.
34713 * dirent/scandir64.c: Likewise.
34714 * dirent/scandirat64.c: Likewise.
34715 * sysdeps/wordsize-64/alphasort.c: File removed.
34716 * sysdeps/wordsize-64/alphasort64.c: File removed.
34717 * sysdeps/wordsize-64/scandir.c: File removed.
34718 * sysdeps/wordsize-64/scandir64.c: File removed.
34719 * sysdeps/wordsize-64/scandirat.c: File removed.
34720 * sysdeps/wordsize-64/scandirat64.c: File removed.
34721 * sysdeps/wordsize-64/versionsort.c: File removed.
34722 * sysdeps/wordsize-64/versionsort64.c: File removed.
34723 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
34724 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
34725 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
34726 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
34727 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
34728 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
34729 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
34730 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
34731
34732 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
34733 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34734 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
34735 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34736 [defined __arch64__ || defined __sparcv9]
34737 (__INO_T_MATCHES_INO64_T): New macro.
34738 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34739 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
34740 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
34741 * sysdeps/unix/sysv/linux/bits/dirent.h
34742 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
34743 (_DIRENT_MATCHES_DIRENT64): New macro.
34744
03af9520
RM
34745 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
34746 Define lockf64 as an alias.
34747 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
34748 Define fseeko64 as an alias.
34749 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
34750 Define ftello64 as an alias.
34751 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
34752 Define _IO_fgetpos64 and fgetpos64 as aliases.
34753 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
34754 Define _IO_fsetpos64 and fsetpos64 as aliases.
34755 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
34756 Conditionalize body on this.
34757 * libio/fseeko64.c: Likewise.
34758 * libio/ftello64.c: Likewise.
34759 * libio/iofgetpos64.c: Likewise.
34760 * libio/iofsetpos64.c: Likewise.
34761 * sysdeps/wordsize-64/lockf.c: File removed.
34762 * sysdeps/wordsize-64/lockf64.c: File removed.
34763 * sysdeps/wordsize-64/fseeko.c: File removed.
34764 * sysdeps/wordsize-64/fseeko64.c: File removed.
34765 * sysdeps/wordsize-64/ftello.c: File removed.
34766 * sysdeps/wordsize-64/ftello64.c: File removed.
34767 * sysdeps/wordsize-64/iofgetpos.c: File removed.
34768 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
34769 * sysdeps/wordsize-64/iofsetpos.c: File removed.
34770 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
34771 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
34772 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
34773 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
34774 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
34775 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
34776 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
34777 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
34778 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
34779 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
34780 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
34781
34782 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34783 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34784 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
34785 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34786 [defined __arch64__ || defined __sparcv9]
34787 (__OFF_T_MATCHES_OFF64_T): New macro.
34788 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34789 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34790 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34791 (__OFF_T_MATCHES_OFF64_T): New macro.
34792
c5757acd
L
347932012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34794
34795 * stdlib/secure-getenv.c (__secure_getenv): Replace
34796 GLIBC_2_16 with GLIBC_2_17.
34797
3a31811e
L
347982012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34799
34800 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
34801 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34802
faa2bccb
DM
348032012-08-03 David S. Miller <davem@davemloft.net>
34804
34805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34806
85fe1997
JM
348072012-08-03 Joseph Myers <joseph@codesourcery.com>
34808
34809 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
34810 Remove.
34811 (__ASSUME_CORRECT_SI_PID): Likewise.
34812 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
34813 (__ASSUME_TMPFS_NAME): Likewise.
34814 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
34815 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
34816 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
34817 (HAVE_AUX_SECURE): Make definition unconditional.
34818 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
34819 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
34820
4f75b7a0
RM
348212012-08-03 Roland McGrath <roland@hack.frob.com>
34822
34823 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
34824 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
34825 * sysdeps/mach/hurd/eloop-threshold.h: New file.
34826 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34827 __eloop_threshold instead of SYMLOOP_MAX.
34828
34829 * sysdeps/generic/eloop-threshold.h: New file.
34830 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
34831 of MAXSYMLINKS.
34832 * elf/chroot_canon.c (chroot_canon): Likewise.
34833
7aab07e4
JM
348342012-08-03 Joseph Myers <joseph@codesourcery.com>
34835
34836 [BZ #13717]
34837 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34838 Change to 2.6.0 everywhere.
34839 * sysdeps/unix/sysv/linux/configure: Regenerated.
34840 * sysdeps/unix/sysv/linux/kernel-features.h
34841 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
34842 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
34843 kernel versions.
34844 (__ASSUME_POSIX_TIMERS): Define unconditionally.
34845 (__ASSUME_FUTEX_REQUEUE): Remove.
34846 (__ASSUME_STATFS64): Define unconditionally.
34847 (__ASSUME_AT_SECURE): Likewise.
34848 (__ASSUME_CORRECT_SI_PID): Likewise.
34849 (__ASSUME_TGKILL): Define without depending on kernel version for
34850 i386.
34851 (__ASSUME_UTIMES): Likewise.
34852 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
34853 kernel version.
34854 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
34855 (__ASSUME_TMPFS_NAME): Likewise.
34856 * README: Update reference to Linux kernel versions.
34857
b67e9372
MP
348582012-08-02 Marek Polacek <polacek@redhat.com>
34859
1f529f7d 34860 [BZ# 14150]
b67e9372
MP
34861 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
34862 libc_cv_asm_type_prefix with %.
34863 * configure: Regenerated.
d2441631
RM
34864 * include/libc-symbols.h: Remove comment about
34865 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
34866 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
34867 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
34868 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
34869 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
34870 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34871 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
34872 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
34873 * elf/tst-unique2mod1.c: Likewise.
34874 * elf/tst-unique1mod2.c: Likewise.
34875 * elf/tst-unique1mod1.c: Likewise.
34876 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
34877 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
34878 Replace ASM_TYPE_DIRECTIVE with .type.
34879 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34880 * sysdeps/i386/sysdep.h: Likewise.
34881 * sysdeps/x86_64/sysdep.h: Likewise.
34882 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
34883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34884 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 34885 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
34886 * sysdeps/powerpc/powerpc32/sysdep.h:
34887 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
34888 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34889 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34890 * sysdeps/i386/fpu/e_powf.S: Likewise.
34891 * sysdeps/i386/fpu/e_expl.S: Likewise.
34892 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34893 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34894 * sysdeps/i386/fpu/e_pow.S: Likewise.
34895 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34896 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34897 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34898 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34899 * sysdeps/i386/fpu/e_log2.S: Likewise.
34900 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34901 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34902 * sysdeps/i386/fpu/e_powl.S: Likewise.
34903 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34904 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34905 * sysdeps/i386/fpu/e_logl.S: Likewise.
34906 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34907 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34908 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34909 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34910 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34911 * sysdeps/i386/fpu/e_log.S: Likewise.
34912 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34913 * sysdeps/i386/fpu/e_logf.S: Likewise.
34914 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34915 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34916 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34917 * sysdeps/i386/fpu/e_log10.S: Likewise.
34918 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34919 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34920 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34921 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34922 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34923 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34924 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34925 * sysdeps/i386/i686/strtok.S: Likewise.
34926 * sysdeps/i386/i386-mcount.S: Likewise.
34927 * sysdeps/i386/strtok.S: Likewise.
34928 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34929 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34930 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34931 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34932 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34933 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34934 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34935 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34936 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34937 * sysdeps/x86_64/_mcount.S: Likewise.
34938 * sysdeps/x86_64/strtok.S: Likewise.
34939 * sysdeps/sh/_mcount.S: Likewise.
34940
2747bf9a
RM
349412012-08-01 Roland McGrath <roland@hack.frob.com>
34942
34943 * libio/iofopen.c: Include <fcntl.h>.
34944 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34945 (_IO_fopen64, fopen64): Define as aliases.
34946 * libio/iofopen64.c: Include <fcntl.h>.
34947 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34948 Conditionalize body on this.
34949 * sysdeps/wordsize-64/iofopen.c: File removed.
34950 * sysdeps/wordsize-64/iofopen64.c: File removed.
34951
3fb791b8
MP
349522012-08-01 Marek Polacek <polacek@redhat.com>
34953
34954 * libc/Makeconfig: Use elf in place of binfmt-subdir.
34955 Use dlfcn directly instead of a variable.
34956 (binfmt-subdir): Do not define.
34957 (dlfcn): Likewise.
34958
a9f1039f
JM
349592012-08-01 Joseph Myers <joseph@codesourcery.com>
34960
23bddc06
JM
34961 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34962 Remove all definitions.
34963 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34964 <kernel-features.h>.
34965 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34966 (miss_F_GETOWN_EX): Remove all definitions.
34967 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34968 macro definition.
34969 [!__ASSUME_FCNTL64]: Remove conditional code.
34970 [__ASSUME_FCNTL64]: Make code unconditional.
34971 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34972 <kernel-features.h>.
34973 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34974 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34975 (lockf64) [__NR_fcntl64]: Make code unconditional.
34976 (lockf64) [__ASSUME_FCNTL64]: Likewise.
34977
a9f1039f
JM
34978 * sysdeps/unix/sysv/linux/kernel-features.h
34979 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34980 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34981 Make code unconditional.
34982 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34983 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34985 [__NR_vfork]: Make code unconditional.
34986 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34987 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34989 [__NR_vfork]: Make code unconditional.
34990 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34991 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34992
09c0ee5f
RM
349932012-08-01 Roland McGrath <roland@hack.frob.com>
34994
48aec5b9
RM
34995 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34996 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34997
cd97c966
RM
34998 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34999 Define mkstemp64 as an alias.
3f55550c
RM
35000 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35001 Define mkstemps64 as an alias.
cd97c966
RM
35002 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35003 Define mkostemp64 as an alias.
b8625cfc
RM
35004 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35005 Define mkostemps64 as an alias.
cd97c966
RM
35006 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
35007 Conditionalize body on this.
35008 * misc/mkostemp64.c: Likewise.
b8625cfc 35009 * misc/mkostemps64.c: Likewise.
3f55550c 35010 * misc/mkstemps64.c: Likewise.
cd97c966
RM
35011 * sysdeps/wordsize-64/mkstemp64.c: File removed.
35012 * sysdeps/wordsize-64/mkostemp64.c: File removed.
35013 * sysdeps/wordsize-64/mkostemp.c: File removed.
35014 * sysdeps/wordsize-64/mkstemp.c: File removed.
35015 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
35016 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
35017 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
35018 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
35019
09c0ee5f
RM
35020 [BZ #14138]
35021 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
35022 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
35023 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
35024 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
35025
35026 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
35027 compat_symbol macros from <shlib-compat.h> rather than the underlying
35028 default_symbol_version and symbol_version macros, so that DEFAULT
35029 lines in shlib-versions are respected.
35030 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
35031
7e66ee51
FW
350322012-08-01 Florian Weimer <fweimer@redhat.com>
35033
35034 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
35035 Declare with warn_unused_result.
35036 (setgid, setregid, setegid, setresgid): Likewise.
35037 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
35038 Likewise.
35039 * WUR-REPORT: Remove set*id functions.
35040
d2a54255
PT
350412012-07-31 Pino Toscano <toscano.pino@tiscali.it>
35042
35043 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
35044
7ecdb005
RM
350452012-07-31 Roland McGrath <roland@hack.frob.com>
35046
b4180a5e 35047 [BZ #10191]
789bd351
RM
35048 * include/sys/socket.h (__libc_accept, __libc_accept4):
35049 Add attribute_hidden.
35050 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
35051
40ce302d
RM
35052 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
35053 use of PTR_MANGLE.
35054 * inet/getnetgrent_r.c (setup): Likewise.
35055
7ecdb005
RM
35056 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
35057
e2eabb2c
DM
350582012-07-31 David S. Miller <davem@davemloft.net>
35059
35060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35061
d0419dbf
JM
350622012-07-31 Joseph Myers <joseph@codesourcery.com>
35063
35064 [BZ #13629]
35065 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
35066 value between 1.0 and 2.0 and smaller part has absolute value less
35067 than 1.0.
35068 * math/s_clog10.c (__clog10): Likewise.
35069 * math/s_clog10f.c (__clog10f): Likewise.
35070 * math/s_clog10l.c (__clog10l): Likewise.
35071 * math/s_clogf.c (__clogf): Likewise.
35072 * math/s_clogl.c (__clogl): Likewise.
35073 * math/libm-test.inc (clog_test): Add more tests.
35074 (clog10_test): Likewise.
35075 * sysdeps/i386/fpu/libm-test-ulps: Update.
35076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35077
2bc13872
FW
350782012-07-31 Florian Weimer <fweimer@redhat.com>
35079
35080 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
35081 Exit with zero in case no suitable GID is found, and write a
35082 message to standard error.
35083
bea9b193
RM
350842012-07-30 Roland McGrath <roland@hack.frob.com>
35085
35086 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
35087 rather than to 1.
35088 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
35089 (MAXPATHLEN): Removed.
35090 (NOGROUP, NODEV): New macros.
35091 (setbit, clrbit, isset, isclr): New macros.
35092 (howmany, roundup, powerof2): New macros.
35093 (DEV_BSIZE): New macro.
35094
35095 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
35096 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
35097
35098 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
35099 definition on [!__NO_LONG_DOUBLE_MATH].
35100
35101 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
35102 PTR_MANGLE and PTR_DEMANGLE.
35103
35104 * socket/accept4.c (accept4): Rename to __libc_accept4.
35105 Define accept4 as a weak alias.
35106
35107 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
35108 on [_DIRENT_HAVE_D_TYPE].
35109 * io/ftw.c (ftw_dir): Likewise.
35110
35111 * io/xmknod.c (__xmknod): Don't check PATH for being null.
35112
35113 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
35114
35115 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
35116 Use the BSD numbers rather than the arbitrary ones we had.
35117 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
35118 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
35119 (SIGXCPU, SIGXFSZ): New macros.
35120 (_NSIG): Now 32.
35121
35122 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
35123 initializer on [_LIBC_REENTRANT].
35124
35125 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
35126 definitions inside [_POSIX_MAPPED_FILES].
35127
35128 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
35129
35130 * dirent/opendir.c: Include <fcntl.h>.
35131
35132 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
35133 (__libc_getspecific): Likewise.
35134 (__libc_key_create): Likewise.
35135
35136 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
35137 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
35138 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
35139 (tmpfile64): Define as alias.
35140 * sysdeps/wordsize-64/tmpfile.c: File removed.
35141 * sysdeps/wordsize-64/tmpfile64.c: File removed.
35142 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
35143 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
35144
35145 * stdio-common/vfscanf.c: Include <stdbool.h>.
35146 * nss/makedb.c: Likewise.
35147 * stdio-common/_i18n_number.h: Likewise.
35148 * argp/argp-help.c: Likewise.
35149 * posix/wordexp.c: Likewise.
35150 * sysdeps/posix/spawni.c: Likewise.
35151 * nss/nss_files/files-initgroups.c: Likewise.
35152 * stdio-common/reg-modifier.c: Include <stdlib.h>.
35153 * nss/nss_files/files-initgroups.c: Likewise.
35154 * nss/nss_db/db-netgrp.c: Likewise.
35155 * nss/nss_db/db-initgroups.c: Likewise.
35156 * io/fchmodat.c: Include <sys/stat.h>.
35157
35158 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
35159 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
35160
35161 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
35162 [HAVE_MMAP].
35163
35164 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
35165 Add multiple inclusion protection.
35166
e5abc686
DM
351672012-07-27 David S. Miller <davem@davemloft.net>
35168
35169 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35170
815e6fa3
GB
351712012-07-27 Gary Benson <gbenson@redhat.com>
35172
35173 [BZ #14298]
35174 * elf/rtld.c: Include <stap-probe.h>.
35175 (dl_main): Added static probes "init_start" and "init_complete".
35176 * elf/dl-load.c: Include <stap-probe.h>.
35177 (lose): Take new parameter "nsid".
35178 Added static probe "map_failed".
35179 (_dl_map_object_from_fd): Pass namespace id to lose.
35180 Added static probe "map_start".
35181 (open_verify): Pass namespace id to lose.
35182 * elf/dl-open.c: Include <stap-probe.h>.
35183 (dl_open_worker) Added static probes "map_complete", "reloc_start"
35184 and "reloc_complete".
35185 * elf/dl-close.c: Include <stap-probe.h>.
35186 (_dl_close_worker): Added static probes "unmap_start" and
35187 "unmap_complete".
35188 * elf/rtld-debugger-interface.txt: New file documenting the above.
35189
9f98c16c
RM
351902012-07-26 Roland McGrath <roland@hack.frob.com>
35191
35192 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
35193 rather than a string variable.
35194 * sunrpc/rpc_main.c (h_output): Likewise.
35195 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
35196
f3c22df3
PT
351972012-07-26 Pino Toscano <toscano.pino@tiscali.it>
35198
35199 * inet/check_native.c: New file.
35200
3129cfc6
JM
352012012-07-26 Joseph Myers <joseph@codesourcery.com>
35202
da865e95
JM
35203 [BZ #13629]
35204 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
35205 if larger part has absolute value 1.0.
35206 * math/s_clog10.c (__clog10): Likewise.
35207 * math/s_clog10f.c (__clog10f): Likewise.
35208 * math/s_clog10l.c (__clog10l): Likewise.
35209 * math/s_clogf.c (__clogf): Likewise.
35210 * math/s_clogl.c (__clogl): Likewise.
35211 * math/libm-test.inc (clog_test): Add more tests.
35212 (clog10_test): Likewise.
35213 * sysdeps/i386/fpu/libm-test-ulps: Update.
35214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35215
3129cfc6
JM
35216 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
35217 (pltexit): Likewise.
35218 (La_regs): Likewise.
35219 (La_retval): Likewise.
35220 (int_retval): Likewise.
35221 Update #error for removed macros to refer only to definitions in
35222 tst-audit.h.
35223 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
35224 macro.
35225 (pltexit): Likewise.
35226 (La_regs): Likewise.
35227 (La_retval): Likewise.
35228 (int_retval): Likewise.
35229 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
35230 macro.
35231 (pltexit): Likewise.
35232 (La_regs): Likewise.
35233 (La_retval): Likewise.
35234 (int_retval): Likewise.
35235 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
35236 macro.
35237 (pltexit): Likewise.
35238 (La_regs): Likewise.
35239 (La_retval): Likewise.
35240 (int_retval): Likewise.
35241 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
35242 macro.
35243 (pltexit): Likewise.
35244 (La_regs): Likewise.
35245 (La_retval): Likewise.
35246 (int_retval): Likewise.
35247 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
35248 macro.
35249 (pltexit): Likewise.
35250 (La_regs): Likewise.
35251 (La_retval): Likewise.
35252 (int_retval): Likewise.
35253 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
35254 macro.
35255 (pltexit): Likewise.
35256 (La_regs): Likewise.
35257 (La_retval): Likewise.
35258 (int_retval): Likewise.
35259 * sysdeps/generic/tst-audit.h: Update comment to refer only to
35260 macro definitions in tst-audit.h.
35261 * sysdeps/i386/tst-audit.h: New file.
35262 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
35263 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
35264 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
35265 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
35266 * sysdeps/sh/tst-audit.h: Likewise.
35267 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
35268 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
35269 * sysdeps/x86_64/tst-audit.h: Likewise.
35270
bfc07087
AJ
352712012-07-26 Andreas Jaeger <aj@suse.de>
35272
b1b2aaf8
AJ
35273 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
35274 ptrace.
35275
35276 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
35277 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
35278 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
35279 PTRACE_O_MASK.
35280 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
35281 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
35282 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
35283
bfc07087
AJ
35284 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
35285 value.
35286
35287 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
35288 _sigsys.
35289 (si_call_addr, si_syscall, si_arch): Define new macro.
35290 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
35291 _sigsys.
35292 (si_call_addr, si_syscall, si_arch): Define new marcro.
35293 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
35294 _sigsys.
35295 (si_call_addr, si_syscall, si_arch): Define new macro.
35296 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
35297 _sigsys.
35298 (si_call_addr, si_syscall, si_arch): Define new macro.
35299
89b4b02f
JM
353002012-07-25 Joseph Myers <joseph@codesourcery.com>
35301
35302 [BZ #13717]
35303 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35304 Change to 2.4.21 where previously 2.4.1.
35305 * sysdeps/unix/sysv/linux/configure: Regenerated.
35306 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
35307 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
35308 Linux kernel version.
35309 (__ASSUME_STD_AUXV): Remove.
35310 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
35311 kernel version.
35312 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
35313 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
35314 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
35315 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
35316 (__ASSUME_NETLINK_SUPPORT): Likewise.
35317 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
35318 (__no_netlink_support): Remove conditional definition.
35319 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
35320 Remove.
35321 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35322 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
35323 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
35324 (if_nameindex_ioctl): Remove.
35325 (if_nameindex_netlink): Do not handle __no_netlink_support.
35326 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35327 code.
35328 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
35329 Remove conditional code.
35330 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35331 code.
35332 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
35333 unconditional.
35334 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35335 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
35336 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
35337 Remove.
35338 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
35339 [!__ASSUME_STD_AUXV]: Remove conditional code.
35340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
35341 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
35342 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
35343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
35344 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
35345 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35346 code.
35347 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35349 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
35350 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35351 conditional code.
35352 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
35354 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35355 code.
35356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35357 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35358 conditional code.
35359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
35360 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35361 code unconditional.
35362 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35363 conditional code.
35364 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35365 unconditional.
35366 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35367 conditional code.
35368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35369 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35370 unconditional.
35371 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35372 conditional code.
35373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
35374 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35375 code unconditional.
35376 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35377 conditional code.
35378 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35379 unconditional.
35380 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35381 conditional code.
35382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
35383 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35384 code unconditional.
35385 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35386 conditional code.
35387 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35388 unconditional.
35389 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35390 conditional code.
35391
842a39cd
AS
353922012-07-25 Andreas Schwab <schwab@linux-m68k.org>
35393
35394 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
35395 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
35396 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35397 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
35398 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
35399 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
35400 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
35401 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
35402 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
35403 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
35404 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
35405 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
35406 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
35407 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
35408 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
35409 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
35410 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
35411 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
35412 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
35413 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
35414 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
35415 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
35416 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35417
84b3fd84
FW
354182012-07-25 Florian Weimer <fweimer@redhat.com>
35419
35420 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
35421 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
35422 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
35423 Introduce __libc_secure_getenv.
0c7936d5
FW
35424 * stdlib/Versions (2.17): Add secure_getenv
35425 (GLIBC_PRIVATE): Add __libc_secure_getenv.
35426 * stdlib/secure-getenv.c: Rename __secure_getenv to
35427 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
35428 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
35429 * stdlib/tst-secure-getenv.c: New.
35430 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
35431 * manual/startup.texi (Environment Access): Document
35432 secure_getenv.
84b3fd84
FW
35433 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
35434 __libc_secure_getenv.
35435 * inet/ruserpass.c (ruserpass): Likewise.
35436 * malloc/mtrace.c (mtrace): Likewise.
35437 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 35438 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
35439 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
35440 * sysdeps/posix/tempname.c: Likewise. Evaluate
35441 HAVE_SECURE_GETENV.
35442 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 35443 __secure_getenv to __libc_secure_getenv.
84b3fd84 35444 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
35445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35446 Likewise.
35447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35448 Likewise.
35449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35451 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35454 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35455 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 35456
56e49b71
JM
354572012-07-25 Joseph Myers <joseph@codesourcery.com>
35458
35459 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
35460 (struct La_i86_retval): Likewise.
35461 (struct La_x86_64_regs): Likewise.
35462 (struct La_x86_64_retval): Likewise.
35463 (struct La_x32_regs): Likewise.
35464 (struct La_x32_retval): Likewise.
35465 (struct La_ppc32_regs): Likewise.
35466 (struct La_ppc32_retval): Likewise.
35467 (struct La_ppc64_regs): Likewise.
35468 (struct La_ppc64_retval): Likewise.
35469 (struct La_sh_regs): Likewise.
35470 (struct La_sh_retval): Likewise.
35471 (struct La_s390_32_regs): Likewise.
35472 (struct La_s390_32_retval): Likewise.
35473 (struct La_s390_64_regs): Likewise.
35474 (struct La_s390_64_retval): Likewise.
35475 (struct La_sparc32_regs): Likewise.
35476 (struct La_sparc32_retval): Likewise.
35477 (struct La_sparc64_regs): Likewise.
35478 (struct La_sparc64_retval): Likewise.
35479 (struct audit_ifaces): Remove architecture-specific pltenter and
35480 pltexit members.
35481 * sysdeps/i386/ldsodefs.h: New file.
35482 * sysdeps/powerpc/ldsodefs.h: Likewise.
35483 * sysdeps/s390/ldsodefs.h: Likewise.
35484 * sysdeps/sh/ldsodefs.h: Likewise.
35485 * sysdeps/sparc/ldsodefs.h: Likewise.
35486 * sysdeps/x86_64/ldsodefs.h: Likewise.
35487
354691b7
MP
354882012-07-25 Marek Polacek <polacek@redhat.com>
35489
35490 [BZ #6808]
35491 * math/libm-test.inc (yn_test): Add another test.
35492 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
35493 to ERANGE when the result is +-Inf.
35494 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
35495 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35496 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
35497 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
35498
bf9e2071
JM
354992012-07-24 Joseph Myers <joseph@codesourcery.com>
35500
35501 * conform/data/time.h-data (NULL): Use macro-constant. Require
35502 equal to 0.
35503 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
35504 clock_t.
35505 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
35506
57633811
TS
355072012-07-23 Thomas Schwinge <thomas@codesourcery.com>
35508
35509 * configure.in <sysdeps resolving>: Correct printing
35510 Implies_before.
35511 * configure: Regenerate.
35512
c23c33b0
TS
355132012-07-22 Thomas Schwinge <thomas@codesourcery.com>
35514
35515 * math/w_ilogb.c: Include <limits.h>.
35516 * math/w_ilogbl.c: Likewise.
35517
b5982523
JM
355182012-07-20 Joseph Myers <joseph@codesourcery.com>
35519
35520 * manual/lang.texi (__va_copy): Document primarily as ISO C99
35521 va_copy. Document allowing for unavailable va_copy only as
35522 pre-C99 compatibility.
35523 * manual/string.texi (Copying and Concatenation): Use va_copy
35524 instead of __va_copy in concat example.
35525
ac4ea442
PT
355262012-07-20 Pino Toscano <toscano.pino@tiscali.it>
35527
35528 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
35529 (__sendto): Use create_address_port. Initialize APORT and deallocate
35530 it if not null.
35531
f98eafbd
PT
35532 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
35533 with O_NOLINK passed to __file_name_lookup.
35534
898c7aab
PT
35535 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
35536 with O_NOLINK passed to __file_name_lookup.
35537
0ced335a
PT
35538 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
35539 negative N or less than NGIDS.
35540
b3404dbd
PT
35541 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
35542 type to string_t. Set ERANGE as errno and return it if NAME is not big
35543 enough. Use memcpy instead of strncpy.
35544
0f48659e
JM
355452012-07-20 Joseph Myers <joseph@codesourcery.com>
35546
35547 * elf/Makefile (check-data): Remove.
35548 (localplt.data): New vpath directive.
35549 ($(objpfx)check-localplt.out): Use localplt.data from vpath
35550 instead of $(check-data).
35551 * scripts/data/localplt-generic.data: Move to ...
35552 * sysdeps/generic/localplt.data: ... here.
35553 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
35554 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
35555 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
35556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
35557 ... here.
35558 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
35559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
35560 ... here.
35561 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
35562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
35563 ... here.
35564 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
35565 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35566 ... here.
35567 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
35568 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
35569 ... here.
35570 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
35571 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
35572 ... here.
35573
d37cbdaa
AZ
355742012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35575
35576 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
35577 PPC32 and PPC64 files.
35578 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
35579 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
35580
46f85fc2
AK
355812012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35582
35583 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
35584 __makecontext_ret to ...
35585 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
35586 ... here and call exit if uc_link is NULL. New file.
35587 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
35588 __makecontext_ret.S.
35589 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
35590 __makecontext_ret to ...
35591 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
35592 ... here and call exit if uc_link is NULL. New file.
35593 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
35594 __makecontext_ret.S.
35595
08f43f9b
AK
355962012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35597
35598 * elf/elf.h (R_390_IRELATIVE): New definition.
35599 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
35600 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
35601 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
35602 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35603 (elf_machine_lazy_rel): Likewise.
35604 * sysdeps/s390/dl-irel.h: New file.
35605 * sysdeps/s390/s390-64/memcpy.S: New asm code.
35606 * sysdeps/s390/s390-64/memset.S: New asm code.
35607 * sysdeps/s390/s390-64/memcmp.S: New asm code.
35608 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
35609 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
35610 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
35611 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
35612 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
35613 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
35614 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
35615 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
35616 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
35617 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
35618 * sysdeps/s390/s390-32/memcpy.S: New asm code.
35619 * sysdeps/s390/s390-32/memset.S: New asm code.
35620 * sysdeps/s390/s390-32/memcmp.S: New asm code.
35621
3b05db33
MP
356222012-07-17 Marek Polacek <polacek@redhat.com>
35623
35624 [BZ #14349]
35625 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
35626 * sysdeps/s390/s390-64/configure.in: Likewise.
35627 * sysdeps/sparc/configure.in: Likewise.
35628 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
35629 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
35630 * sysdeps/i386/configure.in: Likewise.
35631 * sysdeps/x86_64/configure.in: Likewise.
35632 * sysdeps/sh/configure.in: Likewise.
35633 * sysdeps/s390/s390-32/configure: Regenerated.
35634 * sysdeps/s390/s390-64/configure: Likewise.
35635 * sysdeps/x86_64/configure: Likewise.
35636 * sysdeps/sh/configure: Likewise.
35637 * sysdeps/powerpc/powerpc64/configure: Likewise.
35638 * sysdeps/powerpc/powerpc32/configure: Likewise.
35639 * sysdeps/sparc/configure: Likwise.
35640 * sysdeps/i386/configure: Likewise.
35641
a66877c6
MP
35642 * elf/dl-open.c: Comment fixes.
35643
cfc82fd8
JM
356442012-07-17 Joseph Myers <joseph@codesourcery.com>
35645
bd29910a
JM
35646 * Makefile [CXX] (check-data): Remove.
35647 [CXX] (c++-types.data): New vpath directive.
35648 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
35649 vpath. Do not allow for C++ type data being missing.
35650 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
35651 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
35652 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
35653 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
35654 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
35655 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
35656 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
35657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
35658 ... here.
35659 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
35660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
35661 ... here.
35662 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
35663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
35664 ... here.
35665 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
35666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
35667 ... here.
35668 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
35669 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
35670 ... here.
35671 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
35672 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
35673 ... here.
35674 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
35675 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
35676 ... here.
35677 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
35678 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
35679
cfc82fd8
JM
35680 * elf/tls-macros.h (TLS_LE): Move architecture-specific
35681 definitions to architecture-specific files.
35682 (TLS_IE): Likewise.
35683 (TLS_LD): Likewise.
35684 (TLS_GD): Likewise.
35685 * sysdeps/i386/tls-macros.h: New file.
35686 * sysdeps/powerpc/tls-macros.h: Likewise.
35687 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
35688 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
35689 * sysdeps/sh/tls-macros.h: Likewise.
35690 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
35691 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
35692 * sysdeps/x86_64/tls-macros.h: Likewise.
35693
f7db3170
TS
356942012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35695
07cbfc23
TS
35696 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
35697 zero value for regular exit case.
35698
f7db3170
TS
35699 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
35700 (__start_context): Preserve zero value for regular exit case.
35701
dc97c227
TS
357022012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35703 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35704
35705 * manual/setjmp.texi (setcontext): Clarify normal process
35706 termination when uc_link is the null pointer.
35707 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
35708 exit call.
35709
d0cd7d02
AS
357102012-07-16 Andreas Schwab <schwab@linux-m68k.org>
35711
35712 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
35713 preprocessor. Test for each exception mask separately.
35714
dd318934
AJ
357152012-07-16 Andreas Jaeger <aj@suse.de>
35716
35717 * po/ru.po: Update from translation team.
35718
8048311a
JM
357192012-07-15 Joseph Myers <joseph@codesourcery.com>
35720
35721 * conform/data/string.h-data (NULL): Use macro-constant. Require
35722 equal to 0.
35723 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35724 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35725 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
35726 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
35727 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35728
b637d46e
AJ
357292012-07-13 Andreas Jaeger <aj@suse.de>
35730
35731 * po/fr.po: Update from translation team.
35732
541428fe
MP
357332012-07-12 Marek Polacek <polacek@redhat.com>
35734
35735 [BZ #14173]
35736 * math/libm-test.inc (yn_test): Add test for BZ #14173.
35737 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
35738 loop condition.
35739
ec332e94
JM
357402012-07-12 Joseph Myers <joseph@codesourcery.com>
35741
35742 [BZ #13717]
35743 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35744 Change to 2.4.1 where previously 2.4.0.
35745 * sysdeps/unix/sysv/linux/configure: Regenerated.
35746 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
35747 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
35748 version.
35749 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
35750 (__ASSUME_AT_CLKTCK): Remove.
35751 (__ASSUME_AT_PAGESIZE): Likewise.
35752 (__ASSUME_AT_XID): Likewise.
35753 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
35754 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
35755 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
35756 unconditionally.
35757 (HAVE_AUX_PAGESIZE): Likewise.
35758 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
35759 [__ASSUME_AT_CLKTCK]: Make code unconditional.
35760 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
35761
7b6e99be
JB
357622012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
35763
35764 [BZ #14307]
35765 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
35766 the temporary buffer used to invoke __gethostbyname2_r,
35767 __gethostbyaddr_r and gethostbyname4_r to make room for struct
35768 host_data / struct gaih_addrtuple.
35769 * resolv/nss_dns/dns-host.c (global scope): Move definition of
35770 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
35771 header file nss/nsswitch.h.
35772 * nss/nsswitch.h (global scope): Add definition of implementation
35773 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
35774 resolv/nss_dns/dns-host.c).
35775
608404eb
AJ
357762012-07-11 Andreas Jaeger <aj@suse.de>
35777
35778 * po/fr.po: Update from translation team.
35779
71220aca
AJ
35780 * po/sv.po: Update from translation team
35781 * po/fr.po: Another update from translation team.
35782
28cfe843
AZ
357832012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35784
35785 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
35786 for subnormals or multiply small sinh result by itself.
35787 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35789
6b90f981
DM
357902012-07-11 David S. Miller <davem@davemloft.net>
35791
35792 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35793
c6825772
AS
357942012-07-10 Andreas Schwab <schwab@linux-m68k.org>
35795
35796 [BZ #14347]
35797 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
35798 (INTERNAL_MARK): Shift it here.
35799
7b8e0d49
MP
358002012-07-10 Marek Polacek <polacek@redhat.com>
35801
35802 [BZ #14151]
35803 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
35804 libc_cv_asm_global_directive with .globl.
35805 * configure: Regenerated.
35806 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
35807 with .globl.
35808 * sysdeps/i386/configure: Regenerated.
35809 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
35810 with .globl.
35811 * sysdeps/x86_64/configure: Regenerated.
35812 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
35813 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
35814 * elf/tst-unique2mod2.c: Likewise.
35815 * elf/tst-unique2mod1.c: Likewise.
35816 * elf/tst-unique1mod2.c: Likewise.
35817 * elf/tst-unique1mod1.c: Likewise.
35818 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35819 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35820 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35821 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35822 * sysdeps/mach/sysdep.h: Likewise.
35823 * sysdeps/i386/sysdep.h: Likewise.
35824 * sysdeps/i386/i386-mcount.S: Likewise.
35825 * sysdeps/x86_64/_mcount.S: Likewise.
35826 * sysdeps/x86_64/sysdep.h: Likewise.
35827 * sysdeps/sh/_mcount.S: Likewise.
35828 * sysdeps/sh/sysdep.h: Likewise.
35829 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
35830 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
35831 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
35832 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35833 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
35834 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
35835 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
35836 * locale/localeinfo.h: Likewise.
35837 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
35838 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
35839
6c55cda3
RM
358402012-07-09 Roland McGrath <roland@hack.frob.com>
35841
35842 [BZ #14336]
35843 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
35844 system".
35845 * manual/message.texi (The Uniforum approach): Likewise.
35846 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
35847 (glibc iconv Implementation): Likewise.
35848
638a572e
JM
358492012-07-09 Joseph Myers <joseph@codesourcery.com>
35850
35851 [BZ #14337]
35852 * math/s_clog.c (__clog): Avoid scaling a value down where that
35853 could result in underflow.
35854 * math/s_clog10.c (__clog10): Likewise.
35855 * math/s_clog10f.c (__clog10f): Likewise.
35856 * math/s_clog10l.c (__clog10l): Likewise.
35857 * math/s_clogf.c (__clogf): Likewise.
35858 * math/s_clogl.c (__clogl): Likewise.
35859 * math/libm-test.inc (clog_test): Add more tests.
35860 (clog10_test): Likewise.
35861 * sysdeps/i386/fpu/libm-test-ulps: Update.
35862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35863
261f4859
AS
358642012-07-06 Andreas Schwab <schwab@linux-m68k.org>
35865
0abaf3e4
AS
35866 [BZ #14283]
35867 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
35868 by 7 not 8 to examine high bit of fractional part.
35869
261f4859
AS
35870 [BZ #14042]
35871 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
35872 for call to __mcount_internal.
35873 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
35874 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
35875 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
35876
f17ac40d
JM
358772012-07-06 Joseph Myers <joseph@codesourcery.com>
35878
9ad63c23
JM
35879 [BZ #14154]
35880 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
35881 approximation for values within 0x1p-13f of an odd multiple of
35882 pi/4.
35883 * math/libm-test.inc (tan_test): Do not allow spurious underflow
35884 exception. Add more tests.
35885 * sysdeps/i386/fpu/libm-test-ulps: Update.
35886
f17ac40d
JM
35887 [BZ #6778]
35888 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
35889 inputs and return -1 for them. Do not check for +Inf in case not
35890 reachable for +Inf.
35891 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35892 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
35893 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35894 and return -1 for them. Do not check for +Inf in case not
35895 reachable for +Inf.
35896 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
35897 define.
35898 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35899 and return -1 for them. Do not check for +Inf in case not
35900 reachable for +Inf.
35901 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
35902 spurious underflow.
35903 * sysdeps/i386/fpu/libm-test-ulps: Update.
35904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35905
fb21f89b
MF
359062012-07-06 Mike Frysinger <vapier@gentoo.org>
35907
35908 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35909
cdfe2c5e
JM
359102012-07-05 Joseph Myers <joseph@codesourcery.com>
35911
35912 [BZ #14157]
35913 [BZ #14331]
35914 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35915 could result in spurious underflow. Scale down values above
35916 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35917 * math/s_csqrtf.c (__csqrtf): Likewise.
35918 * math/s_csqrtl.c (__csqrtl): Likewise.
35919 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
35920 spurious underflow.
35921 * sysdeps/i386/fpu/libm-test-ulps: Update.
35922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35923
70d35b67
AS
359242012-07-04 Andreas Schwab <schwab@linux-m68k.org>
35925
704bc459
AS
35926 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35927 xopen-msg.sed.
35928 * catgets/xopen-msg.awk: New file.
35929 * catgets/xopen-msg.sed: Removed.
35930
70d35b67
AS
35931 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35932 po2text.sed.
35933 * intl/po2test.awk: New file.
35934 * intl/po2test.sed: Removed.
35935
ca61cf32
JM
359362012-07-04 Joseph Myers <joseph@codesourcery.com>
35937
35938 [BZ #14328]
35939 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35940 or multiply small sinh result by itself.
35941 * math/s_ctanf.c (__ctanf): Likewise.
35942 * math/s_ctanh.c (__ctanh): Likewise.
35943 * math/s_ctanhf.c (__ctanhf): Likewise.
35944 * math/s_ctanhl.c (__ctanhl): Likewise.
35945 * math/s_ctanl.c (__ctanl): Likewise.
35946 * math/libm-test.inc (ctan_test_tonearest): New function.
35947 (ctan_test_towardzero): Likewise.
35948 (ctan_test_downward): Likewise.
35949 (ctan_test_upward): Likewise.
35950 (ctanh_test_tonearest): Likewise.
35951 (ctanh_test_towardzero): Likewise.
35952 (ctanh_test_downward): Likewise.
35953 (ctanh_test_upward): Likewise.
35954 (main): Call these new functions.
35955 * sysdeps/i386/fpu/libm-test-ulps: Update.
35956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35957
ca48a46a
MF
359582012-07-03 Mike Frysinger <vapier@gentoo.org>
35959
35960 * .gitignore: Delete /ports entry.
35961
9d63d37d
AJ
359622012-07-03 Andreas Jaeger <aj@suse.de>
35963
35964 * po/bg.po: Update from translation team.
35965 * po/cs.po: Likewise.
35966 * po/de.po: Likewise.
35967 * po/hr.po: Likewise.
35968 * po/nl.pl: Likewise.
35969 * po/pl.po: Likewise.
35970 * po/vi.po: Likewise.
35971
370ca3d2
JM
359722012-07-03 Joseph Myers <joseph@codesourcery.com>
35973
95f5a9a8
JM
35974 * Makeconfig [!+link] (+link-before-libc): New variable.
35975 [!+link] (+link-after-libc): Likewise.
35976 [!+link] (+link-tests): Likewise.
35977 [!+link] (+link): Define in terms of $(+link-before-libc) and
35978 $(+link-after-libc).
35979 [!+link-static] (+link-static-before-libc): New variable.
35980 [!+link-static] (+link-static-after-libc): Likewise.
35981 [!+link-static] (+link-static-tests): Likewise.
35982 [!+link-static] (+link-static): Define in terms of
35983 $(+link-static-before-libc) and $(+link-static-after-libc).
35984 [build-shared] (link-libc-before-gnulib): New variable.
35985 [build-shared] (link-libc-tests): Likewise.
35986 [build-shared] (link-libc): Define in terms of
35987 $(link-libc-before-gnulib).
35988 [!build-shared] (link-libc-tests): New variable.
35989 (link-libc-static-tests): New variable.
35990 [!gnulib] (gnulib-arch): New variable.
35991 [!gnulib] (gnulib-tests): Likewise.
35992 [!gnulib] (static-gnulib-arch): Likewise.
35993 [!gnulib] (static-gnulib-tests): Likewise.
35994 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
35995 Define with "=" instead of ":=".
35996 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
35997 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
35998 * Rules (binaries-all-notests): New variable.
35999 (binaries-all-tests): Likewise.
36000 (binaries-static-notests): Likewise.
36001 (binaries-static-tests): Likewise.
36002 (binaries-all): Define using $(binaries-all-notests) and
36003 $(binaries-all-tests).
36004 (binaries-static): Define using $(binaries-static-notests) and
36005 $(binaries-static-tests).
36006 (binaries-shared-tests): New variable.
36007 (binaries-shared-notests): Likewise.
36008 (binaries-shared): Remove variable.
36009 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
36010 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
36011 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
36012 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
36013 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
36014 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
36015 * elf/Makefile (sln-modules): New variable.
36016 (extra-objs): Add $(sln-modules:=.o).
36017 (ldconfig-modules): Add static-stubs.
36018 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
36019 * elf/static-stubs.c: New file.
36020
7a845b2c
JM
36021 [BZ #14283]
36022 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
36023 by 7 not 8 to examine high bit of fractional part. Use volatile
36024 variables when splitting into final array of floats if
36025 __FLT_EVAL_METHOD__ != 0.
36026 * math/libm-test.inc (cos_test): Add another test.
36027 (sin_test): Likewise.
36028 * sysdeps/i386/fpu/libm-test-ulps: Update.
36029
e2283f38
JM
36030 [BZ #14273]
36031 * math/libm-test.inc (cosh_test): Add more tests.
36032
370ca3d2
JM
36033 * version.h (RELEASE): Set to "development".
36034 (VERSION): Set to "2.16.90".
36035
ee9247c3
CD
360362012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
36037
36038 * NEWS: Update copyright. Remove last-updated date.
36039 Mention math library bug fixes and timezone data changes.
36040 * README: Mention GNU/Hurd, x32, and HPPA support status.
36041
4648c381
TS
360422012-06-28 Thomas Schwinge <thomas@codesourcery.com>
36043
36044 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
36045
aac78a43
AJ
360462012-06-27 Andreas Jaeger <aj@suse.de>
36047
36048 * manual/contrib.texi (Contributors): Add Samuel Thibault.
36049
ed3dbfad
AJ
360502012-06-25 Andreas Jaeger <aj@suse.de>
36051
36052 * sysdeps/s390/fpu/libm-test-ulps: Update.
36053
4d0ee855
AS
360542012-06-23 Andreas Schwab <schwab@linux-m68k.org>
36055 Thomas Schwinge <thomas@codesourcery.com>
36056
36057 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
36058 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
36059 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
36060 fanotify_mark.
36061
af1bce34
TS
360622012-06-23 Thomas Schwinge <thomas@codesourcery.com>
36063
a9fa33ba
TS
36064 * sysdeps/mach/start.c: Remove file.
36065 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
36066 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
36067 * sysdeps/sh/init-first.c: Likewise.
36068
58f902b8
TS
36069 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
36070 registers for frame unwinding purposes, add CFI directives.
36071 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36072 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
36073 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
36074 Likewise.
36075
1518f58b
TS
36076 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
36077 __fortify_fail returning.
36078 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36079
db9b5059
TS
36080 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
36081 sysdeps/sh/____longjmp_chk.S.
36082 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
36083 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
36084 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
36085 (gen-as-const-headers): Append sigaltstack-offsets.sym.
36086
967705fe
TS
36087 * sysdeps/sh/abort-instr.h: New file.
36088 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
36089 process in case exit returns.
36090
a9def8c4
TS
36091 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
36092 initialize the GOT register before use.
36093
2a649725
TS
36094 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
36095 calculation of ARGC > 4.
36096
af1bce34
TS
36097 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
36098 meaningful names to some local labels.
36099
d230f50a
KK
361002012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36101 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36102
36103 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
36104 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
36105 (__arch_compare_and_exchange_val_16_acq): Likewise.
36106 (__arch_compare_and_exchange_val_32_acq): Likewise.
36107 (atomic_exchange_and_add): Fix gUSA sequence.
36108 (atomic_add): Likewise.
36109 (atomic_add_negative): Likewise.
36110 (atomic_add_zero): Likewise.
36111 (atomic_bit_test_set): Likewise.
36112
0479b305
AS
361132012-06-22 Andreas Schwab <schwab@redhat.com>
36114
36115 [BZ #13579]
36116 * include/link.h (struct link_map): Add l_free_initfini.
36117 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
36118 l_initfini.
36119 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
36120 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
36121 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
36122 set.
36123
0e3933b9
CD
361242012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
36125
36126 * configure.in: Use AC_LANG_SOURCE.
36127 * configure: Regenerate.
36128
4248b1b1
RM
361292012-06-22 Roland McGrath <roland@hack.frob.com>
36130
36131 * configure.in (libc_cv_localstatedir): New substituted variable.
36132 * configure: Regenerated.
36133 * config.make.in (localstatedir): New variable, substituted from
36134 libc_cv_localstatedir.
36135 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
36136 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
36137 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
36138 * sysdeps/gnu/configure: Regenerated.
36139
006dd861
JL
361402012-06-21 Jeff Law <law@redhat.com>
36141
36142 [BZ #14277]
36143 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
36144 free. Simplify list management for _LIBC case.
36145
79662d42
JM
361462012-06-21 Joseph Myers <joseph@codesourcery.com>
36147
b7abb4bf
JM
36148 [BZ #14273]
36149 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
36150 Clear sign bit of 64-bit integer value before comparing against
36151 overflow value.
36152
79662d42
JM
36153 * sysdeps/mach/configure: Regenerated.
36154
1f150908
L
361552012-06-21 H.J. Lu <hongjiu.lu@intel.com>
36156
36157 [BZ #14278]
36158 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
36159
28363bbf
JL
361602012-06-21 Jeff Law <law@redhat.com>
36161
36162 [BZ #13882]
36163 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
36164 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 36165 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
36166 * elf/dl-open.c (dl_open_worker): Likewise.
36167
09615db4
CD
361682012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
36169
36170 * scripts/list-sources.sh: Scan PORTS for translations.
36171 * po/libc.pot: Regenerated.
36172
2174c6dd
AJ
361732012-06-21 Andreas Jaeger <aj@suse.de>
36174
36175 [BZ #12194]
36176 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
36177 warning.
36178 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
36179 * bits/byteswap-16.h (__bswap_16): Likewise.
36180 * bits/byteswap.h (__bswap_constant_16): Likewise.
36181
3ee947b1
L
361822012-06-18 H.J. Lu <hongjiu.lu@intel.com>
36183
36184 [BZ #14117]
a2f34833
L
36185 * sysdeps/i386/fpu_control.h: Removed.
36186 * sysdeps/x86_64/fpu_control.h: Moved to ...
36187 * sysdeps/x86/fpu_control.h: Here.
36188
3ee947b1
L
36189 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
36190 (_FPU_SETCW): Likewise.
36191
ed1825f8
L
361922012-06-15 H.J. Lu <hongjiu.lu@intel.com>
36193
25f1282a
L
36194 [BZ #14117]
36195 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
36196 * sysdeps/x86/fpu/bits/mathinline.h: This.
36197 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
36198
ed1825f8
L
36199 [BZ #14050]
36200 [BZ #14117]
36201 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
36202 functions if __x86_64__ is defined.
36203
36d54b74
CLT
362042012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
36205
36206 * string/endian.h: Add !__ASSEMBLER__ condition for including
36207 conversion interfaces.
36208
10285c21
JM
362092012-06-15 Joseph Myers <joseph@codesourcery.com>
36210
36211 [BZ #14241]
36212 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
36213 of ABS(x) in calculating zero to negative powers other than odd
36214 integers.
36215 * math/libm-test.inc (pow_test): Add more tests.
36216
06c5abbd
AJ
362172012-06-15 Andreas Jaeger <aj@suse.de>
36218
36219 * manual/contrib.texi (Contributors): Update entry of Liubov
36220 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
36221 Machado Filho.
36222
a3aeac40
CH
362232012-06-15 Cyril Hrubis <metan@ucw.cz>
36224
36225 * string/string.h: Add __wur to GNU version of strerror_r.
36226
49bdf4c1
L
362272012-06-14 H.J. Lu <hongjiu.lu@intel.com>
36228
36229 [BZ #14229]
36230 * string/Makefile (tests): Add tst-strtok_r.
36231 * string/tst-strtok_r.c: New file.
36232 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
36233 RAX_LP/RDX_LP on SAVE_PTR.
36234
834f9b8d
RM
362352012-06-14 Roland McGrath <roland@hack.frob.com>
36236
36237 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
36238
75fa1921
JM
362392012-06-14 Joseph Myers <joseph@codesourcery.com>
36240
36241 * libm_test.inc (csqrt_test): Allow more spurious underflow
36242 exceptions.
36243 (j0_test): Likewise.
36244 (j1_test): Likewise.
36245 (y0_test): Likewise.
36246 (y1_test): Likewise.
36247
771766df
CD
362482012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
36249
36250 * po/Makefile (libc.pot): Use UTF-8 charset.
36251
ceb9e56b
PP
362522012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
36253
36254 [BZ #14210]
36255 Suppress sign-conversion warning from FD_SET.
36256 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
36257 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
36258 not unsigned long int.
36259 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
36260
ddb28975
L
362612012-06-12 H.J. Lu <hongjiu.lu@intel.com>
36262
36263 [BZ #14050]
36264 [BZ #14117]
36265 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
36266 __extern_always_inline instead of __extern_inline.
36267 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
36268 (__signbit): Likewise.
36269 (__signbitl): Support C++ namespace.
36270 (lrintf): New inline function.
36271 (lrint): Likewise.
36272 (llrintf): Likewise.
36273 (llrint): Likewise.
36274 (fmaxf): Likewise.
36275 (fmax): Likewise.
36276 (fminf): Likewise.
36277 (fmin): Likewise.
36278 (rint): Likewise.
36279 (rintf): Likewise.
36280 (ceil): Likewise.
36281 (ceilf): Likewise.
36282 (floor): Likewise.
36283 (floorf): Likewise.
36284 (nearbyint): Likewise.
36285 (nearbyintf): Likewise.
36286
d7b4fb26
TS
362872012-06-12 Thomas Schwinge <thomas@codesourcery.com>
36288
36289 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
36290 non-default versions.
36291
eb55f5c2
RM
362922012-06-11 Roland McGrath <roland@hack.frob.com>
36293
36294 [BZ #14218]
36295 * manual/argp.texi (Argp): Reword argp_parse description slightly.
36296
366af02c
TS
362972012-06-09 Thomas Schwinge <thomas@codesourcery.com>
36298
99ff6e5c
TS
36299 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
36300 (FE_UPWARD, FE_DOWNWARD): Don't define.
36301 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
36302 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36303
366af02c
TS
36304 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
36305 reading it.
36306 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36307 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36308
793ea851
KK
363092012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36310
36311 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36312 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
36313 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
36314 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
36315
a728a38f
L
363162012-06-06 H.J. Lu <hongjiu.lu@intel.com>
36317
36318 [BZ #14117]
c08010c7
L
36319 * sysdeps/i386/fpu/bits/fenv.h: Removed.
36320 * sysdeps/i386/fpu/Implies: New file.
36321 * sysdeps/x86_64/fpu/Implies: Likewise.
36322 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
36323 * sysdeps/x86/fpu/bits/fenv.h: This.
36324
a728a38f
L
36325 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
36326 __SSE_MATH__.
36327
6e230d11
SP
363282012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
36329
36330 [BZ #14134]
36331 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
36332 character 0xffff that matches the last element of the
36333 conversion table.
36334
1b671feb
AZ
363352012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36336
36337 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
36338 fmodl commit.
36339
6043738b
AZ
363402012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36341
36342 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
36343 values higher than 25.6283.
36344
34ae0b32
AZ
363452012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36346
36347 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
36348 subnormal exponent extraction and add some __builtin_expect.
36349 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
36350 Fix for subnormal mantissa calculation.
36351
1214ec8f
MF
363522012-06-04 Mike Frysinger <vapier@gentoo.org>
36353
36354 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
36355 cpu2 is -1 and errno is not ENOSYS.
36356
f3d1f93c
L
363572012-06-04 H.J. Lu <hongjiu.lu@intel.com>
36358
36359 [BZ #14117]
0e4a3cd7
L
36360 * sysdeps/i386/i486/bits/string.h: Renamed to ...
36361 * sysdeps/x86/bits/string.h: This.
36362 * sysdeps/x86_64/bits/string.h: Removed.
36363
6704c645
L
36364 * sysdeps/i386/i486/bits/string.h: Define inline functions only
36365 if not compiling for x86-64, but compiling for >= i486.
36366
48495318
L
36367 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
36368 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
36369
14adcbfc
L
36370 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
36371 New macro from Linux kernel 3.4.0.
36372 (FP_XSTATE_MAGIC2): Likewise.
36373 (FP_XSTATE_MAGIC2_SIZE): Likewise.
36374 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
36375 (struct _fpx_sw_bytes): New struct.
36376 (struct _xsave_hdr): Likewise.
36377 (struct _ymmh_state): Likewise.
36378 (struct _xstate): Likewise.
36379
68e408ab
L
36380 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
36381 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
36382 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
36383 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
36384 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
36385 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
36386
f3d1f93c
L
36387 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
36388 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
36389 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
36390 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
36391 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
36392 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
36393
d9dc34cd
TMQMF
363942012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36395
36396 [BZ #13743]
36397 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
36398 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
36399 (sysdep_headers): Include sys/platform/ppc.h.
36400 * sysdeps/powerpc/test-gettimebase.c: Test for
36401 __ppc_get_timebase() to catch future ISA opcode/insn changes.
36402 * manual/Makefile (appendices): Include platform.texi.
36403 * manual/contrib.texi (Contributors): Update @node pointers.
36404 * manual/maint.texi (Maintenance): Likewise.
36405 (Platform): New node.
36406 * manual/platform.texi: New file. Document the new features.
36407
4af3879c
SP
364082012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36409 Jakub Jelinek <jakub@redhat.com>
36410
36411 [BZ #14188]
36412 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
36413 where __builtin_expect is unavailable.
36414
2fd6ff13
DM
364152012-06-03 David S. Miller <davem@davemloft.net>
36416
36417 * stdlib/longlong.h: Updated from GCC.
36418
173f7220
AS
364192012-06-02 Andreas Schwab <schwab@linux-m68k.org>
36420
36421 [BZ #14042]
36422 * sysdeps/powerpc/powerpc32/mcount.c: New file.
36423 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
36424 __mcount_internal.
36425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36426 (GLIBC_2.16): Likewise.
36427
f34a1c6f
L
364282012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36429
36430 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
36431
88a4576f
JM
364322012-06-01 Joseph Myers <joseph@codesourcery.com>
36433
ea32bcdd
JM
36434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
36435 (default-abi): New variable.
36436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
36437 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
36438 variable.
36439 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
36440 Likewise.
36441 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
36442 Likewise.
36443 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
36444 Likewise.
36445
88a4576f
JM
36446 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
36447 definition. Document in comment.
36448
402fe938
DM
364492012-06-01 David S. Miller <davem@davemloft.net>
36450
36451 * stdlib/longlong.h: Updated from GCC.
36452
3553723f
L
364532012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36454
36455 [BZ #14117]
3bd872c4
L
36456 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
36457 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
36458 sys/debugreg.h sys/io.h here.
36459 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
36460 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
36461 sys/io.h.
36462 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
36463 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
36464 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
36465 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
36466 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
36467 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
36468
3553723f
L
36469 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
36470 Define only if __x86_64__ is defined.
36471
4842e4fe
JM
364722012-06-01 Joseph Myers <joseph@codesourcery.com>
36473
c5bfe3d5
JM
36474 [BZ #14048]
36475 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
36476 Use int64_t for variable i.
36477 * math/libm-test.inc (fmod_test): Add more tests.
36478
4842e4fe
JM
36479 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
36480 z computation is not scheduled after fetestexcept.
36481 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
36482 Use math_force_eval instead of asm to ensure calculation scheduled
36483 before exception test.
36484 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
36485 Ensure a1 + u.d computation is not scheduled after fetestexcept.
36486
efb73488
AJ
364872012-06-01 Aurelien Jarno <aurelien@aurel32.net>
36488
36489 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
36490 computation is not scheduled after fetestexcept.
36491
29bcce7c
L
364922012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36493
36494 [BZ #14117]
36495 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
36496 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
36497
73a68f94
AZ
364982012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36499
36500 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
36501 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36502
67b6df78
L
365032012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36504
edf2933a 36505 [BZ #14117]
ebc64a18
L
36506 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
36507 <bits/wordsize.h>.
36508 (__WCHAR_MIN): Support __WORDSIZE == 64.
36509 (__WCHAR_MAX): Likewise.
36510
edf2933a
L
36511 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
36512 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
36513
57c6cf40
L
36514 [BZ #14183]
36515 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
36516 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
36517
67b6df78 36518 [BZ #14117]
8eb6281e
L
36519 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
36520 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
36521
aac639f4
L
36522 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
36523 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
36524
67b6df78
L
36525 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
36526 Defined to 1 if __x86_64__ isn't defined.
36527 (_STAT_VER_LINUX_OLD): New.
36528 (st_atime): Remove duplicate.
36529 (st_mtime): Likewise.
36530 (st_ctime): Likewise.
36531
1c2cfe81
DM
365322012-05-31 David S. Miller <davem@davemloft.net>
36533
36534 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
36535 entries.
36536
5be8418c
AS
365372012-06-01 Andreas Schwab <schwab@linux-m68k.org>
36538
e7725326
AS
36539 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
36540 gen-libm-test.pl.
36541
5be8418c
AS
36542 [BZ #14132]
36543 * elf/dl-reloc.c: Include <_itoa.h>.
36544 (_dl_reloc_bad_type): Remove use of INTUSE.
36545 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
36546 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
36547 * stdio-common/psiginfo.c (psiginfo): Likewise.
36548 * stdio-common/psignal.c (psignal): Likewise.
36549 * string/strsignal.c (strsignal): Likewise.
36550 * include/signal.h (_sys_siglist): Declare hidden proto.
36551 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
36552 INTVARDEF with libc_hidden_data_def.
36553 * stdio-common/itoa-udigits.c: Likewise.
36554 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
36555 (_itoa_lower_digits_internal): Remove declaration.
36556 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
36557 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
36558 (_sys_sigabbrev_internal): Remove aliases.
36559 (_sys_siglist): Define hidden alias.
36560
507352f1
MT
365612012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
36562
36563 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36564 bits/sysctl.h.
36565
42bbb1c3
L
365662012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36567
36568 [BZ #14117]
6bd784b6
L
36569 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
36570 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
36571
8bca20f0
L
36572 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
36573 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
36574 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
36575 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
36576 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
36577 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
36578
f9e890a9
L
36579 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
36580 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
36581 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
36582
471101a1
L
36583 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
36584 with __addr.
36585 (insw): Likewise.
36586 (insl): Likewise.
36587 (outsb): Likewise.
36588 (outsw): Likewise.
36589 (outsl): Likewise.
36590
6451c862
L
36591 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
36592 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
36593 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
36594
a254b8c9
L
36595 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
36596 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
36597 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
36598 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
36599 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
36600 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
36601
b8dfdd92
L
36602 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
36603 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
36604
578cd270
L
36605 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
36606 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
36607
de662f5f
L
36608 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
36609 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
36610 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
36611
25653439
L
36612 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
36613 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
36614 to ...
36615 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
36616
6bad24a0
L
36617 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
36618 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
36619 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
36620
42bbb1c3
L
36621 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
36622 for x86-64.
36623 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
36624
2d10d547
JM
366252012-05-31 Joseph Myers <joseph@codesourcery.com>
36626
36627 * math/math.h (M_El): Use two more decimal places.
36628 (M_LOG2El): Likewise.
36629 (M_LOG10El): Likewise.
36630 (M_LN2l): Likewise.
36631 (M_LN10l): Likewise.
36632 (M_PIl): Likewise.
36633 (M_PI_2l): Likewise.
36634 (M_PI_4l): Likewise.
36635 (M_1_PIl): Likewise.
36636 (M_2_PIl): Likewise.
36637 (M_2_SQRTPIl): Likewise.
36638 (M_SQRT2l): Likewise.
36639 (M_SQRT1_2l): Likewise.
36640
f230c29b
DM
366412012-05-31 David S. Miller <davem@davemloft.net>
36642
36643 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
36644 values between float registers.
36645 * sysdeps/sparc/sparc64/memset.S: Likewise.
36646 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36647
fed806c3
MF
366482012-05-31 Mike Frysinger <vapier@gentoo.org>
36649
36650 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
36651 -D_FORTIFY_SOURCE=1.
36652 (CPPFLAGS-tst-longjmp_chk.c): Define.
36653 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
36654 (CPPFLAGS-tst-longjmp_chk2.c): Define.
36655 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
36656 CFLAGS-tst-wchar-h.c.
36657
30917259
MP
366582012-05-31 Marek Polacek <polacek@redhat.com>
36659
36660 [BZ #14132]
36661 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
36662 __endmntent_internal): Remove declaration.
36663 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
36664 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
36665 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
36666
1c58d5dc
DM
366672012-05-30 David S. Miller <davem@davemloft.net>
36668
36669 * sysdeps/sparc/sparc32/soft-fp/q_util.c
36670 (___Q_simulate_exceptions): Use real FP ops rather than writing
36671 into the %fsr.
36672 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
36673 Likewise.
36674
7dc00e0d
L
366752012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36676
36677 [BZ #14117]
0bd53985
L
36678 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
36679 * sysdeps/x86/bits/xtitypes.h: This.
36680
3a257e66
L
36681 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
36682 * sysdeps/x86/bits/wordsize.h: This.
36683
62f62904
L
36684 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
36685 * sysdeps/x86/bits/huge_vall.h: This.
36686
404fe9d9
L
36687 * sysdeps/i386/bits/select.h: Removed.
36688 * sysdeps/x86_64/bits/select.h: Renamed to ...
36689 * sysdeps/x86/bits/select.h: This.
36690
d48d0446
L
36691 * sysdeps/i386/bits/setjmp.h: Removed.
36692 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
36693 * sysdeps/x86/bits/setjmp.h: This.
36694
7dc00e0d
L
36695 * sysdeps/i386/bits/mathdef.h: Removed.
36696 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
36697 * sysdeps/x86/bits/mathdef.h: This.
36698
03277f8f
AS
366992012-05-30 Andreas Schwab <schwab@linux-m68k.org>
36700
36701 [BZ #14132]
36702 * include/sys/socket.h (__connect_internal)
36703 (__libc_sa_len_internal): Remove declaration.
36704 (__connect, __libc_sa_len): Declare hidden_proto.
36705 (SA_LEN): Remove use of INTUSE.
36706 * socket/connect.c: Add libc_hidden_def.
36707 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
36708 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
36709 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
36710 alias.
36711 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
36712 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
36713 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
36714 of adding _internal alias.
36715
13764867
L
367162012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36717
36718 [BZ #14117]
6bd97696
L
36719 * sysdeps/i386/bits/link.h: Removed.
36720 * sysdeps/i386/bits/linkmap.h: Likewise.
36721 * sysdeps/x86_64/bits/link.h: Renamed to ...
36722 * sysdeps/x86/bits/link.h: This.
36723 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
36724 * sysdeps/x86/bits/linkmap.h: This.
36725
f726f0bb
L
36726 * sysdeps/i386/bits/endian.h: Removed.
36727 * sysdeps/x86_64/bits/endian.h: Renamed to ...
36728 * sysdeps/x86/bits/endian.h: This.
36729
13764867
L
36730 * sysdeps/i386/bits/byteswap.h: Removed.
36731 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36732 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
36733 * sysdeps/x86/bits/byteswap.h: This.
36734 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
36735 * sysdeps/x86/bits/byteswap-16.h: This.
36736 * sysdeps/i386/Implies: Add x86.
36737 * sysdeps/x86_64/Implies: Likewise.
36738
ae251b0b
DM
367392012-05-30 David S. Miller <davem@davemloft.net>
36740
36741 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
36742 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
36743 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36744 (FP_TRAPPING_EXCEPTIONS): Define.
36745 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36746 (FP_TRAPPING_EXCEPTIONS): Define.
36747 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
36748 subnormals only when inexact has been signalled or underflow
36749 exceptions are enabled.
36750 (_FP_PACK_CANONICAL): Likewise.
36751
d5c90867
L
367522012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36753
36754 [BZ #14183]
36755 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
36756 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
36757
63f1549e
RH
367582012-05-30 Richard Henderson <rth@twiddle.net>
36759
8d8f2279
RH
36760 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
36761 with #ifndef NOT_IN_libc.
36762
63f1549e
RH
36763 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
36764 marked to avoid plt entry.
36765
0ab0291b
L
367662012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36767
36768 [BZ #14112]
36769 * Makeconfig (default-abi): New macro.
36770 (abi-includes): Likewise.
36771 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
36772 $(abi-$(default-abi)-lib-soname) for soname if defined.
36773 ($(common-objpfx)gnu/lib-names.stmp): Generate from
36774 abi-variants.
36775 * Makefile (installed-stubs): Likewise.
36776 * include/stubs-biarch.h: Removed.
36777 * scripts/lib-names.awk: Only handle one library at a time.
36778 * scripts/soversions.awk: Remove WORDSIZE support.
36779 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
36780 entries.
36781 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
36782 Removed.
36783 (syscall-list-default-condition): Likewise.
36784 (syscall-list-default-condition): Likewise.
36785 (syscall-list-includes): Likewise.
36786 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
36787 syscall-list-* with abi-*. Handle undefined abi-variants.
36788 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
36789 * sysdeps/unix/sysv/linux/i386/Implies: New file.
36790 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
36791 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
36792 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
36793 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
36794 Removed.
36795 (syscall-list-32-options): Likewise.
36796 (syscall-list-32-condition): Likewise.
36797 (syscall-list-64-options): Likewise.
36798 (syscall-list-64-condition): Likewise.
36799 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
36800 macro.
36801 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
36802 Renamed to ...
36803 (abi-*): This.
36804 (abi-64-ld-soname): New macro.
36805 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
36806 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
36807 Renamed to ...
36808 (abi-*): This.
36809 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
36810 * sysdeps/x86_64/x32/shlib-versions: Likewise.
36811
4da0431d
JM
368122012-05-30 Joseph Myers <joseph@codesourcery.com>
36813
3a85279c
JM
36814 * sysdeps/unix/sysv/linux/kernel-features.h
36815 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
36816 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
36817 include <kernel-features.h>.
36818 [!__NR_ftruncate64]: Remove conditional code.
36819 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36820 [__NR_ftruncate64]: Make code unconditional.
36821 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36822 * sysdeps/unix/sysv/linux/truncate64.c: Do not
36823 include <kernel-features.h>.
36824 [!__NR_ftruncate64]: Remove conditional code.
36825 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36826 [__NR_ftruncate64]: Make code unconditional.
36827 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
36829 include <kernel-features.h>.
36830 [!__NR_ftruncate64]: Remove conditional code.
36831 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36832 [__NR_ftruncate64]: Make code unconditional.
36833 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36835 include <kernel-features.h>.
36836 [!__NR_ftruncate64]: Remove conditional code.
36837 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36838 [__NR_ftruncate64]: Make code unconditional.
36839 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36840
4da0431d
JM
36841 * configure.in (libc_cv_fpie): Weaken to a compile test using
36842 LIBC_TRY_CC_OPTION.
36843 * configure: Regenerated.
36844
11ef492c
AK
368452012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36846
36847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
36848 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
36849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
36850 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36851 Refreshed.
36852 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
36853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
36854 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
36855 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
36856 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
36857 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36858 Refreshed.
36859
d66ef399
DM
368602012-05-27 David S. Miller <davem@davemloft.net>
36861
36862 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
36863 (___Q_zero): New.
36864 (__Q_simulate_exceptions): Return void. Change to simulate
36865 exceptions by writing into the %fsr.
36866 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
36867 (__Qp_handle_exceptions): Likewise.
36868 (numbers): Delete.
36869 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
36870 __Qp_handle_exceptions.
36871 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
36872 __Qp_handle_exceptions.
36873 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36874 as unused and give dummy FP_RND_NEAREST initializer.
36875 (FP_INHIBIT_RESULTS): Define.
36876 (___Q_simulate_exceptions): Update declaration.
36877 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
36878 formatting.
36879 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36880 as unused and give dummy FP_RND_NEAREST initializer.
36881 (__Qp_handle_exceptions): Update declaration.
36882 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
36883 formatting.
36884
04fb54b5
TS
368852012-05-27 Thomas Schwinge <thomas@codesourcery.com>
36886
36887 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
36888 the temporary FPU control word.
36889 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36890 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
36891 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36892 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36893 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36894 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36895 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36896 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36897 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36898 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
36899 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36900
3f99608f
KK
369012012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36902
36903 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36904 fields.
36905
65a4de4e
CLT
369062012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
36907
36908 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36909 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36910 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36911 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36912 Likewise.
36913 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36914 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36915 Likewise.
36916
15749d40
UD
369172012-05-27 Ulrich Drepper <drepper@gmail.com>
36918
36919 * po/h.po: Update from translation team.
36920
25dbcb27
AS
369212012-05-26 Andreas Schwab <schwab@linux-m68k.org>
36922
3d3f8e55
AS
36923 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36924
25dbcb27
AS
36925 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36926 handling of denormals.
36927 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36928 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36929 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36930 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36931 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36932 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36933 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36934 Likewise.
36935
7ad47a80 369362012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
36937
36938 [BZ #14152]
36939 * math/libm-test.inc (fma_test): Don't always expect underflow
36940 exception.
36941
9c6ea9fa
SP
369422012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36943
36944 [BZ #12416]
36945 * elf/tst-execstack.c: Include stackinfo.h.
36946 (do_test): Adjust test case to ensure that pthread_getattr_np
36947 behaviour remains the same after marking stack executable.
36948
a8239222
JM
369492012-05-25 Joseph Myers <joseph@codesourcery.com>
36950
36951 * sysdeps/unix/sysv/linux/kernel-features.h
36952 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36953 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36954 kernel-features.h.
36955 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36956 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36957 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36958 kernel-features.h.
36959 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36960 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36961
918b5606
L
369622012-05-25 H.J. Lu <hongjiu.lu@intel.com>
36963
36964 * configure.in: Define the default includes to being none.
36965 * configure: Regenerated.
36966
3a097cc7
RM
369672012-05-25 Roland McGrath <roland@hack.frob.com>
36968
8422c9a5
RM
36969 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36970 * sysdeps/x86_64/setjmp.S: Likewise.
36971 * sysdeps/i386/bsd-setjmp.S: Likewise.
36972 * sysdeps/i386/bsd-_setjmp.S: Likewise.
36973 * sysdeps/i386/setjmp.S: Likewise.
36974 * sysdeps/i386/__longjmp.S: Likewise.
36975 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36976 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36977
3a097cc7
RM
36978 * include/stap-probe.h: New file.
36979 * configure.in: Handle --enable-systemtap.
36980 * configure: Regenerated.
36981 * config.h.in (USE_STAP_PROBE): New #undef.
36982 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36983 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36984 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36985
21708942
JM
369862012-05-25 Joseph Myers <joseph@codesourcery.com>
36987
36988 [BZ #13717]
36989 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36990 to 2.4.0 where earlier.
36991 * sysdeps/unix/sysv/linux/configure: Regenerated.
36992 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36993 <kernel-features.h>.
36994 [__ASSUME_32BITUIDS]: Make code unconditional.
36995 [!__ASSUME_32BITUIDS]: Remove conditional code.
36996 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
36997 <kernel-features.h>.
36998 [__ASSUME_32BITUIDS]: Make code unconditional.
36999 [!__ASSUME_32BITUIDS]: Remove conditional code.
37000 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
37001 [__ASSUME_32BITUIDS]: Make code unconditional.
37002 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
37003 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
37004 <kernel-features.h>.
37005 [__ASSUME_32BITUIDS]: Make code unconditional.
37006 [!__ASSUME_32BITUIDS]: Remove conditional code.
37007 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
37008 <kernel-features.h>.
37009 [__ASSUME_32BITUIDS]: Make code unconditional.
37010 [!__ASSUME_32BITUIDS]: Remove conditional code.
37011 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
37012 <kernel-features.h>.
37013 [__ASSUME_32BITUIDS]: Make code unconditional.
37014 [!__ASSUME_32BITUIDS]: Remove conditional code.
37015 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
37016 <kernel-features.h>.
37017 [__ASSUME_32BITUIDS]: Make code unconditional.
37018 [!__ASSUME_32BITUIDS]: Remove conditional code.
37019 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37020 <kernel-features.h>.
37021 [__ASSUME_32BITUIDS]: Make code unconditional.
37022 [!__ASSUME_32BITUIDS]: Remove conditional code.
37023 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37024 <kernel-features.h>.
37025 [__ASSUME_32BITUIDS]: Make code unconditional.
37026 [!__ASSUME_32BITUIDS]: Remove conditional code.
37027 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
37028 <kernel-features.h>.
37029 [__ASSUME_32BITUIDS]: Make code unconditional.
37030 [!__ASSUME_32BITUIDS]: Remove conditional code.
37031 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37032 <kernel-features.h>.
37033 [__ASSUME_32BITUIDS]: Make code unconditional.
37034 [!__ASSUME_32BITUIDS]: Remove conditional code.
37035 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37036 <kernel-features.h>.
37037 [__ASSUME_32BITUIDS]: Make code unconditional.
37038 [!__ASSUME_32BITUIDS]: Remove conditional code.
37039 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
37040 <kernel-features.h>.
37041 [__ASSUME_32BITUIDS]: Make code unconditional.
37042 [!__ASSUME_32BITUIDS]: Remove conditional code.
37043 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
37044 <kernel-features.h>.
37045 [__NR_setresgid] (__setresgid): Do not declare.
37046 [__ASSUME_32BITUIDS]: Make code unconditional.
37047 [!__ASSUME_32BITUIDS]: Remove conditional code.
37048 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
37049 <kernel-features.h>.
37050 [__NR_setresuid] (__setresuid): Do not declare.
37051 [__ASSUME_32BITUIDS]: Make code unconditional.
37052 [!__ASSUME_32BITUIDS]: Remove conditional code.
37053 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
37054 <kernel-features.h>.
37055 [__ASSUME_32BITUIDS]: Make code unconditional.
37056 [!__ASSUME_32BITUIDS]: Remove conditional code.
37057 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
37058 <kernel-features.h>.
37059 [__ASSUME_32BITUIDS]: Make code unconditional.
37060 [!__ASSUME_32BITUIDS]: Remove conditional code.
37061 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
37062 <kernel-features.h>.
37063 [__ASSUME_32BITUIDS]: Make code unconditional.
37064 [!__ASSUME_32BITUIDS]: Remove conditional code.
37065 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
37066 <kernel-features.h>.
37067 [__ASSUME_32BITUIDS]: Make code unconditional.
37068 [!__ASSUME_32BITUIDS]: Remove conditional code.
37069 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
37070 <kernel-features.h>.
37071 [__ASSUME_32BITUIDS]: Make code unconditional.
37072 [!__ASSUME_32BITUIDS]: Remove conditional code.
37073 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
37074 <kernel-features.h>.
37075 [__ASSUME_32BITUIDS]: Make code unconditional.
37076 [!__ASSUME_32BITUIDS]: Remove conditional code.
37077 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
37078 <kernel-features.h>.
37079 [__ASSUME_32BITUIDS]: Make code unconditional.
37080 [!__ASSUME_32BITUIDS]: Remove conditional code.
37081 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
37082 <kernel-features.h>.
37083 [__ASSUME_32BITUIDS]: Make code unconditional.
37084 [!__ASSUME_32BITUIDS]: Remove conditional code.
37085 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
37086 <kernel-features.h>.
37087 [__ASSUME_32BITUIDS]: Make code unconditional.
37088 [!__ASSUME_32BITUIDS]: Remove conditional code.
37089 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37090 <kernel-features.h>.
37091 [__ASSUME_32BITUIDS]: Make code unconditional.
37092 [!__ASSUME_32BITUIDS]: Remove conditional code.
37093 * sysdeps/unix/sysv/linux/kernel-features.h
37094 (__ASSUME_SETRESUID_SYSCALL): Remove.
37095 (__ASSUME_SETRESGID_SYSCALL): Likewise.
37096 (__ASSUME_32BITUIDS): Likewise.
37097 (__ASSUME_LDT_WORKS): Likewise.
37098 (__ASSUME_O_DIRECTORY): Likewise.
37099 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
37100 architecture but not kernel version.
37101 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
37102 (__ASSUME_MMAP2_SYSCALL): Likewise.
37103 (__ASSUME_STAT64_SYSCALL): Likewise.
37104 (__ASSUME_IPC64): Likewise.
37105 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
37106 <kernel-features.h>.
37107 [__ASSUME_32BITUIDS]: Make code unconditional.
37108 [!__ASSUME_32BITUIDS]: Remove conditional code.
37109 * sysdeps/unix/sysv/linux/opendir.c: Do not include
37110 <kernel-features.h>.
37111 [__ASSUME_O_DIRECTORY]: Make code unconditional.
37112 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
37113 132096]: Remove conditional code.
37114 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
37115 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37116 <kernel-features.h>.
37117 [__ASSUME_32BITUIDS]: Make code unconditional.
37118 [!__ASSUME_32BITUIDS]: Remove conditional code.
37119 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37120 <kernel-features.h>.
37121 [__ASSUME_32BITUIDS]: Make code unconditional.
37122 [!__ASSUME_32BITUIDS]: Remove conditional code.
37123 * sysdeps/unix/sysv/linux/setegid.c: Do not include
37124 <kernel-features.h>.
37125 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
37126 unconditional.
37127 (__setresgid): Do not declare.
37128 [__ASSUME_32BITUIDS]: Make code unconditional.
37129 [!__ASSUME_32BITUIDS]: Remove conditional code.
37130 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
37131 <kernel-features.h>.
37132 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
37133 unconditional.
37134 (__setresuid): Do not declare.
37135 [__ASSUME_32BITUIDS]: Make code unconditional.
37136 [!__ASSUME_32BITUIDS]: Remove conditional code.
37137 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37138 <kernel-features.h>.
37139 [__ASSUME_32BITUIDS]: Make code unconditional.
37140 [!__ASSUME_32BITUIDS]: Remove conditional code.
37141 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
37142 <kernel-features.h>.
37143 [__ASSUME_32BITUIDS]: Make code unconditional.
37144 [!__ASSUME_32BITUIDS]: Remove conditional code.
37145
a386f1cc
RH
371462012-05-25 Richard Henderson <rth@twiddle.net>
37147
37148 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
37149 dl_hwcap to ifunc resolver.
37150 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
37151 elf_ifunc_invoke.
37152 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
37153 dl_hwcap to ifunc resolver.
37154 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
37155
b6550497
JM
371562012-05-24 Joseph Myers <joseph@codesourcery.com>
37157
37158 [BZ #14153]
37159 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
37160 for |x| <= 2**-26, not 2**-57.
37161 * math/libm-test.inc (acos_test): Do not allow spurious underflow
37162 exception.
37163
b0bc23a1
JL
371642012-05-24 Jeff Law <law@redhat.com>
37165
37166 * stdio-common/Makefile (tests): Add bug25.
37167 * stdio-common/bug25.c: New test.
37168
347c92e9
L
371692012-05-24 H.J. Lu <hongjiu.lu@intel.com>
37170
37171 [BZ #13576]
37172 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
37173 multiple of MALLOC_ALIGNMENT in size.
37174 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
37175
6bcc8b3f
JM
371762012-05-24 Joseph Myers <joseph@codesourcery.com>
37177
37178 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
37179 Require >= 256.
37180 (FILENAME_MAX): Use macro-int-constant.
37181 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
37182 (_IOFBF): Use macro-int-constant.
37183 (_IOLBF): Likewise.
37184 (_IONBF): Likewise.
37185 (SEEK_CUR): Likewise.
37186 (SEEK_END): Likewise.
37187 (SEEK_SET): Likewise.
37188 (TMP_MAX): Likewise.
37189 (EOF): Use macro-int-constant. Require < 0.
37190 (NULL): Use macro-constant. Require == 0.
37191 (stdin): Require type to be FILE *.
37192 (stdout): Likewise.
37193 (stderr): Likewise.
37194 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
37195 macro-int-constant.
37196 (EXIT_SUCCESS): Likewise.
37197 (NULL): Use macro-constant. Require == 0.
37198 (RAND_MAX): Use macro-int-constant.
37199 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
37200 [C99-based standards] (strtof): Require function.
37201 [C99-based standards] (strtold): Likewise.
37202 [C99-based standards] (strtoll): Likewise.
37203 [C99-based standards] (strtoull): Likewise.
37204 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37205 [ISO || ISO99 || ISO11] (limits.h): Likewise.
37206 [ISO || ISO99 || ISO11] (math.h): Likewise.
37207 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
37208 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37209 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37210
d18ea0c5
AS
372112012-05-24 Andreas Schwab <schwab@linux-m68k.org>
37212
37213 [BZ #14132]
56d25bb8
AS
37214 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
37215 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
37216 * intl/dgettext.c (DCGETTEXT): Likewise.
37217 * intl/gettext.c (DCGETTEXT): Likewise.
37218 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
37219 * posix/regex_internal.h (gettext): Likewise.
37220 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
37221 Remove declaration.
37222 * include/argz.h (__argz_count_internal)
37223 (__argz_stringify_internal): Remove declaration.
37224 (__argz_count, __argz_stringify): Declare hidden proto.
37225 * intl/dcgettext.c: Remove use of INTDEF.
37226 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
37227 * string/argz-stringify.c: Likewise.
37228 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37229 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37230 Declare hidden proto.
d18ea0c5
AS
37231 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37232 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37233 Declare hidden proto.
37234 * include/stdio.h (__asprintf_internal): Don't declare.
37235 (__asprintf): Don't define as macro. Declare hidden proto.
37236 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
37237 (__fsetlocking): Declare hidden proto.
37238 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
37239 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
37240 hidden proto.
37241 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
37242 (_IO_setlinebuf): Remove use of INTUSE.
37243 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
37244 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
37245 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
37246 Remove declaration.
37247 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
37248 (_IO_do_flush): Remove use of INTUSE.
37249 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
37250 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
37251 (_IO_adjust_column, _IO_least_wmarker)
37252 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
37253 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
37254 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
37255 (_IO_default_doallocate, _IO_wdefault_doallocate)
37256 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
37257 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
37258 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
37259 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
37260 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
37261 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
37262 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
37263 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
37264 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
37265 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
37266 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
37267 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
37268 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
37269 proto.
37270 (_IO_flush_all_internal, _IO_adjust_column_internal)
37271 (_IO_default_uflow_internal, _IO_default_finish_internal)
37272 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
37273 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
37274 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
37275 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
37276 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
37277 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
37278 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
37279 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
37280 (_IO_file_close_internal, _IO_file_close_it_internal)
37281 (_IO_file_underflow_internal, _IO_file_overflow_internal)
37282 (_IO_file_init_internal, _IO_file_attach_internal)
37283 (_IO_file_fopen_internal, _IO_file_read_internal)
37284 (_IO_file_sync_internal, _IO_file_seek_internal)
37285 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
37286 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
37287 (_IO_str_underflow_internal, _IO_str_overflow_internal)
37288 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
37289 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
37290 (_IO_list_all_internal, _IO_link_in_internal)
37291 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
37292 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
37293 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
37294 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
37295 (_IO_do_write_internal, _IO_padn_internal)
37296 (_IO_getline_info_internal, _IO_getline_internal)
37297 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
37298 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
37299 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
37300 (_IO_vfscanf_internal, _IO_vfprintf_internal)
37301 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
37302 (_IO_init_internal, _IO_un_link_internal): Don't declare.
37303 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
37304 with libc_hidden_ver, remove use of INTUSE.
37305 * libio/genops.c: Likewise.
37306 * libio/freopen.c: Likewise.
37307 * libio/freopen64.c: Likewise.
37308 * libio/iofclose.c: Likewise.
37309 * libio/iofdopen.c: Likewise.
37310 * libio/iofflush.c: Likewise.
37311 * libio/iofflush_u.c: Likewise.
37312 * libio/iofgets.c: Likewise.
37313 * libio/iofgets_u.c: Likewise.
37314 * libio/iofopen.c: Likewise.
37315 * libio/iofopncook.c: Likewise.
37316 * libio/iofread.c: Likewise.
37317 * libio/iofread_u.c: Likewise.
37318 * libio/ioftell.c: Likewise.
37319 * libio/iofwrite.c: Likewise.
37320 * libio/iogetline.c: Likewise.
37321 * libio/iogets.c: Likewise.
37322 * libio/iogetwline.c: Likewise.
37323 * libio/iopadn.c: Likewise.
37324 * libio/iopopen.c: Likewise.
37325 * libio/ioseekoff.c: Likewise.
37326 * libio/ioseekpos.c: Likewise.
37327 * libio/iosetbuffer.c: Likewise.
37328 * libio/iosetvbuf.c: Likewise.
37329 * libio/ioungetc.c: Likewise.
37330 * libio/ioungetwc.c: Likewise.
37331 * libio/iovdprintf.c: Likewise.
37332 * libio/iovsprintf.c: Likewise.
37333 * libio/iovsscanf.c: Likewise.
37334 * libio/memstream.c: Likewise.
37335 * libio/obprintf.c: Likewise.
37336 * libio/oldfileops.c: Likewise.
37337 * libio/oldiofclose.c: Likewise.
37338 * libio/oldiofdopen.c: Likewise.
37339 * libio/oldiofopen.c: Likewise.
37340 * libio/oldiopopen.c: Likewise.
37341 * libio/oldstdfiles.c: Likewise.
37342 * libio/putc.c: Likewise.
37343 * libio/setbuf.c: Likewise.
37344 * libio/setlinebuf.c: Likewise.
37345 * libio/stdfiles.c: Likewise.
37346 * libio/strops.c: Likewise.
37347 * libio/vasprintf.c: Likewise.
37348 * libio/vscanf.c: Likewise.
37349 * libio/vsnprintf.c: Likewise.
37350 * libio/vswprintf.c: Likewise.
37351 * libio/wfiledoalloc.c: Likewise.
37352 * libio/wfileops.c: Likewise.
37353 * libio/wgenops.c: Likewise.
37354 * libio/wmemstream.c: Likewise.
37355 * libio/wstrops.c: Likewise.
37356 * libio/__fpurge.c: Likewise.
37357 * libio/__fsetlocking.c: Likewise.
37358 * assert/assert.c: Likewise.
37359 * debug/fgets_chk.c: Likewise.
37360 * debug/fgets_u_chk.c: Likewise.
37361 * debug/fread_chk.c: Likewise.
37362 * debug/fread_u_chk.c: Likewise.
37363 * debug/gets_chk.c: Likewise.
37364 * debug/obprintf_chk.c: Likewise.
37365 * debug/vasprintf_chk.c: Likewise.
37366 * debug/vdprintf_chk.c: Likewise.
37367 * debug/vsnprintf_chk.c: Likewise.
37368 * debug/vsprintf_chk.c: Likewise.
37369 * malloc/mtrace.c: Likewise.
37370 * misc/error.c: Likewise.
37371 * misc/syslog.c: Likewise.
37372 * stdio-common/asprintf.c: Likewise.
37373 * stdio-common/fxprintf.c: Likewise.
37374 * stdio-common/getw.c: Likewise.
37375 * stdio-common/isoc99_fscanf.c: Likewise.
37376 * stdio-common/isoc99_scanf.c: Likewise.
37377 * stdio-common/isoc99_vfscanf.c: Likewise.
37378 * stdio-common/isoc99_vscanf.c: Likewise.
37379 * stdio-common/isoc99_vsscanf.c: Likewise.
37380 * stdio-common/printf-prs.c: Likewise.
37381 * stdio-common/printf_fp.c: Likewise.
37382 * stdio-common/printf_fphex.c: Likewise.
37383 * stdio-common/printf_size.c: Likewise.
37384 * stdio-common/putw.c: Likewise.
37385 * stdio-common/scanf.c: Likewise.
37386 * stdio-common/sprintf.c: Likewise.
37387 * stdio-common/tmpfile.c: Likewise.
37388 * stdio-common/vfprintf.c: Likewise.
37389 * stdio-common/vfscanf.c: Likewise.
37390 * stdlib/strfmon_l.c: Likewise.
37391 * sunrpc/openchild.c: Likewise.
37392 * sunrpc/xdr_stdio.c: Likewise.
37393 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
37394 * sysdeps/mach/hurd/tmpfile.c: Likewise.
37395
d6c33fda
RM
373962012-05-24 Roland McGrath <roland@hack.frob.com>
37397
c1487492
RM
37398 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37399
37400 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
37401 in the third column, to generate for the shared library an IFUNC
37402 that uses _dl_vdso_vsym.
37403 * Makerules (COMPILE.c, compile-stdin.c): New variables.
37404 * Makeconfig (object-suffixes-noshared): New variable.
37405
37406 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
37407 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
37408 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
37409 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
37410
d6c33fda
RM
37411 [BZ #14132]
37412 * include/sys/time.h (__gettimeofday): Remove macro.
37413 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
37414 * time/gettimeofday.c (__gettimeofday): Remove #undef.
37415 Remove INTDEF.
37416 (__gettimeofday): Add libc_hidden_def.
37417 (gettimeofday): Add libc_hidden_weak.
37418 * sysdeps/mach/gettimeofday.c: Likewise.
37419 * sysdeps/posix/gettimeofday.c: Likewise.
37420 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
37421 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
37422 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
37423 (__gettimeofday_internal): Remove strong_alias.
37424 (__gettimeofday): Add libc_hidden_def.
37425 (gettimeofday): Add libc_hidden_weak.
37426 * sysdeps/unix/syscalls.list (gettimeofday):
37427 Remove __gettimeofday_internal alias.
37428
b5a2bbe6
L
374292012-05-24 Daniel Jacobowitz <drow@false.org>
37430 H.J. Lu <hongjiu.lu@intel.com>
37431
37432 [BZ #12495]
37433 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
37434 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
37435 (largebin_index_32_big): New.
37436 (largebin_index): Use it for 16-byte alignment.
37437 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
37438 correction with front_misalign.
37439
cfba4fda
L
374402012-05-24 H.J. Lu <hongjiu.lu@intel.com>
37441
7f907421
L
37442 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
37443 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
37444 Likewise.
37445 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
37446 Likewise.
37447 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37448 Likewise.
37449 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
37450 Likewise.
37451 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
37452 Likewise.
37453 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
37454 Likewise.
37455 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
37456 Likewise.
37457 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
37458 Likewise.
37459 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
37460 Likewise.
37461 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
37462 Likewise.
37463 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
37464 Likewise.
37465 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
37466 Likewise.
37467
cfba4fda
L
37468 * scripts/data/c++-types-x32-linux-gnu.data: New file.
37469 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
37470
80bad0cc
JM
374712012-05-24 Joseph Myers <joseph@codesourcery.com>
37472
7a25eb06
JM
37473 [BZ #10846]
37474 [BZ #14036]
37475 * math/libm-test.inc (exp_test): Add test from bug 14036.
37476 (pow_test): Add test from bug 10846.
37477
795405f9
JM
37478 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
37479 and other flags.
37480 (special_function): Do not include flags in test name.
37481 (parse_args): Likewise.
37482 * sysdeps/i386/fpu/libm-test-ulps: Update.
37483 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37484 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37485 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37487
80bad0cc
JM
37488 * math/gen-libm-test.pl (%beautify): Add entries for underflow
37489 exceptions.
37490 * math/libm-test.inc ("Philosophy"): Update comment about
37491 exception testing.
37492 (UNDERFLOW_EXCEPTION): New macro.
37493 (UNDERFLOW_EXCEPTION_OK): Likewise.
37494 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
37495 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
37496 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
37497 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
37498 (INVALID_EXCEPTION_OK): Update value.
37499 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37500 (OVERFLOW_EXCEPTION_OK): Likewise.
37501 (IGNORE_ZERO_INF_SIGN): Likewise.
37502 (test_exceptions): Handle underflow exceptions.
37503 (acos_test): Update for underflow exception expectations.
37504 (cexp_test): Likewise.
37505 (clog_test): Likewise.
37506 (clog10_test): Likewise.
37507 (csqrt_test): Likewise.
37508 (ctan_test): Likewise.
37509 (ctanh_test): Likewise.
37510 (exp_test): Likewise.
37511 (exp10_test): Likewise.
37512 (exp2_test): Likewise.
37513 (expm1_test): Likewise.
37514 (fma_test): Likewise.
37515 (j0_test): Likewise.
37516 (jn_test): Likewise.
37517 (nexttoward_test): Likewise.
37518 (pow_test): Likewise.
37519 (scalbn_test): Likewise.
37520 (scalbln_test): Likewise.
37521 (tan_test): Likewise.
37522 (y1_test): Likewise.
37523 * sysdeps/i386/fpu/libm-test-ulps: Update.
37524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37525
9e0e3d0b
DM
375262012-05-23 David S. Miller <davem@davemloft.net>
37527
37528 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37529 (__libc_sigaction): Remove unused local variables.
37530
ccd0a08f
L
375312012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37532
37533 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
37534
62bdf9a6
PE
375352012-05-23 Paul Eggert <eggert@cs.ucla.edu>
37536
f8591f80
PE
37537 mktime: avoid signed integer overflow
37538 * time/mktime.c (__mktime_internal): Do not mishandle the case
37539 where diff == INT_MIN.
37540
94c7d826
PE
37541 mktime: simplify computation of average
37542 * time/mktime.c (ranged_convert): Use new time_t_avg function
37543 instead of rolling our own (probably-slower) code.
37544
ce73d683
PE
37545 mktime: do not assume signed right shift propagates sign bit
37546 * time/mktime.c (isdst_differ): New static function.
37547 (__mktime_internal): No need to normalize tm_isdst now.
37548 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
37549 tm_isdst values.
37550
72a22e59
PE
37551 mktime: merge another wrapv change from gnulib
37552 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
37553 from some compilers.
37554
68605433
PE
37555 mktime: remove incorrect attempt at unusual arithmetics
37556 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
37557 The code didn't really work on such machines anyway.
37558 (TYPE_MINIMUM): Assume two's complement.
37559 (twos_complement_arithmetic): Verify that long_int and time_t
37560 are two's complement (or unsigned, in the latter case).
37561
03cf7fe3
PE
37562 mktime: check signed shifts on long_int and time_t, too
37563 * time/mktime.c (SHR): Check that shifts work as desired
37564 on the types long_int and time_t too, as SHR is used on
37565 such types.
37566
f04dfbc2
PE
37567 mktime: do not assume 'long' is wide enough
37568 * time/mktime.c (verify): Move decl up.
37569 (long_int): New type.
37570 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
37571 to remove assumption in the code that 'long' is wide enough to
37572 store year values. This assumption is not true on x32 and on
37573 some non-glibc platforms.
37574
62bdf9a6
PE
37575 mktime: merge wrapv change from gnulib
37576 * time/mktime.c (WRAPV): New macro.
37577 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
37578 (guess_time_tm, __mktime_internal): Do not assume that signed
37579 integer overflow wraps around; modern compilers generate code
37580 where this assumption is no longer valid.
37581
5e292e4f
L
375822012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37583
37584 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37585 Replace "jmp L(pseudo_end)" with "ret".
37586 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
37587 Likewise.
37588
8caf8c87
AJ
375892012-05-23 Andreas Jaeger <aj@suse.de>
37590
37591 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
37592 * sysdeps/unix/sysv/linux/poll.c: Remove file.
37593
1a09dc56
AJ
375942012-05-23 Andreas Jaeger <aj@suse.de>
37595 Maximilian Attems <max@stro.at>
37596
37597 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
37598 New macros.
37599
1c87aba0
L
376002012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37601
37602 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
37603 code so that pseudo_end is just ret and the stack pointer is
37604 correct also for static library in error case.
37605
40e45bd5
JM
376062012-05-23 Joseph Myers <joseph@codesourcery.com>
37607
c2670533
JM
37608 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
37609 move to syscalls.list.
37610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
37611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37614
40e45bd5
JM
37615 * manual/install.texi (Running make install): Do not mention Linux
37616 kernel version for which pt_chown is not needed.
37617 (Linux): Do not mention problems with nscd with 2.0 kernels.
37618 * INSTALL: Regenerated.
37619
be08eda5
AJ
376202012-05-23 Andreas Jaeger <aj@suse.de>
37621
37622 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
37623 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
37624 macro.
37625 * sysdeps/unix/sysv/linux/s390/bits/mman.h
37626 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37627 * sysdeps/unix/sysv/linux/sh/bits/mman.h
37628 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37629 * sysdeps/unix/sysv/linux/i386/bits/mman.h
37630 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37631 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
37632 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37633 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
37634 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37635 * sysdeps/unix/sysv/linux/bits/in.h
37636 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
37637
a6a056bb
RM
376382012-05-22 Roland McGrath <roland@hack.frob.com>
37639
37640 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
37641 (PREPARE_VERSION): Just use assert instead, it will be elided
37642 under [NDEBUG] anyway.
37643
c9009328
L
376442012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37645
37646 * sysdeps/unix/sysv/linux/Makefile: Include
37647 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 37648 (sysdep_routines): Remove sysctl.
c9009328
L
37649 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
37650 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
37651 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
37652 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
37653 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
37654
73338355
AJ
376552012-05-22 Andreas Jaeger <aj@suse.de>
37656
37657 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
37658 that pseudo_end is just ret and the stack pointer is correct also
37659 for static library in error case.
37660
d44638b0
PP
376612012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
37662
37663 [BZ #14122]
37664 * nss/nsswitch.c (defconfig_entries): New variable.
37665 (__nss_database_lookup): Don't leak defconfig entries.
37666 (nss_parse_service_list): Don't leak on error paths.
37667 (free_database_entries): New function.
37668 (free_defconfig): New function.
37669 (free_mem): Move common code to free_database_entries.
37670
31a39bd8
L
376712012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37672
da0331a8
L
37673 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
37674 Add arch_prctl.
37675 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
37676
31a39bd8
L
37677 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37678 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
37679 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
37680 New macro.
37681 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
37682 (INTERNAL_SYSCALL_TYPES): Likewise.
37683 (LOAD_ARGS_TYPES_[1-6]): Likewise.
37684 (LOAD_REGS_TYPES_[1-6]): Likewise.
37685 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
37686 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
37687
45470df3
AZ
376882012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37689
37690 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
37691 copysignl for GLIBC_2_0.
37692 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
37693 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
37694 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
37695 logbl for GLIBC_2_0.
37696 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
37697 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
37698
98a61bcb
L
376992012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37700
a4f6e481
L
37701 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
37702 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37703
f63d5db6
L
37704 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37705 Use "neg %eax".
37706
98a61bcb
L
37707 * time/mktime.c: Update copyright years.
37708
95770f14
PE
377092012-05-22 Paul Eggert <eggert@cs.ucla.edu>
37710
6226efbd
PE
37711 mktime: merge comment-quoting-style change from gnulib
37712 * time/mktime.c: Quote 'like this' in comments.
37713 The GNU coding standards suggest that we no longer quote `like this',
37714 as "`" and "'" are typically rendered asymmetrically nowadays.
37715 The typical gnulib style is to quote 'like this' when quoting
37716 code, and "like this" when quoting English.
37717
b99e4f78
PE
37718 * time/mktime.c (compile-command): Add "-I.".
37719
643e01e6
PE
37720 mktime: merge mktime-internal.h change from gnulib
37721 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
37722
2554247d
PE
37723 mktime: merge time_r change from gnulib
37724 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
37725
826dd0ab
PE
37726 mktime: merge DEBUG change from gnulib
37727 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
37728 case system <time.h> has a #define.
37729
bd83aabe
PE
37730 mktime: merge <sys/types.h> change from gnulib
37731 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
37732 since <time.t> is now guaranteed to define time_t.
37733
95770f14
PE
37734 mktime: merge HAVE_CONFIG_H change from gnulib
37735 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
37736
5e1a27a9
L
377372012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37738
0e44a77e
L
37739 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37740 Use "neg %eax".
37741
5e1a27a9
L
37742 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
37743 __rlim_t cast.
37744 (struct rusage): Use anonymous union to pad each field to
37745 __syscall_slong_t.
37746
46259bec
DM
377472012-05-21 David S. Miller <davem@davemloft.net>
37748
37749 * Makefules (o-iterator): Remove .s cases.
37750 (compile-command.s): Delete.
37751 (COMPILE.s): Delete.
37752 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
37753
59f0c22e
JM
377542012-05-21 Joseph Myers <joseph@codesourcery.com>
37755
37756 * configure.in (libc_cv_predef_stack_protector): Only consider
37757 "foobar" and "__stack_chk_fail" lines in libc_undefs.
37758 * configure: Regenerated.
37759
20c07380
L
377602012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37761
bbb3154b
L
37762 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37763 New macro. Use R*LP on int and pointer.
37764 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
37765 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
37766 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
37767 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
37768
20c07380
L
37769 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
37770 [__WORDSIZE_TIME64_COMPAT32] instead of
37771 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
37772 (struct utmp): Likewise.
37773 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
37774 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
37775 Renamed to ...
37776 (__WORDSIZE_TIME64_COMPAT32): This.
37777 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
37778 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
37779 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
37780 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
37781 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
37782 (__WORDSIZE_TIME64_COMPAT32): New macro.
37783
d8d1017e
AJ
377842012-05-21 Andreas Jaeger <aj@suse.de>
37785
37786 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
37787 only if [SHARED]. Add prototype for __wcschr_ia32.
37788
6c7fb145
RM
377892012-05-21 Roland McGrath <roland@hack.frob.com>
37790
37791 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
37792 of %rbp unmolested in the jmp_buf while mangling the low bits.
37793 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
37794 unmolested high bits of %rbp while demangling the low bits.
37795 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37796
66274218
AJ
377972012-05-21 Andreas Jaeger <aj@suse.de>
37798
07c58f8f
AJ
37799 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
37800 * sunrpc/svc_simple.c: Use it for registerrpc.
37801 * sunrpc/xcrypt.c: Use it for passwd2des.
37802
66274218
AJ
37803 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
37804
61f65140
L
378052012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37806
37807 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
37808 Don't define if [__SYSCALL_WORDSIZE != 32].
37809 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
37810 New macro.
37811
5fefb436
AJ
378122012-05-21 Bruno Haible <bruno@clisp.org>
37813 Andreas Jaeger <aj@suse.de>
37814
37815 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
37816 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
37817 inptr and inend for must_buffer_ch.
37818 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
37819 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
37820 * stdio-common/Makefile (tests): Remove bug15.
37821 (bug15-ENV): Remove macro.
37822 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
37823 anymore.
37824
d8e272ab
AJ
378252012-05-19 Andreas Jaeger <aj@suse.de>
37826 Roland McGrath <roland@hack.frob.com>
37827
37828 * manual/contrib.texi: Completely rewritten. It contains now an
37829 alphabetical list of contributors and their contributions.
37830
4a56a162
RH
378312012-05-21 Richard Henderson <rth@twiddle.net>
37832
37833 * misc/getauxval.c (__getauxval): Use unsigned long int.
37834 * misc/sys/auxv.h: Include <sys/cdefs.h>.
37835 (getauxval): Use unsigned long int.
37836
d024d23c
L
378372012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37838
37839 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37840
cbc00a03
RM
378412012-05-21 Roland McGrath <roland@hack.frob.com>
37842
37843 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
37844 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
37845 __alignof__ (long double).
37846
478143fa
AZ
378472012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37848
37849 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37850
c7683a6d
RH
378512012-05-20 Richard Henderson <rth@twiddle.net>
37852
37853 * misc/getauxval.c: New file.
37854 * misc/sys/auxv.h: New file.
37855 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
37856 (routines): Add getauxval.
37857 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
37858 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
37859 * elf/dl-sysdep.c (_dl_auxv): Remove.
37860 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
37861 * elf/dl-support.c (_dl_auxv): New variable.
37862 (_dl_aux_init): Initialize it.
37863 * manual/startup.texi (Auxiliary Vector): New node.
37864 * sysdeps/generic/bits/hwcap.h: New file.
37865 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
37866 * sysdeps/powerpc/sysdep.h: ... here. Include it.
37867 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
37868 * sysdeps/sparc/sysdep.h: ... here. Include it.
37869 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
37870 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
37871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37872 Update.
c7683a6d
RH
37873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
37874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
37875 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
37876 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
37877 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37878 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37879 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
37880 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
37881
a6f1845d
AZ
378822012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37883
37884 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37885
cbcbe830
DM
378862012-05-19 David S. Miller <davem@davemloft.net>
37887
37888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37889
e0b16cc2
JM
378902012-05-19 Joseph Myers <joseph@codesourcery.com>
37891
37892 [BZ #14123]
37893 * math/s_ccosh.c: Include <float.h>
37894 (__ccosh): Avoid internal overflow calculating sinh and cosh
37895 values before multiplying by sin and cos values.
37896 * math/s_ccoshf.c: Likewise.
37897 * math/s_ccoshl.c: Likewise.
37898 * math/s_csin.c: Likewise.
37899 * math/s_csinf.c: Likewise.
37900 * math/s_csinl.c: Likewise.
37901 * math/s_csinh.c: Likewise.
37902 * math/s_csinhf.c: Likewise.
37903 * math/s_csinhl.c: Likewise.
37904 * math/libm-test.inc (ccos_test): Add more tests.
37905 (ccosh_test): Likewise.
37906 (csin_test): Likewise.
37907 (csinh_test): Likewise.
37908 * sysdeps/i386/fpu/libm-test-ulps: Update.
37909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37910
6ad13e08
L
379112012-05-19 H.J. Lu <hongjiu.lu@intel.com>
37912
f66f0ce8
L
37913 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37914 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37915
6ad13e08
L
37916 * sysdeps/x86_64/x32/_itoa.h: Add comment.
37917
b1d072a7
JM
379182012-05-19 Joseph Myers <joseph@codesourcery.com>
37919
37920 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37921 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37922 * sysdeps/powerpc/soft-fp/Versions: Likewise.
37923 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37924 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37925 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37926 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37927 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37928 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37929 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37930 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37931 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37932 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37933 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37934 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37935 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37936 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37937 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37938 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37939 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37940 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37941 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37942 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37943 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37944 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37945 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37946 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37947 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37948 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37949 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37950 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37951
9eae47cb
AJ
379522012-05-18 Andreas Jaeger <aj@suse.de>
37953
37954 * csu/.gitignore: Delete.
37955
bb07f69f
L
379562012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37957
37958 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37959 (timex): Use __syscall_slong_t.
37960
e6bdb741
AJ
379612012-05-18 Andreas Jaeger <aj@suse.de>
37962 Carlos O'Donell <carlos_odonell@mentor.com>
37963
37964 * manual/install.texi (Configuring and compiling): Update
37965 description about files modified in the source directory.
d6c33fda 37966 * INSTALL: Regenerated.
e6bdb741 37967
1b74487e
L
379682012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37969
37970 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37971 value. Use "or" to set return value to -1.
37972 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37973 negate return value.
37974
a88b64b9
TMQMF
379752012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37976
57f41c40
AS
37977 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37978 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
37979 failure if the compiler has Graphite support disabled.
37980 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37981 Likewise.
57f41c40
AS
37982 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37983 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
37984 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37985 Likewise.
37986
3707636e
L
379872012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37988
610b8622
L
37989 * sysdeps/x86_64/x32/_itoa.h: New file.
37990
7cd195df
L
37991 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37992 getdents system call only if kernel and user dirents have the
37993 same d_ino and d_off.
37994
94b07d20
L
37995 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37996 LLONG_MAX != LONG_MAX.
37997 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37998 (_fitoa_word): Likewise.
37999
18298070
L
38000 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
38001 years.
38002 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
38003 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
38004 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
38005
553c7ea4
L
38006 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
38007 include <bits/wordsize.h>. Check __x86_64__ instead of
38008 __WORDSIZE.
38009 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
38010 if __x86_64__ is defined. Use anonymous union on fpstate.
38011
3707636e
L
38012 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
38013 anonymous union.
38014
b53ef01a
AS
380152012-05-18 Andreas Schwab <schwab@linux-m68k.org>
38016
37fb1dc0
AS
38017 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
38018 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
38019 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
38020 Refer to _rtld_local_ro instead of _rtld_global_ro.
38021 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
38022 Likewise.
38023 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
38024 Likewise.
38025 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
38026 Likewise.
38027 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
38028 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
38029 of _rtld_global, and rtld_progname instead of _dl_argv[0].
38030
b53ef01a
AS
38031 * sysdeps/powerpc/powerpc32/dl-machine.c
38032 (__elf_machine_runtime_setup) [PROF]: Don't reference
38033 _dl_prof_resolve.
38034
7a185db2
AJ
380352012-05-18 Andreas Jaeger <aj@suse.de>
38036
38037 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
38038 function only available for GCCs before 3.4 since GCC 3.4
38039 introduced a builtin.
38040 (lrint): Likewise.
38041 (llrintf): Likewise.
38042 (llrint): Likewise.
38043 (fmaxf): Likewise.
38044 (fmax): Likewise.
38045 (fminf): Likewise.
38046 (fmin): Likewise.
38047 (rint): Likewise.
38048 (rintf): Likewise.
38049 (nearbyint): Likewise.
38050 (nearbyintf): Likewise.
38051 (ceil): Likewise.
38052 (ceilf): Likewise.
38053 (floor): Likewise.
38054 (floorf): Likewise.
38055
3e5aef87
L
380562012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38057
428bd707
L
38058 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
38059 on both fields and cast pointer to __syscall_ulong_t.
38060
3e5aef87
L
38061 * bits/types.h (__fsword_t): New type.
38062 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
38063 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
38064 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38065 (__FSWORD_T_TYPE): Likewise.
38066 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38067 (__FSWORD_T_TYPE): Likewise.
38068 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38069 (__FSWORD_T_TYPE): Likewise.
38070 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
38071 (__FSWORD_T_TYPE): Likewise.
38072 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
38073 __SWORD_TYPE with __fsword_t.
38074 (statfs64): Likewise.
38075
1ba7c3dc
DM
380762012-05-17 David S. Miller <davem@davemloft.net>
38077
38078 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
38079
59910343
AJ
380802012-05-17 Andreas Jaeger <aj@suse.de>
38081
38082 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
38083 warning.
38084
2e4c1e9e
L
380852012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38086
38087 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
38088
de7f5ce7
AJ
380892012-05-17 Andreas Jaeger <aj@suse.de>
38090
38091 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
38092 when it is used.
38093
286abc3d
CM
380942012-05-17 Chris Metcalf <cmetcalf@tilera.com>
38095
38096 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
38097
477cc68e
L
380982012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38099
38100 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
38101 * sysdeps/x86_64/tst-mallocalign1.c: New file.
38102
1a0994f5
CD
381032012-05-17 Andreas Jaeger <aj@suse.de>
38104 Carlos O'Donell <carlos_odonell@mentor.com>
38105
38106 [BZ #14059]
38107 * sysdeps/x86_64/multiarch/init-arch.h
38108 (bit_YMM_Usable): Rename to...
38109 (bit_AVX_Usable): ... this.
38110 (bit_FMA4_Usable): New macro.
38111 (bit_XMM_state): New macro.
38112 (bit_YMM_state): New macro.
38113 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
38114 [__ASSEMBLER__] (index_AVX_Usable): ... this.
38115 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
38116 (CPUID_OSXSAVE): New macro.
38117 (CPUID_AVX): New macro.
38118 (CPUID_FMA4): New macro.
38119 (index_YMM_Usable): Rename to...
38120 (index_AVX_Usable): ... this.
38121 (HAS_AVX): Use HAS_ARCH_FEATURE.
38122 (HAS_FMA4): Likewise.
38123 (HAS_YMM_USABLE): Remove.
38124 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38125 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
38126 are present.
38127 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
38128 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
38129 * sysdeps/x86_64/multiarch/Makefile: Likewise.
38130 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
38131 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
38132
0af797de
CM
381332012-05-17 Chris Metcalf <cmetcalf@tilera.com>
38134
38135 * math/libm-test.c: Support platforms without multiple rounding modes.
38136 * math/bug-nextafter.c: Support platforms without FP exceptions.
38137 * math/bug-nexttoward.c: Likewise.
38138 * math/test-fenv.c: Likewise.
38139 * math/test-misc.c: Likewise.
38140 * stdlib/bug-getcontext.c: Likewise.
38141
e39745ff
AJ
381422012-05-17 Andreas Jaeger <aj@suse.de>
38143
38144 * manual/examples/search.c (critter_cmp): Change signature to
38145 avoid warnings.
38146 * manual/string.texi (Collation Functions): Likewise.
38147
48970aba
L
381482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38149
38150 * bits/types.h: Fold copyright years.
38151 * bits/typesizes.h: Likewise.
38152 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
38153 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
38154 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
38155 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
38156 * time/time.h: Likewise.
38157
bedee953
PP
381582012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
38159
38160 [BZ #208]
38161 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
38162 in instead of returning them. Return void.
38163 (__libc_mallinfo): Accumulate over all arenas.
38164 (__malloc_stats): Adjust for change in int_mallinfo interface.
38165
61653dfb
RM
381662012-05-16 Roland McGrath <roland@hack.frob.com>
38167
30b99d79
RM
38168 [BZ #10375]
38169 * configure.in (NM): Add AC_CHECK_TOOL for it.
38170 (libc_extra_cflags): New substituted variable.
38171 Check for -fstack-protector being used implicitly.
38172 * configure: Regenerated.
38173 * config.make.in (config-extra-cflags): New variable,
38174 gets @libc_extra_cflags@.
38175 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
38176
61653dfb
RM
38177 [BZ #10375]
38178 * configure.in: Check for _FORTIFY_SOURCE being predefined.
38179 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
38180 * configure: Regenerated.
38181 * config.make.in (CPPUNDEFS): New substituted variable.
38182 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
38183 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
38184 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
38185
661768bb
L
381862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38187
38188 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
38189 (mq_attr): Use __syscall_slong_t.
38190
d4261567
L
381912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38192
38193 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
38194 Check __x86_64__ instead of __WORDSIZE.
38195 (_STAT_VER_LINUX): Likewise.
38196 (stat): Check __x86_64__ instead of __WORDSIZE. Use
38197 __syscall_ulong_t and __syscall_slong_t.
38198 (stat64): Likewise.
38199
cf3ff365
L
382002012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38201
38202 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
38203
76cf3e4d
L
382042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38205
38206 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
38207
a637753a
L
382082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38209
38210 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
38211 __syscall_ulong_t.
38212
d5e05119
L
38213 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
38214 include <bits/wordsize.h>. Check __x86_64__ instead of
38215 __WORDSIZE.
38216 (greg_t): Use "__extension__ long long int" if __x86_64__ is
38217 defined.
38218 (mcontext_t): Replace "unsigned long" with "unsigned long long".
38219
f62ee380
L
38220 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
38221 include <bits/wordsize.h>. Check __x86_64__ instead of
38222 __WORDSIZE.
38223 (user_regs_struct): Use "__extension__ unsigned long long"
38224 instead of "unsigned long" if __x86_64__ is defined.
38225 (user): Likewise. Pad after pointer field if __ILP32__ is
38226 defined.
38227
4e124ced
JM
382282012-05-16 Joseph Myers <joseph@codesourcery.com>
38229
6a3951a0
JM
38230 * configure.in (makeinfo): Require version 4.5 or later. Allow
38231 versions 5 to 9.
38232 * configure: Regenerated.
38233 * manual/install.texi (texinfo): Increase version requirement to
38234 4.5 or later.
38235 * INSTALL: Regenerated.
38236
4e124ced
JM
38237 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
38238
953ca31a
L
382392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38240
38241 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
38242
617aca05
L
38243 * sysdeps/x86_64/x32/ffs.c: New file.
38244
5762f7ae
L
38245 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
38246 __syscall_ulong_t.
38247 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
38248 defined. Use __syscall_ulong_t.
38249 (shminfo): Use __syscall_ulong_t.
38250 (shm_info): Likewise.
38251
a26b6856
L
38252 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
38253 __syscall_ulong_t.
38254
cb2b9ef7
L
38255 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
38256 <bits/wordsize.h>.
38257 (msgqnum_t): Use __syscall_ulong_t.
38258 (msglen_t): Likewise.
38259 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
38260 __syscall_ulong_t.
38261
34683bb0
L
38262 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
38263 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38264
84a68786
L
38265 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
38266
48baa5f1
L
38267 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
38268 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
38269
180be88b
L
38270 * sysvipc/sys/msg.h (msgbuf): Replace long int with
38271 __syscall_slong_t.
38272
5e90c8ad
L
38273 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
38274 include <bits/wordsize.h>. Check __x86_64__ instead of
38275 __WORDSIZE.
38276
23dfb58b
L
38277 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
38278 "unsigned long long int" if __x86_64__ is defined.
38279 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
38280
ce5d54b0
L
38281 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
38282 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38283 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
38284
13dc9eac
L
38285 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
38286 <stdint.h>.
38287 (GET_PC): Cast to uintptr_t first.
38288 (GET_FRAME): Likewise.
38289 (GET_STACK): Likewise.
38290
a7895d15
L
38291 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
38292 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
38293 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
38294 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
38295 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
38296 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
38297 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
38298 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
38299 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
38300 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
38301 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
38302 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
38303 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38304 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
38305 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
38306 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
38307 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
38308 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
38309 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
38310 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
38311 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
38312 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
38313 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
38314 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
38315 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
38316 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
38317 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
38318 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
38319 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
38320
656416c9
AS
383212012-05-16 Andreas Schwab <schwab@linux-m68k.org>
38322
5bd66283
AS
38323 * Makerules (+depfiles): Also collect depfiles from .oS in
38324 $(extra-objs).
38325 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
38326 .oS, $(libnldbl-routines)).
38327
656416c9
AS
38328 * Makerules (native-compile-mkdep-flags): Define.
38329 * sunrpc/Makefile (extra-objs): Add $(addprefix
38330 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
38331 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
38332 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
38333 calling $(make-target-directory).
38334
a46f2169
L
383352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38336
38337 * bits/types.h (__snseconds_t): Removed.
38338 * time/time.h (struct timespec): Replace __snseconds_t with
38339 __syscall_slong_t.
38340 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
38341 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
38342 Likewise.
38343 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38344 (__SNSECONDS_T_TYPE): Likewise.
38345 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38346 (__SNSECONDS_T_TYPE): Likewise.
38347 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38348 (__SNSECONDS_T_TYPE): Likewise.
38349
6af6528b
L
383502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38351
38352 * sysdeps/mach/hurd/bits/typesizes.h
38353 (__SYSCALL_SLONG_TYPE): New macro.
38354 (__SYSCALL_ULONG_TYPE): Likewise.
38355
de986b56
L
383562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38357
38358 * bits/types.h (__syscall_slong_t): New type.
38359 (__syscall_ulong_t): Likewise.
38360
38361 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
38362 (__SYSCALL_ULONG_TYPE): Likewise.
38363 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38364 (__SYSCALL_SLONG_TYPE): Likewise.
38365 (__SYSCALL_ULONG_TYPE): Likewise.
38366 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38367 (__SYSCALL_SLONG_TYPE): Likewise.
38368 (__SYSCALL_ULONG_TYPE): Likewise.
38369 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38370 (__SYSCALL_SLONG_TYPE): Likewise.
38371 (__SYSCALL_ULONG_TYPE): Likewise.
38372
85736dc7
L
383732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38374
38375 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
38376 Add sigaltstack-offsets.sym.
38377 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
38378 <sigaltstack-offsets.h>.
38379 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
38380 longjmp_msg pointer.
38381 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
38382 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
38383 signal stack.
38384 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
38385
cc03b296
JM
383862012-05-15 Joseph Myers <joseph@codesourcery.com>
38387
a9538892
JM
38388 * elf/stackguard-macros.h: Remove file.
38389 * sysdeps/generic/stackguard-macros.h: New file.
38390 * sysdeps/i386/stackguard-macros.h: Likewise.
38391 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
38392 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
38393 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
38394 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
38395 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
38396 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
38397 * sysdeps/x86_64/stackguard-macros.h: Likewise.
38398 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
38399 <elf/stackguard-macros.h>.
38400
cc03b296
JM
38401 [BZ #14109]
38402 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
38403 __aligned__ in attribute.
38404 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
38405 (gregset_t): Likewise.
38406
93171016
L
384072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38408
38409 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
38410 * sysdeps/x86_64/64/Implies-after: Here. New file.
38411 * sysdeps/x86_64/x32/Implies-after: New file.
38412
d86813a0
L
384132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38414
38415 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
38416 and access return value for _dl_profile_fixup. Use R10_LP to
38417 load frame size.
38418
2953ec75
L
384192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38420
38421 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
38422
3b550e9e
L
384232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38424
38425 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
38426 * sysdeps/x86_64/x32/sysdep.h: New file.
38427
eda41706
L
384282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38429
38430 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
38431 * sysdeps/x86_64/setjmp.S: Likewise.
38432
9ea01d93
AZ
384332012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38434
38435 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
38436 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
38437 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
38438 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
38439 remove unused global constant.
38440
02a91938
CM
384412012-05-15 Chris Metcalf <cmetcalf@tilera.com>
38442
38443 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
38444 include of <not-cancel.h>.
38445
6540185f
RM
384462012-05-15 Roland McGrath <roland@hack.frob.com>
38447
38448 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
38449
509072a0
AJ
384502012-05-15 Jeff Law <law@redhat.com>
38451 Andreas Jaeger <aj@suse.de>
38452
38453 [BZ #13594]
38454 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
38455 out from...
38456 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
38457 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
38458 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
38459 code changing __hst_map_handle.map.
38460
ba75122d
RM
384612012-05-15 Roland McGrath <roland@hack.frob.com>
38462
38463 * configure.in (sysnames): Look for Implies-before and Implies-after
38464 files.
38465 * configure: Regenerated.
38466
890d8bd8
L
384672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38468
38469 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
38470 8-byte data alignment with LP_SIZE alignment.
38471
f6ee6623
L
384722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38473
38474 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
38475 into R10_LP.
38476
ea2626f6
L
384772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38478
38479 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
38480
085f715e
L
384812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38482
38483 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
38484 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
38485 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
38486 Likewise.
38487 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38488
be8498fc
L
384892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38490
38491 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
38492 (stackinfo_sub_sp): Likewise.
38493
70bc83b9
L
384942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38495
38496 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
38497 RAX_LP.
38498
9bc0b730
L
384992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38500
38501 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
38502 into R*_LP.
38503
6d2850e7
L
385042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38505
38506 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
38507 sizes into R*_LP.
38508
3cb84561
L
385092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38510
38511 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
38512
54e2ed81
L
385132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38514
38515 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
38516 into R11_LP and load __x86_64_shared_cache_size_half into
38517 R8_LP.
38518
8a17f349
L
385192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38520
38521 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
38522 R8_LP.
38523
777b1eea
AZ
385242012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38525
38526 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
38527 logb for POWER7.
38528 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
38529 logbf for POWER7.
38530 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
38531 logbl for POWER7.
38532 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
38533 powerpc32/power7/fpu/s_logb.c via #include.
38534 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
38535 powerpc32/power7/fpu/s_logbf.c via #include.
38536 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
38537 powerpc32/power7/fpu/s_logbl.c via #include.
38538
d20d4ac2
JM
385392012-05-15 Joseph Myers <joseph@codesourcery.com>
38540
38541 * README.libm: Remove file.
38542
6cdef1ab
L
385432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38544
38545 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
38546 count for x32. Use R*_LP and omit operand-size suffix.
38547
0b254d8f
L
385482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38549
38550 * shlib-versions: Move x86_64-.*-linux.* entries to ...
38551 * sysdeps/x86_64/64/shlib-versions: Here. New file.
38552 * sysdeps/x86_64/x32/shlib-versions: New file.
38553
ceb809dc
RM
385542012-05-14 Roland McGrath <roland@hack.frob.com>
38555
38556 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
38557 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
38558 Use _dl_fatal_printf instead.
38559
37f1abd4
JM
385602012-05-14 Joseph Myers <joseph@codesourcery.com>
38561
38562 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
38563 set if not set by the user. Do not allow for being unset.
38564 * sysdeps/unix/sysv/linux/configure: Regenerated.
38565
11de3a33
L
385662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38567
38568 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
38569 the `q' suffix from lea and replace .quad with ASM_ADDR.
38570
e02f153a
L
385712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38572
38573 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
38574 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
38575 instead of $17.
38576 (PTR_DEMANGLE): Likewise.
38577
520ae0fd
L
385782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38579
38580 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
38581 (LP_OP): Likewise.
38582 (ASM_ADDR): Likewise.
38583 (RAX_LP): Likewise.
38584 (RBP_LP): Likewise.
38585 (RBX_LP): Likewise.
38586 (RCX_LP): Likewise.
38587 (RDI_LP): Likewise.
38588 (RSI_LP): Likewise.
38589 (RSP_LP): Likewise.
38590 (R8_LP): Likewise.
38591 (R9_LP): Likewise.
38592 (R10_LP): Likewise.
38593 (R10_LP): Likewise.
38594 (R11_LP): Likewise.
38595 (R12_LP): Likewise.
38596 (R13_LP): Likewise.
38597 (R14_LP): Likewise.
38598 (R15_LP): Likewise.
38599
b985be81
L
386002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38601
38602 * sysdeps/x86_64/x32/dl-machine.h: New file.
38603
6a4888ff
AJ
386042012-05-14 Andreas Jaeger <aj@suse.de>
38605
38606 * manual/Makefile (subdir): Remove export of subdir.
38607 (all): Remove target.
38608 (.PHONY): Remove all from list.
38609 (mkinstalldirs): Remove.
38610 (.PHONY): Remove installdirs from list.
38611 ($(inst_infodir)/libc.info): Use make-target-directory.
38612 (installdirs): Remove.
38613 (subdir_%): Remove.
38614 (glibc-targets): Remove.
38615 (lib): Remove.
38616 (stubs): Remove.
38617 ($(objpfx)stubs ../po/manual.pot): Remove.
38618 ($(objpfx)stamp%): Remove.
38619 (make-target-directory): Remove.
38620 (subdir_install): Remove.
38621 (routines): Remove.
38622 (aux): Remove.
38623 (sources): Remove.
38624 (objects): Remove.
38625 (headers): Remove.
38626
38627 [BZ #13750]
38628 * manual/.gitignore: Remove, it's not needed anymore.
38629 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
38630 all files in it.
38631 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
38632 directory.
38633 (texis): Renamed to $(objpfx)texis.
38634 (texis-path): New, contains path to generated files.
38635 (chapters.%): Use texis-path for complete path, add extra argument
38636 libc-texinfo.sh.
38637 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
38638 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
38639 (summary,texi, stamp-summary): Use complete path of
38640 files. Generate files in build dir.
38641 (dir-add.texi): Build in build dir.
38642 (libm-err.texi,stamp-libm-err): Likewise.
38643 (version.texi, stamp-version): Likewise.
38644 (.%c.texi): Likewise.
38645 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
38646 (mostlyclean): Remove target.
38647 (realclean): Remove target.
38648 (generated): Add new variable with contents from mostlyclean and
38649 realclean, remove entries duplicated in common-mostlyclean, add
38650 stamp-libm-err and stamp-version.
38651 (generated-dirs): Add libc directory.
38652 ($(inst_infodir)/libc.info): Install files from build dir.
38653
38654 * manual/install.texi (Configuring and compiling): Adjust since
38655 the info files are not part of the tar ball anymore.
38656
7ac77294
AJ
386572012-05-14 Andreas Jaeger <aj@suse.de>
38658
38659 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
38660 variable.
38661
ffb7875d
JM
386622012-05-14 Joseph Myers <joseph@codesourcery.com>
38663
38664 [BZ #13717]
38665 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38666 to 2.2.0 where earlier.
38667 * sysdeps/unix/sysv/linux/configure: Regenerated.
38668 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
38669 Remove conditional code.
38670 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
38671 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
38672 Remove conditional code.
38673 [!__NR_lchown]: Likewise.
38674 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38675 [__NR_lchown]: Likewise.
38676 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
38677 comment referencing __ASSUME_LCHOWN_SYSCALL.
38678 * sysdeps/unix/sysv/linux/i386/sigaction.c
38679 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38680 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38681 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
38682 Remove conditional code.
38683 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
38684 (__protocol_available): Remove #if 0 code.
38685 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
38686 conditional code.
38687 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
38688 * sysdeps/unix/sysv/linux/kernel-features.h
38689 (__ASSUME_GETCWD_SYSCALL): Don't define.
38690 (__ASSUME_REALTIME_SIGNALS): Likewise.
38691 (__ASSUME_PREAD_SYSCALL): Likewise.
38692 (__ASSUME_PWRITE_SYSCALL): Likewise.
38693 (__ASSUME_POLL_SYSCALL): Likewise.
38694 (__ASSUME_LCHOWN_SYSCALL): Likewise.
38695 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
38696 non-SPARC.
38697 (__ASSUME_SIOCGIFNAME): Don't define.
38698 (__ASSUME_MSG_NOSIGNAL): Likewise.
38699 (__ASSUME_SENDFILE): Define unconditionally.
38700 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
38701 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
38702 conditional code.
38703 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
38704 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
38705 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38706 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38707 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
38708 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38709 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
38711 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38712 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
38714 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38715 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
38717 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38718 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
38720 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38721 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
38723 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38724 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
38726 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38727 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
38729 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38730 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
38732 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38733 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38734 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
38735 Remove conditional code.
38736 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38737 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38738 Remove conditional code.
38739 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38740 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
38741 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
38742 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38743 Remove conditional code.
38744 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38745 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
38746 Remove conditional code.
38747 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38748 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
38749 Remove conditional code.
38750 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38751 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38752 Remove conditional code.
38753 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38754 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38755 Remove conditional code.
38756 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38757 * sysdeps/unix/sysv/linux/sh/pwrite64.c
38758 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38759 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38760 * sysdeps/unix/sysv/linux/sigaction.c
38761 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38762 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38763 * sysdeps/unix/sysv/linux/sigpending.c
38764 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38765 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38766 * sysdeps/unix/sysv/linux/sigprocmask.c
38767 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38768 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38769 * sysdeps/unix/sysv/linux/sigsuspend.c
38770 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38771 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38772 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38773 (__libc_missing_rt_sigs): Remove.
38774 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
38775 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
38776 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
38777 Remove conditional code.
38778 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
38779 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
38780 return 1.
38781 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
38782 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
38783 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
38784 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
38785
1bfb7291
AJ
387862012-05-14 Andreas Jaeger <aj@suse.de>
38787
caae5a81
AJ
38788 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
38789 it's not used in glibc.
38790 (__coshm1): Likewise.
38791 (__acosh1p): Likewise.
38792 (__sgn): Likewise.
38793
1bfb7291
AJ
38794 * manual/string.texi (Copying and Concatenation): Add missing
38795 variable in concat example.
38796 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38797
c044d724
L
387982012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38799
144c5467 38800 [BZ #14103]
c044d724
L
38801 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
38802 __builtin_clzl with __builtin_clzll.
38803
2523c62b
L
388042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38805
38806 [BZ #14104]
38807 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
38808 libc_freeres_ptr.
38809
d7bb4c42
LD
388102012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38811
38812 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
38813 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
38814 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
38815 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
38816
9dc4e1fb
MF
388172012-05-14 Mike Frysinger <vapier@gentoo.org>
38818
38819 * NEWS: Update ia64 info.
38820
c7df0112
AS
388212012-05-12 Andreas Schwab <schwab@linux-m68k.org>
38822
38823 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
38824 used as bcopy.
38825
dc70356c
TS
388262012-05-12 Thomas Schwinge <thomas@codesourcery.com>
38827
38828 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
38829 * sysdeps/unix/syscalls.list (dup3): Likewise.
38830 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
38831 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
38832
9fb1a21f
L
388332012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38834
38835 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
38836 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
38837
4822a2a5
L
388382012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38839
38840 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
38841 thread pointer.
38842 (TLS_IE): Use mov/add instead of movq/addq to load thread
38843 pointer.
38844 (TLS_GD_PREFIX): New.
38845 (TLS_GD): Use it.
38846
842b81d6
DM
388472012-05-11 David S. Miller <davem@davemloft.net>
38848
38849 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
38850 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
38851 (_FPU_SETCW): Likewise.
38852
1cf463cd
L
388532012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38854
38855 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
38856 is 32-byte aligned.
38857
60cc4a18
AS
388582012-05-11 Andreas Schwab <schwab@linux-m68k.org>
38859
38860 [BZ #11837]
38861 * iconvdata/gb18030.c: Update tables.
38862 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
38863 characters specially.
38864 (BODY for TO_LOOP): Add encoding of missing ranges.
38865
febb44a4
TS
388662012-05-11 Thomas Schwinge <thomas@codesourcery.com>
38867
38868 [BZ #13673]
38869 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
38870 * sysdeps/mach/hurd/dup3.c: Likewise.
38871 * sysdeps/mach/hurd/readlinkat.c: Likewise.
38872 * sysdeps/powerpc/memmove.c:: Likewise.
38873
0a10fb9e
L
388742012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38875
38876 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
38877 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
38878
df8a552f
L
388792012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38880
38881 * elf/elf.h (R_X86_64_RELATIVE64): New.
38882 (R_X86_64_NUM): Updated.
38883 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38884 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
38885 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
38886 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
38887 tst-quad1pie tst-quad2pie
38888 (modules-names): Add tst-quadmod1 tst-quadmod2.
38889 ($(objpfx)tst-quad1): New dependency.
38890 ($(objpfx)tst-quad2): Likewise.
38891 ($(objpfx)tst-quad1pie): Likewise.
38892 ($(objpfx)tst-quad2pie): Likewise.
38893 * sysdeps/x86_64/tst-quad1.c: New file.
38894 * sysdeps/x86_64/tst-quad1pie.c: New file.
38895 * sysdeps/x86_64/tst-quad2.c: Likewise.
38896 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
38897 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
38898 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
38899 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
38900 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
38901
f34d6f84
ST
389022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38903
f42d41d1
ST
38904 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
38905 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38906 * streams/stropts.h (t_scalar_t): Define type.
38907
3c3571fc
ST
38908 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38909 (_PATH_PRESERVE): Set to "/var/lib".
38910 (_PATH_RWHODIR): Set to "/var/spool/rwho".
38911
61f06bd3
ST
38912 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38913 instead of int.
38914
918d4d71
ST
38915 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38916 if __dir_mkfile succeeded.
38917
f34d6f84
ST
38918 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38919 checking for _hurd_dtablesize. Unlock it right after having
38920 finished _hurd_dtable allocation.
38921
10589b4a
TS
389222012-05-10 Thomas Schwinge <thomas@schwinge.name>
38923
674cdbc7
TS
38924 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38925 * sysdeps/mach/hurd/configure: Regenerated.
38926 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38927 special-casing to...
38928 * sysdeps/gnu/configure.in: ... this new file.
38929 * sysdeps/unix/sysv/linux/configure: Regenerated.
38930 * sysdeps/gnu/configure: New generated file.
38931
8e41b99f
TS
38932 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38933 for Linux: use nsec instead of usec, as well as:
38934 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38935 members of type struct timespec.
38936 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38937 New macros.
38938 (struct stat64): Likewise.
38939 (_STATBUF_ST_NSEC): New macro.
38940 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38941
10589b4a
TS
38942 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38943 __strtoul_internal rather than strtoul.
38944
63643c85
PT
389452012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38946
38947 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38948 and reject them.
38949
3faebe6a
ST
389502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38951
38952 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38953 which preserves existing values.
38954 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38955
c6474b07
PT
389562012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38957
38958 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38959 TIMEOUT values. Return EINVAL for NFDS values either negative or
38960 greater than FD_SETSIZE.
38961
1043890b
ST
389622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38963
38964 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38965 allocated, call __vm_protect to finish enabling the existing space, and
38966 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38967 allocate the remainder.
38968
37ed8b9b
PT
389692012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38970
38971 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38972 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
38973
db653660
ST
389742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38975
37ed8b9b
PT
38976 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38977 sysdeps/mach/hurd/readlink.c.
b29d4053 38978
db653660
ST
38979 * posix/tst-sysconf.c (posix_options): Only use
38980 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38981 _POSIX_SYNCHRONIZED_IO when they are defined
38982 * sysdeps/mach/hurd/bits/posix_opt.h:
38983 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38984 (_XOPEN_REALTIME): Undefine macro.
38985 (_XOPEN_REALTIME_THREADS): Undefine macro.
38986 (_XOPEN_SHM): Undefine macro.
38987 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38988 macro to -1.
38989 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38990 macro to -1.
38991 (_POSIX_ASYNC_IO): Undefine macro.
38992 (_POSIX_PRIORITIZED_IO): Undefine macro.
38993 (_POSIX_SPIN_LOCKS): Define macro to -1.
38994
ee16e894
ST
38995 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38996 SA_NODEFER, SA_RESETHAND.
38997 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38998 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
38999 F_DUPFD_CLOEXEC.
39000
6103ae3b
TS
390012012-05-10 Thomas Schwinge <thomas@schwinge.name>
39002
39003 * elf/Makefile (pldd-modules): Define unconditionally.
39004
80b4e5f3
TS
390052012-05-10 Thomas Schwinge <thomas@schwinge.name>
39006
39007 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
39008
edadcbd6
ST
390092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39010
39011 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
39012 Return ENOENT when name is empty.
39013 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
39014
80694780
TS
390152012-05-10 Thomas Schwinge <thomas@schwinge.name>
39016
1792c087
TS
39017 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
39018
80694780
TS
39019 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
39020
6b645f0d
ST
390212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39022
80694780
TS
39023 Fix mlock in all cases except non-readable pages.
39024 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
39025 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 39026
6b645f0d
ST
39027 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
39028 (__mkdir): When path is `/', just fail with EEXIST.
39029 * sysdeps/mach/hurd/mkdirat.c: Likewise.
39030
e468f8a3
TS
390312012-05-10 Thomas Schwinge <thomas@schwinge.name>
39032
39033 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
39034 <sys/uio.h> (for writev).
39035 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
39036 and <sys/param.h> (for MIN).
39037
a4186cff
PT
390382012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39039
39040 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
39041 REQUESTED_TIME. Properly set the remaining time and return EINTR
39042 if interrupted.
39043
510bbf14
TS
390442012-05-10 Thomas Schwinge <thomas@schwinge.name>
39045
39046 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
39047 Depend on against $(link-rpcuserlibs).
39048
5d5722e8
ST
390492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39050
a4186cff
PT
39051 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
39052 (__libc_stack_end): Do not use attribute_relro.
39053 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
39054 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 39055 to libthread-provided value.
a4186cff
PT
39056 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
39057 attribute_relro.
5d5722e8 39058
37233df9
TS
390592012-05-10 Thomas Schwinge <thomas@schwinge.name>
39060
be971a2b
TS
39061 [BZ #3748]
39062 * bits/libc-lock.h (__libc_once_get): New macro.
39063 * sysdeps/mach/bits/libc-lock.h: Likewise.
39064 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
39065 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
39066 instead of using implementation details.
39067
37233df9
TS
39068 * libio/fileops.c: Unconditionally include <kernel-features.h>.
39069 * libio/freopen.c: Likewise.
39070 * libio/freopen64.c: Likewise.
39071 * misc/syslog.c: Likewise.
39072 * nscd/connections.c: Likewise.
39073 * nscd/netgroupcache.c: Likewise.
39074 * sysdeps/posix/getcwd.c: Likewise.
39075
38de94a5
RM
390762012-05-10 Roland McGrath <roland@hack.frob.com>
39077
39078 * math/w_ilogbf.c: Add #include <limits.h>.
39079
67530489
ST
390802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39081
a4186cff 39082 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
39083 path instead of returning without unlocking.
39084
67530489
ST
39085 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
39086 immediate-write ioctls.
39087 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
39088
5aa3a74a
TS
390892012-05-10 Thomas Schwinge <thomas@schwinge.name>
39090
18bad2ae
TS
39091 * sysdeps/mach/hurd/i386/init-first.c (init): Use
39092 __builtin_frame_address instead of making assumptions about the
39093 location of the return address relative to DATA. Force early load of
39094 the return address.
39095 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
39096 __builtin_frame_address.
39097
5aa3a74a
TS
39098 dup3 for GNU Hurd.
39099 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
39100 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
39101 implement dup3 and do some further code clean-ups.
39102 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
39103 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
39104
ecd0de9a
ST
391052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39106
cd9fa985
ST
39107 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
39108
a4186cff
PT
39109 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
39110 HURD_CRITICAL_END around holding _hurd_dtable_lock.
39111 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
39112 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
39113 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
39114 d->port.lock.
802ca5a5 39115
a4186cff
PT
39116 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
39117 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
39118 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 39119
bcf55240
TS
391202012-05-10 Thomas Schwinge <thomas@schwinge.name>
39121
6960eb42
TS
39122 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
39123 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
39124 definitions.
39125
eb43375f
TS
39126 accept4 for GNU Hurd.
39127 * include/sys/socket.h (__libc_accept4): New prototype.
39128 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
39129 to implement __libc_accept4.
39130 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
39131 __libc_accept4.
39132 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
39133
bcf55240
TS
39134 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
39135 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
39136 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
39137 signal-defines.sym.
39138
6178c55b
ST
391392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39140
a4186cff 39141 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 39142
6f080c2f
TS
391432012-05-10 Thomas Schwinge <thomas@schwinge.name>
39144
39145 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
39146 assertion on O_CLOEXEC flag.
39147 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
39148 * hurd/intern-fd.c: Likewise.
39149 * hurd/port2fd.c: Likewise.
39150
bcfe3a54
ST
391512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39152
39153 [BZ #3906]
39154 * bits/in.h (IPV6_PKTINFO): Define new macro.
39155 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
39156
89c9aa49
AZ
391572012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39158
39159 [BZ #13954]
39160 [BZ #13955]
39161 [BZ #13956]
39162 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
39163 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39164 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
39165 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39166 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39167 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39168 * math/libm-test.inc (logb_test) : Additional logb tests.
39169
021db4be
AJ
391702012-05-09 Andreas Schwab <schwab@linux-m68k.org>
39171 Andreas Jaeger <aj@suse.de>
39172
39173 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
39174 * configure: Regenerated.
39175 * config.h.in (LINK_OBSOLETE_RPC): New macro.
39176 * config.make.in (link-obsolete-rpc): New substituted variable.
39177 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
39178 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
39179 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39180 (shared-only-routines): Don't set it under [link-obsolete-rpc],
39181 so that libc.a contains the symbols.
39182 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39183 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
39184 * sunrpc/auth_none.c: Likewise.
39185 * sunrpc/auth_unix.c: Likewise.
39186 * sunrpc/authdes_prot.c: Likewise.
39187 * sunrpc/authuxprot.c: Likewise.
39188 * sunrpc/clnt_gen.c: Likewise.
39189 * sunrpc/clnt_perr.c: Likewise.
39190 * sunrpc/clnt_raw.c: Likewise.
39191 * sunrpc/clnt_simp.c: Likewise.
39192 * sunrpc/clnt_tcp.c: Likewise.
39193 * sunrpc/clnt_udp.c: Likewise.
39194 * sunrpc/clnt_unix.c: Likewise.
39195 * sunrpc/des_crypt.c: Likewise.
39196 * sunrpc/des_soft.c: Likewise.
39197 * sunrpc/get_myaddr.c: Likewise.
39198 * sunrpc/key_call.c: Likewise.
39199 * sunrpc/key_prot.c: Likewise.
39200 * sunrpc/netname.c: Likewise.
39201 * sunrpc/pm_getmaps.c: Likewise.
39202 * sunrpc/pm_getport.c: Likewise.
39203 * sunrpc/pmap_clnt.c: Likewise.
39204 * sunrpc/pmap_prot.c: Likewise.
39205 * sunrpc/pmap_prot2.c: Likewise.
39206 * sunrpc/pmap_rmt.c: Likewise.
39207 * sunrpc/publickey.c: Likewise.
39208 * sunrpc/rpc_cmsg.c: Likewise.
39209 * sunrpc/rpc_common.c: Likewise.
39210 * sunrpc/rpc_dtable.c: Likewise.
39211 * sunrpc/rpc_prot.c: Likewise.
39212 * sunrpc/rpc_thread.c: Likewise.
39213 * sunrpc/rtime.c: Likewise.
39214 * sunrpc/svc.c: Likewise.
39215 * sunrpc/svc_auth.c: Likewise.
39216 * sunrpc/svc_raw.c: Likewise.
39217 * sunrpc/svc_run.c: Likewise.
39218 * sunrpc/svc_tcp.c: Likewise.
39219 * sunrpc/svc_udp.c: Likewise.
39220 * sunrpc/svc_unix.c: Likewise.
39221 * sunrpc/svcauth_des.c: Likewise.
39222 * sunrpc/xcrypt.c: Likewise.
39223 * sunrpc/xdr.c: Likewise.
39224 * sunrpc/xdr_array.c: Likewise.
39225 * sunrpc/xdr_float.c: Likewise.
39226 * sunrpc/xdr_intXX_t.c: Likewise.
39227 * sunrpc/xdr_mem.c: Likewise.
39228 * sunrpc/xdr_rec.c: Likewise.
39229 * sunrpc/xdr_ref.c: Likewise.
39230 * sunrpc/xdr_sizeof.c: Likewise.
39231 * sunrpc/xdr_stdio.c: Likewise.
39232
b5c086a2
RM
392332012-05-10 Roland McGrath <roland@hack.frob.com>
39234
39235 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
39236 change. Update copyright years.
39237
6d74dd09
JM
392382012-05-10 Joseph Myers <joseph@codesourcery.com>
39239
39240 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
39241
28e72501
MK
392422012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
39243 Joseph Myers <joseph@codesourcery.com>
39244 Paul Pluzhnikov <ppluzhnikov@google.com>
39245
39246 [BZ #14012]
39247 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
39248 requiring rpcgen.
39249 [cross-compiling] (extra-libs): Likewise.
39250 [cross-compiling] (extra-libs-others): Likewise.
39251 [cross-compiling] (librpcsvc-routines): Likewise.
39252 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
39253 [cross-compiling] (omit-deps): Likewise.
39254 (sunrpc-CPPFLAGS): New variable.
39255 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
39256 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
39257 (cross-rpcgen-objs): New variable.
39258 (extra-objs): Append $(cross-rpcgen-objs).
39259 ($(cross-rpcgen-objs)): New rule.
39260 ($(objpfx)cross-rpcgen): Likewise.
39261 (rpcgen-cmd): Define to use $(built-program-file). Expand
39262 comment.
39263 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
39264 ($(objpfx)x%.stmp): Likewise.
39265 * sunrpc/proto.h [IS_IN_build] (_): Define.
39266 [IS_IN_build] (_libc_intl_domainname): Likewise.
39267
c8c59454
L
392682012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39269
39270 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
39271 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
39272 and R_X86_64_TPOFF64.
39273
6f27cd16
JM
392742012-05-10 Joseph Myers <joseph@codesourcery.com>
39275
39276 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
39277 sysdeps/unix/sysv/syscalls.list.
39278 (stime): Likewise.
39279 (utime): Likewise.
39280 * sysdeps/unix/sysv/syscalls.list: Remove file.
39281
02467e1c
PE
392822012-05-10 Paul Eggert <eggert@cs.ucla.edu>
39283
39284 [BZ #3440]
39285 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
39286 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
39287 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
39288 (__LC_IDENTIFICATION): Make these macros useful in #if
39289 expressions, as required by C99.
39290
da392631
AS
392912012-05-10 Andreas Schwab <schwab@linux-m68k.org>
39292
39293 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
39294 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
39295 after this.
39296
8115f29b
L
392972012-05-09 H.J. Lu <hongjiu.lu@intel.com>
39298
39299 * stdlib/longlong.h: Updated from GCC.
39300
bdd74070
AJ
393012012-05-09 Andreas Jaeger <aj@suse.de>
39302
edfe0dbe
AJ
39303 * nscd/nscd.c (run_modes): Make named enum, reorder so that
39304 default is first entry.
39305 (run_mode): Set type.
39306 (main): Remove informal message about syslog.
39307 (options): Fix typo.
39308
bcfe3a54
ST
39309 [BZ #14053]
39310 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 39311 to asm.
bcfe3a54
ST
39312 (lrint): Likewise.
39313 (llrintf): Likewise.
39314 (llrint): Likewise.
39315 (rint): Likewise.
39316 (rintf): Likewise.
39317 (nearbyint): Likewise.
39318 (nearbyintf): Likewise.
bdd74070 39319
91d8d69e
AJ
393202012-05-09 Andreas Jaeger <aj@suse.de>
39321 Pedro Alves <palves@redhat.com>
39322
39323 * nscd/nscd.c (run_mode): Use enum.
39324 (main): Cleanup coding style issue.
39325
bb90b80b
AJ
393262012-05-09 Alexandre Oliva <aoliva@redhat.com>
39327 Andreas Jaeger <aj@suse.de>
39328
bcfe3a54
ST
39329 * nscd/nscd.c (go_background): Replaced with...
39330 (run_mode): ... this.
bb90b80b 39331 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
39332 (options): Add -F --foreground.
39333 (main): Implement it.
39334 (parse_opt): Parse it.
bb90b80b 39335
1a4b75a1
AJ
393362012-05-09 Andreas Jaeger <aj@suse.de>
39337
39338 [BZ #14083]
39339 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
39340 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
39341 -Wconversion warning.
39342 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
39343 Likewise.
39344
b1cc2472
JM
393452012-05-09 Joseph Myers <joseph@codesourcery.com>
39346
39347 * conform/data/locale.h-data (NULL): Use macro-constant. Require
39348 == 0.
39349 (LC_ALL): Use macro-int-constant.
39350 (LC_COLLATE): Likewise.
39351 (LC_CTYPE): Likewise.
39352 (LC_MESSAGES): Likewise.
39353 (LC_MONETARY): Likewise.
39354 (LC_NUMERIC): Likewise.
39355 (LC_TIME): Likewise.
39356 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
39357 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39358 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39359 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
39360 Specify type.
39361 [C99-based standards] (float_t): Expect type.
39362 [C99-based standards] (double_t): Expect type.
39363 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
39364 type.
39365 [C99-based standards] (HUGE_VALL): Likewise.
39366 [C99-based standards] (INFINITY): Likewise.
39367 [C99-based standards] (NAN): Likewise.
39368 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
39369 [C99-based standards] (FP_NAN): Likewise.
39370 [C99-based standards] (FP_NORMAL): Likewise.
39371 [C99-based standards] (FP_SUBNORMAL): Likewise.
39372 [C99-based standards] (FP_ZERO): Likewise.
39373 [C99-based standards] (FP_FAST_FMA): Use
39374 optional-macro-int-constant. Specify type. Require == 1.
39375 [C99-based standards] (FP_FAST_FMAF): Likewise.
39376 [C99-based standards] (FP_FAST_FMAL): Likewise.
39377 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
39378 [C99-based standards] (FP_ILOGBNAN): Likewise.
39379 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
39380 Specify type.
39381 [C99-based standards] (MATH_ERREXCEPT): Likewise.
39382 [C99-based standards] (math_errhandling): Specify type.
39383 [ISO99 || ISO11] (signgam): Do not allow.
39384 [non-C99-based standards] (copysignf): Do not allow.
39385 [non-C99-based standards] (exp2f): Likewise.
39386 [non-C99-based standards] (log2f): Likewise.
39387 [non-C99-based standards] (modff): Allow.
39388 [non-C99-based standards] (erff): Do not allow.
39389 [non-C99-based standards] (erfcf): Likewise.
39390 [non-C99-based standards] (gammaf): Likewise.
39391 [non-C99-based standards] (hypotf): Likewise.
39392 [non-C99-based standards] (j0f): Likewise.
39393 [non-C99-based standards] (j1f): Likewise.
39394 [non-C99-based standards] (jnf): Likewise.
39395 [non-C99-based standards] (lgammaf): Likewise.
39396 [non-C99-based standards] (tgammaf): Likewise.
39397 [non-C99-based standards] (y0f): Likewise.
39398 [non-C99-based standards] (y1f): Likewise.
39399 [non-C99-based standards] (ynf): Likewise.
39400 [non-C99-based standards] (isnanf): Likewise.
39401 [non-C99-based standards] (acoshf): Likewise.
39402 [non-C99-based standards] (asinhf): Likewise.
39403 [non-C99-based standards] (atanhf): Likewise.
39404 [non-C99-based standards] (cbrtf): Likewise.
39405 [non-C99-based standards] (expm1f): Likewise.
39406 [non-C99-based standards] (ilogbf): Likewise.
39407 [non-C99-based standards] (log1pf): Likewise.
39408 [non-C99-based standards] (logbf): Likewise.
39409 [non-C99-based standards] (nextafterf): Likewise.
39410 [non-C99-based standards] (remainderf): Likewise.
39411 [non-C99-based standards] (rintf): Likewise.
39412 [non-C99-based standards] (scalbf): Likewise.
39413 [non-C99-based standards] (copysignl): Likewise.
39414 [non-C99-based standards] (exp2l): Likewise.
39415 [non-C99-based standards] (log2l): Likewise.
39416 [non-C99-based standards] (modfl): Allow.
39417 [non-C99-based standards] (erfl): Do not allow.
39418 [non-C99-based standards] (erfcl): Likewise.
39419 [non-C99-based standards] (gammal): Likewise.
39420 [non-C99-based standards] (hypotl): Likewise.
39421 [non-C99-based standards] (j0l): Likewise.
39422 [non-C99-based standards] (j1l): Likewise.
39423 [non-C99-based standards] (jnl): Likewise.
39424 [non-C99-based standards] (lgammal): Likewise.
39425 [non-C99-based standards] (tgammal): Likewise.
39426 [non-C99-based standards] (y0l): Likewise.
39427 [non-C99-based standards] (y1l): Likewise.
39428 [non-C99-based standards] (ynl): Likewise.
39429 [non-C99-based standards] (isnanl): Likewise.
39430 [non-C99-based standards] (acoshl): Likewise.
39431 [non-C99-based standards] (asinhl): Likewise.
39432 [non-C99-based standards] (atanhl): Likewise.
39433 [non-C99-based standards] (cbrtl): Likewise.
39434 [non-C99-based standards] (expm1l): Likewise.
39435 [non-C99-based standards] (ilogbl): Likewise.
39436 [non-C99-based standards] (log1pl): Likewise.
39437 [non-C99-based standards] (logbl): Likewise.
39438 [non-C99-based standards] (nextafterl): Likewise.
39439 [non-C99-based standards] (remainderl): Likewise.
39440 [non-C99-based standards] (rintl): Likewise.
39441 [non-C99-based standards] (scalbl): Likewise.
39442 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39443 [non-C99-based standards] (FP_*): Do not allow.
39444 [C99-based standards] (FP_*): Change to
39445 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39446 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39447 allow.
39448 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
39449 (SIG_ERR): Likewise.
39450 [X/Open-based standards] (SIG_HOLD): Likewise.
39451 (SIG_IGN): Likewise.
39452 (SIGABRT): Use macro-int-constant. Specify type. Require
39453 positive value.
39454 (SIGFPE): Likewise.
39455 (SIGILL): Likewise.
39456 (SIGINT): Likewise.
39457 (SIGSEGV): Likewise.
39458 (SIGTER): Likewise.
39459 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
39460 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
39461 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
39462 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
39463 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
39464 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
39465 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
39466 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
39467 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
39468 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
39469 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
39470 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
39471 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
39472 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
39473 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
39474 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
39475 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
39476 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
39477 [X/Open-based standards] (SIGTRAP): Likewise.
39478 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
39479 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
39480 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
39481 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
39482 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39483 allow.
39484
b9f1922d
IW
394852012-05-08 Ian Wienand <ianw@vmware.com>
39486
39487 [BZ #14080]
39488 * time/tzset.c (__tzset_parse_tz): Update default rules for
39489 daylight time changes in the Energy Policy Act of 2005.
39490
1db86e88
AJ
394912012-05-09 Andreas Jaeger <aj@suse.de>
39492
39493 [BZ #13983]
39494 * elf/ldconfig.c (parse_conf): Change string to make clear that
39495 ldconfig only issued a warning if ld.so.conf does not exist.
39496
dee4a4e3
DM
394972012-05-08 David S. Miller <davem@davemloft.net>
39498
ee0db190
DM
39499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
39500 movxtod instead of popping the value on the stack.
39501
dee4a4e3
DM
39502 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39503
6a43ec98
CD
395042012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
39505
39506 * config.h.in: Add HAVE_ARM_PCS_VFP.
39507
05c2c961
RMG
395082012-05-08 Roland Mc Grath <roland@hack.frob.com>
39509
bcfe3a54
ST
39510 [BZ #13979]
39511 * include/features.h: Warn if user requests __FORTIFY_SOURCE
39512 checking but the checks are disabled for any reason.
05c2c961 39513
4b30f61a
L
395142012-05-08 H.J. Lu <hongjiu.lu@intel.com>
39515
39516 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
39517 and ELF64_R_TYPE with ELFW(R_TYPE).
39518
eee2bc67
JM
395192012-05-08 Joseph Myers <joseph@codesourcery.com>
39520
7ea5391a
JM
39521 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
39522 (ulimit): Likewise.
39523
eee2bc67
JM
39524 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
39525 (settimeofday): Likewise.
39526
abb66a67
MF
395272012-05-08 Mike Frysinger <vapier@gentoo.org>
39528
39529 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
39530 a struct th_u2 inside the union, and move tu_block/tu_code into
39531 a new th_u3 union of tu_block/tu_code inside of that. Move
39532 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
39533 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
39534 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
39535 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
39536 (th_stuff): Change to th_u1.tu_stuff.
39537 (th_data): Define.
39538 (th_msg): Change to th_u1.th_u2.tu_data.
39539
7f18b530
DM
395402012-05-07 David S. Miller <davem@davemloft.net>
39541
05760585
DM
39542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39543
7f18b530
DM
39544 [BZ #14074]
39545 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
39546 (SETUP_PIC_REG): Use it.
39547 (SETUP_PIC_REG_LEAF): Use it.
39548
495fd99f
JM
395492012-05-07 Joseph Myers <joseph@codesourcery.com>
39550
39551 [BZ #13885]
39552 [BZ #13923]
39553 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39554 USE_AS_EXPM1L.
39555 (EXPL_FINITE): Likewise.
39556 (FLDLOG): Likewise.
39557 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39558 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39559 e_expl.S.
39560 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39561 USE_AS_EXPM1L.
39562 (EXPL_FINITE): Likewise.
39563 (FLDLOG): Likewise.
39564 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39565 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39566 e_expl.S.
39567 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
39568 test of -max_value argument for long double.
39569 * sysdeps/i386/fpu/libm-test-ulps: Update.
39570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39571
6693d694
DM
395722012-05-06 David S. Miller <davem@davemloft.net>
39573
39574 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
39575 quad soft-float symbols whose references which are compiler
39576 generated.
39577 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39578
6c23e11c
JM
395792012-05-06 Joseph Myers <joseph@codesourcery.com>
39580
d8b82cad
JM
39581 [BZ #13884]
39582 [BZ #13914]
39583 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39584 USE_AS_EXP10L.
39585 (EXPL_FINITE): Likewise.
39586 (FLDLOG): Likewise.
39587 (c0): Likewise.
39588 (c1): Likewise.
39589 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39590 Adjust comments for base varying.
39591 (__expl_finite): Change alias to EXPL_FINITE.
39592 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
39593 e_expl.S.
39594 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
39595 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
39596 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
39597 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
39598 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39599 USE_AS_EXP10L.
39600 (EXPL_FINITE): Likewise.
39601 (FLDLOG): Likewise.
39602 (c0): Likewise.
39603 (c1): Likewise.
39604 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39605 Adjust comments for base varying.
39606 (__expl_finite): Change alias to EXPL_FINITE.
39607 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
39608 tests for bugs.
39609 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39610
6c23e11c
JM
39611 [BZ #14064]
39612 * math/libm-test.inc (check_float_internal): Correct ulp
39613 calculation for subnormal expected results.
39614
29ba805c
AJ
396152012-05-06 Andreas Jaeger <aj@suse.de>
39616
39617 * Makeconfig (+math-flags): New, set to -frounding-math.
39618 (+cflags): Add +math-flags so that all of glibc gets compiled with
39619 it.
39620
39621 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
39622
7b17aeda
JM
396232012-05-05 Joseph Myers <joseph@codesourcery.com>
39624
5779f134
JM
39625 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
39626 Disable one test.
39627
41498f4d
JM
39628 [BZ #13787]
39629 [BZ #13922]
39630 [BZ #14036]
39631 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
39632 (__ieee754_expl): Allow for and saturate large arguments.
39633 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
39634 (u_threshold): Likewise.
39635 (__exp): Call __ieee754_exp before checking for overflow and
39636 underflow.
39637 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
39638 (u_threshold): Likewise.
39639 (__expf): Call __ieee754_expf before checking for overflow and
39640 underflow.
39641 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
39642 (u_threshold): Likewise.
39643 (__expl): Call __ieee754_expl before checking for overflow and
39644 underflow.
39645 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
39646 (__ieee754_expl): Allow for and saturate large arguments.
39647 * math/libm-test.inc (exp_test): Add another test. Do not allow
39648 missing overflow exception on overflow.
39649 (expm1_test): Do not allow missing overflow exception on overflow.
39650
6698b8bf
JM
39651 * sysdeps/i386/fpu/e_expl.c: Move to ...
39652 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
39653 rather than using inline asm.
39654 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
39655 * sysdeps/x86_64/fpu/e_expl.S: Copy from
39656 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
39657
7b17aeda
JM
39658 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
39659 (nice): Likewise.
39660 (poll): Likewise.
39661 (signal): Likewise.
39662 (time): Likewise.
39663 (times): Likewise.
39664
f7c85819
JM
396652012-05-04 Joseph Myers <joseph@codesourcery.com>
39666
39667 * sysdeps/unix/syscalls.list (adjtime): Add entry from
39668 sysdeps/unix/common/syscalls.list.
39669 (fchmod): Likewise.
39670 (fchown): Likewise.
39671 (ftruncate): Likewise.
39672 (getrusage): Likewise.
39673 (gettimeofday): Likewise.
39674 (setpgid): Likewise.
39675 (setregid): Likewise.
39676 (setreuid): Likewise.
39677 (sigaction): Likewise.
39678 (truncate): Likewise.
39679 (vhangup): Likewise.
39680 * sysdeps/unix/common/syscalls.list: Remove file.
39681 * sysdeps/unix/bsd/Implies: Don't include unix/common.
39682 * sysdeps/unix/sysv/linux/Implies: Likewise.
39683
336270d0
L
396842012-05-04 H.J. Lu <hongjiu.lu@intel.com>
39685
39686 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
39687 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
39688 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
39689 Moved to ...
39690 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
39691 Here.
39692 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
39693 to ...
39694 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
39695 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
39696 to ...
39697 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
39698 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
39699 to ...
39700 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
39701 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
39702 to ...
39703 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
39704 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
39705 to ...
39706 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
39707 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
39708 to ...
39709 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
39710 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
39711 to ...
39712 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
39713 Here.
39714 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
39715 to ...
39716 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
39717 Here.
39718 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
39719 to ...
39720 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
39721 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
39722 Moved to ...
39723 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
39724 Here.
39725 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
39726 to ...
39727 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
39728
d128e450
JM
397292012-05-04 Joseph Myers <joseph@codesourcery.com>
39730
fa8ee516
JM
39731 * sysdeps/unix/common/bits/dirent.h: Remove file.
39732 * sysdeps/unix/common/bits/fcntl.h: Likewise.
39733
d128e450
JM
39734 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
39735 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
39736 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
39737 * sysdeps/unix/bsd/isatty.c: Likewise.
39738 * sysdeps/unix/bsd/tcdrain.c: Likewise.
39739 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
39740 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
39741
ff8faaf0 397422012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 39743
62881be4 39744 [BZ #13563]
31dc8730
AZ
39745 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
39746 long double comparison inaccuracies.
39747 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39749
6fef930c
AS
397502012-05-04 Andreas Schwab <schwab@linux-m68k.org>
39751
39752 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
39753 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
39754
8f203e6c
JM
397552012-05-04 Joseph Myers <joseph@codesourcery.com>
39756
39757 [BZ #14049]
39758 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
39759 nonzero digits before rounding a hex value.
39760 * stdlib/tst-strtod.c (tests): Add another test.
39761
5197d9c2
AK
397622012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39763
39764 * sysdeps/s390/fpu/libm-test-ulps: Update.
39765
f0c1dedf
AJ
397662012-05-03 Andreas Jaeger <aj@suse.de>
39767
39768 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
39769 does not get optimized out.
39770 (malloc_opt_barrier): New.
39771
a65ef2ae 397722012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 39773 Roland McGrath <roland@hack.frob.com>
a65ef2ae 39774
2b942cb7 39775 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 39776 intermediate file deletion.
2b942cb7 39777 (generated): Add .symlist files.
a65ef2ae 39778
54b71e02
JM
397792012-05-03 Joseph Myers <joseph@codesourcery.com>
39780
39781 [BZ #13775]
39782 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
39783 Redirect under this condition.
39784 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39785 [__USE_GNU] (__dprintf_chk): Not under this condition.
39786 [__USE_GNU] (__vdprintf_chk): Likewise.
39787 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
39788 under this condition.
39789 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39790 [__USE_XOPEN2K8] (dprintf): Define under this condition.
39791 [__USE_XOPEN2K8] (vdprintf): Likewise.
39792 [__USE_GNU] (__dprintf_chk): Not under this condition.
39793 [__USE_GNU] (__vdprintf_chk): Likewise.
39794 [__USE_GNU] (dprintf): Likewise.
39795 [__USE_GNU] (vdprintf): Likewise.
39796
d3dfcc41
RM
397972012-05-03 Roland McGrath <roland@hack.frob.com>
39798
39799 * elf/Makefile (common-generated): Set this instead of generated for
39800 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
39801 $(all-built-dso)-derived lists.
39802
7ac30cc5
AJ
398032012-05-03 Andreas Jaeger <aj@suse.de>
39804
0c51e550
AJ
39805 * sysdeps/i386/fpu/libm-test-ulps: Update.
39806
7ac30cc5
AJ
39807 * FAQ: Removed.
39808 * FAQ.in: Likewise.
39809 * scripts/gen-FAQ.pl: Likewise.
39810 * manual/install.texi (Installation): Point to online location of
39811 FAQ.
39812 * Makefile (files-for-dist): Remove FAQ.
39813 (FAQ): Remove.
39814
d4c2917f
AM
398152012-05-02 Allan McRae <allan@archlinux.org>
39816
39817 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
39818 (LDFLAGS-reldepmod5.so): Likewise.
39819 (LDFLAGS-reldep6mod1.so): Likewise.
39820 (LDFLAGS-reldep6mod4.so): Likewise.
39821 (LDFLAGS-reldep8mod3.so): Likewise.
39822 (LDFLAGS-unload4mod1.so): Likewise.
39823 (LDFLAGS-unload4mod2.so): Likewise.
39824 (LDFLAGS-tst-initorder): Likewise.
39825 (LDFLAGS-tst-initordera2.so): Likewise.
39826 (LDFLAGS-tst-initordera3.so): Likewise.
39827 (LDFLAGS-tst-initordera4.so): Likewise.
39828 (LDFLAGS-tst-initorderb2.so): Likewise.
39829 (LDFLAGS-noload): Likewise.
39830 (LDFLAGS-next): Likewise.
39831 (LDFLAGS-order2mod1.so): Likewise.
39832 (LDFLAGS-order2mod2.so): Likewise.
39833 (LDFLAGS-tst-initorder2): Likewise.
39834 (LDFLAGS-tst-initorder2a.so): Likewise.
39835 (LDFLAGS-tst-initorder2b.so): Likewise.
39836 (LDFLAGS-tst-initorder2c.so): Likewise.
39837 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
39838
d77f993f
DM
398392012-05-02 David S. Miller <davem@davemloft.net>
39840
39841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39842
171a70b4
PP
398432012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
39844
39845 [BZ #14055]
39846 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
39847
0be196ad
AJ
398482012-05-02 Andreas Jaeger <aj@suse.de>
39849
39850 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
39851 since we manipulate rounding mode.
39852 (CPPFLAGS-test-idouble.c): Likewise.
39853 (CPPFLAGS-test-ifloat.c): Likewise.
39854 (CFLAGS-test-ldouble.c): Likewise.
39855 (CFLAGS-test-double.c): Likewise.
39856 (CFLAGS-test-float.c): Likewise.
39857 (CFLAGS-test-misc.c): Likewise.
39858 (CFLAGS-test-test-fenv.c): Likewise.
39859
4f9d04aa
AZ
398602012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39861
2b942cb7
RM
39862 [BZ #2550]
39863 [BZ #2570]
39864 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
39865 comparisons to determine direction to adjust input.
4f9d04aa 39866
82a79e7d
RM
398672012-05-01 Roland McGrath <roland@hack.frob.com>
39868
f5a01ca9
RM
39869 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
39870 output to the target.
39871
90fe4186
RM
39872 * scripts/localplt.awk: New file.
39873 * elf/Makefile ($(objpfx)check-localplt): Target removed.
39874 (check-localplt-CFLAGS): Variable removed.
39875 ($(all-built-dso:=.jmprel)): New static pattern rule.
39876 (generated): Add those targets.
39877 (localplt-built-dso): New variable.
39878 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
39879
39880 * elf/check-localplt.c: File removed.
39881
82397ed6
RM
39882 * scripts/check-execstack.awk: New file.
39883 * elf/Makefile ($(objpfx)check-execstack): Target removed.
39884 (check-execstack-CFLAGS): Variable removed.
39885 ($(objpfx)check-execstack.h): Target removed.
39886 ($(objpfx)execstack-default): New target.
39887 (generated): Add that instead of check-execstack.h.
39888 ($(all-built-dso:=.phdr)): New static pattern rule.
39889 (generated): Add those targets.
39890 * elf/check-execstack.c: File removed.
39891
82a79e7d
RM
39892 * scripts/check-textrel.awk: New file.
39893 * elf/Makefile ($(objpfx)check-textrel): Target removed.
39894 (check-textrel-CFLAGS): Variable removed.
39895 (all-built-dso): Use := to define.o
39896 ($(all-built-dso:=.dyn)): New static pattern rule.
39897 (generated): Add those targets.
39898 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
39899 * config.make.in (READELF): New substituted variable.
39900 * elf/check-textrel.c: File removed.
39901
62fde54f 399022012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 39903
615605c9
JM
39904 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39905 allow.
39906 * conform/data/ctype.h-data [C99-based standards] (isblank):
39907 Expect function.
39908 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39909 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39910 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39911 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39912 Specify type. Require positive value.
39913 (EILSEQ): Likewise.
39914 (ERANGE): Likewise.
39915 [ISO || POSIX] (EILSEQ): Do not expect.
39916 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39917 Specify type. Require positive value.
39918 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39919 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39920 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39921 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39922 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39923 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39924 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39925 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39926 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39927 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39928 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39929 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39930 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39931 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39932 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39933 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39934 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39935 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39936 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39937 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39938 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39939 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39940 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39941 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39942 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39943 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39944 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39945 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39946 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39947 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39948 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39949 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39950 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39951 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39952 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39953 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39954 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39955 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39956 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39957 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39958 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39959 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39960 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39961 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39962 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39963 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39964 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39965 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39966 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39967 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39968 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39969 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39970 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39971 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39972 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39973 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39974 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39975 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39976 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39977 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39978 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39979 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39980 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39981 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39982 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39983 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39984 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39985 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39986 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39987 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39988 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39989 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39990 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39991 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39992 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39993 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39994 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39995 Require >= 2.
39996 (FLT_ROUNDS): Expect as macro, not constant.
39997 (FLT_MANT_DIG): Use macro-int-constant.
39998 (DBL_MANT_DIG): Likewise.
39999 (LDBL_MANT_DIG): Likewise.
40000 (FLT_DIG): Likewise.
40001 (DBL_DIG): Likewise.
40002 (LDBL_DIG): Likewise.
40003 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
40004 (DBL_MIN_EXP): Likewise.
40005 (LDBL_MIN_EXP): Likewise.
40006 (FLT_MAX_EXP): Use macro-int-constant.
40007 (DBL_MAX_EXP): Likewise.
40008 (LDBL_MAX_EXP): Likewise.
40009 (FLT_MAX_10_EXP): Likewise.
40010 (DBL_MAX_10_EXP): Likewise.
40011 (LDBL_MAX_10_EXP): Likewise.
40012 (FLT_MAX): Use macro-constant.
40013 (DBL_MAX): Likewise.
40014 (LDBL_MAX): Likewise.
40015 (FLT_EPSILON): Use macro-constant. Give upper bound.
40016 (DBL_EPSILON): Likewise.
40017 (LDBL_EPSILON): Likewise.
40018 (FLT_MIN): Likewise.
40019 (DBL_MIN): Likewise.
40020 (LDBL_MIN): Likewise.
40021 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
40022 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
40023 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
40024 [ISO11] (FLT_HAS_SUBNORM): Likewise.
40025 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
40026 [ISO11] (DBL_DECIMAL_DIG): Likewise.
40027 [ISO11] (FLT_DECIMAL_DIG): Likewise.
40028 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
40029 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
40030 [ISO11] (FLT_TRUE_MIN): Likewise.
40031 [ISO11] (LDBL_TRUE_MIN): Likewise.
40032 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40033 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
40034 (SCHAR_MIN): Use macro-int-constant. Specify type.
40035 (SCHAR_MAX): Likewise.
40036 (UCHAR_MAX): Likewise.
40037 (CHAR_MIN): Likewise.
40038 (CHAR_MAX): Likewise.
40039 (MB_LEN_MAX): Use macro-int-constant.
40040 (SHRT_MIN): Use macro-int-constant. Specify type.
40041 (SHRT_MAX): Likewise.
40042 (USHRT_MAX): Likewise.
40043 (INT_MAX): Likewise.
40044 (INT_MIN): Use macro-int-constant. Specify type. Make upper
40045 bound negative.
40046 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
40047 bound with "U".
40048 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
40049 bound with "L".
40050 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
40051 bound negative. Suffix upper bound with "L".
40052 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
40053 bound with "UL".
40054 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
40055 Specify type.
40056 [C99-based standards] (LLONG_MAX): Likewise.
40057 [C99-based standards] (ULLONG_MAX): Likewise.
40058 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
40059 == 0.
40060 [ISO11] (max_align_t): Require type.
40061 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40062
c9140a62
JM
40063 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
40064 from $CFLAGS, without defining away __attribute__ calls.
40065 (checknamespace): Use $CFLAGS_namespace.
40066
9af0bf29
JM
40067 * conform/conformtest.pl (@keywords): Only include C99 keywords
40068 for standards based on C99 or C11.
40069
343222a2
JM
40070 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
40071 Disable tests.
40072 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
40073 UNIX98]: Likewise.
40074
661f8cf0
JM
40075 * conform/conformtest.pl: Handle "macro-int-constant" and test for
40076 usability of symbols in #if.
40077
ee74b9cb
JM
40078 * conform/conformtest.pl: If macro or constant types start
40079 "promoted:", expect the symbol to be of the following type
40080 promoted by the integer promotions.
62fde54f 40081
aafc49b3
JM
40082 * conform/conformtest.pl: Parse all "constant" and "macro" lines
40083 in one place. Also handle "macro-constant".
40084
fefdf574
JM
40085 * conform/conformtest.pl: Only accept expected macro values with
40086 "==". Parse all "macro" lines in one place.
40087 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
40088
f2d922fe
JM
40089 * conform/conformtest.pl: Handle braced types on "constant" lines
40090 instead of handling "typed-constant".
40091 * conform/data/signal.h-data: Use "constant" instead of
40092 "typed-constant".
40093
d22956c9
JM
40094 * conform/conformtest.pl: Handle "optional-" at start of lines in
40095 one place rather than duplicating several cases. Handle each
40096 format of "macro" line with initial "optional-".
40097
028e2e38
JM
40098 * conform/conformtest.pl: Only accept expected constant or
40099 optional-constant values with "==". Parse all "constant" lines in
40100 one place. Parse all "optional-constant" lines in one place.
40101 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
40102 * conform/data/fmtmsg.h-data: Likewise.
40103 * conform/data/netinet/in.h-data: Likewise.
40104 * conform/data/tar.h-data: Likewise.
40105 * conform/data/limits.h-data: Use "==" form on "constant" and
40106 "optional-constant" lines.
40107
1b8f2850
JM
40108 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
40109 Use -std=c99 for XOPEN2K.
40110 (@knownproblems): Remove.
40111 (newtoken): Don't check %isknown.
40112
a05a144b
JM
40113 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
40114 Do not expect macro.
40115 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
40116 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
40117 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
40118 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
40119 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
40120 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
40121 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
40122 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
40123 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
40124 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
40125 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
40126 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
40127 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
40128 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
40129 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
40130 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
40131 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
40132 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
40133 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
40134 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
40135 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
40136 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
40137 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
40138 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
40139 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
40140 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
40141 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
40142 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
40143 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
40144 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
40145 [XPG3] (acosh): Likewise.
40146 [XPG3] (asinh): Likewise.
40147 [XPG3] (atanh): Likewise.
40148 [XPG3] (cbrt): Likewise.
40149 [XPG3] (expm1): Likewise.
40150 [XPG3] (ilogb): Likewise.
40151 [XPG3] (log1p): Likewise.
40152 [XPG3] (logb): Likewise.
40153 [XPG3] (nextafter): Likewise.
40154 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
40155 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
40156 [XPG3] (remainder): Likewise.
40157 [XPG3] (rint): Likewise.
40158 [XPG3 || XPG4 || UNIX98] (round): Likewise.
40159 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
40160 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
40161 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
40162 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
40163 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
40164 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
40165 [UNIX98 || XOPEN2K] (scalb): Expect.
40166 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
40167 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
40168 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
40169 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
40170 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
40171 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
40172 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
40173 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
40174 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
40175 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
40176 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
40177 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
40178 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
40179 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
40180 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
40181 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
40182 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
40183 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
40184 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
40185 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
40186 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
40187 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
40188 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
40189 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
40190 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
40191 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
40192 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
40193 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
40194 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
40195 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
40196 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
40197 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
40198 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
40199 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
40200 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
40201 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
40202 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
40203 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
40204 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
40205 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
40206 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
40207 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
40208 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
40209 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
40210 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
40211 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
40212 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
40213 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
40214 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
40215 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
40216 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
40217 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
40218 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
40219 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
40220 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
40221 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
40222 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
40223 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
40224 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
40225 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
40226 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
40227 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
40228 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
40229 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
40230 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
40231 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
40232 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
40233 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
40234 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
40235 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
40236 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
40237 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
40238 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
40239 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
40240 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
40241 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
40242 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
40243 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
40244 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
40245 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
40246 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
40247 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
40248 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
40249 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
40250 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
40251 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
40252 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
40253 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
40254 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
40255 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
40256 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
40257 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
40258 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
40259 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
40260 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
40261 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
40262 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
40263 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
40264 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
40265 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
40266 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
40267 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
40268 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
40269 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
40270 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
40271 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
40272 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
40273 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
40274 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
40275 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
40276 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
40277 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
40278 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
40279 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
40280 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
40281 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
40282 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
40283 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
40284 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
40285 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
40286 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
40287 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
40288 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
40289 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
40290 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
40291 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
40292 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
40293 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
40294 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
40295 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
40296 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
40297 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
40298 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
40299 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
40300 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
40301 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
40302 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
40303
73c5ebe3
JM
40304 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
40305 _XOPEN_SOURCE_EXTENDED for XPG4.
40306
39c33b6c
JM
40307 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
40308
62fde54f
JM
40309 * Makeconfig (localtime): Remove variable.
40310 (inst_localtime-file): Likewise.
40311
0741d64c
AS
403122012-05-01 Andreas Schwab <schwab@linux-m68k.org>
40313
40314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
40315 Update.
40316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40317 Update.
40318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
40319 Update.
40320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40321 Update.
40322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
40323 Update.
40324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
40325 Update.
40326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40327 Update.
40328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
40329 Update.
40330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40331 Update.
40332
7cb029ee
JM
403332012-05-01 Joseph Myers <joseph@codesourcery.com>
40334
40335 [BZ #2550]
40336 [BZ #2570]
40337 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
40338 comparisons to determine direction to adjust input.
40339 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
40340 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
40341 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
40342 Likewise.
40343 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
40344 Likewise.
40345 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
40346 Likewise.
40347 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
40348 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
40349 Likewise.
40350 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
40351 Likewise.
40352 * math/libm-test.inc (nexttoward_test): Add more tests.
40353
412bd966
AS
403542012-05-01 Andreas Schwab <schwab@linux-m68k.org>
40355
40356 [BZ #14040]
40357 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
40358 in version GLIBC_2.1, not GLIBC_2.0.
40359 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
40360 Likewise.
40361
9568c0c2
JM
403622012-04-30 Joseph Myers <joseph@codesourcery.com>
40363
adfbc8ac
JM
40364 [BZ #13942]
40365 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
40366 (1 - x) * (1 + x).
40367 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40368 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
40369 * math/libm-test.inc (acos_test): Add more tests.
40370 (asin_test): Likewise.
40371 * sysdeps/i386/fpu/libm-test-ulps: Update.
40372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40373
5ba3cc69
JM
40374 [BZ #14034]
40375 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
40376 of square root.
40377 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
40378 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40379 * math/libm-test.inc (acos_test_tonearest): New function.
40380 (acos_test_towardzero): Likewise.
40381 (acos_test_downward): Likewise.
40382 (acos_test_upward): Likewise.
40383 (asin_test_tonearest): Likewise.
40384 (asin_test_towardzero): Likewise.
40385 (asin_test_downward): Likewise.
40386 (asin_test_upward): Likewise.
40387 (main): Call the new functions.
40388 * sysdeps/i386/fpu/libm-test-ulps: Update.
40389 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40390
9568c0c2
JM
40391 [BZ #13884]
40392 [BZ #13924]
40393 * math/e_exp10.c: Include <float.h>.
40394 (__ieee754_exp10): Handle underflow here rather than multiplying
40395 large negative argument by M_LN10.
40396 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
40397 of __ieee754_expf.
40398 * math/e_exp10l.c: Include <float.h>.
40399 (__ieee754_exp10l): Handle underflow here rather than multiplying
40400 large negative argument by M_LN10l.
40401 * math/libm-test.inc (exp10_test): Add another test. Do not allow
40402 spurious overflow exception on underflow.
40403
5ac3ea17
MP
404042012-04-29 Marek Polacek <polacek@redhat.com>
40405
40406 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
40407 (__fortify_function): New macro.
40408 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
40409 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
40410 __extern_always_inline.
40411 * libio/bits/stdio2.h: Likewise.
40412 * libio/bits/stdio.h: Likewise.
40413 * string/string.h: Likewise.
40414 * string/bits/string3.h: Likewise.
40415 * include/stdio.h: Likewise.
40416 * stdlib/bits/stdlib.h: Likewise.
40417 * stdlib/stdlib.h: Likewise.
40418 * rt/bits/mqueue2.h: Likewise.
40419 * rt/mqueue.h: Likewise.
40420 * posix/bits/unistd.h: Likewise.
40421 * posix/unistd.h: Likewise.
40422 * io/bits/poll2.h: Likewise.
40423 * io/bits/fcntl2.h: Likewise.
40424 * io/fcntl.h: Likewise.
40425 * io/sys/poll.h: Likewise.
40426 * misc/bits/syslog.h: Likewise.
40427 * misc/bits/syslog-ldbl.h: Likewise.
40428 * misc/sys/syslog.h: Likewise.
40429 * socket/bits/socket2.h: Likewise.
40430 * socket/sys/socket.h: Likewise.
40431 * debug/tst-chk1.c: Likewise.
40432 * wcsmbs/bits/wchar2.h: Likewise.
40433 * wcsmbs/bits/wchar-ldbl.h: Likewise.
40434 * wcsmbs/wchar.h: Likewise.
40435
ecf0ebfb
AJ
404362012-04-29 Andreas Jaeger <aj@suse.de>
40437
40438 * Makerules (tests): Remove enable-check-abi protection.
40439 (check-abi-warn): Remove.
40440 (check-abi-%): Remove check-abi-warn usage.
40441
40442 * configure.in: Remove check-abi configure option.
40443 * configure: Regenerated.
40444 * config.make.in (enable-check-abi): Remove.
40445
6d5c57fa
AS
404462012-04-28 Andreas Schwab <schwab@linux-m68k.org>
40447
24c5d07e 40448 [BZ #14033]
ded5180a
AS
40449 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
40450 double functions to double *_finite functions.
40451
7e0d315d
AS
40452 [BZ #13941]
40453 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
40454 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
40455 LDBL_MIN_EXP.
40456 * stdio-common/Makefile (tests): Add tst-sprintf3.
40457 * stdio-common/tst-sprintf3.c: New file.
40458
6d5c57fa
AS
40459 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
40460 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
40461
0749ff8b
JM
404622012-04-28 Joseph Myers <joseph@codesourcery.com>
40463
40464 * conform/conformtest.pl: Remove duplicate typed-constant
40465 handling.
40466
8dbd5d7b
DM
404672012-04-28 David S. Miller <davem@davemloft.net>
40468
40469 * Makerules (%.abilist): Add vpath on sysdep_dirs.
40470 (check-abi-%): Remove AWK script prerequisite and explicit
40471 abilist directory.
40472 (check-abi): Rewrite to just diff the symlist with the abilist.
40473 (config-tls, config-abi-config): Delete, no longer used.
40474 (update-abi-%): Remove AWK script and explicit abilist directory.
40475 (update-abi): Rewrite to simply compare and conditionally copy the
40476 symlist and the sysdep abilist file. Remove update-abi-config
40477 checks.
40478 * abilist/ld.abilist: Remove.
40479 * abilist/libBrokenLocale.abilist: Remove.
40480 * abilist/libanl.abilist: Remove.
40481 * abilist/libcrypt.abilist: Remove.
40482 * abilist/libdl.abilist: Remove.
40483 * abilist/librt.abilist: Remove.
40484 * abilist/libthread_db.abilist: Remove.
40485 * abilist/libutil.abilist: Remove.
40486 * scripts/extract-abilist.awk: Remove.
40487 * scripts/merge-abilist.awk: Remove.
40488 * sysdeps/generic/libcidn.abilist: New file.
40489 * sysdeps/generic/libnss_compat.abilist: New file.
40490 * sysdeps/generic/libnss_db.abilist: New file.
40491 * sysdeps/generic/libnss_dns.abilist: New file.
40492 * sysdeps/generic/libnss_files.abilist: New file.
40493 * sysdeps/generic/libnss_hesiod.abilist: New file.
40494 * sysdeps/generic/libnss_nis.abilist: New file.
40495 * sysdeps/generic/libnss_nisplus.abilist: New file.
40496 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
40497 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
40498 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
40499 file.
40500 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
40501 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
40502 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
40503 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
40504 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
40505 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
40506 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
40507 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
40508 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
40509 file.
40510 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
40511 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
40512 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
40513 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
40514 file.
40515 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
40516 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
40517 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
40518 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
40519 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
40520 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
40521 file.
40522 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
40523 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
40524 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
40525 file.
40526 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
40527 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
40528 New file.
40529 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
40530 New file.
40531 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
40532 New file.
40533 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
40534 New file.
40535 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
40536 New file.
40537 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
40538 New file.
40539 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
40540 New file.
40541 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
40542 New file.
40543 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
40544 New file.
40545 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
40546 New file.
40547 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
40548 New file.
40549 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
40550 New file.
40551 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
40552 New file.
40553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
40554 file.
40555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
40556 New file.
40557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
40558 New file.
40559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
40560 file.
40561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
40562 New file.
40563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
40564 New file.
40565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
40566 file.
40567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
40568 New file.
40569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40570 New file.
40571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
40572 New file.
40573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
40574 New file.
40575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
40576 New file.
40577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
40578 New file.
40579 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
40580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
40581 file.
40582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
40583 New file.
40584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
40585 file.
40586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
40587 file.
40588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
40589 file.
40590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
40591 file.
40592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
40593 file.
40594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40595 New file.
40596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
40597 file.
40598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
40599 file.
40600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
40601 New file.
40602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
40603 file.
40604 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
40605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
40606 file.
40607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
40608 New file.
40609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
40610 file.
40611 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
40612 file.
40613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
40614 file.
40615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
40616 file.
40617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
40618 file.
40619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40620 New file.
40621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
40622 file.
40623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
40624 file.
40625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
40626 New file.
40627 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
40628 file.
40629 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40630 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
40631 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
40632 file.
40633 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
40634 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
40635 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
40636 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
40637 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
40638 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
40639 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
40640 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
40641 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
40642 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
40643 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
40644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
40645 file.
40646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
40647 New file.
40648 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
40649 file.
40650 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
40651 file.
40652 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
40653 file.
40654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
40655 file.
40656 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
40657 file.
40658 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40659 New file.
40660 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
40661 New file.
40662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
40663 file.
40664 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
40665 New file.
40666 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
40667 file.
40668 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
40669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
40670 file.
40671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
40672 New file.
40673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
40674 file.
40675 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
40676 file.
40677 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
40678 file.
40679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
40680 file.
40681 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
40682 file.
40683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40684 New file.
40685 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
40686 New file.
40687 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
40688 file.
40689 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
40690 New file.
40691 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
40692 file.
40693
41d73a1b
JM
406942012-04-28 Joseph Myers <joseph@codesourcery.com>
40695
40696 * conform/conformtest.pl: Fix typo in handling typed-constant from
40697 allow-header.
40698
28aeeda4
JM
406992012-04-27 Joseph Myers <joseph@codesourcery.com>
40700
adae8f5e
JM
40701 * README: Cut down references to pre-2.6 Linux kernels and
40702 Linuxthreads. Update lists of configurations in libc and ports
40703 and sort alphabetically. Say "or newer" with Linux kernel version
40704 requirements.
40705
28aeeda4
JM
40706 * config.h.in [IS_IN_build]: Allow compiling without optimization.
40707
a462cb63
RA
407082012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40709
40710 [BZ #887]
40711 * math/libm-test.inc (logb_test_downward): New test to expose
40712 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
40713 rounding mode.
40714
6ad3493e
JM
407152012-04-27 Joseph Myers <joseph@codesourcery.com>
40716
40717 [BZ #14027]
40718 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
40719 to be done.
40720 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
40721 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
40722
2ce4f015
JM
407232012-04-26 Joseph Myers <joseph@codesourcery.com>
40724
5aeb141a
JM
40725 * sysdeps/unix/i386/brk.S: Remove file.
40726 * sysdeps/unix/i386/dl-brk.S: Likewise.
40727 * sysdeps/unix/i386/pipe.S: Likewise.
40728 * sysdeps/unix/i386/sigreturn.S: Likewise.
40729 * sysdeps/unix/i386/syscall.S: Likewise.
40730 * sysdeps/unix/i386/vfork.S: Likewise.
40731 * sysdeps/unix/i386/wait.S: Likewise.
40732
7143acae
JM
40733 * sysdeps/unix/common/tcsendbrk.c: Move to ...
40734 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
40735
2ce4f015
JM
40736 * configure.in (arm*-none*): Do not allow without
40737 --enable-hacker-mode.
40738 (netbsd*): Remove case setting base_os.
40739 (386bsd*): Likewise.
40740 (freebsd*): Likewise.
40741 (bsdi*): Likewise.
40742 (osf*): Likewise.
40743 (sunos*): Likewise.
40744 (ultrix*): Likewise.
40745 (newsos*): Likewise.
40746 (dynix*): Likewise.
40747 (*bsd*): Likewise.
40748 (sysv*): Likewise.
40749 (isc*): Likewise.
40750 (esix*): Likewise.
40751 (sco*): Likewise.
40752 (minix*): Likewise.
40753 (irix4*): Likewise.
40754 (irix6*): Likewise.
40755 (solaris[2-9]*): Likewise.
40756 (none): Likewise.
40757 * configure: Regenerated.
40758
0ac229c8
AZ
407592012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40760
40761 [BZ #11521]
40762 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
40763 overflow or cancellation in calculating denominator.
40764 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
40765 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
40766 down expression to avoid unexpected rounding in newer GCCs.
40767 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
40768
33f244f4
DM
407692012-04-26 David S. Miller <davem@davemloft.net>
40770
40771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
40772 long-double compat symbols.
40773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
40777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
40779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
40780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
40781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
40782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
40784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
40785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40786
cfa1f3e8
DM
407872012-04-25 David S. Miller <davem@davemloft.net>
40788
40789 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
40790 HWCAP_* values only after the memory barriers have been defined.
40791 (atomic_full_barrier): Define.
40792 (atomic_read_barrier): Define.
40793 (atomic_write_barrier): Define.
40794
6e236b92
SP
407952012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40796
40797 * shlib-versions: Add libgcc_s version information.
40798 * sysdeps/generic/libgcc_s.h: Remove.
40799 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
40800 libgcc_s.h.
40801 * sysdeps/gnu/unwind-resume.c: Likewise.
40802 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
40803
aab39a09
DM
408042012-04-25 David S. Miller <davem@davemloft.net>
40805
40806 * sysdeps/unix/sparc/brk.S: Delete.
40807 * sysdeps/unix/sparc/dl-brk.S: Delete.
40808 * sysdeps/unix/sparc/pipe.S: Delete.
40809 * sysdeps/unix/sparc/sysdep.S: Delete.
40810 * sysdeps/unix/sparc/sysdep.h: Delete.
40811 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
40812 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
40813 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
40814 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
40815 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
40816 (JUMPTARGET): Remove.
40817 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
40818 sysdeps/unix/sparc/sysdep.h
40819 (ENTRY, END): Remove.
40820 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40821
a3cc4f48
JM
408222012-04-25 Joseph Myers <joseph@codesourcery.com>
40823
2ed8cda2
JM
40824 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
40825 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
40826 -DIS_IN_build.
40827
35d76d59
JM
40828 * timezone/README: Update upstream location and email address for
40829 tzcode and tzdata.
40830 * timezone/zdump.c: Update from tzcode 2012b.
40831 * timezone/zic.c: Likewise.
40832
a3cc4f48
JM
40833 * configure.in (libc_cv_as_needed): Remove test.
40834 * configure: Regenerated.
40835 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
40836 conditional definition.
40837 [$(have-as-needed) != yes] (no-as-needed): Likewise.
40838 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
40839 * config.make.in (have-as-needed): Remove variable.
40840
ceab42c3
SP
408412012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40842 Paul Pluzhnikov <ppluzhnikov@google.com>
40843
40844 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
40845 strings correctly.
40846
3ce2865f
CLT
408472012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
40848
40849 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
40850 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
40851 * sysdeps/sh/strlen.S: Likewise.
40852
f37e0d68
JM
408532012-04-24 Joseph Myers <joseph@codesourcery.com>
40854
ae186e9a
JM
40855 * sysdeps/unix/fork.S: Remove file.
40856 * sysdeps/unix/i386/fork.S: Likewise.
40857 * sysdeps/unix/sparc/fork.S: Likewise.
40858
b96914af
JM
40859 * sysdeps/unix/system.c: Remove file.
40860 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
40861
f37e0d68
JM
40862 * sysdeps/unix/getegid.S: Remove file.
40863 * sysdeps/unix/geteuid.S: Likewise.
40864
87ef29ca
RM
408652012-04-24 Roland McGrath <roland@hack.frob.com>
40866
83bcd236
RM
40867 * scripts/check-localplt.awk: New file.
40868 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
40869 of diff.
40870 * scripts/data/localplt-generic.data: Add a comment.
40871
87ef29ca
RM
40872 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
40873 NODE when __dir_mkfile failed.
40874 * sysdeps/mach/hurd/symlinkat.c: Likewise.
40875 Reported by Ludovic Courtès <ludo@gnu.org>.
40876
e5a6e567
AJ
408772012-04-24 Andreas Jaeger <aj@suse.de>
40878
40879 * Makerules (common-clean): Also remove gen-as-const-headers
40880 files.
40881
c1820385
JM
408822012-04-24 Joseph Myers <joseph@codesourcery.com>
40883
40884 * Makerules (native-compile): Do not change working directory for
40885 build. Use $(OUTPUT_OPTION) in command.
40886 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
40887
94e02fc4
AZ
408882012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40889
40890 [BZ #13886]
40891 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
40892 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
40893 * math/libm-test.inc (floor_test): Add more tests.
40894 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
40895
3a533ca3
JM
408962012-04-24 Joseph Myers <joseph@codesourcery.com>
40897
940ab4b3
JM
40898 * sysdeps/unix/getdents.c: Remove file.
40899 * sysdeps/unix/sysv/getdents.c: Likewise.
40900 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
40901
90e037bd
JM
40902 * sysdeps/unix/syscalls.list (madvise): Add syscall from
40903 sysdeps/unix/mman/syscalls.list.
40904 (mmap): Likewise.
40905 (mprotect): Likewise.
40906 (msync): Likewise.
40907 (munmap): Likewise.
40908 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40909 * sysdeps/unix/mman/syscalls.list: Remove.
40910 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40911
3a533ca3
JM
40912 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40913 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40914 * configure: Regenerated.
40915 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40916 $(libgcc_s_suffix).
40917 * config.make.in (libgcc_s_suffix): Remove variable.
40918
1ad743de
JM
409192012-04-23 Joseph Myers <joseph@codesourcery.com>
40920
4ad451e2
JM
40921 * sysdeps/unix/sysv/gethostname.c: Move to ...
40922 * sysdeps/posix/gethostname.c: ... here.
40923
5e37ce39
JM
40924 * sysdeps/unix/execve.S: Remove file.
40925
1ad743de
JM
40926 * sysdeps/unix/_exit.S: Remove file.
40927
4e681b5b
AJ
409282012-04-23 Andreas Jaeger <aj@suse.de>
40929
40930 [BZ #13739]
40931 * manual/Makefile: Remove make dist support, there's no
40932 need for a stand-alone documentation tar ball.
40933 (TEXI2DVI): Define always, it's not in Makeconfig.
40934 (dist): Removed.
40935 (tar-it): Removed.
40936 (edition): Removed.
40937 (glibc-doc-$(edition).tar): Removed
40938 (%.Z): Removed.
40939 (%.gz): Removed.
40940 (%.uu): Removed.
40941 (ETAGS): Remove, it's in Makeconfig.
40942 (move-if-change): Remove, it's in Makeconfig.
40943
38686a03 409442012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
40945
40946 [BZ #13970]
40947 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40948 (strtod, strtof, strtold, strtol, strtoul, strtoq)
40949 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40950 (strtod_l, strtof_l, strtold_l): Remove __wur.
40951 It is not necessarily an error to ignore strtol's return value.
40952 One can reliably look at the stored endptr to decide whether
40953 the number had valid syntax.
40954
7c0616fa
AJ
409552012-04-21 Andreas Jaeger <aj@suse.de>
40956
803cb6b7 40957 [BZ #13739]
7c0616fa
AJ
40958 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40959
b0fe253f
JM
409602012-04-21 Joseph Myers <joseph@codesourcery.com>
40961
40962 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40963 * sysdeps/unix/sysv/Versions: Remove file.
40964
8280f22d
MT
409652012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
40966
40967 [BZ #13927]
40968 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40969
75ce411f 409702012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
40971
40972 [BZ #7064]
40973 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40974 version from __vm86.
40975
097d59fa
JM
409762012-04-20 Joseph Myers <joseph@codesourcery.com>
40977
a90f3bcb
JM
40978 * sysdeps/unix/common/lxstat.c: Remove file.
40979 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40980
edc7ea78
JM
40981 * sysdeps/unix/sysv/Makefile: Remove file.
40982
cb78c221
JM
40983 * sysdeps/unix/sysv/direct.h: Remove file.
40984
efa6a45f
JM
40985 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40986 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40987 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40988 * sysdeps/unix/sysv/bits/signum.h: Likewise.
40989 * sysdeps/unix/sysv/bits/stat.h: Likewise.
40990 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40991 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40992
9c9f2d0c
JM
40993 * sysdeps/unix/sysv/setrlimit.c: Remove file.
40994
4541c83b
JM
40995 * sysdeps/unix/xmknod.c: Remove file.
40996 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40997
f5d153a0
JM
40998 * sysdeps/unix/sysv/settimeofday.c: Remove file.
40999
aa746595
JM
41000 * sysdeps/unix/sysv/i386/time.S: Remove file.
41001
cce5905e
JM
41002 * sysdeps/unix/fxstat.c: Remove file.
41003 * sysdeps/unix/xstat.c: Likewise.
41004 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
41005
37fa3841
JM
41006 * sysdeps/unix/sysv/sigaction.c: Remove file.
41007
ff1962a3
JM
41008 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
41009 (sysdep_headers): Remove variable.
41010 [termio.h not in sysdep_headers] (generated): Likewise.
41011 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
41012 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
41013 * sysdeps/unix/sysv/tcdrain.c: Likewise.
41014 * sysdeps/unix/sysv/tcflow.c: Likewise.
41015 * sysdeps/unix/sysv/tcflush.c: Likewise.
41016 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
41017 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
41018 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
41019 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
41020 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
41021
e7740d31
JM
41022 * sysdeps/unix/siglist.c: Remove file.
41023
ee06f18b
JM
41024 * sysdeps/unix/getppid.S: Remove file.
41025
097d59fa
JM
41026 * sysdeps/unix/mkdir.c: Remove file.
41027 * sysdeps/unix/rmdir.c: Likewise.
41028
ff3d51ec
AS
410292012-04-19 Andreas Schwab <schwab@linux-m68k.org>
41030
41031 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
41032 ERR_MAX value.
41033 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
41034 errlist-compat value.
41035
50f81fd7
DM
410362012-04-18 David S. Miller <davem@davemloft.net>
41037
41038 * sysdeps/generic/memcopy.h (reg_char): Delete.
41039 * debug/strcat_chk.c: Use char, not reg_char.
41040 * debug/strcpy_chk.c: Likewise.
41041 * debug/strncat_chk.c: Likewise.
41042 * debug/strncpy_chk.c: Likewise.
41043 * string/memchr.c: Likewise.
41044 * string/memrchr.c: Likewise.
41045 * string/rawmemchr.c: Likewise.
41046 * string/strcat.c: Likewise.
41047 * string/strchr.c: Likewise.
41048 * string/strchrnul.c: Likewise.
41049 * string/strcmp.c: Likewise.
41050 * string/strcpy.c: Likewise.
41051 * string/strncat.c: Likewise.
41052 * string/strncmp.c: Likewise.
41053 * string/strncpy.c: Likewise.
41054
8ff41c46
WS
410552012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41056
41057 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
41058 __builtin_memcopy is called when src and dest ranges are known to not
41059 overlap.
41060
6b652f46
WS
410612012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41062
41063 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
41064 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
41065 fwd_align_merge macro call.
41066 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
41067 bwd_align_merge macro call.
41068 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41069
b282631e
WS
410702012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41071
41072 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
41073 bwd_align_merge macros.
41074 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
41075 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
41076 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41077
95aa737c
DM
410782012-04-18 David S. Miller <davem@davemloft.net>
41079
41080 * sysdeps/sparc/sparc64/memcopy.h: Delete.
41081
7a99a614
AJ
410822012-04-18 Andreas Jaeger <aj@suse.de>
41083
41084 [BZ# 6794]
41085 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
41086 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
41087 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41088
41089 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
41090 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
41091 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41092
41093 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
41094 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
41095 Adjust for changed ldbl-128 files.
41096
41097 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
41098 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
41099 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41100
e5270c23
DM
411012012-04-17 David S. Miller <davem@davemloft.net>
41102
41103 * sysdeps/sparc/sparc32/memcopy.h: Delete.
41104
fb5e92c9
AS
411052012-04-17 Andreas Schwab <schwab@linux-m68k.org>
41106
41107 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
41108 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
41109 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
41110 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
41111 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
41112 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
41113
76da7265
AZ
411142012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41115
41116 [BZ #6794]
41117 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
41118 * math/libm-test.inc: Add ilogb errno and exception tests.
41119 * math/w_ilogb.c: New file: ilogb wrapper.
41120 * math/w_ilogbf.c: New file: ilogbf wrapper.
41121 * math/w_ilogbl.c: New file: ilogbl wrapper.
41122 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
41123 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
41124 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
41125 exception being thrown with 0.0 as argument.
41126 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
41127 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
41128 exception being thrown with 0.0 as argument.
41129 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
41130 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41131 exception being thrown with 0.0 as argument.
41132 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
41133 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41134 exception being thrown with 0.0 as argument.
41135 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
41136 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 41137 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
41138 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
41139 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
41140 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
41141 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
41142 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
41143 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
41144
0396e69d
PB
411452012-04-17 Petr Baudis <pasky@ucw.cz>
41146
41147 * include/sys/uio.h: Change __vector to __iovec to avoid clash
41148 with altivec.
41149
750b5926
MP
411502012-04-16 Marek Polacek <polacek@redhat.com>
41151
41152 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
41153
751728a1
MP
411542012-04-16 Marek Polacek <polacek@redhat.com>
41155
41156 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
41157 operands of fdivp instruction.
41158
34a27407
L
411592012-04-13 H.J. Lu <hongjiu.lu@intel.com>
41160
41161 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
41162 * elf/tst-auditmod3b.c: Likewise.
41163 * elf/tst-auditmod4b.c: Likewise.
41164 * elf/tst-auditmod5b.c: Likewise.
41165 * elf/tst-auditmod6b.c: Likewise.
41166 * elf/tst-auditmod6c.c: Likewise.
41167 * elf/tst-auditmod7b.c: Likewise.
41168 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
41169 * sysdeps/x86_64/preconfigure.in: Likewise.
41170 * sysdeps/x86_64/preconfigure: Regenerated.
41171
7e73e17d
L
411722012-04-13 H.J. Lu <hongjiu.lu@intel.com>
41173
41174 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
41175 __ILP32__.
41176
c7a6ab72
AB
411772012-04-13 Antoine Balestrat <merkil33@gmail.com>
41178
41179 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41180 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
41181
a9e8e0e0
CL
411822012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
41183
41184 [BZ #13973]
41185 * locale/iso-639.def: Fix gl language name. Spotted by
41186 Yaron Shahrabani.
41187
ec98af7d
RM
411882012-04-12 Roland McGrath <roland@hack.frob.com>
41189
41190 [BZ #2074]
41191 * libio/libio.h (__io_write_fn): Update comment.
41192
247c3ede
PB
411932012-04-12 Petr Baudis <pasky@ucw.cz>
41194
41195 [BZ #2074]
41196 * stdio.texi (Hook Functions): The user provided writer function
41197 is not allowed to return -1.
41198
55939d6d
DM
411992012-04-11 David S. Miller <davem@davemloft.net>
41200
41201 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41202
90020f5a
MF
412032012-04-11 Mike Frysinger <vapier@gentoo.org>
41204
41205 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
41206 Add a leading slash to rtkaio.
41207
288f9098
JM
412082012-04-11 Jim Meyering <meyering@redhat.com>
41209
90020f5a
MF
41210 [BZ #11959]
41211 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
41212 It is not necessarily an error to ignore fwrite's return
41213 value. One can reliably use ferror to test for errors after
41214 the fact.
288f9098 41215
4be2b570
L
412162012-04-10 H.J. Lu <hongjiu.lu@intel.com>
41217
41218 * bits/types.h (__snseconds_t): New type.
41219 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
41220
41221 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
41222 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41223 (__SNSECONDS_T_TYPE): Likewise.
41224 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41225 (__SNSECONDS_T_TYPE): Likewise.
41226 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41227 (__SNSECONDS_T_TYPE): Likewise.
41228
288f9098 412292012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
41230
41231 [BZ #2636]
41232 * manual/time.texi (Processor Time): Return type of times is
41233 elapsed real time since an arbitrary point in the past.
41234 (CPU Time): Move CLK_TCK from here...
41235 (Processor Time): ...to here. Correct description.
41236 * manual/conf.texi (Constants for Sysconf): Correct description of
41237 _SC_CLK_TCK.
41238
d7dd4413
DM
412392012-04-10 David S. Miller <davem@davemloft.net>
41240
41241 [BZ #13967]
41242 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
41243 where the is a gap between DT_REL(A) and DT_JMPREL.
41244
b46068fc
L
412452012-04-10 H.J. Lu <hongjiu.lu@intel.com>
41246
41247 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
41248 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41249 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41250
73d65cc3
SP
412512012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
41252
41253 * elf/dl-support.c (_dl_inhibit_cache): New variable.
41254 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
41255 (dl_main): Handle --inhibit-cache.
41256 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
41257 _dl_inhibit_cache.
41258 * elf/dl-load.c (_dl_map_object): Use it.
41259 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
41260
bcc8d661
JM
412612012-04-09 Joseph Myers <joseph@codesourcery.com>
41262
8f9a2fae
JM
41263 [BZ #13872]
41264 * sysdeps/i386/fpu/e_powl.S (p78): New object.
41265 (__ieee754_powl): Saturate large exponents rather than testing for
41266 overflow of y*log2(x).
41267 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41268 * math/libm-test.inc (pow_test): Do not permit spurious overflow
41269 exceptions.
41270
bcc8d661
JM
41271 [BZ #11521]
41272 * math/s_ctan.c: Include <float.h>.
41273 (__ctan): Avoid internal overflow or cancellation in calculating
41274 denominator.
41275 * math/s_ctanf.c: Likewise.
41276 * math/s_ctanl.c: Likewise.
41277 * math/s_ctanh.c: Likewise.
41278 * math/s_ctanhf.c: Likewise.
41279 * math/s_ctanhl.c: Likewise.
41280 * math/libm-test.inc (ctan_test): Add more tests.
41281 (ctanh_test): Likewise.
41282 * sysdeps/i386/fpu/libm-test-ulps: Update.
41283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41284
823fbbb4
AJ
412852012-04-09 Andreas Jaeger <aj@suse.de>
41286
03879793
AJ
41287 [BZ #6894]
41288 * manual/filesys.texi (Directory Entries): Mention that d_namlen
41289 is an optional BSD extension.
41290
823fbbb4
AJ
41291 [BZ #10254]
41292 * manual/stdio.texi (Opening Streams): Document additional fopen
41293 parameters.
41294
8de131cb
RM
412952012-04-09 Roland McGrath <roland@hack.frob.com>
41296
41297 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
41298 %eax without telling the compiler.
41299
c0ed9d7d
CD
413002012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
41301
41302 [BZ # 13963]
41303 * manual/install.texi: Use sourceware.org.
41304
c483f6b4
JM
413052012-04-09 Joseph Myers <joseph@codesourcery.com>
41306
d7dd9453
JM
41307 [BZ #13873]
41308 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
41309 (__ieee754_pow): Generate overflow and underflow using huge*huge
41310 and tiny*tiny rather than just returning constant infinity or zero
41311 for large exponents.
41312 * math/libm-test.inc (pow_test): Require overflow exceptions for
41313 applicable cases of large exponents.
41314
c483f6b4
JM
41315 [BZ #706]
41316 * sysdeps/i386/fpu/e_pow.S (p10): New object.
41317 (__ieee754_pow): Use iterative multiplication algorithm only for
41318 integer exponents with absolute value below 1024. Check for odd
41319 integer exponents when using algorithm for real exponents.
41320 * math/libm-test.inc (pow_test): Add more tests.
41321 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41322
d2de7579
JM
413232012-04-08 Joseph Myers <joseph@codesourcery.com>
41324
41325 [BZ #13705]
41326 * math/libm-test.inc (exp_test): Do not allow overflow exception
41327 on underflow test.
41328
f77f1232
AJ
413292012-04-08 Aurelien Jarno <aurelien@aurel32.net>
41330
41331 [BZ #13705]
41332 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
41333 instead of __kernel_standard_f.
41334
3884932b
MF
413352012-04-08 Mike Frysinger <vapier@gentoo.org>
41336
41337 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
41338 * sysdeps/x86_64/memset_chk.S: Likewise.
41339
54472e9c
AJ
413402012-04-08 Andreas Jaeger <aj@suse.de>
41341
6ab0fbfc
AJ
41342 [BZ #10153]
41343 * manual/startup.texi (Environment Access): Describe return value
41344 for putenv and setenv.
41345
61efba8c
AJ
41346 [BZ #6895]
41347 * manual/filesys.texi (Directory Entries): Add description for
41348 DT_LNK.
41349
95c3f29a
AJ
41350 [BZ #6890]
41351 * manual/filesys.texi (Directory Entries): Clarify that it's file
41352 system not operating system in the description of DT_UNKNOWN.
41353
54472e9c
AJ
41354 [BZ #6578]
41355 * manual/syslog.texi (closelog): Fix reference, it's openlog.
41356
624254b1
SC
413572012-04-08 Stephen Compall <s11@member.fsf.org>
41358
41359 [BZ #6649]
41360 * manual/llio.texi (Opening and Closing Files): Add cross
41361 reference to explain mode argument.
41362
1e4920e0
MF
413632012-04-07 Mike Frysinger <vapier@gentoo.org>
41364
41365 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
41366 * sysdeps/x86_64/memset_chk.S: Likewise.
41367
5ed848f3
DM
413682012-04-07 David S. Miller <davem@davemloft.net>
41369
41370 * elf/elf.h (R_SPARC_WDISP10): Define.
41371 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
41372 R_SPARC_SIZE32.
41373 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
41374 R_SPARC_SIZE64 and R_SPARC_H34.
41375
96154cd8
CD
413762012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
41377
41378 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
41379 conditions and remove no longer applicable assertion.
41380
9904dc47
L
413812012-04-06 H.J. Lu <hongjiu.lu@intel.com>
41382
41383 * bits/byteswap.h: Include <features.h>.
41384 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41385 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41386
f8887d0a
L
413872012-04-06 H.J. Lu <hongjiu.lu@intel.com>
41388
41389 * bits/byteswap.h (__bswap_16): Removed.
41390 Include <bits/byteswap-16.h> to get __bswap_16.
41391 * sysdeps/i386/bits/byteswap.h: Likewise.
41392 * sysdeps/s390/bits/byteswap.h: Likewise.
41393 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41394 * bits/byteswap-16.h: New file.
41395 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41396 * sysdeps/s390/bits/byteswap-16.h: Likewise.
41397 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
41398 * string/Makefile (headers): Add bits/byteswap-16.h.
41399
62470f60
PP
414002012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41401
41402 [BZ #13895]
41403 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
41404 extra indirection.
41405 * nss/Makefile (tests-static, tests): Add tst-nss-static.
41406 * nss/tst-nss-static.c: New.
41407
4dad7bab
RM
414082012-04-06 Robert Millan <rmh@gnu.org>
41409
41410 [BZ #6486]
41411 * manual/llio.texi (File Position Primitive): lseek
41412 refers to WHENCE when it really means OFFSET.
41413
e9142a17
AJ
414142012-04-06 Andreas Jaeger <aj@suse.de>
41415
2c040eff
AJ
41416 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
41417 strncmp declarations.
41418
e9142a17
AJ
41419 * abilist/libc.abilist: Add __poll and __ppoll.
41420
ff9f1c5f
DM
414212012-04-05 David S. Miller <davem@davemloft.net>
41422
dcd2ae90
DM
41423 * scripts/check-local-headers.sh: Accept a host triplet in the
41424 path matched by the exclude regexp.
41425
993eb054
DM
41426 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
41427 definition.
41428 * sysdeps/powerpc/powerpc32/dl-machine.h
41429 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
41430 * sysdeps/s390/s390-32/dl-machine.h
41431 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41432 * sysdeps/sparc/sparc32/dl-machine.h
41433 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41434 * sysdeps/sparc/sparc64/dl-machine.h
41435 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41436
ff9f1c5f
DM
41437 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
41438 lazy binding.
48e2e132 41439 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
41440 undefined symbol errors.
41441
48e2e132 41442 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
41443 DT_NEEDED entries.
41444
e80d6f94
MM
414452012-04-05 Michael Matz <matz@suse.de>
41446
41447 [BZ #13592]
41448 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
41449
349fa79f
AJ
414502012-04-05 Andreas Jaeger <aj@suse.de>
41451
41452 [BZ #13908]
41453 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
41454 comment.
41455
f402708f
KK
414562012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41457
41458 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
41459 which ROUND is no valid rounding mode.
41460
2ecccfc9
KK
414612012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41462
41463 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
41464 read again.
41465 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
41466
8a53f50f
KK
414672012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41468
41469 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
41470 an exception using FPU order intentionally.
41471
414722012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41473
41474 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
41475 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
41476 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
41477 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
41478
d653abb7
SJ
414792012-04-05 Simon Josefsson <simon@josefsson.org>
41480
41481 [BZ #12340]
41482 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
41483 EINVAL when BUFLEN is too smal.
41484
c3b1bf7d
TS
414852012-04-05 Thomas Schwinge <thomas@codesourcery.com>
41486
41487 [BZ #13553]
41488 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
41489 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
41490
b1aa60f3
AJ
414912012-04-03 Andreas Jaeger <aj@suse.de>
41492
c3b1bf7d 41493 [BZ #13938]
67f60a26
AJ
41494 * manual/setjmp.texi (System V contexts): Fix sentence.
41495
b1aa60f3
AJ
41496 [BZ #13926]
41497 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
41498 New macro for this case.
41499 [!__GNUC__] (__bswap_64): New inline function for this case.
41500 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41501 * bits/byteswap.h: Likewise.
41502 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
41503 ull, guard with __GLIBC_HAVE_LONG_LONG.
41504
41505 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
41506 __GLIBC_HAVE_LONG_LONG.
41507
41508 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
41509 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
41510
39c59c35
TMQMF
415112012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41512
41513 [BZ #13691]
41514 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
41515 inptr and inend, rather than using last_ch.
41516
135ffda8
DM
415172012-04-02 David S. Miller <davem@davemloft.net>
41518
41519 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
41520 * stdio-common/printf-parse.h (read_int): Change return type to
41521 'int', return -1 on INT_MAX overflow.
41522 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
41523 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
41524 overflows INT_MAX. Check for overflow of in-format-string precision
41525 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
41526 SIZE_MAX not INT_MAX for integer overflow test.
41527 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
41528 skip the construct in the format string but do not record anything.
41529 * stdio-common/bug22.c: Adjust to test both width/prevision
41530 INT_MAX overflow as well as total length INT_MAX overflow. Check
41531 explicitly for proper errno values.
41532
228c019e
TS
415332012-04-02 Thomas Schwinge <thomas@codesourcery.com>
41534
302cadd3
TS
41535 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
41536 CHAR_MAX.
41537 * string/test-strcmp.c [! WIDE]: Likewise.
41538 * time/tst-mktime2.c: Likewise for INT_MAX.
41539 * string/test-string.h: #include <sys/param.h> for MIN.
41540
228c019e
TS
41541 * csu/init-first.c (__libc_init_first): Call __ctype_init.
41542 * sysdeps/i386/init-first.c (init): Likewise.
41543 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
41544 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
41545 * sysdeps/sh/init-first.c (init): Likewise.
41546
cfa633f5
UD
415472012-04-01 Ulrich Drepper <drepper@gmail.com>
41548
41549 * po/ru.po: Update from translation team.
d1635ef8 41550 * po/vi.po: Likewise.
cfa633f5 41551
6cd0a5ea
SP
415522012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41553
41554 * resolv/nss_dns/dns-host.c: Merge copyright years.
41555
4b43400f
LD
415562012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41557
41558 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41559 Optimize memcpy with prefetch if
41560 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
41561 src, dst pointers have unequal 16 byte alignments.
41562
48c41d04
SP
415632012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
41564
41565 [BZ #13928]
41566 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
41567 from a CNAME entry and return the minimum ttl for the query.
41568 (gaih_getanswer_slice): Likewise.
41569
b8dc394d
JL
415702012-03-30 Jeff Law <law@redhat.com>
41571
41572 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
41573 due to long keys.
41574 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
41575 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
41576
2f5a5ed0
JL
41577 * resolv/nss_dns/dns-host.c: Update copyright year.
41578
1d39e359
UD
415792012-03-30 Ulrich Drepper <drepper@gmail.com>
41580
c030f70c 41581 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 41582 requests to save a system call. Fix check that all bytes are sent.
c030f70c 41583
1d39e359
UD
41584 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
41585 comments for sendmmsg.
41586
415872012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
41588
41589 [BZ #13691]
41590 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
41591 with only 1 character between 0x0041 and 0x01b0.
41592 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
41593 * wcsmbs/tst-mbsnrtowcs.c: New file.
41594
20fde227
DM
415952012-03-29 David S. Miller <davem@davemloft.net>
41596
41597 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
41598 small copies by hand.
41599
984a4237
JL
416002012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41601
41602 [BZ #13761]
57f41c40
AS
41603 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
41604 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
41605 group memberships.
984a4237 41606
18c9d62b
DM
416072012-03-28 David S. Miller <davem@davemloft.net>
41608
88d85d4f
DM
41609 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
41610 that branches into memcpy.
41611 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41612 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
41613 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41614 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
41615 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
41616 bits.
41617 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
41618 implementation too.
41619 * sysdeps/sparc/mempcpy.S: New file.
41620
e5aa83e1
DM
41621 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
41622 the IFUNC routine in the libc case.
41623 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41624
88570753
DM
41625 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
41626 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
41627 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
41628 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
41629 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
41630 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
41631 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
41632 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
41633
249d7567
DM
41634 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
41635 loop to 256 bytes instead of 64 bytes and fix test signedness.
41636
18c9d62b
DM
41637 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
41638 * sysdeps/sparc/sparc32/Makefile: rather than here...
41639 * sysdeps/sparc/sparc64/Makefile: and here.
41640
05f3d1f6
UD
416412012-03-28 Ulrich Drepper <drepper@gmail.com>
41642
41643 * malloc/mallocbug.c: Avoid warnings about unused variables.
41644
86ae07a8
JL
416452012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
41646
41647 [BZ #13760]
41648 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
41649 in the right place. Discard and retry query if response is
41650 larger than input buffer size.
41651
41bf21a1
JM
416522012-03-28 Joseph Myers <joseph@codesourcery.com>
41653
d6270972
JM
41654 [BZ #369]
41655 [BZ #2678]
41656 [BZ #3866]
41657 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
41658 x for large integer exponent.
41659 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41660 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
41661 sign of result as needed afterwards.
41662 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
41663 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
41664 result for underflowing pow the same as for overflow.
41665 (__kernel_standard_l): Handle powl overflow and underflow here
41666 rather than calling __kernel_standard.
41667 * math/libm-test.inc (pow_test): Add more tests.
41668
414fca03 41669 [BZ #3868]
41bf21a1
JM
41670 [BZ #13879]
41671 [BZ #13910]
41672 [BZ #13911]
41673 [BZ #13912]
41674 [BZ #13913]
41675 [BZ #13915]
41676 [BZ #13916]
41677 [BZ #13917]
41678 [BZ #13918]
41679 [BZ #13919]
41680 [BZ #13920]
41681 [BZ #13921]
41682 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
41683 * sysdeps/ieee754/k_standard.c: Include <float.h>.
41684 (__kernel_standard_l): New function.
41685 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
41686 __kernel_standard.
41687 * math/w_acosl.c (__acosl): Likewise.
41688 * math/w_asinl.c (__asinl): Likewise.
41689 * math/w_atan2l.c (__atan2l): Likewise.
41690 * math/w_atanhl.c (__atanhl): Likewise.
41691 * math/w_coshl.c (__coshl): Likewise.
41692 * math/w_exp10l.c (__exp10l): Likewise.
41693 * math/w_exp2l.c (__exp2l): Likewise.
41694 * math/w_fmodl.c (__fmodl): Likewise.
41695 * math/w_hypotl.c (__hypotl): Likewise.
41696 * math/w_j0l.c (__j0l, __y0l): Likewise.
41697 * math/w_j1l.c (__j1l, __y1l): Likewise.
41698 * math/w_jnl.c (__jnl, __ynl): Likewise.
41699 * math/w_lgammal.c (__lgammal): Likewise.
41700 * math/w_log10l.c (__log10l): Likewise.
41701 * math/w_log2l.c (__log2l): Likewise.
41702 * math/w_logl.c (__logl): Likewise.
41703 * math/w_powl.c (__powl): Likewise.
41704 * math/w_remainderl.c (__remainderl): Likewise.
41705 * math/w_scalbl.c (sysv_scalbl): Likewise.
41706 * math/w_sinhl.c (__sinhl): Likewise.
41707 * math/w_sqrtl.c (__sqrtl): Likewise.
41708 * math/w_tgammal.c (__tgammal): Likewise.
41709 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
41710 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
41711 * math/libm-test.inc (acos_test): Add more tests.
41712 (acosh_test): Likewise.
41713 (asin_test): Likewise.
41714 (atanh_test): Likewise.
41715 (exp_test): Likewise.
41716 (exp10_test): Likewise.
41717 (exp2_test): Likewise.
41718 (expm1_test): Likewise.
41719 (lgamma_test): Likewise.
41720 (log_test): Likewise.
41721 (log10_test): Likewise.
41722 (log1p_test): Likewise.
41723 (log2_test): Likewise.
41724 (pow_test): Do not allow some spurious overflow exceptions.
41725 (sqrt_test): Add more tests.
41726 (tgamma_test): Likewise.
41727 (y0_test): Likewise.
41728 (y1_test): Likewise.
41729 (yn_test): Likewise.
41730
dd62fda6
AB
417312012-03-27 Anton Blanchard <anton@samba.org>
41732
41733 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
41734 MAP_HUGETLB.
41735 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41736 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41737 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41738
1e3cdfda
AJ
417392012-03-27 David S. Miller <davem@davemloft.net>
41740
b855ab85
DM
41741 * conform/Makefile: Run run-conformtest.sh using $(BASH).
41742
1e3cdfda
AJ
41743 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
41744 have-as-vis3 check.
41745
417462012-03-27 Andreas Jaeger <aj@suse.de>
41747
41748 * sysdeps/x86_64/elf/configure.in: Moved to ...
41749 * sysdeps/x86_64/configure.in: ... here.
41750 * sysdeps/x86_64/elf/start.S: Moved to ...
41751 * sysdeps/x86_64/start.S: ... here.
41752 * sysdeps/x86_64/elf/configure: Delete.
41753
41754 * sysdeps/x86_64/configure.in: Merge contents from
41755 sysdeps/i386/configure.in (without i686 check).
41756
41757 * sysdeps/i386/elf/Versions: Merge into ...
41758 * sysdeps/i386/Versions: ... this.
41759 * sysdeps/i386/elf/Versions: Delete file.
41760 * sysdeps/i386/elf/start.S: Moved to ...
41761 * sysdeps/i386/start.S: ...here.
41762 * sysdeps/i386/elf/configure.in: Merge into...
41763 * sysdeps/i386/configure.in: ...here.
41764 * sysdeps/i386/elf/configure.in: Delete file.
41765 * sysdeps/i386/elf/configure: Delete file.
41766
41767 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
41768 * debug/backtracesyms.c: ... here.
41769 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
41770 * debug/backtracesymsfd.c: ... here.
41771 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
41772 * sysdeps/generic/ifunc-sel.h: ... here.
41773
41774 * sysdeps/unix/i386/start.c: Delete file.
41775 * sysdeps/unix/sparc/start.c: Delete file.
41776 * sysdeps/unix/start.c: Delete file.
41777
41778 * sysdeps/sh/elf/configure.in: Moved to ...
41779 * sysdeps/sh/configure.in: ... here.
41780 * sysdeps/sh/elf/start.S: Moved to ...
41781 * sysdeps/sh/start.S: ... here.
41782 * sysdeps/sh/elf/configure: Delete file.
41783
41784 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
41785 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
41786 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
41787 * sysdeps/powerpc/powerpc64/entry.h: ... here.
41788 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
41789 * sysdeps/powerpc/powerpc64/start.S: here.
41790 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
41791 * sysdeps/powerpc/powerpc64/Makefile: ... this.
41792 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
41793 * sysdeps/powerpc/powerpc64/configure.in: ... this.
41794 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
41795
41796 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
41797 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
41798 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
41799 * sysdeps/powerpc/powerpc32/start.S: ... here.
41800 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
41801 * sysdeps/powerpc/powerpc32/configure.in: ... this.
41802 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
41803
41804 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
41805 * sysdeps/powerpc/ifunc-sel.h: ... here.
41806 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
41807 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
41808
41809 * sysdeps/sparc/elf/configure.in: Moved to ...
41810 * sysdeps/sparc/configure.in: ... here.
41811 * sysdeps/sparc/elf/configure: Delete file.
41812 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
41813 * sysdeps/sparc/sparc32/start.S: ... here.
41814 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
41815 * sysdeps/sparc/sparc64/start.S: ... here.
41816 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
41817 * sysdeps/sparc/sparc32/Makefile: ... this.
41818 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
41819 * sysdeps/sparc/sparc64/Makefile: ... this.
41820
41821 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
41822 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
41823 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
41824 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
41825 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
41826 * sysdeps/s390/s390-32/setjmp.S: ... here.
41827 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
41828 * sysdeps/s390/s390-32/configure.in: ... here.
41829 * sysdeps/s390/s390-32/elf/configure: Delete file.
41830 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
41831 * sysdeps/s390/s390-32/start.S: ... here.
41832
41833 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
41834 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
41835 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
41836 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
41837 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
41838 * sysdeps/s390/s390-64/setjmp.S: ... here.
41839 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
41840 * sysdeps/s390/s390-64/configure.in: ... here
41841 * sysdeps/s390/s390-64/elf/configure: Delete file.
41842 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
41843 * sysdeps/s390/s390-64/start.S: ... here.
41844 * sysdeps/s390/s390-64/elf/configure: Delete.
41845
41846 * configure.in: Remove support for elf directories in sysdeps.
41847
41848 * configure: Regenerated.
41849 * sysdeps/i386/configure: Regenerated.
41850 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41851 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41852 * sysdeps/s390/s390-32/configure: Regenerated.
41853 * sysdeps/s390/s390-64/configure: Regenerated.
41854 * sysdeps/sh/configure: Regenerated.
41855 * sysdeps/sparc/configure: Regenerated.
41856 * sysdeps/x86_64/configure: Regenerated.
41857
a3f61311
AS
418582012-03-26 Andreas Schwab <schwab@linux-m68k.org>
41859
c876e002
AS
41860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41861
a3f61311
AS
41862 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
41863 denormal result into account.
41864
ac4c54f0
RM
418652012-03-25 Roland McGrath <roland@hack.frob.com>
41866
41867 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
41868 Reported by Allan McRae <allan@archlinux.org>.
41869
6a9b9c02
JL
418702012-03-23 Jeff Law <law@redhat.com>
41871
41872 * nss/getnssent.c (__nss_getent): Fix typo.
41873
4c42a0c1
DM
418742012-03-23 David S. Miller <davem@davemloft.net>
41875
41876 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41877
1532c7ac
L
418782012-03-23 H.J. Lu <hongjiu.lu@intel.com>
41879
41880 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
41881 to pad to uint64_t for each field.
41882 (dl_tls_index): Replace unsigned long with uint64_t.
41883
3ff42526
PP
418842012-03-23 Daniel Jacobowitz <dmj@google.com>
41885 Paul Pluzhnikov <ppluzhnikov@google.com>
41886
41887 [BZ #6528]
41888 * grp/Makefile (otherlibs): Don't set it.
41889 * inet/Makefile (otherlibs): Likewise.
41890 * login/Makefile (otherlibs): Likewise.
41891 * nscd/Makefile (otherlibs): Likewise.
41892 * posix/Makefile (otherlibs): Likewise.
41893 * pwd/Makefile (otherlibs): Likewise.
41894 * rt/Makefile (otherlibs): Likewise.
41895 * sunrpc/Makefile (otherlibs): Likewise.
41896 * nss/Makefile (otherlibs): Likewise.
41897 Add libnss_files to routines and static-only-routines.
41898 ($(objpfx)getent): Remove rule.
41899 * resolv/Makefile: Add libnss_dns and libresolv to routines and
41900 static-only-routines.
41901
7c69cd14
JM
419022012-03-22 Joseph Myers <joseph@codesourcery.com>
41903
41904 [BZ #13892]
41905 * math/s_cexp.c: Include <float.h>.
41906 (__cexp): Handle exp result overflowing not necessarily
41907 overflowing both real and imaginary parts of result.
41908 * math/s_cexpf.c: Likewise.
41909 * math/s_cexpl.c: Likewise.
41910 * math/libm-test.inc (cexp_test): Add more tests.
41911 * sysdeps/i386/fpu/libm-test-ulps: Update.
41912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41913
81b035fe
L
419142012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41915
41916 * include/link.h (ELFW): New macro.
41917 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41918 Replace ELF64_R_TYPE with ELFW(R_TYPE).
41919
1da7940c
L
419202012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41921
41922 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41923 with uint64_t.
41924
b749dbb9
L
419252012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41926
41927 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41928 declaration.
41929 (struct La_x32_retval): Likewise.
41930
2ff87f3f
L
419312012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41932
41933 * sysdeps/x86_64/preconfigure.in: New file.
41934 * sysdeps/x86_64/preconfigure: New generated file.
41935
c0df8e69
JM
419362012-03-22 Joseph Myers <joseph@codesourcery.com>
41937
48e44791
JM
41938 [BZ #13824]
41939 * math/e_exp2l.c: Include <float.h>.
41940 (__ieee754_exp2l): Handle overflow and underflow cases
41941 separately. Only pass fractional part of argument to
41942 __ieee754_expl.
41943 * math/libm-test.inc (exp2_test): Add more tests.
41944
c0df8e69
JM
41945 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41946 negating x to take absolute value.
41947 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41948 Likewise.
41949 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41950 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41951 Likewise.
41952 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41953 computing low part if x was negated.
41954 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41955
c8e43ba7
L
419562012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41957
41958 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41959 la_x32_gnu_pltexit.
41960 (pltexit): Cast int_retval to ptrdiff_t.
41961 * elf/tst-auditmod3b.c: Likewise.
41962 * elf/tst-auditmod4b.c: Likewise.
41963 * elf/tst-auditmod5b.c: Likewise.
41964 * elf/tst-auditmod6b.c: Likewise.
41965 * elf/tst-auditmod6c.c: Likewise.
41966 * elf/tst-auditmod7b.c: Likewise.
41967
41968 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41969 and x32_gnu_pltexit.
41970
41971 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41972 __ELF_NATIVE_CLASS.
41973 (La_x32_regs): New macro.
41974 (La_x32_retval): Likewise.
41975 (la_x32_gnu_pltenter): New function prototype.
41976 (la_x32_gnu_pltexit): Likewise.
41977
7998fa78
AS
419782012-03-21 Andreas Schwab <schwab@linux-m68k.org>
41979
dcb33988
AS
41980 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41981 exponent.
41982
233fc563
AS
41983 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41984
7998fa78
AS
41985 * configure.in (libc_cv_cc_nofma): Check for option to disable
41986 generation of FMA instructions.
41987 * configure: Regenerate.
41988 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41989 * sysdeps/ieee754/dbl-64/Makefile: New file.
41990 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41991 Remove brandred-fma4.
41992 (CFLAGS-brandred-fma4.c): Remove.
41993 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41994 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41995 define.
41996 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41997 define.
41998
8e95c99a
L
419992012-03-21 H.J. Lu <hongjiu.lu@intel.com>
42000
42001 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42002 LLONG_MAX != LONG_MAX.
42003 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42004 (_fitoa_word): Likewise.
42005 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
42006 LLONG_MAX != LONG_MAX.
42007 * stdio-common/_itowa.h: Include <_itoa.h>.
42008 (_itowa_word): Use _ITOA_WORD_TYPE on value.
42009 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
42010 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
42011 only if not defined.
42012 (_ITOA_WORD_TYPE): Likewise.
42013 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42014 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
42015
6f4db457
DM
420162012-03-21 David S. Miller <davem@davemloft.net>
42017
42018 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42019
7785fe5a
L
420202012-03-21 H.J. Lu <hongjiu.lu@intel.com>
42021
42022 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
42023 of x86_64 when setting libc_cv_slibdir, libdir and
42024 libc_cv_localedir.
42025 * sysdeps/unix/sysv/linux/configure: Regenerated.
42026
4535cd55
JM
420272012-03-21 Joseph Myers <joseph@codesourcery.com>
42028
42029 * manual/lang.texi (Old Varargs): Remove section.
42030 (How Variadic): Update menu.
42031 (va_start): Do not mention varargs.h.
42032
17228132
TS
420332012-03-21 Thomas Schwinge <thomas@codesourcery.com>
42034 Joseph Myers <joseph@codesourcery.com>
42035
42036 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
42037 link test.
42038 * configure: Regenerated.
42039
8149f976
TS
420402012-03-21 Thomas Schwinge <thomas@codesourcery.com>
42041
05f3d1f6
UD
42042 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
42043 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
42044 conformtest.pl
8149f976 42045
1a4ac776
JM
420462012-03-21 Joseph Myers <joseph@codesourcery.com>
42047
be22ce65
JM
42048 * NOTES: Remove.
42049 * Makefile (files-for-dist): Remove NOTES.
42050 (NOTES): Remove rule.
42051 * README: Don't refer to NOTES.
42052 * manual/creature.texi: Don't include macros.texi.
42053 * manual/intro.texi (creature.texi): Remove comment referring to
42054 NOTES.
42055
40b601fb
JM
42056 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
42057 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
42058 * configure: Regenerated.
42059 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
42060 LIBC_TRY_CC_OPTION.
42061 (libc_cv_as_i686): Likewise.
42062 (libc_cv_cc_avx): Likewise.
42063 (libc_cv_cc_sse2avx): Likewise.
42064 (libc_cv_cc_fma4): Likewise.
42065 (libc_cv_cc_novzeroupper): Likewise.
42066 * sysdeps/i386/configure: Regenerated.
42067
1a4ac776
JM
42068 [BZ #13883]
42069 * sysdeps/i386/fpu/s_cexp.S: Remove.
42070 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42071 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42072 * math/libm-test.inc (cexp_test): Add more tests.
42073 * sysdeps/i386/fpu/libm-test-ulps: Update.
42074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42075
a458e7fe
AM
420762012-03-21 Allan McRae <allan@archlinux.org>
42077
42078 * timezone/Makefile: Do not install iso3166.tab and zone.tab
42079
0cb7efc5
JM
420802012-03-21 Joseph Myers <joseph@codesourcery.com>
42081
42082 [BZ #13871]
42083 * math/w_exp2.c: Do not include <float.h>.
42084 (o_threshold, u_threshold): Remove.
42085 (__exp2): Calculate result before checking finiteness and calling
42086 __kernel_standard.
42087 * math/w_exp2f.c: Likewise.
42088 * math/w_exp2l.c: Likewise.
42089 * math/libm-test.inc (exp2_test): Require overflow exception for
42090 1e6 input.
2460d3aa
JM
42091
42092 [BZ #3866]
42093 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
42094 range of signed 64-bit integers before using fistpll. Remove
42095 checks for whether integers fit in mantissa bits.
42096 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
42097 the range of signed 32-bit integers before using fistpl. Remove
42098 checks for whether integers fit in mantissa bits.
42099 * sysdeps/i386/fpu/e_powl.S (p64): New object.
42100 (__ieee754_powl): Test for y outside the range of signed 64-bit
42101 integers before using fistpll. Reduce 64-bit values to 63-bit
42102 ones as needed.
42103 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
42104 divide-by-zero is raised for zero to large negative powers.
42105 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
42106 (__ieee754_powl): Test for y outside the range of signed 64-bit
42107 integers before using fistpll. Reduce 64-bit values to 63-bit
42108 ones as needed.
42109 * math/libm-test.inc (pow_test): Add more tests.
42110
eb96ffb0
L
421112012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42112
42113 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
42114 <stdio-common/_itoa.h>.
42115 * debug/segfault.c: Likewise.
42116 * elf/dl-cache.c: Likewise.
42117 * elf/dl-minimal.c: Likewise.
42118 * elf/dl-misc.c: Likewise.
42119 * elf/dl-sysdep.c: Likewise.
42120 * elf/dl-version.c: Likewise.
42121 * elf/rtld.c: Likewise.
42122 * hurd/hurdsock.c: Likewise.
42123 * hurd/lookup-retry.c: Likewise.
42124 * malloc/malloc.c: Likewise.
42125 * malloc/mtrace.c: Likewise.
42126 * nscd/nscd_getgr_r.c: Likewise.
42127 * nscd/nscd_getpw_r.c: Likewise.
42128 * nscd/nscd_getserv_r.c: Likewise.
42129 * posix/getopt_init.c: Likewise.
42130 * posix/wordexp.c: Likewise.
42131 * stdio-common/_itoa.c: Likewise.
42132 * stdio-common/printf_fphex.c: Likewise.
42133 * stdio-common/vfprintf.c: Likewise.
42134 * string/_strerror.c: Likewise.
42135 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
42136 * sysdeps/i386/i686/hp-timing.h: Likewise.
42137 * sysdeps/mach/_strerror.c: Likewise.
42138 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
42139 * sysdeps/mach/hurd/sethostid.c: Likewise.
42140 * sysdeps/mach/hurd/xmknodat.c: Likewise.
42141 * sysdeps/mach/xpg-strerror.c: Likewise.
42142 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42143 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42144 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
42145 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
42146 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42147 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
42148 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
42149 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
42150 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
42151 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
42152 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
42153 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
42154 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
42155 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
42156 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
42157 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
42158 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
42159 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
42160 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
42161 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
42162 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
42163
42164 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
42165
42166 * stdio-common/_itoa.h: Moved to ...
42167 * sysdeps/generic/_itoa.h: Here.
42168
42169 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
42170
42171 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
42172 instead of "_itoa.h" and "_itowa.h".
42173 * stdio-common/vfprintf.: Likewise.
42174
d1af992d
L
421752012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42176
42177 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
42178 <bits/wordsize.h>.
42179 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
42180 (__signbit): Likwise.
42181 (llrintf): Likwise.
42182 (llrint): Likwise.
42183
114883e0
L
421842012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42185
42186 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
42187 __WORDSIZE != 64.
42188
c135cc1b
JM
421892012-03-20 Joseph Myers <joseph@codesourcery.com>
42190
42191 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
42192 OVERFLOW_EXCEPTION_OK.
42193 * math/libm-test.inc ("Philosophy"): Update comment about
42194 exception testing.
42195 (OVERFLOW_EXCEPTION): Define.
42196 (OVERFLOW_EXCEPTION_OK): Likewise.
42197 (INVALID_EXCEPTION_OK): Renumber.
42198 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42199 (IGNORE_ZERO_INF_SIGN): Likewise.
42200 (test_exceptions): Handle FE_OVERFLOW.
42201 (exp10_test): Expect overflow exceptions.
42202 (exp2_test): Likewise.
42203 (expm1_test): Likewise.
42204 (nextafter_test): Likewise.
42205 (pow_test): Likewise.
42206 (scalbn_test): Likewise.
42207 (scalbln_test): Likewise.
42208
95443d88
L
422092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42210
42211 * sysdeps/x86_64/bits/atomic.h
42212 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
42213 64bit integer.
42214 (atomic_exchange_acq): Likewise.
42215 (__arch_exchange_and_add_body): Likewise.
42216 (__arch_add_body): Likewise.
42217 (atomic_add_negative): Likewise.
42218 (atomic_add_zero): Likewise.
42219
490df6c4
L
422202012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42221
c2722551 42222 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
42223 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
42224
5e52b189
L
422252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42226
42227 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
42228 Check __x86_64__ instead of __WORDSIZE.
42229
a9879d4c
L
422302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42231
42232 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
42233
5df98260
DM
422342012-03-19 David S. Miller <davem@davemloft.net>
42235
e1497744
DM
42236 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42237
5df98260
DM
42238 * sysdeps/sparc/fpu/fenv_private.h: New file.
42239 * sysdeps/sparc/fpu/math_private.h: Use it.
42240 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
42241 Remove.
57f41c40 42242 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
42243 (libc_feholdexcept_setroundl): Remove.
42244 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
42245 Remove.
42246 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
42247 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
42248
b4c35121
L
422492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42250
42251 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
42252 int64_t instead of long int.
42253 (INSERT_WORDS64): Likwise.
42254
56965fd7
L
422552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42256
42257 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
42258 _Unwind_GetCFA return to _Unwind_Ptr first.
42259
83d1aec8
JM
422602012-03-19 Joseph Myers <joseph@codesourcery.com>
42261
1897ad44
JM
42262 [BZ #13629]
42263 * math/s_clog.c: Include <float.h>.
42264 (__clog): Scale large or subnormal inputs.
42265 * math/s_clogf.c: Likewise.
42266 * math/s_clogl.c: Likewise.
42267 * math/s_clog10.c: Include <float.h>.
42268 (M_LOG10_2): Define.
42269 (__clog10): Scale large or subnormal inputs.
42270 * math/s_clog10f.c: Likewise.
42271 * math/s_clog10l.c: Likewise.
42272 * math/libm-test.inc (clog_test): Add more tests.
42273 (clog10_test): Likewise.
42274 * sysdeps/i386/fpu/libm-test-ulps: Update.
42275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42276
7726d6a9
JM
42277 [BZ #11451]
42278 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
42279 x and y.
42280 * math/libm-test.inc (atan2_test): Add another test.
42281
83d1aec8
JM
42282 * Makerules (common-objdir-compile): Remove.
42283 * sysdeps/unix/Makefile (config-generated): Do not add
42284 $(unix-generated) to variable.
42285 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
42286 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
42287 Remove rule.
42288 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
42289 Likewise.
42290 [generic bits/local_lim.h] (before-compile): Do not append to
42291 variable.
42292 [generic bits/local_lim.h] (common-generated): Likewise.
42293 [generic sys/param.h] (before-compile): Do not append to variable.
42294 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
42295 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
42296 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
42297 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
42298 include.
42299 [generic sys/param.h] (sys/param.h-includes): Remove variable.
42300 [generic sys/param.h] (sys/param.h-includes): Remove rule.
42301 [generic sys/param.h] ($(addprefix
42302 $(common-objpfx),$(sys/param.h-includes))): Likewise.
42303 [generic sys/param.h] (common-generated): Do not append to
42304 variable.
42305 [generic sys/param.h] (sysdep_headers): Likewise.
42306 [generic bits/errno.h] (before-compile): Do not append to
42307 variable.
42308 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
42309 rule.
42310 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
42311 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
42312 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
42313 [generic bits/errno.h] (common-generated): Do not append to
42314 variable.
42315 [generic bits/ioctls.h] (before-compile): Do not append to
42316 variable.
42317 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
42318 rule.
42319 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
42320 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
42321 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
42322 rule.
42323 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
42324 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
42325 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
42326 [generic bits/ioctls.h] (common-generated): Do not append to
42327 variable.
42328 [generic sys/syscall.h] (syscall.h): Remove variable.
42329 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
42330 rule.
42331 [generic sys/syscall.h] (before-compile): Do not append to
42332 variable.
42333 [generic sys/syscall.h] (common-generated): Likewise.
42334 * sysdeps/unix/errnos-tmpl.c: Remove file.
42335 * sysdeps/unix/errnos.awk: Likewise.
42336 * sysdeps/unix/ioctls-tmpl.c: Likewise.
42337 * sysdeps/unix/ioctls.awk: Likewise.
42338 * sysdeps/unix/mk-local_lim.c: Likewise.
42339 * sysdeps/unix/snarf-ioctls: Likewise.
42340
4851a949
RH
423412012-03-19 Richard Henderson <rth@twiddle.net>
42342
bd37f2ee
RH
42343 * sysdeps/i386/fpu/fenv_private.h: New file.
42344 * sysdeps/i386/fpu/math_private.h: Use it.
42345 (math_opt_barrier, math_force_eval): Remove.
42346 (libc_feholdexcept_setround_53bit): Remove.
42347 (libc_feupdateenv_53bit): Remove.
42348 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42349 (math_opt_barrier, math_force_eval): Remove.
42350 (libc_feholdexcept): Remove.
42351 (libc_feholdexcept_setround): Remove.
42352 (libc_fetestexcept, libc_fesetenv): Remove.
42353 (libc_feupdateenv_test): Remove.
42354 (libc_feupdateenv, libc_feholdsetround): Remove.
42355 (libc_feresetround): Remove.
42356
d0adc922
RH
42357 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
42358 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
42359
0fe0f1f8
RH
42360 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
42361 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
42362 (libc_feupdateenv_testl): New.
42363 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
42364 (libc_feupdateenv_testf): New.
42365 (libc_feupdateenv): Use libc_feupdateenv_test.
42366 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
42367 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
42368
eb92c487
RH
42369 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
42370 (libc_feholdsetroundf, libc_feholdsetroundl): New.
42371 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
42372 (libc_feresetround_noex): New.
42373 (libc_feresetround_noexf): New.
42374 (libc_feresetround_noexl): New.
42375 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
42376 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
42377 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
42378 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
42379 SET_RESTORE_ROUND.
42380 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
42381 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
42382 (__cos): Likewise.
42383 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
42384 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
42385 SET_RESTORE_ROUND_NOEX.
42386 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
42387 SET_RESTORE_ROUND_NOEXF.
42388 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
42389 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
42390 (libc_feholdsetroundf): New.
42391 (libc_feresetround, libc_feresetroundf): New.
42392
7d2e8012
RH
42393 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
42394 (libc_feholdexcept_setround_53bit): Convert from macro to function.
42395 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
42396
b4dabbb4
RH
42397 * sysdeps/generic/math_private.h: Include <fenv.h>.
42398 (default_libc_feholdexcept): New.
42399 (default_libc_feholdexcept_setround): New.
42400 (default_libc_fesetenv, default_libc_feupdateenv): New.
42401 (libc_feholdexcept): Only define if undefined.
42402 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
42403 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
42404 (libc_feholdexcept_setroundl): Likewise.
42405 (libc_feholdexcept_setround_53bit): Likewise.
42406 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
42407 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
42408 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
42409 (libc_feupdateenv_53bit): Likewise.
42410 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
42411 (libc_feholdexcept): Convert from macro to inline function.
42412 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
42413 (libc_fesetenv, libc_feupdateenv): Likewise.
42414
4851a949
RH
42415 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
42416 not previously defined.
42417 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
42418 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
42419 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
42420 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
42421 * sysdeps/ieee754/flt-32/math_private.h: New file.
42422 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
42423 math_private.h below SET_FLOAT_WORD.
42424 (__isnan, __isinf_ns, __finite): Remove.
42425 (__isnanf, __isinf_nsf, __finitef): Remove.
42426
e79d442e
AS
424272012-03-18 Andreas Schwab <schwab@linux-m68k.org>
42428
42429 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42430
90b80344
DM
424312012-03-17 David S. Miller <davem@davemloft.net>
42432
42433 [BZ #6471]
42434 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
42435 for 2.16.
42436
edc21804
DM
424372012-03-16 David S. Miller <davem@davemloft.net>
42438
77e927af
DM
42439 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
42440 warnings.
42441
374976dd
DM
42442 [BZ #6471]
42443 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
42444 properly.
42445 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
42446 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
42447 sysdep_routines when subdir is sysvipc.
42448 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
42449 __getshmlba helper.
42450
edc21804
DM
42451 * sysdeps/sparc/fpu/libm-test/ulps: Update.
42452
473c3ef3
L
424532012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42454
42455 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
42456 [__LP64__].
42457
eb0f39b6
L
424582012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42459
42460 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
42461 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
42462 (__lround): Renamed to ...
42463 (__llround): This. Replace long int with long long int.
42464 Define lround functions as aliases of llround functions.
42465 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
42466
6b6cd74b
L
424672012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42468
42469 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
42470 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
42471 adresses to uintptr_t. Replace "long int" and "unsigned long
42472 int" with "greg_t" on va_arg.
42473
f1a77b01
L
424742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42475
42476 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
42477 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
42478
42479 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
42480 Move e_machine check before EI_CLASS check. Handle x32
42481 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
42482 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
42483 SKIP_EM_IA_64 and include
42484 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
42485
42486 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
42487 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
42488 (add_system_dir): New macro.
42489
42490 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
42491 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
42492
11b90b9f
JM
424932012-03-16 Joseph Myers <joseph@codesourcery.com>
42494
c36e1d23
JM
42495 [BZ #2551]
42496 [BZ #2552]
42497 [BZ #2553]
42498 [BZ #2554]
42499 [BZ #2562]
42500 [BZ #2563]
42501 [BZ #2565]
42502 [BZ #2566]
42503 [BZ #2576]
42504 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
42505 (y0): Likewise.
42506 * math/w_j0f.c (j0f): Likewise.
42507 (y0f): Likewise.
42508 * math/w_j0l.c (__j0l): Likewise.
42509 (__y0l): Likewise.
42510 * math/w_j1.c (j1): Likewise.
42511 (y1): Likewise.
42512 * math/w_j1f.c (j1f): Likewise.
42513 (y1f): Likewise.
42514 * math/w_j1l.c (__j1l): Likewise.
42515 (__y1l): Likewise.
42516 * math/w_jn.c (jn): Likewise.
42517 (yn): Likewise.
42518 * math/w_jnf.c (jnf): Likewise.
42519 (ynf): Likewise.
42520 * math/w_jnl.c (__jnl): Likewise.
42521 (__ynl): Likewise.
42522 * math/libm-test.inc (j0_test): Add more tests.
42523 (j1_test): Likewise.
42524 (jn_test): Likewise. Add trailing semicolon to existing test.
42525 (y0_test): Likewise.
42526 (y1_test): Likewise.
42527 * sysdeps/i386/fpu/libm-test-ulps: Update.
42528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42529
11b90b9f
JM
42530 [BZ #13851]
42531 [BZ #13854]
42532 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
42533 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
42534 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
42535 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
42536 (__tanl): Set errno for infinite argument.
42537 * sysdeps/i386/fpu/mptan.c: Remove.
42538 * sysdeps/i386/fpu/s_tan.S: Likewise.
42539 * sysdeps/i386/fpu/s_tanl.S: Likewise.
42540 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
42541 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
42542 * math/libm-test.inc (tan_test): Add more tests and enable more
42543 tests for double and long double.
42544 * sysdeps/i386/fpu/libm-test-ulps: Update.
42545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42546
6a1bd2a1
JK
425472012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
42548
42549 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
42550 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
42551
10a803e0
RM
425522012-03-16 Roland McGrath <roland@hack.frob.com>
42553
42554 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
42555 * configure.in: Use it for both main tree and add-ons.
42556 * configure: Regenerated.
42557
f196c7f7
L
425582012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42559
42560 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
42561
8848d99d
JM
425622012-03-16 Joseph Myers <joseph@codesourcery.com>
42563
96cbe7f4
JM
42564 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
42565 in comment.
42566
8848d99d
JM
42567 [BZ #13851]
42568 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
42569 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
42570 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
42571 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
42572 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
42573 infinite argument.
42574 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
42575 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
42576 != 0 for prec == 2.
42577 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
42578 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
42579 * sysdeps/i386/fpu/s_cosl.S: Likewise.
42580 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
42581 * sysdeps/i386/fpu/s_sinl.S: Likewise.
42582 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
42583 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
42584 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
42585 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
42586 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
42587 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
42588 * math/libm-test.inc (cos_test): Add more tests and enable more
42589 tests for long double.
42590 (sin_test): Likewise.
42591 (sincos_test): Likewise.
42592 * sysdeps/i386/fpu/libm-test-ulps: Update.
42593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42594
dd7f4703
DM
425952012-03-16 David S. Miller <davem@davemloft.net>
42596
42597 * sysdeps/sparc/fpu/math_private.h: New file.
42598
006f1daa
DM
425992012-03-15 David S. Miller <davem@davemloft.net>
42600
c0c83bc8
DM
42601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
42602 file.
e6a62e18 42603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
42604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
42605 file.
e6a62e18
DM
42606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
42607 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
42608 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
42609 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
42610 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
42611 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
42612 sysdep routines.
42613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42614
88cb87d9
DM
42615 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
42616 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
42617
006f1daa 42618 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
42619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
42620 sparc-ifunc.h
006f1daa 42621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
42622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
42623 Likewise.
42624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
42625 Likewise.
006f1daa
DM
42626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
42627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
42628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
42629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42630 Likewise.
006f1daa
DM
42631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
42633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
42635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
42636 Likewise.
42637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
42638 Likewise.
006f1daa
DM
42639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
42641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
42642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
42643 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42644 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42645 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
42646 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
42647 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42648 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42649 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
42650 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
42651 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
42652 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
42653 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
42654 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
42655 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
42656 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
42657 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
42658 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
42659 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
42660 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
42661 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
42662 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
42663
11e0098e
AS
426642012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42665
42666 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
42667 scaling.
42668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42669
e85b09d0
AJ
426702012-03-15 Andreas Jaeger <aj@suse.de>
42671
42672 [BZ #13852]
42673 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
42674 ieee754/flt-32 implementation for sin, cos and sincos.
42675 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
42676 * sysdeps/i386/fpu/s_cosf.S: Likewise.
42677 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
42678 * sysdeps/i386/fpu/s_sinf.S: Likewise.
42679 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
42680 ieee754/flt-32 implementation for tan.
42681
42682 * math/libm-test.inc (cos_test): Enable some large input tests for
42683 float as well
42684 (sin_test): Likewise.
42685 (sincos_test): Likewise.
42686 (tan_test): Add tests for large input.
42687
42688 * sysdeps/i386/fpu/libm-test-ulps: Update.
42689
81c64153
AJ
426902012-03-15 Andreas Jaeger <aj@suse.de>
42691
42692 [BZ #13658]
42693 * math/libm-test.inc (cos_test): Add more test cases.
42694 (sin_test): Likewise.
42695 (sincos_test): Likewise.
42696
7bbfa5c6
AJ
426972012-03-15 Andreas Jaeger <aj@suse.de>
42698
42699 [BZ #13837]
42700 * math/libm-test.inc (cos_test): Add a test case for large input
42701 value.
42702 (sin_test): Likewise.
42703 (sincos_test): Likewise.
42704
57f41c40
AS
427052012-03-15 Andreas Jaeger <aj@suse.de>
42706 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
42707
42708 [BZ #13658]
0671f479 42709 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
42710 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
42711 * sysdeps/i386/fpu/branred.c: Likewise.
42712 * sysdeps/i386/fpu/dosincos.c: Likewise.
42713 * sysdeps/i386/fpu/mpa.c: Likewise.
42714 * sysdeps/i386/fpu/s_cos.S: Likewise.
42715 * sysdeps/i386/fpu/s_sin.S: Likewise.
42716 * sysdeps/i386/fpu/s_sincos.S: Likewise.
42717 * sysdeps/i386/fpu/sincos32.c: Likewise.
42718
42719 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
42720 Define.
42721 (libc_feupdateenv_53bit): Define.
42722 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
42723 Define.
42724 (libc_feupdateenv_53bit): Define.
42725
42726 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
42727 53 bit (without extend i386 double precision).
42728
42729 * math/libm-test.inc (sincos_test): Add tests for large input.
42730 (sin): Likewise.
42731 (cos): Likewise.
42732
42733 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42734
9cad04ea
AS
427352012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42736
42737 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42738
f7062b9a
DM
427392012-03-15 David S. Miller <davem@davemloft.net>
42740
42741 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
42742 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
42743 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
42744 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
42745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
42746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
42747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
42748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
42749 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
42750 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
42751 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
42752 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
42753 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
42754 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
42755 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
42756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
42757 file.
f7062b9a 42758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
42759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
42760 file.
f7062b9a 42761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
42762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
42763 file.
f7062b9a 42764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
42765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
42766 file.
f7062b9a
DM
42767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
42768 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
42769 fmin/fmax sysdep routines.
42770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42771
7bd951ff
DM
427722012-03-14 David S. Miller <davem@davemloft.net>
42773
559398ab
DM
42774 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
42775 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
42776 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
42777 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
42778 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
42779 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
42780 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
42781 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
42782 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
42783 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
42784 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
42785 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
42786 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
42787 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
42788 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
42789 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
42790 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
42791 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
42792 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
42793 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
42794 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
42795 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
42796 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
42797 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
42798 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
42799 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
42800 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
42801 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
42802 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
42803 routines.
42804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
42805 file.
559398ab 42806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
42807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
42808 file.
559398ab 42809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
42810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
42811 file.
559398ab 42812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
42813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
42814 file.
559398ab 42815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
42816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
42817 file.
559398ab 42818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
42819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
42820 file.
42821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
42822 file.
42823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
42824 file.
42825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
42826 file.
42827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
42828 New file.
42829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
42830 file.
42831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
42832 file.
559398ab 42833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
42834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
42835 file.
559398ab 42836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
42837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
42838 file.
559398ab 42839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
42840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
42841 file.
559398ab 42842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
42843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
42844 VIS3 routines.
559398ab
DM
42845
42846 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42847 New file.
42848
5a1c1e32
DM
42849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42850
eae47a36
DM
42851 * sysdeps/sparc/configure.in: New file.
42852 * sysdeps/sparc/configure: Generate.
42853 * configure.in (libc_cv_sparc_as_vis3): Substitute.
42854 * configure: Regenerate.
42855 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
42856 * config.make.in (have-as-vis3): New.
42857 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
42858 available use -Av9d instead of -Av9a.
42859 * sysdeps/sparc/sparc64/Makefile: Likewise.
42860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
42861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
42862 New file.
42863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
42864 file.
42865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
42866 New file.
42867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
42868 file.
eae47a36
DM
42869 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
42870 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
42871 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
42872 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
42873 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
42874
c0c83bc8
DM
42875 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
42876 fzeros/fnegs to load 0x80000000 into a float register instead of
42877 using the stack.
7bd951ff
DM
42878 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
42879
bd951ccb
JM
428802012-03-14 Joseph Myers <joseph@codesourcery.com>
42881
42882 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42883 bits/syscall.h.
42884 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
42885 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
42886 ($(inst_includedir)/bits/syscall.h): Remove rule.
42887 ($(objpfx)bits/syscall.d): Include instead of
42888 $(objpfx)syscall-list.d.
42889 (generated): Change syscall-list.h and syscall-list.d to
42890 bits/syscall.h and bits/syscall.d.
42891
bb4e6db2
RM
428922012-03-14 Roland McGrath <roland@hack.frob.com>
42893
42894 [BZ #13846]
42895 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
42896
aa4a2ae1
JM
428972012-03-14 Joseph Myers <joseph@codesourcery.com>
42898
e456826d
JM
42899 [BZ #13841]
42900 * math/s_csqrt.c: Include <float.h>.
42901 (__csqrt): Scale large or subnormal inputs.
42902 * math/s_csqrtf.c: Likewise.
42903 * math/s_csqrtl.c: Likewise.
42904 * math/libm-test.inc (csqrt_test): Add more tests.
42905 * sysdeps/i386/fpu/libm-test-ulps: Update.
42906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42907
aa4a2ae1
JM
42908 [BZ #13840]
42909 * math/libm-test.inc (hypot_test): Add more tests.
42910
7c10fd35
DM
429112012-03-13 David S. Miller <davem@davemloft.net>
42912
42913 [BZ #13840]
42914 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42915 double-precision for the calculation instead of scaling.
42916
f453b98b
JM
429172012-03-13 Joseph Myers <joseph@codesourcery.com>
42918
42919 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42920 manipulate bits before adding and subtracting TWO52[sx].
42921 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42922 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42923 Likewise.
42924 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42925
09a3453f
DM
429262012-03-13 David S. Miller <davem@davemloft.net>
42927
8e59da90
DM
42928 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42929 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42930 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42931 rtld-global-offsets.h
42932 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42933
2a8ab7f2
DM
42934 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42935 large parameters.
42936
10f62770
DM
42937 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42938
5f0bdb18
DM
42939 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42940 'err' in the ifdef scope in which it is actually used.
42941
09a3453f
DM
42942 * nss/nss_db/db-init.c: Include string.h
42943
b4b2eb5e
DM
429442012-03-12 David S. Miller <davem@davemloft.net>
42945
98bb2f1c
DM
42946 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42947 masking out of the most significant byte of random value used.
42948 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42949 Fix coding style in previous change.
42950
b4b2eb5e
DM
42951 * sysdeps/unix/sysv/linux/kernel-features.h
42952 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42953 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42954 expression.
42955 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42956 later.
42957
6e226b09
DM
429582012-03-11 David S. Miller <davem@davemloft.net>
42959
a1bcbd40
DM
42960 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42961 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42962 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42963 for 'resultvar' otherwise things get truncated on 64-bit.
42964
cb9d6174
DM
42965 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42966 Fix masking out of the most significant byte of random value used.
42967
6e226b09
DM
42968 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42969
058c132d
AS
429702012-03-10 Andreas Schwab <schwab@linux-m68k.org>
42971
42972 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42973
2d2cd515
DM
429742012-03-09 David S. Miller <davem@davemloft.net>
42975
42976 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42977 variables with appropriate CPP guards.
57f41c40
AS
42978 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42979 from the frame pointer, not the stack pointer. Correct layout
42980 comments. Fix test on resulting framesize and the management of
42981 the outregs buffer for pltexit. Preserve floating point return
42982 values across _dl_call_pltexit call.
2d2cd515
DM
42983 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42984 framesize and the management of the outregs buffer for pltexit.
42985 Preserve floating point return values across _dl_call_pltexit
42986 call.
57f41c40
AS
42987 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42988 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42989 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
42990 (print_exit): Fix format string for return register value.
42991
9a07f9d0
JM
429922012-03-10 Joseph Myers <joseph@codesourcery.com>
42993
42994 * sunrpc/Makefile (others): Add rpcgen.
42995 ($(objpfx)rpcgen): Remove special build rule and dependency on
42996 libc.
42997 * sunrpc/rpcgen.c: New file.
42998
547b5e30
PE
429992012-03-09 Paul Eggert <eggert@cs.ucla.edu>
43000
c524201a
PE
43001 [BZ #13673]
43002 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
43003 * stdio-common/bug-vfprintf-nargs.c: Likewise.
43004 * sysdeps/i386/crti.S: Likewise.
43005 * sysdeps/i386/crtn.S: Likewise.
43006 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
43007 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
43008 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
43009 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
43010 * sysdeps/sh/crti.S: Likewise.
43011 * sysdeps/sh/crtn.S: Likewise.
43012 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43013
7b6235f2
PE
43014 [BZ #13673]
43015 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
43016 with URL.
43017 * locale/programs/locfile-kw.gperf: Likewise.
43018 * locale/programs/charmap-kw.h: Regenerated.
43019 * locale/programs/locfile-kw.h: Likewise.
43020
547b5e30
PE
43021 [BZ #13673]
43022 * intl/plural.y: Replace FSF snail mail address with URL.
43023 * intl/plural.c: Regenerated.
43024
5f0a5dae
RH
430252012-03-09 Richard Henderson <rth@twiddle.net>
43026
43027 * include/math_private.h: Remove file.
43028 * math/math_private.h: Move file ...
43029 * sysdeps/generic/math_private.h: ... here.
43030
b8c03620
RH
43031 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
43032 * sysdeps/powerpc/fpu/math_private.h: Likewise.
43033 * sysdeps/x86_64/fpu/math_private.h: Likewise.
43034
4e234f5d 43035 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
43036 and <math_private.h>.
43037 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43038 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43039 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43040 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43041 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43042 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
43043 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43044 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43045 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43046 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43047 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43048 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43049 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43050 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43051 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43052 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43053 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43054 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43055 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43056 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43057 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43058 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43059 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43060 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43061 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
43062 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43063 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43064 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43065 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43066 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43067 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43068 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43069 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
43070 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43071 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43072 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43073 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43074 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43075 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43076 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43077 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
43078 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43079 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43080 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
43081 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
43082 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43083 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
43084 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
43085 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43086 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43087 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
43088 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
43089 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
43090 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43091 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
43092 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43093 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43094 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43095 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
43096 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
43097 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43098 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
43099 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43100 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43101 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
43102 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43103 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43104 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43105 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
43106 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
43107 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
43108 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43109 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
43110 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43111 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
43112 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
43113 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
43114 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43115 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
43116 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
43117 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
43118 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
43119 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
43120 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43121 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43122 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
43123 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
43124 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
43125 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43126 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43127 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43128 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43129 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43130 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43131 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43132 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43133 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43134 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43135 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43136 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43137 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43138 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43139 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43140 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43141 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43142 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43143 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43144 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43145 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43146 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43147 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43148 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43149 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43150 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43151 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
43152 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43153 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43154 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43155 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43156 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43157 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43158 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43159 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43160 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
43161 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43162 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43163 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43164 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
43165 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43166 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
43167 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
43168 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43169 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43170 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
43171 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
43172 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43173 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43174 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43175 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
43176 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43177 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43178 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43179 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43180 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
43181 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
43182 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43183 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43184 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43185 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
43186 * sysdeps/ieee754/k_standard.c: Likewise.
43187 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43188 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43189 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43190 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43191 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43192 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43193 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43194 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43195 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43196 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43197 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43198 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43199 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43200 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43201 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43202 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43203 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
43204 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43205 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43206 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
43207 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
43208 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
43209 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43210 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43211 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
43212 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
43213 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43214 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43215 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43216 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43217 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
43218 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43219 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43220 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43221 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
43222 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43223 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43224 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
43225 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
43226 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43227 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
43228 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
43229 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
43230 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43231 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
43232 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
43233 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43234 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43235 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43236 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43237 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43238 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
43239 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43240 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
43241 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43242 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43243 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
43244 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
43245 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43246 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43247 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43248 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
43249 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43250 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43251 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43252 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43253 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43254 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43255 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43256 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43257 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43258 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43259 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43260 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43261 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43262 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43263 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
43264 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43265 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43266 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
43267 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
43268 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
43269 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43270 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43271 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
43272 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43273 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43274 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
43275 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43276 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43277 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
43278 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43279 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43280 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
43281 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43282 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43283 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
43284 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43285 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43286 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
43287 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43288 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43289 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43290 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43291 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
43292 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43293 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43294 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43295 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
43296 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43297 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43298 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43299 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43300 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43301 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43302 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43303 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43304 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43305 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43306 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43307 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43308 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43309 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43310 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43311 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43312 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
43313 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43314 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43315 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43316 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43317 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43318 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43319 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43320 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43321 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43322 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43323 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
43324 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43325 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43326 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
43327 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
43328 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43329 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
43330 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
43331 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43332 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43333 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43334 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43335 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43336 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
43337 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43338 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43339 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43340 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43341 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
43342 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
43343 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43344 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43345 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43346 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43347 * sysdeps/ieee754/s_lib_version.c: Likewise.
43348 * sysdeps/ieee754/s_matherr.c: Likewise.
43349 * sysdeps/ieee754/s_signgam.c: Likewise.
43350 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43351 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43352 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
43353 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
43354 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
43355 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
43356 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
43357 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
43358 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
43359 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
43360 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
43361 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
43362 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43363 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43364 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
43365 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
43366 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43367 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
43368 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43369 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43370 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 43371
1991fa03
JM
433722012-03-09 Joseph Myers <joseph@codesourcery.com>
43373
43374 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
43375 * sunrpc/rpc_main.c: Likewise.
43376 * sunrpc/rpc_svcout.c: Likewise.
43377
60d6f5a6
DM
433782012-03-09 David S. Miller <davem@davemloft.net>
43379
43380 * include/math_private.h: New file.
43381
4962050e
JM
433822012-03-09 Joseph Myers <joseph@codesourcery.com>
43383
02a6f887
JM
43384 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
43385 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
43386 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
43387 from <bits/socket_type.h>.
43388 (enum __socket_type): Don't define here.
43389 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
43390 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43391 bits/socket_type.h.
43392
c6e013c1
JM
43393 [BZ #13566]
43394 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
43395 checking __USE_GNU.
43396
4962050e
JM
43397 * Makerules ($(inst_includedir)/%.h): New rule.
43398 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
43399 (install-others): Remove variable setting.
43400 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
43401
38842f45
RH
434022012-03-08 Richard Henderson <rth@twiddle.net>
43403
67bb6da6
RH
43404 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
43405 from macro to inline function; merge with the
43406 !__LIBC_INTERNAL_MATH_INLINES version.
43407 (__ieee754_sqrtf): Likewise.
43408
15194b4b
RH
43409 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
43410 to inline function.
43411 (__rintf, __floor, __floorf): Likewise.
43412
64e21ede
RH
43413 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
43414 macro to inline function.
43415 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
43416
38842f45
RH
43417 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
43418 not <math/math_private.h>.
43419
c64bf5fe
DM
434202012-03-08 David S. Miller <davem@davemloft.net>
43421
43422 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
43423 copyright year.
43424 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
43425
82d86f28
TS
434262012-03-08 Thomas Schwinge <thomas@codesourcery.com>
43427
43428 * resolv/gai_misc.c (handle_requests): Fix struct timespec
43429 normalization.
43430 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
43431 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
43432
aea5d727
UD
434332012-03-08 Ulrich Drepper <drepper@gmail.com>
43434
43435 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
43436 be defined individually, they must be defined as a block. Define
43437 S for printing a string instead of hidint the different by using a
43438 macro for adding the 'l'.
43439 * stdio-common/tst-fphex-wide.c: Adjust.
43440
70bca0a3
MP
434412012-03-07 Marek Polacek <polacek@redhat.com>
43442
43443 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
43444
65b81130
MP
434452012-03-08 Marek Polacek <polacek@redhat.com>
43446
43447 [BZ #13806]
43448 * stdio-common/Makefile (tests): Add tst-fphex-wide.
43449 * stdio-common/tst-fphex.c: Define a few macros to make the
43450 test reusable. Use them.
43451 * stdio-common/tst-fphex-wide.c: New file.
43452
07037eeb
JM
434532012-03-08 Joseph Myers <joseph@codesourcery.com>
43454
a7a93d50
JM
43455 [BZ #6911]
43456 * manual/macros.texi (gnusystems): New macro.
43457 (nongnusystems): Likewise.
43458 (gnulinuxhurdsystems): Likewise.
43459 (gnuhurdsystems): Likewise..
43460 (gnulinuxsystems): Likewise.
43461 * manual/charset.texi: Use new macros or @theglibc{} to refer to
43462 variants of the GNU system, not "GNU system".
43463 * manual/conf.texi: Likewise.
43464 * manual/errno.texi: Likewise. Update example of errno macro
43465 expansion.
43466 * manual/filesys.texi: Likewise.
43467 (getumask): Document as specific to GNU/Hurd.
43468 * manual/install.texi: Likewise. Reword some references to
43469 GNU/Linux.
43470 * manual/intro.texi: Likewise.
43471 * manual/io.texi: Likewise.
43472 (File Name Portability): Detail which constraints are inapplicable
43473 to all GNU systems and which are only inapplicable to GNU/Hurd.
43474 * manual/job.texi: Likewise.
43475 * manual/llio.texi: Likewise.
43476 (O_NOCTTY): Document as present on GNU/Linux.
43477 * manual/maint.texi: Likewise.
43478 * manual/memory.texi: Likewise.
43479 * manual/pattern.texi: Likewise.
43480 * manual/pipe.texi: Likewise.
43481 * manual/process.texi: Likewise.
43482 * manual/resource.texi: Likewise.
43483 (RUSAGE_CHILDREN): Remove statement about specifying a particular
43484 child on GNU/Hurd.
43485 * manual/setjmp.texi: Likewise.
43486 * manual/signal.texi: Likewise.
43487 * manual/startup.texi: Likewise.
43488 * manual/stdio.texi: Likewise.
43489 * manual/terminal.texi: Likewise.
43490 (ONLCR): Document as POSIX.
43491 (OXTABS): Document availability on GNU/Linux as XTABS.
43492 (ONOEOT): Document availability separately from other bits.
43493 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
43494 * manual/time.texi: Likewise.
43495 * manual/users.texi: Likewise.
43496 * INSTALL: Regenerated.
43497 * sysdeps/gnu/errlist.c: Regenerated.
43498
07037eeb
JM
43499 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
43500 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
43501 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
43502 puts.
43503 * configure: Regenerated.
43504
d1d3431a
JM
435052012-03-07 Joseph Myers <joseph@codesourcery.com>
43506
af6a1e37
JM
43507 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
43508 default includes instead of AC_HEADER_CHECK.
43509 * sysdeps/i386/configure: Regenerated.
43510
d1d3431a
JM
43511 [BZ #10716]
43512 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
43513 * math/s_cacoshf.c (__cacoshf): Likewise.
43514 * math/s_cacoshl.c (__cacoshl): Likewise.
43515 * math/s_casinh.c (__casinh): Set signs of result from argument.
43516 * math/s_casinhf.c (__casinhf): Likewise.
43517 * math/s_casinhl.c (__casinhl): Likewise.
43518 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
43519 (casinh_test): Add more tests.
43520 * sysdeps/i386/fpu/libm-test-ulps: Update.
43521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43522
482ff4da
UD
435232012-03-07 Ulrich Drepper <drepper@gmail.com>
43524
872fda05
UD
43525 * po/zh_TW.po: Update from translation team.
43526
a4300c7a
UD
43527 * login/Makefile (distribute): Remove variable.
43528 * catgets/Makefile: Likewise.
43529 * mach/Makefile: Likewise.
43530 * malloc/Makefile: Likewise.
43531 * misc/Makefile: Likewise.
43532 * iconv/Makefile: Likewise.
43533 * nscd/Makefile: Likewise.
43534 * hurd/Makefile: Likewise.
43535 * manual/Makefile: Likewise.
43536 * locale/Makefile: Likewise.
43537 * intl/Makefile: Likewise.
43538 * conform/Makefile: Likewise.
43539 * nss/Makefile: Likewise.
43540 * time/Makefile: Likewise.
43541 * soft-fp/Makefile: Likewise.
43542 * dirent/Makefile: Likewise.
43543 * gmon/Makefile: Likewise.
43544 * po/Makefile: Likewise.
43545 * rt/Makefile: Likewise.
43546 * socket/Makefile: Likewise.
43547 * math/Makefile: Likewise.
43548 * signal/Makefile: Likewise.
43549 * debug/Makefile: Likewise.
43550 * elf/Makefile: Likewise.
43551 * timezone/Makefile: Likewise.
43552 * stdlib/Makefile: Likewise.
43553 * iconvdata/Makefile: Likewise.
43554 * sunrpc/Makefile: Likewise.
43555 * io/Makefile: Likewise.
43556 * argp/Makefile: Likewise.
43557 * inet/Makefile: Likewise.
43558 * hesiod/Makefile: Likewise.
43559 * grp/Makefile: Likewise.
43560 * csu/Makefile: Likewise.
43561 * wctype/Makefile: Likewise.
43562 * crypt/Makefile: Likewise.
43563 * libio/Makefile: Likewise.
43564 * string/Makefile: Likewise.
43565 * nis/Makefile: Likewise.
43566 * resolv/Makefile: Likewise.
43567 * stdio-common/Makefile: Likewise.
43568 * wcsmbs/Makefile: Likewise.
43569 * dlfcn/Makefile: Likewise.
43570 * posix/Makefile: Likewise.
43571
3b7c4e74 43572 [BZ #6959]
482ff4da
UD
43573 * timezone/Makefile: Don't install timezone files, just the programs
43574 and scripts.
43575
f72ed77d
UD
435762012-03-06 Ulrich Drepper <drepper@gmail.com>
43577
a000466f
UD
43578 * nss/databases.def: Add missing gshadow entry.
43579
f72ed77d
UD
43580 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
43581
a53b7a4e
MP
435822012-03-06 Marek Polacek <polacek@redhat.com>
43583
43584 [BZ #13726]
43585 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
43586 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43587 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
43588 * stdio-common/tst-long-dbl-fphex.c: New file.
43589
e9258400
DM
435902012-03-06 David S. Miller <davem@davemloft.net>
43591
43592 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43593 (set_obp_int): New function.
43594 (get_obp_int): New function.
43595 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
43596 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
43597 Avoid unused variable warnings on 'val' and use builtin_expect.
43598 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
43599 __builtin_expect.
e9258400
DM
43600 (INLINE_CLONE_SYSCALL): Likewise.
43601
3bd2c723
DM
436022012-03-05 David S. Miller <davem@davemloft.net>
43603
43604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43605
bbb78d03
AS
436062012-03-05 Andreas Schwab <schwab@linux-m68k.org>
43607
884c5db4
AS
43608 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43609
bbb78d03
AS
43610 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
43611 only for |x| >= 40.
43612 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43613
1c9f702a 436142012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
43615
43616 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
43617 Replace gettimeofday with __vdso_gettimeofday.
43618
7be16f82
RM
43619 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43620 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
43621 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
43622
43623 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
43624 time with __vdso_time.
43625
ed58a00f
JM
436262012-03-05 Joseph Myers <joseph@codesourcery.com>
43627
43628 * manual/lang.texi (size_t): Note types to which size_t may be
43629 equivalent with the GNU C Library, but do not describe when
43630 differences between them are significant.
43631
30ee4ced
AJ
436322012-03-05 Andreas Jaeger <aj@suse.de>
43633
43634 * sysdeps/i386/fpu/libm-test-ulps: Update.
43635
b7cd39e8
JM
436362012-03-05 Joseph Myers <joseph@codesourcery.com>
43637
43638 [BZ #3976]
43639 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
43640 (__ieee754_pow): Save and restore rounding mode and use
43641 round-to-nearest for main computations.
43642 * math/libm-test.inc (pow_test_tonearest): New function.
43643 (pow_test_towardzero): Likewise.
43644 (pow_test_downward): Likewise.
43645 (pow_test_upward): Likewise.
43646 (main): Call the new functions.
43647 * sysdeps/i386/fpu/libm-test-ulps: Update.
43648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
43649
43650 [BZ #3976]
43651 * math/libm-test.inc (cosh_test_tonearest): New function.
43652 (cosh_test_towardzero): Likewise.
43653 (cosh_test_downward): Likewise.
43654 (cosh_test_upward): Likewise.
43655 (sinh_test_tonearest): Likewise.
43656 (sinh_test_towardzero): Likewise.
43657 (sinh_test_downward): Likewise.
43658 (sinh_test_upward): Likewise.
43659 (main): Call the new functions.
43660 * sysdeps/i386/fpu/libm-test-ulps: Update.
43661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43662
6c6a98c9
TV
436632012-03-05 Tom de Vries <tom@codesourcery.com>
43664
43665 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
43666 default stack guard is set in last bytes.
43667 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
43668
21bb2d2e 436692012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 43670
21bb2d2e 43671 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 43672
21bb2d2e
AJ
43673 [BZ #13656]
43674 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
43675 possibly allocate from heap instead of stack.
43676 * stdio-common/bug-vfprintf-nargs.c: New file.
43677 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 43678
c6922934
AS
436792012-03-03 Andreas Schwab <schwab@linux-m68k.org>
43680
43681 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43682
bc957d53
MP
436832012-03-03 Marek Polacek <polacek@redhat.com>
43684
43685 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
43686 * math/math_private.h: Likewise.
43687 * stdlib/tst-strtod.c: Likewise.
43688 * sysdeps/i386/i486/bits/atomic.h: Likewise.
43689 * sysdeps/x86_64/bits/atomic.h: Likewise.
43690
6358490d
DM
436912012-03-02 David S. Miller <davem@davemloft.net>
43692
43693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
43694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
43695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
43696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
43697 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
43698 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
43699 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
43700 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
43701
01ae168d
RM
437022012-03-02 Roland McGrath <roland@hack.frob.com>
43703
d9a17c07
RM
43704 [BZ #13792]
43705 * manual/examples/README: New file, says the example source files
43706 can be used under GPL>=2.
43707 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
43708 line containing just "*/".
43709 * manual/examples/add.c: Add copyright header (GPL>=2).
43710 * manual/examples/argp-ex1.c: Likewise.
43711 * manual/examples/argp-ex2.c: Likewise.
43712 * manual/examples/argp-ex3.c: Likewise.
43713 * manual/examples/argp-ex4.c: Likewise.
43714 * manual/examples/atexit.c: Likewise.
43715 * manual/examples/db.c: Likewise.
43716 * manual/examples/dir.c: Likewise.
43717 * manual/examples/dir2.c: Likewise.
43718 * manual/examples/execinfo.c: Likewise.
43719 * manual/examples/filecli.c: Likewise.
43720 * manual/examples/filesrv.c: Likewise.
43721 * manual/examples/fmtmsgexpl.c: Likewise.
43722 * manual/examples/genpass.c: Likewise.
43723 * manual/examples/inetcli.c: Likewise.
43724 * manual/examples/inetsrv.c: Likewise.
43725 * manual/examples/isockad.c: Likewise.
43726 * manual/examples/longopt.c: Likewise.
43727 * manual/examples/memopen.c: Likewise.
43728 * manual/examples/memstrm.c: Likewise.
43729 * manual/examples/mkfsock.c: Likewise.
43730 * manual/examples/mkisock.c: Likewise.
43731 * manual/examples/mygetpass.c: Likewise.
43732 * manual/examples/pipe.c: Likewise.
43733 * manual/examples/popen.c: Likewise.
43734 * manual/examples/rprintf.c: Likewise.
43735 * manual/examples/search.c: Likewise.
43736 * manual/examples/select.c: Likewise.
43737 * manual/examples/setjmp.c: Likewise.
43738 * manual/examples/sigh1.c: Likewise.
43739 * manual/examples/sigusr.c: Likewise.
43740 * manual/examples/stpcpy.c: Likewise.
43741 * manual/examples/strdupa.c: Likewise.
43742 * manual/examples/strftim.c: Likewise.
43743 * manual/examples/strncat.c: Likewise.
43744 * manual/examples/subopt.c: Likewise.
43745 * manual/examples/swapcontext.c: Likewise.
43746 * manual/examples/termios.c: Likewise.
43747 * manual/examples/testopt.c: Likewise.
43748 * manual/examples/testpass.c: Likewise.
43749 * manual/examples/timeval_subtract.c: Likewise.
43750
01ae168d
RM
43751 [BZ #13792]
43752 * manual/time.texi (Elapsed Time): Move timeval_subtract example
43753 function to ...
43754 * manual/timeval_subtract.c.texi: ... here, new file.
43755
49efa33d
DM
437562012-03-02 David S. Miller <davem@davemloft.net>
43757
43758 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
43759
28afd92d
JM
437602012-03-02 Joseph Myers <joseph@codesourcery.com>
43761
804360ed
JM
43762 [BZ #3976]
43763 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
43764 (__sin): Save and restore rounding mode and use round-to-nearest
43765 for all computations.
43766 (__cos): Save and restore rounding mode and use round-to-nearest
43767 for all computations.
43768 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
43769 <fenv.h>.
43770 (tan): Save and restore rounding mode and use round-to-nearest for
43771 all computations.
43772 * math/libm-test.inc (cos_test_tonearest): New function.
43773 (cos_test_towardzero): Likewise.
43774 (cos_test_downward): Likewise.
43775 (cos_test_upward): Likewise.
43776 (sin_test_tonearest): Likewise.
43777 (sin_test_towardzero): Likewise.
43778 (sin_test_downward): Likewise.
43779 (sin_test_upward): Likewise.
43780 (tan_test_tonearest): Likewise.
43781 (tan_test_towardzero): Likewise.
43782 (tan_test_downward): Likewise.
43783 (tan_test_upward): Likewise.
43784 (main): Call the new functions.
43785 * sysdeps/i386/fpu/libm-test-ulps: Update.
43786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43787
a6d06d7b
JM
43788 [BZ #10135]
43789 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
43790 small n, then large n, before computing and testing k+n.
43791 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43792 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
43793 Likewise.
43794 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
43795 Likewise.
43796 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
43797 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
43798 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
43799 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
43800 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43801 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43802 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
43803 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
43804 * math/libm-test.inc (scalbn_test): Add more tests.
43805 (scalbln_test): Likewise.
43806
07e12bb3
JM
43807 * manual/filesys.texi (mode_t): Describe constraints on size and
43808 signedness, not exact equivalence to a particular type.
43809 (ino_t): Likewise.
43810 (ino64_t): Likewise.
43811 (dev_t): Likewise.
43812 (nlink_t): Likewise.
43813 (blkcnt_t): Likewise.
43814 (blkcnt64_t): Likewise.
43815 * manual/llio.texi (off_t): Likewise.
43816
28afd92d
JM
43817 [BZ #3976]
43818 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
43819 (__ieee754_exp): Save and restore rounding mode and use
43820 round-to-nearest for all computations.
43821 * math/libm-test.inc (exp_test_tonearest): New function.
43822 (exp_test_towardzero): Likewise.
43823 (exp_test_downward): Likewise.
43824 (exp_test_upward): Likewise.
43825 (main): Call the new functions.
43826 * sysdeps/i386/fpu/libm-test-ulps: Update.
43827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43828
b1eeb65d
CD
438292012-03-01 Chris Demetriou <cgd@google.com>
43830
43831 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
43832 have predictable order.
43833
53362a4b
DM
438342012-03-01 David S. Miller <davem@davemloft.net>
43835
3c969083
DM
43836 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
43837
759707de
DM
43838 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
43839 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
43840 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
43841 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
43842
dfdb8ff2
DM
43843 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
43844 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
43845 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
43846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
43847 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
43848 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
43849 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
43850 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
43851 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
43852
ead89f96
DM
43853 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43854
7f66bd07
DM
43855 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
43856 * sysdeps/sparc/fpu/libm-test-ulps: to here.
43857 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
43858
53362a4b
DM
43859 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
43860 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43861 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43862 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
43863 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
43864 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
43865 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
43866 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43867 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43868 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
43869 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
43870 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43871 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43872 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43873 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43874 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43875 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
43876 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
43877 * sysdeps/sparc/elf/configure: Regenerated.
43878
7b1902cb
JM
438792012-03-01 Joseph Myers <joseph@codesourcery.com>
43880
bec039bc
JM
43881 * configure.in (AS, LD): Require binutils 2.20 or later.
43882 * configure: Regenerated.
43883 * manual/install.texi (Tools for Compilation): Give binutils 2.20
43884 as required minimum version.
43885 * INSTALL: Regenerated.
43886
7b1902cb
JM
43887 [BZ #2541]
43888 [BZ #4108]
43889 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
43890 before squaring exponent.
43891 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
43892 bottom long double and 27 bits of top long double before squaring
43893 exponent.
43894 * math/libm-test.inc (erfc_test): Add more tests.
43895 * sysdeps/i386/fpu/libm-test-ulps: Update.
43896 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43898
f775c276
KT
438992012-03-01 Kai Tietz <ktietz@redhat.com>
43900
43901 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
43902 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
43903 containing bit-fields.
43904 * soft-fp/extended.h (_FP_UNION_E): Likewise.
43905 * soft-fp/single.h (_FP_UNION_S): Likewise.
43906 * soft-fp/double.h (_FP_UNION_D): Likewise.
43907
5b8a4d4a
JM
439082012-02-29 Joseph Myers <joseph@codesourcery.com>
43909
0bab47b6
JM
43910 [BZ #13786]
43911 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43912 not include ../strcmp.S.
43913 [USE_AS_STRNCASECMP_L]: Likewise.
43914 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43915 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43916 * sysdeps/i386/i686/multiarch/strncase_l-c.c
43917 (__strncasecmp_l_ia32): Define as alias to
43918 __strncasecmp_l_nonascii.
43919
0fcad3e2
JM
43920 [BZ #5794]
43921 * math/libm-test.inc (expm1_test): Add test for bug 5794.
43922 * sysdeps/i386/fpu/libm-test-ulps: Update.
43923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43924
5b8a4d4a
JM
43925 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43927
8fdceb2e
JL
439282012-02-29 Jeff Law <law@redhat.com>
43929
43930 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43931 out of bounds read.
43932
1f393a11
MP
439332012-02-29 Marek Polacek <polacek@redhat.com>
43934
43935 [BZ #13706]
43936 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43937 * elf/Makefile: Add rules to run tst-unused-dep.out.
43938
8847f037
DM
439392012-02-28 David S. Miller <davem@davemloft.net>
43940
43941 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43942 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43943 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43944 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43945 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43946 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43947
169d7f11
JM
439482012-02-29 Joseph Myers <joseph@codesourcery.com>
43949
43950 * math/libm-test.inc (llround_test): Move one test from
43951 lround_test. Use TEST_f_L in moved test.
43952 (lround_test): Move misplaced test to llround_test. Add testcase
43953 from bug 2561.
43954
39adf059
UD
439552012-02-28 Ulrich Drepper <drepper@gmail.com>
43956
43957 * sysdeps/x86_64/fpu/e_expf.S: New file.
43958 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43959
71b5d1c5
SB
439602012-02-28 Stanislav Brabec <sbrabec@suse.cz>
43961
43962 [BZ #13637]
43963 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43964 of remain_len that may cause incomplete multi-byte character and
43965 false match.
43966 * posix/bug-regex33.c: New file.
43967 * posix/Makefile (tests): Add bug-regex33.
43968
1f77f049
JM
439692012-02-28 Joseph Myers <joseph@codesourcery.com>
43970
43971 * manual/macros.texi: New file.
43972 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43973 * manual/libc.texinfo: Include macros.texi.
43974 * manual/creatute.texi: Likewise.
43975 * manual/install.texi: Likewise.
43976 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43977 @glibcadj{} in references to the GNU C Library.
43978 * manual/charset.texi: Likewise.
43979 * manual/conf.texi: Likewise.
43980 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
43981 when not using those macros.
43982 * manual/creature.texi: Likewise.
43983 * manual/crypt.texi: Likewise.
43984 * manual/errno.texi: Likewise.
43985 * manual/filesys.texi: Likewise.
43986 * manual/header.texi: Likewise.
43987 * manual/install.texi: Likewise.
43988 * manual/intro.texi: Likewise.
43989 * manual/io.texi: Likewise.
43990 * manual/job.texi: Likewise.
43991 * manual/lang.texi: Likewise.
43992 * manual/libc.texiinfo: Likewise.
43993 * manual/llio.texi: Likewise.
43994 * manual/locale.texi: Likewise.
43995 * manual/maint.texi: Likewise.
43996 * manual/math.texi: Likewise.
43997 * manual/memory.texi: Likewise.
43998 * manual/message.texi: Likewise.
43999 * manual/nss.texi: Likewise.
44000 * manual/pattern.texi: Likewise.
44001 * manual/process.texi: Likewise.
44002 * manual/resource.texi: Likewise.
44003 * manual/search.texi: Likewise.
44004 * manual/setjmp.texi: Likewise.
44005 * manual/signal.texi: Likewise.
44006 * manual/socket.texi: Likewise.
44007 * manual/startup.texi: Likewise.
44008 * manual/stdio.texi: Likewise.
44009 * manual/string.texi: Likewise.
44010 * manual/sysinfo.texi: Likewise.
44011 * manual/syslog.texi: Likewise.
44012 * manual/terminal.texi: Likewise.
44013 * manual/time.texi: Likewise.
44014 * manual/users.texi: Likewise.
44015 * INSTALL: Regenerated.
44016 * NOTES: Regenerated.
d40c5d54 44017 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 44018
450bf206
AS
440192012-02-28 Andreas Schwab <schwab@linux-m68k.org>
44020
44021 * include/dirent.h: Include <dirstream.h> before
44022 <dirent/dirent.h>.
44023
741a235b
DM
440242012-02-28 David S. Miller <davem@davemloft.net>
44025
44026 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
44027 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
44028 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
44029 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
44030
d6b5aa58
DM
440312012-02-27 David S. Miller <davem@davemloft.net>
44032
1aff59a3
DM
44033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
44034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
44035 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
44036 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
44037
d6b5aa58
DM
44038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
44039 frame pointer instead of stack pointer relative arg slot.
44040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
44041 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
44042 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
44043
433f48bf
CD
440442012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
44045
44046 [BZ #3992]
44047 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
44048
d674b76d
DM
440492012-02-27 David S. Miller <davem@davemloft.net>
44050
44051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
44052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
44053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
44055 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
44056 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
44057 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
44058 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
44059
0e7727f7
JM
440602012-02-27 Joseph Myers <joseph@codesourcery.com>
44061
44062 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
44063 later. Allow versions 5-9.
43be4ca2 44064 * configure: Regenerated.
0e7727f7
JM
44065 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
44066 required minimum version and 4.6 as recommended version. Do not
44067 mention bugs in GCC 2.7 and 2.8.
43be4ca2 44068 * INSTALL: Regenerated.
0e7727f7 44069
a78bc654
DM
440702012-02-27 David S. Miller <davem@davemloft.net>
44071
428d5830
DM
44072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
44073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
44074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
44075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
44076 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
44077 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
44078 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
44079 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
44080
a78bc654
DM
44081 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
44082 manipulate bits before adding and subtracting TWO112[sx].
44083 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
44084
4579f81c
RM
440852012-02-27 Roland McGrath <roland@hack.frob.com>
44086
36c8acb4
RM
44087 [BZ #13775]
44088 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
44089 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
44090 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
44091 being in POSIX, because they are in 1003.1-2008.
44092
84ad622b
RM
44093 * rt/tst-aio.c: Include <fcntl.h>.
44094 * rt/tst-aio7.c: Likewise.
44095 * rt/tst-aio64.c: Likewise.
44096
4579f81c
RM
44097 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
44098
abd923db
JM
440992012-02-27 Joseph Myers <joseph@codesourcery.com>
44100
44101 * manual/install.texi (--with-headers): Describe headers as
44102 interface headers, not private headers.
44103 (Specific advice for GNU/Linux systems): Describe use of headers
44104 from "make headers_install", not private headers from older
44105 kernels.
43be4ca2 44106 * INSTALL: Regenerated.
abd923db
JM
44107 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
44108 Change to 2.6.19.
44109 * sysdeps/unix/sysv/linux/configure: Regenerated.
44110
6664049b
JM
44111 * manual/llio.texi (fclean): Remove documentation.
44112
bb8b6697
JM
44113 * manual/Makefile (libc-texi-generated): New variable. Include
44114 version.texi.
44115 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
44116 $(libc-texi-generated), not duplicated list of files.
44117 (version.texi, stamp-version): New rules.
44118 (realclean): Remove $(libc-texi-generated), not individual files
44119 from that list. Do not remove dir-add.texinfo.
44120 * manual/libc.texinfo: Comment out uses of edition numbers and
44121 references to printed manual. Remove last-updated dates.
44122 (EDITION): Comment out.
44123 (ISBN): Likewise.
44124 (VERSION, UPDATED): Remove.
44125 (version.texi): Include.
44126
12e5c3b9
AS
441272012-02-27 Andreas Schwab <schwab@linux-m68k.org>
44128
44129 * sysdeps/posix/spawni.c: Include <signal.h>.
44130 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
44131 * sysdeps/pthread/aio_fsync.c: Likewise.
44132
4efeffc1 441332012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 44134
ba63ba08
UD
44135 * conform/Makefile (tests): Run only when not cross-compiling and
44136 when fast-check is not defined.
44137
d94a4670
UD
44138 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
44139 * conform/data/limits.h-data: Fixes for POSIX2008.
44140 * conform/run-conformtest.sh: Run all tests.
44141 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
44142 headers.
44143 * include/bits/dlfcn.h: Likewise.
44144 * include/langinfo.h: Likewise.
44145 * include/monetary.h: Likewise.
44146 * include/sys/poll.h: Likewise.
44147
44148 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
44149 for __USE_GNU.
44150 * posix/spawn.h: Define __need_sigset_t.
44151 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
44152 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
44153 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
44154 to get sigevent_t only.
44155 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
44156 only for __USE_GNU.
44157 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44158 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44159 process_vm_writev only for __USE_GNU.
44160 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
44161
44162 * conform/Makefile: For now ignore errors from run-conformtest.
44163 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
44164 POSIX to avoid namespace pollution. Don't prepend headers.
44165 * conform/data/aio.h-data: Fixes for POSIX testing.
44166 * conform/data/fcntl.h-data: Likewise.
44167 * conform/data/glob.h-data: Likewise.
44168 * conform/data/grp.h-data: Likewise.
44169 * conform/data/pthread.h-data: Likewise.
44170 * conform/data/pwd.h-data: Likewise.
44171 * conform/data/signal.h-data: Likewise.
44172 * conform/data/spawn.h-data: Likewise.
44173 * conform/data/stdio.h-data: Likewise.
44174 * conform/data/stdlib.h-data: Likewise.
44175 * conform/data/stropts.h-data: Likewise.
44176 * conform/data/sys/mman.h-data: Likewise.
44177 * conform/data/sys/stat.h-data: Likewise.
44178 * conform/data/sys/types.h-data: Likewise.
44179 * conform/data/sys/wait.h-data: Likewise.
44180 * conform/data/time.h-data: Likewise.
44181 * conform/data/unistd.h-data: Likewise.
44182 * conform/data/utime.h-data: Likewise.
44183
44184 * io/sys/stat.h: fchmod was always in POSIX.
44185 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
44186 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
44187 * rt/aio.h: Define __need_timespec before including <time.h>.
44188 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
44189 struct. Add forward declaration of pthread_attr_t and use it in
44190 sigevent.
44191 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44192 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44193 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
44194 always remove CLK_TCK definition.
44195
c20105c3
AS
441962012-02-26 Andreas Schwab <schwab@linux-m68k.org>
44197
44198 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
44199
7a270350
UD
442002012-02-25 Ulrich Drepper <drepper@gmail.com>
44201
31341567
UD
44202 * conform/run-conformtest.sh: New file.
44203 * conform/Makefile: Run run-conformtest for tests.
44204 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
44205 support.
44206
44207 * conform/data/uchar.h-data: New file.
44208 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
44209 * conform/data/arpa/inet.h-data: Likewise.
44210 * conform/data/assert.h-data: Likewise.
44211 * conform/data/complex.h-data: Likewise.
44212 * conform/data/cpio.h-data: Likewise.
44213 * conform/data/ctype.h-data: Likewise.
44214 * conform/data/dirent.h-data: Likewise.
44215 * conform/data/dlfcn.h-data: Likewise.
44216 * conform/data/errno.h-data: Likewise.
44217 * conform/data/fcntl.h-data: Likewise.
44218 * conform/data/float.h-data: Likewise.
44219 * conform/data/fmtmsg.h-data: Likewise.
44220 * conform/data/fnmatch.h-data: Likewise.
44221 * conform/data/ftw.h-data: Likewise.
44222 * conform/data/glob.h-data: Likewise.
44223 * conform/data/grp.h-data: Likewise.
44224 * conform/data/iconv.h-data: Likewise.
44225 * conform/data/inttypes.h-data: Likewise.
44226 * conform/data/langinfo.h-data: Likewise.
44227 * conform/data/libgen.h-data: Likewise.
44228 * conform/data/limits.h-data: Likewise.
44229 * conform/data/locale.h-data: Likewise.
44230 * conform/data/math.h-data: Likewise.
44231 * conform/data/monetary.h-data: Likewise.
44232 * conform/data/mqueue.h-data: Likewise.
44233 * conform/data/ndbm.h-data: Likewise.
44234 * conform/data/net/if.h-data: Likewise.
44235 * conform/data/netdb.h-data: Likewise.
44236 * conform/data/netinet/in.h-data: Likewise.
44237 * conform/data/nl_types.h-data: Likewise.
44238 * conform/data/poll.h-data: Likewise.
44239 * conform/data/pthread.h-data: Likewise.
44240 * conform/data/pwd.h-data: Likewise.
44241 * conform/data/regex.h-data: Likewise.
44242 * conform/data/sched.h-data: Likewise.
44243 * conform/data/search.h-data: Likewise.
44244 * conform/data/semaphore.h-data: Likewise.
44245 * conform/data/setjmp.h-data: Likewise.
44246 * conform/data/signal.h-data: Likewise.
44247 * conform/data/spawn.h-data: Likewise.
44248 * conform/data/stdarg.h-data: Likewise.
44249 * conform/data/stdio.h-data: Likewise.
44250 * conform/data/stdlib.h-data: Likewise.
44251 * conform/data/string.h-data: Likewise.
44252 * conform/data/strings.h-data: Likewise.
44253 * conform/data/stropts.h-data: Likewise.
44254 * conform/data/sys/ipc.h-data: Likewise.
44255 * conform/data/sys/mman.h-data: Likewise.
44256 * conform/data/sys/msg.h-data: Likewise.
44257 * conform/data/sys/resource.h-data: Likewise.
44258 * conform/data/sys/select.h-data: Likewise.
44259 * conform/data/sys/sem.h-data: Likewise.
44260 * conform/data/sys/shm.h-data: Likewise.
44261 * conform/data/sys/socket.h-data: Likewise.
44262 * conform/data/sys/stat.h-data: Likewise.
44263 * conform/data/sys/statvfs.h-data: Likewise.
44264 * conform/data/sys/time.h-data: Likewise.
44265 * conform/data/sys/timeb.h-data: Likewise.
44266 * conform/data/sys/times.h-data: Likewise.
44267 * conform/data/sys/types.h-data: Likewise.
44268 * conform/data/sys/uio.h-data: Likewise.
44269 * conform/data/sys/un.h-data: Likewise.
44270 * conform/data/sys/utsname.h-data: Likewise.
44271 * conform/data/sys/wait.h-data: Likewise.
44272 * conform/data/syslog.h-data: Likewise.
44273 * conform/data/tar.h-data: Likewise.
44274 * conform/data/termios.h-data: Likewise.
44275 * conform/data/utime.h-data: Likewise.
44276 * conform/data/utmpx.h-data: Likewise.
44277 * conform/data/varargs.h-data: Likewise.
44278 * conform/data/wchar.h-data: Likewise.
44279 * conform/data/wctype.h-data: Likewise.
44280 * conform/data/wordexp.h-data: Likewise.
44281
44282 * include/stropts.h: New file.
44283 * include/uchar.h: New file.
44284 * include/aio.h: Changes to allow conformtest.pl to use the headers.
44285 * include/assert.h: Likewise.
44286 * include/ctype.h: Likewise.
44287 * include/dirent.h: Likewise.
44288 * include/dlfcn.h: Likewise.
44289 * include/fcntl.h: Likewise.
44290 * include/fnmatch.h: Likewise.
44291 * include/glob.h: Likewise.
44292 * include/grp.h: Likewise.
44293 * include/libio.h: Likewise.
44294 * include/locale.h: Likewise.
44295 * include/math.h: Likewise.
44296 * include/net/if.h: Likewise.
44297 * include/netdb.h: Likewise.
44298 * include/netinet/in.h: Likewise.
44299 * include/pthread.h: Likewise.
44300 * include/pwd.h: Likewise.
44301 * include/regex.h: Likewise.
44302 * include/sched.h: Likewise.
44303 * include/search.h: Likewise.
44304 * include/setjmp.h: Likewise.
44305 * include/signal.h: Likewise.
44306 * include/stdio.h: Likewise.
44307 * include/stdlib.h: Likewise.
44308 * include/string.h: Likewise.
44309 * include/sys/cdefs.h: Likewise.
44310 * include/sys/mman.h: Likewise.
44311 * include/sys/msg.h: Likewise.
44312 * include/sys/resource.h: Likewise.
44313 * include/sys/select.h: Likewise.
44314 * include/sys/socket.h: Likewise.
44315 * include/sys/stat.h: Likewise.
44316 * include/sys/statvfs.h: Likewise.
44317 * include/sys/time.h: Likewise.
44318 * include/sys/times.h: Likewise.
44319 * include/sys/uio.h: Likewise.
44320 * include/sys/utsname.h: Likewise.
44321 * include/sys/wait.h: Likewise.
44322 * include/termios.h: Likewise.
44323 * include/time.h: Likewise.
44324 * include/ulimit.h: Likewise.
44325 * include/unistd.h: Likewise.
44326 * include/utime.h: Likewise.
44327 * include/wchar.h: Likewise.
44328 * include/wctype.h: Likewise.
44329 * include/wordexp.h: Likewise.
44330
44331 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
44332
7a270350
UD
44333 * time/time.h: TIME_UTC must be a macro.
44334 Make timespec_get available for ISO C11 only as well.
44335
7724defc
UD
443362012-02-24 Ulrich Drepper <drepper@gmail.com>
44337
44338 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
44339 Reported by Peng Haitao <penght@cn.fujitsu.com>.
44340
6b1d1d46
JM
443412012-02-24 Joseph Myers <joseph@codesourcery.com>
44342
44343 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 44344
0f8bbd69
JM
443452012-02-24 Joseph Myers <joseph@codesourcery.com>
44346
44347 * manual/texinfo.tex: Update to version 2012-01-19.16.
44348
66ab80bc
JM
443492012-02-24 Joseph Myers <joseph@codesourcery.com>
44350
44351 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
44352
74981cc5
RM
443532012-02-24 Roland McGrath <roland@hack.frob.com>
44354
ee968201
RM
44355 [BZ #13738]
44356 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
44357 * manual/fdl-1.3.texi: New file.
44358 * manual/fdl-1.1.texi: File removed.
44359
74981cc5
RM
44360 [BZ #13738]
44361 * manual/libc.texinfo (FDL_VERSION): New @set.
44362 Use it for mention of FDL in cover text.
44363 (Documentation License): Use it in @include file name.
44364
7bb764bc
JM
443652012-02-22 Joseph Myers <joseph@codesourcery.com>
44366 Roland McGrath <roland@hack.frob.com>
44367
44368 [BZ #5461]
57f41c40
AS
44369 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
44370 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
44371 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
44372 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
44373 name.
44374 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
44375
6cbeae47
JM
443762012-02-22 Joseph Myers <joseph@codesourcery.com>
44377
44378 [BZ #2547]
44379 [BZ #11365]
44380 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
44381 manipulate bits before adding and subtracting TWO23[sx].
44382 * math/libm-test.inc (nearbyint_test): Add more tests.
44383
fe45ce09
JM
443842012-02-22 Joseph Myers <joseph@codesourcery.com>
44385
44386 [BZ #2548]
44387 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
44388 bits before adding and subtracting TWO23[sx].
44389 * math/libm-test.inc (rint_test): Add more tests.
44390 (rint_test_tonearest): Likewise.
44391 (rint_test_towardzero): Likewise.
44392 (rint_test_downward): Likewise.
44393 (rint_test_upward: Likewise.
44394
ff3b3d82
JM
443952012-02-22 Joseph Myers <joseph@codesourcery.com>
44396
44397 [BZ #10110]
44398 * include/stdc-predef.h: New file. Extracted from features.h.
44399 * include/features.h: Include stdc-predef.h.
44400 * Makefile (headers): Add stdc-predef.h.
44401 * CONFORMANCE (Compiler limitations): Update.
44402
ef0aab35
JM
444032012-02-22 Joseph Myers <joseph@codesourcery.com>
44404
44405 * manual/libc.texinfo (VERSION, UPDATED): Revert.
44406
58639409
DM
444072012-02-21 David S. Miller <davem@davemloft.net>
44408
44409 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
44410 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44411
c0e70b25
DM
444122012-02-20 David S. Miller <davem@davemloft.net>
44413
44414 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
44415 using a normal save/restore sequence, rather than allocating a
44416 dummy stack frame just to store a frame pointer and restore.
44417 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44418
fb06851d
JM
444192012-02-21 Joseph Myers <joseph@codesourcery.com>
44420
44421 * manual/install.texi: Fix stray word in line-wrapped comment.
44422
7a8b71c3
DM
444232012-02-20 David S. Miller <davem@davemloft.net>
44424
d510c123
DM
44425 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
44426 both binutils and gcc support GOTDATA.
44427
0722d7c2
DM
44428 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
44429 "rd %pc" in the PIC register setup sequences.
44430
3d2b3019
DM
44431 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
44432 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44433 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44434 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44435 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44436 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44437 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44438 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44439 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
44440 (SYSCALL_ERROR_HANDLER): Likewise.
44441 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44442 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44443 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
44444 (SYSCALL_ERROR_HANDLER): Likewise.
44445
c80098a9
DM
44446 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
44447 (HAVE_GCC_GOTDATA): New.
44448 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
44449 relocation support in both binutils and gcc.
44450 * sysdeps/sparc/elf/configure: Regenerate.
44451
3a2545a0
DM
44452 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
44453 * sysdeps/sparc/sparc32/elf/configure: Delete.
44454 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
44455 * sysdeps/sparc/sparc64/elf/configure: Delete.
44456 * sysdeps/sparc/elf/configure.in: New file.
44457 * sysdeps/sparc/elf/configure: Generate.
44458
7a8b71c3
DM
44459 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
44460 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
44461 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44462 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
44463 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
44464
f1e86fca
JM
444652012-02-21 Joseph Myers <joseph@codesourcery.com>
44466
44467 * manual/install.texi: Do not mention specific glibc version
44468 numbers.
44469 * manual/libc.texinfo (VERSION, UPDATED): Update.
44470 (@copying): Use @copyright{} and range of years.
44471
0e7dfaef
JM
444722012-02-21 Joseph Myers <joseph@codesourcery.com>
44473
44474 [BZ #13695]
44475 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
44476 [crti.S not in sysdirs] (generated): Do not append.
44477 [crti.S not in sysdirs] (omit-deps): Likewise.
44478 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
44479 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
44480 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
44481 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
44482 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
44483 Likewise.
44484 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
44485 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
44486 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
44487 * csu/defs.awk: Remove file.
44488 * sysdeps/generic/initfini.c: Likewise.
44489 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
44490 variable.
44491 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
44492 Likewise.
44493
599af3ca
JM
444942012-02-20 Joseph Myers <joseph@codesourcery.com>
44495
44496 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
44497 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
44498 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
44499 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
44500 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44501 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
44502 <bits/epoll.h>.
44503 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
44504 (__EPOLL_PACKED): Define to empty if not defined by
44505 <bits/epoll.h>.
44506 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
44507 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44508 bits/epoll.h.
44509
0e499750
JM
445102012-02-20 Joseph Myers <joseph@codesourcery.com>
44511
44512 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
44513 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
44514 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
44515 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
44516 <bits/timerfd.h>.
44517 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
44518 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44519 bits/timerfd.h.
44520
5ad91f6e
JM
445212012-02-20 Joseph Myers <joseph@codesourcery.com>
44522
44523 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
44524 in C locale.
44525 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44526 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44527 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
44528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44529
06b99b02
AJ
445302012-02-20 Aurelien Jarno <aurelien@aurel32.net>
44531
44532 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44533 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44534
7638c0fd
AS
445352012-02-19 Andreas Schwab <schwab@linux-m68k.org>
44536
44537 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
44538 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
44539 defined.
44540 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
44541 Likewise.
44542 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
44543 entry for 2.16.
44544
92221550
AJ
445452012-02-19 Aurelien Jarno <aurelien@aurel32.net>
44546
44547 * math/w_acos.c: Use non-signaling floating-point comparisons.
44548 * math/w_acosf.c: Likewise.
44549 * math/w_acosh.c: Likewise.
44550 * math/w_acoshf.c: Likewise.
44551 * math/w_acoshl.c: Likewise.
44552 * math/w_acosl.c: Likewise.
44553 * math/w_asin.c: Likewise.
44554 * math/w_asinf.c: Likewise.
44555 * math/w_asinl.c: Likewise.
44556 * math/w_atanh.c: Likewise.
44557 * math/w_atanhf.c: Likewise.
44558 * math/w_atanhl.c: Likewise.
44559 * math/w_exp2.c: Likewise.
44560 * math/w_exp2f.c: Likewise.
44561 * math/w_exp2l.c: Likewise.
44562 * math/w_j0.c: Likewise.
44563 * math/w_j0f.c: Likewise.
44564 * math/w_j0l.c: Likewise.
44565 * math/w_j1.c: Likewise.
44566 * math/w_j1f.c: Likewise.
44567 * math/w_j1l.c: Likewise.
44568 * math/w_jn.c: Likewise.
44569 * math/w_jnf.c: Likewise.
44570 * math/w_log.c: Likewise.
44571 * math/w_log10.c: Likewise.
44572 * math/w_log10f.c: Likewise.
44573 * math/w_log10l.c: Likewise.
44574 * math/w_log2.c: Likewise.
44575 * math/w_log2f.c: Likewise.
44576 * math/w_log2l.c: Likewise.
44577 * math/w_logf.c: Likewise.
44578 * math/w_logl.c: Likewise.
44579 * math/w_sqrt.c: Likewise.
44580 * math/w_sqrtf.c: Likewise.
44581 * math/w_sqrtl.c: Likewise.
44582 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44583 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
44584 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44585 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44586 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44587
ebaf36eb
JM
445882012-02-19 Joseph Myers <joseph@codesourcery.com>
44589
44590 [BZ #9739]
44591 * manual/string.texi (strnlen): Use correct parameter name in
44592 equivalent expression.
44593
71c254a6
JM
445942012-02-19 Joseph Myers <joseph@codesourcery.com>
44595
44596 [BZ #11174]
44597 * manual/users.texi (seteuid): Consistently use neweuid for
44598 argument name.
44599
16d2c631
JM
446002012-02-19 Joseph Myers <joseph@codesourcery.com>
44601
44602 [BZ #13704]
44603 * manual/nss.texi (Services in the NSS configuration): Correct
44604 list of services in example configuration file.
44605
cd837b09
NB
446062012-02-19 Nick Bowler <nbowler@draconx.ca>
44607
44608 [BZ #11322]
44609 * manual/arith.texi: Remove statements about negative zero
44610 behaving identically to zero.
44611
02c4bbad
JM
446122012-02-18 Joseph Myers <joseph@codesourcery.com>
44613
44614 [BZ #5993]
44615 * manual/install.texi: Do not document upgrading from libc5.
44616
366842e7
JM
446172012-02-18 Joseph Myers <joseph@codesourcery.com>
44618
44619 [BZ #4596]
44620 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
44621
dd54084d
DM
446222012-02-18 David S. Miller <davem@davemloft.net>
44623
44624 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
44625 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
44626 %o7 across the call.
44627 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
44628 instead.
44629 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
44630 SETUP_PIC_REG_LEAF.
44631 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44632 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
44633 * sysdeps/sparc/crtn.S: Likewise.
44634
2bcc53a3
UD
446352012-02-17 Ulrich Drepper <drepper@gmail.com>
44636
44637 * aout/Makefile: Remove.
44638
09c093b5
RK
446392012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
44640
44641 [BZ #13058]
44642 * manual/examples/argp-ex1.c (main): Format definition in GNU
44643 style.
44644 * manual/examples/argp-ex2.c (main): Likewise.
44645 * manual/examples/argp-ex3.c (main): Likewise.
44646 * manual/examples/argp-ex4.c (main): Likewise.
44647 * manual/examples/longopt.c (main): Use new-style prototype
44648 definition.
44649 * manual/examples/strncat.c (main): Specify return type and use
44650 (void) for arguments.
44651 * manual/examples/subopt.c (main): Use char **argv argument.
44652
2ee633a2
JM
446532012-02-17 Joseph Myers <joseph@codesourcery.com>
44654
44655 [BZ #5077]
44656 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
44657 rounding modes.
44658
0520adde
FB
446592012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
44660
44661 [BZ #6907]
44662 * manual/string.texi (strchr): Change when strchrnul is
44663 recommended.
44664
3f4081cd
DGM
446652012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
44666
44667 [BZ #174]
44668 * manual/locale.texi (setlocale): Document LOCPATH.
44669
d1b10e78
JM
446702012-02-17 Joseph Myers <joseph@codesourcery.com>
44671
44672 [BZ #10210]
44673 * manual/process.texi (execle): Move @dots{} before last argument.
44674
79c6869c
PB
446752012-02-17 Paul Bolle <pebolle@tiscali.nl>
44676
44677 [BZ #12047]
44678 * manual/charset.texi (Generic Charset Conversion): Fix typo
44679 (LC_TYPE -> LC_CTYPE).
44680
cc6e48bc
NB
446812012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
44682
44683 [BZ #5805]
44684 * manual/arith.texi (scalbn): Use @var{} on parameter names.
44685 (scalbnf): Likewise.
44686 (scalbnl): Likewise.
44687 (scalbln): Likewise.
44688 (scalblnf): Likewise.
44689 (scalblnl): Likewise.
44690 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
44691 (vwarnx): Likewise.
44692 (verr): Likewise.
44693 (verrx): Likewise.
44694 * manual/filesys.texi (telldir): Use braces around return type.
44695 * manual/llio.texi (mmap): Add space after comma.
44696 (mmap64): Likewise.
44697 * manual/math.texi (jn): Use @var{} on parameter names.
44698 (jnf): Likewise.
44699 (jnl): Likewise.
44700 (yn): Likewise.
44701 (ynf): Likewise.
44702 (ynl): Likewise.
44703 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
44704 line.
44705 * manual/resource.texi (ulimit): Use @dots{} instead of literal
44706 "...".
44707 (sched_get_priority_min): Remove semicolon on @deftypefun line.
44708 (sched_get_priority_max): Likewise.
44709 * manual/signal.texi (sigvec): Add space after comma.
44710 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
44711 names.
44712 (if_indextoname): Likewise.
44713 (if_freenameindex): Likewise.
44714 (sendto): Use ',' instead of '.' in prototype.
44715 * manual/startup.texi (syscall): Use @dots{} instead of literal
44716 "...".
44717 * manual/stdio.texi (__fpending): Separate initial words of
44718 paragraph from @deftypefun line.
44719 * manual/syslog.texi (syslog): Use @dots{} instead of literal
44720 "...".
44721 (vsyslog): Use @var{} on parameter names.
44722 * manual/terminal.texi (stty): Use @var{} on parameter names.
44723 * manual/users.texi (getutmp): Use @var{} on parameter names.
44724 (getutmpx): Likewise.
44725
5b23062f
JM
447262012-02-17 Joseph Myers <joseph@codesourcery.com>
44727
44728 [BZ #6884]
44729 * manual/stdio.texi (fopen): Fix typos in description of
44730 ",ccs=STRING".
44731
8dee4833
AJ
447322012-02-17 Aurelien Jarno <aurelien@aurel32.net>
44733
44734 [BZ #4026]
44735 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
44736 get clock_id definition.
44737
9078ce93
TS
447382012-02-17 Thomas Schwinge <thomas@schwinge.name>
44739
44740 [BZ #4822]
44741 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
44742 (madvise): Cast every argument to void on its own.
44743
3835c55f
JM
447442012-02-17 Joseph Myers <joseph@codesourcery.com>
44745
44746 [BZ #9902]
44747 * manual/startup.texi (Exit Status): Fix typo.
44748
35c47e37
JM
447492012-02-17 Joseph Myers <joseph@codesourcery.com>
44750
44751 [BZ #10140]
44752 * manual/examples/argp-ex1.c: Include <stdlib.h>.
44753 * manual/examples/argp-ex2.c: Likewise.
44754 * manual/examples/argp-ex3.c: Likewise.
44755
e3b69ca7
RH
447562012-02-16 Richard Henderson <rth@redhat.com>
44757
44758 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
44759 * sysdeps/s390/s390-32/initfini.c: Remove.
44760 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
44761 * sysdeps/s390/s390-64/initfini.c: Remove.
44762
df83af67
KK
447632012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44764
44765 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
44766 compiler output for sysdeps/generic/initfini.c.
44767 * sysdeps/sh/elf/initfini.c: Remove file.
44768
f63f3380
DM
447692012-02-16 David S. Miller <davem@davemloft.net>
44770
fb59b3a4
DM
44771 [BZ #11494]
44772 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
44773
f63f3380
DM
44774 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
44775 * sysdeps/sparc/crti.S: New file.
44776 * sysdeps/sparc/crtn.S: New file.
44777 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
44778 * sysdeps/sparc/sparc64/Makefile: Likewise.
44779
df6a4a4a
MF
447802012-02-15 Mike Frysinger <vapier@gentoo.org>
44781
6dd8f3dc 44782 [BZ #3335]
df6a4a4a
MF
44783 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
44784
1cac7236
RM
447852012-02-15 Roland McGrath <roland@hack.frob.com>
44786
d2c736f8
RM
44787 [BZ #4822]
44788 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
44789
1cac7236
RM
44790 * mach/devstream.c (cookie_io_functions_t): Macro removed.
44791 (write, read, close): Likewise.
44792 Patch by Aurelien Jarno <aurelien@aurel32.net>.
44793
8e475601
JM
447942012-02-15 Joseph Myers <joseph@codesourcery.com>
44795
44796 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
44797 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
44798 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
44799 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
44800 <bits/signalfd.h>.
44801 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
44802 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44803 bits/signalfd.h.
44804
ed656b40
MP
448052012-02-14 Marek Polacek <polacek@redhat.com>
44806
44807 * sysdeps/x86_64/crti.S: New file.
44808 * sysdeps/x86_64/crtn.S: New file.
44809 * sysdeps/x86_64/elf/initfini.c: Remove file.
44810
2a979d3a
JM
448112012-02-13 Joseph Myers <joseph@codesourcery.com>
44812
44813 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
44814 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
44815 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
44816 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
44817 <bits/inotify.h>.
44818 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
44819 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44820 bits/inotify.h.
44821
2a418ac3
JM
448222012-02-13 Joseph Myers <joseph@codesourcery.com>
44823
44824 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
44825 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
44826 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
44827 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
44828 <bits/eventfd.h>.
44829 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
44830 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44831 bits/eventfd.h.
44832
fb779be7
TS
448332012-02-10 Thomas Schwinge <thomas@codesourcery.com>
44834
e19e83c5
RM
44835 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
44836 __feraiseexcept instead of feraiseexcept.
7c35ffed 44837
fb779be7
TS
44838 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
44839 nanosleep invocations.
44840 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
44841 strings, and add error checking for a nanosleep invocations.
44842
59ba27a6
PE
448432012-02-09 Paul Eggert <eggert@cs.ucla.edu>
44844
44845 Replace FSF snail mail address with URLs, as per GNU coding standards.
44846 Most of the snail mail addresses were wrong anyway, and omitting
44847 them makes the source code easier to maintain. Almost all of the
44848 changes are to license notices and to locale LC_IDENTIFICATION
44849 addresses, except for this one:
44850 * manual/libc.texinfo: In "Published by", give the FSF's URL,
44851 not its snail mail address.
44852
57b957eb
RH
448532012-02-09 Richard Henderson <rth@twiddle.net>
44854
af850b1c
RH
44855 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
44856 of kernel-features.h.
44857
57b957eb
RH
44858 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
44859
6b73181a
MP
448602012-02-08 Marek Polacek <polacek@redhat.com>
44861
44862 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
44863 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
44864 * sysdeps/gnu/_G_config.h: Likewise.
44865 * sysdeps/generic/_G_config.h: Likewise.
44866
26ecc33a
AS
448672012-02-08 Andreas Schwab <schwab@linux-m68k.org>
44868
6c6dbc63
AS
44869 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
44870 tests.
44871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44872
e216c012
AS
44873 * sysdeps/powerpc/powerpc32/crti.S: New file.
44874 * sysdeps/powerpc/powerpc32/crtn.S: New file.
44875 * sysdeps/powerpc/powerpc64/crti.S: New file.
44876 * sysdeps/powerpc/powerpc64/crtn.S: New file.
44877
26ecc33a
AS
44878 * Makeconfig (have-initfini): Don't set.
44879 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
44880 * configure.in (nopic_initfini): Don't substitute.
44881 * config.h.in (HAVE_INITFINI): Don't #undef.
44882 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
44883 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
44884
3add8e13
JM
448852012-02-08 Joseph Myers <joseph@codesourcery.com>
44886
44887 Support crti.S and crtn.S provided directly by architectures.
44888 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
44889 [crti.S in sysdirs] (omit-deps): Likewise.
44890 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
44891 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
44892 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
44893 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
44894 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
44895 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
44896 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
44897 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
44898 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
44899 compiler output for sysdeps/generic/initfini.c.
44900 * sysdeps/i386/elf/Makefile: Remove file.
44901 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
44902
a22f12b4
MP
449032012-02-07 Marek Polacek <polacek@redhat.com>
44904
44905 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44906 * sysdeps/gnu/_G_config.h: Likewise.
44907 * sysdeps/mach/hurd/_G_config.h: Likewise.
44908
148cf100
MP
449092012-02-07 Marek Polacek <polacek@redhat.com>
44910
44911 * math/Makefile (tests): Add tst-CMPLX2.
44912 * math/tst-CMPLX2.c: New file.
44913
cfdc0dd7
AS
449142012-02-07 Andreas Schwab <schwab@linux-m68k.org>
44915
84ba42c4
AS
44916 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44917
cfdc0dd7
AS
44918 * math/libm-test.inc (jn_test): Add missing L suffix.
44919
622c86f4
MP
449202012-02-06 Marek Polacek <polacek@redhat.com>
44921
44922 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44923 * sysdeps/i386/fpu/e_powf.S: Likewise.
44924 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44925 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44926 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44927 * sysdeps/i386/fpu/e_pow.S: Likewise.
44928 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44929 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44930 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44931 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44932 * sysdeps/i386/fpu/e_log2.S: Likewise.
44933 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44934 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44935 * sysdeps/i386/fpu/e_powl.S: Likewise.
44936 * sysdeps/i386/fpu/s_log1p.S: Likewise.
44937 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44938 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44939 * sysdeps/i386/fpu/e_logl.S: Likewise.
44940 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44941 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44942 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44943 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44944 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44945 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44946 * sysdeps/i386/fpu/e_log.S: Likewise.
44947 * sysdeps/i386/fpu/s_cexp.S: Likewise.
44948 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44949 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44950 * sysdeps/i386/fpu/e_logf.S: Likewise.
44951 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44952 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44953 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44954 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44955 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44956 * sysdeps/i386/fpu/e_log10.S: Likewise.
44957 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44958 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44959 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44960 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44961 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44962 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44963 * sysdeps/i386/asm-syntax.h: Likewise.
44964 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44965 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44966 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44967 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44968 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44969 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44970 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44971 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44972 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44973 * sysdeps/powerpc/sysdep.h: Likewise.
44974 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44975 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44976
d4a54ac6
JM
449772012-02-06 Joseph Myers <joseph@codesourcery.com>
44978
44979 [BZ #411]
44980 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44981
314054ea
JM
449822012-02-06 Joseph Myers <joseph@codesourcery.com>
44983
44984 * sysdeps/i386/sysdep.h: Include <features.h>.
44985 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44986 version.
44987
d8e0ca50
JM
449882012-02-05 Joseph Myers <joseph@codesourcery.com>
44989
44990 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44991 Define.
44992 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44993 LOAD_PIC_REG_STR.
44994
b1da7dd9
JM
449952012-02-03 Joseph Myers <joseph@codesourcery.com>
44996
44997 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44998 (SETUP_PIC_REG): Use GET_PC_THUNK.
44999 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
45000 macro.
45001
9a1d9254
JM
450022012-02-03 Joseph Myers <joseph@codesourcery.com>
45003
45004 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
45005 for non-PIC compilation.
45006 (SETUP_PIC_REG): Add .p2align directive.
45007 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
45008 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
45009 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
45010 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
45011 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
45012 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
45013 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
45014 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45015 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
45016 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
45017 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
45018 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
45019 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
45020 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
45021 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
45022 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
45023 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
45024 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
45025 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
45026 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
45027 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45028 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
45029 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
45030 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
45031 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
45032 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
45033 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45034 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
45035 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
45036 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
45037 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
45038 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45039 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
45040 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
45041 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
45042 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
45043 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
45044 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
45045 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
45046 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
45047 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
45048
65dc3b75
JM
450492012-02-03 Joseph Myers <joseph@codesourcery.com>
45050
45051 * math/tst-CMPLX.c: Include <stdio.h>.
45052
d55bf177
JM
450532012-01-31 Joseph Myers <joseph@codesourcery.com>
45054
45055 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
45056 float.
45057 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45058 * sysdeps/sparc/bits/mathdef.h: Likewise.
45059
69db4f8f
MP
450602012-01-31 Marek Polacek <polacek@redhat.com>
45061
45062 * libio/libio.h: Don't define _PARAMS.
45063 * locale/programs/config.h: Don't define PARAMS.
45064 * stdlib/strtol_l.c: Likewise.
45065 (__strtol_l): Remove PARAMS from the prototype.
45066
41b81892
UD
450672012-01-31 Ulrich Drepper <drepper@gmail.com>
45068
3b49edc0
UD
45069 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
45070 names. Just use the correct names. Remove unnecessary wrapper
45071 functions.
45072 * malloc/arena.c: Likewise.
45073 * malloc/hooks.c: Likewise.
45074
41b81892
UD
45075 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
45076 ARENA_TEST says not to. Simplify test for creation of a new arena.
45077 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
45078
27a25b6e
UD
450792012-01-30 Ulrich Drepper <drepper@gmail.com>
45080
45081 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
45082 into tail calls.
45083 (update_get_addr): New function.
45084 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
45085 GET_ADDR_MODULE parameter.
45086
c8a89e7d
JM
450872012-01-30 Joseph Myers <joseph@codesourcery.com>
45088
45089 * crypt/cert.c: Remove __STDC__ conditionals.
45090 * crypt/crypt-entry.c: Likewise.
45091 * crypt/crypt_util.c: Likewise.
45092 * libio/filedoalloc.c: Likewise.
45093 * libio/fileops.c: Likewise.
45094 * libio/genops.c: Likewise.
45095 * libio/iofclose.c: Likewise.
45096 * libio/iofdopen.c: Likewise.
45097 * libio/iofopen.c: Likewise.
45098 * libio/iofopen64.c: Likewise.
45099 * libio/iogetdelim.c: Likewise.
45100 * libio/iopopen.c: Likewise.
45101 * libio/obprintf.c: Likewise.
45102 * libio/oldfileops.c: Likewise.
45103 * libio/oldiofclose.c: Likewise.
45104 * libio/oldiofdopen.c: Likewise.
45105 * libio/oldiofopen.c: Likewise.
45106 * libio/oldiopopen.c: Likewise.
45107 * libio/wfiledoalloc.c: Likewise.
45108 * libio/wgenops.c: Likewise.
45109 * locale/programs/xmalloc.c: Likewise.
45110 * misc/syslog.c: Likewise.
45111 * stdio-common/xbug.c: Likewise.
45112 * string/memchr.c: Likewise.
45113 * string/memcmp.c: Likewise.
45114 * string/memrchr.c: Likewise.
45115 * string/rawmemchr.c: Likewise.
45116 * sysdeps/posix/getcwd.c: Likewise.
45117 * time/strftime_l.c: Likewise.
45118
3b100462
JM
451192012-01-30 Joseph Myers <joseph@codesourcery.com>
45120
45121 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
45122 * config.make.in (config-cflags-sse2avx): Define.
45123 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
45124 Fix typo.
45125
607998af
CM
451262012-01-29 Chris Metcalf <cmetcalf@tilera.com>
45127
45128 * scripts/config.guess: Update from upstream config git repository.
45129 * scripts/config.sub: Likewise.
45130
3601428f
CM
451312012-01-28 Chris Metcalf <cmetcalf@tilera.com>
45132
3ac8b282
CM
45133 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
45134 (EM_NUM): Update.
45135 (R_TILEPRO_*, R_TILEGX_*): New macros.
45136
e034841e
CM
45137 * scripts/firstversions.awk: Fix bug in version range handling.
45138
540d7568
CM
45139 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
45140
3601428f
CM
45141 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
45142
463de862
CM
45143 * include/sys/epoll.h: New file.
45144 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
45145 libc_hidden_def.
45146
73139a76
UD
451472012-01-28 Ulrich Drepper <drepper@gmail.com>
45148
96bc5b45
UD
45149 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
45150 Avoid unnecessary __WORDSIZE == 64 test.
45151 (fmaxf): Use VEX format if possible.
45152 (fmax): Likewise.
45153 (fminf): Likewise.
45154 (fmin): Likewise.
45155
56f6f6a2
UD
45156 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
45157 * math/math_private.h: Remove libc_fegetround* and
45158 libc_fesetround*.
45159 * sysdeps/i386/configure.in: Check for -msse2avx.
45160 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
45161 also if SSE2AVX is defined.
45162 Remove libc_fegetround* and libc_fesetround*.
45163 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
45164 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
45165 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
45166 of HAS_YMM_USABLE.
45167 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45168 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45169 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45170 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45171 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45172
73139a76
UD
45173 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
45174
d73f93a4
AZ
451752012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45176
45177 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
45178 size is not set.
45179 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45180
6ee65ed6
UD
451812012-01-27 Ulrich Drepper <drepper@gmail.com>
45182
45183 [BZ #13618]
45184 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
45185 relocation.
45186 * Makeconfig (libm): Define.
45187 * elf/Makefile: Add rules to build and run tst-relsort1.
45188 * elf/tst-relsort1.c: New file.
45189 * elf/tst-relsort1mod1.c: New file.
45190 * elf/tst-relsort1mod2.c: New file.
45191
8db21882
JM
451922012-01-27 Joseph Myers <joseph@codesourcery.com>
45193
45194 * math/s_ldexp.c: Remove __STDC__ conditionals.
45195 * math/s_ldexpf.c: Likewise.
45196 * math/s_ldexpl.c: Likewise.
45197 * math/s_nextafter.c: Likewise.
45198 * math/s_nexttowardf.c: Likewise.
45199 * math/s_significand.c: Likewise.
45200 * math/s_significandf.c: Likewise.
45201 * math/s_significandl.c: Likewise.
45202 * math/w_jnl.c: Likewise.
45203 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45204 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45205 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45206 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45207 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45208 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45209 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
45210 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45211 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45212 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45213 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45214 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45215 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45216 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45217 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45218 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45219 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45220 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45221 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45222 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45223 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45224 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45225 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45226 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45227 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45228 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45229 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45230 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45231 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45232 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45233 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45234 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45235 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45236 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45237 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45238 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45239 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45240 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45241 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45242 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45243 * sysdeps/ieee754/k_standard.c: Likewise.
45244 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45245 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45246 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45247 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45248 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45249 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45250 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45251 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45252 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45253 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45254 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45255 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45256 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45257 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45258 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45259 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45260 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45261 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45262 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45263 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45264 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45265 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45266 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45267 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45268 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45269 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45270 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45271 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45272 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45273 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45274 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45275 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
45276 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45277 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45278 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45279 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45280 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
45281 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45282 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45283 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
45284 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
45285 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45286 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
45287 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
45288 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45289 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
45290 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
45291 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45292 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45293 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
45294 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
45295 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45296 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45297 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45298 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45299 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45300 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
45301 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45302 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45303 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45304 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45305 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45306 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45307 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45308 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45309 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45310 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45311 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45312 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45313 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45314 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45315 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45316 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45317 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45318 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45319 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45320 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45321 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45322 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45323 * sysdeps/ieee754/s_matherr.c: Likewise.
45324 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45325 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45326 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45327 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45328
965a54a4
JM
453292012-01-26 Joseph Myers <joseph@codesourcery.com>
45330
45331 * crypt/md5.h: Remove __STDC__ conditionals.
45332 * libio/libioP.h: Likewise.
45333 * locale/programs/config.h: Likewise.
45334 * sysdeps/generic/sysdep.h: Likewise.
45335 * sysdeps/i386/asm-syntax.h: Likewise.
45336 * sysdeps/s390/asm-syntax.h: Likewise.
45337 * sysdeps/unix/sysdep.h: Likewise.
45338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
45339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45340
7071ad79
JM
453412012-01-26 Joseph Myers <joseph@codesourcery.com>
45342
45343 * libio/libio.h: Remove __STDC__ conditionals.
45344 * malloc/obstack.h: Likewise.
45345 * math/complex.h: Likewise.
45346 * math/math.h: Likewise.
45347 * sysdeps/generic/_G_config.h: Likewise.
45348 * sysdeps/gnu/_G_config.h: Likewise.
45349 * sysdeps/mach/hurd/_G_config.h: Likewise.
45350 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45351 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45352 * sysdeps/sparc/bits/mathdef.h: Likewise.
45353
afc5ed09
UD
453542012-01-26 Ulrich Drepper <drepper@gmail.com>
45355
45356 [BZ #13583]
45357 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 45358 Clean up HAS_* macros.
afc5ed09 45359 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
45360 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
45361 possible.
45362 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
45363 HAS_AVX.
45364 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45365 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45366 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45367 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45368 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 45369
bdb6de1d
JM
453702012-01-25 Joseph Myers <joseph@codesourcery.com>
45371
45372 * elf/tst-unique3.cc (gets): Remove declaration.
45373 * elf/tst-unique3lib.cc (gets): Likewise.
45374 * elf/tst-unique3lib2.cc (gets): Likewise.
45375 * elf/tst-unique4.cc (gets): Likewise.
45376
b15549e6
UD
453772012-01-24 Ulrich Drepper <drepper@gmail.com>
45378
45379 * include/stdio.h: Add C++ protection. Add gets declarations and
45380 definitions.
45381 * debug/tst-chk1.c: Don't declare gets here.
45382 * stdio-common/tst-gets.c: Likewise.
45383
a037381f
JM
453842012-01-24 Joseph Myers <joseph@codesourcery.com>
45385
45386 * posix/glob: Remove directory.
45387
f1d4aa75
JM
453882012-01-24 Joseph Myers <joseph@codesourcery.com>
45389
45390 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
45391
81c0c964
PT
453922012-01-22 Pino Toscano <toscano.pino@tiscali.it>
45393
45394 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
45395 of the non-standard EPFNOSUPPORT.
45396
0ea698ae
ST
453972011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
45398
45399 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
45400 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
45401 ANYWHERE set to 1 only on KERN_NO_SPACE error.
45402
d220b117
UD
454032012-01-21 Ulrich Drepper <drepper@gmail.com>
45404
45405 * wcsmbs/uchar.h: Test __STDC_VERSION__.
45406
3e1aa84e
UD
454072012-01-20 Ulrich Drepper <drepper@gmail.com>
45408
45409 * nscd/aicache.c (addhstaiX): Do not cache negative results of
45410 transient errors.
45411 * nscd/grpcache.c (cache_addgr): Likewise.
45412 * nscd/hstcache.c (cache_addhst): Likewise.
45413 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45414 * nscd/pwdcache.c (cache_addpw): Likewise.
45415 * nscd/servicescache.c (cache_addserv): Likewise.
45416
400aa020
UD
454172012-01-16 Ulrich Drepper <drepper@gmail.com>
45418
d77e7869
UD
45419 * malloc/malloc.c: Various cleanups.
45420 * malloc/hooks.c: Likewise.
45421
400aa020
UD
45422 * stdlib/Makefile (tests): Add bug-fmtmsg1.
45423 * stdlib/bug-fmtmsg1.c: New file.
45424
45425 * stdlib/fmtmsg.c (init): Add missing unlock.
45426 Patch by Peng Haitao <penght@cn.fujitsu.com>.
45427
e0a309cf
MP
454282012-01-12 Marek Polacek <polacek@redhat.com>
45429
45430 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
45431 and _GNU_SOURCE.
45432
929d11c7
WS
454332012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45434
45435 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
45436 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
45437 macro to ensure uniqueness of label name.
45438 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45439 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45440
41d0e869
UD
454412012-01-11 Ulrich Drepper <drepper@gmail.com>
45442
0cc5ed3b
UD
45443 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
45444
41d0e869
UD
45445 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
45446 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45447 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45448 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
45449
a47a831a
UD
454502012-01-10 Ulrich Drepper <drepper@gmail.com>
45451
daa891c0
UD
45452 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
45453
45454 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
45455 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45456 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45457
e58ef0f2
UD
45458 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
45459
a47a831a 45460 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
45461 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45462 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 45463 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
45464
45465 * math/bits/math-finite.h: Add ldexp support.
45466
a0bfc9c7
MP
454672012-01-10 Marek Polacek <polacek@redhat.com>
45468
45469 * locale/programs/localedef.h (show_archive_content): Add noreturn
45470 attribute.
45471
d6e97a1d
UD
454722012-01-09 Ulrich Drepper <drepper@gmail.com>
45473
45474 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
45475
d5835c26
UD
454762012-01-08 Ulrich Drepper <drepper@gmail.com>
45477
e5f484c6
UD
45478 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
45479
d5835c26
UD
45480 * io/Makefile (headers): Add bits/poll2.h.
45481
d1f741e9
WS
454822011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
45483
45484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
45485 typo #include statement.
45486
ec09c1c4
UD
454872012-01-08 Ulrich Drepper <drepper@gmail.com>
45488
45489 * include/sys/cdefs.h: Define __attribute_alloc_size.
45490 * catgets/gencat.c: Add alloc_size attribute and apply consistently
45491 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
45492 * elf/pldd.c: Likewise.
45493 * iconv/iconv_charmap.c: Likewise.
45494 * iconv/iconvconfig.c: Likewise.
45495 * iconv/strtab.c: Likewise.
45496 * locale/programs/locale.c: Likewise.
45497 * locale/programs/localedef.h: Likewise.
45498 * locale/programs/simple-hash.c: Likewise.
45499 * nscd/nscd.h: Likewise.
45500 * nss/makedb.c: Likewise.
45501 * sysdeps/generic/ldconfig.h: Likewise.
45502 * locale/programs/localedef.c: Remove xmalloc prototype.
45503 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
45504
20b38e03
PP
455052012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45506
45507 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
45508 appropriate.
45509
a0da5fe1
UD
455102012-01-08 Ulrich Drepper <drepper@gmail.com>
45511
1d5a644a 45512 * math/Makefile (tests): Add tst-CMPLX.
669704fd 45513 * math/tst-CMPLX.c: New file.
1d5a644a 45514
8784a6db
UD
45515 * math/complex.h (CMPLXL): Fix typo.
45516
d9a216c0
UD
45517 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
45518 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
45519 GLIBC_2.16.
45520 * debug/tst-chk1.c: Add poll and ppoll tests.
45521 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
45522 * include/sys/poll.h: Add hidden proto for ppoll.
45523 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
45524 * sysdeps/mach/hurd/ppoll.c: Likewise.
45525 * io/ppoll.c: Likewise.
45526 * debug/poll_chk.c: New file.
45527 * debug/ppoll_chk.c: New file.
45528 * include/bits/poll2.h: New file.
45529 * io/bits/poll2.h: New file.
45530
ac097f5c
UD
45531 [BZ #1350]
45532 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
45533
2119dcfa
UD
45534 * configure.in: static is always set to yes. Remove.
45535 * config.make.in: Don't set build-static.
45536 * Makeconfig: Remove use of build-static.
45537 * dlfcn/Makefile: Likewise.
45538 * elf/Makefile: Likewise.
45539 * math/Makefile: Likewise.
45540 * misc/Makefile: Likewise.
45541 * nptl/Makefile: Likewise.
45542 * sysdeps/mach/hurd/Makefile: Likewise.
45543
121766a9
UD
45544 * configure.in: PWD_P is not used anymore.
45545 * config.make.in: Remove PWD_P entry.
45546
51a1d39c 45547 * configure.in: Remove last remnants of RANLIB.
8720d066 45548 No need to check for signed size_t anymore.
215f4bdc
UD
45549 Don't set libc_commonpagesize and libc_relro_required here for Alpha
45550 and IA-64.
3857022a 45551 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
45552 * aclocal.m4: Likewise.
45553
d3ed7225
UD
45554 * wcsmbs/mbrtoc16.c: Implement using towc function.
45555 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
45556 * wcsmbs/wcsmbsload.c: Likewise.
45557 * iconv/gconv_simple.c: Likewise.
45558 * iconv/gconv_int.h: Likewise.
45559 * iconv/gconv_builtin.h: Likewise.
45560 * iconv/iconv_prog.c: Remove CHAR16 handling.
45561
45562 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
45563
45564 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
45565
a0da5fe1
UD
45566 * configure.in: Remove --with-elf and --enable-bounded options.
45567 Dont set base_machine for ia64. More non-ELF conditions removed.
45568 Remove testing and setting of leading underscore information.
45569 * config.make.in (build-bounded): Set to no.
45570 * config.h.in: Remove NO_UNDERSCORES entry.
45571 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
45572 them.
45573 * csu/start.c: Remove !NO_UNDERSCORE code.
45574 * locale/localeinfo.h: Likewise.
45575 * sysdeps/generic/machine-gmon.h: Likewise.
45576 * sysdeps/generic/sysdep.h: Likewise.
45577 * sysdeps/i386/sysdep.h: Likewise.
45578 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45579 * sysdeps/mach/sysdep.h: Likewise.
45580 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45581 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45582 * sysdeps/sh/sysdep.h: Likewise.
45583 * sysdeps/sparc/sparc32/alloca.S: Likewise.
45584 * sysdeps/unix/i386/sysdep.S: Likewise.
45585 * sysdeps/unix/sparc/start.c: Likewise.
45586 * sysdeps/unix/sparc/sysdep.S: Likewise.
45587 * sysdeps/unix/sparc/sysdep.h: Likewise.
45588 * sysdeps/unix/start.c: Likewise.
45589 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45590 * sysdeps/x86_64/sysdep.h: Likewise.
45591
df78418a
UD
455922012-01-07 Ulrich Drepper <drepper@gmail.com>
45593
a784e502
UD
45594 [BZ #13553]
45595 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
45596 for non-gcc.
45597 * argp/argp-fmtstream.h: Use const instead __const.
45598 * argp/argp.h: Likewise.
45599 * assert/assert.h: Likewise.
45600 * bits/fenv.h: Likewise.
45601 * bits/sched.h: Likewise.
45602 * bits/sigset.h: Likewise.
45603 * bits/sigthread.h: Likewise.
45604 * catgets/nl_types.h: Likewise.
45605 * conform/data/pthread.h-data: Likewise.
45606 * crypt/crypt-private.h: Likewise.
45607 * crypt/crypt.h: Likewise.
45608 * crypt/crypt_util.c: Likewise.
45609 * ctype/ctype.h: Likewise.
45610 * debug/execinfo.h: Likewise.
45611 * debug/mbsnrtowcs_chk.c: Likewise.
45612 * debug/mbsrtowcs_chk.c: Likewise.
45613 * debug/wcsnrtombs_chk.c: Likewise.
45614 * debug/wcsrtombs_chk.c: Likewise.
45615 * debug/wcstombs_chk.c: Likewise.
45616 * dirent/dirent.h: Likewise.
45617 * dlfcn/dlfcn.h: Likewise.
45618 * elf/neededtest4.c: Likewise.
45619 * grp/grp.h: Likewise.
45620 * gshadow/gshadow.h: Likewise.
45621 * iconv/gconv.h: Likewise.
45622 * iconv/gconv_int.h: Likewise.
45623 * iconv/gconv_simple.c: Likewise.
45624 * iconv/iconv.h: Likewise.
45625 * iconv/loop.c: Likewise.
45626 * iconv/skeleton.c: Likewise.
45627 * include/aio.h: Likewise.
45628 * include/aliases.h: Likewise.
45629 * include/argz.h: Likewise.
45630 * include/arpa/inet.h: Likewise.
45631 * include/assert.h: Likewise.
45632 * include/dirent.h: Likewise.
45633 * include/dlfcn.h: Likewise.
45634 * include/execinfo.h: Likewise.
45635 * include/fcntl.h: Likewise.
45636 * include/fenv.h: Likewise.
45637 * include/glob.h: Likewise.
45638 * include/grp.h: Likewise.
45639 * include/libintl.h: Likewise.
45640 * include/mntent.h: Likewise.
45641 * include/netdb.h: Likewise.
45642 * include/pwd.h: Likewise.
45643 * include/rpc/netdb.h: Likewise.
45644 * include/sched.h: Likewise.
45645 * include/search.h: Likewise.
45646 * include/shadow.h: Likewise.
45647 * include/signal.h: Likewise.
45648 * include/stdio.h: Likewise.
45649 * include/stdlib.h: Likewise.
45650 * include/string.h: Likewise.
45651 * include/sys/socket.h: Likewise.
45652 * include/sys/stat.h: Likewise.
45653 * include/sys/statfs.h: Likewise.
45654 * include/sys/statvfs.h: Likewise.
45655 * include/sys/syslog.h: Likewise.
45656 * include/sys/time.h: Likewise.
45657 * include/sys/uio.h: Likewise.
45658 * include/time.h: Likewise.
45659 * include/unistd.h: Likewise.
45660 * include/utmp.h: Likewise.
45661 * include/wchar.h: Likewise.
45662 * include/wctype.h: Likewise.
45663 * inet/aliases.h: Likewise.
45664 * inet/arpa/inet.h: Likewise.
45665 * inet/netinet/ether.h: Likewise.
45666 * inet/netinet/in.h: Likewise.
45667 * intl/libintl.h: Likewise.
45668 * io/bits/fcntl2.h: Likewise.
45669 * io/fcntl.h: Likewise.
45670 * io/ftw.h: Likewise.
45671 * io/sys/poll.h: Likewise.
45672 * io/sys/stat.h: Likewise.
45673 * io/sys/statfs.h: Likewise.
45674 * io/sys/statvfs.h: Likewise.
45675 * io/utime.h: Likewise.
45676 * libio/bits/stdio.h: Likewise.
45677 * libio/bits/stdio2.h: Likewise.
45678 * libio/libio.h: Likewise.
45679 * libio/libioP.h: Likewise.
45680 * libio/stdio.h: Likewise.
45681 * locale/lc-ctype.c: Likewise.
45682 * locale/locale.h: Likewise.
45683 * login/utmp.h: Likewise.
45684 * malloc/arena.c: Likewise.
45685 * malloc/malloc.c: Likewise.
45686 * malloc/malloc.h: Likewise.
45687 * malloc/mcheck.c: Likewise.
45688 * malloc/mtrace.c: Likewise.
45689 * math/bits/mathcalls.h: Likewise.
45690 * math/fenv.h: Likewise.
45691 * math/math_private.h: Likewise.
45692 * misc/bits/error.h: Likewise.
45693 * misc/bits/syslog.h: Likewise.
45694 * misc/err.h: Likewise.
45695 * misc/error.h: Likewise.
45696 * misc/fstab.h: Likewise.
45697 * misc/mntent.h: Likewise.
45698 * misc/regexp.h: Likewise.
45699 * misc/search.h: Likewise.
45700 * misc/sgtty.h: Likewise.
45701 * misc/sys/mman.h: Likewise.
45702 * misc/sys/syslog.h: Likewise.
45703 * misc/sys/uio.h: Likewise.
45704 * misc/sys/xattr.h: Likewise.
45705 * misc/ttyent.h: Likewise.
45706 * nis/rpcsvc/ypclnt.h: Likewise.
45707 * nss/nss.h: Likewise.
45708 * posix/bits/unistd.h: Likewise.
45709 * posix/fnmatch.h: Likewise.
45710 * posix/glob.h: Likewise.
45711 * posix/sched.h: Likewise.
45712 * posix/spawn.h: Likewise.
45713 * posix/sys/wait.h: Likewise.
45714 * posix/unistd.h: Likewise.
45715 * posix/wordexp.h: Likewise.
45716 * pwd/pwd.h: Likewise.
45717 * resolv/netdb.h: Likewise.
45718 * resource/sys/resource.h: Likewise.
45719 * rt/aio.h: Likewise.
45720 * rt/bits/mqueue2.h: Likewise.
45721 * rt/mqueue.h: Likewise.
45722 * shadow/shadow.h: Likewise.
45723 * signal/signal.h: Likewise.
45724 * socket/send.c: Likewise.
45725 * socket/sendto.c: Likewise.
45726 * socket/sys/socket.h: Likewise.
45727 * stdio-common/printf.h: Likewise.
45728 * stdlib/bits/stdlib.h: Likewise.
45729 * stdlib/fmtmsg.h: Likewise.
45730 * stdlib/monetary.h: Likewise.
45731 * stdlib/stdlib.h: Likewise.
45732 * stdlib/ucontext.h: Likewise.
45733 * streams/stropts.h: Likewise.
45734 * string/argz.h: Likewise.
45735 * string/bits/string2.h: Likewise.
45736 * string/string.h: Likewise.
45737 * string/strings.h: Likewise.
45738 * sunrpc/rpc/auth.h: Likewise.
45739 * sunrpc/rpc/auth_des.h: Likewise.
45740 * sunrpc/rpc/clnt.h: Likewise.
45741 * sunrpc/rpc/netdb.h: Likewise.
45742 * sunrpc/rpc/pmap_clnt.h: Likewise.
45743 * sunrpc/rpc/xdr.h: Likewise.
45744 * sysdeps/generic/inttypes.h: Likewise.
45745 * sysdeps/generic/net/if.h: Likewise.
45746 * sysdeps/generic/sys/swap.h: Likewise.
45747 * sysdeps/gnu/net/if.h: Likewise.
45748 * sysdeps/gnu/utmpx.h: Likewise.
45749 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
45750 * sysdeps/i386/i486/bits/string.h: Likewise.
45751 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
45752 * sysdeps/s390/bits/string.h: Likewise.
45753 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
45754 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
45755 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
45756 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
45757 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
45758 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
45759 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
45760 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
45761 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
45762 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
45763 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
45764 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45765 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
45766 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45767 * sysdeps/unix/sysv/linux/readv.c: Likewise.
45768 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
45769 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45770 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45771 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
45772 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
45773 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45774 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
45775 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
45776 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
45777 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
45778 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
45779 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
45780 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45781 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
45782 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
45783 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
45784 * sysvipc/sys/ipc.h: Likewise.
45785 * sysvipc/sys/msg.h: Likewise.
45786 * sysvipc/sys/sem.h: Likewise.
45787 * sysvipc/sys/shm.h: Likewise.
45788 * termios/termios.h: Likewise.
45789 * time/sys/time.h: Likewise.
45790 * time/time.h: Likewise.
45791 * wcsmbs/bits/wchar2.h: Likewise.
45792 * wcsmbs/uchar.h: Likewise.
45793 * wcsmbs/wchar.h: Likewise.
45794 * wctype/wctype.h: Likewise.
45795
0269750c
UD
45796 [BZ #13551]
45797 * Makeconfig: Remove all but ELF support including AIX support.
45798 * Makerules: Likewise.
45799 * config.h.in: Likewise.
45800 * config.make.in: Likewise.
45801 * configure: Likewise.
45802 * configure.in: Likewise.
45803 * csu/Makefile: Likewise.
45804 * csu/version.c: Likewise.
45805 * debug/Makefile: Likewise.
45806 * dlfcn/Makefile: Likewise.
45807 * elf/Makefile: Likewise.
45808 * extra-lib.mk: Likewise.
45809 * iconv/Makefile: Likewise.
45810 * include/libc-symbols.h: Likewise.
45811 * include/shlib-compat.h: Likewise.
45812 * resolv/Makefile: Likewise.
45813 * resolv/res_libc.c: Likewise.
45814 * rt/Makefile: Likewise.
45815 * sysdeps/i386/asm-syntax.h: Likewise.
45816 * sysdeps/i386/sysdep.h: Likewise.
45817 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45818 * sysdeps/mach/sysdep.h: Likewise.
45819 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
45820 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
45821 * sysdeps/s390/asm-syntax.h: Likewise.
45822 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45823 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45824 * sysdeps/sh/sysdep.h: Likewise.
45825 * sysdeps/unix/sparc/sysdep.h: Likewise.
45826 * sysdeps/wordsize-32/divdi3.c: Likewise.
45827 * sysdeps/x86_64/sysdep.h: Likewise.
45828
00bbd29b
UD
45829 * argp/Versions: Remove _argp_unlock_xxx.
45830
45831 [BZ #13559]
45832 * abilist/ld.abilist: Update. Adjust for removal of tls option.
45833 * abilist/libBrokenLocale.abilist: Likewise.
45834 * abilist/libanl.abilist: Likewise.
45835 * abilist/libc.abilist: Likewise.
45836 * abilist/libcrypt.abilist: Likewise.
45837 * abilist/libdl.abilist: Likewise.
45838 * abilist/libm.abilist: Likewise.
45839 * abilist/libnsl.abilist: Likewise.
45840 * abilist/libpthread.abilist: Likewise.
45841 * abilist/libresolv.abilist: Likewise.
45842 * abilist/librt.abilist: Likewise.
45843 * abilist/libthread_db.abilist: Likewise.
45844 * abilist/libutil.abilist: Likewise.
45845 * abilist/libnss_db.abilist: New file.
45846
45847 * scripts/abilist.awk: Add support for indirect functions.
45848
a2693a0e
UD
45849 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
45850
3f05895f
UD
45851 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
45852
ecb6fb48
UD
45853 * shlib-versions: Remove entries for ports architectures.
45854
664f8cb9
UD
45855 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
45856 files in ports.
45857 * elf/stackguard-macros.h: Remove support for IA-64.
45858 * elf/tst-auditmod1.c: Likewise.
45859 * sysdeps/generic/ldsodefs.h: Likewise.
45860
7ae81d88
UD
45861 * sysdeps/unix/sysv/linux/configure.in: Ports should define
45862 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
45863 configure files.
45864
bdeba135
UD
45865 [BZ #13552]
45866 * configure.in: Remove --enable-omitfp support.
45867 * FAQ.in: Adjust.
45868 * config.make.in: Likewise.
45869 * Makeconfig: Likewise.
45870 * manual/install.texi: Likewise.
45871
d75a0a62
UD
45872 In case anyone cares, the IA-64 architecture could move to ports.
45873 * sysdeps/ia64/*: Removed.
45874 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 45875 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 45876
dcc9756b
UD
45877 [BZ #13555]
45878 * configure.in: Remove entries for unsupported architectures.
45879
d3761ebc 45880 [BZ #13533]
9954432e
UD
45881 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
45882 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
45883 routines.
45884 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
45885 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
45886 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
45887 fall back to using wcrtomb.
45888 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
45889 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
45890 renaming.
45891 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
45892 * wcsmbs/tst-c16c32-1.c: New file.
45893
45894 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
45895 local variable.
45896
c3a87236
UD
45897 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
45898
28926a1b
UD
45899 * elf/tst-unique3.cc: Add explicit declaration of gets.
45900 * elf/tst-unique3lib.cc: Likewise.
45901 * elf/tst-unique3lib2.cc: Likewise.
45902 * elf/tst-unique4.cc: Likewise.
45903
df78418a
UD
45904 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45905
8ecd6b2a
JM
459062012-01-06 Joseph Myers <joseph@codesourcery.com>
45907
45908 [BZ #13566]
45909 * assert/assert.h (static_assert): Don't define for C++.
45910 * libio/stdio.h (gets): Do declare for C++ <= C++11.
45911 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45912
9f115170
UD
459132012-01-03 Ulrich Drepper <drepper@gmail.com>
45914
5e0d0300
UD
45915 * iconv/loop.c (single loop): Fix assertion in storing of
45916 remaining bytes.
45917
9f115170
UD
45918 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45919
81fb02b0
UD
459202012-01-01 Ulrich Drepper <drepper@gmail.com>
45921
45922 * posix/getconf.c: Update copyright year.
45923 * nss/getent.c: Likewise.
a316c1f6 45924 * nss/makedb.c: Likewise.
81fb02b0
UD
45925 * iconv/iconvconfig.c: Likewise.
45926 * iconv/iconv_prog.c: Likewise.
45927 * elf/ldconfig.c: Likewise.
a316c1f6
UD
45928 * elf/pldd.c: Likewise.
45929 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
45930 * catgets/gencat.c: Likewise.
45931 * csu/version.c: Likewise.
45932 * elf/ldd.bash.in: Likewise.
45933 * elf/sprof.c (print_version): Likewise.
45934 * locale/programs/locale.c: Likewise.
45935 * locale/programs/localedef.c: Likewise.
a316c1f6 45936 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
45937 * nscd/nscd.c (print_version): Likewise.
45938 * debug/xtrace.sh: Likewise.
45939 * malloc/memusage.sh: Likewise.
45940 * malloc/mtrace.pl: Likewise.
45941 * debug/catchsegv.sh: Likewise.
45942
2ba92745
JJ
459432011-12-30 Jakub Jelinek <jakub@redhat.com>
45944
45945 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45946 pure attribute.
45947
dadebdae
UD
459482011-12-24 Ulrich Drepper <drepper@gmail.com>
45949
d3761ebc 45950 [BZ #13533]
db6af3eb
UD
45951 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45952 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45953 transformations.
45954 * iconv/gconv_int.h: Likewise.
45955 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45956 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45957 from libc for GLIBC_2.16.
45958 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45959 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45960 * wcsmbs/uchar.h: Really define mbstate_t.
45961 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45962 * wcsmbs/c16rtomb.c: New file.
45963 * wcsmbs/mbrtoc16.c: New file.
45964 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45965 for C/POSIX locale.
45966 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45967 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45968
dadebdae
UD
45969 * wcsmbs/wchar.h: Add missing __restrict.
45970
67371b56
UD
459712011-12-23 Ulrich Drepper <drepper@gmail.com>
45972
74033a25
UD
45973 [BZ #13532]
45974 * time/Makefile (routines): Add timespec_get.
45975 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45976 * time/time.h: Define TIME_UTC and declare timespec_get. Define
45977 timespec for ISO C11.
45978 * time/timespec_get.c: New file.
45979 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45980 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45981
380d7e87
UD
45982 [BZ #13531]
45983 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45984 * stdlib/stdlib.h: Declare aligned_alloc.
45985 * Versions.def: Add GLIBC_2.16 for libc.
45986 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45987
4e9e7a35
UD
45988 [BZ 13527]
45989 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45990 ISO C11.
45991
380d7e87 45992 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
45993 code.
45994
03a71829
UD
45995 [BZ #13528]
45996 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45997
839e283e
UD
45998 [BZ #13529]
45999 * assert/assert.h (static_assert): Define.
46000
ce5294e2 46001 * version.h: Update for 2.16 development version.
90fa7312 46002
8d44e150 46003 [BZ #13526]
d7809905
UD
46004 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
46005 _ISOC11_SOURCE.
46006
c0da14cd
UD
46007 * version.h (RELEASE): Bump for 2.15 release.
46008 * include/features.h (__GLIBC_MINOR__): Bump to 15.
46009
530a3249
MP
46010 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
46011 Patch by Marek Polacek <mpolacek@redhat.com>.
46012
67371b56
UD
46013 * bits/byteswap.h: Protect long long constants with __extension__.
46014 * sysdeps/i386/bits/byteswap.h: Likewise.
46015 * sysdeps/ia64/bits/byteswap.h: Likewise.
46016 * sysdeps/s390/bits/byteswap.h: Likewise.
46017 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46018
15db4de1
LD
460192011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46020
46021 [BZ #13540]
bbe315ea
LD
46022 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
46023 destination buffer.
15db4de1
LD
46024 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
46025
2b2596b1
MP
460262011-12-23 Marek Polacek <polacek@redhat.com>
46027
46028 * elf/dl-addr.c (determine_info): Add inline keyword.
46029 * elf/tst-auditmod4b.c (check_avx): Likewise.
46030 * elf/tst-auditmod6b.c (check_avx): Likewise.
46031 * elf/tst-auditmod6c.c (check_avx): Likewise.
46032 * elf/tst-auditmod7b.c (check_avx): Likewise.
46033
70c6c246
UD
460342011-12-23 Ulrich Drepper <drepper@gmail.com>
46035
46036 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
46037 !__SSE_MATH__.
46038
c044cf14
LD
460392011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46040
15db4de1 46041 [BZ #13540]
c044cf14
LD
46042 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
46043 processing for last bytes.
46044
6b13d9d9
BH
460452011-08-06 Bruno Haible <bruno@clisp.org>
46046
d455f537
BH
46047 [BZ #13061]
46048 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
46049 U+0385, not to U+1FEE.
46050
6b13d9d9
BH
46051 [BZ #13062]
46052 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
46053 entry for U+00A5 U+0301.
46054
db910efd
UD
460552011-12-22 Ulrich Drepper <drepper@gmail.com>
46056
27deeafc
UD
46057 [BZ #13166]
46058 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
46059 buffer for the output is too small.
46060
aed9d171
UD
46061 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
46062 optimization.
46063
db910efd
UD
46064 [BZ #13185]
46065 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
46066 SSE flags if possible.
46067
2bd779ae
LD
460682011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46069
e7f9dac3 46070 [BZ #13540]
2bd779ae
LD
46071 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
46072 processing for last bytes.
46073
154bfc16
JM
460742011-12-22 Joseph Myers <joseph@codesourcery.com>
46075
46076 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
46077 (syscall-list-default-options, syscall-list-default-condition)
46078 (syscall-list-includes): Define.
46079 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
46080 list of ABIs and options and #if conditions for each ABI. Do not
46081 handle common syscalls between ABIs specially.
46082 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
46083 Remove.
46084 (syscall-list-variants, syscall-list-32bit-options)
46085 (syscall-list-32bit-condition, syscall-list-64bit-options)
46086 (syscall-list-64bit-condition): Define.
46087 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
46088 (syscall-list-variants, syscall-list-32bit-options)
46089 (syscall-list-32bit-condition, syscall-list-64bit-options)
46090 (syscall-list-64bit-condition): Define.
46091 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
46092 Remove.
46093 (syscall-list-variants, syscall-list-32bit-options)
46094 (syscall-list-32bit-condition, syscall-list-64bit-options)
46095 (syscall-list-64bit-condition): Define.
46096 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
46097 Remove.
46098 (syscall-list-variants, syscall-list-32bit-options)
46099 (syscall-list-32bit-condition, syscall-list-64bit-options)
46100 (syscall-list-64bit-condition): Define.
46101
21eaf3a5
UD
461022011-12-22 Ulrich Drepper <drepper@gmail.com>
46103
16c6f992
UD
46104 * locale/iso-639.def: Add brx entry.
46105
41043168
UD
46106 [BZ #13328]
46107 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
46108 Proposed by Mariusz_Cukr <marcukr@op.pl>.
46109
21eaf3a5
UD
46110 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
46111 __feraiseexcept_renamed.
46112
e3a851a2
UD
461132011-12-21 Ulrich Drepper <drepper@gmail.com>
46114
4920765e
UD
46115 [BZ #13538]
46116 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
46117 EPOLLET with unsigned values.
46118 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46119 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46120
e3a851a2
UD
46121 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
46122 to large cancellation.
46123 * math/s_cacoshf.c: Likewise.
46124 * math/s_cacoshl.c: Likewise.
46125
b27e24b8
RK
461262011-11-18 Richard B. Kreckel <kreckel@ginac.de>
46127
46128 [BZ #13305]
aebefeee 46129 [BZ #12786]
b27e24b8
RK
46130 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
46131 * math/s_cacoshf.c: Likewise.
46132 * math/s_cacoshl.c: Likewise.
46133
ee190f67
UD
461342011-12-21 Ulrich Drepper <drepper@gmail.com>
46135
46136 [BZ #13439]
46137 * iconv/gconv.h: Define __GCONV_SWAP.
46138 * iconvdata/unicode.c: The swap bit must be stored in __flags.
46139 * iconvdata/utf-16.c: Likewise.
46140 * iconvdata/utf-32.c: Likewise.
46141
707f25df
AS
461422011-12-21 Andreas Schwab <schwab@linux-m68k.org>
46143
46144 [BZ #13524]
46145 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
46146 numerator after shifting it by one limb.
46147
d2daaa1e
RÁE
461482011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
46149
46150 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
46151 under [__USE_EXTERN_INLINES].
46152
a4647e72
UD
461532011-12-17 Ulrich Drepper <drepper@gmail.com>
46154
46155 [BZ #13446]
46156 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
46157
f0b264f1
AZ
461582011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46159
46160 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
46161 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
46162 optimized code.
46163 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
46164 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
46165 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
46166 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
46167 for strncasecmp/strncasecmp_l compilation.
46168 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
46169 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
46170
8ef4f244
MP
461712011-12-08 Marek Polacek <mpolacek@redhat.com>
46172
46173 [BZ #13484]
46174 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
46175 of __asm__.
46176
97ac2654
UD
461772011-12-17 Ulrich Drepper <drepper@gmail.com>
46178
46179 [BZ #13506]
46180 * time/tzfile.c (__tzfile_read): Check values from file header.
46181
91d2a845
WS
461822011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
46183
46184 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
46185 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
46186 * powerpc/powerpc32/dl-start.S: Likewise.
46187 * powerpc/powerpc32/elf/start.S: Likewise.
46188 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
46189 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
46190 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
46191 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
46192 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
46193 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
46194 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
46195 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
46196 * powerpc/powerpc32/fpu/s_round.S: Likewise.
46197 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46198 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46199 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46200 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
46201 * powerpc/powerpc32/memset.S: Likewise.
46202 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46203 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46204 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46205 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46206 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46207 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46208 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46209 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46210 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
46211 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
46212 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
46213 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46214 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46215
a1267ba1
AZ
462162011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46217
46218 * math/libm-test.inc: Added more nearbyint tests.
46219 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
46220 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
46221 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
46222 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
46223
ad8ac1bd
RL
462242011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
46225
46226 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
46227 FD_CLOEXEC.
46228
1d3e4b61
UD
462292011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46230
46231 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
46232 Add wcscpy-ssse3 wcscpy-c.
46233 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
46234 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
46235 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
46236 * sysdeps/x86_64/wcschr.S: New file.
46237 * sysdeps/x86_64/wcsrchr.S: New file.
46238 * string/test-strcmp.c: Remove checking of wcscmp function for
46239 wrong alignments.
46240 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
46241 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
46242 wcsrchr-sse2 wcsrchr-c.
46243 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
46244 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
46245 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
46246 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
46247 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
46248 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
46249 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
46250 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
46251 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
46252 * wcsmbc/wcschr.c (WCSCHR): New macro.
46253
5b330a2d
UD
462542011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46255
46256 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
46257 * wcsmbs/test-wcsrchr.c: New file.
46258 * string/test-strrchr.c: Add wcsrchr support.
46259 (WIDE): New macro.
46260 * wcsmbs/test-wcscpy.c: New file.
46261 * string/test-strcpy.c: Add wcscpy support.
46262 (WIDE): New macro.
26428b7c 46263
f039c043
UD
462642011-12-10 Ulrich Drepper <drepper@gmail.com>
46265
46266 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
46267 the inner loop.
46268
850fb039
AS
462692011-12-06 Andreas Schwab <schwab@linux-m68k.org>
46270
46271 [BZ #13472]
46272 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
46273
4efbd5cb
UD
462742011-12-04 Ulrich Drepper <drepper@gmail.com>
46275
52ff5dd0 46276 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 46277 Minor optimizations.
52ff5dd0 46278
4efbd5cb
UD
46279 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
46280 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
46281 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
46282
8a426e12
UD
462832011-12-03 Ulrich Drepper <drepper@gmail.com>
46284
aff2453d
UD
46285 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
46286 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
46287 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
46288 for gcc to avoid warnings.
46289 * inet/Makefile (tests): Add tst-checks.
46290 * inet/tst-checks.c: New file.
46291
46292 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
46293 warning.
46294
46295 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
46296 __wmemcmp_sse2.
46297
46298 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
46299 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
46300
8a426e12
UD
46301 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
46302
9bea3473
UD
463032011-12-02 Ulrich Drepper <drepper@gmail.com>
46304
3a965496
UD
46305 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
46306 problem.
46307
9bea3473
UD
46308 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
46309
f101631b
UD
463102011-11-29 Joseph Myers <joseph@codesourcery.com>
46311
46312 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
46313 conditional on GCC version.
46314 (__arch_compare_and_exchange_val_8_acq)
46315 (__arch_compare_and_exchange_val_16_acq)
46316 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
46317 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
46318 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
46319
a98275aa
UD
463202011-12-02 Joseph Myers <joseph@codesourcery.com>
46321
46322 * sysdeps/sh/backtrace.c: New file.
46323
d4cc29a2
AS
463242011-12-02 Andreas Schwab <schwab@redhat.com>
46325
46326 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
46327 parenthesis.
46328
6257af2d
AS
463292011-12-01 Andreas Schwab <schwab@redhat.com>
46330
46331 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
46332 falling back to utime.
46333
b5f44c1a
AS
463342011-11-30 Andreas Schwab <schwab@redhat.com>
46335
46336 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
46337 expectations for float.
46338
f3a6cc0a
AS
463392011-11-29 Andreas Schwab <schwab@redhat.com>
46340
46341 * locale/weight.h (findidx): Add parameter len.
46342 * locale/weightwc.h (findidx): Likewise.
46343 * posix/fnmatch_loop.c (FCT): Adjust caller.
46344 * posix/regcomp.c (build_equiv_class): Likewise.
46345 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
46346 * posix/regexec.c (check_node_accept_bytes): Likewise.
46347 * string/strcoll_l.c (STRCOLL): Likewise.
46348 * string/strxfrm_l.c (STRXFRM): Likewise.
46349
9d65ea3a
UD
463502011-11-17 Ulrich Drepper <drepper@gmail.com>
46351
46352 * Makefile.in: Remove CVSOPT handling.
46353 * configure.in: Remove use of AC_REVISION.
46354 * iconvdata/Makefile (distribute): No need to filter out CVS.
46355 * scripts/list-sources.sh: Remove CVS, subversion and monotone
46356 handling.
46357
5583a086
AS
463582011-11-16 Andreas Schwab <schwab@redhat.com>
46359
46360 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
46361 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
46362 [USE_AS_STRNCASECMP_L]: Likewise.
46363 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
46364 NO_TLS_DIRECT_SEG_REFS.
46365 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
46366 Fix argument offsets for non-PIC.
46367 [USE_AS_STRNCASECMP_L]: Likewise.
46368 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
46369 NO_TLS_DIRECT_SEG_REFS.
46370
d62a8200
UD
463712011-11-15 Ulrich Drepper <drepper@gmail.com>
46372
9d65ea3a 46373 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
46374 O_CLOEXEC.
46375 * locale/loadlocale.c (_nl_load_locale): Likewise.
46376
09f93bd3
AS
463772011-11-15 Andreas Schwab <schwab@redhat.com>
46378
446514f9
AS
46379 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
46380 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
46381 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
46382 (SYSCALL_GETTIME): Set errno on error.
46383
09f93bd3
AS
46384 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
46385 count references to noai6ai_cached.
46386
312be3f9
UD
463872011-11-15 Ulrich Drepper <drepper@gmail.com>
46388
46389 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
46390
46391 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
46392 FD_CLOEXEC for /proc/self/maps.
46393
46394 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
46395 FD_CLOEXEC for /proc/meminfo.
46396
46397 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
46398 gai.conf.
46399
46400 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
46401 FD_CLOEXEC for given file.
46402
46403 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
46404
46405 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
46406 FD_CLOEXEC for /etc/hosts.
46407 (_gethtent): Likewise.
46408
46409 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
46410
46411 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
46412 cancellation and set FD_CLOEXEC for /etc/netgroup.
46413
46414 * nss/nss_files/files-key.c (search): Don't allow cancellation when
46415 reading /etc/publickey.
46416
46417 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
46418 allow cancellation when reading /etc/group.
46419
46420 * nss/nss_files/files-alias.c (internal_setent): Don't allow
46421 cancellation.
46422 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
46423
46424 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
46425 when using data file.
46426
46427 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
46428
46429 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
46430 (write_nis_obj): Use "c" and "e" in fopen.
46431
46432 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
46433
46434 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
46435
46436 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
46437
46438 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
46439
46440 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
46441 locale.alias.
46442
46443 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
46444
46445 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
46446
46447 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
46448
46449 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
46450 file parsing and set FD_CLOEXEC.
46451
82af0fa8
UD
464522011-11-14 Ulrich Drepper <drepper@gmail.com>
46453
46454 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
46455
a5fb313c
AS
464562011-11-14 Andreas Schwab <schwab@redhat.com>
46457
46458 * malloc/arena.c (arena_get2): Don't call reused_arena when
46459 _int_new_arena failed.
46460
6abf3465
UD
464612011-11-14 Ulrich Drepper <drepper@gmail.com>
46462
46463 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
46464 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
46465 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
46466 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46467 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46468 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
46469 to compile strcasecmp and strncasecmp.
46470 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
46471 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
46472
46473 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
46474
76e3966e
UD
464752011-11-13 Ulrich Drepper <drepper@gmail.com>
46476
46477 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
46478 locale-defines.sym to gen-as-const-headers.
46479 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
46480 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
46481 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
46482 to compile strcasecmp and strncasecmp.
46483 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
46484 strcasecmp_l and strncasecmp_l.
46485 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
46486 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
46487 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
46488 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
46489 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
46490 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
46491 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
46492 * sysdeps/i386/i686/multiarch/strncase.S: New file.
46493 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
46494 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
46495 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
46496
ab26144e
UD
464972011-11-12 Ulrich Drepper <drepper@gmail.com>
46498
7edb22ef
UD
46499 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
46500 result of SYSDEP_GETTIME_CPU to retval.
46501 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
46502 parameter list to macro. Remove trailing semicolon. Adjust users.
46503
9694fc44
UD
46504 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
46505 variable.
46506
8ad89ef8
UD
46507 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
46508 mantissa words.
46509 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
46510
0c822ef9
UD
46511 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
46512 from unused variable.
46513
874e0564
UD
46514 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
46515 DWARF definitions.
46516 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
46517 for assembling.
46518
3a2edc79
UD
46519 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
46520 over namespaces.
46521
f3c2577f
UD
46522 * sunrpc/rpc_prot.c (rejected): Fix case value.
46523
294ce126
UD
46524 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
46525 unsigned long long int to avoid warnings in shift.
46526
5e2b63c6
UD
46527 * posix/regex_internal.c (re_string_reconstruct): Actually use result
46528 of use of trans.
46529 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
46530 variable tmp.
46531
e7f4b08e
UD
46532 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
46533 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
46534 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
46535
ab26144e
UD
46536 * nis/nis_table.c (nis_list): Use variable of correct type for
46537 result of __follow_path call.
46538
8a6d5255
AZ
465392011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46540
46541 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
46542 of math functions ceil, trunc, floor, round, and sqrt, when
46543 avaliable on the platform.
46544 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
46545 name clash.
46546 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46547 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46548 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46549
aaddc98c
MP
465502011-10-30 Marek Polacek <mpolacek@redhat.com>
46551
46552 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
46553 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46554
95b7042b
RM
465552011-11-11 Roland McGrath <roland@hack.frob.com>
46556
46557 * include/unistd.h: Fix __readlink return type.
46558 Reported by Chris Metcalf <cmetcalf@tilera.com>.
46559
57769839
UD
465602011-11-11 Ulrich Drepper <drepper@gmail.com>
46561
46562 * stdlib/ucontext.h: Undo last change for makecontext.
46563
edc5984d
AS
465642011-11-11 Andreas Schwab <schwab@redhat.com>
46565
98591e58
AS
46566 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
46567
edc5984d
AS
46568 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
46569 * setjmp/setjmp.h: Mark functions as non-leaf.
46570 * setjmp/bits/setjmp2.h: Likewise.
46571 * stdlib/ucontext.h: Likewise.
46572
77cdc054
AS
465732011-11-10 Andreas Schwab <schwab@redhat.com>
46574
46575 * malloc/arena.c (_int_new_arena): Don't increment narenas.
46576 (reused_arena): Don't check arena limit.
46577 (arena_get2): Atomically check arena limit.
46578
fe72eebd
UD
465792011-11-08 Ulrich Drepper <drepper@gmail.com>
46580
5f078c32
UD
46581 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
46582 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
46583
fe72eebd
UD
46584 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
46585 instructions.
46586
ae1bc2fa
AS
465872011-11-07 Andreas Schwab <schwab@redhat.com>
46588
7583a88d
AS
46589 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
46590 handler when locking.
46591
ae1bc2fa
AS
46592 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46593 Fix size of allocated buffer.
46594
10fb0bfa
AS
465952011-11-04 Andreas Schwab <schwab@redhat.com>
46596
998832a4
AS
46597 [BZ #10103]
46598 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
46599 declarations for long double functions.
46600 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
46601
10fb0bfa
AS
46602 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
46603
3d7ba52b
AS
466042011-11-03 Andreas Schwab <schwab@redhat.com>
46605
a9ae54a1
AS
46606 * nscd/nscd.c (main): Don't start AVC thread until credentials are
46607 installed.
46608
3d7ba52b
AS
46609 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
46610 is disabled.
46611
bc8db248
ST
466122011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
46613
46614 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
46615
45b96dd6
AS
466162011-11-01 Andreas Schwab <schwab@linux-m68k.org>
46617
647776f6
AS
46618 * include/alloca.h (stackinfo_alloca_round): Define.
46619 (extend_alloca): Use it.
46620 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
46621 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
46622 here.
46623
d91a8b93
AS
46624 * scripts/check-local-headers.sh: Ignore libaudit.h.
46625
45b96dd6
AS
46626 * nscd/Makefile (extra-objs): Make recursively expanded.
46627
432d41ce
UD
466282011-11-01 Ulrich Drepper <drepper@gmail.com>
46629
34372fc6
UD
46630 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
46631 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46632
fadb59f8
UD
46633 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
46634 * posix/tst-rfc3484-2.c: Likewise.
46635 * posix/tst-rfc3484-3.c: Likewise.
46636
78239589
UD
46637 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46638 process_vm_writev.
46639 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
46640 process_vm_writev.
46641 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
46642 process_vm_writev from libc using GLIBC_2.15 version.
46643
432d41ce
UD
46644 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
46645
02f9c6cf
PP
466462011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
46647
46648 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
46649 stack usage.
46650
3a2c0242
UD
466512011-10-31 Ulrich Drepper <drepper@gmail.com>
46652
f4ec4833
UD
46653 [BZ #13367]
46654 * nss/getent.c (initgroups_keys): Show error message in case no group
46655 names are given.
46656
3a2c0242
UD
46657 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
46658 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
46659 __bump_nl_timestamp.
46660 * nscd/connections (nscd_init): When host database is served open
46661 netlink socket and request notification about configuration changes.
46662 (main_loop_poll): Track netlink file descriptor and bump timestamp
46663 in case data becomes available.
46664 (main_loop_epoll): Likewise.
46665 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
46666 (database_pers_head): Add extra_data fileds.
46667 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
46668 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
46669 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
46670 Adjust caller.
46671 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
46672 in6ai data, call __free_in6ai.
46673 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
46674 Add -DHAVE_NETLINK.
46675 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
46676 interface information. Reuse previous data if netlink timestamp
46677 is not changed.
46678 (__bump_nl_timestamp): New function.
46679 (__free_in6ai): New function.
46680
636064eb
UD
466812011-10-30 Ulrich Drepper <drepper@gmail.com>
46682
46683 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
46684 close_not_cancel_no_status here.
46685 (__check_pf): Reorganize code a bit to not call close twice if OOM.
46686
9beb2334
UD
466872011-10-29 Ulrich Drepper <drepper@gmail.com>
46688
6ef76f3b
UD
46689 [BZ #13276]
46690 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
46691 return value.
46692
0ffc4f3e 46693 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
46694 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
46695 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
46696
cb95113e
UD
466972011-07-03 Andreas Jaeger <aj@suse.de>
46698
46699 [BZ #10709]
46700 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
46701 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
46702 * math/libm-test.inc (sin_test): Add test case.
46703
a1b560ff
UD
467042011-10-29 Ulrich Drepper <drepper@gmail.com>
46705
c9aaface
UD
46706 [BZ #13337]
46707 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
46708 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46709
d272e7f1
UD
46710 * elf/chroot_canon.c (chroot_canon): Cleanups.
46711
1bc33071
UD
46712 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
46713
1760874d
TJ
46714 [BZ #13335]
46715 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
46716 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46717
51d91b18
UD
46718 * string/test-strchr.c: Make usable for strchrnul testing.
46719 * string/test-strchrnul.c: New file.
46720 * string/Makefile (strop-tests): Add strchrnul.
46721
a1b560ff 46722 * po/it.po: Update from translation team.
b611fb81 46723 * po/es.po: Likewise.
a1b560ff 46724
a5b81e1f
UD
467252011-10-28 Ulrich Drepper <drepper@gmail.com>
46726
fd52bc6d
UD
46727 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
46728 the three constants needed as parameters. Drop the others.
46729 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
46730 __m128i_strloadu_tolower.
52e4b9eb
UD
46731 Create and initialize variable zero and use it in all the places
46732 where _mm_setzero_si128 was used.
fd52bc6d 46733
a5b81e1f
UD
46734 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
46735 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
46736 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
46737 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
46738 anymore.
46739 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
46740 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
46741 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
46742 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
46743 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
46744 __mpranred, __mptan.
46745 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
46746 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
46747 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
46748 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
46749 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
46750 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
46751 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
46752 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
46753 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
46754
b4343346
AS
467552011-10-28 Andreas Schwab <schwab@redhat.com>
46756
0c92d8a8
AS
46757 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
46758 redefine if SHARED.
46759 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
46760
b4343346
AS
46761 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
46762 wide char related routines to wcsmbs subdir.
46763
3871f58f
AS
467642011-10-27 Andreas Schwab <schwab@redhat.com>
46765
46766 [BZ #13344]
46767 * misc/sys/cdefs.h (__THROWNL): Define.
46768 * posix/unistd.h: Use __THREADNL instead of __THREAD
46769 for memory synchronization functions.
46770
94d44d9f
RM
467712011-10-26 Roland McGrath <roland@hack.frob.com>
46772
21b64b15 46773 [BZ #13349]
94d44d9f
RM
46774 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
46775 doesn't exist.
46776 * manual/stdio.texi (Obstack Streams): Node removed.
46777
f6ce9294
AS
467782011-10-26 Andreas Schwab <schwab@redhat.com>
46779
80479147
AS
46780 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
46781 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46782 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46783
f6ce9294
AS
46784 * math/math_private.h (math_force_eval): Allow non-addressable
46785 arguments.
46786 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
46787
618280a1
UD
467882011-10-25 Ulrich Drepper <drepper@gmail.com>
46789
e0016b11
UD
46790 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
46791 file is not needed.
46792
46793 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
46794 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
46795 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46796 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46797 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46798 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46799 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46800 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
46801 Add AVX variants.
46802 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
46803 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
46804 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
46805 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
46806 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
46807 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
46808 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
46809 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
46810 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
46811 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
46812 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
46813 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
46814 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
46815 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
46816 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
46817 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
46818 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
46819 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
46820 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
46821
46822 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
46823 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
46824
618280a1
UD
46825 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
46826 place. Use VEX encoding when compiling for AVX.
46827
37822576
AS
468282011-10-25 Andreas Schwab <schwab@redhat.com>
46829
1f1e1947
AS
46830 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
46831 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46832
37822576
AS
46833 * string/test-strchr.c (do_test): Don't generate NUL bytes.
46834
31ea014d
UD
468352011-10-25 Ulrich Drepper <drepper@gmail.com>
46836
d7826aa1 46837 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 46838 useless if() expression.
d7826aa1
UD
46839 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46840 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46841 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46842 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46843 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46844 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46845 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46846 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46847 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46848 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46849 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46850 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46851 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46852 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46853 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46854 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46855 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46856 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46857 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46858
31ea014d
UD
46859 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
46860
16437fec
AS
468612011-10-25 Andreas Schwab <schwab@redhat.com>
46862
46863 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
46864 condition.
46865 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46866
31d3cc00
UD
468672011-10-25 Ulrich Drepper <drepper@gmail.com>
46868
46869 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
46870 .text section. Avoid duplicate constants.
46871 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46872 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46873 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46874 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46875 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46876 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46877 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46878 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46879 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46880 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
46881 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46882 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46883 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46884 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46885 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46886 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46887 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46888 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46889 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46890 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46891 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46892 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46893 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46894 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
46895 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
46896 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
46897 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
46898 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
46899 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
46900 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
46901 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
46902 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
46903 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46904 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
46905 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46906 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46907 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46908 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46909 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46910 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46911 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46912 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46913 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46914 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46915 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46916
58985aa9
UD
469172011-10-24 Ulrich Drepper <drepper@gmail.com>
46918
202c9deb
UD
46919 * sysdeps/x86_64/dla.h: Move to ...
46920 * sysdeps/x86_64/fpu/dla.h: ...here.
46921 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46922 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 46923
af968f62
UD
46924 * config.make.in: Add have-mfma4 entry.
46925 * configure.in: Substitute libc_cv_cc_fma4.
46926 * math/Makefile (dbl-only-routines): Add sincostab.
46927 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46928 Use __sincostab not sincos.
46929 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46930 name is a macro.
46931 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46932 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46933 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46934 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
46935 using __copysign.
46936 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
46937 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
46938 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46939 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46940 and __inv.
46941 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46942 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46943 __copysign.
46944 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
46945 define aliases when function name is a macro.
46946 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46947 sysdeps/ieee754/dbl-64/sincos.tbl.
46948 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46949 fma4-enabled routines.
46950 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46951 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46952 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46953 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46954 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46955 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46956 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46957 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46958 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46959 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46960 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46961 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46962 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46963 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46964 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46965 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46966 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46967 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46968 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46969 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46970 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46971 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46972 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46973 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46974 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46975 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46976 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46977 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46978 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46979 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46980
58985aa9
UD
46981 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46982 rename.
46983 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46984 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46985 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46986 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46987 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46988 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46989 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46990 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46991
a201fbcf
AS
469922011-10-24 Andreas Schwab <schwab@redhat.com>
46993
46994 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46995
fc2ee42a
LD
469962011-10-23 Ulrich Drepper <drepper@gmail.com>
46997
bb3129bd
UD
46998 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
46999
0275fff8
UD
47000 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
47001 prediction.
47002 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
47003
2fa2ae85
UD
47004 * string/strnlen.c: Don't define STRNLEN, reverse logic.
47005 Remove unused variable magic_bits.
47006 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
47007
fc2ee42a
LD
47008 * string/strnlen.c: Define and use STRNLEN macro.
47009 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
47010 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
47011 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
47012 * wcsmbs/wcslen.c: Define and use WCSLEN.
47013 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
47014 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
47015 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
47016 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
47017 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
47018 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
47019 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47020
ce7dd29f
LD
470212011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47022
47023 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47024 strnlen-sse2-no-bsf.
47025 Rename strlen-no-bsf to strlen-sse2-no-bsf.
47026 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
47027 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
47028 Add strnlen support.
47029 (USE_AS_STRNLEN): New macro.
47030 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
47031 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
47032 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
47033 * sysdeps/x86_64/wcslen.S: New file.
47034
979c70a3
MZ
470352011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
47036
47037 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
47038 XMM-moves are used for copying on small sizes.
47039
2d09f82f
LD
470402011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47041
47042 * wcsmbs/Makefile (strop-tests): Add wcschr.
47043 * wcsmbs/test-wcschr.c: New file.
47044 * string/test-strchr.c: Update.
47045 Add wcschr support.
47046 (WIDE): New macro.
47047
619fccca
LD
470482011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47049
2d09f82f 47050 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
47051 * wcsmbs/test-wcslen.c: New file.
47052 * string/test-strlen.c: Update.
47053 Add wcslen support.
47054 (WIDE): New macro.
47055
09f699ea
UD
470562011-10-23 Ulrich Drepper <drepper@gmail.com>
47057
47058 * po/it.po: Update from translation team.
47059
95584d3b
LD
470602011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47061
47062 * sysdeps/x86_64/wcscmp.S: Update.
47063 Fix wrong comparison semantics.
47064 wcscmp shall use signed comparison not unsigned.
47065 Don't use substraction to avoid overflow bug.
47066 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
47067 * wcsmbc/wcscmp.c: Likewise.
47068 * string/test-strcmp.c: Likewise.
47069 Add new tests to check cases with negative values.
47070
c8b3296b
UD
470712011-10-23 Ulrich Drepper <drepper@gmail.com>
47072
47073 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
47074 * sysdeps/x86_64/dla.h: ...here. New file.
47075 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
47076 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47077 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47078 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47079 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47080 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47081 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47082 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47083 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47084
246ad57a
AS
470852011-10-23 Andreas Schwab <schwab@linux-m68k.org>
47086
47087 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
47088 __ynl_finite aliases.
47089
a1a87169
UD
470902011-10-22 Ulrich Drepper <drepper@gmail.com>
47091
0d355eb7
UD
47092 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47093
a1a87169
UD
47094 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
47095 define DLA_FMA.
47096 [DLA_FMA] (EMULV): Use DLA_FMA.
47097 [DLA_FMA] (MUL12): Use EMULV.
47098 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
47099 that are not needed.
47100 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47101 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47102 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47103 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47104 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47105 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47106 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47107
ee2aafe0
AS
471082011-10-22 Andreas Schwab <schwab@linux-m68k.org>
47109
47110 * math/s_nan.c: Undef __nan.
47111 * math/s_nanf.c: Undef __nanf.
47112 * math/s_nanl.c: Undef __nanl.
47113 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
47114 "math_private.h".
47115
bc62c2fb
UD
471162011-10-22 Ulrich Drepper <drepper@gmail.com>
47117
77425c63
UD
47118 * math/s_catan.c: Add branch predictions.
47119 * math/s_catanf.c: Likewise.
47120 * math/s_catanh.c: Likewise.
47121 * math/s_catanhf.c: Likewise.
47122 * math/s_catanhl.c: Likewise.
47123 * math/s_catanl.c: Likewise.
47124 * math/s_cexp.c: Likewise.
47125 * math/s_cexpf.c: Likewise.
47126 * math/s_cexpl.c: Likewise.
47127 * math/s_clog.c: Likewise.
47128 * math/s_clog10.c: Likewise.
47129 * math/s_clog10f.c: Likewise.
47130 * math/s_clog10l.c: Likewise.
47131 * math/s_clogf.c: Likewise.
47132 * math/s_clogl.c: Likewise.
47133 * math/s_csqrt.c: Likewise.
47134 * math/s_csqrtf.c: Likewise.
47135 * math/s_csqrtl.c: Likewise.
47136 * math/s_ctanf.c: Likewise.
47137 * math/s_ctanh.c: Likewise.
47138 * math/s_ctanhf.c: Likewise.
47139 * math/s_ctanhl.c: Likewise.
47140 * math/s_ctanl.c: Likewise.
47141
bc62c2fb
UD
47142 * math/math_private.h: Define __nan, __nanf, __nanl.
47143 * math/s_cacosh.c: Include <math_private.h>.
47144 * math/s_cacoshl.c: Likewise.
47145 * math/s_casinh.c: Likewise.
47146 * math/s_casinhf.c: Likewise.
47147 * math/s_casinhl.c: Likewise.
47148 * math/s_ccos.c: Rely entire on ccosh.
47149 * math/s_ccosf.c: Rely entire on ccoshf.
47150 * math/s_ccosl.c: Rely entirely on ccoshl.
47151 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
47152 Remove tests for FE_INVALID.
47153 * math/s_ccoshf.c: Likewise.
47154 * math/s_ccoshl.c: Likewise.
47155 * math/s_csin.c: Likewise.
47156 * math/s_csinf.c: Likewise.
47157 * math/s_csinh.c Likewise.
47158 * math/s_csinhf.c: Likewise.
47159 * math/s_csinhl.c: Likewise.
47160 * math/s_csinl.c: Likewise.
47161 * math/s_ctan.c: Likewise.
47162 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
47163 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
47164 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
47165
8ec250a4
UD
471662011-10-21 Ulrich Drepper <drepper@gmail.com>
47167
c196fed8
UD
47168 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
47169 compilation problems.
47170
8ec250a4
UD
47171 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
47172 __builtin_expect.
47173
8d4f46c6
UD
471742011-10-20 Ulrich Drepper <drepper@gmail.com>
47175
ed72b654
UD
47176 * sysdeps/i386/configure.in: Test for -mfma4 option.
47177 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
47178 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
47179 COMMON_CPUID_INDEX_80000001.
47180 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
47181 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
47182 use it if FMA3 is not supported.
47183 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
47184
8d4f46c6
UD
47185 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
47186 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47187
d45c60c2
AS
471882011-10-20 Andreas Schwab <schwab@redhat.com>
47189
47190 [BZ #12892]
47191 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
47192 it would create a cycle with a link time dependency.
47193
d9a4d2ab
UD
471942011-10-19 Ulrich Drepper <drepper@gmail.com>
47195
855d1560
UD
47196 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
47197 instruction.
47198 * string/Makefile (strop-tests): Add rawmemchr.
47199 * string/test-rawmemchr.c: New file.
47200
d9a4d2ab
UD
47201 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
47202 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
47203 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
47204 when compiling str{,n}casecmp and when AVX is available. Hook up
47205 new optimized code in initializers.
47206
8f3b1ffe
AS
472072011-10-19 Andreas Schwab <schwab@redhat.com>
47208
47209 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
47210 __feraiseexcept instead of feraiseexcept.
47211
d38f1dba
UD
472122011-10-18 Ulrich Drepper <drepper@gmail.com>
47213
d9a8d0ab
UD
47214 * math/math_private.h: Define defaults for libc_fetestexcept and
47215 libc_feupdateenv.
47216 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
47217 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
47218 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47219 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47220 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47221 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47222 libc_fetestexcept and libc_feupdateenv.
47223
4855e3dd
UD
47224 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
47225 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
47226 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
47227 * sysdeps/x86_64/fpu/math_private.h: Define special version of
47228 libc_feholdexcept_setround.
47229
581d30e3
UD
47230 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
47231 Add s_nearbyint-c and s_nearbyintf-c.
47232 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
47233 nearbyintf inlines.
47234 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
47235 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
47236 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
47237 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
47238
d38f1dba
UD
47239 * math/math_private.h: Define defaults for libc_fegetround,
47240 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
47241 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
47242 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
47243 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
47244 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
47245 standard functions.
47246 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47247 Remove comments and hacks for old compiler versions.
47248 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47249 libc_fegetround, libc_fesetround, libc_feholdexcept, and
47250 libc_feholdexceptl.
47251
caa6c9d8
AS
472522011-10-18 Andreas Schwab <schwab@redhat.com>
47253
47254 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
47255 (__feraiseexcept_renamed): Add __NTH.
47256 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
47257 namespace violations.
47258
97c066e6
UD
472592011-10-17 Ulrich Drepper <drepper@gmail.com>
47260
99ce7b04
UD
47261 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
47262
1004d182
UD
47263 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
47264
228a984d
UD
47265 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
47266 recently added interfaces.
47267 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
47268
c8553a6a
UD
47269 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
47270 about macro parameter expansion.
47271
ed22dcf6
UD
47272 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
47273 __NO_MATH_INLINES is defined. Cleanups.
47274
47275 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
47276 and __floorf is target has SSE4.1.
47277 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
47278 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
47279 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
47280 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
47281
b171c137
UD
47282 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
47283 name.
47284 (floorf): Likewise.
47285
97c066e6
UD
47286 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
47287
629f62ef
AS
472882011-10-17 Andreas Schwab <schwab@redhat.com>
47289
49a43d80
AS
47290 * misc/sys/cdefs.h: Fix last change.
47291
629f62ef
AS
47292 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
47293 database lookup.
47294
e453f6cd
UD
472952011-10-16 Ulrich Drepper <drepper@gmail.com>
47296
aa78043a
UD
47297 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
47298
ad0f5cad
UD
47299 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
47300 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47301 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47302 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47303 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47304 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47305 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47306 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47307 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47308 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
47309 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
47310 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
47311 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
47312 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
47313 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
47314 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
47315 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
47316 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
47317 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
47318 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
47319 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
47320 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
47321
47322 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
47323 ceil, ceilf, floor, floorf.
47324
47325 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
47326 Perform IRELATIVE relocations last.
47327
e453f6cd
UD
47328 * elf/do-rel.h: Add another parameter nrelative, replacing the
47329 local variable with the same name. Change name of the function
47330 to end in Rel or Rela (uppercase).
47331 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
47332 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
47333 elf_dynamic_do_##reloc function.
47334
fd5bdc09
UD
473352011-10-15 Ulrich Drepper <drepper@gmail.com>
47336
79b195b5
UD
47337 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
47338 is sufficient, at least on modern CPUs.
47339
d4a28569
UD
47340 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
47341
b61099b5
UD
47342 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
47343 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
47344
bcf01e6d
UD
47345 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
47346 __expl_finite.
47347 * math/bits/math-finite.h: Add entries for exp.
47348 * math/e_expl.c: Add __*_finite alias.
47349 * sysdeps/i386/fpu/e_exp.S: Likewise.
47350 * sysdeps/i386/fpu/e_expf.S: Likewise.
47351 * sysdeps/i386/fpu/e_expl.c: Likewise.
47352 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47353 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47354 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47355 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47356 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
47357 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47358 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47359
ba1a0d59
UD
47360 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
47361 is sufficient, at least on modern CPUs.
47362
fd5bdc09
UD
47363 * ctype/ctype-info.c (__ctype_init): Define.
47364 * include/ctype.h (__ctype_init): Declare.
47365 (__ctype_b_loc): The variable is always initialized.
47366 (__ctype_toupper_loc): Likewise.
47367 (__ctype_tolower_loc): Likewise.
47368 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
47369 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
47370
7872cfb0
AS
473712011-10-15 Andreas Schwab <schwab@linux-m68k.org>
47372
b468825a
AS
47373 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
47374
7872cfb0
AS
47375 * configure.in: Also look in $cxxmachine/include for C++ system
47376 headers.
47377
be13f7bf
LD
473782011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47379
47380 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
47381 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
47382 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
47383 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
47384 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
47385 (USE_AS_WMEMCMP): New macro.
47386 Fixing indents.
47387 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
47388 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
47389 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
47390 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
47391 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47392 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
47393 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
47394 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
47395 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
47396 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
47397 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
47398 (USE_AS_WMEMCMP): New macro.
47399 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
47400 * sysdeps/string/test-memcmp.c: Update.
47401 Fix simple_wmemcmp.
47402 Add new tests.
47403 * wcsmbs/wmemcmp.c: Update.
47404 (WMEMCMP): New macro.
47405 Fix overflow bug.
47406
556a2007
AJ
474072011-10-12 Andreas Jaeger <aj@suse.de>
47408
47409 [BZ #13268]
47410 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
47411
538faaa7
UD
474122011-10-15 Ulrich Drepper <drepper@gmail.com>
47413
ab6737ff
UD
47414 * libio/iofwide.c (do_length): Avoid warning.
47415
538faaa7
UD
47416 * ctype/ctype.h (__isctype_f): Add missing __THROW.
47417
396a21b1
UD
474182011-10-14 Ulrich Drepper <drepper@gmail.com>
47419
cdf2901f
UD
47420 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
47421
38ad40ce
UD
47422 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
47423 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
47424 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
47425 * sysdeps/i386/i686/fpu/e_log.S: New file.
47426 * sysdeps/i386/i686/fpu/e_logf.S: New file.
47427 * sysdeps/i386/i686/fpu/e_logl.S: New file.
47428
396a21b1
UD
47429 * ctype/ctype.h: Add support for inlined isXXX functions when
47430 compiling C++ code.
47431
6b1f68c9
AS
474322011-10-14 Andreas Schwab <schwab@redhat.com>
47433
349290c0
AS
47434 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47435
6b1f68c9
AS
47436 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
47437
f2282d42
RM
474382011-10-13 Roland McGrath <roland@hack.frob.com>
47439
47440 [BZ #13291]
47441 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
47442
5298ffa8
AS
474432011-10-13 Andreas Schwab <schwab@redhat.com>
47444
714fad23
AS
47445 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
47446 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
47447 feraiseexcept.
47448
81dcc7fb
AS
47449 * sysdeps/x86_64/memrchr.S: Check for zero size.
47450
5298ffa8
AS
47451 * string/stratcliff.c: Add memrchr tests.
47452
951fbcec
LD
474532011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47454
47455 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47456 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
47457 rawmemchr-sse2 rawmemchr-sse2-bsf.
47458 * sysdeps/i386/i686/multiarch/memchr.S: New file.
47459 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
47460 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
47461 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
47462 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
47463 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
47464 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
47465 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
47466 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
47467 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
47468 * string/memrchr.c (MEMRCHR): New macro.
47469
0ac5ae23
UD
474702011-10-12 Ulrich Drepper <drepper@gmail.com>
47471
47472 Add integration with gcc's -ffinite-math-only and optimize wrapper
47473 functions in libm.
47474 * Versions.def: Define GLIBC_2.15 version for libm.
47475 * math/Makefile (headers): Add bits/math-finite.h.
47476 * math/bits/math-finite.h: New file.
47477 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
47478 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
47479 * math/e_acoshl.c: Add __*_finite alias.
47480 * math/e_acosl.c: Likewise.
47481 * math/e_asinl.c: Likewise.
47482 * math/e_atan2l.c: Likewise.
47483 * math/e_atanhl.c: Likewise.
47484 * math/e_coshl.c: Likewise.
47485 * math/e_exp10.c: Likewise.
47486 * math/e_exp10f.c: Likewise.
47487 * math/e_exp10l.c: Likewise.
47488 * math/e_exp2l.c: Likewise.
47489 * math/e_fmodl.c: Likewise.
47490 * math/e_gammal_r.c: Likewise.
47491 * math/e_hypotl.c: Likewise.
47492 * math/e_j0l.c: Likewise.
47493 * math/e_j1l.c: Likewise.
47494 * math/e_jnl.c: Likewise.
47495 * math/e_lgammal_r.c: Likewise.
47496 * math/e_log10l.c: Likewise.
47497 * math/e_log2l.c: Likewise.
47498 * math/e_logl.c: Likewise.
47499 * math/e_powl.c: Likewise.
47500 * math/e_sinhl.c: Likewise.
47501 * math/e_sqrtl.c: Likewise.
47502 * math/e_scalb.c: Completely rewritten and optimized.
47503 * math/e_scalbf.c: Likewise.
47504 * math/e_scalbl.c: Likewise.
47505 * math/w_acos.c: Likewise.
47506 * math/w_acosf.c: Likewise.
47507 * math/w_acosl.c: Likewise.
47508 * math/w_acosh.c: Likewise.
47509 * math/w_acoshf.c: Likewise.
47510 * math/w_acoshl.c: Likewise.
47511 * math/w_asin.c: Likewise.
47512 * math/w_asinf.c: Likewise.
47513 * math/w_asinl.c: Likewise.
47514 * math/w_atan2.c: Likewise.
47515 * math/w_atan2f.c: Likewise.
47516 * math/w_atan2l.c: Likewise.
47517 * math/w_atanh.c: Likewise.
47518 * math/w_atanhf.c: Likewise.
47519 * math/w_atanhl.c: Likewise.
47520 * math/w_exp10.c: Likewise.
47521 * math/w_exp10f.c: Likewise.
47522 * math/w_exp10l.c: Likewise.
47523 * math/w_fmod.c: Likewise.
47524 * math/w_fmodf.c: Likewise.
47525 * math/w_fmodl.c: Likewise.
47526 * math/w_j0.c: Likewise.
47527 * math/w_j0f.c: Likewise.
47528 * math/w_j0l.c: Likewise.
47529 * math/w_j1.c: Likewise.
47530 * math/w_j1f.c: Likewise.
47531 * math/w_j1l.c: Likewise.
47532 * math/w_jn.c: Likewise.
47533 * math/w_jnf.c: Likewise.
47534 * math/w_log.c: Likewise.
47535 * math/w_logf.c: Likewise.
47536 * math/w_logl.c: Likewise.
47537 * math/w_log10.c: Likewise.
47538 * math/w_log10f.c: Likewise.
47539 * math/w_log10l.c: Likewise.
47540 * math/w_log2.c: Likewise.
47541 * math/w_log2f.c: Likewise.
47542 * math/w_log2l.c: Likewise.
47543 * math/w_pow.c: Likewise.
47544 * math/w_powf.c: Likewise.
47545 * math/w_powl.c: Likewise.
47546 * math/w_remainder.c: Likewise.
47547 * math/w_remainderf.c: Likewise.
47548 * math/w_remainderl.c: Likewise.
47549 * math/w_scalb.c: Likewise.
47550 * math/w_scalbf.c: Likewise.
47551 * math/w_scalbl.c: Likewise.
47552 * math/w_sqrt.c: Likewise.
47553 * math/w_sqrtf.c: Likewise.
47554 * math/w_sqrtl.c: Likewise.
47555 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
47556 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
47557 used.
47558 * math/math_private.h: Declare __kernel_standard_f.
47559 * math/w_cosh.c: Remove cruft and optimize a bit.
47560 * math/w_coshf.c: Likewise.
47561 * math/w_coshl.c: Likewise.
47562 * math/w_exp2.c: Likewise.
47563 * math/w_exp2f.c: Likewise.
47564 * math/w_exp2l.c: Likewise.
47565 * math/w_hypot.c: Likewise.
47566 * math/w_hypotf.c: Likewise.
47567 * math/w_hypotl.c: Likewise.
47568 * math/w_lgamma.c: Likewise.
47569 * math/w_lgamma_r.c: Likewise.
47570 * math/w_lgammaf.c: Likewise.
47571 * math/w_lgammaf_r.c: Likewise.
47572 * math/w_lgammal.c: Likewise.
47573 * math/w_lgammal_r.c: Likewise.
47574 * math/w_sinh.c: Likewise.
47575 * math/w_sinhf.c: Likewise.
47576 * math/w_sinhl.c: Likewise.
47577 * math/w_tgamma.c: Likewise.
47578 * math/w_tgammaf.c: Likewise.
47579 * math/w_tgammal.c: Likewise.
47580 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47581 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47582 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
47583 Minor optimizations. Pretty printing. Remove cruft.
47584 * sysdeps/i386/fpu/e_acosf.S: Likewise.
47585 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47586 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47587 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47588 * sysdeps/i386/fpu/e_acosl.c: Likewise.
47589 * sysdeps/i386/fpu/e_asin.S: Likewise.
47590 * sysdeps/i386/fpu/e_asinf.S: Likewise.
47591 * sysdeps/i386/fpu/e_atan2.S: Likewise.
47592 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
47593 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
47594 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47595 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47596 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47597 * sysdeps/i386/fpu/e_exp10.S: Likewise.
47598 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
47599 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
47600 * sysdeps/i386/fpu/e_exp2.S: Likewise.
47601 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
47602 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
47603 * sysdeps/i386/fpu/e_fmod.S: Likewise.
47604 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
47605 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
47606 * sysdeps/i386/fpu/e_hypot.S: Likewise.
47607 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
47608 * sysdeps/i386/fpu/e_log.S: Likewise.
47609 * sysdeps/i386/fpu/e_log10.S: Likewise.
47610 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47611 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47612 * sysdeps/i386/fpu/e_log2.S: Likewise.
47613 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47614 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47615 * sysdeps/i386/fpu/e_logf.S: Likewise.
47616 * sysdeps/i386/fpu/e_logl.S: Likewise.
47617 * sysdeps/i386/fpu/e_pow.S: Likewise.
47618 * sysdeps/i386/fpu/e_powf.S: Likewise.
47619 * sysdeps/i386/fpu/e_powl.S: Likewise.
47620 * sysdeps/i386/fpu/e_remainder.S: Likewise.
47621 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
47622 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
47623 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47624 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47625 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47626 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
47627 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
47628 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
47629 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47630 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47631 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47632 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47633 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47634 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47635 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
47636 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47637 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47638 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47639 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47640 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47641 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47642 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47643 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47644 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47645 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47646 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47647 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47648 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47649 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47650 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47651 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47652 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47653 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47654 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47655 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47656 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47657 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
47658 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47659 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47660 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47661 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47662 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47663 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47664 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47665 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47666 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47667 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47668 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47669 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47670 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47671 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47672 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47673 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47674 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47675 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47676 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47677 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47678 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
47679 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47680 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47681 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47682 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47683 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47684 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47685 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47686 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47687 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47688 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47689 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47690 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47691 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47692 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47693 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47694 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47695 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47696 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47697 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
47698 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47699 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47700 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47701 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47702 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47703 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47704 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47705 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
47706 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47707 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47708 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47709 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47710 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47711 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
47712 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47713 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47714 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47715 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47716 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47717 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47718 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47719 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47720 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47721 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47722 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47723 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47724 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47725 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47726 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
47727 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
47728 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
47729 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
47730 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
47731 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
47732 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
47733 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47734 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47735 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47736 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47737 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
47738 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47739 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
47740 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
47741 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
47742 (__isnanf): Likewise.
47743 (__isinf_ns): Likewise.
47744 (__isinf_nsf): Likewise.
47745 (__finite): Likewise.
47746 (__finitef): Likewise.
47747 (__ieee754_sqrt): Define as macro.
47748 (__ieee754_sqrtf): Define as macro.
47749 (__ieee754_sqrtl): Define as macro.
47750 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
47751 inlined copy.
47752 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
47753 __FINITE_MATH_ONLY__ consistent.
47754 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
47755
12cc2fcd
AS
477562011-10-10 Andreas Schwab <schwab@linux-m68k.org>
47757
a843a204
AS
47758 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
47759 of rawmemchr.
47760
12cc2fcd
AS
47761 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
47762
c853acd5
UD
477632011-10-09 Ulrich Drepper <drepper@gmail.com>
47764
47765 * po/ja.po: Update from translation team.
47766
c658d255
RM
477672011-10-08 Roland McGrath <roland@hack.frob.com>
47768
110946e4
RM
47769 * locale/programs/locarchive.c (prepare_address_space): New function.
47770 (create_archive, enlarge_archive, open_archive): Use it.
47771
50604220
RM
47772 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
47773 inside [SHARED], where it is used.
47774
c658d255
RM
47775 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
47776
47777 * nss/getent.c (netgroup_keys): Remove unused variable.
47778 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47779
6a621eb7
UD
477802011-10-08 Ulrich Drepper <drepper@gmail.com>
47781
7edb55ce
UD
47782 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
47783 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
47784 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
47785 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
47786 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
47787 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
47788 * math/Makefile (libm-calls): Add s_isinf_ns.
47789 * math/divtc3.c: Use __isinf_nsl instead of isinf.
47790 * math/multc3.c: Likewise.
47791 * math/s_casin.c: Likewise.
47792 * math/s_casinf.c: Likewise.
47793 * math/s_casinl.c: Likewise.
47794 * math/s_ccos.c: Likewise.
47795 * math/s_ccosf.c: Likewise.
47796 * math/s_ccosl.c: Likewise.
47797 * math/s_ctan.c: Likewise.
47798 * math/s_ctanf.c: Likewise.
47799 * math/s_ctanh.c: Likewise.
47800 * math/s_ctanhf.c: Likewise.
47801 * math/s_ctanhl.c: Likewise.
47802 * math/s_ctanl.c: Likewise.
47803 * math/w_fmod.c: Likewise.
47804 * math/w_fmodf.c: Likewise.
47805 * math/w_fmodl.c: Likewise.
47806 * math/w_remainder.c: Likewise.
47807 * math/w_remainderf.c: Likewise.
47808 * math/w_remainderl.c: Likewise.
47809 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
47810 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
47811 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
47812 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
47813 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
47814 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
47815 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
47816 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
47817
187da0ae
UD
47818 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
47819 of the number.
47820 * stdio-common/printf_fphex.c: Likewise.
47821 * stdio-common/printf_size.c: Likewise.
47822
9277c064
UD
47823 * math/e_exp10.c: Include math_private.h using <...> not "...".
47824 * math/e_exp10f.c: Likewise.
47825 * math/e_exp10l.c: Likewise.
47826 * math/e_exp2l.c: Likewise.
47827 * math/e_j0l.c: Likewise.
47828 * math/e_j1l.c: Likewise.
47829 * math/e_jnl.c: Likewise.
47830 * math/e_lgammal_r.c: Likewise.
47831 * math/e_rem_pio2l.c: Likewise.
47832 * math/e_scalb.c: Likewise.
47833 * math/e_scalbf.c: Likewise.
47834 * math/e_scalbl.c: Likewise.
47835 * math/k_cosl.c: Likewise.
47836 * math/k_sinl.c: Likewise.
47837 * math/k_tanl.c: Likewise.
47838 * math/s_cacoshf.c: Likewise.
47839 * math/s_catan.c: Likewise.
47840 * math/s_catanf.c: Likewise.
47841 * math/s_catanh.c: Likewise.
47842 * math/s_catanhf.c: Likewise.
47843 * math/s_catanhl.c: Likewise.
47844 * math/s_catanl.c: Likewise.
47845 * math/s_ccosh.c: Likewise.
47846 * math/s_ccoshf.c: Likewise.
47847 * math/s_ccoshl.c: Likewise.
47848 * math/s_cexp.c: Likewise.
47849 * math/s_cexpf.c: Likewise.
47850 * math/s_cexpl.c: Likewise.
47851 * math/s_clog.c: Likewise.
47852 * math/s_clog10.c: Likewise.
47853 * math/s_clog10f.c: Likewise.
47854 * math/s_clog10l.c: Likewise.
47855 * math/s_clogf.c: Likewise.
47856 * math/s_clogl.c: Likewise.
47857 * math/s_csin.c: Likewise.
47858 * math/s_csinf.c: Likewise.
47859 * math/s_csinh.c: Likewise.
47860 * math/s_csinhf.c: Likewise.
47861 * math/s_csinhl.c: Likewise.
47862 * math/s_csinl.c: Likewise.
47863 * math/s_csqrt.c: Likewise.
47864 * math/s_csqrtf.c: Likewise.
47865 * math/s_csqrtl.c: Likewise.
47866 * math/s_ctan.c: Likewise.
47867 * math/s_ctanf.c: Likewise.
47868 * math/s_ctanh.c: Likewise.
47869 * math/s_ctanhf.c: Likewise.
47870 * math/s_ctanhl.c: Likewise.
47871 * math/s_ctanl.c: Likewise.
47872 * math/s_ldexp.c: Likewise.
47873 * math/s_ldexpf.c: Likewise.
47874 * math/s_ldexpl.c: Likewise.
47875 * math/s_significand.c: Likewise.
47876 * math/s_significandf.c: Likewise.
47877 * math/s_significandl.c: Likewise.
47878 * math/w_acos.c: Likewise.
47879 * math/w_acosf.c: Likewise.
47880 * math/w_acosh.c: Likewise.
47881 * math/w_acoshf.c: Likewise.
47882 * math/w_acoshl.c: Likewise.
47883 * math/w_acosl.c: Likewise.
47884 * math/w_asin.c: Likewise.
47885 * math/w_asinf.c: Likewise.
47886 * math/w_asinl.c: Likewise.
47887 * math/w_atan2.c: Likewise.
47888 * math/w_atan2f.c: Likewise.
47889 * math/w_atan2l.c: Likewise.
47890 * math/w_atanh.c: Likewise.
47891 * math/w_atanhf.c: Likewise.
47892 * math/w_atanhl.c: Likewise.
47893 * math/w_cosh.c: Likewise.
47894 * math/w_coshf.c: Likewise.
47895 * math/w_coshl.c: Likewise.
47896 * math/w_dremf.c: Likewise.
47897 * math/w_exp10.c: Likewise.
47898 * math/w_exp10f.c: Likewise.
47899 * math/w_exp10l.c: Likewise.
47900 * math/w_exp2.c: Likewise.
47901 * math/w_exp2f.c: Likewise.
47902 * math/w_fmod.c: Likewise.
47903 * math/w_fmodf.c: Likewise.
47904 * math/w_fmodl.c: Likewise.
47905 * math/w_hypot.c: Likewise.
47906 * math/w_hypotf.c: Likewise.
47907 * math/w_hypotl.c: Likewise.
47908 * math/w_j0.c: Likewise.
47909 * math/w_j0f.c: Likewise.
47910 * math/w_j0l.c: Likewise.
47911 * math/w_j1.c: Likewise.
47912 * math/w_j1f.c: Likewise.
47913 * math/w_j1l.c: Likewise.
47914 * math/w_jn.c: Likewise.
47915 * math/w_jnf.c: Likewise.
47916 * math/w_jnl.c: Likewise.
47917 * math/w_lgamma.c: Likewise.
47918 * math/w_lgamma_r.c: Likewise.
47919 * math/w_lgammaf.c: Likewise.
47920 * math/w_lgammaf_r.c: Likewise.
47921 * math/w_lgammal.c: Likewise.
47922 * math/w_lgammal_r.c: Likewise.
47923 * math/w_log.c: Likewise.
47924 * math/w_log10.c: Likewise.
47925 * math/w_log10f.c: Likewise.
47926 * math/w_log10l.c: Likewise.
47927 * math/w_log2.c: Likewise.
47928 * math/w_log2f.c: Likewise.
47929 * math/w_log2l.c: Likewise.
47930 * math/w_logf.c: Likewise.
47931 * math/w_logl.c: Likewise.
47932 * math/w_pow.c: Likewise.
47933 * math/w_powf.c: Likewise.
47934 * math/w_powl.c: Likewise.
47935 * math/w_remainder.c: Likewise.
47936 * math/w_remainderf.c: Likewise.
47937 * math/w_remainderl.c: Likewise.
47938 * math/w_scalb.c: Likewise.
47939 * math/w_scalbf.c: Likewise.
47940 * math/w_scalbl.c: Likewise.
47941 * math/w_sinh.c: Likewise.
47942 * math/w_sinhf.c: Likewise.
47943 * math/w_sinhl.c: Likewise.
47944 * math/w_sqrt.c: Likewise.
47945 * math/w_sqrtf.c: Likewise.
47946 * math/w_sqrtl.c: Likewise.
47947 * math/w_tgamma.c: Likewise.
47948 * math/w_tgammaf.c: Likewise.
47949 * math/w_tgammal.c: Likewise.
47950
6a621eb7
UD
47951 * po/ja.po: Update from translation team.
47952
bf582445
AJ
479532011-09-29 Andreas Jaeger <aj@suse.de>
47954
f9efbf3a
AJ
47955 [BZ #13179]
47956 * sunrpc/netname.c (netname2host): Fix logic.
47957
bf582445
AJ
47958 [BZ #6779]
47959 [BZ #6783]
47960 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47961 correctly.
47962 * math/w_remainder.c (__remainder): Likewise.
47963 * math/w_remainderf.c (__remainderf): Likewise.
47964 * math/libm-test.inc (remainder_test): Add test cases.
47965
48693bea
AK
479662011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47967
47968 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
47969 sdiv_qrnnd.
47970
42622229
LD
479712011-10-07 Ulrich Drepper <drepper@gmail.com>
47972
47973 * string/test-memcmp.c: Avoid unncessary #defines.
47974 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47975
093ecf92
LD
479762011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47977
47978 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47979 Use new sse2 version for core i3 - i7 as it's faster
47980 than sse42 version.
47981 (bit_Prefer_PMINUB_for_stringop): New.
47982 * sysdeps/x86_64/rawmemchr.S: Update.
47983 Replace with faster SSE2 version.
47984 * sysdeps/x86_64/memrchr.S: New file.
47985 * sysdeps/x86_64/memchr.S: Update.
47986 Replace with faster SSE2 version.
47987
fde56e5c
MP
479882011-09-12 Marek Polacek <mpolacek@redhat.com>
47989
47990 * elf/dl-load.c (lose): Add cast to avoid warning.
47991
21fd49a9
UD
479922011-10-07 Ulrich Drepper <drepper@gmail.com>
47993
5a06e643
UD
47994 * po/ca.po: Update from translation team.
47995
684ae515
UD
47996 * inet/getnetgrent_r.c: Hook up nscd.
47997 * nscd/Makefile (routines): Add nscd_netgroup.
47998 (nscd-modules): Add netgroupcache.
47999 (CFLAGS-netgroupcache.c): Define.
48000 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
48001 (cache_search): Add const to second parameter.
48002 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
48003 INNETGR.
48004 (dbs): Add netgrdb entry.
48005 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
48006 (verify_persistent_db): Handle netgrdb.
48007 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
48008 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
48009 GETFDNETGR.
48010 (netgroup_response_header): Define.
48011 (innetgroup_response_header): Define.
48012 (datahead): Add netgroup_response_header and innetgroup_response_header
48013 elements.
48014 * nscd/nscd.conf: Add entries for netgroup cache.
48015 * nscd/nscd.h (dbtype): Add netgrdb.
48016 (_PATH_NSCD_NETGROUP_DB): Define.
48017 (netgroup_iov_disabled): Declare.
48018 (xmalloc, xcalloc, xrealloc): Move declarations here.
48019 (cache_search): Adjust prototype.
48020 Add netgroup-related prototypes.
48021 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
48022 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
48023 (__nscd_innetgr): Declare.
48024 * nscd/selinux.c (perms): Use access_vector_t as element type and
48025 add netgroup-related initializers.
48026 * nscd/netgroupcache.c: New file.
48027 * nscd/nscd_netgroup.c: New file.
48028 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
48029 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
48030 For four parameters use innetgr.
48031 * nss/nss_files/files-init.c: Add definition and callback for netgr.
48032 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
48033 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
48034 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
48035
21fd49a9
UD
48036 * nscd/connections.c (register_traced_file): Don't register file
48037 for disabled databases.
48038
054c0457
UD
480392011-10-06 Ulrich Drepper <drepper@gmail.com>
48040
32b63198
UD
48041 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
48042
054c0457
UD
48043 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
48044 from tree and freeing node.
48045
64031225
JO
480462011-09-25 Jiri Olsa <jolsa@redhat.com>
48047
48048 * nss/nsswitch.c (__nss_database_lookup): Handle
48049 nss_parse_service_list out of memory case.
48050
0490345c
JO
480512011-09-15 Jiri Olsa <jolsa@redhat.com>
48052
48053 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
48054 out of memory case.
48055
3a62d00d
AS
480562011-10-04 Andreas Schwab <schwab@redhat.com>
48057
48058 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
48059 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
48060 pass it down.
48061 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
48062 elf_machine_rela, elf_machine_lazy_rel.
48063 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
48064 (ELF_DYNAMIC_DO_REL): Likewise.
48065 (ELF_DYNAMIC_DO_RELA): Likewise.
48066 (ELF_DYNAMIC_RELOCATE): Likewise.
48067 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
48068 to ELF_DYNAMIC_DO_REL.
48069 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
48070 (dl_main): In trace mode always set __RTLD_NOIFUNC.
48071 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
48072 elf_machine_rela.
48073 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
48074 skip_ifunc, don't call ifunc function if non-zero.
48075 (elf_machine_rela): Likewise.
48076 (elf_machine_lazy_rel): Likewise.
48077 (elf_machine_lazy_rela): Likewise.
48078 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
48079 (elf_machine_lazy_rel): Likewise.
48080 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
48081 Likewise.
48082 (elf_machine_lazy_rel): Likewise.
48083 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48084 Likewise.
48085 (elf_machine_lazy_rel): Likewise.
48086 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
48087 (elf_machine_lazy_rel): Likewise.
48088 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
48089 (elf_machine_lazy_rel): Likewise.
48090 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
48091 (elf_machine_lazy_rel): Likewise.
48092 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
48093 (elf_machine_lazy_rel): Likewise.
48094 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
48095 (elf_machine_lazy_rel): Likewise.
48096 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
48097 (elf_machine_lazy_rel): Likewise.
48098
68577918
UD
480992011-09-28 Ulrich Drepper <drepper@gmail.com>
48100
48101 * nss/nss_files/files-init.c (_nss_files_init): Use static
48102 initialization for all the *_traced_file variables.
48103
68822d74
AS
481042011-09-28 Andreas Schwab <schwab@redhat.com>
48105
48106 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48107
2056100b
RM
481082011-09-27 Roland McGrath <roland@hack.frob.com>
48109
48110 [BZ #13226]
48111 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
48112
32c76b63
AS
481132011-09-27 Andreas Schwab <schwab@redhat.com>
48114
48115 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48116 Reread the line before reparsing it.
48117
bf972c9d
AS
481182011-09-26 Andreas Schwab <schwab@redhat.com>
48119
48120 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
48121
e057a1b5
JM
481222011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
48123 Maxim Kuvyrkov <maxim@codesourcery.com>
48124 Joseph Myers <joseph@codesourcery.com>
48125
48126 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
48127 if needed for __stack_chk_guard.
48128
bc7e1c36
RM
481292011-09-19 Roland McGrath <roland@hack.frob.com>
48130
ecb1482f
RM
48131 * sysdeps/posix/spawni.c (script_execute): Always define it.
48132 It will be optimized away if unused.
48133 (maybe_script_execute): New function.
48134 (__spawni): Call it.
48135
bc7e1c36
RM
48136 * Makerules: Don't include tls.make.
48137 (config-tls): Always set to thread.
48138 * tls.make.c: File removed.
48139
1c3b002b
MF
481402011-09-19 Mike Frysinger <vapier@gentoo.org>
48141
48142 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
48143 * config.make.in (CPPFLAGS-config): New substituted variable.
48144
2840865d
UD
481452011-09-15 Ulrich Drepper <drepper@gmail.com>
48146
88738eb6
UD
48147 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
48148
cbf645a6 48149 [BZ #13192]
2840865d
UD
48150 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
48151 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
48152
b402e91a
RM
481532011-09-15 Roland McGrath <roland@hack.frob.com>
48154
48155 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
48156 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
48157 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48158 (CALL_FAIL): Likewise.
48159 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
48160 (CALL_FAIL): Macro removed.
48161 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
48162
4c1a1f71
UD
481632011-09-15 Ulrich Drepper <drepper@gmail.com>
48164
48165 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
48166 for __FINITE_MATH_ONLY__ == 1.
48167
edc121be
AS
481682011-09-15 Andreas Schwab <schwab@redhat.com>
48169
48170 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
48171 __ieee754_sqrt instead of sqrt.
48172 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
48173 __ieee754_sqrtf instead of sqrtf.
48174 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
48175 __floorf instead of floorf.
48176 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
48177 __floorf, __truncf instead of floorf, truncf.
48178
cd205654
UD
481792011-09-14 Ulrich Drepper <drepper@gmail.com>
48180
ee4d0315
UD
48181 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
48182
cd205654
UD
48183 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
48184 __extern_always_inline.
48185 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
48186 32-bit.
48187
48b67d71
AS
481882011-09-14 Andreas Schwab <schwab@redhat.com>
48189
48190 * elf/rtld.c (dl_main): Also relocate in dependency order when
48191 doing symbol dependency testing.
48192
1ae12c75
AS
481932011-09-13 Andreas Schwab <schwab@linux-m68k.org>
48194
48195 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48196 Always define `refsym'.
48197
995a80df
AS
481982011-09-13 Andreas Schwab <schwab@redhat.com>
48199
e529793b
AS
48200 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
48201 (__FD_ELT): Renamed from __FDELT.
48202 * misc/bits/select2.h (__FD_ELT): Likewise.
48203 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
48204 __FD_MASK instead of __FDELT, __FDMASK.
48205 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48206 Likewise.
48207 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48208 Likewise.
48209
52d4fef8
AS
48210 * elf/Makefile (gen-ldd): Fix pattern.
48211
995a80df
AS
48212 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
48213 (init_tls): Likewise.
48214
8682f8b0
UD
482152011-09-12 Ulrich Drepper <drepper@gmail.com>
48216
48217 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
48218
de82006d
AS
482192011-09-12 Andreas Schwab <schwab@redhat.com>
48220
a7c8e6a1
AS
48221 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
48222 `struct cmsghdr *' instead of `void *'.
48223 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
48224 Likewise.
48225
0f31fe77
AS
482262011-09-11 Andreas Schwab <schwab@linux-m68k.org>
48227
48228 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
48229 if non-absolute.
48230 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
48231 ldd_rewrite_script.
0f31fe77 48232
32b4c839
UD
482332011-09-11 Ulrich Drepper <drepper@gmail.com>
48234
83cd1420
UD
48235 * configure.in: Remove --with-tls option.
48236 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
48237 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
48238 out in case it is missing.
48239 * sysdeps/ia64/elf/configure.in: Likewise.
48240 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
48241 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
48242 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
48243 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
48244 * sysdeps/sh/elf/configure.in: Likewise.
48245 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
48246 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48247 * sysdeps/x86_64/elf/configure.in: Likewise.
48248 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
48249 * sysdeps/mach/hurd/tls.h: Likewise.
48250
633f745d
UD
48251 [BZ #13067]
48252 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
48253
f318beb8
UD
48254 [BZ #13090]
48255 * configure.in: Fix use of AC_INIT.
48256
32b4c839
UD
48257 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
48258
3ce1f295
UD
482592011-09-10 Ulrich Drepper <drepper@gmail.com>
48260
bb016596
UD
48261 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
48262 __set_errno.
8e58439c
UD
48263 * malloc/hooks.c: Likewise.
48264
aebae053 48265 [BZ #11929]
02d46fc4
UD
48266 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
48267 variables statically.
48268 (narenas): Initialize.
48269 (list_lock): Initialize.
bb016596
UD
48270 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
48271 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
48272 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
48273 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
48274 Add initializers to main_arena and mp_.
48275 (malloc_state): Remove pagesize member. Change all users to use
48276 GLRO(dl_pagesize).
48277
48278 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
48279 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
48280 is always initialized.
48281
22a89187
UD
48282 * malloc/malloc.c: Removed unused configurations and dead code.
48283 * malloc/arena.c: Likewise.
48284 * malloc/hooks.c: Likewise.
02d46fc4 48285 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 48286
d063d164
UD
48287 * include/tls.h: Removed. USE___THREAD must always be defined.
48288 * bits/libc-tsd.h: Don't handle !USE___THREAD.
48289 * elf/dl-libc.c: Likewise.
48290 * elf/dl-tsd.c: Likewise.
48291 * include/errno.h: Likewise.
48292 * include/netdb.h: Likewise.
48293 * include/resolv.h: Likewise.
48294 * inet/herrno-loc.c: Likewise.
48295 * inet/herrno.c: Likewise.
48296 * malloc/arena.c: Likewise.
48297 * malloc/hooks.c: Likewise.
48298 * malloc/malloc.c: Likewise.
48299 * resolv/res-state.c: Likewise.
48300 * resolv/res_libc.c: Likewise.
48301 * sysdeps/i386/dl-machine.h: Likewise.
48302 * sysdeps/ia64/dl-machine.h: Likewise.
48303 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48304 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48305 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48306 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48307 * sysdeps/sh/dl-machine.h: Likewise.
48308 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48309 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48310 * sysdeps/unix/i386/sysdep.S: Likewise.
48311 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
48312 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
48313 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
48314 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
48315 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
48316 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
48317 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
48318 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48319 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48320 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
48321 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48322 * sysdeps/x86_64/dl-machine.h: Likewise.
48323 * tls.make.c: Likewise.
48324
3ce1f295
UD
48325 * configure.in: Remove --with-__thread option. Make tests for
48326 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
48327 tls_model attribute fail if no support is available. Remove
48328 USE_IN_LIBIO.
48329 * Makeconfig: Adjust for dropped configure option. All features are
48330 now mandatory.
48331 * Makerules: Likewise.
48332 * Versions.def: Likewise.
48333 * argp/argp-fmtstream.c: Likewise.
48334 * argp/argp-fmtstream.h: Likewise.
48335 * argp/argp-help.c: Likewise.
48336 * assert/assert.c: Likewise.
48337 * config.h.in: Likewise.
48338 * config.make.in: Likewise.
48339 * configure: Likewise.
48340 * configure.in: Likewise.
48341 * csu/Versions: Likewise.
48342 * csu/init.c: Likewise.
48343 * elf/tst-audit2.c: Likewise.
48344 * elf/tst-tls10.c: Likewise.
48345 * elf/tst-tls10.h: Likewise.
48346 * elf/tst-tls11.c: Likewise.
48347 * elf/tst-tls12.c: Likewise.
48348 * elf/tst-tls14.c: Likewise.
48349 * elf/tst-tlsmod11.c: Likewise.
48350 * elf/tst-tlsmod12.c: Likewise.
48351 * elf/tst-tlsmod13.c: Likewise.
48352 * elf/tst-tlsmod13a.c: Likewise.
48353 * elf/tst-tlsmod14a.c: Likewise.
48354 * elf/tst-tlsmod15b.c: Likewise.
48355 * elf/tst-tlsmod16a.c: Likewise.
48356 * elf/tst-tlsmod16b.c: Likewise.
48357 * elf/tst-tlsmod7.c: Likewise.
48358 * elf/tst-tlsmod8.c: Likewise.
48359 * elf/tst-tlsmod9.c: Likewise.
48360 * gmon/gmon.c: Likewise.
48361 * grp/fgetgrent_r.c: Likewise.
48362 * grp/putgrent.c: Likewise.
48363 * hurd/fopenport.c: Likewise.
48364 * include/libc-symbols.h: Likewise.
48365 * include/tls.h: Likewise.
48366 * intl/gettextP.h: Likewise.
48367 * intl/loadinfo.h: Likewise.
48368 * locale/global-locale.c: Likewise.
48369 * locale/localeinfo.h: Likewise.
48370 * mach/devstream.c: Likewise.
48371 * malloc/arena.c: Likewise.
48372 * malloc/set-freeres.c: Likewise.
48373 * misc/err.c: Likewise.
48374 * misc/getttyent.c: Likewise.
48375 * misc/mntent_r.c: Likewise.
48376 * posix/getopt.c: Likewise.
48377 * posix/wordexp.c: Likewise.
48378 * pwd/fgetpwent_r.c: Likewise.
48379 * resolv/Versions: Likewise.
48380 * resolv/res_hconf.c: Likewise.
48381 * shadow/fgetspent_r.c: Likewise.
48382 * shadow/putspent.c: Likewise.
48383 * stdio-common/printf_fphex.c: Likewise.
48384 * stdio-common/tmpfile.c: Likewise.
48385 * stdlib/abort.c: Likewise.
48386 * stdlib/fmtmsg.c: Likewise.
48387 * sunrpc/auth_unix.c: Likewise.
48388 * sunrpc/clnt_perr.c: Likewise.
48389 * sunrpc/clnt_tcp.c: Likewise.
48390 * sunrpc/clnt_udp.c: Likewise.
48391 * sunrpc/clnt_unix.c: Likewise.
48392 * sunrpc/openchild.c: Likewise.
48393 * sunrpc/svc_simple.c: Likewise.
48394 * sunrpc/svc_tcp.c: Likewise.
48395 * sunrpc/svc_udp.c: Likewise.
48396 * sunrpc/svc_unix.c: Likewise.
48397 * sunrpc/xdr.c: Likewise.
48398 * sunrpc/xdr_array.c: Likewise.
48399 * sunrpc/xdr_rec.c: Likewise.
48400 * sunrpc/xdr_ref.c: Likewise.
48401 * sunrpc/xdr_stdio.c: Likewise.
48402
1248c1c4
PB
484032011-09-09 Ulrich Drepper <drepper@gmail.com>
48404
48405 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48406
484072011-07-03 Andreas Jaeger <aj@suse.de>
48408
48409 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
48410 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
48411 regenerate with gen-libm-tests.pl.
48412
484132010-05-12 Petr Baudis <pasky@suse.cz>
48414
48415 [BZ #11589]
48416 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
48417 around j0() zero points by switching to j1().
48418 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48419 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48420 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48421 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48422
f22e1074
UD
484232011-09-09 Ulrich Drepper <drepper@gmail.com>
48424
f19009c1
UD
48425 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
48426 instead of 0.
48427 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 48428 instead of 0.
f19009c1
UD
48429 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48430 Patch in part by Pavel Roskin <proski@gnu.org>.
48431
3f8cc204
UD
48432 [BZ #13138]
48433 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
48434 realloc.
48435 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
48436 Free memory block if necessary.
48437
f22e1074
UD
48438 [BZ #12847]
48439 * libio/genops.c (INTDEF): For string streams the _lock pointer can
48440 be NULL. Don't lock in this case.
48441
0a2349f9
RM
484422011-09-09 Roland McGrath <roland@hack.frob.com>
48443
48444 * elf/elf.h (ELFOSABI_GNU): New macro.
48445 (ELFOSABI_LINUX): Define to that.
48446
f3cdd467
DZ
484472011-07-29 Denis Zaitceff <zaitceff@gmail.com>
48448
48449 * string/strncat.c (strncat): Undef the symbol in case it has been
48450 defined in bits/string.h.
48451
74718d13
UD
484522011-09-09 Ulrich Drepper <drepper@gmail.com>
48453
633e9e0f
UD
48454 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
48455
0a2349f9 48456 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
48457 link map.
48458
f9924780
AJ
484592011-08-17 Andreas Jaeger <aj@suse.de>
48460
48461 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
48462
7f5517aa
PP
484632011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
48464 Ian Lance Taylor <iant@google.com>
48465
48466 * math/libm-test.inc (lround_test): New testcase.
48467 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
48468
762011fe
UD
484692011-09-08 Ulrich Drepper <drepper@gmail.com>
48470
92963737
UD
48471 * Makefile: Remove support for automatic cvs check-ins.
48472 * Makerules: Likewise.
48473 * config.make.in: Likewise.
48474 * configure.in: Likewise.
48475 * intl/Makefile: Likewise.
48476 * locale/Makefile: Likewise.
48477 * po/Makefile: Likewise.
48478 * posix/Makefile: Likewise.
48479 * sysdeps/gnu/Makefile: Likewise.
48480 * sysdeps/mach/hurd/Makefile: Likewise.
48481 * sysdeps/sparc/sparc32/Makefile: Likewise.
48482
b0727fd8
JS
48483 [BZ #13118]
48484 * posix/Makefile (bug-regex32-ENV): Define.
48485 Patch by John Stanley <jpsinthemix@verizon.net>.
48486
a0f33f99
UD
48487 * misc/Makefile (headers): Add bits/select2.h.
48488 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
48489 * misc/bits/select2.h: New file.
48490 * include/bits/select2.h: New file.
48491 * debug/Makefile (routines): Add fdelt_chk.
48492 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
48493 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
48494 FD_ISSET.
48495 * debug/fdelt_chk.c: New file.
48496
762011fe
UD
48497 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
48498 * wcsmbs/test-wmemcmp.c: Likewise.
48499 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 48500 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
48501
485022011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48503
48504 * string/Makefile (strop-tests): Add memcmp.
48505 * string/test-wmemcmp.c: New file.
48506 * string/test-memcmp.c: Add wmemcmp support.
48507
7f513ec8
RM
485082011-09-08 Roland McGrath <roland@hack.frob.com>
48509
0442afb4
RM
48510 [BZ #13153]
48511 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
48512 2011-07-19 change.
48513
7f513ec8
RM
48514 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
48515 garbage value in a __mach_port_mod_refs call in the cases of the
48516 task-self and thread-self ports.
48517
a12b2239
ST
485182011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48519
48520 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
48521
610f9ab4
AS
485222011-09-08 Andreas Schwab <schwab@redhat.com>
48523
7f513ec8 48524 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 48525
48882a1a
LD
485262011-09-07 Ulrich Drepper <drepper@gmail.com>
48527
b49865be
UD
48528 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
48529
fdc86bc9
UD
48530 * elf/dl-libc.c (dlerror_run): Pass back error code from
48531 dl_catch_error.
48532
c966526a
UD
48533 [BZ #13123]
48534 * elf/dl-load.c (lose): Free l_origin if it is valid.
48535
48882a1a
LD
48536 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
48537 names.
48538 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
48539 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48540 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48541 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48542 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
48543 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
48544
77a2a8b4
AZ
485452011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48546
48547 * sysdeps/powerpc/fpu/e_hypot.c: New file.
48548 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
48549 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
48550 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
48551 * sysdeps/powerpc/fpu/k_cosf.c: New file.
48552 * sysdeps/powerpc/fpu/k_sinf.c: New file.
48553 * sysdeps/powerpc/fpu/s_cosf.c: New file.
48554 * sysdeps/powerpc/fpu/s_sinf.c: New file.
48555 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
48556 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
48557
24f579d8
AM
485582011-08-15 Alan Modra <amodra@gmail.com>
48559
48560 [BZ #13092]
48561 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
48562 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
48563 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
48564 ppc_mcount to static-only-routines.
48565 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
48566 __mcount_internal.
48567 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
48568 __mcount_internal with usual JUMPTARGET. Remove useless nop.
48569
3d4837df
UD
485702011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
48571
48572 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
48573 for finite and infinity parameters.
48574
22700377
WS
485752011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48576
48577 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
48578 and add nop instructions for throughput optimization.
48579 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48580
5025581e
WS
485812011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
48582
48583 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
48584 aligned copy for power7 with vector-scalar instructions.
48585 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
48586
08a300c9
L
485872011-07-24 H.J. Lu <hongjiu.lu@intel.com>
48588
48589 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
48590 AVX check.
48591
59178ef9
AS
485922011-09-07 Andreas Schwab <schwab@redhat.com>
48593
48594 [BZ #13144]
48595 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
48596 last change.
48597
e38ba7ab
UD
485982011-09-07 Ulrich Drepper <drepper@gmail.com>
48599
48600 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48601 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
48602 syscall wrapper around clock_gettime in __vdso_clock_gettime.
48603 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
48604 clock_gettime.
48605
d53a73ac
UD
486062011-09-06 Ulrich Drepper <drepper@gmail.com>
48607
fc8bffcc
UD
48608 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
48609 Forgot to demangle the pointer.
48610
ceaa0c5d
UD
48611 * sysdeps/i386/sysdep.h: Define atom_text_section.
48612 * sysdeps/x86_64/sysdep.h: Likewise.
48613 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
48614 section with atom_text_section.
48615 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48616 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48617 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
48618 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48619 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
48620
a77d3c17
UD
48621 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
48622 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
48623 already be defined. Change to take two parameters and don't assign
48624 result to variable. Adjust all users.
48625 Define INTERNAL_GETTIME if not already defined.
48626 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
48627 call.
48628 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
48629 HAVE_CLOCK_GETTIME_VSYSCALL.
48630 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
48631
d53a73ac
UD
48632 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
48633 gettimeofday vsyscall, just use time.
48634
a8f84144
AS
486352011-09-06 Andreas Schwab <schwab@redhat.com>
48636
48637 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
48638 <errno.h>.
48639
ef606249
UD
486402011-09-06 Ulrich Drepper <drepper@gmail.com>
48641
48642 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
48643 syscall on x86-64.
48644 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
48645 syscall.
48646 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
48647 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
48648 syscall if possible.
48649
6585cb60
UD
486502011-09-05 Ulrich Drepper <drepper@gmail.com>
48651
48652 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
48653 e_ident. Don't pass to find_mapsXX.
48654 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
48655
a5f524e4
LD
486562011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48657
48658 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48659 strchr-sse2-no-bsf strrchr-sse2-no-bsf
48660 * sysdeps/x86_64/multiarch/strchr.S: Update.
48661 Check bit_slow_BSF bit.
48662 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48663 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
48664 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
48665
554881ef
UD
486662011-09-05 Ulrich Drepper <drepper@gmail.com>
48667
d96de963
UD
48668 [BZ #13134]
48669 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
48670 before glibc 2.15.
48671 (tryshell): Define.
48672 (__spawni): Change last parameter to be flag. Test
48673 SPAWN_XFLAGS_USE_PATH flag to use path or not.
48674 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
48675 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
48676 * posix/spawni.c: Likewise.
48677 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
48678 * posix/spawnp.c: Likewise. Change normal version to use
48679 SPAWN_XFLAGS_USE_PATH.
48680 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
48681 SPAWN_XFLAGS_TRY_SHELL.
48682
d48e5868
UD
48683 [BZ #13150]
48684 * posix/glob.h: Remove gcc 1.x support.
48685
554881ef
UD
48686 [BZ #13068]
48687 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
48688
693fb948
LD
486892011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48690
48691 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48692 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
48693 strrchr-sse2-bsf
48694 * sysdeps/i386/i686/multiarch/strchr.S: New file.
48695 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
48696 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
48697 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
48698 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
48699 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
48700
1b48c537
UD
487012011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48702
49d42c37
UD
48703 * sysdeps/x86_64/wcscmp.S: New file.
48704
1b48c537
UD
48705 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
48706 wcscmp-c wcscmp-sse2
48707 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
48708 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
48709 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
48710 * wcsmbs/wcscmp.c: Allow renaming.
48711
15c95c5d
DM
487122011-09-05 David S. Miller <davem@davemloft.net>
48713
48714 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
48715 stack slot, rather than the struct return pointer slot.
48716 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
48717 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
48718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
48719 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
48720
2f0ad8f3
UD
487212011-09-05 Ulrich Drepper <drepper@gmail.com>
48722
d88ae418
UD
48723 * po/ja.po: Update from translation team.
48724
2f0ad8f3
UD
48725 [BZ #13144]
48726 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
48727 kernel in 64-bit binaries.
48728
5f4318d1
DM
487292011-09-01 David S. Miller <davem@davemloft.net>
48730
48731 * elf/elf.h (HWCAP_SPARC_*): Move to..
48732 * sysdeps/sparc/sysdep.h: this new file and add new values.
48733 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
48734 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
48735 _DL_HWCAP_COUNT to 24.
48736 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
48737 entries.
48738 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
48739 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
48740 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
48741 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
48742 instead of magic constants.
48743 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48744
3ba57516
DM
487452011-08-31 David S. Miller <davem@davemloft.net>
48746
48747 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
48748 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
48749 Reimplement to do errno handling inline.
48750 (SYSCALL_ERROR_HANDLER): New macro.
48751 (__SYSCALL_STRING): Do not do errno handling in asm.
48752 (__CLONE_SYSCALL_STRING): Delete.
48753 (__INTERNAL_SYSCALL_STRING): Delete.
48754 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
48755 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
48756 (PSEUDO): Reimplement to do errno handling inline.
48757 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
48758 (SYSCALL_ERROR_HANDLER): New macro.
48759 (__SYSCALL_STRING): Do not do errno handling in asm.
48760 (__CLONE_SYSCALL_STRING): Delete.
48761 (__INTERNAL_SYSCALL_STRING): Delete.
48762 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
48763 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
48764 i386.
48765 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
48766 (inline_syscall*): Add 'err' argument.
48767 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
48768 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
48769 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
48770 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
48771
48772 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
48773 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48774
2bc17433
AS
487752011-08-30 Andreas Schwab <schwab@redhat.com>
48776
48777 * elf/rtld.c (dl_main): Relocate objects in dependency order.
48778
fbeb5f4d
JO
487792011-08-29 Jiri Olsa <jolsa@redhat.com>
48780
48781 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
48782 directive.
48783
ad69cc26
DM
487842011-08-24 David S. Miller <davem@davemloft.net>
48785
48786 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
48787
39dd69df
AS
487882011-08-24 Andreas Schwab <schwab@redhat.com>
48789
48790 * elf/Makefile: Add rules to build and run unload8 test.
48791 * elf/unload8.c: New file.
48792 * elf/unload8mod1.c: New file.
48793 * elf/unload8mod1x.c: New file.
48794 * elf/unload8mod2.c: New file.
48795 * elf/unload8mod3.c: New file.
48796
48797 * elf/dl-close.c (_dl_close_worker): Reset private search list if
48798 it wasn't used.
48799
2c0b250a
DM
488002011-08-23 David S. Miller <davem@davemloft.net>
48801
48802 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
48803 subtract stack bias.
48804 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
48805 %sp not %fp in calculations.
48806 (_JMPBUF_UNWINDS_ADJ): Likewise.
48807
22044b48
DM
48808 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
48809 (aio_suspend): Call it to force an exception region around the
48810 AIO_MISC_WAIT() invocation.
48811
2cae4995
AS
488122011-08-23 Andreas Schwab <schwab@redhat.com>
48813
48814 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
48815 backslash.
48816
873a772e
AJ
488172011-07-04 Aurelien Jarno <aurelien@aurel32.net>
48818
48819 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
48820 protection macro.
48821 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
48822 and <dl-machine.h>.
48823 (Elf64_FuncDesc): Remove.
48824
25ad0df1
DM
488252011-08-22 David S. Miller <davem@davemloft.net>
48826
48827 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
48828 sigaltstack check, add missing cfi directives.
48829 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
48830 missing cfi directives, and sigaltstack handling.
48831
e888bcbe
AS
488322011-08-16 Andreas Schwab <schwab@redhat.com>
48833
48834 [BZ #11724]
48835 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
48836 object is seen twice.
48837 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48838
48839 * elf/Makefile (distribute): Add tst-initorder2.c.
48840 (tests): Add tst-initorder2.
48841 (modules-names): Add tst-initorder2a tst-initorder2b
48842 tst-initorder2c tst-initorder2d. Add rules to build them.
48843 ($(objpfx)tst-initorder2.out): New rule.
48844 * elf/tst-initorder2.c: New file.
48845 * elf/tst-initorder2.exp: New file.
48846
87162f46
AS
488472011-08-22 Andreas Schwab <schwab@redhat.com>
48848
70538b7f
AS
48849 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
48850
f55ffe58
AS
48851 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
48852 dependencies back to end of function.
48853
87162f46
AS
48854 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48855 $(elfobjdir)/ld.so.
48856
91b392a4
UD
488572011-08-21 Ulrich Drepper <drepper@gmail.com>
48858
48859 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
48860 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
48861 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
48862 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
48863 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
48864 of __vdso_gettimeofday.
48865 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
48866 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
48867 attribute_hidden.
48868 (_libc_vdso_platform_setup): Remove initialization of
48869 __vdso_gettimeofday and __vdso_time.
48870
5c43483f
UD
488712011-08-20 Ulrich Drepper <drepper@gmail.com>
48872
775a77e7
UD
48873 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
48874 and fgetc_unlocked.
48875 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
48876 getc_unlocked.
89f447ed 48877
49c74ba9
UD
48878 * elf/dl-open.c (add_to_global): Report additions to the global scope
48879 for LD_DEBUG=scopes.
48880 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 48881 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 48882
5c43483f
UD
48883 [BZ #13114]
48884 * stdio-common/Makefile (tests): Add bug24.
48885 * stdio-common/bug24.c: New file.
48886
a101b025
AJ
488872011-08-19 Andreas Jaeger <aj@suse.de>
48888
48889 [BZ #13114]
48890 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
48891 non-existant file when using close-on-exec mode.
48892
c88f1766
UD
488932011-08-20 Ulrich Drepper <drepper@gmail.com>
48894
0276a718
UD
48895 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
48896 the very first instruction.
48897
c88f1766
UD
48898 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
48899 the CFI state in the end.
48900 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
48901 inclusion of dl-trampoline.h.
48902 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
48903
51ccffa0
AS
489042011-08-19 Andreas Schwab <schwab@redhat.com>
48905
94d7165f
AS
48906 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48907 expectations for long double.
48908
51ccffa0
AS
48909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48910 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48911
fd708658 489122011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
48913
48914 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48915 artificual limit depends upon the system page size.
48916
44f0a71e
UD
489172011-08-17 Ulrich Drepper <drepper@gmail.com>
48918
48919 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48920 * resolv/Makefile: Define CFLAGS-libresolv.
48921
8de79a24
AS
489222011-08-17 Andreas Schwab <schwab@redhat.com>
48923
48924 * nss/makedb.c (compute_tables): Make variables used in nested
48925 function static.
48926
27724598
UD
489272011-08-17 Ulrich Drepper <drepper@gmail.com>
48928
c5305d88
UD
48929 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48930 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48931 if buffer was too small.
48932
27724598
UD
48933 * elf/pldd.c (main): Attach to all threads in the process.
48934 Rewrite /proc handling to use *at functions.
48935
076fe015
UD
489362011-08-16 Ulrich Drepper <drepper@gmail.com>
48937
174baab3
UD
48938 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48939 specifies first scope to show.
48940 (dl_open_worker): Update callers. Move printing scope of new
48941 object to before the relocation.
44f0a71e 48942 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
48943 * sysdeps/generic/ldsodefs.h: Update declaration.
48944
076fe015
UD
48945 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48946 string for the scope number.
48947
a60df2c3
UD
489482011-08-14 Ulrich Drepper <drepper@gmail.com>
48949
48950 * nscd/servicescache.c (cache_addserv): Make sure written is always
48951 initialized.
48952
5e4287d1
RM
489532011-08-14 Roland McGrath <roland@hack.frob.com>
48954
85ae0589
RM
48955 * sysdeps/i386/i486/bits/atomic.h
48956 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48957 statement expression, so as to suppress "set but not used" warning.
48958 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48959
69f63097
RM
48960 * string/strncat.c (STRNCAT): Use prototype definition.
48961
675456ef
RM
48962 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48963 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48964 -Iprograms here.
48965 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48966 (localedef-modules): Add localedef.
48967 (locale-modules): Add locale.
48968
5e4287d1
RM
48969 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48970 * elf/rtld.c (dl_main): Invert order of assignment in last change,
48971 to avoid a warning.
48972
9c96ff23
DM
489732011-08-14 David S. Miller <davem@davemloft.net>
48974
48975 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48976 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48977
f9ddf089
UD
489782011-08-13 Ulrich Drepper <drepper@gmail.com>
48979
44f0a71e 48980 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
48981 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48982 * elf/rtld.c (dl_main): Set l_name of vDSO.
48983 Call _dl_show_scope when DL_DEBUG_SCOPES.
48984 (process_dl_debug): Recognize scopes flag and also set it for all.
48985 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48986 Declare _dl_show_scope.
48987
1dc27704
UD
48988 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48989 (do_dlopen): Pass caller_dlopen to dl_open.
48990 (__libc_dlopen_mode): Initialize caller_dlopen.
48991
f9ddf089
UD
48992 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48993 of libc. Make tolower call locale-independent. Optimize a bit by
48994 using isdigit instead of isalnum.
48995 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48996
9ac533d3
UD
489972011-08-12 Ulrich Drepper <drepper@gmail.com>
48998
48999 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
49000 was a dependency or dynamically loaded.
49001
89edf2e9
UD
490022011-08-11 Ulrich Drepper <drepper@gmail.com>
49003
8e999d29
UD
49004 * intl/l10nflist.c: Allow architecture-specific pop function.
49005 * sysdeps/x86_64/l10nflist.c: New file.
49006
89edf2e9
UD
49007 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
49008 classification.
49009
14d96785
AS
490102011-08-10 Andreas Schwab <schwab@redhat.com>
49011
49012 * include/dirent.h: Add libc_hidden_proto for scandirat and
49013 scandirat64. Don't declare __scandirat64.
49014 * dirent/scandirat.c: Add libc_hidden_def.
49015 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
49016 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
49017
6761ac04
DM
490182011-08-10 David S. Miller <davem@davemloft.net>
49019
49020 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
49021 enum.
49022 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49023 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49024 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49025
c55fbd1e
UD
490262011-08-09 Ulrich Drepper <drepper@gmail.com>
49027
49028 * Versions.def [libc]: Add GLIBC_2.15.
49029 * dirent/Makefile (routines): Add scandirat and scandirat64.
49030 * dirent/Versions [libc]: Export scandirat and scandirat64 for
49031 GLIBC_2.15.
49032 * dirent/dirent.h: Declare scandirat and scandirat64.
49033 * dirent/scandirat.c: New file.
49034 * dirent/scandirat64.c: New file.
49035 * sysdeps/wordsize-64/scandirat.c: New file.
49036 * sysdeps/wordsize-64/scandirat64.c: New file.
49037 * dirent/opendir.c: Define opendirat.
49038 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
49039 using scandirat.
49040 * dirent/scandir64.c: Adjust for scandir.c change.
49041 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
49042 __scandirat64, and __scandir_cancel_handler.
49043 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
49044 additional parameter and use openat instead of open (outside of ld.so).
49045 Add new __opendir as wrapper around __opendirat.
49046 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
49047 here without requiring old scandirat implementation.
49048
879165f2
UD
490492011-08-08 Ulrich Drepper <drepper@gmail.com>
49050
49051 * dirent/scandir.c (cancel_handler): Renamed to
49052 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
49053 defined. Adjust users.
49054 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
49055 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
49056
cb7e923b
UD
490572011-08-04 Ulrich Drepper <drepper@gmail.com>
49058
16292edd
UD
49059 * string/test-string.h (IMPL): Use __STRING to expand name and then
49060 stringify it.
49061
cb7e923b
UD
49062 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
49063 of cleanups.
49064
cff82933
LD
490652011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49066
49067 * string/Makefile: Update.
49068 (strop-tests): Append strncat.
49069 * string/test-wcscmp.c: New file.
49070 New comprehensive test for wcscmp.
49071 * string/test-strcmp.c: Update.
49072 (WIDE): New define.
49073
9be9bfcc
AS
490742011-07-22 Andreas Schwab <schwab@redhat.com>
49075
49076 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
49077 line.
49078
2e96f1c7
AS
490792011-07-26 Andreas Schwab <schwab@redhat.com>
49080
49081 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49082 encoding to ACE if AI_IDN.
49083
85188888
JJ
490842011-08-01 Jakub Jelinek <jakub@redhat.com>
49085
49086 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
49087 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
49088
5fa16e9b
LD
490892011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49090
49091 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
49092 Fix overflow bug in strncat.
49093 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
49094
49095 * string/test-strncat.c: Update.
49096 Add new tests for checking overflow bugs.
49097
490982011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49099
49100 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49101 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
49102 * sysdeps/i386/i686/multiarch/strcat.S: New file.
49103 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
49104 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
49105 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
49106 * sysdeps/i386/i686/multiarch/strncat.S: New file.
49107 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
49108 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
49109
49110 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
49111 (USE_AS_STRCAT): Define.
49112 Add strcat and strncat support.
49113 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49114
8c1a459f
AS
491152011-07-25 Andreas Schwab <schwab@redhat.com>
49116
49117 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
49118 __n bigger than INT_MAX+1.
49119 (__strncmp_g): Likewise.
49120
bba33c28
UD
491212011-07-23 Ulrich Drepper <drepper@gmail.com>
49122
798be72d
UD
49123 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
49124 * libio/stido.h: Likewise.
49125
8accd4dc
UD
49126 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
49127 (AF_NFC): Define.
49128 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
49129 (AF_NFC): Define.
49130
cbff0d96
UD
49131 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
49132 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49133 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49134 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
49135 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49136
9191c04a
UD
49137 [BZ #13021]
49138 * scripts/test-installation.pl: Don't expect libnss_test1 to be
49139 installed.
49140
bba33c28
UD
49141 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
49142 typo.
49143 (_dl_x86_64_save_sse): Likewise.
49144
90f139dd
UD
491452011-07-22 Ulrich Drepper <drepper@gmail.com>
49146
1aae088a
UD
49147 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
49148 OSXSAVE.
49149 (_dl_x86_64_save_sse): Likewise.
49150
8e2045f5
UD
49151 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
49152
90f139dd
UD
49153 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
49154
1d002f25
AS
491552011-07-21 Andreas Schwab <schwab@redhat.com>
49156
49157 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
49158 change.
49159 (_dl_x86_64_save_sse): Use correct AVX check.
49160
21137f89
UD
491612011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49162
49163 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
49164 bug in strncpy/strncat.
49165 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
49166
a65c0b7a
UD
491672011-07-21 Ulrich Drepper <drepper@gmail.com>
49168
49169 * string/tester.c (test_strcat): Add tests for different alignments
49170 of source and destination.
49171 (test_strncat): Likewise.
49172
6986b98a
UD
491732011-07-20 Ulrich Drepper <drepper@gmail.com>
49174
90bb2039
UD
49175 [BZ #12852]
49176 * posix/glob.c (glob): Check passed in values before using them in
49177 expressions to avoid some overflows.
49178 (glob_in_dir): Likewise.
49179
5644ef54
UD
49180 [BZ #13007]
49181 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
49182 check for AVX enablement so that we don't crash with old kernels and
49183 new hardware.
49184 * elf/tst-audit4.c: Add same checks here.
49185 * elf/tst-audit6.c: Likewise.
49186
49187 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 49188
bfc9dc9b
AS
491892011-07-09 Andreas Schwab <schwab@linux-m68k.org>
49190
49191 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
49192
702e64bb
UD
491932011-07-20 Ulrich Drepper <drepper@gmail.com>
49194
49195 * po/cs.po: Update from translation team.
49196 * po/bg.po: Likewise.
49197
295e904f
MP
491982011-07-12 Marek Polacek <mpolacek@redhat.com>
49199
49200 * misc/sys/cdefs.h: Add support for const attribute.
49201 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
49202 to gnu_dev_{major,minor,makedev} functions.
49203
3ff94596
MP
492042011-07-20 Marek Polacek <mpolacek@redhat.com>
49205
49206 * intl/dcigettext.c (get_output_charset): Add missing bracket.
49207
28b59fca
AS
492082011-07-20 Andreas Schwab <schwab@redhat.com>
49209
49210 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
49211 strlen results.
49212
19df733e
AK
492132011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49214
49215 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
49216 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
49217 register in order to avoid conflicts with the soft frame pointer
49218 being held in r11 when necessary.
49219 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
49220 (INTERNAL_VSYSCALL_NCS): Likewise.
49221
c8835729
MP
492222011-07-14 Marek Polacek <mpolacek@redhat.com>
49223
49224 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
49225 * elf/dl-fini.c (_dl_fini): Adjust caller.
49226 * elf/dl-close.c (_dl_close_worker): Likewise.
49227 * sysdeps/generic/ldsodefs.h: Adjust declaration.
49228
b902330c
MP
492292011-07-15 Marek Polacek <mpolacek@redhat.com>
49230
8991e135
MP
49231 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
49232 "aux_cache->nlibs < 0".
49233
b902330c
MP
49234 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
49235 in the reload-count case.
49236
99710781
LD
492372011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49238
49239 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49240 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
49241 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
49242 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
49243 * sysdeps/x86_64/multiarch/strcat.S: New file.
49244 * sysdeps/x86_64/multiarch/strncat.S: New file.
49245 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
49246 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
49247 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
49248 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
49249 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
49250 (USE_AS_STRCAT): Define.
49251 Add strcat and strncat support.
49252 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49253 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
49254 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
49255 * string/strncat.c: Update.
49256 (USE_AS_STRNCAT): Define.
49257 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49258 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
49259 and i7.
49260 * sysdeps/x86_64/multiarch/init-arch.h
49261 (bit_Prefer_PMINUB_for_stringop): New.
49262 (index_Prefer_PMINUB_for_stringop): Likewise.
49263 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
49264 bit_Prefer_PMINUB_for_stringop.
49265
7dc6bd90
UD
492662011-07-19 Ulrich Drepper <drepper@gmail.com>
49267
49268 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
49269 buffer64.
49270 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
49271 of casting of buffer.
49272 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
49273 buffer32 and buffer64.
49274 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
49275 writes instead of casting of buffer.
49276 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
49277 buffer32.
49278 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
49279 casting of buffer.
49280
e0e72284
AS
492812011-07-19 Andreas Schwab <schwab@redhat.com>
49282
49283 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
49284
feb1eb0b
UD
492852011-07-19 Ulrich Drepper <drepper@gmail.com>
49286
49287 * nscd/nscd.c (termination_handler): Don't do anything for a database
49288 if it has not yet been initialized.
49289
298711ff
UD
492902011-07-18 Ulrich Drepper <drepper@gmail.com>
49291
49292 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49293
492942011-07-15 Marek Polacek <mpolacek@redhat.com>
49295
49296 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49297
f9d68389
UD
492982011-07-18 Ulrich Drepper <drepper@gmail.com>
49299
49300 * po/nl.po: Update from translation team.
49301 * po/sv.po: Likewise.
49302
db290cf5
RM
493032011-07-16 Roland McGrath <roland@hack.frob.com>
49304
49305 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
49306 now disallowed by GCC.
5c550700 49307
fd5e21c7
RM
49308 * configure.in (use-default-link): Default to yes if a test -shared
49309 link meets our qualifications.
49310 * configure: Regenerated.
49311
5c550700
RM
49312 * config.make.in (output-format): New variable.
49313 * configure.in: Check for ld --print-output-format support.
49314 * configure: Regenerated.
49315 * Makerules ($(common-objpfx)format.lds)
49316 [$(output-format) != unknown]: Just use $(output-format),
49317 instead of the linker-script munging.
49318
9fa2c032
RM
493192011-07-14 Roland McGrath <roland@hack.frob.com>
49320
a6928d51
RM
49321 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
49322 of $(common-objpfx)shlib.lds.
49323 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
49324
661607b3
RM
49325 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
49326 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
49327
9fa2c032
RM
49328 * configure.in (-z relro check): Adjust test code to add a large
49329 writable data section after it.
49330 * configure: Regenerated.
49331
defe9061
RM
493322011-07-11 Roland McGrath <roland@hack.frob.com>
49333
49334 * configure.in (-z relro check): Fix test code to make the variable
49335 truly const.
49336 * configure: Regenerated.
49337
319b9ad4
UD
493382011-07-11 Ulrich Drepper <drepper@gmail.com>
49339
49340 * nscd/nscd.h (struct traced_file): Define.
49341 (struct database_dyn): Remove inotify_descr, reset_res, and filename
49342 elements. Add traced_files.
49343 (inotify_fd): Declare.
49344 (register_traced_file): Declare.
49345 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
49346 (inotify_fd): Export.
49347 (resolv_conf_descr): Remove.
49348 (nscd_init): Move inotify descriptor creation to main.
49349 Don't register files for notification here.
49350 (register_traced_file): New function.
49351 (invalidate_cache): Don't use reset_res to determine whether to call
49352 res_init, go through the list of registered files.
49353 (main_loop_poll): The inotify descriptors are now stored in the
49354 structures for the traced files.
49355 (main_loop_epoll): Likewise
49356 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
49357 to __nss_disable_nscd.
49358 * nscd/cache.c (prune_cache): There is no single inotify descriptor
49359 for a database anymore. Check the records for all the registered
49360 files instead.
49361 * nss/Makefile (libnss_files-routines): Add files-init.
49362 (libnss_db-routines): Add db-init.
49363 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
49364 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
49365 * nss/nss_db/db-init.c: New file.
49366 * nss/nss_files/files-init.c: New file.
49367 * nss/nsswitch.c (nss_load_library): New function. Broken out of
49368 __nss_lookup_function.
49369 (__nss_lookup_function): Call nss_load_library.
49370 (nss_load_all_libraries): New function.
49371 (__nss_disable_nscd): Take parameter with callback function for files
49372 to register. Set is_nscd. Load all the DSOs for the NSS modules
49373 used for the cached services.
49374 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
49375 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
49376 options for features to all the files in nscd.
49377
49378 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
49379
23bee3e8
RM
493802011-07-10 Roland McGrath <roland@hack.frob.com>
49381
49382 * csu/elf-init.c (__libc_csu_init): Comment typo.
49383
46a5b7f0
UD
493842011-07-09 Ulrich Drepper <drepper@gmail.com>
49385
49386 * po/pl.po: Update from translation team.
49387 * po/ja.po: Likewise.
49388 * po/ru.po: Likewise.
49389 * po/ko.po: Likewise.
49390 * po/fr.po: Likewise.
49391
d30cf5bb
RM
493922011-07-09 Roland McGrath <roland@hack.frob.com>
49393
113ddea4
RM
49394 * configure.in (.ctors/.dtors header and trailer check):
49395 Use an empirical test on a built program.
49396 * configure: Regenerated.
49397
574920b4
RM
49398 * configure.in (-z relro check): Use an empirical test on a built DSO.
49399 Detect, but do not require, on ia64.
49400 * configure: Regenerated.
49401
d30cf5bb
RM
49402 * configure.in (READELF): Find it with AC_CHECK_TOOL.
49403 Update tests that use readelf to use $READELF instead.
49404 * configure: Regenerated.
49405
8538fdb3
UD
494062011-07-08 Ulrich Drepper <drepper@gmail.com>
49407
49408 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
49409 if the result is not used.
49410
04d08991
AJ
494112011-07-05 Andreas Jaeger <aj@suse.de>
49412
49413 [BZ#9696]
49414 * stdlib/tst-strtod.c: Add testcase.
49415
de283087
AD
494162011-07-07 Ulrich Drepper <drepper@gmail.com>
49417
4e5f31c8 49418 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 49419 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
49420 The latter has a higher limit. Take additional parameter to pass to
49421 the new function.
49422 (__pathconf): Pass file to __statfs_link_max.
49423 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
49424 __statfs_link_max.
49425 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
49426 __statfs_link_max.
49427
de283087
AD
49428 [BZ #12868]
49429 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
49430 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49431 Handle Lustre.
49432 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
49433 (__statfs_filesize_max): Likewise.
49434 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
49435
c75fa153
AJ
494362011-07-05 Andreas Jaeger <aj@suse.de>
49437
49438 * resolv/res_comp.c (dn_skipname): Remove unused variable.
49439
1a544854
UD
494402011-07-06 Marek Polacek <mpolacek@redhat.com>
49441
49442 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
49443 `status' variable.
49444 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
49445 Likewise.
49446
6f0eec67
UD
494472011-07-04 H.J. Lu <hongjiu.lu@intel.com>
49448
49449 * Makefile (strop-tests): Add strncat.
49450 * string/test-strncat.c: New file.
49451
aae30307
UD
494522011-06-30 Marek Polacek <mpolacek@redhat.com>
49453
49454 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
49455
c0cfb5eb
UD
494562011-06-21 Andreas Jaeger <aj@suse.de>
49457
49458 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
49459 Copy rule from iconvdata/Makefile.
49460
01636b21
UD
494612011-07-06 Ulrich Drepper <drepper@gmail.com>
49462
49463 [BZ #12922]
49464 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
49465 but no long options are defined, just return 'W'.
49466
9895c8bc
UD
494672011-06-22 Marek Polacek <mpolacek@redhat.com>
49468
49469 [BZ #9696]
49470 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
49471
5d4cf042
UD
494722011-07-06 Ulrich Drepper <drepper@gmail.com>
49473
49474 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
49475 netgroups to read.
960e5535 49476 (innetgr): Likewise.
5d4cf042 49477
751eb97e
RM
494782011-07-05 Roland McGrath <roland@hack.frob.com>
49479
49480 * config.make.in (install_root): Default to $(DESTDIR).
49481
f15f1e45
UD
494822011-07-05 Ulrich Drepper <drepper@gmail.com>
49483
49484 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
49485
4e34ac6a
RM
494862011-07-02 Roland McGrath <roland@hack.frob.com>
49487
5e9b6af4
RM
49488 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
49489
84f9ea0f
RM
49490 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
49491 containing directory rather than embedding absolute directory names.
49492
ea5ee9f7
RM
49493 * scripts/check-local-headers.sh: Rewritten using awk.
49494 Match by word, not by line. Print error messages for matches.
49495 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
49496
1b74661a
RM
49497 * Makerules [shlib-lds-flags empty]:
49498 ($(common-objpfx)libc_pic.opts): New target.
49499 ($(common-objpfx)libc_pic.os.clean): New target.
49500 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
49501
49502 * config.make.in (OBJCOPY): New variable.
49503 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
49504 * configure: Regenerated.
49505
f781ef40
RM
49506 * config.make.in (use-default-link): New variable.
49507 * configure.in (use_default_link): Grok --with-default-link to set it.
49508 * configure: Regenerated.
49509 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
49510 (shlib-lds, shlib-lds-flags): Define to empty.
49511
2d4fa81e
RM
49512 * Makerules (shlib-lds): New variable.
49513 (shlib-lds-flags): New variable.
49514 (build-shlib, build-moduile, build-module-asneeded): Use it.
49515 ($(common-objpfx)libc.so): Use $(shlib-lds).
49516 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
49517 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
49518
31fffa6b
RM
49519 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
49520 DT_FLAGS/DT_FLAGS_1 with zero flags.
49521
4e34ac6a
RM
49522 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
49523 linker script munging.
49524
fcfc776b
UD
495252011-07-02 Ulrich Drepper <drepper@gmail.com>
49526
49527 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
49528 as 128-bit value.
49529 * crypt/sha512.c (sha512_process_block): Perform total addition using
49530 128-bit if possible.
49531 (__sha512_finish_ctx): Likewise.
49532 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
49533 as 64-bit value.
49534 * crypt/sha256.c (SWAP64): Define.
49535 (sha256_process_block): Perform total addition using 64-bit if
49536 possible.
49537 (__sha256_finish_ctx): Likewise.
49538
99231d9a
UD
495392011-07-01 Ulrich Drepper <drepper@gmail.com>
49540
49541 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
49542 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49543 * nscd/hstcache.c (cache_addhst): Likewise.
49544 * nscd/grpcache.c (cache_addgr): Likewise.
49545 * nscd/aicache.c (addhstaiX): Likewise
49546 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
49547
445b4a53
TK
495482011-07-01 Thorsten Kukuk <kukuk@suse.de>
49549
49550 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
49551 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49552 * nscd/hstcache.c (cache_addhst): Likewise.
49553 * nscd/grpcache.c (cache_addgr): Likewise.
49554 * nscd/aicache.c (addhstaiX): Likewise
49555
6d4d8e8e
AS
495562011-07-01 Andreas Schwab <schwab@redhat.com>
49557
49558 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
49559 domain only when needed.
49560
89f654c5
AS
495612011-06-30 Andreas Schwab <schwab@redhat.com>
49562
49563 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
49564 is always restored.
49565
cf3b23ff
UD
495662011-06-29 Ulrich Drepper <drepper@gmail.com>
49567
49568 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
49569 are re-adding the entry.
49570 * nscd/servicescache.c (cache_addserv): Likewise.
49571
751626f9
AJ
495722011-06-30 Aurelien Jarno <aurelien@aurel32.net>
49573
49574 * sysdeps/generic/dl-irel.h: fix protection against multiple
49575 inclusions.
49576 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
49577
9113ea1f
UD
495782011-06-28 Ulrich Drepper <drepper@gmail.com>
49579
5c0b8d90
UD
49580 [BZ #12935]
49581 * malloc/memusage.sh: Fix quoting in message.
49582 * debug/xtrace.sh: Likewise.
49583
9113ea1f
UD
49584 * configure.in: Remove support for --experimental-malloc option, make
49585 it the default.
49586 * config.make.in: Likewise.
49587 * malloc/Makefile: Likewise.
49588
a4172181
AS
495892011-06-27 Andreas Schwab <schwab@redhat.com>
49590
49591 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
49592 two-byte characters.
49593
78a7eee7
RM
495942011-06-27 Roland McGrath <roland@hack.frob.com>
49595
62bede13
RM
49596 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
49597 AC_CACHE_CHECK invocation.
49598 * configure: Regenerated.
49599
78a7eee7
RM
49600 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
49601
5ce33a62
UD
496022011-06-27 Ulrich Drepper <drepper@gmail.com>
49603
034807a9
UD
49604 [BZ #12350]
49605 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
49606 bit from old_res_options.
49607
4902da17
UD
49608 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
49609
5ce33a62
UD
49610 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
49611 value type for setfct.
49612
c2344f56
L
496132011-06-23 H.J. Lu <hongjiu.lu@intel.com>
49614
49615 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49616 __gettimeofday instead of gettimeofday.
49617
68468076
UD
496182011-06-26 Ulrich Drepper <drepper@gmail.com>
49619
49620 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
49621
acb0d739
L
496222011-06-24 H.J. Lu <hongjiu.lu@intel.com>
49623
49624 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
49625
49626 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
49627 info.
49628
8912479f
L
496292011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49630
49631 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49632 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49633 strcpy-sse2-unaligned strncpy-sse2-unaligned
49634 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
49635 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
49636 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
49637 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
49638 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
49639 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
49640 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
49641 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
49642 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
49643 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
49644 (STRCPY): Support SSE2 and SSSE3 versions.
49645
d5495a11
UD
496462011-06-24 Ulrich Drepper <drepper@gmail.com>
49647
49648 [BZ #12874]
49649 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
49650 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
49651 kernels which artificially limit size of requests.
49652
0b1cbaae
L
496532011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49654
49655 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49656 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49657 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
49658 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
49659 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
49660 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
49661 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
49662 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
49663 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
49664 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
49665 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
49666 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
49667 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
49668 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
49669 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
49670 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49671 Enable unaligned load optimization for Intel Core i3, i5 and i7
49672 processors.
49673 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
49674 Define.
49675 (index_Fast_Unaligned_Load): Define.
49676 (HAS_FAST_UNALIGNED_LOAD): Define.
49677
07f494a0
MP
496782011-06-23 Marek Polacek <mpolacek@redhat.com>
49679
49680 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
49681
fa3fc0fe
UD
496822011-06-22 Ulrich Drepper <drepper@gmail.com>
49683
49684 [BZ #12907]
49685 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
49686 until it is clear that the information is realy needed.
49687 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
49688
e12df166
AS
496892011-06-22 Andreas Schwab <schwab@redhat.com>
49690
49691 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
49692
852eb34d
UD
496932011-06-22 Ulrich Drepper <drepper@gmail.com>
49694
84e2a551
UD
49695 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49696 /sys/devices/system/cpu/online if it is usable.
49697
852eb34d
UD
49698 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
49699 reading the information from the /proc filesystem to once a second.
49700
6e502e19
UD
497012011-06-21 Andreas Jaeger <aj@suse.de>
49702
49703 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
49704 NULL after inclusion of kernel headers.
49705
75d39ff2
UD
497062011-06-21 Ulrich Drepper <drepper@gmail.com>
49707
51f9aa6a
UD
49708 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
49709 calls to internal_setent.
49710
c0244a9d
UD
49711 [BZ #12885]
49712 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
49713 addresses using gethostbyname4_r ignore IPv4 addresses.
49714
c5e3c2ae
UD
49715 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
49716 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
49717
75d39ff2
UD
49718 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
49719
42675c6f
DM
497202011-06-20 David S. Miller <davem@davemloft.net>
49721
49722 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
49723 inclusions.
49724 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
49725
49726 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
49727 (elf_irel): Use it.
49728 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
49729 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
49730 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
49731 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
49732 * sysdeps/x86_64/dl-irel.h: Likewise.
49733
49734 * elf/dl-runtime.c: Use elf_ifunc_invoke.
49735 * elf/dl-sym.c: Likewise.
49736
57912a71
UD
497372011-06-15 Ulrich Drepper <drepper@gmail.com>
49738
49739 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
49740 need to dereference resplen2.
49741
ee22793d
AS
497422011-06-14 Andreas Schwab <schwab@redhat.com>
49743
49744 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
49745
a9e836b0
UD
497462011-06-15 Ulrich Drepper <drepper@gmail.com>
49747
77fb9117
UD
49748 * Makeconfig: Define vardbdir and inst_vardbdir.
49749 * nss/Makefile: Add rules to install db-Makefile.
49750
40c1b22c
UD
49751 * nss/nss_db/db-XXX.c: Cleanup.
49752
9f2da732
UD
49753 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
49754 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
49755 GLIBC_PRIVATE.
49756 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
49757 * nss/makedb.c: Implement -g option to specify that value strings
49758 are generated and should not be added to table iterated over for
49759 get*ent calls.
49760 * nss/nss_db/db-initgroups.c: New file.
49761
82e9a1f7
UD
49762 * nss/getent.c: Add support for initgroups lookups through getgrouplist
49763 interface.
49764
c41af17e
UD
49765 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
49766 (internal_getgrouplist): Adjust to name change.
49767 Update use_initgroups_entry if this is not the first call.
49768 * nss/databases.def: Add initgroups entry.
49769
a9e836b0
UD
49770 * nss/makedb.c (compute_tables): Check result of multiple hash table
49771 sizes to minimize maximum chain length.
49772
2666d441
UD
497732011-06-14 Ulrich Drepper <drepper@gmail.com>
49774
49775 * Versions.def: Add entry for libnss_db.
49776 * shlib-versions: Likewise.
49777 * nss/Makefile: Add rules to build libnss_db.
49778 * nss/Versions: Add libnss_db information. Organize libnss_files
49779 entries better.
49780 * nss/db-Makefile: Add gshadow support. Change rules for the new
49781 makedb progra. Some minor improvements to generate smaller files.
49782 * nss/nss_db/nss_db.h: Move NSS database header data structures to
49783 here from...
49784 * nss/makedb.c: ...here.
49785 Improve database format to be smaller and require less memory at
49786 runtime.
49787 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
49788 db anymore.
49789 * nss/nss_db/db-netgrp.c: Likewise.
49790 * nss/nss_db/db-open.c: Likewise.
49791 * nss/nss_files/flies-XXX.x: Adjust comments.
49792 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
49793 * nss/nss_files/files-grp.c: Likewise.
49794 * nss/nss_files/files-hosts.c: Likewise.
49795 * nss/nss_files/files-network.c: Likewise.
49796 * nss/nss_files/files-proto.c: Likewise.
49797 * nss/nss_files/files-pwd.c: Likewise.
49798 * nss/nss_files/files-rpc.c: Likewise.
49799 * nss/nss_files/files-service.c: Likewise.
49800 * nss/nss_files/files-sgrp.c: Likewise.
49801 * nss/nss_files/files-spwd.c: Likewise.
49802 * nss/nss_db/db-alias.c: Removed.
49803 * nss/nss_db/dummy-db.h: Removed.
49804
9ee76b5a
UD
498052011-06-02 Ulrich Drepper <drepper@gmail.com>
49806
49807 * nss/makedb.c: Rewritten to not use database library.
49808 * nss/Makefile: Update to build new makedb program.
49809
c71ca1f8
AJ
498102011-06-14 Andreas Jaeger <aj@suse.de>
49811
49812 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
49813 memset declaration.
49814
3154bfb8
UD
498152011-06-10 Andreas Schwab <schwab@redhat.com>
49816
49817 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
49818 tmpbuf.
49819
b350afab
RM
498202011-06-10 Roland McGrath <roland@hack.frob.com>
49821
decd4e50
RM
49822 * Makerules (shlib.lds): Fail if the linker script comes out empty.
49823 * elf/Makefile ($(objpfx)ld.so): Likewise.
49824
5615eaf2
RM
49825 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
49826 Don't list ld.so twice in dependencies.
49827
49828 * posix/bug-regex31.c: Include <stdlib.h>.
49829
49830 * nscd/hstcache.c (cache_addhst): Remove unused variable.
49831
49832 * nis/nss_compat/compat-spwd.c
49833 (getspent_next_nss_netgr): Remove unused variable.
49834 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
49835
49836 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
49837 nonmembers" output to use the right array.
49838
49839 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
49840
49841 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
49842
49843 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
49844 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
49845 * catgets/gencat.c (read_input_file): Likewise.
49846 * locale/programs/locarchive.c (enlarge_archive): Likewise.
49847
49848 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
49849 variable definition inside #if's controlling its use.
49850
49851 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
49852
49853 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
49854
49855 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
49856
49857 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
49858 unreachable code.
49859
49860 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
49861
b68e08db
RM
49862 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
49863 * configure: Regenerated.
49864
b350afab
RM
49865 * Makerules: Revert last change.
49866 * elf/Makefile: Likewise.
49867
28368601
RM
498682011-06-09 Roland McGrath <roland@hack.frob.com>
49869
49870 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
49871 * elf/Makefile ($(objpfx)librtld.os): Likewise.
49872 (reloc-link): Likewise.
49873
11988f8f
UD
498742011-06-09 Ulrich Drepper <drepper@gmail.com>
49875
49876 * elf/Makefile: Add rules to build pldd.
49877 * elf/pldd.c: New file.
49878 * elf/pldd-xx.c: New file.
49879
e80fab37
UD
498802011-06-07 Ulrich Drepper <drepper@gmail.com>
49881
49882 * version.h: Update for 2.15 development version.
49883
9b849836
DM
498842011-06-07 David S. Miller <davem@davemloft.net>
49885
49886 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
49887 ifuncs.
49888 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
49889 elf_machine_lazy_rel): Likewise.
49890 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49891 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
49892 elf_machine_lazy_rel): Likewise.
49893 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
49894 dl_hwcap via passed in argument.
49895 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
49896 Likewise.
49897
5a31b283
AK
498982011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49899
49900 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
49901
069e52f8
RM
499022011-06-06 Roland McGrath <roland@hack.frob.com>
49903
49904 [BZ #12849]
49905 * manual/fdl-1.1.texi: New file, verbatim from:
49906 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49907 * manual/lgpl-2.1.texi: New file, verbatim from:
49908 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49909 * manual/Makefile (licenses): New variable, list those new file names.
49910 (texis): Use it.
49911 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49912
49913 * manual/fdl.texi: File removed.
49914 * manual/lesser.texi: File removed.
49915 * manual/libc.texinfo (Copying, Documentation License):
49916 Use new @include file names, put @appendix directive before @include.
49917
f16846a5
JJ
499182011-06-04 Jakub Jelinek <jakub@redhat.com>
49919
49920 [BZ #12841]
49921 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49922 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49923 (mq_open): Add __NTH.
49924
3d29045b
L
499252011-06-02 H.J. Lu <hongjiu.lu@intel.com>
49926
49927 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49928 Assume Intel Core i3/i5/i7 processor if AVX is available.
49929
8c297311
UD
499302011-05-31 Ulrich Drepper <drepper@gmail.com>
49931
49932 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49933 typo.
49934
c8fc0c91
UD
499352011-05-31 Andreas Schwab <schwab@redhat.com>
49936
49937 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49938 memory. Use alloca_account. Fix memory leak when retrying.
49939
5b27a807
UD
499402011-05-31 Ulrich Drepper <drepper@gmail.com>
49941
356f8bc6
UD
49942 * version.h (RELEASE): Bump for 2.14 release.
49943 * include/features.h (__GLIBC_MINOR__): Bump to 14.
49944
5b27a807
UD
49945 * config.make.in (RANLIB): Remove entry.
49946
01f16ab0
UD
499472011-05-30 Ulrich Drepper <drepper@gmail.com>
49948
41fce8bd
UD
49949 * po/Makefile (po-sed-cmd): Add ksh to extensions.
49950 (libc.pot): Work around missing support for .ksh extension in xgettext.
49951
4769ae77
UD
49952 [BZ #12684]
49953 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49954 if both request failed.
49955 (send_dg): In case of server errors clear resplen or *resplen2.
49956
6b1e7d19
UD
49957 [BZ #12454]
49958 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49959 when there are multiple maps.
49960 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49961 (_dl_fini): Remove test here.
49962
01f16ab0
UD
49963 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49964
b1ebd700
UD
499652011-05-29 Ulrich Drepper <drepper@gmail.com>
49966
7ae22829
UD
49967 [BZ #12350]
49968 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49969 bit from old_res_options.
49970 (gaih_inet): Likewise.
49971
553149f6 49972 [BZ #11099]
18a84741 49973 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
49974 as signed.
49975
652ffab1
UD
49976 * resolv/res_init.c (res_setoptions): Make the code more compact.
49977
16985fd0
UD
49978 [BZ #11558]
49979 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49980 set RES_USEVC.
49981
0464f746
UD
49982 [BZ #11634]
49983 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49984
7d17596c
UD
49985 * malloc/malloc.h: Mark malloc hook variables as deprecated.
49986
cf6bbbd7
UD
49987 [BZ #11781]
49988 * malloc/malloc.h: Declare malloc hook variables as volatile.
49989
13f1ab36
UD
49990 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49991 in last patch.
49992
b1ebd700
UD
49993 [BZ #11799]
49994 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 49995 raise in the comment.
80e2212d
UD
49996 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49997 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49998 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 49999
ce67228d
UD
500002011-05-28 Ulrich Drepper <drepper@gmail.com>
50001
8887a920
UD
50002 [BZ #12811]
50003 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
50004 grow the buffers more if it already has to be sufficient.
50005 (build_wcs_upper_buffer): Likewise.
50006 * posix/regexec.c (check_matching): Likewise.
50007 (clean_state_log_if_needed): Likewise.
50008 (extend_buffers): Don't enlarge buffers beyond size of the input
50009 buffer.
50010 Patches mostly by Emil Wojak <emil@wojak.eu>.
50011 * posix/bug-regex32.c: New file.
50012 * posix/Makefile (tests): Add bug-regex32.
50013
4f031072
UD
50014 * locale/findlocale.c (_nl_find_locale): Return right away if
50015 _nl_explode_name failed.
50016 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
50017
d0478f0c
UD
50018 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
50019
de81b246
UD
50020 * debug/xtrace.sh: Unify messages.
50021 * malloc/memusage.sh: Likewise.
50022
c738465a
UD
50023 [BZ #12813]
50024 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
50025 time symbol from vDSO. Substitute with vsyscall if not available.
50026 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
50027 __vdso_time.
50028
f1f929d7
UD
50029 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
50030 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
50031 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
50032 Add sendmmsg and internal_sendmmsg.
50033 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
50034 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
50035 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
50036
ce67228d
UD
50037 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
50038 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
50039 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
50040
e57420c6
UD
500412011-05-27 Ulrich Drepper <drepper@gmail.com>
50042
a8509ca5
UD
50043 [BZ #12813]
50044 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
50045 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
50046 available.
50047 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
50048 __vdso_getcpu.
50049
e57420c6
UD
50050 [BZ #12814]
50051 * iconvdata/Makefile (tests): Add bug-iconv9.
50052 * iconvdata/bug-iconv9.c: New file.
50053
4d07db15
AS
500542011-05-27 Andreas Schwab <schwab@redhat.com>
50055
50056 [BZ #12814]
50057 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
50058
ea486f69
JJ
500592011-05-25 Jakub Jelinek <jakub@redhat.com>
50060
50061 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50062 (struct user_regs_struct): Change intcs field back to cs.
50063
6f038433
UD
500642011-05-25 Ulrich Drepper <drepper@gmail.com>
50065
50066 * po/ja.po: Update from translation team.
50067
67f86a25
UD
500682011-05-23 Ulrich Drepper <drepper@gmail.com>
50069
50070 [BZ #12795]
50071 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
50072 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
50073
def7fbd6
AS
500742011-05-20 Andreas Schwab <schwab@redhat.com>
50075
50076 * stdlib/longlong.h: Update from GCC.
50077
f50ef8f1
AS
500782011-05-23 Andreas Schwab <schwab@redhat.com>
50079
50080 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
50081 parameter name.
50082 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
50083 Add parameter name.
50084 (__sysconf): Pass it down.
50085
de7ce8f1
UD
500862011-05-22 Ulrich Drepper <drepper@gmail.com>
50087
f2962a71
UD
50088 [BZ #12671]
50089 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
50090 some situations.
50091 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
50092 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
50093 add in in __libc_use_alloca calls. Adjust callers.
50094 (glob): Use malloc in some situations.
50095
de7ce8f1
UD
50096 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
50097 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
50098 pltexit.
50099
aec84f53
UD
501002011-05-21 Ulrich Drepper <drepper@gmail.com>
50101
05bb4a68
UD
50102 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
50103 and CLOCK_BOOTTIME_ALARM.
50104
7ea72f99
UD
50105 [BZ #12782]
50106 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
50107 is returned.
50108
7e4afad5
UD
50109 * string/_strerror.c (__strerror_r): Print negative errors as signed
50110 numbers.
50111
8e211fec
UD
50112 [BZ #12777]
50113 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
50114 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
50115 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
50116
f7d82dc9
UD
50117 * configure.in: Fix typo in redirection and correct removal of test
50118 files in two cases.
50119
cc9e536d
UD
50120 [BZ #12788]
50121 * locale/setlocale.c (new_composite_name): Fix test to check for
50122 identical name of all categories.
50123
aec84f53
UD
50124 [BZ #12792]
50125 * libio/filedoalloc.c (local_isatty): New function.
50126 (_IO_file_doallocate): Use local_isatty.
50127 * stdio-common/perror.c (perror): In case a new stream is used
50128 forward the stream error.
50129 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
50130 error flag.
50131
78e64fdc
RT
501322011-05-20 Ulrich Drepper <drepper@gmail.com>
50133
34a9094f
UD
50134 [BZ #11869]
50135 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
50136 alloca.
50137 * include/alloca.h (extend_alloca_account): Define.
50138
78e64fdc
RT
50139 [BZ #11857]
50140 * posix/regex.h: Fix comments with documentation of user-accessible
50141 fields after compilation and describe correct free'ing of pattern
50142 after re_compile_pattern.
50143 Patch by Reuben Thomas <rrt@sc3d.org>.
50144
457bddfc
RA
501452011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
50146
50147 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
50148 and -mno-altivec to prevent the compiler from using Altivec and/or
50149 VSX instructions when the corresponding registers are not available.
50150
a4527b51
AS
501512011-05-19 Andreas Schwab <schwab@redhat.com>
50152
50153 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
50154
ed690b2f
UD
501552011-05-19 Ulrich Drepper <drepper@gmail.com>
50156
50157 * libio/freopen.c (freopen): Use __dup2, not dup2.
50158 * libio/freopen64.c (freopen64): Likewise.
50159
8db73634
L
501602011-05-17 H.J. Lu <hongjiu.lu@intel.com>
50161
50162 [BZ #12775]
50163 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
50164 * math/Makefile (tests): Add test-powl.
50165 (CFLAGS-test-powl.c): Define.
50166 * math/test-powl.c: New file.
50167
0a197a9d
L
501682011-05-16 H.J. Lu <hongjiu.lu@intel.com>
50169
50170 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
50171
ee30c380
UD
501722011-05-17 Ulrich Drepper <drepper@gmail.com>
50173
50174 [BZ #11837]
50175 * iconvdata/gb18030.c: Update to GB18020-2005.
50176
6ce75379
UD
501772011-05-16 Ulrich Drepper <drepper@gmail.com>
50178
a4b89fd8
AR
50179 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
50180 RE_SYNTAX_POSIX_AWK): Update to match recent development.
50181 Patch by Aharon Robbins <arnold@skeeve.com>.
50182
ea389b12
UD
50183 [BZ #11892]
50184 * stdlib/putenv.c (putenv): Don't always create copy of the variable
50185 on the stack.
50186
68a3f91f
UD
50187 [BZ #11895]
50188 * misc/pselect.c (__pselect): Handle timeout value errors hidden
50189 through underflows.
50190
15cc7dd1
UD
50191 [BZ #12766]
50192 * misc/error.c (error_at_line): Ensure file_name and old_file_name
50193 point to strings before performing equality test for error_one_per_line
50194 mode.
50195
f3799213
UD
50196 [BZ #11697]
50197 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
50198
d79a9c94
UD
50199 [BZ #11820]
50200 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50201 (struct user_fpregs_struct): Avoid __uint*_t types.
50202
56e5eb46
UD
50203 [BZ #6420]
50204 * malloc/mtrace.c (tr_where): Add additional parameter to point to
50205 symbol info. Use it instead of calling _dl_addr locally.
50206 (lock_and_info): New function.
50207 (tr_freehook): Call lock_and_info and pass symbol info as additional
50208 parameter to tr_where.
50209 (tr_mallochook): Likewise.
50210 (tr_reallochook): Likewise.
50211 (tr_memalignhook): Likewise.
50212
6ce75379
UD
50213 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
50214 used and couldn't be at all thread-safe.
50215
f8a3b5bf
UD
502162011-05-15 Ulrich Drepper <drepper@gmail.com>
50217
94b7cc37
UD
50218 * libio/freopen.c (freopen): Don't close old file descriptor
50219 before the new one is opened. Instead dup the new file descriptor
50220 to the old one after the new stream is created.
50221 * libio/freopen64.c (freopen64): Likewise.
50222 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
50223 * libio/fileops.c (_IO_new_file_close_it): Handle new
50224 _IO_FLAGS2_NOCLOSE flag.
50225 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
50226 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
50227 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
50228 _IO_FLAGS2_NOCLOSE flag.
50229 * include/unistd.h: Add hidden_proto for dup3.
50230 Define __have_dup3.
50231 * io/dup3.c: Define hidden symbol.
50232 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
50233
bd25564e
UD
50234 [BZ #7101]
50235 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
50236 when an incomplete long option is used.
50237 * posix/tst-getopt_long1.c: New file.
50238 * posix/Makefile (tests): Add tst-getopt_long1.
50239
c84cfef4
UD
50240 [BZ #10138]
50241 * scripts/config.guess: Update from autoconf-2.68.
50242 * scripts/config.sub: Likewise.
50243
3b85df27
UD
50244 [BZ #10157]
50245 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
50246 tests into ...
50247 (has_cpuclock): ...this. New function.
50248 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
50249 macro here based on has_cpuclock code.
50250
15a856b1
UD
50251 [BZ #10149]
50252 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50253 First byte (not low byte) is now always NUL.
50254 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
50255
05f399e6
UD
50256 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50257 Use non-cancelable interfaces.
50258
10a52685 50259 [BZ #9809]
94ecc67d
UD
50260 * locale/iso-639.def: Add entry for Sorani.
50261
f8a3b5bf
UD
50262 [BZ #11901]
50263 * include/stdlib.h: Move include protection to the right place.
50264 Define abort_msg_s. Declare __abort_msg with it.
50265 * stdlib/abort.c (__abort_msg): Adjust type.
50266 * assert/assert.c (__assert_fail_base): New function. Majority
50267 of code from __assert_fail. Allocate memory for __abort_msg with
50268 mmap.
50269 (__assert_fail): Now call __assert_fail_base.
50270 * assert/assert-perr.c: Remove bulk of implementation. Use
50271 __assert_fail_base.
50272 * include/assert.hL Declare __assert_fail_base.
50273 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
50274 mmap.
50275 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
50276
1af4e298
UD
502772011-05-14 Ulrich Drepper <drepper@gmail.com>
50278
f8a3b5bf 50279 [BZ #11952]
d26dfc60
MG
50280 [BZ #12453]
50281 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
50282 until all modules are registered in the DTV.
50283 * elf/Makefile: Add rules to build and run tst-tls19.
50284 * elf/tst-tls19.c: New file.
50285 * elf/tst-tls19mod1.c: New file.
50286 * elf/tst-tls19mod2.c: New file.
50287 * elf/tst-tls19mod3.c: New file.
50288 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
50289
2fc54d6f
UD
50290 [BZ #12083]
50291 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
50292 correctly.
50293
98d76b46
UD
50294 [BZ #12601]
50295 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
50296 two-byte sequence errors.
50297 * iconvdata/Makefile (tests): Add bug-iconv8.
50298 * iconvdata/bug-iconv8.c: New file.
50299
da3c19ef
UD
50300 [BZ #12626]
50301 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
50302 buf2 definition.
50303
ca408c15
UD
50304 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
50305
d6f67f7d
UD
50306 [BZ #12432]
50307 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
50308 (dummy_getcfa): New function.
50309 (init): Get _Unwind_GetCFA address, use dummy if not found.
50310 (backtrace_helper): In recursion check, also check whether CFA changes.
50311 (__backtrace): Completely initialize arg.
50312
1af4e298 50313 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
50314 storing incomplete byte sequence in state object. Avoid testing for
50315 guaranteed too small input if we know there is enough data available.
1af4e298 50316
da62f81b
AS
503172011-05-11 Andreas Schwab <schwab@redhat.com>
50318
50319 * Makeconfig (+link-pie): Indent.
50320 * Rules (binaries-pie): Define if $(have-fpie) and
50321 $(build-shared).
50322 (binaries-shared): Also filter out $(binaries-pie).
50323 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
50324 * nscd/Makefile (others-pie): Add nscd.
50325 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
50326 ($(objpfx)nscd): Remove command override.
50327 * login/Makefile (others-pie): Add pt_chown.
50328 ($(objpfx)pt_chown): Remove command override.
50329 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
50330 remove command overrides.
50331
fcabc0f8
UD
503322011-05-13 Ulrich Drepper <drepper@gmail.com>
50333
20030ae6
UD
50334 * libio/tst_putwc.c: Fix error messages.
50335
fcabc0f8
UD
50336 [BZ #12724]
50337 * libio/fileops.c (_IO_new_file_close_it): Always flush when
50338 currently writing and seek to current position when not.
50339 * libio/Makefile (tests): Add bug-fclose1.
50340 * libio/bug-fclose1.c: New file.
50341
320a5dc0
PB
503422011-05-12 Ulrich Drepper <drepper@gmail.com>
50343
50344 [BZ #12511]
50345 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
50346 don't set DF_1_NODELETE here.
50347 (do_lookup_x): When entering new entry test for copy relocation
50348 and if necessary set DF_1_NODELETE flag.
50349 * elf/tst-unique4.cc: New file.
50350 * elf/tst-unique4.h: New file.
50351 * elf/tst-unique4lib.cc: New file.
50352 * elf/Makefile: Add rules to build and run tst-unique4.
50353 Patch by Piotr Bury <pbury@goahead.com>.
50354
22836f52
UD
503552011-05-11 Ulrich Drepper <drepper@gmail.com>
50356
f574184a
UD
50357 [BZ #12052]
50358 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
50359
e1fb097f
UD
50360 [BZ #12625]
50361 * misc/mntent_r.c (addmntent): Flush the stream after the output
50362
22836f52
UD
50363 [BZ #12393]
50364 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
50365 (is_trusted_path_normalize): Skip initial colon. Append slash
50366 to empty buffer. Duplicate is_trusted_path code but allow
50367 constructed patch to be prefix.
50368 (is_dst): Allow $ORIGIN followed by /.
50369 (_dl_dst_substitute): Correct clearing of check_for_trusted.
50370 Correct testing of result of is_trusted_path_normalize
50371 (decompose_rpath): Fix warning.
50372
7b3b0b2a
UD
503732011-05-10 Ulrich Drepper <drepper@gmail.com>
50374
50375 [BZ #11257]
50376 * grp/initgroups.c (internal_getgrouplist): When we found the service
50377 list through the initgroups entry in nsswitch.conf do not always
50378 continue on a successful lookup. Don't always use the
eac80ce2 50379 __nss_group_database value if it is set.
7b3b0b2a
UD
50380 * nss/nsswitch.conf (initgroups): Change action for successful db
50381 lookup to continue for compatibility.
50382
2a81eaa5
UD
503832011-05-09 Ulrich Drepper <drepper@gmail.com>
50384
be97a69e
UD
50385 [BZ #11532]
50386 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
50387 and CP774 modules.
50388 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
50389 and CP774 modules.
50390 * iconvdata/tst-tables.sh: Likewise.
50391 * iconvdata/cp770.c: New file.
50392 * iconvdata/cp771.c: New file.
50393 * iconvdata/cp772.c: New file.
50394 * iconvdata/cp773.c: New file.
50395 * iconvdata/cp774.c: New file.
50396 * iconvdata/testdata/CP770: New file.
50397 * iconvdata/testdata/CP770..UTF8: New file.
50398 * iconvdata/testdata/CP771: New file.
50399 * iconvdata/testdata/CP771..UTF8: New file.
50400 * iconvdata/testdata/CP772: New file.
50401 * iconvdata/testdata/CP772..UTF8: New file.
50402 * iconvdata/testdata/CP773: New file.
50403 * iconvdata/testdata/CP773..UTF8: New file.
50404 * iconvdata/testdata/CP774: New file.
50405 * iconvdata/testdata/CP774..UTF8: New file.
50406
50407 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
50408 END CHARMAP line.
50409 * iconvdata/gen-8bit-gap.sh: Likewise.
50410 * iconvdata/gen-8bit.sh: Likewise.
50411
c1e9e399
UD
50412 * locale/iso-639.def: Add ary entry.
50413
24c55fb3 50414 [BZ #11258]
96b4b1b0
UD
50415 * locale/C-translit.h.in: Add U20A1 transliteration.
50416
bdc2f971
KB
50417 [BZ #12178]
50418 * locale/iso-639.def: Add wae entry.
50419 Patch by Kevin Bortis <bortis@translate-wae.ch>.
50420
2952b117
UD
50421 [BZ #12545]
50422 * locale/programs/localedef.c (construct_output_path): Use ssize_t
50423 for n.
50424
2a81eaa5
UD
50425 [BZ #12711]
50426 * locale/C-translit.h.in: Add entry for U20B9.
50427 Patch by pravin.d.s@gmail.com.
50428
28377d1b
UD
504292011-05-08 Ulrich Drepper <drepper@gmail.com>
50430
7fb90fb8
UD
50431 [BZ #12713]
50432 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
50433 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
50434 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
50435 in rtld. Use *stat64.
7fb90fb8 50436 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 50437 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 50438 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
50439 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
50440 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
50441 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
50442 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
50443 __fstatat64 macros.
7fb90fb8
UD
50444 * include/dirent.h: Add libc_hidden_proto for rewinddir.
50445 * dirent/rewinddir.c: Add libc_hidden_def.
50446 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 50447 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 50448
28377d1b
UD
50449 * include/dirent.h (__alloc_dir): Add flags parameter.
50450 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
50451 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
50452 __alloc_dir.
50453 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
50454 from fdopendir if O_CLOEXEC is already set.
50455
66bdbaa4
AM
504562011-03-15 Alan Modra <amodra@gmail.com>
50457
50458 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
50459 l_tls_firstbyte_offset non-zero. Save padding offset in
50460 l_tls_firstbyte_offset for later use.
50461 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
50462 freeing static tls block.
50463
95721191
JN
504642011-03-05 Jonathan Nieder <jrnieder@gmail.com>
50465
50466 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
50467 where #ifdef was intended. The intent is to prevent ARG_MAX from
50468 being defined by the kernel headers.
50469
f87dfb1f
UD
504702011-05-07 Ulrich Drepper <drepper@gmail.com>
50471
50472 [BZ #12734]
50473 * resolv/resolv.h: Define RES_NOTLDQUERY.
50474 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
50475 no-tld-query and set RES_NOTLDQUERY.
50476 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
50477 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
50478 modern BIND to search name as TLD unless forbidden.
50479
47c3cd7a
UD
504802011-05-07 Petr Baudis <pasky@suse.cz>
50481 Ulrich Drepper <drepper@gmail.com>
50482
50483 [BZ #12393]
50484 * elf/dl-load.c (fillin_rpath): Move trusted path check...
50485 (is_trusted_path): ...to here.
c1e9ea35 50486 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 50487 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 50488 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 50489
8a35c912
PP
504902011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
50491
50492 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
50493 __BEGIN/__END_DECLS.
50494
acd41f47
UD
504952011-05-06 Ulrich Drepper <drepper@gmail.com>
50496
50497 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
50498 NSS_STATUS_NOTFOUND if no record was found.
50499
597df647
AS
505002011-05-05 Andreas Schwab <schwab@redhat.com>
50501
50502 * sunrpc/Makefile (headers): Add rpc/netdb.h.
50503 (headers-not-in-tirpc): Remove rpc/netdb.h
50504 * resolv/netdb.h: Revert last change.
50505
b9af1301
PP
505062011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50507
50508 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
50509 circular dependency between libgcc.a and libc.a.
50510
4e34d5f5
AS
505112011-05-05 Andreas Schwab <schwab@redhat.com>
50512
50513 * resolv/netdb.h: Don't include <rpc/netdb.h>.
50514 * nis/Makefile: Don't install rpcsvc/*.
50515 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
50516 instead of <rpc/types.h>.
50517 (MAXHOSTNAMELEN): Define.
50518
00ee369c
AS
505192011-05-03 Andreas Schwab <schwab@redhat.com>
50520
50521 * elf/ldconfig.c (add_dir): Don't crash on empty path.
50522
0b592a30
MB
505232011-04-28 Maciej Babinski <mbabinski@google.com>
50524
50525 [BZ #12714]
50526 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
50527 gethostbyname4_r when IPv6 results are possible.
50528
6e04cbbe
UD
505292011-05-02 Ulrich Drepper <drepper@gmail.com>
50530
50531 [BZ #12723]
50532 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
50533 _PC_PIPE_BUF handling.
50534
e4ecafe0
BH
505352011-04-30 Bruno Haible <bruno@clisp.org>
50536
50537 [BZ #12717]
50538 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
50539 * resolv/netdb.h (getnameinfo): Change type of flags parameter
50540 to 'int'.
50541 * inet/getnameinfo.c (getnameinfo): Likewise.
50542
125ee683
UD
505432011-04-29 Ulrich Drepper <drepper@gmail.com>
50544
50545 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
50546 to groups setting in database lookup.
50547 * nss/nsswitch.conf: Add initgroups entry.
50548
b722481a
EB
505492011-04-22 Ulrich Drepper <drepper@gmail.com>
50550
50551 [BZ #12685]
50552 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
50553 mode string.
50554 Patch by Eric Blake <eblake@redhat.com>.
50555
4df46dbd
L
505562011-04-20 H.J. Lu <hongjiu.lu@intel.com>
50557
50558 * sunrpc/Makefile (need-export-routines): Add svc_run.
50559 (routines): Remove svc_run.
50560 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
50561 * sunrpc/clnt_perr.c (clnt_perrno): Export.
50562 * sunrpc/svc_run.c (svc_run): Likewise.
50563 * sunrpc/svc_udp.c (svcudp_create): Likewise.
50564
e84142d2
UD
505652011-04-21 Ulrich Drepper <drepper@gmail.com>
50566
50567 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
50568 problem in reallocation in last patch.
50569
877175d8
UD
505702011-04-20 Ulrich Drepper <drepper@gmail.com>
50571
50572 * sunrpc/Makefile: Move inclusion of Rules.
50573
ab8eed78
UD
505742011-04-19 Ulrich Drepper <drepper@gmail.com>
50575
50576 * nss/nss_files/files-initgroups.c: New file.
50577 * nss/Makefile (libnss_files-routines): Add files-initgroups.
50578 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
50579 _nss_files_initgroups_dyn.
50580
e3d8f584
RS
505812011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
50582
50583 * elf/elf.h (R_ARM_IRELATIVE): Define.
50584
af190f45
UD
505852011-04-19 Ulrich Drepper <drepper@gmail.com>
50586
50587 * po/ru.po: Update from translation team.
50588
53cf59ef
UD
505892011-04-17 Ulrich Drepper <drepper@gmail.com>
50590
50591 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
50592 dependencies.
50593
4c559bcd
MF
505942011-02-06 Mike Frysinger <vapier@gentoo.org>
50595
50596 [BZ #12653]
50597 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
50598 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
50599 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50600 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
50601 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
50602
4420675c
AS
506032011-03-28 Andreas Schwab <schwab@linux-m68k.org>
50604
50605 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
50606 differing bytes.
50607 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
50608 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50609 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50610
75ea32ab
UD
506112011-04-17 Ulrich Drepper <drepper@gmail.com>
50612
50613 [BZ #12420]
50614 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
50615 storing it.
50616 * stdlib/bug-getcontext.c: New file.
50617 * stdlib/Makefile: Add rules to build and run bug-getcontext.
50618
27390476
AK
506192011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50620
50621 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
50622 instructions into .machine "z9-109".
50623 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
50624 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
50625
10442705
AK
506262011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50627
50628 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
50629 between environment variables and auxiliary vector.
50630
7b57bfe5
UD
506312011-04-16 Ulrich Drepper <drepper@gmail.com>
50632
50633 * Makefile: Add rules to build linkobj/libc.so.
50634 * include/libc-symbols.h: Define libc_hidden_nolink.
50635 * include/rpc/auth.h: Mark functions which are to be hidden.
50636 * include/rpc/auth_des.h: Likewise.
50637 * include/rpc/auth_unix.h: Likewise.
50638 * include/rpc/clnt.h: Likewise.
50639 * include/rpc/des_crypt.h: Likewise.
50640 * include/rpc/key_prot.h: Likewise.
50641 * include/rpc/pmap_clnt.h: Likewise.
50642 * include/rpc/pmap_prot.h: Likewise.
50643 * include/rpc/pmap_rmt.h: Likewise.
50644 * include/rpc/rpc_msg.h: Likewise.
50645 * include/rpc/svc.h: Likewise.
50646 * include/rpc/svc_auth.h: Likewise.
50647 * include/rpc/xdr.h: Likewise.
50648 * nis/Makefile: Link all DSOs against linkobj/libc.so.
50649 * nss/Makefile: Likewise.
50650 * sunrpc/Makefile: Don't install headers. Build library with normal
50651 entry points. Don't build rpcinfo. Link RPC tests appropriately.
50652 * sunrpc/auth_des.c: Hide exported symbols by default, export some
50653 for the compat linking library. Remove use of INTDEF/INTUSE.
50654 * sunrpc/auth_none.c: Likewise.
50655 * sunrpc/auth_unix.c: Likewise.
50656 * sunrpc/authdes_prot.c: Likewise.
50657 * sunrpc/authuxprot.c: Likewise.
50658 * sunrpc/clnt_gen.c: Likewise.
50659 * sunrpc/clnt_perr.c: Likewise.
50660 * sunrpc/clnt_raw.c: Likewise.
50661 * sunrpc/clnt_simp.c: Likewise.
50662 * sunrpc/clnt_tcp.c: Likewise.
50663 * sunrpc/clnt_udp.c: Likewise.
50664 * sunrpc/clnt_unix.c: Likewise.
50665 * sunrpc/des_crypt.c: Likewise.
50666 * sunrpc/des_soft.c: Likewise.
50667 * sunrpc/get_myaddr.c: Likewise.
50668 * sunrpc/key_call.c: Likewise.
50669 * sunrpc/key_prot.c: Likewise.
50670 * sunrpc/netname.c: Likewise.
50671 * sunrpc/pm_getmaps.c: Likewise.
50672 * sunrpc/pm_getport.c: Likewise.
50673 * sunrpc/pmap_clnt.c: Likewise.
50674 * sunrpc/pmap_prot.c: Likewise.
50675 * sunrpc/pmap_prot2.c: Likewise.
50676 * sunrpc/pmap_rmt.c: Likewise.
50677 * sunrpc/publickey.c: Likewise.
50678 * sunrpc/rpc_cmsg.c: Likewise.
50679 * sunrpc/rpc_common.c: Likewise.
50680 * sunrpc/rpc_dtable.c: Likewise.
50681 * sunrpc/rpc_prot.c: Likewise.
50682 * sunrpc/rpc_thread.c: Likewise.
50683 * sunrpc/rtime.c: Likewise.
50684 * sunrpc/svc.c: Likewise.
50685 * sunrpc/svc_auth.c: Likewise.
50686 * sunrpc/svc_authux.c: Likewise.
50687 * sunrpc/svc_raw.c: Likewise.
50688 * sunrpc/svc_run.c: Likewise.
50689 * sunrpc/svc_simple.c: Likewise.
50690 * sunrpc/svc_tcp.c: Likewise.
50691 * sunrpc/svc_udp.c: Likewise.
50692 * sunrpc/svc_unix.c: Likewise.
50693 * sunrpc/svcauth_des.c: Likewise.
50694 * sunrpc/xcrypt.c: Likewise.
50695 * sunrpc/xdr.c: Likewise.
50696 * sunrpc/xdr_array.c: Likewise.
50697 * sunrpc/xdr_float.c: Likewise.
50698 * sunrpc/xdr_intXX_t.c: Likewise.
50699 * sunrpc/xdr_mem.c: Likewise.
50700 * sunrpc/xdr_rec.c: Likewise.
50701 * sunrpc/xdr_ref.c: Likewise.
50702 * sunrpc/xdr_sizeof.c: Likewise.
50703 * sunrpc/xdr_stdio.c: Likewise.
50704
e6c61494
UD
507052011-04-10 Ulrich Drepper <drepper@gmail.com>
50706
50707 [BZ #12650]
50708 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
50709 * sysdeps/ia64/dl-tls.h: Likewise.
50710 * sysdeps/powerpc/dl-tls.h: Likewise.
50711 * sysdeps/s390/dl-tls.h: Likewise.
50712 * sysdeps/sh/dl-tls.h: Likewise.
50713 * sysdeps/sparc/dl-tls.h: Likewise.
50714 * sysdeps/x86_64/dl-tls.h: Likewise.
50715 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
50716
34fe483e
AS
507172011-03-14 Andreas Schwab <schwab@redhat.com>
50718
50719 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
50720 rpath element also skip the following colon.
50721 (expand_dynamic_string_token): Add is_path parameter and pass
50722 down to DL_DST_REQUIRED and _dl_dst_substitute.
50723 (decompose_rpath): Call expand_dynamic_string_token with
50724 non-zero is_path. Ignore empty rpaths.
50725 (_dl_map_object_from_fd): Call expand_dynamic_string_token
50726 with zero is_path.
50727
f12a32e6
AS
507282011-04-08 Andreas Schwab <schwab@linux-m68k.org>
50729
50730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50731 Make cancelable.
50732
38a7d692
UD
507332011-04-09 Ulrich Drepper <drepper@gmail.com>
50734
50735 [BZ #12655]
50736 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
50737 Patch by Filipe David Manana <fdmanana@apache.org>.
50738
e451d22b
AS
507392011-04-07 Andreas Schwab <schwab@redhat.com>
50740
50741 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
50742 Maintain aligned stack.
50743 (CHECK_RSP): Remove unused macro.
50744
dedc7c7b
UD
507452011-04-03 Ulrich Drepper <drepper@gmail.com>
50746
50747 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
50748 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
50749
94521213
UD
507502011-04-02 Ulrich Drepper <drepper@gmail.com>
50751
50752 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
50753
8cb700c0 50754 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 50755
0354e355
L
507562011-03-26 H.J. Lu <hongjiu.lu@intel.com>
50757
50758 [BZ #12518]
50759 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
50760 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
50761 * sysdeps/x86_64/memmove.c: New file.
50762 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
50763 (memcpy): Renamed to ...
50764 (__new_memcpy): This.
50765 (memcpy): Provide GLIBC_2_14 memcpy.
50766 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
50767 (memcpy): Provide GLIBC_2_2_5 memcpy.
50768
8593482f
UD
507692011-04-01 Ulrich Drepper <drepper@gmail.com>
50770
50771 [BZ #12631]
50772 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
50773
81a5726b
AS
507742011-03-30 Andreas Schwab <schwab@redhat.com>
50775
50776 * misc/syncfs.c: New file.
50777 * misc/Makefile (routines): Add syncfs.
50778 * posix/unistd.h: Declare syncfs.
50779 * sysdeps/unix/syscalls.list: Add syncfs.
50780
00e5419f
AS
507812011-04-01 Andreas Schwab <schwab@redhat.com>
50782
50783 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
50784 open_by_handle_at.
50785 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50786 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50787 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50788 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50789 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50790 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
50791 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50792
748876bf
UD
507932011-04-01 Ulrich Drepper <drepper@gmail.com>
50794
658e451d
UD
50795 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
50796 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50797 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
50798 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50799 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50800 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50801 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50802
748876bf
UD
50803 * io/Makefile: Compile fallocate.c, fallocate64.c, and
50804 sync_file_range.c with -fexceptions.
50805 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
50806 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
50807 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
50808 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
50809 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
50810 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50811 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
50812 sync_file_range as cancellation point
50813 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
50814 now a wrapper around __call_sync_file_range with cancellation handling.
50815 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
50816 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
50817 function name to __call_sync_file_range.
50818 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
50819 Add call_sync_file_range.
748876bf 50820
6e63d5e1
AS
508212011-04-01 Andreas Schwab <schwab@redhat.com>
50822
50823 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 50824 bits/timex.h.
6e63d5e1 50825
46998f74
UD
508262011-04-01 Ulrich Drepper <drepper@gmail.com>
50827
4c1423ed
UD
50828 * iconv/iconv.h: Fix typo in comment.
50829 * io/fcntl.h: Likewise.
50830 * libio/stdio.h: Likewise.
50831 * posix/spawn.h: Likewise.
50832 * posix/unistd.h: Likewise.
50833 * stdlib/stdlib.h: Likewise.
50834 * time/time.h: Likewise.
50835 * wcsmbs/wchar.h: Likewise.
50836
158648c0
UD
50837 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
50838 open_by_handle): Add.
50839 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
50840 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
50841 Augment a few comments.
50842 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50843 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50844 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50845 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50846 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50847 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
50848 open_by_handle.
50849
46998f74
UD
50850 * io/fcntl.h (AT_EMPTY_PATH): Define.
50851
83fe108b
UD
508522011-03-30 Ulrich Drepper <drepper@gmail.com>
50853
50854 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
50855 * sysdeps/unix/sysv/linux/bits/time.h: New file.
50856 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
50857 to...
50858 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
50859 * Versions.def: Add GLIBC_2.14.
50860 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
50861 Export.
83fe108b 50862
bb242059
UD
508632011-03-22 Ulrich Drepper <drepper@gmail.com>
50864
50865 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
50866 round counter.
50867 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50868
c97a1282
L
508692011-03-20 H.J. Lu <hongjiu.lu@intel.com>
50870
50871 [BZ #12597]
50872 * string/test-strncmp.c (do_page_test): New function.
50873 (check2): Likewise.
50874 (test_main): Call check2.
50875 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
50876
2a115601
UD
508772011-03-20 Ulrich Drepper <drepper@gmail.com>
50878
50879 [BZ #12587]
50880 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
50881 Handle cache information in CPU leaf 4.
50882 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50883
8126d904
UD
508842011-03-18 Ulrich Drepper <drepper@gmail.com>
50885
042c49c6 50886 [BZ #12583]
8126d904
UD
50887 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
50888 character representation.
50889 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
50890
ccfe366e
RA
508912011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
50892
50893 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
50894 END(__isnan) to END(__isnanf) to match function entry point/label
50895 EALIGN(__isnanf,...).
50896
c6e13027
JJ
508972011-03-10 Jakub Jelinek <jakub@redhat.com>
50898
50899 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
50900
33f85a3f
UD
509012011-03-10 Ulrich Drepper <drepper@gmail.com>
50902
028478fa
UD
50903 [BZ #12510]
50904 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
50905 copy from the symbol referenced in the relocation to initialize the
50906 used variable.
50907 Patch by Piotr Bury <pbury@goahead.com>.
50908 * elf/Makefile: Add rules to build and tst-unique3.
50909 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50910 * elf/tst-unique3.cc: New file.
50911 * elf/tst-unique3.h: New file.
50912 * elf/tst-unique3lib.cc: New file.
50913 * elf/tst-unique3lib2.cc: New file.
50914
33f85a3f
UD
50915 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50916
03592fc7
MF
509172011-03-10 Mike Frysinger <vapier@gentoo.org>
50918
50919 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50920 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
50921 to _start.
03592fc7 50922
6a5ee102
UD
509232011-03-06 Ulrich Drepper <drepper@gmail.com>
50924
50925 * elf/dl-load.c (_dl_map_object): If we are looking for the first
50926 to-be-loaded object along a path to loader is ld.so.
50927
7e4ba49c
HJ
509282011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50929 Ulrich Drepper <drepper@gmail.com>
50930
50931 * sysdeps/x86_64/memset.S: After aligning destination, code
50932 branches to different locations depending on the value of
50933 misalignment, when multiarch is enabled. Fix this.
50934
509352011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50936
50937 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50938 Set _x86_64_preferred_memory_instruction for AMD processsors.
50939 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50940 Set bit_Prefer_SSE_for_memop for AMD processors.
50941
13a804de
UD
509422011-03-04 Ulrich Drepper <drepper@gmail.com>
50943
50944 * libio/fmemopen.c (fmemopen): Optimize a bit.
50945
9d25c392
AS
509462011-03-03 Andreas Schwab <schwab@redhat.com>
50947
50948 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50949
a5543c6a
RM
509502011-03-03 Roland McGrath <roland@redhat.com>
50951
50952 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50953
012d35f7
DM
509542011-02-28 Aurelien Jarno <aurelien@aurel32.net>
50955
7e4ba49c 50956 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
50957 __bzero_ultra1 instead of __memset_ultra1.
50958
4bff6e01
AS
509592011-02-23 Andreas Schwab <schwab@redhat.com>
50960 Ulrich Drepper <drepper@gmail.com>
50961
50962 [BZ #12509]
50963 * include/link.h (struct link_map): Add l_orig_initfini.
50964 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50965 returning unsuccessfully.
50966 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50967 close of a file loaded at startup, restore the original l_initfini
50968 list.
50969 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50970 list, store the pointer.
50971 * elf/Makefile ($(objpfx)noload-mem): New rule.
50972 (noload-ENV): Define.
50973 (tests): Add $(objpfx)noload-mem.
50974 * elf/noload.c: Include <memcheck.h>.
50975 (main): Call mtrace. Close all opened handles.
50976
f2092faf
AS
509772011-02-17 Andreas Schwab <schwab@redhat.com>
50978
50979 [BZ #12454]
50980 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50981 dependencies are missing.
50982
6c8a2e88
ST
509832011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
50984
f2092faf 50985 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
50986 Hurd needs munmap.
50987 * sysdeps/mach/hurd/ifreq.h: New file.
50988
84a42118
PB
509892011-01-27 Petr Baudis <pasky@suse.cz>
50990 Ulrich Drepper <drepper@gmail.com>
50991
071f805e 50992 [BZ 12445]#
84a42118
PB
50993 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50994 to extend_alloca().
50995 * stdio-common/bug23.c: New file.
50996 * stdio-common/Makefile (tests): Add bug23.
50997
e23fe25b
AS
509982010-09-28 Andreas Schwab <schwab@redhat.com>
50999 Ulrich Drepper <drepper@gmail.com>
51000
51001 [BZ #12489]
51002 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
51003 before performing relro protection. At old place add assertion
51004 to make sure nothing changed.
51005
d3f02e10
NS
510062011-02-17 Nathan Sidwell <nathan@codesourcery.com>
51007 Glauber de Oliveira Costa <glommer@gmail.com>
51008
51009 * elf/elf.h: Add new ARM TLS relocs.
51010
d55fd7a5
RA
510112011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
51012
51013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
51014 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
51015 cast from r3.
51016 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
51017 'tests' variable.
51018 * sysdeps/wordsize-64/tst-writev.c: New file.
51019
2206397e
RA
510202011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
51021
51022 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
51023 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
51024 insns in _dl_start to prevent a TOC reference before relocs are
51025 resolved.
51026
e9433893
UD
510272011-02-15 Ulrich Drepper <drepper@gmail.com>
51028
51029 [BZ #12469]
51030 * Makeconfig: Remove RANLIB definition.
51031 * Makerules: Don't use RANLIB.
51032 * aclocal.m4: Remove ranlib test.
51033 * configure.in: No need to check for ranlib.
51034 * elf/rtld-Rules: Don't use RANLIB.
51035
f75286c6
ST
510362011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
51037
8e31c82d
ST
51038 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
51039 protection macro.
51040 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
51041 inclusion protection macro.
51042
f75286c6
ST
51043 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
51044 SIGRTMIN and SIGRTMAX and print information in that case only when
51045 SIGRTMIN is defined.
51046
c1d0e639
JJ
510472011-02-11 Jakub Jelinek <jakub@redhat.com>
51048
51049 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
51050 arginfo fn returning -1.
51051
51052 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
51053 and thousands string is zero terminated.
51054
edf9294e
AS
510552011-02-03 Andreas Schwab <schwab@redhat.com>
51056
51057 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
51058 sysdeps/unix/sysv/linux/bits/socket.h.
51059
2b7e92df
ST
510602011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
51061
edf9294e
AS
51062 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
51063 (__CPU_COUNT): Remove old macros.
51064 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
51065 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
51066 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
51067 (__sched_cpualloc, __sched_cpufree): Add declarations.
51068
a4c7ea7b
UD
510692011-02-05 Ulrich Drepper <drepper@gmail.com>
51070
51071 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
51072 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
51073 * nscd/aicache.c (addhstaiX): Return timeout of added value.
51074 (readdhstai): Return value of addhstaiX call.
51075 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
51076 (addgrbyX): Return value returned by cache_addgr.
51077 (readdgrbyname): Return value returned by addgrbyX.
51078 (readdgrbygid): Likewise.
51079 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
51080 (addpwbyX): Return value returned by cache_addpw.
51081 (readdpwbyname): Return value returned by addhstbyX.
51082 (readdpwbyuid): Likewise.
51083 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
51084 (addservbyX): Return value returned by cache_addserv.
51085 (readdservbyname): Return value returned by addservbyX:
51086 (readdservbyport): Likewise.
51087 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
51088 (addhstbyX): Return value returned by cache_addhst.
51089 (readdhstbyname): Return value returned by addhstbyX.
51090 (readdhstbyaddr): Likewise.
51091 (readdhstbynamev6): Likewise.
51092 (readdhstbyaddrv6): Likewise.
51093 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
51094 (readdinitgroups): Return value returned by addinitgroupsX.
51095 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
51096 (prune_cache): Keep track of timeout value of re-added entries.
51097 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
51098 * nscd/nscd.h: Adjust prototypes of readd* functions.
51099
a0bf67cc
RM
511002011-02-04 Roland McGrath <roland@redhat.com>
51101
51102 * nis/nis_server.c (nis_servstate): Use the right name for 0.
51103 (nis_stats): Likewise.
51104 * nis/nis_modify.c (nis_modify): Likewise.
51105 * nis/nis_remove.c (nis_remove): Likewise.
51106 * nis/nis_add.c (nis_add): Likewise.
51107
51108 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
51109
51110 * posix/fnmatch_loop.c: Add some consts.
51111
51112 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
51113
435b95eb
L
511142011-02-02 H.J. Lu <hongjiu.lu@intel.com>
51115
51116 [BZ #12460]
51117 * config.make.in (config-cflags-novzeroupper): Define.
51118 * configure.in: Substitute libc_cv_cc_novzeroupper.
51119 * elf/Makefile (AVX-CFLAGS): Define.
51120 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
51121 (CFLAGS-tst-auditmod4a.c): Likewise.
51122 (CFLAGS-tst-auditmod4b.c): Likewise.
51123 (CFLAGS-tst-auditmod6b.c): Likewise.
51124 (CFLAGS-tst-auditmod6c.c): Likewise.
51125 (CFLAGS-tst-auditmod7b.c): Likewise.
51126 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
51127
8517b15e
UD
511282011-02-02 Ulrich Drepper <drepper@gmail.com>
51129
51130 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
51131 function to the callback.
51132 Patch partly by Jiri Olsa <jolsa@redhat.com>.
51133
10a656fe
AS
511342011-02-02 Andreas Schwab <schwab@redhat.com>
51135
51136 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
51137 of errno.
51138
968dad0a
UD
511392011-01-19 Ulrich Drepper <drepper@gmail.com>
51140
9f94d2ea 51141 [BZ #11724]
968dad0a
UD
51142 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
51143 of constructors.
51144 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
51145 of destructors.
51146 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
51147
51148 [BZ #11724]
51149 * elf/Makefile: Add rules to build and run new test.
51150 * elf/tst-initorder.c: New file.
51151 * elf/tst-initorder.exp: New file.
51152 * elf/tst-initordera1.c: New file.
51153 * elf/tst-initordera2.c: New file.
51154 * elf/tst-initordera3.c: New file.
51155 * elf/tst-initordera4.c: New file.
51156 * elf/tst-initorderb1.c: New file.
51157 * elf/tst-initorderb2.c: New file.
51158 * elf/tst-order-a1.c: New file.
51159 * elf/tst-order-a2.c: New file.
51160 * elf/tst-order-a3.c: New file.
51161 * elf/tst-order-a4.c: New file.
51162 * elf/tst-order-b1.c: New file.
51163 * elf/tst-order-b2.c: New file.
51164 * elf/tst-order-main.c: New file.
51165 New test case by George Gensure <werkt0@gmail.com>.
51166
86e92359
UD
511672010-10-01 Andreas Schwab <schwab@redhat.com>
51168
51169 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51170 decoding ACE if AI_CANONIDN.
51171
5d5732b0
UD
511722011-01-18 Ulrich Drepper <drepper@gmail.com>
51173
51174 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
51175
a77e8cbc
UD
511762011-01-17 Ulrich Drepper <drepper@gmail.com>
51177
6392473f
UD
51178 * version.h (RELEASE): Bump for 2.13 release.
51179 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
51180
620a0529
UD
51181 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
51182
18ba70a5
UD
51183 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
51184 MADV_NOHUGEPAGE.
32465c3e
UD
51185 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
51186 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51187 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51188 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51189 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51190 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51191
c0dafcf1
UD
51192 * posix/getconf.c: Update copyright year.
51193 * catgets/gencat.c: Likewise.
51194 * csu/version.c: Likewise.
51195 * debug/catchsegv.sh: Likewise.
51196 * debug/xtrace.sh: Likewise.
51197 * elf/ldconfig.c: Likewise.
51198 * elf/ldd.bash.in: Likewise.
51199 * elf/sprof.c (print_version): Likewise.
51200 * iconv/iconv_prog.c: Likewise.
51201 * iconv/iconvconfig.c: Likewise.
51202 * locale/programs/locale.c: Likewise.
51203 * locale/programs/localedef.c: Likewise.
51204 * malloc/memusage.sh: Likewise.
51205 * malloc/mtrace.pl: Likewise.
51206 * nscd/nscd.c (print_version): Likewise.
51207 * nss/getent.c: Likewise.
51208
a77e8cbc
UD
51209 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
51210 PF_CAIF, and PF_ALG.
51211 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51212
77e8bddf
AS
512132011-01-16 Andreas Schwab <schwab@linux-m68k.org>
51214
1f20b93a
AS
51215 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
51216 (modules-names): Use them.
51217 (ifunc-test-modules, ifunc-pie-tests): Define.
51218 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
51219 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
51220 (test-extras): Likewise.
51221 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
51222 $(compile-command.c).
51223 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
51224 (all-built-dso): Define.
51225 (check-textrel.out, check-execstack.out): Depend on it.
51226
77e8bddf
AS
51227 * configure.in: Don't override --enable-multi-arch.
51228
bc425b33
UD
512292011-01-15 Ulrich Drepper <drepper@gmail.com>
51230
51231 [BZ #6812]
51232 * nscd/hstcache.c (tryagain): Define.
51233 (cache_addhst): Return tryagain not notfound for temporary errors.
51234 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
51235 failed.
51236
794c3ad3
UD
512372011-01-14 Ulrich Drepper <drepper@gmail.com>
51238
70181fdd
UD
51239 [BZ #10563]
51240 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
51241 to make the syscall.
51242 * sysdeps/unix/sysv/linux/setgroups.c: New file.
51243
794c3ad3
UD
51244 [BZ #12378]
51245 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
51246 and fall back to matching as normal character if the string ends before
51247 the matching ']' is found. This is what POSIX requires.
51248 * posix/testfnm.c: Adjust test result.
51249 * posix/globtest.sh: Adjust test result. Add new test.
51250 * posix/tst-fnmatch.input: Likewise.
51251 * posix/tst-fnmatch2.c: Add new test.
51252
68dc9497
AS
512532010-12-28 Andreas Schwab <schwab@linux-m68k.org>
51254
51255 * elf/Makefile (check-execstack): Revert last change. Depend on
51256 check-execstack.h.
51257 (check-execstack.h): New target.
51258 (generated): Add check-execstack.h.
51259 * elf/check-execstack.c: Include "check-execstack.h".
51260 (main): Revert last change.
51261 (handle_file): Return zero if GNU_STACK is absent and
51262 DEFAULT_STACK_PERMS doesn't include PF_X.
51263
451f001b
UD
512642011-01-13 Ulrich Drepper <drepper@gmail.com>
51265
cfa28e56
UD
51266 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
51267 in child fails because the descriptor is already closed.
8cf8ce17
UD
51268 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
51269 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
51270 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 51271
1086d70d
UD
51272 [BZ #12397]
51273 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
51274 syscall.
51275
451f001b
UD
51276 [BZ #10484]
51277 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
51278 temporary buffer used to handle multi lookups locally.
a85b5cb4 51279 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 51280
08769175
UD
512812011-01-12 Ulrich Drepper <drepper@gmail.com>
51282
51283 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
51284 loader is ld.so.
51285
5e49c52e
UD
512862011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
51287
51288 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
51289 alignment for SSE2.
51290
60522a5f
UD
512912011-01-12 Ulrich Drepper <drepper@gmail.com>
51292
51293 [BZ #12394]
51294 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
51295 characters. When rounding increased number of integer digits recompute
51296 number of groups.
51297 * stdio-common/tst-grouping.c: New file.
51298 * stdio-common/Makefile: Add rules to build and run tst-grouping.
51299
f257bbd7
UD
513002011-01-09 Ulrich Drepper <drepper@gmail.com>
51301
51302 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
51303 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
51304
51305 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
51306 void.
51307 * bits/select.h: Likewise.
51308
fa9c15cb
UD
513092011-01-08 Ulrich Drepper <drepper@gmail.com>
51310
51311 * po/ja.po: Update from translation team.
51312
16c2895f
DM
513132011-01-04 David S. Miller <davem@sunset.davemloft.net>
51314
51315 [BZ #11155]
51316 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
51317 implementation just like for lxstat, fxstatat, et al.
51318
2543fef2
JM
513192010-12-27 Jim Meyering <meyering@redhat.com>
51320
51321 [BZ #12348]
51322 * posix/regexec.c (build_trtable): Return failure indication upon
51323 calloc failure. Otherwise, re_search_internal could infloop on OOM.
51324
98727dbe
UD
513252010-12-25 Ulrich Drepper <drepper@gmail.com>
51326
5bd6dc5c
UD
51327 [BZ #12201]
51328 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
51329 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
51330 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
51331 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
51332
97983464
UD
51333 [BZ #12207]
51334 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
51335
98727dbe
UD
51336 [BZ #12204]
51337 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
51338 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
51339
4a531bb0
L
513402010-12-15 H.J. Lu <hongjiu.lu@intel.com>
51341
51342 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
51343 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
51344 script has SORT_BY_INIT_PRIORITY.
51345 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
51346 NO_CTORS_DTORS_SECTIONS is defined.
51347 * elf/soinit.c: Likewise.
51348 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
51349 NO_CTORS_DTORS_SECTIONS is defined.
51350 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
51351 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
51352 * sysdeps/sh/init-first.c: Likewise.
51353 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
51354
07eb4b71
UD
513552010-12-24 Ulrich Drepper <drepper@gmail.com>
51356
51357 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
51358 always use the slow path.
51359
30950a5f
RA
513602010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
51361
51362 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
51363 similar rule which adds the sysdep directories to the header search in
51364 order to pick up the correct platform stackinfo.h.
51365 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
51366 perform test if it is, otherwise return successfully without testing.
51367 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
51368 DEFAULT_STACK_PERMS define in stackinfo.h.
51369 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
51370 defined in stackinfo.h.
51371 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
51372 DEFAULT_STACK_PERMS defined in stackinfo.h.
51373 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
51374 * sysdeps/ia64/stackinfo.h: Likewise.
51375 * sysdeps/s390/stackinfo.h: Likewise.
51376 * sysdeps/sh/stackinfo.h: Likewise.
51377 * sysdeps/sparc/stackinfo.h: Likewise.
51378 * sysdeps/x86_64/stackinfo.h: Likewise.
51379 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
51380 PF_X for powerpc64. Retain PF_X for powerpc32.
51381
db753e2c
UD
513822010-12-19 Ulrich Drepper <drepper@gmail.com>
51383
14b697f7
UD
51384 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
51385 accurately.
db753e2c
UD
51386 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
51387 GETDENTS_64BIT_ALIGNED.
51388
28300719
UD
513892010-12-14 Ulrich Drepper <dreper@gmail.com>
51390
14b697f7 51391 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 51392
4f197237
AS
513932010-12-10 Andreas Schwab <schwab@redhat.com>
51394
dbb0472f
AS
51395 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
51396 _GNU_SOURCE.
51397
4f197237
AS
51398 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
51399 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
51400 Remove __restrict.
51401 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
51402 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
51403
fb88ac72
UD
514042010-12-09 Ulrich Drepper <drepper@gmail.com>
51405
51406 [BZ #11655]
51407 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
51408 are initialized.
51409
42acbb92
JJ
514102010-12-09 Jakub Jelinek <jakub@redhat.com>
51411
51412 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
51413
c038d98d
UD
514142010-12-03 Ulrich Drepper <drepper@gmail.com>
51415
51416 * po/it.po: Update from translation team.
51417
3a4a2499
L
514182010-12-01 H.J. Lu <hongjiu.lu@intel.com>
51419
51420 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
51421 unused codes.
51422
1e24cf6e
UD
514232010-11-30 Ulrich Drepper <drepper@gmail.com>
51424
51425 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
51426
a7690819
AS
514272010-11-24 Andreas Schwab <schwab@redhat.com>
51428
51429 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
51430 specially.
51431 (gaih_getanswer_slice): Likewise.
51432
3bf8d1b1
JJ
514332010-10-20 Jakub Jelinek <jakub@redhat.com>
51434
51435 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
51436
6db52fbb
PB
514372010-05-31 Petr Baudis <pasky@suse.cz>
51438
51439 [BZ #11149]
51440 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
51441 silently even in the chroot mode.
51442
eaca7569
UD
514432010-11-22 Ulrich Drepper <drepper@gmail.com>
51444
51445 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
51446 last patch a bit. Pretty printing
51447
3056dcdb
UD
514482010-05-31 Petr Baudis <pasky@suse.cz>
51449
51450 [BZ #10085]
51451 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
51452 initialization of skip_initgroups_dyn.
51453
cf7c9078
UD
514542010-11-19 Ulrich Drepper <drepper@gmail.com>
51455
51456 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
51457 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51458
a1fb5e3e
UD
514592010-11-16 Ulrich Drepper <drepper@gmail.com>
51460
51461 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
51462
3540d66b
AS
514632010-11-11 Andreas Schwab <schwab@redhat.com>
51464
51465 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
51466 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
51467 (tst-fnmatch-ENV): Set MALLOC_TRACE.
51468 ($(objpfx)tst-fnmatch-mem): New rule.
51469 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
51470 * posix/tst-fnmatch.c (main): Call mtrace.
51471
13b69574
L
514722010-11-11 H.J. Lu <hongjiu.lu@intel.com>
51473
51474 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51475 Support Intel processor model 6 and model 0x2c.
51476
da93d214
LM
514772010-11-10 Luis Machado <luisgpm@br.ibm.com>
51478
51479 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
51480 signed comparison.
51481
8ca52c6e
L
514822010-11-09 H.J. Lu <hongjiu.lu@intel.com>
51483
51484 [BZ #12205]
51485 * string/test-strncasecmp.c (check_result): New function.
51486 (do_one_test): Use it.
51487 (check1): New function.
51488 (test_main): Use it.
51489 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
51490 Support strcasecmp and strncasecmp.
51491
69da074d
UD
514922010-11-08 Ulrich Drepper <drepper@gmail.com>
51493
51494 [BZ #12194]
51495 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
51496 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51497
ff02d528
L
514982010-11-07 H.J. Lu <hongjiu.lu@intel.com>
51499
51500 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
51501 IFUNC support.
51502 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51503 memset-x86-64.
51504 * sysdeps/x86_64/multiarch/bzero.S: New file.
51505 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
51506 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
51507 * sysdeps/x86_64/multiarch/memset.S: New file.
51508 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
51509 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51510 Set bit_Prefer_SSE_for_memop for Intel processors.
51511 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
51512 Define.
51513 (index_Prefer_SSE_for_memop): Define.
51514 (HAS_PREFER_SSE_FOR_MEMOP): Define.
51515
344d0b54
LM
515162010-11-04 Luis Machado <luisgpm@br.ibm.com>
51517
51518 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
51519 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
51520
c0dde15b
UD
515212010-11-03 H.J. Lu <hongjiu.lu@intel.com>
51522
51523 [BZ #12191]
51524 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51525 (__x86_64_raw_data_cache_size_half): Likewise.
51526 (__x86_64_raw_shared_cache_size): Likewise.
51527 (__x86_64_raw_shared_cache_size_half): Likewise.
51528
51529 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51530 (__x86_64_raw_data_cache_size_half): Likewise.
51531 (__x86_64_raw_shared_cache_size): Likewise.
51532 (__x86_64_raw_shared_cache_size_half): Likewise.
51533 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
51534 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
51535 and __x86_64_raw_shared_cache_size_half. Round
51536 __x86_64_data_cache_size_half, __x86_64_data_cache_size
51537 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
51538 to multiple of 256 bytes.
51539
0e516e0e
MS
515402010-11-03 Ulrich Drepper <drepper@gmail.com>
51541
51542 [BZ #12167]
51543 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
51544 of inacessible symlinks. Verify result of symlink before returning it.
51545 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
51546 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
51547
0e012e87
ER
515482010-10-28 Erich Ritz <erichritz@gmail.com>
51549
51550 * math/math.h (isinf): Fix typo in comment.
51551
de0ff7bc
UD
515522010-11-01 Ulrich Drepper <drepper@gmail.com>
51553
51554 * po/da.po: Update from translation team.
51555
fa41c84d
UD
515562010-10-26 Ulrich Drepper <drepper@gmail.com>
51557
51558 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
51559 is added to the list.
51560
f0967738
AK
515612010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51562 Ulrich Drepper <drepper@gmail.com>
51563
51564 * elf/dl-object.c (_dl_new_object): Don't append the new object to
51565 the global list here. Move code to...
51566 (_dl_add_to_namespace_list): ...here. New function.
51567 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
51568 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
51569 * elf/dl-load.c (lose): Don't remove the element from the list.
51570 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
51571 (_dl_map_object): Likewise.
51572
515732010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
51574
51575 [BZ #12159]
51576 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
51577 into all bytes of SSE register.
51578 Patch by Richard Li <richardpku@gmail.com>.
51579
f0967738 515802010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
51581
51582 [BZ #12140]
51583 * malloc/malloc.c (_int_free): Fill correct number of bytes when
51584 perturbing.
51585
d0b9e94f
MB
515862010-10-20 Michael B. Brutman <brutman@us.ibm.com>
51587
51588 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
51589 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
51590 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
51591 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
51592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
51593 submachine.
51594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
51595
8e9f92e9
AS
515962010-10-22 Andreas Schwab <schwab@redhat.com>
51597
51598 * include/dlfcn.h (__RTLD_SECURE): Define.
51599 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
51600 mode & __RTLD_SECURE instead.
51601 (open_path): Rename preloaded parameter to secure.
51602 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
51603 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
51604 * elf/dl-deps.c (openaux): Likewise.
51605 * elf/rtld.c (struct map_args): Remove is_preloaded.
51606 (map_doit): Don't use it.
51607 (dl_main): Likewise.
51608 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
51609 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
51610
bc96fbda
AS
516112010-09-09 Andreas Schwab <schwab@redhat.com>
51612
51613 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
51614 (sysd-rules-targets): Remove duplicates.
51615 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
51616 rtld-%.$o dependency.
51617
22cd1c9b
AS
516182010-10-18 Andreas Schwab <schwab@redhat.com>
51619
51620 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
51621 _dl_map_object do it.
51622
18edac48
UD
516232010-10-19 Ulrich Drepper <drepper@gmail.com>
51624
51625 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
51626 fast fma builtins, define the macros in the C99 standard.
51627 (FP_FAST_FMAF): Likewise.
51628 (FP_FAST_FMAL): Likewise.
51629 * sysdeps/x86_64/bits/mathdef.h: Likewise.
51630
51631 * bits/mathdef.h: Update copyright year.
51632 * sysdeps/powerpc/bits/mathdef.h: Likewise.
51633
d2050124
MM
516342010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
51635
51636 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
51637 builtins, define the macros in the C99 standard.
51638 (FP_FAST_FMAF): Likewise.
51639 (FP_FAST_FMAL): Likewise.
51640 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
51641 multiply/add.
51642 (FP_FAST_FMAF): Likewise.
51643
475facd1
JJ
516442010-10-15 Jakub Jelinek <jakub@redhat.com>
51645
51646 [BZ #3268]
51647 * math/libm-test.inc (fma_test): Some new testcases.
51648 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
51649 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
51650 y and infinite z. Do multiplication by C already in long double.
51651 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
51652 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
51653 y and infinite z. Do bitwise or of inexact bit into u.d.
51654 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
51655 * sysdeps/i386/fpu/s_fmaf.S: Removed.
51656 * sysdeps/i386/fpu/s_fma.S: Removed.
51657 * sysdeps/i386/fpu/s_fmal.S: Removed.
51658
7c08a05c
JJ
516592010-10-16 Jakub Jelinek <jakub@redhat.com>
51660
51661 [BZ #3268]
51662 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
51663 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
51664 computation is not scheduled after fetestexcept. Fix value
51665 of minimum denormal long double.
51666
f3f7372d
JJ
516672010-10-14 Jakub Jelinek <jakub@redhat.com>
51668
51669 [BZ #3268]
51670 * math/libm-test.inc (fma_test): Add some more tests.
51671 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
51672 correctly.
51673
14d43591
AS
516742010-10-15 Andreas Schwab <schwab@redhat.com>
51675
51676 * scripts/data/localplt-s390-linux-gnu.data: New file.
51677 * scripts/data/localplt-s390x-linux-gnu.data: New file.
51678
5e908464
JJ
516792010-10-13 Jakub Jelinek <jakub@redhat.com>
51680
51681 [BZ #3268]
51682 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
51683 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
51684 instead of dbl-64.
51685 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
51686 inlines.
51687 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
51688 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
51689 if one of x and y is very large and the other is subnormal.
51690 * sysdeps/s390/fpu/s_fmaf.c: New file.
51691 * sysdeps/s390/fpu/s_fma.c: New file.
51692 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
51693 * sysdeps/powerpc/fpu/s_fma.S: New file.
51694 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
51695 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
51696 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
51697
516982010-10-12 Jakub Jelinek <jakub@redhat.com>
51699
51700 [BZ #3268]
51701 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
51702 fma tests.
51703 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
51704 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
51705 * sysdeps/i386/i686/multiarch/s_fma.c: Include
51706 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
51707 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
51708 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
51709 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
51710
b833d51f
UD
517112010-10-12 Ulrich Drepper <drepper@redhat.com>
51712
51713 [BZ #12078]
51714 * posix/regcomp.c (parse_branch): One more memory leak plugged.
51715 * posix/bug-regex31.input: Add test case.
51716
1751705d
UD
517172010-10-11 Ulrich Drepper <drepper@gmail.com>
51718
e9b9cbf5
UD
51719 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
51720 * posix/bug-regex31.input: New file.
51721
51722 [BZ #12078]
51723 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
51724 (parse_sub_exp): Fix last change, use postorder.
51725
ef06edbe
UD
51726 * posix/bug-regex31.c: New file.
51727 * posix/Makefile: Add rules to build and run bug-regex31.
51728
a129c80d
UD
51729 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
51730
51731 [BZ #12078]
51732 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
51733
b76b818e
UD
51734 [BZ #12108]
51735 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
51736 to have entries in sys_siglist.
51737
1751705d
UD
51738 [BZ #12093]
51739 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
51740 be NULL.
51741
9ff8d36f
JJ
517422010-10-07 Jakub Jelinek <jakub@redhat.com>
51743
51744 [BZ #3268]
51745 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
51746 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
51747 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
51748 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
51749 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51750 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
51751 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
51752 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
51753 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
51754 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
51755 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
51756 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
51757 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
51758 * math/ftestexcept.c (fetestexcept): Likewise.
51759 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
51760 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
51761 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
51762 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
51763 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
51764 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
51765 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
51766
af325969
UD
517672010-10-11 Ulrich Drepper <drepper@gmail.com>
51768
c579b202 51769 [BZ #12107]
af325969
UD
51770 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
51771 newline.
51772
67a67b95
UD
517732010-10-06 Ulrich Drepper <drepper@gmail.com>
51774
51775 * string/bug-strstr1.c: New file.
51776 * string/Makefile: Add rules to build and run bug-strstr1.
51777
5fb308bc
EB
517782010-10-05 Eric Blake <eblake@redhat.com>
51779
51780 [BZ #12092]
51781 * string/str-two-way.h (two_way_long_needle): Always clear memory
51782 when skipping input due to the shift table.
51783
45db99c7
UD
517842010-10-03 Ulrich Drepper <drepper@gmail.com>
51785
3b111893
UD
51786 [BZ #12005]
51787 * malloc/mcheck.c: Handle large requests.
51788
45db99c7
UD
51789 [BZ #12077]
51790 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
51791 for strncmp and strncasecmp.
51792 * string/stratcliff.c: Add tests for strcmp and strncmp.
51793 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
51794
cf7a1eb8
NI
517952010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51796
51797 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
51798 __set_fpscr.
51799
6484ba5e
AJ
518002010-09-30 Andreas Jaeger <aj@suse.de>
51801
51802 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
51803 (CGROUP_SUPER_MAGIC): Define.
51804 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51805 Handle btrfs and cgroup file systems.
51806 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51807 Likewise.
51808
91c42559
LM
518092010-09-27 Luis Machado <luisgpm@br.ibm.com>
51810
51811 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
51812 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
51813
87a97932
AK
518142010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51815
51816 [BZ #12067]
51817 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
51818 trying to locate the ELF header.
51819
c21cc9bc
AS
518202010-09-27 Andreas Schwab <schwab@redhat.com>
51821
51822 [BZ #11611]
51823 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
51824 Mask out sign-bit copies when constructing f_fsid.
51825
315970f6
PB
518262010-09-24 Petr Baudis <pasky@suse.cz>
51827
51828 * debug/stack_chk_fail_local.c: Add missing licence exception.
51829 * debug/warning-nop.c: Likewise.
51830
1ac7a2c7
JM
518312010-09-15 Joseph Myers <joseph@codesourcery.com>
51832
51833 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
51834 implementing getdents64 using getdents syscall, set d_type if
51835 __ASSUME_GETDENTS32_D_TYPE.
51836
56801c50
AS
518372010-09-16 Andreas Schwab <schwab@redhat.com>
51838
51839 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
51840 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
51841
dda51327
UD
518422010-09-21 Ulrich Drepper <drepper@redhat.com>
51843
51844 [BZ #12037]
51845 * posix/unistd.h: Undo change of feature selection for ftruncate from
51846 2010-01-11.
51847
8ffcee4a
UD
518482010-09-20 Ulrich Drepper <drepper@redhat.com>
51849
a545ecd9 51850 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
51851 detection.
51852
e24f0a8b
AS
518532010-09-20 Andreas Schwab <schwab@redhat.com>
51854
51855 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
51856 fanotify_mark.
51857 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51858
7291c56f
AS
518592010-09-14 Andreas Schwab <schwab@redhat.com>
51860
51861 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
51862 variables after CHECK_SP call.
51863 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
51864
bc5fb037
AS
518652010-09-13 Andreas Schwab <schwab@redhat.com>
51866 Ulrich Drepper <drepper@redhat.com>
51867
51868 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
51869 re-relocationg ld.so.
51870 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
51871 _dl_init_paths call.
51872 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
51873 here anymore.
51874
e66e7419
UD
518752010-09-14 Ulrich Drepper <drepper@redhat.com>
51876
51877 * resolv/res_init.c (__res_vinit): Count the default server we added.
51878
c044aa75
CLT
518792010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
51880 Ulrich Drepper <drepper@redhat.com>
51881
51882 [BZ #11968]
51883 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51884 (____longjmp_chk): Use %ebx for saving value across system call.
51885 Add unwind info.
51886
32cf4069
AS
518872010-09-06 Andreas Schwab <schwab@redhat.com>
51888
51889 * manual/Makefile: Don't mix pattern rules with normal rules.
51890
817328ee
AS
518912010-09-05 Andreas Schwab <schwab@linux-m68k.org>
51892
51893 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
51894 operation.
51895 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
51896 * libio/iofopncook.c (_IO_cookie_init): Likewise.
51897 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
51898 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
51899 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51900 Likewise.
51901
29fddf61
UD
519022010-09-04 Ulrich Drepper <drepper@redhat.com>
51903
51904 [BZ #11979]
51905 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51906 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51907
0959ffc9
UD
519082010-09-02 Ulrich Drepper <drepper@redhat.com>
51909
51910 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51911 * sysdeps/x86_64/addmul_1.S: Likewise.
51912 * sysdeps/x86_64/lshift.S: Likewise.
51913 * sysdeps/x86_64/mul_1.S: Likewise.
51914 * sysdeps/x86_64/rshift.S: Likewise.
51915 * sysdeps/x86_64/sub_n.S: Likewise.
51916 * sysdeps/x86_64/submul_1.S: Likewise.
51917
ece29840
ST
519182010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
51919
0959ffc9
UD
51920 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51921 Define __sched_param instead of SCHED_* and sched_param when
ece29840 51922 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 51923 * bits/sched.h [__need_schedparam]
ece29840 51924 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
51925 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51926 (__defined_schedparam): Define to 1.
ece29840
ST
51927 (__sched_param): New structure, identical to sched_param.
51928 (__need_schedparam): Undefine.
51929
e53a31fe
MF
519302010-08-31 Mike Frysinger <vapier@gentoo.org>
51931
fdc0c10d
MF
51932 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51933 (epoll_create1): Declare.
51934
e53a31fe
MF
51935 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51936
a726d796
AS
519372010-08-31 Andreas Schwab <schwab@redhat.com>
51938
51939 [BZ #7066]
51940 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51941 shifting retval into place.
51942
2f3e3dc7
UD
519432010-09-01 Ulrich Drepper <drepper@redhat.com>
51944
f2933da9
UD
51945 * nis/rpcsvc/nis.h: Update copyright notice.
51946 * nis/rpcsvc/nis.x: Likewise.
51947 * nis/rpcsvc/nis_callback.h: Likewise.
51948 * nis/rpcsvc/nis_callback.x: Likewise.
51949 * nis/rpcsvc/nis_object.x: Likewise.
51950 * nis/rpcsvc/nis_tags.h: Likewise.
51951 * nis/rpcsvc/yp.h: Likewise.
51952 * nis/rpcsvc/yp.x: Likewise.
51953 * nis/rpcsvc/ypupd.h: Likewise.
51954 * nis/yp_xdr.c: Likewise.
51955 * nis/ypupdate_xdr.c: Likewise.
51956
2f3e3dc7
UD
51957 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
51958 mainly the body of pmap_getport. Add parameters to specify timeouts.
51959 (pmap_getport): Use __libc_rpc_getport.
51960 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51961 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51962 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51963
f3dcc2f9
AS
519642010-08-31 Andreas Schwab <schwab@linux-m68k.org>
51965
51966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51967 fanotify_mark.
51968
6d34eb5b
RM
519692010-08-27 Roland McGrath <roland@redhat.com>
51970
51971 * sysdeps/i386/i686/multiarch/Makefile
51972 (CFLAGS-varshift.c): New variable.
51973
9ea3de11
UD
519742010-08-27 Ulrich Drepper <drepper@redhat.com>
51975
c96d23fc
UD
51976 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51977 * sysdeps/i386/i686/multiarch/varshift.c: New file.
51978
9ea3de11
UD
51979 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51980
51981 * sysdeps/x86_64/strlen.S: Minimal code improvement.
51982
623aac7f
L
519832010-08-26 H.J. Lu <hongjiu.lu@intel.com>
51984
51985 * sysdeps/x86_64/strlen.S: Unroll the loop.
51986 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51987 strlen-sse2 strlen-sse2-bsf.
51988 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51989 __strlen_no_bsf if bit_Slow_BSF is set.
51990 (__strlen_sse42): Removed.
51991 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51992 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51993
8b2b7715
RM
519942010-08-25 Roland McGrath <roland@redhat.com>
51995
51996 * sysdeps/x86_64/multiarch/varshift.S: File removed.
51997 * sysdeps/x86_64/multiarch/varshift.c: New file.
51998 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51999 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
52000 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
52001 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
52002
e73015f2
L
520032010-08-25 H.J. Lu <hongjiu.lu@intel.com>
52004
52005 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52006 strlen-sse2 strlen-sse2-bsf.
52007 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
52008 __strlen_sse2_bsf if bit_Slow_BSF is unset.
52009 (__strlen_sse2): Removed.
52010 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
52011 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
52012 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
52013 bit_Slow_BSF for Atom.
52014 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
52015 (index_Slow_BSF): Define.
52016 (HAS_SLOW_BSF): Define.
52017
df24a73e
UD
520182010-08-25 Ulrich Drepper <drepper@redhat.com>
52019
52020 [BZ #10851]
52021 * resolv/res_init.c (__res_vinit): When no server address at all
52022 is given default to loopback.
52023
f2ac4868
RM
520242010-08-24 Roland McGrath <roland@redhat.com>
52025
09055553
RM
52026 * configure.in: Remove config-name.h generation.
52027 * configure: Regenerated.
52028 * config-name.in: File removed.
52029 * scripts/config-uname.sh: New file.
52030 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
52031 ($(objdir)config-name.h): New target.
52032
f2ac4868
RM
52033 * sunrpc/rpc_parse.h: Avoid nested comment.
52034
73f27d5e
RH
520352010-08-24 Richard Henderson <rth@redhat.com>
52036 Ulrich Drepper <drepper@redhat.com>
52037 H.J. Lu <hongjiu.lu@intel.com>
52038
52039 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
52040 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
52041 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
52042 Replace _mm_srli_si128 with __m128i_shift_right. Replace
52043 _mm_alignr_epi8 with _mm_loadu_si128.
52044 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
52045 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
52046 (__m128i_shift_right): Removed.
52047 * sysdeps/i386/i686/multiarch/varshift.h: New file.
52048 * sysdeps/i386/i686/multiarch/varshift.S: New file.
52049 * sysdeps/x86_64/multiarch/varshift.h: New file.
52050 * sysdeps/x86_64/multiarch/varshift.S: New file.
52051
84b9230c
MF
520522010-08-21 Mike Frysinger <vapier@gentoo.org>
52053
52054 * configure.in: Move assembler checks to before sysdep dir checking.
52055
9bbd0ddc
PB
520562010-08-20 Petr Baudis <pasky@suse.cz>
52057
52058 * LICENSES: Sync the sunrpc license.
52059
9da4bb31
UD
520602010-08-19 Ulrich Drepper <drepper@redhat.com>
52061
a7ab6ec8
UD
52062 * sunrpc/auth_des.c: Update copyright notice once again.
52063 * sunrpc/auth_none.c: Likewise.
52064 * sunrpc/auth_unix.c: Likewise.
52065 * sunrpc/authdes_prot.c: Likewise.
52066 * sunrpc/authuxprot.c: Likewise.
52067 * sunrpc/bindrsvprt.c: Likewise.
52068 * sunrpc/clnt_gen.c: Likewise.
52069 * sunrpc/clnt_perr.c: Likewise.
52070 * sunrpc/clnt_raw.c: Likewise.
52071 * sunrpc/clnt_simp.c: Likewise.
52072 * sunrpc/clnt_tcp.c: Likewise.
52073 * sunrpc/clnt_udp.c: Likewise.
52074 * sunrpc/clnt_unix.c: Likewise.
52075 * sunrpc/des_crypt.c: Likewise.
52076 * sunrpc/des_soft.c: Likewise.
52077 * sunrpc/get_myaddr.c: Likewise.
52078 * sunrpc/getrpcport.c: Likewise.
52079 * sunrpc/key_call.c: Likewise.
52080 * sunrpc/key_prot.c: Likewise.
52081 * sunrpc/openchild.c: Likewise.
52082 * sunrpc/pm_getmaps.c: Likewise.
52083 * sunrpc/pm_getport.c: Likewise.
52084 * sunrpc/pmap_clnt.c: Likewise.
52085 * sunrpc/pmap_prot.c: Likewise.
52086 * sunrpc/pmap_prot2.c: Likewise.
52087 * sunrpc/pmap_rmt.c: Likewise.
52088 * sunrpc/rpc/auth.h: Likewise.
52089 * sunrpc/rpc/auth_unix.h: Likewise.
52090 * sunrpc/rpc/clnt.h: Likewise.
52091 * sunrpc/rpc/des_crypt.h: Likewise.
52092 * sunrpc/rpc/key_prot.h: Likewise.
52093 * sunrpc/rpc/netdb.h: Likewise.
52094 * sunrpc/rpc/pmap_clnt.h: Likewise.
52095 * sunrpc/rpc/pmap_prot.h: Likewise.
52096 * sunrpc/rpc/pmap_rmt.h: Likewise.
52097 * sunrpc/rpc/rpc.h: Likewise.
52098 * sunrpc/rpc/rpc_des.h: Likewise.
52099 * sunrpc/rpc/rpc_msg.h: Likewise.
52100 * sunrpc/rpc/svc.h: Likewise.
52101 * sunrpc/rpc/svc_auth.h: Likewise.
52102 * sunrpc/rpc/types.h: Likewise.
52103 * sunrpc/rpc/xdr.h: Likewise.
52104 * sunrpc/rpc_clntout.c: Likewise.
52105 * sunrpc/rpc_cmsg.c: Likewise.
52106 * sunrpc/rpc_common.c: Likewise.
52107 * sunrpc/rpc_cout.c: Likewise.
52108 * sunrpc/rpc_dtable.c: Likewise.
52109 * sunrpc/rpc_hout.c: Likewise.
52110 * sunrpc/rpc_main.c: Likewise.
52111 * sunrpc/rpc_parse.c: Likewise.
52112 * sunrpc/rpc_parse.h: Likewise.
52113 * sunrpc/rpc_prot.c: Likewise.
52114 * sunrpc/rpc_sample.c: Likewise.
52115 * sunrpc/rpc_scan.c: Likewise.
52116 * sunrpc/rpc_scan.h: Likewise.
52117 * sunrpc/rpc_svcout.c: Likewise.
52118 * sunrpc/rpc_tblout.c: Likewise.
52119 * sunrpc/rpc_util.c: Likewise.
52120 * sunrpc/rpc_util.h: Likewise.
52121 * sunrpc/rpcinfo.c: Likewise.
52122 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
52123 * sunrpc/rpcsvc/key_prot.x: Likewise.
52124 * sunrpc/rpcsvc/klm_prot.x: Likewise.
52125 * sunrpc/rpcsvc/mount.x: Likewise.
52126 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
52127 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
52128 * sunrpc/rpcsvc/rex.x: Likewise.
52129 * sunrpc/rpcsvc/rstat.x: Likewise.
52130 * sunrpc/rpcsvc/rusers.x: Likewise.
52131 * sunrpc/rpcsvc/sm_inter.x: Likewise.
52132 * sunrpc/rpcsvc/spray.x: Likewise.
52133 * sunrpc/rpcsvc/yppasswd.x: Likewise.
52134 * sunrpc/rtime.c: Likewise.
52135 * sunrpc/svc.c: Likewise.
52136 * sunrpc/svc_auth.c: Likewise.
52137 * sunrpc/svc_authux.c: Likewise.
52138 * sunrpc/svc_raw.c: Likewise.
52139 * sunrpc/svc_run.c: Likewise.
52140 * sunrpc/svc_simple.c: Likewise.
52141 * sunrpc/svc_tcp.c: Likewise.
52142 * sunrpc/svc_udp.c: Likewise.
52143 * sunrpc/svc_unix.c: Likewise.
52144 * sunrpc/svcauth_des.c: Likewise.
52145 * sunrpc/xcrypt.c: Likewise.
52146 * sunrpc/xdr.c: Likewise.
52147 * sunrpc/xdr_array.c: Likewise.
52148 * sunrpc/xdr_float.c: Likewise.
52149 * sunrpc/xdr_mem.c: Likewise.
52150 * sunrpc/xdr_rec.c: Likewise.
52151 * sunrpc/xdr_ref.c: Likewise.
52152 * sunrpc/xdr_sizeof.c: Likewise.
52153 * sunrpc/xdr_stdio.c: Likewise.
52154
9da4bb31
UD
52155 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
52156 handling.
52157
bdaa77bc
AS
521582010-08-19 Andreas Schwab <schwab@redhat.com>
52159
52160 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
52161
fe2f79db
LM
521622010-08-19 Luis Machado <luisgpm@br.ibm.com>
52163
52164 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
52165 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
52166 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
52167 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
52168 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
52169 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
52170 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
52171 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
52172 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
52173 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
52174 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
52175 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
52176 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
52177 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
52178
b9b42ee0
AB
521792010-07-26 Anton Blanchard <anton@samba.org>
52180
52181 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
52182 * malloc/arena.c (heap_trim): Likewise.
52183
1c06ba31
UD
521842010-08-16 Ulrich Drepper <drepper@redhat.com>
52185
52186 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
52187 here. Not...
52188 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
52189 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
52190
f8392f40
L
521912010-08-12 H.J. Lu <hongjiu.lu@intel.com>
52192
52193 * sysdeps/i386/elf/Makefile: New file.
52194
3162f12e
AS
521952010-08-14 Andreas Schwab <schwab@linux-m68k.org>
52196
52197 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
52198 from fanotify_init.
52199 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
52200 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52201
28c90b2c
UD
522022010-08-15 Ulrich Drepper <drepper@redhat.com>
52203
52204 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
52205 of strncasecmp_l.
1feccb6c 52206 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 52207
ca6bb004
UD
522082010-08-14 Ulrich Drepper <drepper@redhat.com>
52209
e9f82e0d
UD
52210 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52211 strncase_l-nonascii.
52212 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52213 Add strncase_l-ssse3.
52214 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
52215 * sysdeps/x86_64/strcmp.S: Likewise.
52216 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
52217 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
52218 * sysdeps/x86_64/strncase.S: New file.
52219 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
52220 * sysdeps/x86_64/strncase_l.S: New file.
52221 * string/Makefile (strop-tests): Add strncasecmp.
52222 * string/test-strncasecmp.c: New file.
52223
52224 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
52225 warning.
52226
ca6bb004
UD
52227 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
52228 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
52229
052fa7b3
AS
522302010-08-14 Andreas Schwab <schwab@linux-m68k.org>
52231
52232 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
52233
962dba78
UD
522342010-08-12 Ulrich Drepper <drepper@redhat.com>
52235
52236 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
52237 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
52238 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
52239
bebff237
AM
522402010-05-01 Alan Modra <amodra@gmail.com>
52241
52242 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
52243 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
52244 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
52245 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
52246 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
52247 tidying. Don't tail-call __sigjmp_save for static lib.
52248 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
52249 save location.
52250 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
52251 (CALL_MCOUNT): Add eh info, and nop after bl.
52252 (TAIL_CALL_SYSCALL_ERROR): New macro.
52253 (PSEUDO_RET): Use it.
52254 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
52255 Correct save location of integer regs and cr.
52256 (_dl_profile_resolve): Correct cr save location. Delete nops
52257 after bl when SHARED. Reduce cfi size a little by better
52258 placement of cfi directives.
52259 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
52260 make a stack frame. Instead use parm save area as a temp.
52261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
52262 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
52263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
52264 Don't make a stack frame for parent, use parm save area.
52265 Increase child stack frame to 112 bytes. Don't save unused reg,
52266 and adjust reg usage. Set up cfi on error recovery and
52267 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
52268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52269 (__makecontext): Add dummy nop after jump to exit.
52270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
52271 Use correct parm save area and cr save, reduce stack frame.
52272 Correct cfi for possible PSEUDO_RET frame setup.
52273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
52274 Branch to local label emitted by PSEUDO_RET rather than
52275 __syscall_error.
52276
02637374
AS
522772010-08-12 Andreas Schwab <schwab@redhat.com>
52278
52279 [BZ #11904]
52280 * locale/programs/locale.c (print_assignment): New function.
52281 (show_locale_vars): Use it.
52282
c3e2f19b
UD
522832010-08-11 Ulrich Drepper <drepper@redhat.com>
52284
3cdaa6ad
UD
52285 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
52286 field.
52287 (struct statfs64): Likewise.
52288 (_STATFS_F_FLAGS): Define.
52289 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
52290 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52291 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
52292 (ST_VALID): Define locally.
52293 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
52294 __statvfs_getflags, use the provided value.
52295 * sysdeps/unix/sysv/linux/kernel-features.h: Define
52296 __ASSUME_STATFS_F_FLAGS.
52297
754f7da3
UD
52298 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
52299
10b3bedc
UD
52300 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
52301 Add sys/fanotify.h.
52302 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
52303 fanotify_mask for GLIBC_2.13.
52304 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
52305 fanotify_init and fanotify_mark.
52306 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52307 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
52308
c08fb0d7
UD
52309 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
52310 Add prlimit.
52311 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
52312 prlimit64 for GLIBC_2.13.
52313 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
52314 prlimit64.
52315 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
52316 syscall.
52317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
52318 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52319 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
52320 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
52321 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
52322 add prlimit alias.
52323 * sysdeps/unix/sysv/linux/prlimit.c: New file.
52324
15bac72b
UD
52325 [BZ #11903]
52326 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
52327 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
52328
c3e2f19b
UD
52329 * nss/Makefile: Add rules to build and run tst-nss-test1.
52330 * shlib-versions: Add entry for libnss_test1.
52331 * nss/nss_test1.c: New file.
52332 * nss/tst-nss-test1.c: New file.
52333
52334 * nss/nsswitch.c (__nss_database_custom): Define new variable.
52335 (__nss_configure_lookup): Set appropriate entry in
52336 __nss_configure_lookup to true.
52337 * nss/nsswitch.h: Define enum with indeces of databases in
52338 databases and __nss_database_custom arrays. Declare
52339 __nss_database_custom.
52340 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
52341 to avoid using nscd when custom rules are installed.
52342 * nss/getXXbyYY_r.c: Likewise.
52343 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52344
52345 * nss/nss_files/files-parse.c: Whitespace fixes.
52346
f15ce4d8
UD
523472010-08-09 Ulrich Drepper <drepper@redhat.com>
52348
52349 [BZ #11883]
52350 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
52351 * posix/fnmatch_loop.c: Likewise.
52352
d22e4cc9
AK
523532010-07-17 Andi Kleen <ak@linux.intel.com>
52354
52355 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
52356 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
52357 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
52358 * Versions.def [GLIBC_2.13]: Add.
52359
805bc17d
UD
523602010-08-06 Ulrich Drepper <drepper@redhat.com>
52361
52362 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52363 Also fail if tpwd after pwuid call is NULL.
52364
5a42321d
ST
523652010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
52366
52367 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
52368 when converting to ms.
52369
fd3ebeda
ST
523702010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52371
52372 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
52373 EOPNOTSUPP errors with ENOTTY.
52374 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
52375 EOPNOTSUPP errors with ENOTTY.
52376
73507d3a
UD
523772010-07-31 Ulrich Drepper <drepper@redhat.com>
52378
52379 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52380 Add strcasecmp_l-ssse3.
52381 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
52382 strcasecmp.
52383 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
52384 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
52385 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
52386
fe36dd02
UD
523872010-07-30 Ulrich Drepper <drepper@redhat.com>
52388
66f6765a
UD
52389 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
52390
42e08a54
UD
52391 * string/Makefile (strop-tests): Add strcasecmp.
52392 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52393 strcasecmp_l-nonascii.
52394 (gen-as-const-headers): Add locale-defines.sym.
52395 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
52396 * sysdeps/x86_64/strcasecmp.S: New file.
52397 * sysdeps/x86_64/strcasecmp_l.S: New file.
52398 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
52399 * sysdeps/x86_64/locale-defines.sym: New file.
52400 * string/test-strcasecmp.c: New file.
52401
fe36dd02
UD
52402 * string/test-strcasestr.c: Test both ends of the range of characters.
52403 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
52404
48cbc0d6
RM
524052010-07-29 Roland McGrath <roland@redhat.com>
52406
76e6d6bc 52407 [BZ #11856]
48cbc0d6
RM
52408 * manual/locale.texi (Yes-or-No Questions): Fix example code.
52409
880113d9
UD
524102010-07-27 Ulrich Drepper <drepper@redhat.com>
52411
52412 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
52413 for ld.so.
52414
deb9cabb
AS
524152010-07-27 Andreas Schwab <schwab@redhat.com>
52416
52417 * manual/memory.texi (Malloc Tunable Parameters): Document
52418 M_PERTURB.
52419
1c7570ff
RM
524202010-07-26 Roland McGrath <roland@redhat.com>
52421
52422 [BZ #11840]
52423 * configure.in (-fgnu89-inline check): Set and substitute
52424 gnu89_inline, not libc_cv_gnu89_inline.
52425 * configure: Regenerated.
52426 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
52427
24fb0f88
UD
524282010-07-26 Ulrich Drepper <drepper@redhat.com>
52429
52430 * string/test-strnlen.c: New file.
52431 * string/Makefile (strop-tests): Add strnlen.
52432 * string/tester.c (test_strnlen): Add a few more test cases.
52433 * string/tst-strlen.c: Better error reporting.
52434
52435 * sysdeps/x86_64/strnlen.S: New file.
52436
8e96b93a
UD
524372010-07-24 Ulrich Drepper <drepper@redhat.com>
52438
52439 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
52440 lower-latency instructions.
52441
dbc676d4
UD
524422010-07-23 Ulrich Drepper <drepper@redhat.com>
52443
52444 * string/test-strcasestr.c: New file.
52445 * string/test-strstr.c: New file.
52446 * string/Makefile (strop-tests): Add strstr and strcasestr.
52447 * string/str-two-way.h: Don't undefine MAX.
52448 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
52449
f6a31e0e
AS
524502010-07-21 Andreas Schwab <schwab@redhat.com>
52451
52452 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52453 strcasestr-nonascii.
52454 (CFLAGS-strcasestr-nonascii.c): Define.
52455 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
52456 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
52457 Remove unused attribute.
52458
5dbc3b6c
RM
524592010-07-20 Roland McGrath <roland@redhat.com>
52460
52461 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
52462 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
52463 ld.so.cache was broken. With it, there is no way to disable dsocaps
52464 like LD_HWCAP_MASK can disable hwcaps.
52465
23d101d8
EPM
524662010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52467
52468 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
52469
cc9f2e47
UD
524702010-07-16 Ulrich Drepper <drepper@redhat.com>
52471
52472 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
52473 call in strcasestr.
52474 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
52475 __strcasestr_sse42_nonascii.
52476 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
52477 strcasestr-nonascii.c.
52478 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
52479
77c1b069
LM
524802010-06-15 Luis Machado <luisgpm@br.ibm.com>
52481
52482 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
52483 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
52484 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
52485 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
52486
440566c3
UD
524872010-07-09 Ulrich Drepper <drepper@redhat.com>
52488
52489 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
52490 fcntl.
52491
5be9d05d
AS
524922010-07-06 Andreas Schwab <schwab@redhat.com>
52493
c30b7ee2 52494 [BZ #11577]
5be9d05d
AS
52495 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
52496 dl_signal_cerror.
52497
8a492a67
UD
524982010-07-06 Ulrich Drepper <drepper@redhat.com>
52499
52500 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
52501 _PC_PIPE_BUF using F_GETPIPE_SZ.
52502
713df3d5
RM
525032010-07-05 Roland McGrath <roland@redhat.com>
52504
52505 * manual/arith.texi (Rounding Functions): Fix rint description
52506 implicit in round description.
52507
702e8f14
UD
525082010-07-02 Ulrich Drepper <drepper@redhat.com>
52509
52510 * elf/Makefile: Fix linking for a few tests to make recent linker
52511 happy.
52512
52ed8be9
AS
525132010-06-30 Andreas Schwab <schwab@redhat.com>
52514
52515 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52516 $(common-objpfx)libc_nonshared.a.
52517
f47c9a11
LM
525182010-06-21 Luis Machado <luisgpm@br.ibm.com>
52519
52520 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
52521 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
52522 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52523 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52524 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
52525 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
52526 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52527 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
52529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
52530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
52531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
52533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
52535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
52536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
52537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
52538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
52540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
52542 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
52543 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
52544 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
52545 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
52546 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
52547 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
52548 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
52549 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
52550 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
52551 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
52552 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
52553 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
52554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
52555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
52556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
52557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
52558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
52559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
52560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
52561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
52562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
52563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
52564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
52565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
52566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
52567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
52568
6fb8cbcb
L
525692010-06-25 H.J. Lu <hongjiu.lu@intel.com>
52570
52571 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
52572 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
52573 * string/memmove.c (memmove): Renamed to ...
52574 (MEMMOVE): ...this. Default to memmove.
52575 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
52576 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
52577 (END_CHK): Define.
52578 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52579 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
52580 mempcpy-ssse3-back memmove-ssse3-back.
52581 * sysdeps/x86_64/multiarch/bcopy.S: New file .
52582 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
52583 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
52584 * sysdeps/x86_64/multiarch/memcpy.S: New file.
52585 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
52586 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
52587 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
52588 * sysdeps/x86_64/multiarch/memmove.c: New file.
52589 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
52590 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
52591 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
52592 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
52593 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
52594 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
52595 Define.
52596 (index_Fast_Copy_Backward): Define.
52597 (HAS_ARCH_FEATURE): Define.
52598 (HAS_FAST_REP_STRING): Define.
52599 (HAS_FAST_COPY_BACKWARD): Define.
52600
4e733bac 526012010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
52602
52603 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52604 Restore proper fallback handling.
52605
63c4ed22
UD
526062010-06-19 Ulrich Drepper <drepper@redhat.com>
52607
ac2b484c
UD
52608 [BZ #11701]
52609 * posix/group_member.c (__group_member): Correct checking loop.
52610
63c4ed22
UD
52611 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
52612 OOM in getpwuid_r correctly. Return error number when the caller
52613 should return, otherwise -1.
52614 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
52615 call returning > 0 value.
52616 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
52617
765ade4b
AS
526182010-06-07 Andreas Schwab <schwab@redhat.com>
52619
52620 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
52621 libc_nonshared.a from targets in modules-names.
52622
80da2e09
KS
526232010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
52624
52625 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
52626 requires it.
52627
158db122
LM
526282010-06-10 Luis Machado <luisgpm@br.ibm.com>
52629
52630 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
52631 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
52632 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
52633 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
52634
caa78cf8
AS
526352010-06-02 Andreas Schwab <schwab@redhat.com>
52636
52637 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
52638
b2ef2c01
UD
526392010-06-14 Ulrich Drepper <drepper@redhat.com>
52640
52641 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
52642 and F_GETPIPE_SZ.
52643 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52644 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52645 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52646 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52647 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52648 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
52649
fbd643b6
RM
526502010-06-14 Roland McGrath <roland@redhat.com>
52651
52652 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
52653
f32f2869
JJ
526542010-06-07 Jakub Jelinek <jakub@redhat.com>
52655
52656 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
52657 __REDIRECT followed by __THROW.
52658 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
52659 * posix/getopt.h (getopt): Likewise.
52660
2a50c078
EPM
526612010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52662
52663 * hurd/lookup-at.c (__file_name_lookup_at): Accept
52664 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
52665 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
52666 in AT_FLAGS.
52667 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
52668 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
52669
eb5ad2eb
LM
526702010-05-28 Luis Machado <luisgpm@br.ibm.com>
52671
52672 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
52673
3c88fe1e
L
526742010-05-26 H.J. Lu <hongjiu.lu@intel.com>
52675
52676 [BZ #11640]
52677 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52678 Properly check family and model.
52679
d2f73151
TY
526802010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
52681
52682 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
52683
ebd2e13d
LM
526842010-05-24 Luis Machado <luisgpm@br.ibm.com>
52685
52686 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
52687
b32b8b45
UD
526882010-05-21 Ulrich Drepper <drepper@redhat.com>
52689
52690 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
52691 symbol reference.
52692
9acbe24d
AS
526932010-05-19 Andreas Schwab <schwab@redhat.com>
52694
52695 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
52696 symbol reference.
52697
f0ccf6ea
AS
526982010-05-21 Andreas Schwab <schwab@redhat.com>
52699
3d04ff3a
AS
52700 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
52701 and internal_recvmmsg.
52702 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
52703 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
52704 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
52705 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
52706
f0ccf6ea
AS
52707 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
52708 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
52709 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
52710
5b08ac57
AS
527112010-05-20 Andreas Schwab <schwab@redhat.com>
52712
52713 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
52714
4828935d
LM
527152010-05-17 Luis Machado <luisgpm@br.ibm.com>
52716
52717 POWER7 optimizations.
52718 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
52719 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
52720
373d545e
UD
527212010-05-19 Ulrich Drepper <drepper@redhat.com>
52722
52723 * version.h: Update for 2.13 development version.
52724
21a2b1ae
AS
527252010-05-12 Andrew Stubbs <ams@codesourcery.com>
52726
52727 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
52728 exceptions. Return 0.
52729
3f7dcb2b
RM
527302010-05-07 Roland McGrath <roland@redhat.com>
52731
52732 * elf/ldconfig.c (main): Add a const.
52733
5f24d53a 527342010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 52735
a160f8d8
UD
52736 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
52737 (args_options): Add no-idn option.
52738 (ahosts_keys_int): Add idn_flags to ai_flags.
52739 (parse_option): Handle 'i' option to clear idn_flags.
52740
5f24d53a
UD
52741 * malloc/malloc.c (_int_free): Possible race in the most recently
52742 added check. Only act on the data if no current modification
52743 happened.
265bb1ce
UD
52744
52745See ChangeLog.17 for earlier changes.