]> sourceware.org Git - glibc.git/blame - ChangeLog
Remove IS_IN_nscd
[glibc.git] / ChangeLog
CommitLineData
279bc5b3
SP
12014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2
85f36372
SP
3 * include/ifaddrs.h: Use IS_IN.
4 * inet/check_pf.c: Likewise.
5 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
7
fb6784e3
SP
8 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
9 IS_IN_ldconfig.
10 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
11 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
12
2886d2d1
SP
13 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
14 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
15 IS_IN (libc).
16
9a484857
SP
17 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
18
a10178bd
SP
19 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
20 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
22 * include/libc-symbols.h (IS_IN_LIB): New macro.
23 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
24 * include/netdb.h: Likewise.
25 * include/stap-probe.h: Remove all uses of IN_LIB.
26
279bc5b3
SP
27 * Makeconfig (module-cppflags-real): Define MODULE_NAME
28 instead of IN_MODULE.
29 * include/libc-symbols.h (IN_MODULE): Define using
30 MODULE_NAME.
31 (PASTE_NAME, PASTE_NAME1): New macros.
32 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
33 of IN_LIB.
34 (STAP_PROBE_ASM): Likewise.
35
e0cfa510
ST
362014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
37
38 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
39 __mach_init in dlopened libc.
40
34d97d87
MF
412014-11-22 Mike Frysinger <vapier@gentoo.org>
42
43 * sysdeps/arm/preconfigure.ac: Delete EABI check.
44 * sysdeps/arm/preconfigure: Regenerate.
45
33cd1f74
RM
462014-11-21 Roland McGrath <roland@hack.frob.com>
47
48 * nptl/pthread_create.c (__pthread_create_2_1): Set
49 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
50 when copying values from IATTR into PD.
51
8c230039
WN
522014-11-21 Will Newton <will.newton@linaro.org>
53 Andrew Pinski <andrew.pinski@caviumnetworks.com>
54
6d3db89b
AP
55 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
56 Refactor inline-asm. Also add comment.
57
01194ba1
WN
58 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
59 ElfW macro instead of hardcoded Elf64 types.
60 (la_aarch64_gnu_pltenter): Likewise.
61 * sysdeps/aarch64/dl-machine.h
62 (elf_machine_runtime_setup): Use ElfW(Addr).
63
8c230039
WN
64 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
65 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
66 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
67 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
68 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
69 (R_AARCH64_TLS_DTPMOD64): Rename to ..
70 (R_AARCH64_TLS_DTPMOD): This.
71 (R_AARCH64_TLS_DTPREL64): Rename to ...
72 (R_AARCH64_TLS_DTPREL): This.
73 (R_AARCH64_TLS_TPREL64): Rename to ...
74 (R_AARCH64_TLS_TPREL): This.
75 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
76 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
77 R_AARCH64_TLS_TPREL64.
78 (elf_machine_rela): Likewise.
79
0d79fa53
TR
802014-11-21 Torvald Riegel <triegel@redhat.com>
81
82 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
83 by setting it to 0. 64b atomics are not supported currently.
84
b59d114b
AO
852014-11-21 Alexandre Oliva <aoliva@redhat.com>
86
87 [BZ #16469]
88 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
89 search domain names.
90
f3d945d5
AO
912014-11-21 Alexandre Oliva <aoliva@redhat.com>
92
93 [BZ #16469]
94 * NEWS: Update.
95 * resolv/res_query.c (__libc_res_nquerydomain): Retain
96 trailing dot.
97 * posix/tst-getaddrinfo5.c: New.
98 * posix/Makefile (tests): Add it.
99
49698902
AO
1002014-11-21 Alexandre Oliva <aoliva@redhat.com>
101
102 [BZ #14498]
103 * NEWS: Fixed.
104 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
105 after parsing line but before break_if_match.
106 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
107 if there is a protocol mismatch.
108
81959214
MS
1092014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
110
111 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
112 because the potential race is on the user-supplied stream.
113
7729e0e9
AO
1142014-11-21 Alexandre Oliva <aoliva@redhat.com>
115
116 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
117 string literal if not passed a buffer.
118 * manual/job.texi (ctermid): Update reasoning, note deviation
119 from posix, suggest mtasurace when not passed a buffer, for
120 future non-preliminary safety notes.
121
a4ea5e28
AO
1222014-11-21 Alexandre Oliva <aoliva@redhat.com>
123
124 * manual/users.texi (cuserid): Fix MT-Safety note for the case
125 of not passing it a buffer.
126 Reported by Peng Haitao.
127
a2b581cb
AO
1282014-11-21 Alexandre Oliva <aoliva@redhat.com>
129
130 * manual/Makefile ($(objpfx)stamp-summary): Require
131 check-safety.sh to pass.
132 * manual/check-safety.sh: Wish for verification that every
133 @deftypefn and @deftypefun is followed by a @safety remark.
134
f214ff74
RM
1352014-11-20 Roland McGrath <roland@hack.frob.com>
136
7f0dfae0
RM
137 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
138
2f531bbb
RM
139 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
140 PTHREAD_CANCEL_ASYNCHRONOUS.
141 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
142 send SIGCANCEL.
143
f214ff74
RM
144 * nptl/default-sched.h: New file.
145 * sysdeps/unix/sysv/linux/default-sched.h: New file.
146 * nptl/pthread_create.c: Include it.
147 (__pthread_create_2_1): Use collect_default_sched instead of making
148 Linux syscalls here directly.
149
e37c91d4
TR
1502014-11-20 Torvald Riegel <triegel@redhat.com>
151
152 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
153 __pthread_once): Use C11 atomics.
154
1eccfecd
TR
1552014-11-20 Torvald Riegel <triegel@redhat.com>
156
157 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
158
ff871426
TR
1592014-11-20 Torvald Riegel <triegel@redhat.com>
160
161 * include/atomic.h (__atomic_link_error, __atomic_check_size,
162 atomic_thread_fence_acquire, atomic_thread_fence_release,
163 atomic_thread_fence_seq_cst, atomic_load_relaxed,
164 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
165 atomic_compare_exchange_weak_relaxed,
166 atomic_compare_exchange_weak_acquire,
167 atomic_compare_exchange_weak_release,
168 atomic_exchange_acquire, atomic_exchange_release,
169 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
170 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
171 atomic_fetch_and_acquire,
172 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
173
1ea339b6
TR
1742014-11-20 Torvald Riegel <triegel@redhat.com>
175
176 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
177 USE_ATOMIC_COMPILER_BUILTINS): Define.
178 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
179 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
180 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
181 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
182 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
183 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
184 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
185 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
186 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
187 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
188 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
189 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
190 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
191 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
192 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
193 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
194 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
195 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
196 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
197 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
198 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
199 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
200 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
201 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
202 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
203 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
204 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
205 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
206 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
207 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
208 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
209 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
210 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
211 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
212 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
213 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
214 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
215 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
216 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
217 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
218
cbd463e2
RM
2192014-11-19 Roland McGrath <roland@hack.frob.com>
220
d960211f
RM
221 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
222 the sched_priority value here. It was already checked when the user
223 called pthread_attr_setschedparam.
224
cbd463e2
RM
225 * nptl/tst-bad-schedattr.c: New file.
226 * nptl/Makefile (tests): Add it.
227
a39208bd
CD
2282014-11-19 Carlos O'Donell <carlos@redhat.com>
229 Florian Weimer <fweimer@redhat.com>
230 Joseph Myers <joseph@codesourcery.com>
231 Adam Conrad <adconrad@0c3.net>
232 Andreas Schwab <schwab@suse.de>
233 Brooks <bmoses@google.com>
234
235 [BZ #17625]
236 * wordexp-test.c (__dso_handle): Add prototype.
237 (__register_atfork): Likewise.
238 (__app_register_atfork): New function.
239 (registered_forks): New global.
240 (register_fork): New function.
241 (test_case): Add 3 new tests for WRDE_CMDSUB.
242 (main): Call __app_register_atfork.
243 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
244 fork count is non-zero fail the test.
245 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
246 is set.
247 (parse_dollars): Remove check for WRDE_NOCMD.
248 (parse_dquote): Likewise.
249
9cd47470
SP
2502014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
251
130ac68c
SP
252 * Makeconfig (built-modules): List non-library modules to be
253 built.
254 (module-cppflags): Include libc-modules.h for
255 everything except shlib-versions.v.i.
256 (CPPFLAGS): Use it.
257 (before-compile): Add libc-modules.h.
258 ($(common-objpfx)libc-modules.h,
259 $(common-objpfx)libc-modules.stmp): New targets.
260 (common-generated): Add libc-modules.h and libc-modules.stmp.
261 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
262 * include/libc-symbols.h: Don't include libc-modules.h.
263 * include/libc-modules.h: Remove file.
264 * scripts/gen-libc-modules.awk: New script to generate
265 libc-modules.h.
266 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
267 Depend on libc-modules.stmp.
268
286663c3
SP
269 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
270
9cd47470
SP
271 * Makeconfig (in-module): Get value of libof set for the
272 translation unit.
273 (CPPFLAGS): Use $(in-module).
274 * Makerules: Don't suffix routine names for nonlib.
275 * include/libc-modules.h: New file.
276 * include/libc-symbols.h: Include libc-modules.h
277 (IS_IN): New macro to replace IS_IN_* macros.
278 * elf/Makefile: Set libof-* for each routine.
279 * elf/rtld-Rules: Likewise.
280 * extra-modules.mk: Likewise.
281 * iconv/Makefile: Likewise.
282 * iconvdata/Makefile: Likewise.
283 * locale/Makefile: Likewise.
284 * malloc/Makefile: Likewise.
285 * nss/Makefile: Likewise.
286 * sysdeps/gnu/Makefile: Likewise.
287 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
288 * sysdeps/unix/sysv/linux/Makefile: Likewise.
289 * sysdeps/s390/s390-64/Makefile: Likewise.
290 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
291 CPPFLAGS for nscd instead of nonlib.
292
32fed10f
RM
2932014-11-18 Roland McGrath <roland@hack.frob.com>
294
d71035bd
RM
295 * nptl/createthread.c: New file.
296
6540b991
RM
297 * nptl/createthread.c: Moved ...
298 * sysdeps/unix/sysv/linux/createthread.c: ... here.
299
32fed10f
RM
300 * nptl/createthread.c: Add proper top-line comment.
301 (do_clone): Folded into ...
302 (create_thread): ... here. Take new arguments STOPPED_START and
303 THREAD_RAN. Always set PD->stopped_start to something here. Don't
304 increment __nptl_threads, do event-reporting logic, do
305 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
306 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
307 resource cleanup if sched_setaffinity or sched_setscheduler fails,
308 just send SIGCANCEL.
309 * nptl/pthread_create.c: Forward-declare create_thread before
310 including createthread.c.
311 (start_thread): Use new macro START_THREAD_DEFN to replace defining
312 declaration, and new macro START_THREAD_SELF to replace argument.
313 Remove return statement.
314 (report_thread_creation): New function.
315 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
316 synchronization logic, and __nptl_nthreads increment here, around
317 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
318 PD->parent_cancelhandling here, before create_thread. When
319 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
320 __deallocate_stack, and ENOMEM translation here.
321
107a5bf0
JM
3222014-11-18 Joseph Myers <joseph@codesourcery.com>
323
324 [BZ #17616]
325 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
326 (mptwo): Rename to __mptwo.
327 (__inv): Use __mptwo instead of mptwo.
328 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
329 (mptwo): Rename to __mptwo.
330 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
331 of mpone and __mptwo instead of mptwo.
332 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
333 instead of mpone.
334 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
335 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
336 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
337 of mpone and __mptwo instead of mptwo.
338 (__mpranred): Use __mpone instead of mpone.
339 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
340 variable.
341 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
342 (test-xfail-ISO99/math.h/linknamespace): Likewise.
343 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
344 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
345 (test-xfail-ISO11/math.h/linknamespace): Likewise.
346 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
347 (test-xfail-XPG3/math.h/linknamespace): Likewise.
348 (test-xfail-XPG4/math.h/linknamespace): Likewise.
349 (test-xfail-POSIX/math.h/linknamespace): Likewise.
350 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
351 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
352 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
353 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
354 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
355 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
356 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
357 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
358 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
359 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
360
3b679ab3
TV
3612014-11-18 Tom de Vries <tom@codesoucery.com>
362
363 * manual/signal.texi (Primitives Interrupted by Signals): In section,
364 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
365
3662014-11-17 Richard Henderson <rth@redhat.com>
367
368 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
369 (_FP_PACK_RAW_2): Remove.
370 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
371 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
372 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
373 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
374 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
375 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
376 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
377 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
378 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
379 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
380 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
381 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
382 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
383 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
384 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
385 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
386
0781a777
RM
3872014-11-14 Roland McGrath <roland@hack.frob.com>
388
389 * signal/signal.h [__USE_MISC]
390 (struct sigvec): Remove type.
391 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
392 (sigvec): Remove declaration.
393 * sysdeps/posix/sigvec.c: Moved ...
394 * signal/sigvec.c: ... here, replacing old file.
395 (struct sigvec): New type, copied from old signal.h definition.
396 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
397 (__sigvec): Convert definition to prototype.
398 (sigvec): Replace weak_alias with compat_symbol.
399 * signal/Versions (libc: GLIBC_2.21): New version set.
400 * include/signal.h: Remove __sigvec declaration.
401 * sysdeps/unix/bsd/sigvec.c: Remove file.
402 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
403 * manual/signal.texi (BSD Handler): Remove subsection.
404 Move siginterrupt up to ...
405 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
406 (Blocking in BSD): Fold subsection into its parent.
407 * NEWS: Mention sigvec removal.
408
a4733812
JM
4092014-11-14 Joseph Myers <joseph@codesourcery.com>
410
5ae4fe60
JM
411 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
412 (DLA_FMS): Make definition conditional only on [__FMA4__].
413 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
414 definition.
415
6a0dd472
JM
416 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
417 Make definition conditional only on [PROF].
418 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
419 definition.
420 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
421 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
422
a4733812
JM
423 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
424 !__GNUC__].
425 * include/signal.h (__sigpause): Move declaration above call to
426 libc_hidden_proto.
427 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
428 variable.
429 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
430 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
431
cf7246dd
DM
4322014-11-14 David S. Miller <davem@davemloft.net>
433
434 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
435 Define before including <string/memcpy.c> and <string/mempcpy.c>.
436
c1b0aadc
JM
4372014-11-14 Joseph Myers <joseph@codesourcery.com>
438
4863355a
JM
439 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
440 * configure: Regenerated.
441 * manual/install.texi (Tools for Compilation): Document a
442 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
443 compiler verified to work.
444 * INSTALL: Regenerated.
445
c1b0aadc
JM
446 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
447 redeclare with asm name.
448 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
449 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
450 including <string.h>.
451 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
452 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
453 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
454 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
455 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
456 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
457 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
458
2a1cfd94
JM
4592014-11-13 Joseph Myers <joseph@codesourcery.com>
460
bf438382
JM
461 * stdlib/strtol.c (__strtol): Use prototype definition.
462
2a1cfd94
JM
463 [BZ #17594]
464 * stdlib/strtol.c (SYM__): New macro.
465 (SYM__1): Likewise.
466 (__strtol): Likewise.
467 (strtol): Rename to __strtol and define as weak alias of
468 __strtol. Use libc_hidden_weak.
469
20ed0d26
SL
4702014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
471
472 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
473 Use numbered labels in inline assembly.
474
53244a4e
SL
4752014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
476
477 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
478 Add setjmp LIBC_PROBE.
479 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
480 Likewise.
481 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
482 Add longjmp, longjmp_target LIBC_PROBE.
483 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
484 Likewise.
485
47df8251
SL
4862014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
487
488 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
489 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
490 to get rid of unused variable warning.
491
618cebef
SL
4922014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
493
494 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
495 Check for unwind_backtrace == NULL only in SHARED case.
496 (__backchain_backtrace): Compile only in SHARED case.
497 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
498 Likewise.
499 (__backchain_backtrace): Declare as static.
500
c6aab2cb
RM
5012014-11-12 Roland McGrath <roland@hack.frob.com>
502
503 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
504 (__libc_multiple_threads_ptr): Variable moved ...
505 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
506
5a6fa4d7
JM
5072014-11-12 Joseph Myers <joseph@codesourcery.com>
508
24f4f825
JM
509 * conform/GlibcConform.pm: New file.
510 * conform/conformtest.pl: Use GlibcConform module.
511 * conform/linknamespace.pl: New file.
512 * conform/list-header-symbols.pl: Likewise.
513 * conform/Makefile (linknamespace-symlists-base): New variable.
514 (linknamespace-symlists-tests): Likewise.
515 (linknamespace-header-base): Likewise.
516 (linknamespace-header-tests): Likewise.
517 (tests-special): Add new tests.
518 ($(linknamespace-symlists-tests)): New rule.
519 (linknamespace-libs): New variable.
520 ($(objpfx)symlist-stdlibs): New rule.
521 ($(linknamespace-header-tests)): Likewise.
522 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
523 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
524 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
525 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
526 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
527 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
528 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
529 (test-xfail-ISO/math.h/linknamespace): Likewise.
530 (test-xfail-ISO/signal.h/linknamespace): Likewise.
531 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
532 (test-xfail-ISO/time.h/linknamespace): Likewise.
533 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
534 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
535 (test-xfail-ISO99/math.h/linknamespace): Likewise.
536 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
537 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
538 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
539 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
540 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
541 (test-xfail-ISO11/math.h/linknamespace): Likewise.
542 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
543 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
544 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
545 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
546 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
547 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
548 (test-xfail-XPG3/math.h/linknamespace): Likewise.
549 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
550 (test-xfail-XPG3/search.h/linknamespace): Likewise.
551 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
552 (test-xfail-XPG3/time.h/linknamespace): Likewise.
553 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
554 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
555 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
556 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
557 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
558 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
559 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
560 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
561 (test-xfail-XPG4/math.h/linknamespace): Likewise.
562 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
563 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
564 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
565 (test-xfail-XPG4/search.h/linknamespace): Likewise.
566 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
567 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
568 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
569 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
570 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
571 (test-xfail-XPG4/time.h/linknamespace): Likewise.
572 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
573 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
574 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
575 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
576 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
577 (test-xfail-POSIX/math.h/linknamespace): Likewise.
578 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
579 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
580 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
581 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
582 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
583 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
584 (test-xfail-POSIX/time.h/linknamespace): Likewise.
585 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
586 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
587 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
588 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
589 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
590 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
591 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
592 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
593 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
594 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
595 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
596 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
597 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
598 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
599 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
600 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
601 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
602 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
603 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
604 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
605 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
606 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
607 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
608 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
609 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
610 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
611 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
612 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
613 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
614 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
615 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
616 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
617 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
618 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
619 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
620 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
621 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
622 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
623 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
624 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
625 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
626 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
627 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
628 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
629 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
630 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
631 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
632 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
633 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
634 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
635 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
636 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
637 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
638 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
639 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
640 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
641 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
642 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
643 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
644 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
645 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
646 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
647 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
648 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
649 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
650 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
651 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
652 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
653 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
654 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
655 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
656 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
657 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
658 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
659 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
660 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
661 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
662 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
663 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
664 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
665 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
666 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
667 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
668 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
669 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
670 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
671 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
672 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
673 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
674 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
675 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
676 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
677 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
678 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
679 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
680 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
681 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
682 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
683
cc67478e
JM
684 [BZ #17589]
685 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
686 of fgets_unlocked.
687
9975e3d3
JM
688 [BZ #17585]
689 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
690 (memmem): Rename to __memmem and define as weak alias of
691 __memmem. Use libc_hidden_weak.
692 (__memmem): Use libc_hidden_def.
693 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
694 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
695 memmem.
696
c4eae752
JM
697 [BZ #17582]
698 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
699 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
700 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
701 and define as weak alias of __fgets_unlocked. Use
702 libc_hidden_weak.
703 (__fgets_unlocked): Use libc_hidden_def.
704 * include/stdio.h (__fgets_unlocked): Declare. Use
705 libc_hidden_proto.
706 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
707 __fgets_unlocked instead of fgets_unlocked.
708 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
709 (GET_NPROCS_CONF_PARSER): Likewise.
710 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
711 (GET_NPROCS_CONF_PARSER): Likewise.
712
01cad84e
JM
713 [BZ #17574]
714 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
715 weak alias of __wmemset. Use libc_hidden_weak.
716 (__wmemset): Use libc_hidden_def.
717 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
718 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
719 of wmemset.
720
939da411
JM
721 [BZ #17573]
722 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
723 with asm name __mempcpy.
724 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
725
293d9a41
JM
726 [BZ #17572]
727 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
728 and define as weak alias of __rawmemchr.
729 (__rawmemchr): Do not define as strong alias of rawmemchr.
730
bef8fd60
JM
731 [BZ #17571]
732 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
733 alias of __qsort_r.
734 (qsort): Call __qsort_r instead of qsort_r.
735 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
736 (__qsort_r): Declare. Call libc_hidden_proto.
737 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
738 instead of qsort_r.
739 * nscd/gai.c (__qsort_r): Define to qsort_r.
740 * posix/tst-rfc3484.c (__qsort_r): Likewise.
741 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
742 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
743
c52ff39e
JM
744 [BZ #17570]
745 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
746 define as weak alias of __malloc_info.
747
2f5c1b00
JM
748 [BZ #17584]
749 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
750 as weak alias of __rewinddir. Don't use libc_hidden_def.
751 (__rewinddir): Use libc_hidden_def.
752 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
753 as weak alias of __rewinddir. Don't use libc_hidden_def.
754 (__rewinddir): Use libc_hidden_def.
755 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
756 weak alias of __rewinddir. Don't use libc_hidden_def.
757 (__rewinddir): Use libc_hidden_def.
758 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
759 (__rewinddir): Use libc_hidden_proto.
760 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
761 rewinddir.
762 (__getcwd): Use __rewinddir instead of rewinddir.
763
5a6fa4d7
JM
764 [BZ #17583]
765 * libio/fileno.c (fileno): Rename to __fileno and define as weak
766 alias of __fileno. Use libc_hidden_weak.
767 (__fileno): Use libc_hidden_def.
768 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
769 * libio/ftello.c (ftello): Rename to __ftello and define as weak
770 alias of __ftello.
771 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
772 __ftello.
773 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
774 (__fread_unlocked): Define as strong alias of _IO_fread. Use
775 libc_hidden_def.
776 (fread_unlocked): Don't use libc_hidden_ver.
777 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
778 and define as weak alias of __fread_unlocked. Don't use
779 libc_hidden_def.
780 (__fread_unlocked): Use libc_hidden_def.
781 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
782 (ftello): Don't use libc_hidden_proto.
783 (__ftello): Declare. Use libc_hidden_proto.
784 (fread_unlocked): Don't use libc_hidden_proto.
785 (__fread_unlocked): Declare. Use libc_hidden_proto.
786 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
787 and __ftello instead of fileno, fread_unlocked and ftello.
788
2581b98e
SP
7892012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
790
791 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
792 GOT12.
793 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
794 Likewise.
795 (_dl_start_user): Likewise.
796 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
797
533bb7c2
SP
7982014-11-12 Carlos O'Donell <carlos@redhat.com>
799 Siddhesh Poyarekar <siddhesh@redhat.com>
800
801 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
802 Move argv and envp down instead of moving argc up.
803 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
804
fffa1cf8
LH
8052014-11-12 Leonhard Holz <leonhard.holz@web.de>
806
807 [BZ #17506]
808 * test-skeleton.c (main): Return successful if one of
809 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
810 * string/tst-strcoll-overflow.c: Define expected status.
811
fb89b46d
TU
8122014-11-12 Tatiana Udalova <t.udalova@samsung.com>
813
814 [BZ #17475]
815 * locale/iso-639.def: Define Bhili and Tulu language codes.
816
5c40c3ba
AH
8172014-11-11 Alan Hayward <alan.hayward@arm.com>
818
819 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
820
b17fe01b 8212014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
822
823 [BZ #17555]
824 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
825
bd805071
AS
8262014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
827
828 * configure.ac: Updated check of minimal required version to
829 2.22.
830 * manual/install.texi (Tools for Compilation): Updated version
831 number.
832 * configure: Regenerated.
833 * INSTALL: Likewise.
834
1400983e
AS
8352014-11-07 Andreas Schwab <schwab@linux-m68k.org>
836
837 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
838 __tls_get_addr.
839
2c46a66a
JM
8402014-11-07 Joseph Myers <joseph@codesourcery.com>
841
842 * include/sys/wait.h (__libc_waitpid): Remove declaration.
843 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
844 (__waitpid): Don't define as alias. Use libc_hidden_def not
845 libc_hidden_weak.
846 (waitpid): Define as alias of __waitpid.
847 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
848 __waitpid.
849 (__waitpid): Don't define as alias. Use libc_hidden_def not
850 libc_hidden_weak.
851 (waitpid): Define as alias of __waitpid.
852 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
853 __libc_waitpid alias.
854 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
855 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
856 Likewise.
857 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
858 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
859 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
860 alias.
861 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
862 __waitpid.
863 (__waitpid): Don't define as alias. Use libc_hidden_def not
864 libc_hidden_weak.
865 (waitpid): Define as alias of __waitpid.
866
da53d6db
CD
8672014-11-06 Carlos O'Donell <carlos@redhat.com>
868
a2887bdb
CD
869 * manual/llio.texi: Add comment that write safety has been
870 fixed in Linux.
871
da53d6db
CD
872 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
873 (localplt-build-dso): Add elf/ld.so.
874 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
875 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
876 and free for ld.so.
877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
878 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
880 Likewise.
881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
882 Likewise.
883 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
884 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
885 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
886 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
887 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
888 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
889 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
890 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
891 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
892 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
893 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
894
9cf27b8d
JM
8952014-11-05 Joseph Myers <joseph@codesourcery.com>
896
897 [BZ #14132]
898 * include/libc-symbols.h (INTUSE): Remove macro.
899 (INTDEF): Likewise.
900 (INTVARDEF): Likewise.
901 (_INTVARDEF): Likewise.
902 (INTDEF2): Likewise.
903 (INTVARDEF2): Likewise.
904 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
905 rtld_hidden_def instead of INTVARDEF.
906 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
907 (_dl_starting_up_internal): Remove declaration.
908 (_dl_starting_up): Use rtld_hidden_proto.
909 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
910 declaration.
911 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
912 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
913 _dl_starting_up.
914 * elf/dl-writev.h (_dl_writev): Likewise.
915 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
916 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
917 _dl_starting_up_internal.
918
af83568d
AZ
9192014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
920
921 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
922 test-skeleton.c.
923
b01ee67c
WN
9242014-11-05 Will Newton <will.newton@linaro.org>
925
926 * benchtests/Makefile: (bench-malloc): Add malloc thread
927 scalability benchmark.
928 * benchtests/bench-malloc-threads.c: New file.
929
be9d4ccc
RE
9302014-11-05 Richard Earnshaw <rearnsha@arm.com>
931
932 * sysdeps/aarch64/strchrnul.S: New file.
933
7110166d
AZ
9342014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
935
936 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
937 definition.
938 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
939 Likwise.
940 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
941 Likewise.
942 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
943 Likewise.
944 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
945 Likewise.
946 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
947 Likewise.
948
9492014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
950
951 * catgets/test-gencat.c: Use test-skeleton.c.
952 * catgets/tst-catgets.c: Likewise.
953 * csu/tst-empty.c: Likewise.
954 * elf/tst-audit2.c: Likewise.
955 * elf/tst-global1.c: Likewise.
956 * elf/tst-pathopt.c: Likewise.
957 * elf/tst-piemod1.c: Likewise.
958 * elf/tst-tls10.c: Likewise.
959 * elf/tst-tls11.c: Likewise.
960 * elf/tst-tls12.c: Likewise.
961 * gnulib/tst-gcc.c: Likewise.
962 * iconvdata/tst-e2big.c: Likewise.
963 * iconvdata/tst-loading.c: Likewise.
964 * iconv/tst-iconv1.c: Likewise.
965 * iconv/tst-iconv2.c: Likewise.
966 * inet/test-inet6_opt.c: Likewise.
967 * inet/tst-gethnm.c: Likewise.
968 * inet/tst-network.c: Likewise.
969 * inet/tst-ntoa.c: Likewise.
970 * intl/tst-codeset.c: Likewise.
971 * intl/tst-gettext2.c: Likewise.
972 * intl/tst-gettext3.c: Likewise.
973 * intl/tst-ngettext.c: Likewise.
974 * intl/tst-translit.c: Likewise.
975 * io/test-stat.c: Likewise.
976 * libio/test-fmemopen.c: Likewise.
977 * libio/tst-freopen.c: Likewise.
978 * libio/tst-sscanf.c: Likewise.
979 * libio/tst-ungetwc1.c: Likewise.
980 * libio/tst-ungetwc2.c: Likewise.
981 * libio/tst-widetext.c: Likewise.
982 * localedata/tst-ctype.c: Likewise.
983 * localedata/tst-digits.c: Likewise.
984 * localedata/tst-leaks.c: Likewise.
985 * localedata/tst-mbswcs1.c: Likewise.
986 * localedata/tst-mbswcs2.c: Likewise.
987 * localedata/tst-mbswcs3.c: Likewise.
988 * localedata/tst-mbswcs4.c: Likewise.
989 * localedata/tst-mbswcs5.c: Likewise.
990 * localedata/tst-setlocale.c: Likewise.
991 * localedata/tst-trans.c: Likewise.
992 * localedata/tst-wctype.c: Likewise.
993 * localedata/tst-xlocale1.c: Likewise.
994 * login/tst-grantpt.c: Likewise.
995 * malloc/tst-calloc.c: Likewise.
996 * malloc/tst-malloc.c: Likewise.
997 * malloc/tst-mallocstate.c: Likewise.
998 * malloc/tst-mcheck.c: Likewise.
999 * malloc/tst-mtrace.c: Likewise.
1000 * malloc/tst-obstack.c: Likewise.
1001 * math/atest-exp2.c: Likewise.
1002 * math/atest-exp.c: Likewise.
1003 * math/atest-sincos.c: Likewise.
1004 * math/test-matherr.c: Likewise.
1005 * math/test-misc.c: Likewise.
1006 * math/test-powl.c: Likewise.
1007 * math/tst-definitions.c: Likewise.
1008 * misc/tst-dirname.c: Likewise.
1009 * misc/tst-efgcvt.c: Likewise.
1010 * misc/tst-fdset.c: Likewise.
1011 * misc/tst-hsearch.c: Likewise.
1012 * misc/tst-mntent2.c: Likewise.
1013 * nptl/tst-sem7.c: Likewise.
1014 * nptl/tst-sem8.c: Likewise.
1015 * nptl/tst-sem9.c: Likewise.
1016 * nss/test-netdb.c: Likewise.
1017 * posix/tst-fnmatch.c: Likewise.
1018 * posix/tst-getlogin.c: Likewise.
1019 * posix/tst-gnuglob.c: Likewise.
1020 * posix/tst-mmap.c: Likewise.
1021 * pwd/tst-getpw.c: Likewise.
1022 * resolv/tst-inet_ntop.c: Likewise.
1023 * rt/tst-timer.c: Likewise.
1024 * stdio-common/test-fseek.c: Likewise.
1025 * stdio-common/test-popen.c: Likewise.
1026 * stdio-common/test-vfprintf.c: Likewise.
1027 * stdio-common/tst-cookie.c: Likewise.
1028 * stdio-common/tst-fileno.c: Likewise.
1029 * stdio-common/tst-gets.c: Likewise.
1030 * stdio-common/tst-obprintf.c: Likewise.
1031 * stdio-common/tst-perror.c: Likewise.
1032 * stdio-common/tst-sprintf2.c: Likewise.
1033 * stdio-common/tst-sprintf3.c: Likewise.
1034 * stdio-common/tst-sprintf.c: Likewise.
1035 * stdio-common/tst-swprintf.c: Likewise.
1036 * stdio-common/tst-tmpnam.c: Likewise.
1037 * stdio-common/tst-unbputc.c: Likewise.
1038 * stdio-common/tst-wc-printf.c: Likewise.
1039 * stdlib/tst-environ.c: Likewise.
1040 * stdlib/tst-fmtmsg.c: Likewise.
1041 * stdlib/tst-limits.c: Likewise.
1042 * stdlib/tst-rand48-2.c: Likewise.
1043 * stdlib/tst-rand48.c: Likewise.
1044 * stdlib/tst-random2.c: Likewise.
1045 * stdlib/tst-random.c: Likewise.
1046 * stdlib/tst-strtol.c: Likewise.
1047 * stdlib/tst-strtoll.c: Likewise.
1048 * stdlib/tst-tls-atexit.c: Likewise.
1049 * stdlib/tst-xpg-basename.c: Likewise.
1050 * string/test-ffs.c: Likewise.
1051 * string/tst-bswap.c: Likewise.
1052 * string/tst-inlcall.c: Likewise.
1053 * string/tst-strtok.c: Likewise.
1054 * string/tst-strxfrm.c: Likewise.
1055 * sysdeps/x86_64/tst-audit10.c: Likewise.
1056 * sysdeps/x86_64/tst-audit3.c: Likewise.
1057 * sysdeps/x86_64/tst-audit4.c: Likewise.
1058 * sysdeps/x86_64/tst-audit5.c: Likewise.
1059 * time/tst-ftime_l.c: Likewise.
1060 * time/tst-getdate.c: Likewise.
1061 * time/tst-mktime3.c: Likewise.
1062 * time/tst-mktime.c: Likewise.
1063 * time/tst-posixtz.c: Likewise.
1064 * time/tst-strptime2.c: Likewise.
1065 * time/tst-strptime3.c: Likewise.
1066 * wcsmbs/tst-btowc.c: Likewise.
1067 * wcsmbs/tst-mbrtowc.c: Likewise.
1068 * wcsmbs/tst-mbsrtowcs.c: Likewise.
1069 * wcsmbs/tst-wchar-h.c: Likewise.
1070 * wcsmbs/tst-wcpncpy.c: Likewise.
1071 * wcsmbs/tst-wcrtomb.c: Likewise.
1072 * wcsmbs/tst-wcsnlen.c: Likewise.
1073 * wcsmbs/tst-wcstof.c: Likewise.
1074
2004e7fb
JM
10752014-11-04 Joseph Myers <joseph@codesourcery.com>
1076
ab97ee8f
JM
1077 [BZ #14132]
1078 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
1079 INTDEF.
1080 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
1081 declaration.
1082 (_dl_mcount): Use rtld_hidden_proto.
1083 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
1084 _dl_mcount.
1085 * elf/rtld.c (_rtld_global_ro): Likewise.
1086
c5684fdb
JM
1087 [BZ #14132]
1088 * elf/dl-init.c (_dl_init): Don't use INTDEF.
1089 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
1090 of _dl_init_internal.
1091 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
1092 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
1093 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
1094 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
1095 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
1096 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
1097 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
1098 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
1099 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
1100 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
1101 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
1102 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
1103 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
1104 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
1105 * sysdeps/tile/dl-start.S (_start): Likewise.
1106 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
1107 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
1108
4243cbea
JM
1109 [BZ #14132]
1110 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
1111 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
1112 (rtld_progname): Make macro definition unconditional.
1113 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
1114 INTDEF.
1115 (dlmopen_doit): Do not use INTUSE with _dl_argv.
1116 (dl_main): Likewise.
1117 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1118 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
1119 instead of _dl_argv_internal.
1120 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1121 __GI__dl_argv instead of INTUSE(_dl_argv).
1122 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
1123 __GI__dl_argv instead of _dl_argv_internal.
1124
2004e7fb
JM
1125 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
1126 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
1127 macro.
1128 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
1129 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
1130 New macro.
1131 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
1132 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
1133 macro.
1134 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
1135 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
1136
97827bfc
AS
11372014-11-04 Andreas Schwab <schwab@suse.de>
1138
1139 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
1140
5e4df284
AZ
11412014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1142
1143 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
1144 mtvsrd instruction in binary form.
1145
04b76b5a
AS
11462014-11-03 Andreas Schwab <schwab@suse.de>
1147
1148 [BZ #17522]
1149 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
1150 for less than MB_LEN_MAX use a local buffer of that size.
1151 * libio/tst-fputws.c: New file.
1152 * libio/Makefile (tests): Add tst-fputws.
1153
4c6da7da
JM
11542014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
1155
1156 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
1157 the size of the fpu_fr.fpu_dregs[] array.
1158
1679ba8e
JM
11592014-11-01 Joseph Myers <joseph@codesourcery.com>
1160
1161 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
1162 (__nanosleep): Do not define as alias.
1163 (nanosleep): Define as alias of __nanosleep.
1164 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
1165 __libc_nanosleep name.
1166
2626c183
JM
11672014-10-31 Joseph Myers <joseph@codesourcery.com>
1168
1169 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
1170 install.texi in comment.
1171
7f981fc2
TR
11722014-10-31 Torvald Riegel <triegel@redhat.com>
1173
1174 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
1175 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
1176 ... add here and use lwsync or sync ...
1177 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
1178 ... and add here using lwsync.
1179
d6f373d2
MF
11802014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
1181
1182 * elf/dl-machine-reject-phdr.h: New file.
1183 * elf/dl-load.c: #include that.
1184 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
1185 if that returned true.
1186
67c37987
RM
11872014-10-31 Roland McGrath <roland@hack.frob.com>
1188
1189 [BZ #17496]
1190 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
1191 gen-as-const-headers chunk. Add a big scare comment after the last
1192 safe place to touch before-compile.
1193
94a42455 11942014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 1195
f3f5d895
JM
1196 * manual/install.texi (Tools for Compilation): Update autoconf
1197 version requirements.
1198 * INSTALL: Regenerated.
1199
f62ff286
JM
1200 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
1201 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
1202 (__libc_pselect): Likewise.
94a42455
JM
1203
1204 [BZ #14138]
1205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
1206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1209
ff9dbdc0
TR
12102014-10-31 Torvald Riegel <triegel@redhat.com>
1211
1212 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
1213 correct barrier instruction.
1214 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
1215 Likewise.
1216 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
1217 Likewise.
1218
b4f66884
RM
12192014-10-30 Roland McGrath <roland@hack.frob.com>
1220
1221 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
1222 after defining inlines. Instead, just use parens to defeat macro
1223 expansion of __isctype in its declaration.
1224
e19c95fd
JM
12252014-10-30 Joseph Myers <joseph@codesourcery.com>
1226
1227 * include/sys/uio.h (__libc_readv): Remove declaration.
1228 (__libc_writev): Likewise.
1229 * misc/readv.c (__libc_readv): Rename to __readv.
1230 (__readv): Do not define as alias.
1231 (readv): Define as alias of __readv.
1232 * misc/writev.c (__libc_writev): Rename to __writev.
1233 (__writev): Do not define as alias.
1234 (writev): Define as alias of __writev.
1235 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
1236 (__readv): Do not define as alias.
1237 (readv): Define unconditionally as alias of __readv.
1238 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
1239 (__writev): Do not define as alias.
1240 (writev): Define unconditionally as alias of __writev.
1241 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
1242 name.
1243 (writev): Do not define __libc_writev name.
1244
65b00b6c
RM
12452014-10-30 Roland McGrath <roland@hack.frob.com>
1246
1247 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
1248 (convert_charseq): New function, broken out of ...
1249 (use_from_charmap): ... here. Call it.
1250 (use_to_charmap): Use convert_charseq and free instead of duplicating
1251 its code with a variable-length stack struct.
1252
d4e157aa
JM
12532014-10-30 Joseph Myers <joseph@codesourcery.com>
1254
1255 * include/fcntl.h (__libc_creat): Remove declaration.
1256 * io/creat.c (__libc_creat): Rename to creat.
1257 (creat): Do not define as alias.
1258 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
1259 of creat instead of __libc_creat.
1260 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
1261 to creat.
1262 (creat): Do not define as alias.
1263 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
1264 __libc_creat.
1265 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
1266 __libc_creat name.
1267 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
1268 Likewise.
1269
0c6891a0
CD
12702014-10-29 Carlos O'Donell <carlos@redhat.com>
1271
1272 * manual/llio.texi: Add comments discussing why write() may be
1273 considered MT-unsafe on Linux.
1274
cc00cece
CD
12752014-10-28 Carlos O'Donell <carlos@redhat.com>
1276
1277 * dl-load.c (local_strdup): Remove.
1278 (expand_dynamic_string_token): Use __strdup.
1279 (decompose_rpath): Likewise.
1280 (_dl_map_object): Likewise.
1281
51e623f2
JM
12822014-10-28 Joseph Myers <joseph@codesourcery.com>
1283
1284 [BZ #14132]
1285 * sysdeps/generic/unwind-dw2-fde.c
1286 (__register_frame_info_bases_internal): Do not declare.
1287 (__register_frame_info_table_bases_internal): Likewise.
1288 (__deregister_frame_info_bases_internal): Likewise.
1289 (__register_frame_info_bases): Declare and use hidden_proto before
1290 definition. Use hidden_def instead of INTDEF.
1291 (__register_frame_info_table_bases): Likewise.
1292 (__deregister_frame_info_bases): Likewise.
1293 (__register_frame_info): Do not use INTUSE.
1294 (__register_frame): Likewise.
1295 (__register_frame_info_table): Likewise.
1296 (__register_frame_table): Likewise.
1297 (__deregister_frame_info): Likewise.
1298 (__deregister_frame): Likewise.
1299
03d41216
GC
13002014-10-27 Gratian Crisan <gratian.crisan@ni.com>
1301
1302 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1303 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
1304 not undefine.
1305 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
1306 Likewise.
1307 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
1308 Likewise.
1309
a4b3624d
JM
13102014-10-27 Joseph Myers <joseph@codesourcery.com>
1311
1312 [BZ #14138]
1313 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
1314 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
1315 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1316 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1317 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
1318 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
1319 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
1320 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
1321 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
1322 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
1323 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
1324 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
1325 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
1326 syscall.
1327 (setfsuid): Likewise.
1328 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
1329 (setfsuid): Likewise.
1330 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
1331 (setfsuid): Likewise.
1332 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
1333 Likewise.
1334 (setfsuid): Likewise.
1335 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
1336 (setfsuid): Likewise.
1337 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
1338 Likewise.
1339 (setfsuid): Likewise.
1340
3574f2fd
AS
13412014-10-27 Andreas Schwab <schwab@suse.de>
1342
1343 [BZ #17501]
1344 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
1345 check for Slow_SSE4_2 feature bit.
1346 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
1347 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1348 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
1349 Likewise. Fix check for Fast_Unaligned_Load feature bit.
1350
70996a37
RM
13512014-10-24 Roland McGrath <roland@hack.frob.com>
1352
461a7b1e
RM
1353 * configure.ac: Validate compiler version with a empirical test of
1354 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
1355 $CC -v output.
1356 * configure: Regenerated.
1357
70996a37
RM
1358 * inet/htons.c (htons): Prototypify.
1359 * inet/htonl.c (htonl): Likewise.
1360
e80514b5
WD
13612014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1362
1363 * string/strncat.c (strncat): Improve performance by using strlen.
1364
6e46de42
WD
13652014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1366
1367 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
1368
6a9ad2fa
WD
13692014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1370
1371 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
1372 Call libc_fetestexcept_aarch64.
1373
1c8810ed
WD
13742014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1375
1376 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
1377 Call libc_feholdexcept_aarch64.
1378
8b1af712
WD
13792014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1380
1381 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
1382 Call get_rounding_mode.
1383
a7b00c11
WD
13842014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1385
1386 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1387 Simplify logic.
1388
3a84f1a6
WD
13892014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1390
1391 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
1392 Simplify logic.
1393
48eb7a94
JM
13942014-10-24 Joseph Myers <joseph@codesourcery.com>
1395
c8bc4038
JM
1396 [BZ #14138]
1397 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
1398 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
1399 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
1400 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
1401 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
1402 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
1403 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
1404 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
1405 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
1406 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
1407 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1408 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
1409 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
1410 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
1411 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
1412 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
1413 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
1414 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
1415 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
1416 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
1417 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
1418 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
1419 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
1420 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
1421 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
1422 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
1423 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
1424 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
1425 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
1426 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
1427 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
1428 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
1429 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
1430 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
1431 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
1432 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
1433 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
1434 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
1435 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
1436 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
1437 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
1438 syscall.
1439 (geteuid): Likewise.
1440 (getgid): Likewise.
1441 (getuid): Likewise.
1442 (getresgid): Likewise.
1443 (getresuid): Likewise.
1444 (getgroups): Likewise.
1445 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
1446 (geteuid): Likewise.
1447 (getgid): Likewise.
1448 (getuid): Likewise.
1449 (getresgid): Likewise.
1450 (getresuid): Likewise.
1451 (getgroups): Likewise.
1452 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
1453 (geteuid): Likewise.
1454 (getgid): Likewise.
1455 (getuid): Likewise.
1456 (getresgid): Likewise.
1457 (getresuid): Likewise.
1458 (getgroups): Likewise.
1459 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
1460 Likewise.
1461 (geteuid): Likewise.
1462 (getgid): Likewise.
1463 (getuid): Likewise.
1464 (getresgid): Likewise.
1465 (getresuid): Likewise.
1466 (getgroups): Likewise.
1467 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
1468 (geteuid): Likewise.
1469 (getgid): Likewise.
1470 (getuid): Likewise.
1471 (getresgid): Likewise.
1472 (getresuid): Likewise.
1473 (getgroups): Likewise.
1474 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
1475 Likewise.
1476 (geteuid): Likewise.
1477 (getgid): Likewise.
1478 (getuid): Likewise.
1479 (getgroups): Likewise.
1480
48eb7a94
JM
1481 [BZ #14138]
1482 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
1483 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
1484 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1485 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1486 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
1487 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
1488 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
1489 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
1490 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
1491 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
1492 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
1493 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
1494 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
1495 __chown.
1496 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
1497 (lchown): Likewise.
1498 (fchown): Likewise.
1499 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
1500 Likewise.
1501 (lchown): Likewise.
1502 (fchown): Likewise.
1503 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
1504 (lchown): Likewise.
1505 (fchown): Likewise.
1506 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
1507 Likewise.
1508 (lchown): Likewise.
1509 (fchown): Likewise.
1510
ea9a7c8b
WD
15112014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1512
1513 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
1514 Simplify logic.
1515
e226de33
WD
15162014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1517
1518 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1519 Cleanup logic.
1520
6e3d8ed3
WD
15212014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1522
1523 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1524 Remove unused include.
1525
eb04247d
WD
15262014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1527
1528 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
1529 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
1530 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
1531 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
1532
13d84554
CD
15332014-10-23 Carlos O'Donell <carlos@systemhalted.org>
1534 Helge Deller <deller@gmx.de>
1535
1536 [BZ #17508]
1537 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
1538 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
1539 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
1540
15f9c5df
JM
15412014-10-23 Joseph Myers <joseph@codesourcery.com>
1542
1543 [BZ #14132]
1544 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
1545 Remove macro definition.
1546 (__ashrdi3_v_glibc20): Likewise.
1547 (__lshrdi3_v_glibc20): Likewise.
1548 (__cmpdi2_v_glibc20): Likewise.
1549 (__ucmpdi2_v_glibc20): Likewise.
1550 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
1551 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1552 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1553 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1554 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1555 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
1556
c6dfed24
RM
15572014-10-22 Roland McGrath <roland@hack.frob.com>
1558
1559 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
1560 old GNU extension [0] syntax.
1561 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
1562 alloca rather than an array member with variable length.
1563 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1564 * nscd/nscd.c (invalidate_db): New function, broken out of ...
1565 (parse_opt): ... here. Likewise use alloca there.
1566 Validate the -i argument before checking for rootness.
1567 (send_shutdown): New function, broken out of ...
1568 (parse_opt): ... here.
1569
8c2b1ed8
RM
15702014-10-22 Roland McGrath <roland@hack.frob.com>
1571
1572 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
1573 macro to get at the _rt_local_ro field.
1574 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
1575 ([PIC] case) or _dl_hwcap ([!PIC] case).
1576 * sysdeps/arm/setjmp.S: Likewise.
1577
1578 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
1579 * sysdeps/arm/configure.ac: New check to define it.
1580 * sysdeps/arm/configure: Regenerated.
1581 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
1582 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
1583 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
1584 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
1585 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
1586 Use move/movt pair instead of a load.
1587 (LDST_GLOBAL): Macro removed.
1588 (LDR_GLOBAL): New macro replaces it.
1589 (LDR_HIDDEN): New macro.
1590 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
1591 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
1592
1593 * setjmp/tst-setjmp-static.c: New file.
1594 * setjmp/Makefile (tests): Add it.
1595 (tests-static): New variable.
1596
b5af9297
MR
15972014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
1598
1599 [BZ #17485]
1600 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
1601
a13d0d74
JM
16022014-10-21 Joseph Myers <joseph@codesourcery.com>
1603
1604 [BZ #14132]
1605 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
1606
f05e73f6
RM
16072014-10-21 Roland McGrath <roland@hack.frob.com>
1608
1609 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
1610
6ab1d1ea
RM
16112014-10-20 Roland McGrath <roland@hack.frob.com>
1612
1613 * io/fts.c (dirent_not_directory): New function.
1614 (fts_build): Call it.
1615
ab49e763
RM
16162014-10-20 Roland McGrath <roland@hack.frob.com>
1617
e436eb79
RM
1618 * nptl/version.c (__nptl_main): Use normal __write rather than
1619 INTERNAL_SYSCALL.
1620 (banner): Update copyright years.
1621
6af246cf
RM
1622 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
1623 gettimeofday.
1624 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1625 * nptl/pthread_cond_timedwait.c: Likewise.
1626 * nptl/pthread_mutex_timedlock.c: Likewise.
1627 * nptl/sem_timedwait.c: Likewise.
1628
ab49e763
RM
1629 * sysdeps/nptl/bits/libc-lock.h
1630 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1631 (__libc_lock_init_recursive): Return void, not 0.
1632 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
1633 (__libc_rwlock_init): Likewise.
1634 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
1635
f50277c1
TR
16362014-10-20 Torvald Riegel <triegel@redhat.com>
1637
1638 [BZ #15215]
1639 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
1640 (__pthread_once_slow): ... here.
1641 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
1642 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
1643
63668b70
TR
16442014-10-20 Torvald Riegel <triegel@redhat.com>
1645
1646 [BZ #15215]
1647 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
1648 __PTHREAD_ONCE_FORK_GEN_INCR): New.
1649 * sysdeps/nptl/fork.c (__libc_fork): Use them.
1650 * nptl/pthread_once.c (__pthread_once): Likewise.
1651 Update comments.
1652
42b7f5d4
JM
16532014-10-20 Joseph Myers <joseph@codesourcery.com>
1654
1655 [BZ #14138]
1656 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
1657 name.
1658 (writev): Use __libc_writev as strong name.
1659 * sysdeps/unix/sysv/linux/readv.c: Remove file.
1660 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1661
b0643088
RM
16622014-10-17 Roland McGrath <roland@hack.frob.com>
1663
114c4e09
RM
1664 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
1665
674b8978
RM
1666 * sysdeps/i386/nptl/tls.h
1667 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
1668 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
1669 New macros.
1670 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
1671 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
1672 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
1673 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
1674 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
1675 Call CHECK_THREAD_SYSINFO instead of doing an assert.
1676
184ee940
RM
1677 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1678 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
1679 on [__NR_futex].
1680 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
1681 broken out of ...
1682 (__pthread_mutex_init): ... here. Call it.
1683 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
1684 Conditionalize PI cases on [__NR_futex].
1685 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1686 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1687 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1688
327ae257
RM
1689 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
1690 conditional on [SIGSETXID].
1691 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
1692 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
1693 is defined. Likewise for SIGSETXID.
1694 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
1695 Conditionalize definitions on [SIGSETXID].
1696 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
1697 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
1698 unblocking on [SIGCANCEL].
1699
b0643088
RM
1700 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
1701 [__NR_set_robust_list].
1702
33cc770b
SP
17032014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1704
1705 * string/strcoll_l.c (get_next_seq): Fix up formatting.
1706 (do_compare): Likewise.
1707
0742aef6
LH
17082014-10-17 Leonhard Holz <leonhard.holz@web.de>
1709
1710 [BZ #15884]
1711 * string/strcoll_l.c: Don't include stdio.h.
1712 (coll_seq): Remove members idxarr and rulearr.
1713 (get_next_seq_cached): Remove function.
1714 (get_next_seq): Likewise.
1715 (get_next_seq_nocache): Rename to get_next_seq.
1716 (do_compare): Remove function.
1717 (do_compare_nocache): Rename to do_compare.
1718 (STRCOLL): Remove weight and rules cache.
1719
ee54ce44
RM
17202014-10-16 Roland McGrath <roland@hack.frob.com>
1721
1722 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
1723 * sysdeps/arm/sfp-machine.h: ... to here.
1724 * sysdeps/arm/Implies: Remove arm/soft-fp.
1725
a75d3b02
JM
17262014-10-14 Joseph Myers <joseph@codesourcery.com>
1727
1728 * conform/data/sys/utsname.h-data (*_t): Allow.
1729 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
1730 [POSIX] (WEXITED): Do not expect constant.
1731 [POSIX] (WSTOPPED): Likewise.
1732 [POSIX] (WNOHANG): Likewise.
1733 [POSIX] (WNOWAIT): Likewise.
1734 [POSIX] (siginfo_t): Do not expect type or elements.
1735 [POSIX] (pid_t): Do not expect type.
1736 [POSIX] (signal.h): Do not allow header.
1737 [POSIX] (sys/resource.h): Likewise.
1738 [POSIX] (si_*): Do not allow pattern.
1739 [POSIX] (W*): Likewise.
1740 [POSIX] (P_*): Likewise.
1741 [POSIX] (BUS_*): Likewise.
1742 [POSIX] (CLD_*): Likewise.
1743 [POSIX] (FPE_*): Likewise.
1744 [POSIX] (ILL_*): Likewise.
1745 [POSIX] (POLL_*): Likewise.
1746 [POSIX] (SEGV_*): Likewise.
1747 [POSIX] (SI_*): Likewise.
1748 [POSIX] (TRAP_*): Likewise.
1749 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
1750 variable.
1751
fda389c8
SP
17522014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1753
1754 [BZ #12926]
1755 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
1756 infinite loop when __recvmsg returns 0.
1757
6bc6bd3b
JM
17582014-10-10 Joseph Myers <joseph@codesourcery.com>
1759
fcb32af1
JM
1760 * CANCEL-FCT-WAIVE: Remove file.
1761 * CANCEL-FILE-WAIVE: Likewise.
1762
6bc6bd3b
JM
1763 [BZ #14132]
1764 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
1765 instead of INTVARDEF.
1766 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1767 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
1768 rtld_hidden_data_def instead of INTVARDEF.
1769 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1770 * elf/dl-deps.c (expand_dst): Likewise.
1771 * elf/dl-load.c (_dl_dst_count): Likewise.
1772 (_dl_dst_substitute): Likewise.
1773 (decompose_rpath): Likewise.
1774 (_dl_init_paths): Likewise.
1775 (open_path): Likewise.
1776 (_dl_map_object): Likewise.
1777 * elf/rtld.c (dl_main): Likewise.
1778 (process_dl_audit): Likewise.
1779 (process_envvars): Likewise.
1780 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
1781 Remove declaration.
1782 (__libc_enable_secure): Use rtld_hidden_proto.
1783
b8c80a7e
KS
17842014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1785
1786 * elf/dl-load.c
1787 (add_path): New function broken out of _dl_rtld_di_serinfo.
1788 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
1789
ff12c11f
JM
17902014-10-09 Joseph Myers <joseph@codesourcery.com>
1791
5c0508a3
JM
1792 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
1793 parentheses around macro arguments.
1794 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
1795 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
1796 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
1797 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
1798 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
1799 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1800 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1801 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
1802 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
1803 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
1804 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
1805 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
1806 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
1807 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
1808 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
1809 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
1810 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
1811 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
1812 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
1813 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
1814 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
1815 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
1816 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
1817 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1818 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1819 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
1820 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
1821 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
1822 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
1823 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
1824 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
1825 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
1826 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
1827 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
1828 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
1829 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
1830 Likewise.
1831 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
1832 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1833 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1834 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
1835 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
1836 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
1837 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
1838 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
1839 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
1840 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
1841 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
1842 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
1843 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
1844 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
1845 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
1846 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1847 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1848 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
1849 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
1850 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
1851 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
1852 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
1853 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
1854 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
1855 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
1856 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
1857 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
1858 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
1859 (_FP_FRAC_SRS_1): Likewise.
1860 (_FP_FRAC_CLZ_1): Likewise.
1861 (_FP_MUL_MEAT_1_imm): Likewise.
1862 (_FP_MUL_MEAT_1_wide): Likewise.
1863 (_FP_MUL_MEAT_1_hard): Likewise.
1864 (_FP_SQRT_MEAT_1): Likewise.
1865 (_FP_FRAC_ASSEMBLE_1): Likewise.
1866 (_FP_FRAC_DISASSEMBLE_1): Likewise.
1867 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
1868 (__FP_CLZ_2): Likewise.
1869 (_FP_MUL_MEAT_2_wide): Likewise.
1870 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1871 (_FP_MUL_MEAT_2_gmp): Likewise.
1872 (_FP_MUL_MEAT_2_120_240_double): Likewise.
1873 (_FP_SQRT_MEAT_2): Likewise.
1874 (_FP_FRAC_ASSEMBLE_2): Likewise.
1875 (_FP_FRAC_DISASSEMBLE_2): Likewise.
1876 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1877 (_FP_FRAC_CLZ_4): Likewise.
1878 (_FP_MUL_MEAT_4_wide): Likewise.
1879 (_FP_MUL_MEAT_4_gmp): Likewise.
1880 (_FP_SQRT_MEAT_4): Likewise.
1881 (_FP_FRAC_ASSEMBLE_4): Likewise.
1882 (_FP_FRAC_DISASSEMBLE_4): Likewise.
1883 * soft-fp/op-common.h (_FP_CMP): Likewise.
1884 (_FP_CMP_EQ): Likewise.
1885 (_FP_CMP_UNORD): Likewise.
1886 (_FP_TO_INT): Likewise.
1887 (_FP_FROM_INT): Likewise.
1888 [!__FP_CLZ] (__FP_CLZ): Likewise.
1889 (_FP_DIV_HELP_imm): Likewise.
1890 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1891 Likewise.
1892 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
1893 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
1894 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
1895 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
1896 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
1897 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1898 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1899 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
1900 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
1901 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
1902 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
1903 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
1904 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
1905 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
1906 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
1907 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
1908 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
1909 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1910 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1911 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1912 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1913 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1914 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1915 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1916 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1917 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1918 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1919 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1920 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1921 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1922 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1923 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1924 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1925 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1926 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1927 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1928 (FP_UNPACK_RAW_SP): Likewise.
1929 (FP_PACK_RAW_S): Likewise.
1930 (FP_PACK_RAW_SP): Likewise.
1931 (FP_UNPACK_S): Likewise.
1932 (FP_UNPACK_SP): Likewise.
1933 (FP_UNPACK_SEMIRAW_S): Likewise.
1934 (FP_UNPACK_SEMIRAW_SP): Likewise.
1935 (FP_PACK_S): Likewise.
1936 (FP_PACK_SP): Likewise.
1937 (FP_PACK_SEMIRAW_S): Likewise.
1938 (FP_PACK_SEMIRAW_SP): Likewise.
1939 (_FP_SQRT_MEAT_S): Likewise.
1940 (FP_CMP_S): Likewise.
1941 (FP_CMP_EQ_S): Likewise.
1942 (FP_CMP_UNORD_S): Likewise.
1943 (FP_TO_INT_S): Likewise.
1944 (FP_FROM_INT_S): Likewise.
1945
a736ec37
JM
1946 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1947
ff12c11f
JM
1948 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1949 (FP_EX_INVALID_IMZ): Likewise.
1950 (FP_EX_INVALID_IMZ_FMA): Likewise.
1951 (FP_EX_INVALID_ISI): Likewise.
1952 (FP_EX_INVALID_ZDZ): Likewise.
1953 (FP_EX_INVALID_IDI): Likewise.
1954 (FP_EX_INVALID_SQRT): Likewise.
1955 (FP_EX_INVALID_CVI): Likewise.
1956 (FP_EX_INVALID_VC): Likewise.
1957 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1958 "invalid" exceptions.
1959 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1960 (_FP_ADD_INTERNAL): Likewise.
1961 (_FP_MUL): Likewise.
1962 (_FP_FMA): Likewise.
1963 (_FP_DIV): Likewise.
1964 (_FP_CMP_CHECK_NAN): Likewise.
1965 (_FP_SQRT): Likewise.
1966 (_FP_TO_INT): Likewise.
1967 (FP_EXTEND): Likewise.
1968
b6dcfe8c
AM
19692014-10-09 Allan McRae <allan@archlinux.org>
1970
1971 * po/fr.po: Update French translation from translation project.
1972
2d6a47ba
JM
19732014-10-09 Joseph Myers <joseph@codesourcery.com>
1974
cb831245
JM
1975 [BZ #14132]
1976 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
1977 of INTDEF.
1978 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
1979 (__cxa_atexit): Use libc_hidden_proto.
1980 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
1981
5deeb190
JM
1982 [BZ #14132]
1983 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
1984 declaration.
1985 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
1986 [!_ISOMAC] (__iswspace_l_internal): Likewise.
1987 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
1988 [!_ISOMAC] (__iswctype_internal): Likewise.
1989 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
1990 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
1991 alias.
1992 (fcntl): Remove __fcntl_internal alias.
1993 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
1994 __connect_internal alias.
1995 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
1996 Likewise.
1997
454ac701
JM
1998 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
1999 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
2000 FP_DENORM_ZERO.
2001 (_FP_CHECK_FLUSH_ZERO): New macro.
2002 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
2003 (_FP_CMP): Likewise.
2004 (_FP_CMP_EQ): Likewise.
2005 (_FP_TO_INT): Do not set inexact for subnormal arguments if
2006 FP_DENORM_ZERO.
2007 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
2008 (FP_TRUNC): Likewise.
2009
0022e688
JM
2010 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
2011 treated as invalid conversion, not as normal exponent.
2012
73e28d9c
JM
2013 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
2014 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
2015 (_FP_CMP_EQ): Likewise.
2016 (_FP_CMP_UNORD): Likewise.
2017 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
2018 (FP_CMP_EQ_D): Likewise.
2019 (FP_CMP_UNORD_D): Likewise.
2020 * soft-fp/extended.h (FP_CMP_E): Likewise.
2021 (FP_CMP_EQ_E): Likewise.
2022 (FP_CMP_UNORD_E): Likewise.
2023 * soft-fp/quad.h (FP_CMP_Q): Likewise.
2024 (FP_CMP_EQ_Q): Likewise.
2025 (FP_CMP_UNORD_Q): Likewise.
2026 * soft-fp/single.h (FP_CMP_S): Likewise.
2027 (FP_CMP_EQ_S): Likewise.
2028 (FP_CMP_UNORD_S): Likewise.
2029 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
2030 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
2031 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
2032 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
2033 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
2034 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
2035 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
2036 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
2037 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
2038 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
2039 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
2040 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
2041 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
2042 to FP_CMP_Q.
2043 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
2044 FP_CMP_Q.
2045 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
2046 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
2047 FP_CMP_EQ_Q.
2048 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
2049 FP_CMP_Q.
2050 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
2051 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
2052 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
2053 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
2054 FP_CMP_EQ_Q.
2055 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
2056 FP_CMP_Q.
2057 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
2058 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
2059 FP_CMP_EQ_Q.
2060 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
2061 FP_CMP_Q.
2062 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
2063 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
2064 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
2065 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
2066 FP_CMP_EQ_Q.
2067
43059f42
JM
2068 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
2069 a subnormal result, set the underflow exception if trapping on
2070 underflow is enabled.
2071 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
2072 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
2073 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
2074 redefine to 0.
2075 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
2076 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
2077 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
2078 * soft-fp/extendxftf2.c (__extendxftf2): Use
2079 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
2080
2d6a47ba
JM
2081 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
2082 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
2083 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2084 FP_HANDLE_EXCEPTIONS.
2085 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
2086 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2087 FP_HANDLE_EXCEPTIONS.
2088 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
2089 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2090 FP_HANDLE_EXCEPTIONS.
2091 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
2092 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2093 FP_HANDLE_EXCEPTIONS.
2094
620f462e
JM
20952014-10-08 Joseph Myers <joseph@codesourcery.com>
2096
2097 [BZ #14132]
2098 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
2099 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
2100 use INTUSE.
2101 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
2102 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
2103 Remove alias.
2104 (__adjtimex): Define using libc_hidden_ver.
2105 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
2106 Remove declaration.
2107 (ntp_gettime): Call __adjtimex directly.
2108 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
2109 Remove declaration.
2110 (ntp_gettimex): Call __adjtimex directly.
2111 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
2112 __adjtimex_internal alias.
2113
c763c5d2
RM
21142014-10-08 Roland McGrath <roland@hack.frob.com>
2115
2116 [BZ #17460]
2117 * nscd/nscd.c (more_help): Rewrite list of tables collection
2118 using xstrdup and asprintf.
2119
2120 * nscd/nscd_conf.c: Remove local xstrdup declaration.
2121
7b8fb2b8
RM
21222014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2123 Roland McGrath <roland@hack.frob.com>
2124
2125 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
2126 (do_lookup_unique): ... local function 'enter' here; update callers.
2127
abb280f7
JM
21282014-10-06 Joseph Myers <joseph@codesourcery.com>
2129
f7b42517
JM
2130 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
2131 compat_symbol calls on [SHARED].
2132 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
2133 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
2134 Remove.
2135 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2136 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
2137 (oldsetrlimit): Remove.
2138 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2140 (lchown): New syscall entry.
2141 (oldsetrlimit): Remove.
2142 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2143 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
2144 (oldsetrlimit): Remove.
2145 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2146
abb280f7
JM
2147 [BZ #14138]
2148 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
2149 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
2150 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
2151 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
2152 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2153 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
2154 (fchown): Likewise.
2155 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
2156 (fchown): Likewise.
2157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
2158 Likewise.
2159
47d46237
AZ
21602014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2161
2162 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
2163 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
2164 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
2165 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
2166 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
2167 Likewise.
2168 (__old_sem_post): Likewise.
2169
21702014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 2171
845a7343
CM
2172 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
2173 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
2174 HAVE_CLOCK_GETTIME_VSYSCALL macros.
2175 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
2176 Use INLINE_VSYSCALL macro.
2177 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
2178 __vdso_clock_gettime.
2179 * sysdeps/unix/sysv/linux/tile/init-first.c
2180 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
2181 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
2182 __vdso_clock_gettime.
2183
83d641ef
CM
2184 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
2185 to set up frame more cleanly.
2186
d9cd52e6
CM
2187 * sysdeps/tile/memcmp.c: New file.
2188
4b68ea11
CM
2189 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
2190
c86f7b80
CM
2191 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
2192 * sysdeps/tile/tilegx/strcasestr.c: New file.
2193 * sysdeps/tile/tilegx/strnlen.c: New file.
2194 * sysdeps/tile/tilegx/strstr.c: New file.
2195
1c4c1a6f
CM
2196 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
2197
99d86ea3
AS
21982014-10-06 Arjun Shankar <arjun.is@lostca.se>
2199
2200 * nptl/tst-setuid3.c: Write errors to stdout.
2201
06210a44
KS
22022014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2203
2204 * elf/dl-deps.c
2205 (preload): New functions broken out of _dl_map_object_deps.
2206 (_dl_map_object_deps): Remove a nested function. Update call sites.
2207
6268f532
JM
22082014-10-01 Joseph Myers <joseph@codesourcery.com>
2209
2210 [BZ #14138]
2211 * sysdeps/unix/sysv/linux/execve.c: Remove file.
2212 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
2213
b925285f
SE
22142014-10-01 Steve Ellcey <sellcey@mips.com>
2215
2216 * sysdeps/mips/strcmp.S: New.
2217
754a15c6
JM
22182014-09-30 Joseph Myers <joseph@codesourcery.com>
2219
2220 [BZ #14138]
2221 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
2222 (linkat): Likewise.
2223 (mkdirat): Likewise.
2224 (readlinkat): Likewise.
2225 (renameat): Likewise.
2226 (symlinkat): Likewise.
2227 (unlinkat): Likewise.
2228 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
2229 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
2230 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
2231 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
2232 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
2233 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
2234 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
2235
85bb81c9
WN
22362014-09-30 Will Newton <will.newton@linaro.org>
2237
dc6fe23b
WN
2238 * math/math.h: Define long double math functions if
2239 _LIBC_TEST is defined.
2240 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
2241
85bb81c9
WN
2242 * localedata/Makefile: Move assignment to tests-special
2243 into an ifdef testing run-built-tests.
2244 * timezone/Makefile: Likewise.
2245
b7e02da4
JM
22462014-09-29 Joseph Myers <joseph@codesourcery.com>
2247
2248 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
2249 with $(BASH) not $(SHELL).
2250
62058ce6
CD
22512014-09-29 Carlos O'Donell <carlos@redhat.com>
2252 Matthew LeGendre <legendre1@llnl.gov>
2253
2254 [BZ #17411]
2255 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
2256 l_reloc_result.
2257
8e257a29
KS
22582014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2259
2260 * stdio-common/printf_fp.c
2261 (hack_digit): New function, broken out of ...
2262 (__printf_fp): ... local function here. Update call sites.
2263 hack_digit now takes an additional parameter that is a pointer
2264 to a struct of the referenced locals. Those locals moved inside
2265 the struct and references updated.
2266
f4a58f0d
L
22672014-09-29 H.J. Lu <hongjiu.lu@intel.com>
2268
2269 * aclocal.m4: Require autoconf 2.69.
2270 * configure: Regenerated.
2271 * sysdeps/aarch64/configure: Likewise.
2272 * sysdeps/alpha/configure: Likewise.
2273 * sysdeps/arm/armv7/configure: Likewise.
2274 * sysdeps/arm/configure: Likewise.
2275 * sysdeps/ia64/configure: Likewise.
2276 * sysdeps/mach/configure: Likewise.
2277 * sysdeps/mips/configure: Likewise.
2278 * sysdeps/s390/configure: Likewise.
2279 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
2280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
2281
2282 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
2283 file.
2284 * sysdeps/ia64/configure.ac: Likewise.
2285
93ae1eba
JM
22862014-09-26 Joseph Myers <joseph@codesourcery.com>
2287
1810d3ab
JM
2288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
2289 specify symbol version for ld.so. Do not include entry for
2290 libpthread.
2291 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2292 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2293 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2294
93ae1eba
JM
2295 [BZ #14171]
2296 * Makeconfig [$(build-shared) = yes]
2297 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
2298 makefiles.
2299 [$(build-shared) = yes && $(soversions.mk-done) = t]
2300 ($(common-objpfx)gnu/lib-names.h): Remove rule.
2301 [$(build-shared) = yes && $(soversions.mk-done) = t]
2302 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
2303 to Makerules.
2304 [$(build-shared) = yes && $(soversions.mk-done) = t]
2305 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
2306 here.
2307 [$(build-shared) = yes && $(soversions.mk-done) = t]
2308 (common-generated): Don't append gnu/lib-names.h and
2309 gnu/lib-names.stmp here.
2310 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
2311 (lib-names-h-abi): New variable.
2312 [$(build-shared) = yes && $(soversions.mk-done) = t]
2313 (lib-names-stmp-abi): Likewise.
2314 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2315 abi-variants] (before-compile): Append
2316 $(common-objpfx)$(lib-names-h-abi).
2317 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2318 abi-variants] (common-generated): Append gnu/lib-names.h.
2319 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2320 abi-variants] (install-others-nosubdir): Depend on
2321 $(inst_includedir)/$(lib-names-h-abi).
2322 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2323 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
2324 [$(build-shared) = yes && $(soversions.mk-done) = t]
2325 ($(common-objpfx)$(lib-names-h-abi)): New rule.
2326 [$(build-shared) = yes && $(soversions.mk-done) = t]
2327 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
2328 [$(build-shared) = yes && $(soversions.mk-done) = t]
2329 (common-generated): Append $(lib-names-h-abi) and
2330 $(lib-names-stmp-abi).
2331 * scripts/lib-names.awk: Do not handle multi being set.
2332 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
2333 Remove variable.
2334 (abi-lp64_be-ld-soname): Likewise.
2335 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
2336 Likewise.
2337 (abi-hard-ld-soname): Likewise.
2338 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
2339 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
2340 Remove variable.
2341 (abi-o32_hard-ld-soname): Likewise.
2342 (abi-o32_soft_2008-ld-soname): Likewise.
2343 (abi-o32_hard_2008-ld-soname): Likewise.
2344 (abi-n32_soft-ld-soname): Likewise.
2345 (abi-n32_hard-ld-soname): Likewise.
2346 (abi-n32_soft_2008-ld-soname): Likewise.
2347 (abi-n32_hard_2008-ld-soname): Likewise.
2348 (abi-n64_soft-ld-soname): Likewise.
2349 (abi-n64_hard-ld-soname): Likewise.
2350 (abi-n64_soft_2008-ld-soname): Likewise.
2351 (abi-n64_hard_2008-ld-soname): Likewise.
2352 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
2353 Likewise.
2354 (abi-64-v2-ld-soname): Likewise.
2355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
2356 ld.so entries.
2357 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
2358 variable.
2359 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
2360 entry.
2361 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
2362 variable.
2363 (abi-64-ld-soname): Likewise.
2364 (abi-x32-ld-soname): Likewise.
2365 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
2366 entry.
2367 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2368
68870f12
JM
23692014-09-23 Joseph Myers <joseph@codesourcery.com>
2370
2371 [BZ #14138]
2372 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
2373 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
2374 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
2375 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
2376 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
2377 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
2378 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
2379 syscall entry for GLIBC_2.2 symbol version.
2380 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
2381 Likewise.
2382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2383 (setrlimit): Likewise.
2384 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
2385 Likewise.
2386
ea58f202
WN
23872014-09-23 Will Newton <will.newton@linaro.org>
2388
2389 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
2390 _LINUX_ARM_SYSDEP_H include guard too.
2391 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
2392 define.
2393
69eb9a18
RV
23942014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2395
2396 * sysdeps/unix/sysv/linux/eventfd.c:
2397 Make first argument unsigned.
2398 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
2399 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
2400
20e5a5f7
OB
24012014-09-20 Ondřej Bílka <neleai@seznam.cz>
2402
2403 * socket/recvmmsg.c (recvmmsg): Drop const argument.
2404 * socket/sys/socket.h: Likewise
2405 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
2406
d3c827e7
AK
24072014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2408
2409 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
2410
fe1cc35a
AS
24112014-09-17 Arjun Shankar <arjun.is@lostca.se>
2412
2413 * time/tst-ftime.c: New test.
2414 * time/Makefile (tests): Add tst-ftime.
2415
4e8afe69
JM
24162014-09-17 Joseph Myers <joseph@codesourcery.com>
2417
c4fe3ea7
JM
2418 * soft-fp/extended.h: Fix comment formatting.
2419 * soft-fp/op-1.h: Likewise.
2420 * soft-fp/op-2.h: Likewise.
2421 * soft-fp/op-4.h: Likewise.
2422 * soft-fp/op-8.h: Likewise.
2423 * soft-fp/op-common.h: Likewise.
2424 * soft-fp/soft-fp.h: Likewise.
2425
4e8afe69
JM
2426 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
2427
af296fcd
JM
24282014-09-16 Joseph Myers <joseph@codesourcery.com>
2429
2430 [BZ #6652]
2431 * Makeconfig (soversions-default-setname): Remove variable.
2432 ($(common-objpfx)soversions.i): Don't pass default_setname to
2433 soversions.awk.
2434 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
2435 oldest_abi to abi-versions.awk.
2436 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
2437 * config.make.in (oldest-abi): Remove variable.
2438 * configure.ac (--enable-oldest-abi): Remove configure option.
2439 * configure: Regenerated.
2440 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
2441 text.
2442 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
2443 * scripts/soversions.awk: Do not handle default_setname variable.
2444 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
2445 variable.
2446 * sysdeps/mach/hurd/configure: Regenerated.
2447 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
2448 variable.
2449 * sysdeps/unix/sysv/linux/configure: Regenerated.
2450
545583d6
SP
24512014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2452
d330b980
SP
2453 * elf/Makefile (CFLAGS-interp.c): Remove.
2454 ($(elf-objpfx)runtime-linker.h): Generate header with linker
2455 path string.
2456 * elf/interp.c: Include generated runtime-linker.h
2457
02657da2
SP
2458 * Makerules (lib%.so): Don't include $(+interp) in
2459 prerequisites.
2460 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
2461 * dlfcn/eval.c: Remove file.
2462
653b1080
SP
2463 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
2464 macros.
2465
602f80ec
SP
2466 [BZ #17266]
2467 * misc/sys/cdefs.h: Define __extern_always_inline for clang
2468 4.2 and newer.
2469
545583d6
SP
2470 [BZ #17370]
2471 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
2472
884ddc50
SP
24732014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2474 Jakub Jelinek <jakub@redhat.com>
2475
2476 [BZ #17266]
2477 * libio/stdio.h: Check definition of __fortify_function
2478 instead of __extern_always_inline to include bits/stdio2.h.
2479 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
2480 check if __extern_always_inline is defined.
2481 [__USE_MISC || __USE_XOPEN]: Likewise.
2482 [__USE_ISOC99] Likewise.
2483 * misc/sys/cdefs.h (__fortify_function): Define only if
2484 __extern_always_inline is defined.
2485 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
2486 __extern_always_inline and __extern_inline only for g++-4.3
2487 and newer or a compatible gcc.
2488
a7b87268
AS
24892014-09-15 Andreas Schwab <schwab@linux-m68k.org>
2490
2491 [BZ #17371]
2492 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2493 last change to handle zero prefix length.
2494
3f41521d
SP
24952014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2496
61fe374a
SP
2497 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
2498 _SC_REGEX_VERSION.
2499
3f41521d
SP
2500 * posix/getconf.c (vars): Add _POSIX_IPV6 and
2501 _POSIX_RAW_SOCKETS.
2502
d8f879ee
AM
25032014-09-13 Allan McRae <allan@archlinux.org>
2504
2505 * po/ru.po: Update Russian translation from translation project.
2506
c079afb7
RM
25072014-09-12 Roland McGrath <roland@hack.frob.com>
2508
a62b3c15
RM
2509 * locale/programs/locale.c (show_locale_vars): Inline local function
2510 into its sole call site. Clean up some style nits.
2511 (print_item): New function, broken out of ...
2512 (show_info): ... local function here. Clean up style nits.
2513
d7e49b19
RM
2514 * locale/programs/ld-ctype.c (set_one_default): New function, broken
2515 out of ...
2516 (set_class_defaults): ... local function set_default here.
2517 Define set_default as a macro locally to pass constant parameters.
2518 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
2519 rather than a shared local.
2520
c079afb7
RM
2521 * stdlib/rpmatch.c (try): New function, broken out of ...
2522 (rpmatch): ... local function here. Also, prototypify definition.
2523
0bd72468
JM
25242014-09-12 Joseph Myers <joseph@codesourcery.com>
2525
ba90e050
JM
2526 * scripts/soversions.awk: Do not handle configuration names.
2527 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
2528 vendor and os variables to soversions.awk.
2529 * configure.ac: Do not modify gnu-* host_os.
2530 * configure: Regenerated
2531 * shlib-versions: Remove first column with configuration names.
2532 * nptl/shlib-versions: Likewise.
2533 * nptl_db/shlib-versions: Likewise.
2534 * sysdeps/hppa/shlib-versions: Likewise.
2535 * sysdeps/m68k/shlib-versions: Likewise.
2536 * sysdeps/mach/hurd/shlib-versions: Likewise.
2537 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
2538 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
2539 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
2540 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
2541 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
2542 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
2543 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
2544 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
2545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2546 Likewise.
2547 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2548 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2549 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2550 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2551 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2552 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
2553 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2554 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2555
73a39112
JM
2556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2557 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
2558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2559 Regenerated.
2560 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
2561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2562 Condition symbol version definitions on [HAVE_ELFV2_ABI].
2563
c729e7c1
JM
2564 * shlib-versions: Remove OS-specific entries. Moved to files in
2565 sysdeps.
2566 * sysdeps/mach/hurd/shlib-versions: New file.
2567 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2568
dc932a24
JM
2569 * nptl/shlib-versions: Remove architecture-specific entries.
2570 Moved to files in sysdeps.
2571 * shlib-versions: Likewise.
2572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
2573 file.
2574 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2575 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2576 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2577 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2578
0bd72468
JM
2579 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
2580 (UDP_NO_CHECK6_RX): Likewise.
2581
920238e0
SP
25822014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2583
2584 * sysdeps/posix/sysconf.c (__sysconf): Spell
2585 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
2586
ba7b4d29
FW
25872014-08-12 Florian Weimer <fweimer@redhat.com>
2588
2589 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
2590 loading.
2591 * iconv/Versions (__gconv_transliterate): Export for use from
2592 gconv modules.
2593 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
2594 (struct __gconv_trans_data, __gconv_trans_fct,
2595 __gconv_trans_context_fct, __gconv_trans_query_fct,
2596 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
2597 definitions.
2598 (struct __gconv_step_data): Remove __trans member.
2599 (__gconv_transliterate): Declaration moved from gconv_int.h. No
2600 longer hidden. Remove unused trans_data argument.
2601 * iconv/gconv_int.h (struct trans_struct): Remove definition.
2602 (__gconv_translit_find): Remove declaration.
2603 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
2604 prototype.
2605 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
2606 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
2607 trans_data argument. Add hidden definition.
2608 (__gconv_translit_find): Remove.
2609 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
2610 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
2611 * iconv/skeleton.c: Remove transliteration initialization.
2612 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
2613 __gconv_step_data initialization.
2614 * libio/iofwide.c (__libio_translit_): Remove.
2615 (_IO_fwide): Adjust struct __gconv_step_data initialization.
2616 * wcsmbs/btowc.c (__btowc): Likewise.
2617 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2618 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
2619 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
2620 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
2621 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
2622 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
2623 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
2624 * wcsmbs/wctob.c (wctob): Likewise.
2625
5379aebd
SP
26262014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2627
2628 [BZ #16194]
2629 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
2630 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
2631 register usage.
2632 * sysdeps/x86/Makefile: Adjust.
2633
8c0ab919
RM
26342014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2635 Roland McGrath <roland@hack.frob.com>
2636
2637 * locale/weight.h: Add include guard.
2638 (findidx): Make static rather than auto; take new parameters
2639 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
2640 * locale/weightwc.h: Likewise.
2641 * posix/fnmatch_loop.c
2642 (FCT): Change type of EXTRA from int32_t to wint_t.
2643 Don't include either header inside the function.
2644 Call FINDIDX rather than findidx, and pass new arguments.
2645 #undef FINDIDX at the end of the file.
2646 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
2647 FINDIDX before including fnmatch_loop.c for the non-wide version.
2648 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
2649 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
2650 for the wide version.
2651 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
2652 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
2653 Pass new arguments to findidx.
2654 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
2655 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
2656 Don't #include it inside the function. Pass new arguments to findidx.
2657 * posix/regex_internal.h
2658 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
2659 (re_string_elem_size_at): Don't #include it inside the function.
2660 Pass new arguments to findidx.
2661 * string/strcoll_l.c: #include WEIGHT_H at top level.
2662 (get_next_seq): Don't #include it inside the function.
2663 Pass new arguments to findidx.
2664 (get_next_seq_nocache): Likewise.
2665 * string/strxfrm_l.c: #include WEIGHT_H at top level.
2666 (STRXFRM): Don't #include it inside the function.
2667 Pass new arguments to findidx.
2668
52ffbdf2
FW
26692014-09-11 Florian Weimer <fweimer@redhat.com>
2670
2671 [BZ #17344]
2672 * malloc/malloc.c (unlink): Turn asserts into a call to
2673 malloc_printerr.
2674
984c0ea9
TL
26752014-09-11 Tim Lammens <tim.lammens@gmail.com>
2676
2677 [BZ #17370]
2678 * libio/wfileops (do_ftell_wide): Free OUT.
2679
3daee107
CM
26802014-09-10 Chris Metcalf <cmetcalf@tilera.com>
2681
2682 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
2683
58b930ae
SP
26842014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2685
2686 [BZ #17363]
2687 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
2688 group if the current group is empty.
2689
3b473fec
AZ
26902014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2691
71ae8647
AZ
2692 * benchtests/bench-memset.c (test_main): Add more test from size
2693 from 32 to 512 bytes.
2694 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2695 Add POWER8 memset object.
2696 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2697 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
2698 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
2699 implementation.
2700 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
2701 Likewise.
2702 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
2703 multiarch POWER8 memset optimization.
2704 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
2705 POWER8 memset optimization.
2706
3b473fec
AZ
2707 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2708 Remove bzero multiarch objects.
2709 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
2710 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
2711 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
2712 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
2713 Remove define.
2714 [__bzero]: Redefine to specific name.
2715 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
2716 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
2717 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
2718 define.
2719 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2720 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2721
e6fb9587
FW
27222014-09-10 Florian Weimer <fweimer@redhat.com>
2723
2724 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
2725 warnings into errors.
2726
2727 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
2728 __cxa_thread_atexit_impl prototype.
2729
9d3a350b
SE
27302014-09-09 Steve Ellcey <sellcey@mips.com>
2731
2732 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
2733 Fix capitalization of error message.
2734
0febba23
SE
27352014-09-09 Steve Ellcey <sellcey@mips.com>
2736
2737 * sysdeps/mips/preconfigure: Modify ABI tests.
2738
645a0e9c
CD
27392014-09-07 Carlos O'Donell <carlos@systemhalted.org>
2740
2741 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
2742
d83f0734
CD
27432014-09-07 Roland McGrath <roland@hack.frob.com>
2744 Carlos O'Donell <carlos@systemhalted.org>
2745
2746 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
2747 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
2748 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
2749 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
2750 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
2751 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
2752 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
2753 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
2754 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
2755 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
2756 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
2757 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
2758 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
2759 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
2760 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
2761 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
2762 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
2763 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
2764 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
2765 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
2766 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
2767 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
2768 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
2769 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
2770 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
2771 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
2772 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
2773 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
2774 Deconditionalize the code that was previously under [RESET_PID].
2775 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
2776 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
2777 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
2778 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
2779 include sysdep.h.
2780
21c83793
AM
27812014-09-08 Allan McRae <allan@archlinux.org>
2782
2783 * version.h (RELEASE): Set to "development".
2784 (VERSION): Set to "2.20.90"
2785
1cd9b65c
AM
27862014-09-07 Allan McRae <allan@archlinux.org
2787
b8079dd0
AM
2788 * version.h (RELEASE): Set to "stable".
2789 (VERSION): Set to "2.20"
2790 * include/features.h (__GLIBC_MINOR__): Set to 20.
2791
c46303ef
AM
2792 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
2793 Liebler.
2794
1cd9b65c
AM
2795 * po/ko.po: Update Korean translation from translation project.
2796
8622092d
CM
27972014-09-06 Chris Metcalf <cmetcalf@tilera.com>
2798
2799 [BZ #17354]
2800 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
2801 macro for handling signed relocations.
2802
41488498
FW
28032014-09-03 Florian Weimer <fweimer@redhat.com>
2804
2805 [BZ #17325]
2806 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
2807 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
2808 assert.
2809 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
2810 * iconvdata/ibm935.c (BODY): Likewise.
2811 * iconvdata/ibm937.c (BODY): Likewise.
2812 * iconvdata/ibm939.c (BODY): Likewise.
2813 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
2814 assert.
2815 * iconvdata/Makefile (iconv-test.out): Pass module list to test
2816 script.
2817 * iconvdata/run-iconv-test.sh: New test loop for checking for
2818 decoder crashers.
2819
a78b712d
KR
28202014-09-02 Khem Raj <raj.khem@gmail.com>
2821
2822 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
2823 libm_hidden_ver.
2824
cb08abc6
AM
28252014-09-01 Allan McRae <allan@archlinux.org>
2826
2c31e102
AM
2827 * po/eo.po: Update Esperanto translation from translation project.
2828
cb08abc6
AM
2829 * po/ca.po: Update Catalan translation from translation project.
2830
17a62de1
ST
28312014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
2832
2833 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
2834 __proc_dostop call.
2835
9570bc53
MW
28362014-08-27 Mark Wielaard <mjw@redhat.com>
2837
2838 [BZ #17319]
2839 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
2840 to call set_thread_area instead of hand written asm.
2841 (__NR_set_thread_area): Removed define.
2842 (TLS_FLAG_WRITABLE): Likewise.
2843 (__ASSUME_SET_THREAD_AREA): Remove check.
2844 (TLS_EBX_ARG): Remove define.
2845 (TLS_LOAD_EBX): Likewise.
2846
b0f955c9
ST
28472014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2848
2849 Simplify atomicity of socket creation in bind.
2850
2851 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
2852 looking up the name after linking the file.
2853
529bf515
AM
28542014-08-27 Allan McRae <allan@archlinux.org>
2855
2856 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2857
a1a6a401
FW
28582014-08-26 Florian Weimer <fweimer@redhat.com>
2859
2860 [BZ #17187]
2861 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
2862 trans_compare, open_translit, __gconv_translit_find):
2863 Remove module loading code.
2864
686ab290
AM
28652014-08-26 Allan McRae <allan@archlinux.org>
2866
e4e7cfd2
AM
2867 * po/vi.po: Update Vietnamese translation from translation project.
2868
6aa09f71
AM
2869 * po/uk.po: Update Ukrainian translation from translation project.
2870
edc0660e
AM
2871 * po/fr.po: Update French translation from translation project.
2872
7eea72ac
AM
2873 * po/ru.po: Update Russian translation from translation project.
2874
93c49eff
AM
2875 * po/pl.po: Update Polish translation from translation project.
2876
46acaf63
AM
2877 * po/cs.po: Update Czech translation from translation project.
2878
a9f5ce98
AM
2879 * po/de.po: Update German translation from translation project.
2880
373f2b78
AM
2881 * po/bg.po: Update Bulgarian translation from translation project.
2882
e7548bd8
AM
2883 * po/sv.po: Update Sweedish translation from translation project.
2884
c526bf4d
AM
2885 * po/nl.po: Update Dutch translation from translation project.
2886
686ab290
AM
2887 * po/es.po: Update Spanish translation from translation project.
2888
eb72478a
SP
28892014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2890
dd763fdb
SP
2891 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2892
318c7a58
SP
2893 * catgets/Makefile (CPPFLAGS-gencat): Remove.
2894 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2895 (CPPFLAGS-iconvconfig): Likewise.
2896 * timezone/Makefile (CPPFLAGS-zic): Likewise.
2897
eb72478a
SP
2898 * include/libc-symbols.h: Remove unnecessary check for
2899 NOT_IN_libc.
2900 * nptl/pthreadP.h: Likewise.
2901 * sysdeps/aarch64/setjmp.S: Likewise.
2902 * sysdeps/alpha/setjmp.S: Likewise.
2903 * sysdeps/arm/sysdep.h: Likewise.
2904 * sysdeps/i386/setjmp.S: Likewise.
2905 * sysdeps/m68k/setjmp.c: Likewise.
2906 * sysdeps/posix/getcwd.c: Likewise.
2907 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2908 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2909 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2910 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2911 * sysdeps/sh/sh3/setjmp.S: Likewise.
2912 * sysdeps/sh/sh4/setjmp.S: Likewise.
2913 * sysdeps/unix/alpha/sysdep.h: Likewise.
2914 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2915 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2916 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2917 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2920 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2921 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2922 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2923 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2924 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2925 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2926 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2927 * sysdeps/x86_64/setjmp.S: Likewise.
2928
d44a052c
JM
29292014-08-13 Joseph Myers <joseph@codesourcery.com>
2930
2931 [BZ #17263]
2932 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2933 <stdint.h>.
2934 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2935 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2936
508ce3ac
SP
29372014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2938
e44c8b0e
SP
2939 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2940
508ce3ac
SP
2941 [BZ #17262]
2942 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2943 and __x86_64__ when disabling x87 inline functions.
2944
b4acef1f
L
29452014-08-12 H.J. Lu <hongjiu.lu@intel.com>
2946
2947 [BZ #17259]
2948 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2949 asm statement with __cpuid_count.
2950
61b1ef6e
MF
29512014-08-12 Mike Frysinger <vapier@gentoo.org>
2952
2953 * configure.ac: Change __ehdr_start code to dereference the struct.
2954 Run readelf on the output to look for relocations.
2955 * configure: Regenerated.
2956
898c62f4
JM
29572014-08-12 Joseph Myers <joseph@codesourcery.com>
2958
2959 [BZ #17261]
2960 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2961 value to 0.
2962 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
2963
9a8a5720
RM
29642014-08-12 Roland McGrath <roland@hack.frob.com>
2965
2966 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
2967
4e75751c
BO
29682014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
2969
2970 [BZ #16892]
2971 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
2972 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
2973
bb2ce416
SA
29742014-08-12 Sean Anderson <seanga2@gmail.com>
2975
2976 * malloc/malloc.c: Fix typo in comment.
2977
7950a4ee
AM
29782014-08-09 Allan McRae <allan@archlinux.org>
2979
2980 * Regenerate libc.po.
2981
f469c49f
MF
29822014-08-08 Mike Frysinger <vapier@gentoo.org>
2983
2984 * intl/tst-gettext2.sh: Check every lang file for creation.
2985
656b84c2
WD
29862014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2987
2988 * sysdeps/aarch64/fpu/math_private.h
2989 (libc_feholdsetround_noex_aarch64_ctx): New function.
2990
538e9e45
W
29912014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2992
2993 * sysdeps/arm/armv6/strcpy.S (strcpy):
2994 Fix performance issue in misaligned cases.
2995
d4795e4a
AZ
29962014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2997
2998 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
2999 Move definition from termios.h.
3000 (struct termio): Likewise.
3001 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3002 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
3003 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
3004 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
3005 Likewise.
3006 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
3007 Move definition to ioctl-types.h
3008 (struct termio): Likewise.
3009 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3010 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
3011 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
3012 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
3013 Likewise.
3014
64accb62
RH
30152014-08-05 Richard Henderson <rth@redhat.com>
3016
27bb6dc0
RH
3017 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
3018 exceptions.
3019 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
3020 Add fraiseexcpt.
3021 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
3022 Use __feraiseexcept.
3023 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
3024 Protect libm symbols with IS_IN_libm.
3025
64accb62
RH
3026 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
3027
e5292691
BO
30282014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
3029
3030 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
3031
5b4bd2d4
WN
30322014-08-04 Will Newton <will.newton@linaro.org>
3033
3034 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
3035 file.
3036
fcadaeef
MF
30372014-08-04 Mike Frysinger <vapier@gentoo.org>
3038
3039 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
3040 variants for each function.
3041
43a94c64
RM
30422014-08-04 Roland McGrath <roland@hack.frob.com>
3043
3044 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
3045 appended ...
3046 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
3047 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
3048 appended ...
3049 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
3050 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
3051 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
3052 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
3053 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
3054 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
3055 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
3056 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
3057 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
3058 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
3059 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
3060 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
3061 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
3062 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
3063 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
3064 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
3065 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
3066 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
3067 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
3068 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
3069 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
3070 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
3071 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
3072 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
3073 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
3074 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
3075 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
3076 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
3077 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
3078 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
3079 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
3080 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
3081 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
3082 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
3083 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
3084 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
3085 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
3086 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
3087 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
3088 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
3089 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
3090 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
3091 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
3092 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
3093 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
3094 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
3095 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
3096 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
3097 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
3098 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
3099 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
3100 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
3101 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
3102 Update #include.
3103 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
3104 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
3105
8f3c1fa4
RM
31062014-08-04 Roland McGrath <roland@hack.frob.com>
3107
3108 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
3109 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
3110 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
3111 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
3112 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
3113 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
3114
ca08746f
RM
31152014-08-04 Roland McGrath <roland@hack.frob.com>
3116
3117 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
3118 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
3119 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3120 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
3121
9c925ff9
RM
31222014-08-04 Roland McGrath <roland@hack.frob.com>
3123
3124 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
3125 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
3126 (__libc_vfork): Define function under this name.
3127 (__vfork): Define as an alias.
3128 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
3129 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
3130
e641054c
RM
31312014-08-04 Roland McGrath <roland@hack.frob.com>
3132
3133 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
3134 that was previously under [RESET_PID].
3135 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
3136
dacdc867
AS
31372014-08-04 Andreas Schwab <schwab@suse.de>
3138
3139 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
3140
41f725ff
MF
31412014-08-03 Mike Frysinger <vapier@gentoo.org>
3142
3143 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
3144 (main): Likewise.
3145
277cfb31
RM
31462014-08-01 Roland McGrath <roland@hack.frob.com>
3147
3148 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
3149
4896f049
RH
31502014-08-01 Richard Henderon <rth@redhat.com>
3151
3152 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
3153 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
3154 typo in exact zero test.
3155 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3156 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3157 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3158
6f64e7d7
RM
31592014-08-01 Roland McGrath <roland@hack.frob.com>
3160
3161 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
3162 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
3163 * sysdeps/arm/sysdep.h: ... here.
3164 [!__ASSEMBLER__]: Include <stdint.h>.
3165
3f3dd810
SP
31662014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3167
a476ac4b
SP
3168 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
3169 (HAVE_WCTYPE_H): Likewise.
3170 (HAVE_ISWCTYPE): Likewise.
3171 (ENABLE_NLS): Likewise.
3172 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
3173 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
3174
78dd658a
SP
3175 * posix/regex_internal.c: Check if DEBUG is defined and is
3176 set.
3177
3f3dd810
SP
3178 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
3179 (HAVE_MBSRTOWCS): Likewise.
3180 * posix/fnmatch.c: Include string.h unconditionally.
3181
95ee7fb1
SL
31822014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3183
3184 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
3185 reversal.
3186
23fe486b
RM
31872014-07-31 Roland McGrath <roland@hack.frob.com>
3188
f61a113f
RM
3189 * sysdeps/generic/safe-fatal.h: New file.
3190 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
3191 * nptl/forward.c: Include it.
3192 (__pthread_unwind): Use __safe_fatal as default action, rather
3193 than a bogus use of INTERNAL_SYSCALL that could never work.
3194
9fe7e787
RM
3195 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
3196 * configure.ac (libc_cv_builtin_trap): New test.
3197 * configure: Regenerated.
3198 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
3199 (ABORT_INSTRUCTION): Define using __builtin_trap.
3200
23fe486b
RM
3201 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
3202 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
3203 * sysdeps/nptl/nptl-signals.h: New file.
3204 * nptl/pthreadP.h: Include <nptl-signals.h>.
3205
f349489e
SL
32062014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
3207
3208 * sysdeps/s390/s390-64/utf16-utf32-z9.c
3209 (ONE_DIRECTION): Define.
3210 * sysdeps/s390/s390-64/utf8-utf16-z9.c
3211 (ONE_DIRECTION): Define.
3212 * sysdeps/s390/s390-64/utf8-utf32-z9.c
3213 (ONE_DIRECTION): Define.
3214
2f438e20
SL
32152014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
3216
3217 * sysdeps/s390/Makefile: Delete file.
3218 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
3219 * sysdeps/s390/__longjmp.c: Delete file.
3220 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
3221 Remove fields __flags and __reserved.
3222 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
3223 and add versioning.
3224 * sysdeps/s390/rtld-__longjmp.c: Delete file.
3225 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
3226 * sysdeps/s390/rtld-setjmp.S: Likewise.
3227 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
3228 * sysdeps/s390/s390-32/__longjmp.c: ... here.
3229 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
3230 * sysdeps/s390/s390-32/setjmp.S: ... here.
3231 Add versioning.
3232 (__sigsetjmp): Remove setting __flags field.
3233 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
3234 * sysdeps/s390/s390-64/__longjmp.c: ... here.
3235 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
3236 * sysdeps/s390/s390-64/setjmp.S: ... here.
3237 Add versioning.
3238 (__sigsetjmp): Remove setting __flags field.
3239 * sysdeps/s390/setjmp.S: Delete file.
3240 * sysdeps/s390/sigjmp.c: Likewise.
3241 * sysdeps/s390/v1-longjmp.c: Likewise.
3242 * sysdeps/s390/v1-setjmp.h: Likewise.
3243 * sysdeps/s390/v1-sigjmp.c: Likewise.
3244 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
3245 Remove v1-longjmp_chk.
3246 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
3247 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
3248 Include debug/longjmp_chk.c and add versioning.
3249 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
3250 Include nptl/pt-longjmp.c and add versioning.
3251 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
3252 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
3253 Include __longjmp.c.
3254 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3255 Move to ...
3256 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
3257 (__getcontext): Remove setting __flags field.
3258 Add versioning.
3259 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3260 Don't restore upper high grps.
3261 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
3262 Likewise.
3263 (__swapcontext): Remove setting uc_flags field.
3264 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
3265 Delete file.
3266 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3267 Include __longjmp.c.
3268 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3269 Move to ...
3270 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
3271 (__getcontext): Remove setting __flags field.
3272 Add versioning.
3273 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
3274 (__swapcontext): Remove setting uc_flags field.
3275 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
3276 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
3277 Remove fields uc_high_gprs and __reserved.
3278 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
3279 New file with reverted content.
3280 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
3281 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
3282 Regenerated.
3283 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
3284 Regenerated.
3285
6c9578a2
AS
32862014-07-31 Andreas Schwab <schwab@suse.de>
3287
3288 * config.h.in (HAVE_IFUNC): Define to 0.
3289 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
3290 definedness.
3291
05f3633d
LM
32922014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
3293
3294 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3295 memmove-avx-unaligned, memcpy-avx-unaligned and
3296 mempcpy-avx-unaligned.
3297 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3298 Add tests for AVX memcpy functions.
3299 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
3300 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
3301 memcpy_chk.
3302 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
3303 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
3304 memmove_chk.
3305 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
3306 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
3307 mempcpy_chk.
3308 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
3309 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
3310 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
3311
a53fbd8e
AZ
33122013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3313
3314 [BZ #17213]
3315 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
3316 powerpc64le.
3317
0961f7e1
JL
33182014-07-29 Jeff Layton <jlayton@poochiereds.net>
3319
3320 [BZ #16839]
3321 * manual/llio.texi: Add section about open file description locks.
3322 * manual/examples/ofdlocks.c: Example of open file description
3323 lock usage.
3324 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
3325 F_OFD_SETLK, and F_OFD_SETLKW.
3326
cc5fb300
AM
33272014-07-23 Allan McRae <allan@archlinux.org>
3328
3329 * po/es.po: Update Spanish translation from translation project.
3330
23329dca
AS
33312014-07-18 Andreas Schwab <schwab@linux-m68k.org>
3332
3333 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
3334
9c82da17
MR
33352014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
3336
3337 [BZ #17078]
3338 * sysdeps/arm/dl-machine.h (elf_machine_rela)
3339 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
3340 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
3341
29c4f53e
JM
33422014-07-17 Joseph Myers <joseph@codesourcery.com>
3343
831b9896
JM
3344 [BZ #17088]
3345 * math/fesetenv.c (__fesetenv)
3346 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
3347 * math/feupdateenv.c (__feupdateenv)
3348 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
3349
b21c2d50
JM
3350 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
3351 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3352 (__ASSUME_SOCKETCALL): Do not define.
3353
067764ef
JM
3354 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
3355 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
3356 (__ASSUME_SOCKETCALL): Do not define.
3357 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
3358 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3359 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3360 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3361 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3362 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
3363 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3364 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3365
642530c1
JM
3366 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
3367 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
3368 (__ASSUME_SOCKETCALL): Do not define.
3369 (__ASSUME_IPC64): Define unconditionally.
3370 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3371 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3372 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3373 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3374 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
3375 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3376 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
3377 Likewise.
3378
03f77315
JM
3379 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
3380 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
3381 (__ASSUME_SOCKETCALL): Do not define.
3382 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
3383 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3384 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3385 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3386 (__ASSUME_REQUEUE_PI): Define unconditionally.
3387 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
3388 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3389 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3390 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
3391 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3392 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3393
083b1f7c
JM
3394 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
3395 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
3396 (__ASSUME_SOCKETCALL): Do not define.
3397 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
3398 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3399 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3400 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
3401 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3402 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3403
5be44ea6
JM
3404 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
3405 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
3406 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3407 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
3408 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3409 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
3410 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3411 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
3412 (__ASSUME_GETCPU_SYSCALL): Likewise.
3413
d95ffd4c
JM
3414 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
3415 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
3416 cases for individual architectures.
3417 * sysdeps/gnu/configure: Regenerated.
3418 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
3419 LIBC_SLIBDIR_RTLDDIR.
3420 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
3421 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
3422 LIBC_SLIBDIR_RTLDDIR.
3423 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
3424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
3425 LIBC_SLIBDIR_RTLDDIR.
3426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3427 Regenerated.
3428 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
3429 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
3430 file.
3431 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
3432 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
3433 file.
3434 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
3435 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
3436 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
3437 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
3438
29c4f53e
JM
3439 * sysdeps/aarch64/shlib-versions: Move to ...
3440 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
3441 * sysdeps/alpha/shlib-versions: Move to ...
3442 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
3443 * sysdeps/arm/shlib-versions: Move to ...
3444 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
3445 * sysdeps/hppa/shlib-versions: Move all contents except for
3446 libgcc_s entry to ...
3447 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
3448 entry from ...
3449 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
3450 * sysdeps/ia64/shlib-versions: Move to ...
3451 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
3452 entry from ...
3453 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
3454 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
3455 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
3456 * sysdeps/microblaze/shlib-versions: Move to ...
3457 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
3458 * sysdeps/mips/shlib-versions: Move to ...
3459 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
3460 entry from ...
3461 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
3462 * sysdeps/tile/shlib-versions: Move to ...
3463 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
3464 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
3465 from ...
3466 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
3467 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
3468 entry from ...
3469 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
3470
32bead5b
WN
34712014-07-17 Will Newton <will.newton@linaro.org>
3472
57977c4b
WN
3473 * sysdeps/arm/bits/atomic.h
3474 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
3475 (__arch_compare_and_exchange_bool_16_int): Likewise.
3476 (__arch_compare_and_exchange_bool_64_int): Likewise.
3477
32bead5b
WN
3478 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
3479 into an #else block.
3480
37fccd41
RM
34812014-07-16 Roland McGrath <roland@hack.frob.com>
3482
3483 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
3484 just Linux configurations. Test empirically that the compiler sets
3485 __ARM_EABI__, rather than using the tuple to decide.
3486 * sysdeps/arm/preconfigure: Regenerated.
3487 * sysdeps/unix/sysv/linux/arm/configure: File removed.
3488 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
3489 contents appended ...
3490 * sysdeps/arm/configure.ac: ... here.
3491 * sysdeps/arm/configure: Regenerated.
3492
b365f3ec
RM
34932014-07-15 Roland McGrath <roland@hack.frob.com>
3494
8badf496
RM
3495 * nptl/pthread_kill.c: New file.
3496 * nptl/pthread_sigmask.c: New file.
3497 * nptl/pthread_sigqueue.c: New file.
3498
3df6f22e
RM
3499 * sysdeps/nptl/lowlevellock.h: New file.
3500 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
3501 * sysdeps/nptl/lowlevellock-futex.h: New file.
3502
b365f3ec
RM
3503 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
3504 Remove dead declarations.
3505
f2fef657
L
35062014-07-14 H.J. Lu <hongjiu.lu@intel.com>
3507
3508 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
3509 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
3510 config-cflags-avx2.
3511 * sysdeps/x86_64/configure.ac: Likewise.
3512 * sysdeps/i386/configure: Regenerated.
3513 * sysdeps/x86_64/configure: Likewise.
3514 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3515 memset-avx2 only if config-cflags-avx2 is yes.
3516 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3517 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
3518 defined.
3519 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
3520 only if HAVE_AVX2_SUPPORT is defined.
3521 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3522
f6c44d47
AM
35232014-07-14 Alan Modra <amodra@gmail.com>
3524
3525 [BZ #17153]
3526 * elf/elf.h (DT_PPC64_NUM): Correct value.
3527 * NEWS: Add to fixed bug list.
3528
7ee03f00
JM
35292014-07-13 Jim Meyering <meyering@fb.com>
3530
3531 [BZ 17150]
3532 regex: don't deref NULL upon heap allocation failure
3533 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
3534 failure in one more place.
3535 To trigger the segfault, configure grep -with-included-regex,
3536 build it, and run these commands:
3537 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
3538
9d39d517
AS
35392014-07-13 Andreas Schwab <schwab@linux-m68k.org>
3540
3541 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3542
a75b89b7
RH
35432014-07-11 Richard Henderson <rth@redhat.com>
3544
3545 * sysdeps/aarch64/libm-test-ulps: Update.
3546
771eb141
FW
35472014-07-10 Florian Weimer <fweimer@redhat.com>
3548
3549 [BZ #17135]
3550 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
3551 * nptl/allocatestack.c (__nptl_setxid_error): New function.
3552 (__nptl_setxid): Initialize error member. Call
3553 __nptl_setxid_error.
3554 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
3555 * nptl/descr.h (struct xid_command): Add error member.
3556 * nptl/tst-setuid3.c: New file.
3557 * nptl/Makefile (tests): Add it.
3558
bc1da176
AZ
35592014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3560
3561 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
3562 New define.
3563 (__lll_trylock): Use __lll_base_trylock.
3564 (__lll_cond_trylock): Likewise.
3565
887865fc
RM
35662014-07-10 Roland McGrath <roland@hack.frob.com>
3567
c0c6bac9
RM
3568 * nptl/pthread_create.c (start_thread): Use atomic_or and
3569 lll_futex_wake directly rather than lll_robust_dead.
3570 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3571 (lll_robust_dead): Macro removed.
6a42be57 3572 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
3573 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3574 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3575 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3576 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3577 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3578 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3579 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3580 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3581 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3582 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3583 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3584 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3585 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3586 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3587
887865fc
RM
3588 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3589 Use atomic_compare_and_exchange_val_acq directly rather than
3590 lll_robust_trylock.
3591 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3592 (__lll_robust_trylock, lll_robust_trylock): Removed.
3593 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3594 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3595 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3596 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3597 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3598 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3599 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3600 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3601 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3602 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3603 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3604 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3605 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3606 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3607
58536726
FW
36082014-07-02 Florian Weimer <fweimer@redhat.com>
3609
3610 * manual/locale.texi (Locale Names): New section documenting
3611 locale name syntax. Adjust menu and node chaining accordingly.
3612 (Choosing Locale): Reference Locale Names, Locale Categories.
3613 Mention setting LC_ALL=C. Reflect that name syntax is now
3614 documented.
3615 (Locale Categories): New section title. Reference Locale Names.
3616 LC_ALL is an environment variable, but not a category.
3617 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
3618 description, now in Locale Name. Reference that section. Locale
3619 name syntax is now documented.
3620
4e8f95a0
FW
36212014-07-02 Florian Weimer <fweimer@redhat.com>
3622
3623 [BZ #17137]
3624 * locale/findlocale.c (name_present, valid_locale_name): New
3625 functions.
3626 (_nl_find_locale): Use the loc_name variable to store name
3627 candidates. Call name_present and valid_locale_name to check and
3628 validate locale names. Return an error if the locale is invalid.
3629
d1836456
FW
36302014-07-02 Florian Weimer <fweimer@redhat.com>
3631
3632 * locale/setlocale.c (setlocale): Use strdup for allocating
3633 composite name copy.
3634
d69b7f5a
SP
36352014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3636
888c679b
SP
3637 Sync up with gnulib.
3638 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
3639 [!_LIBC && ENABLE_NLS]: Include gettext.h.
3640 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
3641 and _GL_ARG_NONNULL.
3642 [USE_UNLOCKED_IO]: Include unlocked-io.h.
3643 [!_LIBC]: Include code for Windows and Cygwin.
3644 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
3645 Include prototype for int strerror_r.
3646 [!_LIBC] (is_open): New function.
3647 (flush_stdout): New function.
3648 (print_errno_message): Use it.
3649 (error): Likewise.
3650 (error_at_line): Likewise.
3651 (error_tail) Add function attribute macros. Use
3652 __builtin_expect.
3653
180e0e4b
SP
3654 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
3655
d22f1fe2
SP
3656 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
3657
12f2254b
SP
3658 * io/ftw.c: Include sys/param.h unconditionally.
3659
c3c7c360
SP
3660 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
3661
d62aa75a
SP
3662 [BZ #17125]
3663 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
3664 libc_freeres_ptr.
3665 (freecache): New function to free CACHE on exit.
3666
d69b7f5a
SP
3667 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
3668 initialization.
3669
5efe06a1
DM
36702014-07-09 David S. Miller <davem@davemloft.net>
3671
3672 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3673
7000d82e
DM
3674 * sysdeps/sparc/nptl/internaltypes.h: Delete.
3675 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
3676 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
3677 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
3678 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
3679 * sysdeps/sparc/nptl/sem_init.c: Likewise.
3680 * sysdeps/sparc/nptl/sem_post.c: Likewise.
3681 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
3682 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
3683 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
3684 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
3685 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
3686 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
3687
c213442d
AS
36882014-07-09 Andreas Schwab <schwab@suse.de>
3689
4a2552c3
AS
3690 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
3691 output.
3692 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
3693 (do_test): Likewise.
3694
c213442d
AS
3695 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3696
82374e65
WN
36972014-07-09 Will Newton <will.newton@linaro.org>
3698
3699 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
3700 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
3701 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
3702 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
3703 * sysdeps/hppa/start.S (_start): Likewise.
3704
6680738a
SP
37052014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3706
6ee3eab4
SP
3707 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
3708
6680738a
SP
3709 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
3710 defined.
3711
80b5c505
SP
37122014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3713
e35c53e3
SP
3714 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
3715 after checking that it is non-NULL.
3716
80b5c505
SP
3717 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
3718
91f4b564
AZ
37192014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3720
27b75f56
AZ
3721 * sysdeps/powerpc/memmove.c: Remove file.
3722 * sysdeps/powerpc/powerpc32/power4/memcopy.h
3723 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
3724 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3725 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
3726 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
3727 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
3728 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
3729 string memmove instead of removed powerpc one.
3730
e7f95bb5
AZ
3731 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3732 [weak_alias]: Fix compiler warning due trailing data.
3733 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
3734 [weak_alias]: Likewise.
3735 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
3736 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
3737
91f4b564
AZ
3738 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3739 (__libc_ifunc_impl_list): Add memmove functions.
3740
7c33f1e5
SP
37412014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3742
3743 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
3744 Remove code.
3745 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
3746 Likewise
3747 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
3748 Likewise
3749 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
3750 Likewise
3751 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
3752 Likewise
3753 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
3754 Likewise
3755 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
3756 Likewise
3757 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
3758 Likewise
3759 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
3760 Likewise
3761 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
3762 Likewise
3763 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
3764 Likewise
3765 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
3766 Likewise
3767 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
3768 Likewise
3769 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
3770 Likewise
3771 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
3772 Likewise
3773 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
3774 Likewise
3775 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
3776 Likewise
3777
3f17b03b
AZ
37782014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3779
87868c24
AZ
3780 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
3781 to avoid alignment traps in non-cacheable memory.
3782 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3783
07aedd78
AZ
3784 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
3785 multiarch objects.
3786 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
3787 file: multiarch power7 memmove.
3788 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
3789 multiarch default memmove.
3790 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
3791 multiarch memove for powerpc32/power4.
3792
17762f66
AZ
3793 * string/bcopy.c: Use full path to include memmove.c.
3794 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
3795 multiarch objects.
3796 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
3797 bcopy for powerpc64.
3798 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
3799 bcopy for powerpc64.
3800 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
3801 and memmove implementations.
3802 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
3803 optimized multiarch memmove for POWER7/powerpc64.
3804 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
3805 default multiarch memmove for powerpc64.
3806 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
3807 multiarch for powerpc64.
3808 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
3809 for POWER7/powerpc64.
3810 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
3811 memmove for POWER7/powerpc64.
3812
d6f68bbe
AZ
3813 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
3814 glibc default one.
3815
3f17b03b
AZ
3816 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
3817 __ELF_NATIVE_CLASS equal to 64.
3818
08192659
RM
38192014-07-07 Roland McGrath <roland@hack.frob.com>
3820
f4c4021b
RM
3821 * sysdeps/nptl/lowlevellock.h: File removed.
3822
f083450f
RM
3823 * NEWS: NPTL is no longer an add-on!
3824 * nptl/internaltypes.h: Moved ...
3825 * sysdeps/nptl/internaltypes.h: ... here.
3826 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
3827 * sysdeps/nptl/fork.c: Likewise.
3828 * sysdeps/nptl/gai_misc.h: Likewise.
3829 * sysdeps/nptl/librt-cancellation.c: Likewise.
3830 * sysdeps/nptl/jmp-unwind.c: Likewise.
3831 * sysdeps/nptl/setxid.h: Likewise.
3832 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
3833 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
3834 * sysdeps/unix/sysv/linux/arm/Implies: New file.
3835 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
3836 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
3837 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
3838 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
3839 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
3840 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
3841 * sysdeps/unix/sysv/linux/mips/Implies: New file.
3842 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
3843 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
3844 * sysdeps/unix/sysv/linux/sh/Implies: New file.
3845 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
3846 * sysdeps/unix/sysv/linux/tile/Implies: New file.
3847 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
3848 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
3849 * nptl/Makeconfig: Moved ...
3850 * sysdeps/nptl/Makeconfig: ... here.
3851 * nptl/configure: File removed.
3852 * nptl/ANNOUNCE: File removed.
3853 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
3854 * sysdeps/unix/sysv/linux/configure: Regenerated.
3855
08192659
RM
3856 * nptl/Makefile (routines): Add libc_pthread_init,
3857 libc_multiple_threads, register-atfork and unregister-atfork.
3858 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
3859 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
3860 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
3861 pthread-pi-defines.sym, structsem.sym.
3862 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
3863 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
3864 [$(subdir) = nptl] (tests): Add tst-setgetname.
3865 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
3866 * sysdeps/unix/sysv/linux/sigaction.c: Just include
3867 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
3868 [!LIBC_SIGACTION]: Remove aliases.
3869 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3870 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3871 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3872 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3873 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3874 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3875 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3876 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3877 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3878 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3879 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3880 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3881 __libc_allocate_rtsig_private.
3882 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3883 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3884 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3885 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3886 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3887 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3888 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3889 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3890 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3891 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3892 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3893 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3894 * nptl/internaltypes.h: ... here.
3895 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3896 * sysdeps/nptl/jmp-unwind.c: ... here.
3897 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3898 * nptl/libc-lowlevellock.c: ... here.
3899 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3900 * nptl/libc_multiple_threads.c: ... here.
3901 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3902 * nptl/libc_pthread_init.c: ... here.
3903 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3904 * nptl/lowlevelbarrier.sym: ... here.
3905 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3906 * nptl/lowlevelcond.sym: ... here.
3907 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3908 * nptl/lowlevellock.c: ... here.
3909 * nptl/lowlevellock.h: Moved ...
3910 * sysdeps/nptl/lowlevellock.h: ... here.
3911 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3912 * nptl/lowlevelrobustlock.c: ... here.
3913 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3914 * nptl/lowlevelrobustlock.sym: ... here.
3915 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3916 * nptl/lowlevelrwlock.sym: ... here.
3917 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3918 * nptl/pt-fork.c: ... here.
3919 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3920 * nptl/pthread-pi-defines.sym: ... here.
3921 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3922 * nptl/pthread_attr_getaffinity.c: ... here.
3923 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3924 * nptl/pthread_attr_setaffinity.c: ... here.
3925 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3926 * nptl/pthread_mutex_cond_lock.c: ... here.
3927 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3928 Update #include.
3929 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3930 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3931 * nptl/pthread_once.c: ... here, replacing old file.
3932 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3933 * nptl/pthread_yield.c: ... here.
3934 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3935 * nptl/register-atfork.c: ... here.
3936 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3937 * nptl/sem_post.c: ... here.
3938 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3939 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3940 * nptl/sem_timedwait.c: ... here.
3941 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3942 * nptl/sem_trywait.c: ... here.
3943 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3944 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3945 * nptl/sem_wait.c: ... here.
3946 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3947 * nptl/structsem.sym: ... here.
3948 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3949 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3950 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3951 * nptl/unregister-atfork.c: ... here.
3952 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3953 * nptl/unwindbuf.sym: ... here.
3954 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3955 * sysdeps/nptl/fork.c: ... here.
3956 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3957 * sysdeps/nptl/fork.h: ... here.
3958 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3959 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3960 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3961 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3962 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
3963 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
3964 * sysdeps/unix/sysv/linux/getpid.c: ... here.
3965 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
3966 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
3967 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
3968 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
3969 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
3970 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
3971 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
3972 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
3973 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
3974 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
3975 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
3976 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
3977 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
3978 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
3979 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
3980 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
3981 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
3982 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
3983 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
3984 * sysdeps/unix/sysv/linux/raise.c: ... here.
3985 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
3986 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
3987 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
3988 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
3989 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
3990 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
3991 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
3992 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
3993 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
3994 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
3995 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
3996 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
3997 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
3998 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
3999 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
4000
96baf6ff
SP
40012014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4002
4003 * sysdeps/generic/memcopy.h: Add comment for
4004 MEMCPY_OK_FOR_FWD_MEMMOVE.
4005
6b7b14b2
WN
40062014-07-04 Will Newton <will.newton@linaro.org>
4007
1570a72b
WN
4008 * string/memchr.c: Merge from gnulib.
4009 [_LIBC]: Remove conditionals.
4010 (__ptr_t): Remove define.
4011 (LONG_MAX_32_BITS): Likewise.
4012 (LONG_MAX): Likewise.
4013 (MEMCHR): Use ANSI prototype and optimize algorithm.
4014
6b7b14b2
WN
4015 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
4016
38851324
SP
40172014-07-03 Roland McGrath <roland@hack.frob.com>
4018
3d9eb57c
RM
4019 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
4020 (lll_futex_timed_wait_bitset): Fix syscall argument count.
4021
78b984ae
RM
4022 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
4023 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
4024 in a bare environment with no <stdlib.h> installed.
4025 * sysdeps/nptl/configure: Regenerated.
4026
2d5976a5
RM
4027 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
4028
c1f5acd4
RM
4029 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
4030 AC_EGREP_CPP for kernel header checks, so they only succeed if
4031 including <linux/version.h> actually works right.
4032 * sysdeps/unix/sysv/linux/configure: Regenerated.
4033
4d614fe5
RM
4034 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
4035 value so it's not diagnosed as unused.
4036
38851324
SP
4037 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
4038 thing) with "ifeq ($(subdir),rt)".
4039
b3ec00e5
RH
40402014-07-03 Richard Henderson <rth@redhat.com>
4041
69862e25
RH
4042 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
4043 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
4044 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
4045
d5e16ade
RH
4046 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
4047 (math_force_eval): New.
4048
ca7b945c
RH
4049 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
4050 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
4051
cd1175a3
RH
4052 * sysdeps/alpha/fpu/s_round.c: Remove file.
4053 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
4054
b3ec00e5
RH
4055 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
4056 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
4057 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
4058 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
4059 (_dl_start, print_statistics): Likewise.
4060 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
4061 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
4062
4063 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4064 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4065 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4066 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4067 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4068 (HP_SMALL_TIMING_AVAIL): Define.
4069 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4070 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4071 (HP_SMALL_TIMING_AVAIL): Define.
4072 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4073 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4074
4075 * sysdeps/aarch64/hp-timing.h: New file.
4076
4077 * sysdeps/generic/hp-timing.h: Remove dead comment.
4078 * sysdeps/generic/hp-timing-common.h: New file.
4079 * sysdeps/alpha/hp-timing.h: Include it.
4080 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
4081 * sysdeps/i386/i686/hp-timing.h: Likewise.
4082 * sysdeps/ia64/hp-timing.h: Likewise.
4083 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4084 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4085 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4086 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4087 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
4088 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
4089 (hp_timing_t): New.
4090
4091 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
4092 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
4093 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
4094 * elf/rtld.c (_dl_start_final): Likewise.
4095 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
4096 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4097 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4098 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4099 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4100 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4101 (HP_TIMING_DIFF_INIT): Remove.
4102 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4103 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4104 (HP_TIMING_DIFF_INIT): Remove.
4105 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4106 * sysdeps/i386/i686/hp-timing.c: Remove file.
4107 * sysdeps/x86_64/hp-timing.c: Remove file.
4108 * sysdeps/ia64/hp-timing.c: Remove file.
4109 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
4110 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
4111 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
4112 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
4113
4114 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
4115 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
4116 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
4117 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4118 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4119 (HP_TIMING_ACCUM): Remove.
4120 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4121 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
4122 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4123
4124 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
4125 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
4126 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
4127 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
4128 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
4129 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4130 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
4131 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4132
4133 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
4134
225f410f
MR
41352014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
4136
4137 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
4138
3247f285
SP
41392014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4140
4141 Sync up with gettext.
4142 * intl/loadmsgcat.c: Define O_BINARY if not defined.
4143 [_MSC_VER]: Include malloc.h
4144 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
4145 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
4146 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
4147 TEMP_FAILURE_RETRY. Cast return of alloca.
4148 [!_LIBC] Call gl_rwlock_init.
4149 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
4150
d12704c7
SP
41512014-07-02 Roland McGrath <roland@hack.frob.com>
4152
4153 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
4154 before checking its value.
4155
99f8dc92
SP
41562014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4157
05fdac77
SP
4158 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
4159
99f8dc92
SP
4160 * debug/memcpy_chk.c: Don't include pagecopy.h.
4161 * debug/mempcpy_chk.c: Likewise.
4162 * string/memcpy.c: Likewise.
4163 * string/memmove.c: Likewise.
4164 * sysdeps/powerpc/memmove.c: Likewise.
4165 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
4166 definition of PAGE_COPY_FWD_MAYBE here...
4167 * sysdeps/generic/pagecopy.h: ... from here.
4168 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
4169
bc8ea385
VR
41702014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4171 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4172
4173 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
4174 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
4175 optimizations.
4176 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4177 (__libc_ifunc_impl_list): Likewise.
4178 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
4179 multiarch strcat for PPC64.
4180 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
4181 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
4182
fe5f34e4
RM
41832014-07-02 Roland McGrath <roland@hack.frob.com>
4184
4185 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
4186
256aa665
SP
41872014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4188
d4eb8195
SP
4189 * intl/loadmsgcat.c: Remove declaration of
4190 get_sysdep_segment_value.
4191 (get_sysdep_segment_value): Use ISO C style.
4192 (_nl_load_domain): Use ISO C style. Get rid of redundant
4193 semicolon. Fix typo and formatting in comment.
4194 (_nl_unload_domain): Use ISO C style.
4195
256aa665
SP
4196 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
4197
b100f9aa
WN
41982014-07-02 Will Newton <will.newton@linaro.org>
4199
4200 * malloc/obstack.c: Merge from gnulib master.
4201 [HAVE_CONFIG_H]: Remove conditional code.
4202 [!_LIBC]: Include config.h.
4203 [!ELIDE_CODE]: Don't include inttypes.h, include
4204 stdint.h unconditionally.
4205 (print_and_abort): Mark as _Noreturn.
4206 (_obstack_allocated_p): Mark as __attribute_pure__.
4207 (obstack_free): Rename to __obstack_free.
4208 [!__attribute__]: Remove conditional code.
4209 * malloc/obstack.h: Merge from gnulib master.
4210 [__cplusplus]: Move conditional down.
4211 [!__attribute_pure__]: Define __attribute_pure__ here
4212 if it is not already defined.
4213 (_obstack_memory_used): Mark as __attribute_pure__.
4214 [!__obstack_free]: Define as obstack_free.
4215 [__GNUC__]: Remove check for ancient NeXT gcc.
4216
c4c41244
PE
42172014-07-02 Will Newton <will.newton@linaro.org>
4218 Paul Eggert <eggert@cs.ucla.edu>
4219
4220 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
4221
e1e041c4
SP
42222014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4223
4224 * resolv/gethnamaddr.c: Add comment warning that the file is
4225 not maintained.
4226
ccf431ff
CD
42272014-07-01 Carlos O'Donell <carlos@redhat.com>
4228
d34570a6
CD
4229 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
4230 entries.
4231
ccf431ff
CD
4232 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
4233 entry for aio_cancel and aio_cancel64.
4234 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
4235 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
4236 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
4237 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
4238 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
4239 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
4240 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
4241 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
4242 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
4243 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
4244 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
4245 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
4246 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
4247
ca06321d
RM
42482014-07-01 Roland McGrath <roland@hack.frob.com>
4249
4250 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
4251 * nptl/pthread_mutex_lock.c: Likewise.
4252 * nptl/pthread_mutex_timedlock.c: Likewise.
4253 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
4254
a1ac3184
RH
42552014-07-01 Richard henderson <rth@redhat.com>
4256
631021e0
RH
4257 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
4258 (__isnan, __isnanl): Remove.
4259 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
4260
a1ac3184
RH
4261 * sysdeps/alpha/fpu/libm-test-ulps: Update.
4262
0c1d731f
SL
42632014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4264
4265 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4266
76985d3e
SP
42672014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4268
4269 * resolv/nss_dns/dns-host.c (getanswer_r)
4270 [MULTI_PTRS_ARE_ALIASES]: Remove code.
4271
b0cb3096
JM
42722014-07-01 Joseph Myers <joseph@codesourcery.com>
4273
4274 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4275 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
4276 undefine.
4277 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
4278 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
4279
4d76cb39
RM
42802014-07-01 Roland McGrath <roland@hack.frob.com>
4281
4282 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
4283 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
4284
4285 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
4286 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
4287
4288 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
4289 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
4290 ... here.
4291 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
4292 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
4293
4294 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
4295 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
4296 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
4297 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
4298
4299 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
4300 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
4301 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
4302 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
4303 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
4304 Moved ...
4305 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
4306 ... here.
4307 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
4308 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
4309 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
4310 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
4311 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
4312 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
4313 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
4314 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
4315 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
4316 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
4317 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
4318 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
4319 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
4320 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
4321 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
4322 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
4323 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
4324 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
4325 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
4326 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
4327 ... here.
4328 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
4329 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
4330 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
4331 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
4332 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
4333 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
4334 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
4335 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
4336
0cdcad17
DH
43372014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
4338
4339 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
4340 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
4341 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
4342 Add sysdep.
4343
9b71d0e3
AZ
43442014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4345
4346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4347
665390c2
JM
43482014-06-30 Joseph Myers <joseph@codesourcery.com>
4349
ae05a9d7
JM
4350 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4351 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4352
a7672a2f
JM
4353 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4354
665390c2
JM
4355 * sysdeps/arm/libm-test-ulps: Regenerated.
4356
d7a05d07
MR
43572014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
4358 Roland McGrath <roland@hack.frob.com>
4359
4360 * test-skeleton.c (signal_handler): Kill the whole process group
4361 before killing the child individually.
4362 (main): Report any failure on `setpgid'.
4363
46f1d8a6
RM
43642014-06-30 Roland McGrath <roland@hack.frob.com>
4365
4366 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
4367 from _TLS_H to _ARM_NPTL_TLS_H.
4368 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
4369 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
4370
9c37ec0b
JM
43712014-06-30 Joseph Myers <joseph@codesourcery.com>
4372
ce9c5b3e
JM
4373 [BZ #16539]
4374 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
4375 (__expm1l): Return argument unchanged when small but not
4376 subnormal.
4377
3a6e9887
JM
4378 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
4379 include macro name.
4380 (_FP_UNPACK_RAW_1_P): Likewise.
4381 (_FP_PACK_RAW_1): Likewise.
4382 (_FP_PACK_RAW_1_P): Likewise.
4383 (_FP_MUL_MEAT_1_wide): Likewise.
4384 (_FP_MUL_MEAT_DW_1_hard): Likewise.
4385 (_FP_MUL_MEAT_1_hard): Likewise.
4386 (_FP_DIV_MEAT_1_imm): Likewise.
4387 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
4388 (_FP_DIV_MEAT_1_udiv): Likewise.
4389 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
4390 (_FP_UNPACK_RAW_2): Likewise.
4391 (_FP_UNPACK_RAW_2_P): Likewise.
4392 (_FP_PACK_RAW_2): Likewise.
4393 (_FP_PACK_RAW_2_P): Likewise.
4394 (_FP_MUL_MEAT_DW_2_wide): Likewise.
4395 (_FP_MUL_MEAT_2_wide): Likewise.
4396 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
4397 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4398 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
4399 (_FP_MUL_MEAT_2_gmp): Likewise.
4400 (_FP_DIV_MEAT_2_udiv): Likewise.
4401 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
4402 (_FP_FRAC_SRL_4): Likewise.
4403 (_FP_FRAC_SRST_4): Likewise.
4404 (_FP_FRAC_SRS_4): Likewise.
4405 (_FP_UNPACK_RAW_4): Likewise.
4406 (_FP_UNPACK_RAW_4_P): Likewise.
4407 (_FP_PACK_RAW_4): Likewise.
4408 (_FP_PACK_RAW_4_P): Likewise.
4409 (_FP_MUL_MEAT_DW_4_wide): Likewise.
4410 (_FP_MUL_MEAT_4_wide): Likewise.
4411 (_FP_MUL_MEAT_4_gmp): Likewise.
4412 (umul_ppppmnnn): Likewise.
4413 (_FP_DIV_MEAT_4_udiv): Likewise.
4414 (__FP_FRAC_ADD_4): Likewise.
4415 (__FP_FRAC_SUB_3): Likewise.
4416 (__FP_FRAC_SUB_4): Likewise.
4417 (__FP_FRAC_DEC_3): Likewise.
4418 (__FP_FRAC_DEC_4): Likewise.
4419 (__FP_FRAC_ADDI_4): Likewise.
4420 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
4421 (_FP_FRAC_SRL_8): Likewise.
4422 (_FP_FRAC_SRS_8): Likewise.
4423
9c37ec0b
JM
4424 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
4425 include macro name.
4426 (FP_UNPACK_RAW_EP): Likewise.
4427 (FP_PACK_RAW_E): Likewise.
4428 (FP_PACK_RAW_EP): Likewise.
4429 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
4430 (_FP_ISSIGNAN): Likewise.
4431 (_FP_ADD_INTERNAL): Likewise.
4432 (_FP_FMA): Likewise.
4433 (_FP_CMP): Likewise.
4434 (_FP_SQRT): Likewise.
4435 (_FP_TO_INT): Likewise.
4436 (_FP_FROM_INT): Likewise.
4437 (FP_EXTEND): Likewise.
4438 (_FP_DIV_MEAT_N_loop): Likewise.
4439
2125f674
MR
44402014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
4441
4442 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
4443 throughout.
4444
edea4028
JM
44452014-06-29 Joseph Myers <joseph@codesourcery.com>
4446
4447 [BZ #17097]
4448 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
4449 result with correct sign in case of exponents that produce
4450 overflow except for X very close to 1.
4451
dd0ba018
PE
44522014-06-28 Paul Eggert <eggert@cs.ucla.edu>
4453
4454 mktime: merge #if/#ifdef usage from glibc
4455 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
4456 as that works with both Glibc's and Gnulib's style.
4457 See thread starting at Siddhesh Poyarekar's bug report at:
4458 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
4459
64df73c2
SP
44602014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4461
4462 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
4463 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
4464 * sysdeps/tile/tilegx/memmove.c: Remove file.
4465
f1eafb41
JM
44662014-06-27 Joseph Myers <joseph@codesourcery.com>
4467
4468 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
4469 abi-name definition.
4470 * scripts/soversions.awk: Do not handle or generate ABI lines.
4471 * shlib-versions: Remove ABI entries.
4472 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
4473 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
4474
58eb0862
RM
44752014-06-27 Roland McGrath <roland@hack.frob.com>
4476
37caf178
RM
4477 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
4478 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
4479 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
4480 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
4481 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
4482 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
4483 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
4484 Moved ...
4485 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
4486 ... here.
4487 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
4488 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
4489 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
4490 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
4491 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
4492 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
4493 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
4494 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
4495 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
4496 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
4497 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
4498 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
4499 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
4500 Moved ...
4501 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
4502 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
4503 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
4504 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
4505 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
4506 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
4507 Moved ...
4508 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
4509 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
4510 Moved ...
4511 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
4512 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
4513 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
4514 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
4515 Moved ...
4516 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
4517 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
4518 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
4519 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
4520 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
4521 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
4522 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
4523 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
4524 Moved ...
4525 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
4526 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
4527 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
4528 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
4529 Moved ...
4530 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
4531 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
4532 Moved ...
4533 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
4534 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
4535 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
4536 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
4537 Moved ...
4538 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
4539 ... here.
4540 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
4541 Identical file removed.
4542 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
4543 Moved ...
4544 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
4545 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
4546 Identical file removed.
4547 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
4548 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
4549 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
4550 Moved ...
4551 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
4552 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
4553 Identical file removed.
4554 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
4555 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
4556 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
4557 Identical file removed.
4558 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
4559 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
4560 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
4561 Identical file removed.
4562 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
4563 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
4564 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
4565 Identical file removed.
4566 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
4567 Moved ...
4568 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
4569 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
4570 Identical file removed.
4571 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
4572 Moved ...
4573 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
4574 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
4575 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
4576 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
4577 Identical file removed.
4578 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
4579 Moved ...
4580 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
4581 ... here.
4582 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
4583 Identical file removed.
4584 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
4585 Moved ...
4586 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
4587 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
4588 Identical file removed.
4589 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
4590 Moved ...
4591 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
4592 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
4593 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
4594 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
4595 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
4596 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
4597 Moved ...
4598 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
4599 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
4600 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
4601
58eb0862
RM
4602 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
4603 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
4604 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
4605 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
4606 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
4607
6f12d062
AS
46082014-06-27 Arjun Shankar <arjun.is@lostca.se>
4609
4610 [BZ #17092]
4611 * nscd/nscd.c (monitor_child): Return exit status of child
4612 instead of return value from wait syscall.
4613
be254932
JM
46142014-06-27 Joseph Myers <joseph@codesourcery.com>
4615
cb403c34
JM
4616 * configure.ac (libc_commonpagesize): Remove variable.
4617 (libc_relro_required): Likewise.
4618 (libc_cv_z_relro): Remove configure test.
4619 * configure: Regenerated.
4620 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
4621 variable.
4622 (libc_relro_required): Likewise.
4623 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
4624 (libc_relro_required): Likewise.
4625 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
4626 (libc_relro_required): Likewise.
4627 * sysdeps/arm/preconfigure: Regenerated.
4628 * sysdeps/ia64/preconfigure: Remove file.
4629 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
4630 variable.
4631 (libc_relro_required): Likewise.
4632
be254932
JM
4633 [BZ #16561]
4634 [BZ #16562]
4635 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
4636 (__ieee754_yn): Set FE_TONEAREST mode internally and then
4637 recompute overflowing results in original rounding mode.
4638 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
4639 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
4640 recompute overflowing results in original rounding mode.
4641 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
4642 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4643 recompute overflowing results in original rounding mode.
4644 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
4645 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4646 recompute overflowing results in original rounding mode.
4647 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
4648 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4649 recompute overflowing results in original rounding mode.
4650 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
4651 (libc_feholdsetround_ctx): New macro.
4652 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
4653 * sysdeps/i386/fpu/libm-test-ulps: Update.
4654 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
4655
b351d85a
JM
46562014-06-26 Joseph Myers <joseph@codesourcery.com>
4657
4658 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
4659 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
4660 corresponding .cpsetup call.
4661
3cb4de47
RM
46622014-06-26 Roland McGrath <roland@hack.frob.com>
4663
4664 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
4665 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
4666 * sysdeps/arm/Makefile [$(subdir) = csu]
4667 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
4668 (static-only-routines): Add aeabi_read_tp here.
4669 (shared-only-routines): Add libc-aeabi_read_tp here.
4670 (CFLAGS-libc-start.c): Add -fexceptions here.
4671 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
4672 (sysdep_routines, static-only-routines, shared-only-routines):
4673 Don't add to these here.
4674 (CFLAGS-libc-start.c): Likewise.
4675
4676 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
4677 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4678 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
4679 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4680 * sysdeps/arm/Makefile [$(subdir) = rt]
4681 (librt-sysdep_routines, librt-shared-only-routines):
4682 Append rt-aeabi_unwind_cpp_pr1 here.
4683 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
4684 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
4685 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
4686 (libpthread-sysdep_routines, libpthread-shared-only-routines):
4687 Append nptl-aeabi_unwind_cpp_pr1 here.
4688 (tests): Filter out tst-cleanupx4 here.
4689 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
4690 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
4691 Don't do those here.
4692
354426bb
JM
46932014-06-26 Joseph Myers <joseph@codesourcery.com>
4694
4695 * scripts/list-sources.sh: Do not handle ports specially.
4696
28b0a8c9
RM
46972014-06-26 Roland McGrath <roland@hack.frob.com>
4698
a3dd035d
RM
4699 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
4700 * sysdeps/arm/feupdateenv.c: Likewise.
4701
28b0a8c9
RM
4702 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
4703
e66a8203
JM
47042014-06-26 Joseph Myers <joseph@codesourcery.com>
4705
4706 * manual/texinfo.tex: Update to version 2014-05-05.10 with
4707 trailing whitespace removed.
4708 * scripts/config.guess: Update to version 2014-03-23.
4709 * scripts/config.sub: Update to version 2014-05-01
4710 * scripts/install-sh: Update to version 2013-12-25.23.
4711 * scripts/move-if-change: Update from gnulib.
4712
74171115
SP
47132014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4714
b97c9ce5
SP
4715 * debug/memmove_chk.c: Remove pagecopy.h include.
4716
4000f892
SP
47172014-06-26 Paul Eggert <eggert@cs.ucla.edu>
4718
74171115
SP
4719 * time/mktime.c (leapyear): Remove inline keyword. The code is now
4720 identical to gnulib mktime.
4721
a8779c28
JM
47222014-06-26 Joseph Myers <joseph@codesourcery.com>
4723
e64708de
JM
4724 * configure.ac: Do not test for machine being rs6000. Do not test
4725 for powerpc*-*soft.
4726 * configure: Regenerated.
4727
a8779c28
JM
4728 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
4729 test.
4730 * configure: Regenerated.
4731 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
4732 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
4733 Remove configure test.
4734 * sysdeps/arm/configure: Regenerated.
4735 * sysdeps/nptl/configure.ac: Do not check
4736 libc_cv_asm_cfi_directives.
4737 * sysdeps/nptl/configure: Regenerated.
4738 * sysdeps/x86_64/nptl/configure.ac: Remove file.
4739 * sysdeps/x86_64/nptl/configure: Remove generated file.
4740 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
4741 unconditional.
4742 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
4743
2aac0a86
SP
47442014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4745
059bf913
SP
4746 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
4747 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
4748 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
4749 it is defined.
4750
4cf5b6d0
SP
4751 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
4752 instead of whether it is defined.
4753 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
4754 * sysdeps/hppa/dl-machine.h: Likewise.
4755 * sysdeps/ia64/dl-machine.h: Likewise.
4756 * sysdeps/m68k/dl-machine.h: Likewise.
4757 * sysdeps/microblaze/dl-machine.h: Likewise.
4758 * sysdeps/mips/dl-machine.: Likewise.
4759 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4760 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4761 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4762 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4763 * sysdeps/sh/dl-machine.h: Likewise.
4764 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4765 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4766 * sysdeps/tile/dl-machine.h: Likewise.
4767 * sysdeps/x86_64/dl-machine.h: Likewise.
4768
2aac0a86
SP
4769 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
4770 code.
4771 (verify_persistent_db): Likewise.
4772
6ad2df0b
RM
47732014-06-26 Roland McGrath <roland@hack.frob.com>
4774
d8a483f3
RM
4775 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
4776 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
4777 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
4778 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
4779 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4780 Moved ...
4781 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
4782 ... here.
4783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
4784 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
4785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
4786 Identical file removed.
4787 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
4788 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
4789 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
4790 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
4791 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
4792 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
4793 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
4794 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
4795 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
4796 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
4797 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4798 Moved ...
4799 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
4800 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
4801 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
4802 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
4803 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
4804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4805 Moved ...
4806 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
4807 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
4808 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
4809 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
4810 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
4811 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4812 Identical file removed.
4813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
4814 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
4815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
4816 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
4817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4818 Moved ...
4819 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
4820 ... here.
4821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
4822 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
4823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
4824 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
4825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
4826 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
4827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
4828 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
4829 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
4830 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
4831 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4832 Moved ...
4833 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
4834 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
4835 Moved ...
4836 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
4837 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
4838 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
4839 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4840 Moved ...
4841 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
4842 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
4843 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
4844
52ae23b4
RM
4845 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
4846 folded into ...
4847 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
4848 * sysdeps/unix/sysv/linux/s390/Versions
4849 (libpthread: GLIBC_2.19): New version set.
4850 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
4851 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
4852 (librt: GLIBC_2.3.3): New version set.
4853 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
4854 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
4855 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
4856 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
4857 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
4858 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
4859 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
4860 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
4861 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
4862 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
4863 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
4864 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
4865 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
4866 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
4867 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
4868 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4869 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4870 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4871 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4872 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4873 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4874 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4875 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4876 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4877 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4878 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4879 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4880 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4881 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4882 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4883 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4884 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4885 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4886 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4887 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4888 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4889 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4890 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4891 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4892 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4893 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4894 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4895 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4896 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4897 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4898
39507e4a
RM
4899 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4900 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4901 (__libc_vfork): Define the function under this name.
4902 [!NOT_IN_libc] (__vfork): Make this an alias.
4903 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4904 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4905 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
4906 (__libc_vfork): Define the function under this name.
4907 [!NOT_IN_libc] (__vfork): Make this an alias.
4908 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4909 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4910 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4911 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4912 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4913 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4914
e549ee56
RM
4915 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4916 code that was previously under [RESET_PID].
4917 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4918 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4919 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4920
6ad2df0b
RM
4921 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4922 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4923 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4924 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4925 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4926 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4927 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4928 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4929 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4930 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4931 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4932 Moved ...
4933 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4934 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4935 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4936 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4937 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4938 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4939 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4940 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4941 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4942 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4943 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4944 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4945 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4946 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4947 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4948 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4949 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4950 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4951 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4952 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4953 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4954 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4955 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4956 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4957 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4958 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4959 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4960 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4961 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
4962
7c1c1d8e
RM
49632014-06-25 Roland McGrath <roland@hack.frob.com>
4964
4965 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
4966 that was previously under [RESET_PID].
4967 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
4968
3e239be6
JM
49692014-06-25 Joseph Myers <joseph@codesourcery.com>
4970
74385da5
JM
4971 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
4972 not undefine and redefine.
4973 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
4974 [O_CLOEXEC]: Make code unconditional.
4975 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
4976 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
4977 <kernel-features.h>.
4978 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
4979 conditional variable definition.
4980 (shm_open) [O_CLOEXEC]: Make code unconditional.
4981 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
4982 code.
4983
c2570a0b
JM
4984 * configure.ac (USE_REGPARMS): Don't define here.
4985 * configure: Regenerated.
4986 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
4987 * sysdeps/i386/configure: Regenerated.
4988
11b076bb
JM
4989 * nptl/createthread.c: Don't include kernel-features.h.
4990 * nptl/pthread_cancel.c: Likewise.
4991 * nptl/pthread_condattr_setclock.c: Likewise.
4992 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
4993 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
4994 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
4995 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
4996 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
4997 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
4998 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4999 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
5000 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5001 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
5002 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
5003 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
5004 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
5005 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
5006 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
5007 * nscd/gai.c: Likewise.
5008 * nss/nss_db/db-open.c: Likewise.
5009 * sysdeps/generic/ldsodefs.h: Likewise.
5010 * sysdeps/sh/nptl/tls.h: Likewise.
5011 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5012 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
5013 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
5014 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
5015 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
5016 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5017 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
5018 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5019 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5020 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5021 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5022 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5023 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
5024 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
5025 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
5026 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
5027 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
5028 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
5029 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
5030 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5031 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
5032 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
5033 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
5034 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
5035 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
5036 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
5037 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
5038 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
5039 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5040 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
5041 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
5042 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
5043 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
5044 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5045 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5046 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5047 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5048 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
5049 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
5050 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5051 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5052 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
5053 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
5054 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5055 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
5056 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
5057 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
5058 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5059 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
5060 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5061 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5062 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5063 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5064 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5065 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
5066 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5067 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5068 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
5069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
5071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
5072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
5073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
5074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
5075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
5076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
5077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
5080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
5081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
5082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
5083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
5089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
5090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
5091 * sysdeps/unix/sysv/linux/pread.c: Likewise.
5092 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5093 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
5094 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5095 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5096 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
5097 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
5098 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5099 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
5100 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
5101 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
5102 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
5103 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5104 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
5105 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5106 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5107 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
5108 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5109 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
5110 * sysdeps/unix/sysv/linux/system.c: Likewise.
5111 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
5112 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5113 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5114 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5115 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5116 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5117 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5118
92072d57
JM
5119 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
5120 * configure: Regenerated.
5121 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
5122
3e239be6
JM
5123 * configure.ac (base_machine): Do not set specially for particular
5124 machines here.
5125 * configure: Regenerated.
5126 * sysdeps/powerpc/preconfigure: Move machine and base_machine
5127 settings from configure.ac.
5128 * sysdeps/i386/preconfigure: New file.
5129 * sysdeps/s390/preconfigure: Likewise.
5130 * sysdeps/sh/preconfigure: Likewise.
5131 * sysdeps/sparc/preconfigure: Likewise.
5132
06d50baa
RM
51332014-06-25 Roland McGrath <roland@hack.frob.com>
5134
74836003
RM
5135 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
5136 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
5137 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
5138 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
5139 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
5140 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
5141 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
5142 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
5143 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
5144 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
5145 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
5146 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
5147 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
5148 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
5149 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
5150 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
5151 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
5152 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
5153 * sysdeps/sparc/sparc64/Makefile: ... appended here.
5154
5155 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
5156 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
5157 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
5158 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
5159 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
5160 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
5161 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
5162 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
5163 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
5164 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
5165 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
5166 * sysdeps/sparc/sparc32/sem_post.c: ... here.
5167 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
5168 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
5169 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
5170 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
5171 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
5172 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
5173 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
5174 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
5175 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
5176 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
5177 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
5178 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
5179 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
5180 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
5181 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
5182 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
5183 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
5184 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
5185 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
5186 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
5187 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
5188 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
5189 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
5190 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
5191 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
5192 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
5193
06d50baa
RM
5194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
5195 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
5196 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
5197 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
5198 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5199 Moved ...
5200 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
5201 ... here.
5202 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
5203 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
5204 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
5205 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
5206 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
5207 Moved ...
5208 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
5209 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
5210 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
5211 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
5212 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
5213 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
5214 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
5215 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5216 Moved ...
5217 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
5218 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5219 Moved ...
5220 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
5221 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
5222 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
5223 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5224 Moved ...
5225 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
5226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
5227 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
5228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
5229 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
5230 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
5231 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
5232 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
5233 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
5234 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5235 Moved ...
5236 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
5237 ... here.
5238 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
5239 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
5240 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
5241 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
5242 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
5243 Moved ...
5244 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
5245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
5246 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
5247 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
5248 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
5249 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
5250 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
5251 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5252 Moved ...
5253 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
5254 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5255 Moved ...
5256 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
5257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
5258 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
5259 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5260 Moved ...
5261 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
5262 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
5263 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
5264 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
5265 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
5266
a4ccbc9b
JM
52672014-06-25 Joseph Myers <joseph@codesourcery.com>
5268
0828edbf
JM
5269 * timezone/checktab.awk: Update from tzcode 2014e.
5270 * timezone/private.h: Likewise.
5271 * timezone/tzfile.h: Likewise.
5272 * timezone/zdump.c: Likewise.
5273 * timezone/zic.c: Likewise.
5274
a4ccbc9b
JM
5275 * sysdeps/unix/sysv/linux/kernel-features.h
5276 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
5277 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
5278 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
5279 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5280 Remove conditional code.
5281
9aea0cb8
WN
52822014-06-25 Will Newton <will.newton@linaro.org>
5283
5284 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
5285 (_dl_arm_cap_flags): Add HWCAP2 values.
5286 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
5287 (_DL_HWCAP_COUNT): Increase to 37.
5288 (_DL_HWCAP_LAST): New define.
5289 (_DL_HWCAP2_LAST): New define.
5290 (_dl_procinfo): Add support for printing
5291 AT_HWCAP2 entries.
5292 (_dl_string_hwcap): Use _dl_hwcap_string.
5293
6eaa65ce
AZ
52942014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5295
5296 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5297
0f5b7185
JM
52982014-06-25 Joseph Myers <joseph@codesourcery.com>
5299
cfd2ea50
JM
5300 * README: Do not mention ports directory.
5301
cecf2ed4
JM
5302 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
5303 Remove macro.
5304 * sysdeps/unix/sysv/linux/futimes.c: Do not include
5305 <kernel-features.h>.
5306 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
5307 conditional variable definition.
5308 (__futimes): Update comment.
5309 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
5310 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
5311
a638de82
JM
5312 [BZ #16560]
5313 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
5314 arguments close to 0.
5315 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
5316 Likewise.
5317 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
5318 Likewise.
5319 * math/auto-libm-test-in: Add more tests of exp10.
5320 * math/auto-libm-test-out: Regenerated.
5321 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5322
0f5b7185
JM
5323 * sysdeps/unix/sysv/linux/kernel-features.h
5324 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
5325 * sysdeps/unix/sysv/linux/readv.c: Do not include
5326 <kernel-features.h>.
5327 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5328 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5329 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5330 unconditional.
5331 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5332 conditional code.
5333 * sysdeps/unix/sysv/linux/writev.c: Do not include
5334 <kernel-features.h>.
5335 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5336 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5337 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5338 unconditional.
5339 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5340 conditional code.
5341
c7aec4be
WN
53422014-06-25 Will Newton <will.newton@linaro.org>
5343
5344 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
5345 comment changes throughout the file. Remove checks
5346 for HAVE_*_H definitions that are not required.
5347 (__gen_tempname): Call abort if an unknown kind value is
5348 passed.
5349
c5241f95
AS
53502014-06-25 Andreas Schwab <schwab@suse.de>
5351
5352 [BZ #17086]
5353 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
5354 scalbln, scalblnf, scalblnl in libc.
5355
911422da
SP
53562014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5357
5358 [BZ #17086]
5359 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
5360 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5361 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5362
0d749bbe
RM
53632014-06-24 Roland McGrath <roland@hack.frob.com>
5364
5365 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
5366 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
5367 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
5368 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
5369 Update #include.
5370 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
5371 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
5372 Update #include.
5373 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
5374 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
5375 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
5376 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
5377 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
5378 * sysdeps/x86/bits/pthreadtypes.h: ... here.
5379 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
5380 * sysdeps/x86/bits/semaphore.h: ... here.
5381 * sysdeps/x86/nptl/elide.h: Moved ...
5382 * sysdeps/x86/elide.h: ... here.
5383 * sysdeps/x86_64/nptl/Implies: File removed.
5384 * sysdeps/i386/nptl/Implies: File removed.
5385
0ea5d373
JM
53862014-06-24 Joseph Myers <joseph@codesourcery.com>
5387
4060283d
JM
5388 [BZ #16539]
5389 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
5390 return the argument for normal arguments with exponent below -64.
5391 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5392 Likewise.
5393 * math/auto-libm-test-in: Add another test of expm1.
5394 * math/auto-libm-test-out: Regenerated.
5395
e7dd3c8c
JM
5396 [BZ #16287]
5397 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
5398 calling __erfcl for arguments at least 16.
5399 * math/auto-libm-test-in: Add more tests of erf.
5400 * math/auto-libm-test-out: Regenerated.
5401
0ea5d373
JM
5402 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
5403 individual architectures.
5404 * sysdeps/unix/sysv/linux/configure: Regenerated.
5405 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
5406 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
5407 * sysdeps/unix/sysv/linux/powerpc/configure.ac
5408 (ldd_rewrite_script): Define variable.
5409 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
5411 file.
5412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
5413 generated file.
5414 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
5415 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
5416 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
5417 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
5418 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
5419 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
5420 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
5421 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
5422
2307e126
SP
54232014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5424
5425 [BZ #17084]
5426 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
5427 Rename member __data.d to __data.__elision_data.
5428
c0a4ed77
W
54292014-06-24 Wilco <wdijkstr@arm.com>
5430
5431 * NEWS: Add 16918 to fixed bug list.
5432
b8c00573
W
54332014-06-24 Wilco <wdijkstr@arm.com>
5434
5435 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
5436
b5570d92
W
54372014-06-24 Wilco <wdijkstr@arm.com>
5438
5439 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
5440 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
5441 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
5442 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
5443 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
5444 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
5445 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
5446 Use _FPU_MASK_RM.
5447
947bdca2
W
54482014-06-24 Wilco <wdijkstr@arm.com>
5449
5450 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
5451
00f669ed
W
54522014-06-24 Wilco <wdijkstr@arm.com>
5453
5454 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
5455 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
5456 * sysdeps/arm/fesetround.c (fesetround): Remove space.
5457 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
5458
db59bad3
W
54592014-06-24 Wilco <wdijkstr@arm.com>
5460
5461 [BZ #16918]
5462 * sysdeps/arm/feupdateenv.c (feupdateenv):
5463 Rewrite to reduce FPSCR accesses and fix return value.
5464
001f7b77
W
54652014-06-24 Wilco <wdijkstr@arm.com>
5466
5467 * sysdeps/arm/fclrexcpt.c (feclearexcept):
5468 Optimize to avoid unnecessary FPSCR writes.
5469 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
5470 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
5471 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
5472 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
5473
4841e6a6
W
54742014-06-24 Wilco <wdijkstr@arm.com>
5475
5476 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
5477 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
5478 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
5479 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
5480 Call libc_fetestexcept_vfp.
5481 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
5482 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
5483 __SOFTFP__ ifdef so that they can be built for softfp.
5484
0813022c
SP
54852014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5486
08e5862f
SP
5487 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
5488 argument type signed char.
5489
0813022c
SP
5490 * Makerules (check-abi): Dump diff of symlist if the test
5491 fails.
5492
3fc7236a
RM
54932014-06-23 Roland McGrath <roland@hack.frob.com>
5494
aba8ef95
RM
5495 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
5496 using abort.
5497
3fc7236a
RM
5498 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5499 Remove unused variable ST.
5500
4da6db51
JM
55012014-06-23 Joseph Myers <joseph@codesourcery.com>
5502
4648909d
JM
5503 [BZ #16354]
5504 [BZ #17061]
5505 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
5506 small arguments before calling __expm1.
5507 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
5508 small arguments before calling __expm1f.
5509 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
5510 small arguments before calling __expm1l.
5511 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5512 Likewise.
5513 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
5514 * math/auto-libm-test-in: Add more cosh tests. Do not allow
5515 spurious underflow for some cosh tests.
5516 * math/auto-libm-test-out: Regenerated.
5517 * sysdeps/i386/fpu/libm-test-ulps: Update.
5518
46a3d3c7
JM
5519 [BZ #17050]
5520 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
5521 (__ieee754_y1): Set errno if return value overflows.
5522 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
5523 (__ieee754_y1f): Set errno if return value overflows.
5524 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
5525 (__ieee754_y1l): Set errno if return value overflows.
5526 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
5527 (__ieee754_y1l): Set errno if return value overflows.
5528 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
5529 * math/auto-libm-test-out: Regenerated.
5530
863893ec
JM
5531 * math/gen-auto-libm-tests.c: Document use of
5532 ignore-zero-inf-sign.
5533 (input_flag_type): Add value flag_ignore_zero_inf_sign.
5534 (input_flags): Add ignore-zero-inf-sign.
5535 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
5536 * math/gen-libm-test.pl (generate_testfile): Handle
5537 ignore-zero-inf-sign.
5538 * math/auto-libm-test-in: Mark some cpow tests with
5539 ignore-zero-inf-sign and some with xfail-rounding.
5540 * math/auto-libm-test-out: Regenerated.
5541 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
5542 * sysdeps/i386/fpu/libm-test-ulps: Update.
5543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5544
4da6db51
JM
5545 [BZ #16315]
5546 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
5547 overflowing or underflowing operations take place with sign of
5548 result.
5549 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5550 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5551 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
5552 (__ieee754_pow): Recompute overflowing and underflowing results in
5553 original rounding mode.
5554 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
5555 (__powl_helper): Allow negative argument X and scale negated value
5556 as needed. Avoid passing value outside [-1, 1] to f2xm1.
5557 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
5558 overflowing or underflowing operations take place with sign of
5559 result.
5560 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
5561 Include <math.h>.
5562 * math/auto-libm-test-in: Add more tests of pow.
5563 * math/auto-libm-test-out: Regenerated.
5564 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
5565 (pow_tonearest_test_data): Remove.
5566 (pow_test_tonearest): Likewise.
5567 (pow_towardzero_test_data): Likewise.
5568 (pow_test_towardzero): Likewise.
5569 (pow_downward_test_data): Likewise.
5570 (pow_test_downward): Likewise.
5571 (pow_upward_test_data): Likewise.
5572 (pow_test_upward): Likewise.
5573 (main): Don't call removed functions.
5574 * sysdeps/i386/fpu/libm-test-ulps: Update.
5575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5576
5686b236
RM
55772014-06-23 Roland McGrath <roland@hack.frob.com>
5578
5579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
5580 Moved ...
5581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
5582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5583 Moved ...
5584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
5585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5586 Moved ...
5587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
5588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5589 Moved ...
5590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
5591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5592 File removed.
5593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5594 File removed.
5595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
5596 File removed.
5597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
5598 File removed.
5599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
5600 File removed.
5601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
5602 File removed.
5603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
5604 File removed.
5605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5606 File removed.
5607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
5608 File removed.
5609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5610 File removed.
5611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
5612 File removed.
5613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
5614 File removed.
5615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
5616 Moved ...
5617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
5618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
5619 Moved ...
5620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
5621 ... here.
5622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
5623 Moved ...
5624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
5625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
5626 Moved ...
5627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
5628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
5629 Moved ...
5630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
5631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
5632 Moved ...
5633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
5634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
5635 Moved ...
5636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
5637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
5638 Moved ...
5639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
5640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
5641 Moved ...
5642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
5643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
5644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
5645 ... here.
5646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
5647 Moved ...
5648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
5649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
5650 Moved ...
5651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5652 ... here.
5653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
5654 Moved ...
5655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5656 ... here.
5657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5658 Moved ...
5659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5660 ... here.
5661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5662 Moved ...
5663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
5664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5665 Moved ...
5666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
5667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
5668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
5669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5670 Moved ...
5671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
5672 ... here.
5673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5674 Moved ...
5675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
5676 ... here.
5677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5678 Moved ...
5679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
5680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5681 Moved ...
5682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
5683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5684 Moved ...
5685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
5686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5687 Moved ...
5688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
5689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5690 Moved ...
5691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
5692 ... here.
5693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5694 Moved ...
5695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
5696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5697 Moved ...
5698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
5699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5700 Moved ...
5701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
5702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5703 Moved ...
5704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
5705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
5706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
5707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5708 Moved ...
5709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
5710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5711 Moved ...
5712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
5713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5714 Moved ...
5715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
5716 ... here.
5717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5718 Moved ...
5719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
5720 ... here.
5721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5722 Moved ...
5723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
5724 ... here.
5725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5726 Moved ...
5727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
5728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5729 Moved ...
5730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
5731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5732 Moved ...
5733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
5734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5735 Moved ...
5736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
5737 ... here.
5738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5739 Moved ...
5740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
5741 ... here.
5742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5743 Moved ...
5744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
5745 ... here.
5746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5747 Moved ...
5748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
5749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5750 Moved ...
5751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
5752
e6d90d67
WD
57532014-06-23 Will Newton <will.newton@linaro.org>
5754 Wilco <wdijkstr@arm.com>
5755
5756 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
5757 implementation. Include get-rounding-mode.h.
5758 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
5759 [!libc_feholdsetround_noex_ctx]: Define
5760 libc_feholdsetround_noex_ctx.
5761 [!libc_feholdsetround_noexf_ctx]: Define
5762 libc_feholdsetround_noexf_ctx.
5763 [!libc_feholdsetround_noexl_ctx]: Define
5764 libc_feholdsetround_noexl_ctx.
5765 (libc_feholdsetround_ctx): New function.
5766 (libc_feresetround_ctx): New function.
5767 (libc_feholdsetround_noex_ctx): New function.
5768 (libc_feresetround_noex_ctx): New function.
5769
d42df555
RM
57702014-06-23 Roland McGrath <roland@hack.frob.com>
5771
88a46474
RM
5772 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
5773 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
5774 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
5775 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
5776 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
5777 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
5778
15bed472
RM
5779 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
5780 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
5781 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
5782 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
5783 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
5784 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
5785 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
5786 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
5787 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
5788 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
5789 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
5790 Moved ...
5791 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
5792 ... here.
5793 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
5794 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
5795 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
5796 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
5797 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
5798 Moved ...
5799 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
5800 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
5801 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
5802 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
5803 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
5804 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
5805 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
5806 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
5807 Moved ...
5808 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
5809 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
5810 Moved ...
5811 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
5812 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
5813 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
5814 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
5815 Moved ...
5816 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
5817 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
5818 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
5819 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
5820 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
5821 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
5822 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
5823 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
5824 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
5825 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
5826 Moved ...
5827 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
5828 ... here.
5829 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
5830 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
5831 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
5832 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
5833 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
5834 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
5835 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
5836 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
5837 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
5838 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
5839 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
5840 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
5841 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
5842 Moved ...
5843 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
5844 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
5845 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
5846 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
5847 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
5848 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
5849 Moved ...
5850 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
5851 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
5852 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
5853 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
5854 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
5855
d42df555
RM
5856 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
5857 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
5858 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
5859 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
5860 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
5861 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
5862 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
5863 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
5864 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
5865 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
5866 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
5867 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
5868 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5869 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5870 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5871 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5872 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5873 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5874 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5875 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5876 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5877 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5878 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5879 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5880 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5881 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5882 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5883 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5884
76e5216e
JM
58852014-06-23 Joseph Myers <joseph@codesourcery.com>
5886
5887 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5888 (FALLOC_FL_COLLAPSE_RANGE): New macro.
5889 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5890 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5891 (IPV6_PMTUDISC_INTERFACE): Likewise.
5892 (IPV6_PMTUDISC_OMIT): Likewise.
5893
7a81cbcc
AS
58942014-06-23 Andreas Schwab <schwab@suse.de>
5895
5896 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5897 Remove unused errout label.
5898
db224009
AZ
58992014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5900
5901 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5902 macro: hardware supports Vector Crypto instructions.
5903
f393b4aa
WN
59042014-06-23 Will Newton <will.newton@linaro.org>
5905
cc7d0447
WN
5906 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5907 rather than __builtin_expect.
5908
d6d06225
WN
5909 * elf/dl-lookup.c (undefined_msg): Remove variable.
5910 (_dl_lookup_symbol_x): Replace undefined_msg with string
5911 literal.
5912
f393b4aa
WN
5913 * elf/dl-lookup.c (do_lookup_unique): New function.
5914 (do_lookup_x): Move STB_GNU_UNIQUE handling code
5915 to a separate function.
5916
ac60763e
AS
59172014-06-23 Andreas Schwab <schwab@suse.de>
5918
5919 [BZ #17079]
5920 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5921 before reading the next line.
5922
c5c13355
WN
59232014-06-23 Will Newton <will.newton@linaro.org>
5924
5925 * test-skeleton.c (signal_handler): Use printf and %m
5926 rather than perror. Use printf rather than fprintf to
5927 stderr. Use puts rather than fputs to stderr.
5928 (main): Likewise.
5929
bd3675f9
LC
59302014-06-22 Ludovic Courtès <ludo@gnu.org>
5931
5932 * nscd/nscd.c (thread_info_t): Remove typedef.
5933 (thread_info): Remove variable.
5934
d03efb2f
AM
59352014-06-21 Allan McRae <allan@archlinux.org>
5936
5937 * NEWS: Mention CVE-2014-4043.
5938
bc4a86fa
RM
59392014-06-20 Roland McGrath <roland@hack.frob.com>
5940
dc9a54f8
RM
5941 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5942 * nptl/smp.h: ... here.
5943
bd7022c4
RM
5944 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5945
26ffd5e6
RM
5946 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5947 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5948 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5949 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5950
93a6d082
RM
5951 * nptl/allocatestack.c: Include <stack-aliasing.h>.
5952 * nptl/stack-aliasing.h: New file.
5953 * sysdeps/i386/i686/stack-aliasing.h: New file.
5954 * sysdeps/i386/i686/nptl/Makefile: File removed.
5955 * sysdeps/x86_64/stack-aliasing.h: New file.
5956 * sysdeps/x86_64/nptl/Makefile
5957 (CFLAGS-pthread_create.c): Variable removed.
5958
bc4a86fa
RM
5959 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5960 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5961 old file.
5962 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
5963 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
5964 old file.
5965
2272ffc1
JM
59662014-06-21 Joseph Myers <joseph@codesourcery.com>
5967
5968 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5969 (__ASSUME_SIGFRAME_V2): Remove macro.
5970 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
5971 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
5972 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
5973 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
5974 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
5975 Declare as function. Remove conditional macro definitions.
5976 (__default_rt_sa_restorer): Likewise.
5977 (__default_sa_restorer_v1): Remove declaration.
5978 (__default_sa_restorer_v2): Likewise.
5979 (__default_rt_sa_restorer_v1): Likewise.
5980 (__default_rt_sa_restorer_v2): Likewise.
5981 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
5982 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
5983 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
5984
4b88139b
RM
59852014-06-20 Roland McGrath <roland@hack.frob.com>
5986
5987 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
5988 (libpthread-routines): Add sysdep.
5989 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
5990 * sysdeps/unix/sysv/linux/sparc/Versions
5991 (libpthread: GLIBC_2.3.3): New version set.
5992 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
5993 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
5994 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
5995 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
5996 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
5997 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
5998 Moved ...
5999 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
6000 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
6001 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
6002 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
6003 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
6004 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
6005 * sysdeps/sparc/nptl/sem_init.c: ... here.
6006 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
6007 * sysdeps/sparc/nptl/sem_post.c: ... here.
6008 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
6009 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
6010 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
6011 * sysdeps/sparc/nptl/sem_wait.c: ... here.
6012 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
6013 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
6014 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
6015 (libpthread-routines): Add cpu_relax.
6016 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
6017 File removed.
6018 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
6019 (librt: GLIBC_2.3.3): New version set.
6020 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
6021 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
6022 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
6023 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
6024 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
6025 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
6026 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
6027 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
6028 Moved ...
6029 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
6030 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
6031 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
6032 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
6033 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
6034 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
6035 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
6036 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
6037 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
6038 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
6039 Moved ...
6040 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
6041 Update #include.
6042 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
6043 Moved ...
6044 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
6045 Update #include.
6046 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
6047 Moved ...
6048 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
6049 Update #include.
6050 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
6051 Moved ...
6052 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
6053 Update #include.
6054 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
6055 Moved ...
6056 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
6057 Update #include.
6058 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
6059 Moved ...
6060 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
6061 Update #include.
6062 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
6063 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
6064 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
6065 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
6066 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
6067 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
6068 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
6069 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
6070 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
6071 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
6072 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6073 Moved ...
6074 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
6075 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
6076 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
6077 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
6078 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
6079
d7109027
JM
60802014-06-20 Joseph Myers <joseph@codesourcery.com>
6081
9bc6103d
JM
6082 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
6083 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
6084 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6085 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
6086 * nscd/nscd.c: Likewise.
6087 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
6088 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
6089 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
6090 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
6091
d7109027
JM
6092 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
6093 <kernel-features.h>.
6094 (init_mq_netlink): Remove conditional have_sock_cloexec
6095 definitions. Remove code conditional on have_sock_cloexec < 0.
6096 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
6097 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
6098 * sysdeps/unix/sysv/linux/opensock.c: Do not include
6099 <kernel-features.h>.
6100 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
6101 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
6102
d92d8f8a
L
61032014-06-20 H.J. Lu <hongjiu.lu@intel.com>
6104
6105 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6106 Add tests for memset_chk and memset.
6107
6108 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
6109 with AVX2_Usable.
6110
4e6d2347
MR
61112014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
6112
257ce712
MR
6113 [BZ #16046]
6114 * elf/tst-dl-iter-static.c: New file.
6115 * elf/Makefile (tests-static): Add tst-dl-iter-static.
6116
4e6d2347
MR
6117 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
6118 error.
6119
a2a76afe
JM
61202014-06-20 Joseph Myers <joseph@codesourcery.com>
6121
7fd00f99
JM
6122 * sysdeps/unix/sysv/linux/kernel-features.h
6123 (__ASSUME_F_GETOWN_EX): Remove macro.
6124 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
6125 <kernel-features.h>.
6126 (miss_F_GETOWN_EX): Remove variable or macro.
6127 (do_fcntl): Do not check miss_F_GETOWN_EX.
6128 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
6129
4a103975
JM
6130 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
6131 Remove macro.
6132 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
6133 [!__ASSUME_AT_RANDOM]: Remove conditional code.
6134 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
6135
a2a76afe
JM
6136 * sysdeps/unix/sysv/linux/kernel-features.h
6137 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
6138 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
6139 [ADJ_OFFSET_SS_READ]: Make code unconditional.
6140 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
6141
90e5dd48
MR
61422014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
6143
6144 [BZ #17075]
6145 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
6146 Fix calculation of the symbol's value.
6147 * sysdeps/arm/tst-armtlsdescloc.c: New file.
6148 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
6149 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
6150 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
6151 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
6152 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
6153 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
6154 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
6155 (modules-names): Add `tst-armtlsdescmod',
6156 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
6157 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
6158 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6159 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
6160 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
6161 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6162 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
6163 ($(objpfx)tst-armtlsdescloc): New dependency.
6164 ($(objpfx)tst-armtlsdescextnow): Likewise.
6165 ($(objpfx)tst-armtlsdescextlazy): Likewise.
6166 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
6167 TLS scheme support.
6168 * sysdeps/arm/configure: Regenerate.
6169
809fdf0d
JM
61702014-06-20 Joseph Myers <joseph@codesourcery.com>
6171
6172 * include/fcntl.h (__atfct_seterrno): Remove prototype.
6173 (__atfct_seterrno_2): Likewise.
6174 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
6175 <kernel-features.h>.
6176 (__ASSUME_ATFCTS): Do not undefine and redefine.
6177 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
6178 (__have_atfcts): Remove conditional definition.
6179 (__fxstatat([__NR_fstatat64]: Make code unconditional.
6180 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
6181 unreachable if [__ASSUME_ATFCTS].
6182 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
6183 not undefine and redefine.
6184 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
6185 <kernel-features.h>.
6186 (faccessat) [__NR_faccessat]: Make code unconditional.
6187 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
6188 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
6189 <kernel-features.h>.
6190 (fchmodat) [__NR_fchmodat]: Make code unconditional.
6191 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6192 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
6193 <kernel-features.h>.
6194 (fchownat) [__NR_fchownat]: Make code unconditional.
6195 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
6196 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
6197 <kernel-features.h>.
6198 (futimesat) [__NR_futimesat]: Make code unconditional.
6199 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
6200 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6201 <kernel-features.h>.
6202 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6203 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6204 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6205 <kernel-features.h>.
6206 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
6207 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6208 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
6209 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6210 <kernel-features.h>.
6211 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
6212 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6213 * sysdeps/unix/sysv/linux/linkat.c: Do not include
6214 <kernel-features.h>.
6215 (linkat) [__NR_linkat]: Make code unconditional.
6216 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6217 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
6218 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
6219 <kernel-features.h>.
6220 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
6221 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6222 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
6223 <kernel-features.h>.
6224 (mkdirat) [__NR_mkdirat]: Make code unconditional.
6225 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
6226 * sysdeps/unix/sysv/linux/openat.c: Do not include
6227 <kernel-features.h>.
6228 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
6229 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
6230 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
6231 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
6232 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
6233 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
6234 <kernel-features.h>.
6235 (readlinkat) [__NR_readlinkat]: Make code unconditional.
6236 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
6237 result of INLINE_SYSCALL directly, not via int variable.
6238 * sysdeps/unix/sysv/linux/renameat.c: Do not include
6239 <kernel-features.h>.
6240 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
6241 (renameat) [__NR_renameat]: Make code unconditional.
6242 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
6243 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
6244 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
6245 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
6246 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
6247 (__ASSUME_ATFCTS): Do not undefine and redefine.
6248 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
6249 <kernel-features.h>.
6250 (symlinkat) [__NR_symlinkat]: Make code unconditional.
6251 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6252 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
6253 <kernel-features.h>.
6254 (unlinkat) [__NR_unlinkat]: Make code unconditional.
6255 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6256 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
6257 (__ASSUME_ATFCTS): Do not undefine and redefine.
6258 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6259 <kernel-features.h>.
6260 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6261 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6262 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6263 <kernel-features.h>.
6264 (__xmknodat) [__NR_mknodat]: Make code unconditional.
6265 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6266
224c6c51
L
62672014-06-20 H.J. Lu <hongjiu.lu@intel.com>
6268
6269 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
6270
aa6ec754
AS
62712014-06-20 Andreas Schwab <schwab@linux-m68k.org>
6272
6273 [BZ #17069]
6274 * posix/regcomp.c (parse_reg_exp): Deallocate partially
6275 constructed tree before returning error.
6276 * posix/bug-regexp36.c: Expand test case.
6277
d8c2869d
SL
62782014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
6279
3ef6b850
SL
6280 [BZ #6803]
6281 * math/libm-test.inc (scalbln_test_date):
6282 Add errno expectations.
6283 * math/w_scalblnf.c: New File.
6284 Add wrapper which checks for setting errno to ERANGE.
6285 Add weak_alias for corresponding scalbln function.
6286 * math/w_scalbln.c: Likewise.
6287 * math/w_scalblnl.c: Likewise.
6288 * math/Makefile (libm-calls): Add w_scalbln.
6289 * sysdeps/ieee754/flt-32/s_scalblnf.c:
6290 Remove weak_alias for corresponding scalbln function.
6291 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6292 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6293 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6294 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6295 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
6296 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6297 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
6298 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6299 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
6300 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
6301 Remove long_double_symbol for scalblnl function in libm, libc.
6302 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
6303 Add wrapper which checks for setting errno to ERANGE.
6304 Add long_double_symbol for scalblnl function in libm, libc.
6305 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
6306 Remove long_double_symbol for scalblnl in libm.
6307 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
6308 Add wrapper which checks for setting errno to ERANGE.
6309 Add long_double_symbol for scalblnl function in libm.
6310 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
6311 Do not use wrapper because of own implementation.
6312
c8daec5c
L
63132014-06-19 H.J. Lu <hongjiu.lu@intel.com>
6314
6315 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
6316 3 bytes for __pad1 for x32.
6317 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
6318
5c74e47c
LM
63192014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
6320 H.J. Lu <hongjiu.lu@intel.com>
6321
6322 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
6323 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
6324 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6325 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6326 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
6327
4d43ef1e
AS
63282014-06-19 Andreas Schwab <schwab@linux-m68k.org>
6329
6330 [BZ #17069]
6331 * posix/regcomp.c (parse_expression): Deallocate partially
6332 constructed tree before returning error.
6333 * posix/Makefile.c (tests): Add bug-regex36.
6334 (generated): Add bug-regex36.mtrace.
6335 (tests-special): Add $(objpfx)bug-regex36-mem.out
6336 (bug-regex36-ENV): New variable.
6337 ($(objpfx)bug-regex36-mem.out): New rule.
6338 * posix/bug-regex36.c: New file.
6339
51a7380b
WN
63402014-06-19 Will Newton <will.newton@linaro.org>
6341
6342 * malloc/malloc.c (systrim): If extra is zero then return
6343 early.
6344
91b84fe5
SP
63452014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6346
6347 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
6348
f940b965
RE
63492014-06-19 Richard Earnshaw <rearnsha@arm.com>
6350
6351 * sysdeps/aarch64/strchr.S: New file.
6352
4ba7a00f
JM
63532014-06-18 Joseph Myers <joseph@codesourcery.com>
6354
6355 [BZ #17022]
6356 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
6357 from arguments -2 or below.
6358 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6359 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
6360
b3a9f56b
AS
63612014-06-18 Andreas Schwab <schwab@suse.de>
6362
6363 [BZ #17062]
6364 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
6365 of a bracket expr not to run off the end of the string.
6366 * posix/Makefile (tests): Add tst-fnmatch3.
6367 * posix/tst-fnmatch3.c: New file.
6368
85d89278
JM
63692014-06-18 Joseph Myers <joseph@codesourcery.com>
6370
6371 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
6372 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6373 [$(cross-compiling) = no]: Likewise.
6374 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6375 [$(cross-compiling) = no]: Likewise.
6376
754c5a08
RS
63772014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6378
6379 [BZ #17031]
6380 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
6381 double, adjusted for any remainder from the high double.
6382 * math/libm-test.inc (nearbyint): Add tests.
6383 (rint): Likewise.
6384
556f529d
AZ
63852014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6386
6387 * nptl/sysdeps/powerpc/Makefile: Moved ...
6388 * sysdeps/powerpc/nptl/Makefile: ... here.
6389 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
6390 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
6391 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
6392 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
6393 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
6394 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
6395 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
6396 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
6397 * nptl/sysdeps/powerpc/tls.h: Moved ...
6398 * sysdeps/powerpc/nptl/tls.h: ... here.
6399
91c03c53
JM
64002014-06-16 Joseph Myers <joseph@codesourcery.com>
6401
6402 [BZ #16681]
6403 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
6404 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
6405 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
6406 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
6407 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
6408 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
6409 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
6410 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
6411 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
6412
a76e63c5
AS
64132014-06-17 Andreas Schwab <schwab@linux-m68k.org>
6414
6415 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6416
f2f6d82f
AS
64172014-06-16 Andreas Schwab <schwab@linux-m68k.org>
6418
ea8a15f6
AS
6419 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
6420 defined operator.
6421
f2f6d82f
AS
6422 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
6423 $TIMEOUTFACTOR.
6424
a7291117
FW
64252014-06-16 Florian Weimer <fweimer@redhat.com>
6426
6427 [BZ #17058]
6428 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
6429 non-executed part of the test.
6430
3d7c00e3
AS
64312014-06-16 Andreas Schwab <schwab@suse.de>
6432
6433 * string/bits/string2.h (strdup, strndup): Update feature guard.
6434
6957fb31
DM
64352014-06-14 David S. Miller <davem@davemloft.net>
6436
6437 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6438
11b9e55b
AS
64392014-06-14 Andreas Schwab <schwab@linux-m68k.org>
6440
1d2a0492
AS
6441 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
6442 that was previously under [RESET_PID].
6443 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
6444
11b9e55b
AS
6445 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
6446 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
6447 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
6448 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6449 (__libc_vfork): New strong alias.
6450 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
6451
0f6901d0
AK
64522014-06-14 Andi Kleen <ak@linux.intel.com>
6453
6454 * sysdeps/generic/elide.h: New file.
6455
38bbbb9f
SL
64562014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6457
6458 * Makefile (installed-headers): Adjust path of pthread.h header.
6459
45193bb8
RM
64602014-06-13 Roland McGrath <roland@hack.frob.com>
6461
9a25fd1e
RM
6462 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
6463 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
6464 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
6465 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
6466
4004f7e4
RM
6467 * nptl/sysdeps/s390/Makefile: Moved ...
6468 * sysdeps/s390/nptl/Makefile: ... here.
6469 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
6470 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
6471 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
6472 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
6473 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
6474 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
6475 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
6476 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
6477 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
6478 * sysdeps/s390/nptl/pthreaddef.h: ... here.
6479 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
6480 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
6481 * nptl/sysdeps/s390/tls.h: Moved ...
6482 * sysdeps/s390/nptl/tls.h: ... here.
6483
45193bb8
RM
6484 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
6485 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
6486
f6fdf533
DM
64872014-06-13 David S. Miller <davem@davemloft.net>
6488
6489 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
6490 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
6491 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
6492 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
6493 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
6494 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
6495 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
6496 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
6497 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
6498 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
6499 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
6500 Remove RESET_PID cpp guards.
6501 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
6502 Remove RESET_PID cpp guards.
6503 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
6504
f5d71e14
AS
65052014-06-13 Andreas Schwab <schwab@linux-m68k.org>
6506
6507 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
6508 __sp to uintptr_t.
6509
b7aa8caa
AK
65102014-06-13 Andi Kleen <ak@linux.intel.com>
6511
4b266200
AZ
6512 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
6513 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
6514 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
6515 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
6516 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
6517 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
6518 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
6519 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
6520 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
6521 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
6522 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
6523 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
6524 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
6525 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
6526 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
6527 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
6528 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
6529 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
6530 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
6531 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
6532
6533 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
6534 (pthread_rwlock_rdlock): Add elision.
6535 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
6536 (pthread_rwlock_wrlock): Add elision.
6537 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
6538 (pthread_rwlock_trywrlock): Add elision.
6539 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
6540 (pthread_rwlock_tryrdlock): Add elision.
6541 * nptl/pthread_rwlock_unlock.c: Include elide.h.
6542 (pthread_rwlock_tryrdlock): Add elision unlock.
6543 * nptl/sysdeps/pthread/pthread.h:
6544 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
6545 (PTHREAD_RWLOCK_INITIALIZER,
6546 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
6547 Handle new elision field.
6548 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
6549 * sysdeps/arm/nptl/bits/pthreadtypes.h
6550 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6551 * sysdeps/sh/nptl/bits/pthreadtypes.h
6552 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6553 * sysdeps/tile/nptl/bits/pthreadtypes.h
6554 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6555 * sysdeps/a/nptl/bits/pthreadtypes.h
6556 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6557 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6558 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6559 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6560 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6561 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
6562 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6563 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6564 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6565 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6566 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6567 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6568 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6569 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6570 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6571 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
6572 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6573 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
6574 (elision_init): Set try_xbegin to zero when no RTM.
6575 * sysdeps/x86/nptl/bits/pthreadtypes.h
6576 (pthread_rwlock_t): Change __pad1 to __rwelision.
6577 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 6578
a832bdd3
AK
65792014-06-13 Andi Kleen <ak@linux.intel.com>
6580
6581 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
6582 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
6583 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
6584 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
6585
995a46bb
MI
65862014-06-13 Meador Inge <meadori@codesourcery.com>
6587
6588 [BZ #16996]
03ed7738 6589 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
6590 that the cached result has been set before returning it.
6591
45262aee
RM
65922014-06-12 Roland McGrath <roland@hack.frob.com>
6593
febf6cc5
RM
6594 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
6595 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
6596 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
6597 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
6598 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
6599 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
6600
e2682246
RM
6601 * nptl/sysdeps/sparc/Makefile: Moved ...
6602 * sysdeps/sparc/nptl/Makefile: ... here.
6603 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
6604 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
6605 * nptl/sysdeps/sparc/tls.h: Moved ...
6606 * sysdeps/sparc/nptl/tls.h: ... here.
6607 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
6608 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
6609 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
6610 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
6611 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
6612 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
6613 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
6614 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
6615 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
6616 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
6617 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
6618 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
6619 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
6620 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
6621 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
6622 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
6623 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
6624 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
6625 Update #include.
6626 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
6627 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
6628 Update #include.
6629 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
6630 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
6631 Update #include.
6632 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
6633 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
6634 Update #include.
6635
b0725f43
RM
6636 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6637
b14368b8
RM
6638 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
6639 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
6640
c5620eb3
RM
6641 * sysdeps/pthread/posix-timer.h: Include <list.h>.
6642 (struct list_links): Type removed.
6643 (struct thread_node, struct timer_node): Replace struct list_links
6644 with struct list_head.
6645 (list_unlink_ip): Likewise.
6646 * sysdeps/pthread/timer_routines.c
6647 (timer_free_list, thread_free_list, thread_active_list): Likewise.
6648 (list_append, list_insbefore): Likewise.
6649 (list_init): Function removed.
6650 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
6651 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
6652 * sysdeps/pthread/Makefile: ... here, new file.
6653
6654 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
6655 * sysdeps/nptl/Implies: ... here.
6656 * sysdeps/unix/sysv/linux/Implies: Add nptl.
6657 * nptl/sysdeps/pthread/list.h: Moved ...
6658 * include/list.h: ... here.
6659 * nptl/sysdeps/pthread/createthread.c: Moved ...
6660 * nptl/createthread.c: ... here.
6661 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
6662 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
6663 * nptl/pt-longjmp.c: ... here.
6664 * nptl/sysdeps/pthread/Makefile: Moved ...
6665 * sysdeps/nptl/Makefile: ... here.
6666 * nptl/sysdeps/pthread/Subdirs: Moved ...
6667 * sysdeps/nptl/Subdirs: ... here.
6668 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
6669 * sysdeps/nptl/aio_misc.h: ... here.
6670 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
6671 * sysdeps/nptl/bits/libc-lock.h: ... here.
6672 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
6673 * sysdeps/nptl/bits/libc-lockP.h: ... here.
6674 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
6675 * sysdeps/nptl/bits/stdio-lock.h: ... here.
6676 * nptl/sysdeps/pthread/configure: Moved ...
6677 * sysdeps/nptl/configure: ... here.
6678 * nptl/sysdeps/pthread/configure.ac: Moved ...
6679 * sysdeps/nptl/configure.ac: ... here.
6680 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
6681 * sysdeps/nptl/gai_misc.h: ... here.
6682 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
6683 * sysdeps/nptl/librt-cancellation.c: ... here.
6684 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
6685 * sysdeps/nptl/malloc-machine.h: ... here.
6686 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
6687 * sysdeps/nptl/pthread-functions.h: ... here.
6688 * nptl/sysdeps/pthread/pthread.h: Moved ...
6689 * sysdeps/nptl/pthread.h: ... here.
6690 * nptl/sysdeps/pthread/setxid.h: Moved ...
6691 * sysdeps/nptl/setxid.h: ... here.
6692 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
6693 * sysdeps/nptl/sigfillset.c: ... here.
6694 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
6695 * sysdeps/nptl/tcb-offsets.h: ... here.
6696 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
6697 * sysdeps/nptl/tst-mqueue8x.c: ... here.
6698 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
6699 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
6700 * nptl/sysdeps/pthread/allocalim.h: Moved ...
6701 * sysdeps/pthread/allocalim.h: ... here.
6702 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
6703 * sysdeps/pthread/bits/sigthread.h: ... here.
6704 * nptl/sysdeps/pthread/flockfile.c: Moved ...
6705 * sysdeps/pthread/flockfile.c: ... here.
6706 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
6707 * sysdeps/pthread/ftrylockfile.c: ... here.
6708 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
6709 * sysdeps/pthread/funlockfile.c: ... here.
6710 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
6711 * sysdeps/pthread/posix-timer.h: ... here.
6712 * nptl/sysdeps/pthread/timer_create.c: Moved ...
6713 * sysdeps/pthread/timer_create.c: ... here.
6714 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
6715 * sysdeps/pthread/timer_delete.c: ... here.
6716 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
6717 * sysdeps/pthread/timer_getoverr.c: ... here.
6718 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
6719 * sysdeps/pthread/timer_gettime.c: ... here.
6720 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
6721 * sysdeps/pthread/timer_routines.c: ... here.
6722 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
6723 * sysdeps/pthread/timer_settime.c: ... here.
6724 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
6725 * sysdeps/pthread/tst-timer.c: ... here.
6726 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
6727 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
6728
e876b090
RM
6729 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
6730 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
6731
f6b07b3d
RM
6732 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
6733 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
6734 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
6735 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
6736 Update #include target.
6737 * nptl/sysdeps/i386/i686/Makefile: Moved ...
6738 * sysdeps/i386/i686/nptl/Makefile: ... here.
6739 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
6740 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
6741 Update #include target.
6742 * nptl/sysdeps/i386/i686/tls.h: Moved ...
6743 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
6744 * nptl/sysdeps/i386/Makefile: Moved ...
6745 * sysdeps/i386/nptl/Makefile: ... here.
6746 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
6747 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
6748 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
6749 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
6750 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
6751 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
6752 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
6753 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
6754 * sysdeps/i386/nptl/pthreaddef.h: ... here.
6755 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
6756 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
6757 * nptl/sysdeps/i386/tls.h: Moved ...
6758 * sysdeps/i386/nptl/tls.h: ... here.
6759
45262aee
RM
6760 * sysdeps/sh/Makefile [$(subdir) = csu]
6761 (gen-as-const-headers): Add tcb-offsets.sym.
6762 * nptl/sysdeps/sh/Makefile: File removed.
6763 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
6764 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
6765 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
6766 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
6767 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
6768 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
6769 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
6770 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
6771 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
6772 * sysdeps/sh/nptl/pthreaddef.h: ... here.
6773 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
6774 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
6775 * nptl/sysdeps/sh/tls.h: Moved ...
6776 * sysdeps/sh/nptl/tls.h: ... here.
6777 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
6778 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
6779 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
6780 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
6781 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
6782 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
6783 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
6784 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
6785 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
6786 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
6787 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
6788 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
6789 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
6790 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
6791 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
6792 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
6793 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
6794 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
6795 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
6796 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
6797 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
6798 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
6799 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
6800 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
6801 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
6802 Moved ...
6803 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
6804 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
6805 Moved ...
6806 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
6807 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
6808 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
6809 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
6810 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
6811 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
6812 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
6813 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
6814 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
6815 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
6816 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
6817 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
6818 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
6819 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
6820 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
6821 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
6822 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
6823 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
6824 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
6825
35a5e3e3
SL
68262014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6827
6828 * posix/spawn_faction_addopen.c: Include string.h.
6829
14642b85
RM
68302014-06-11 Roland McGrath <roland@hack.frob.com>
6831
6832 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
6833 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
6834 * nptl/sysdeps/x86_64/Makefile: Moved ...
6835 * sysdeps/x86_64/nptl/Makefile: ... here.
6836 * nptl/sysdeps/x86_64/configure: Moved ...
6837 * sysdeps/x86_64/nptl/configure: ... here.
6838 * nptl/sysdeps/x86_64/configure.ac: Moved ...
6839 * sysdeps/x86_64/nptl/configure.ac: ... here.
6840 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
6841 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
6842 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
6843 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
6844 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
6845 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
6846 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
6847 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
6848 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
6849 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
6850 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
6851 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
6852 * nptl/sysdeps/x86_64/tls.h: Moved ...
6853 * sysdeps/x86_64/nptl/tls.h: ... here.
6854 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
6855 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
6856 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
6857 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
6858
6859 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
6860
31c44fea
AZ
68612014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6862
6863 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6864
e81a4f9a
JM
68652014-06-11 Joseph Myers <joseph@codesourcery.com>
6866
6867 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6868 type.
6869 [POSIX] (off_t): Likewise.
6870 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6871 [POSIX] (S_ISBLK): Require macro.
6872 [POSIX] (S_ISCHR): Likewise.
6873 [POSIX] (S_ISDIR): Likewise.
6874 [POSIX] (S_ISFIFO): Likewise.
6875 [POSIX] (S_ISREG): Likewise.
6876 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6877 optional-macro.
6878 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6879 type.
6880 [POSIX] (time_t): Likewise.
6881 [POSIX] (timer_t): Likewise.
6882
89e435f3
FW
68832014-06-11 Florian Weimer <fweimer@redhat.com>
6884
6885 [BZ #17048]
6886 * posix/spawn_int.h (struct __spawn_action): Make the path string
6887 non-const to support deallocation.
6888 * posix/spawn_faction_addopen.c
6889 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6890 * posix/spawn_faction_destroy.c
6891 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
6892 path in all spawn_do_open actions.
6893 * posix/tst-spawn.c (do_test): Exercise the copy operation in
6894 posix_spawn_file_actions_addopen.
6895
c3a2ebe1
CM
68962014-06-11 Chris Metcalf <cmetcalf@tilera.com>
6897
6898 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6899 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6900 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6901 conditional code always true.
6902 (__libc_vfork): New alias.
6903
9503784a
RM
69042014-06-11 Roland McGrath <roland@hack.frob.com>
6905
c9cab3d2
RM
6906 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6907 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6908
d3996c79
RM
6909 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6910
ba5ec611
RM
6911 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6912 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6913
f12b4814
RM
6914 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6915 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6916
9503784a
RM
6917 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6918 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6919
e23d3d26
VR
69202014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6921
6922 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6923 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6924 multiarch strcmp for PPC64.
6925 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6926 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6927 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6928 multiarch optimizations.
6929 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6930 (__libc_ifunc_impl_list): Likewise.
6931
42b1161e
SP
69322014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6933
6934 * benchtests/scripts/validate_benchout.py: New script.
6935 * benchtests/Makefile (bench-func): Call it.
6936 * benchtests/scripts/benchout.schema.json: New file.
6937
2d0fc4dc
CM
69382014-06-10 Chris Metcalf <cmetcalf@tilera.com>
6939
4a594c34
AZ
6940 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6941 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6942 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6943 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6944 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6945 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6946 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6947 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6948 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6949 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6950 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6951 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6952 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6953 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6954 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6955 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6956 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 6957 Moved ...
4a594c34 6958 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 6959 ... here.
4a594c34 6960 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 6961 Moved ...
4a594c34
AZ
6962 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
6963 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 6964 Moved ...
4a594c34 6965 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 6966 ... here.
4a594c34 6967 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 6968 Moved ...
4a594c34 6969 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 6970 ... here.
4a594c34 6971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 6972 Moved ...
4a594c34
AZ
6973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
6974 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 6975 Moved ...
4a594c34 6976 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 6977 ... here.
4a594c34 6978 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 6979 Moved ...
4a594c34 6980 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 6981 ... here.
4a594c34 6982 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 6983 Moved ...
4a594c34
AZ
6984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
6985 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 6986 Moved ...
4a594c34 6987 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 6988 ... here.
4a594c34 6989 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 6990 Moved ...
4a594c34 6991 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 6992 ... here.
4a594c34 6993 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 6994 Moved ...
4a594c34 6995 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 6996 ... here.
4a594c34 6997 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 6998 Moved ...
4a594c34
AZ
6999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
7000 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 7001 Moved ...
4a594c34 7002 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 7003 ... here.
4a594c34 7004 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 7005 Moved ...
4a594c34 7006 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 7007 ... here.
4a594c34 7008 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 7009 Moved ...
4a594c34 7010 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 7011 ... here.
4a594c34 7012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 7013 Moved ...
4a594c34
AZ
7014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
7015 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 7016 Moved ...
4a594c34 7017 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 7018 ... here.
4a594c34 7019 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 7020 Moved ...
4a594c34 7021 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 7022 ... here.
4a594c34 7023 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 7024 Moved ...
4a594c34
AZ
7025 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
7026 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 7027 Moved ...
4a594c34 7028 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 7029 ... here.
4a594c34 7030 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 7031 Moved ...
4a594c34
AZ
7032 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
7033 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 7034 Moved ...
4a594c34
AZ
7035 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
7036 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 7037 Moved ...
4a594c34 7038 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 7039 ... here.
4a594c34 7040 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 7041 Moved ...
4a594c34 7042 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 7043 ... here.
4a594c34 7044 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 7045 Moved ...
4a594c34 7046 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 7047 ... here.
4a594c34 7048 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 7049 Moved ...
4a594c34
AZ
7050 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
7051 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 7052 Moved ...
4a594c34 7053 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 7054 ... here.
4a594c34 7055 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 7056 Moved ...
4a594c34 7057 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 7058 ... here.
4a594c34
AZ
7059 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
7060 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
7061 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
7062 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
7063 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 7064 Moved ...
4a594c34 7065 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 7066 ... here.
4a594c34
AZ
7067 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
7068 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
7069 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
7070 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
7071 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
7072 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
7073 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
7074 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
7075 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
7076 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
7077 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
7078 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
7079 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 7080 Moved ...
4a594c34
AZ
7081 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
7082 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 7083 Moved ...
4a594c34
AZ
7084 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
7085 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
7086 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
7087 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 7088 Moved ...
4a594c34
AZ
7089 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
7090 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
7091 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
7092 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
7093 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
7094 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
7095 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 7096
0570cfed
W
70972014-06-10 Wilco <wdijkstr@arm.com>
7098
7099 * math/test-fenv-return.c: New file.
7100 * math/Makefile: Add new test test-fenv-return.
7101
f8ba1b56
JM
71022014-06-10 Joseph Myers <joseph@codesourcery.com>
7103
7104 [BZ #17042]
7105 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
7106 when x - 1 is zero.
7107 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
7108 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
7109 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
7110 0.0L for an argument of 1.0L.
7111 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
7112 Likewise.
7113 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
7114 value when x - 1 is zero.
7115 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
7116 * sysdeps/i386/fpu/libm-test-ulps: Update.
7117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7118
2c3520d9
BO
71192014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
7120
7121 [BZ #15119]
7122 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
7123
acaa4d24
RM
71242014-06-09 Roland McGrath <roland@hack.frob.com>
7125
7126 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
7127 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
7128
962b744d
RM
71292014-06-09 Roland McGrath <roland@hack.frob.com>
7130
d752f0cc
RM
7131 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7132 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
7133
34eda6d1
RM
7134 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7135 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
7136
50f0a637
RM
7137 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7138 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
7139
08f41f04
RM
7140 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7141 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
7142
962b744d
RM
7143 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
7144 if not already defined.
7145 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
7146 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
7147 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
7148 (TLS_INIT_TP): Use it.
7149 (TLS_DEFINE_INIT_TP): New macro.
7150 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
7151
09f19b05
JM
71522014-06-09 Joseph Myers <joseph@codesourcery.com>
7153
7154 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
7155 constant.
7156 [POSIX] (IXANY): Likewise.
7157 [POSIX] (OLCUC): Likewise.
7158 [POSIX || POSIX2008] (CBAUD): Do not allow.
7159 [POSIX || POSIX2008] (DEFECHO): Likewise.
7160 [POSIX || POSIX2008] (ECHOCTL): Likewise.
7161 [POSIX || POSIX2008] (ECHOKE): Likewise.
7162 [POSIX || POSIX2008] (ECHOPRT): Likewise.
7163 [POSIX || POSIX2008] (EXTA): Likewise.
7164 [POSIX || POSIX2008] (EXTB): Likewise.
7165 [POSIX || POSIX2008] (FLUSHO): Likewise.
7166 [POSIX || POSIX2008] (LOBLK): Likewise.
7167 [POSIX || POSIX2008] (PENDIN): Likewise.
7168 [POSIX || POSIX2008] (SWTCH): Likewise.
7169 [POSIX || POSIX2008] (VDISCARD): Likewise.
7170 [POSIX || POSIX2008] (VDSUSP): Likewise.
7171 [POSIX || POSIX2008] (VLNEXT): Likewise.
7172 [POSIX || POSIX2008] (VREPRINT): Likewise.
7173 [POSIX || POSIX2008] (VSTATUS): Likewise.
7174 [POSIX || POSIX2008] (VWERASE): Likewise.
7175 (B*): Change to B[0123456789]*.
7176 * conform/data/time.h-data [POSIX || UNIX98]
7177 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
7178 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7179 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
7180 [POSIX] (tm_*): Do not allow.
7181
686554bf
JM
71822014-06-07 Joseph Myers <joseph@codesourcery.com>
7183
7184 * Makefile (install): Don't set LANGUAGE.
7185 * Makefile.in (install): Likewise.
7186 * assert/Makefile (test-assert-ENV): Remove variable.
7187 (test-assert-perr-ENV): Likewise.
7188 * elf/Makefile (neededtest4-ENV): Likewise.
7189 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7190 [$(cross-compiling) = no]: Don't set LANGUAGE.
7191 * io/ftwtest-sh (LANG): Remove variable.
7192 * libio/Makefile (tst-widetext-ENV): Likewise.
7193 * manual/install.texi (Running make install): Don't refer to
7194 environment settings for make install.
7195 * INSTALL: Regenerated.
7196 * nptl/tst-tls6.sh: Don't set LANG.
7197 * posix/globtest.sh (LANG): Remove variable.
7198 * string/Makefile (tester-ENV): Likewise.
7199 (inl-tester-ENV): Likewise.
7200 (noinl-tester-ENV): Likewise.
7201 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7202 [$(cross-compiling) = no]: Don't set LANGUAGE.
7203 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
7204 without explicit environment settings.
7205
68e6b6b1
RM
72062014-06-06 Roland McGrath <roland@hack.frob.com>
7207
7208 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
7209 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
7210 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
7211 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
7212
4d3ae034
CM
72132014-06-06 Chris Metcalf <cmetcalf@tilera.com>
7214
7215 * crypt/crypt-private.h [DOS]: Add some includes taken from the
7216 other files in the crypt directory.
7217 * crypt/crypt.c: Remove duplicate includes.
7218 * crypt/crypt-entry.c: Likewise.
7219 * crypt/crypt_util.c: Likewise.
7220
8540f6d2
JM
72212014-06-06 Joseph Myers <joseph@codesourcery.com>
7222
7223 * Makeconfig (run-program-env): New variable.
7224 (run-program-prefix-before-env): Likewise.
7225 (run-program-prefix-after-env): Likewise.
7226 (run-program-prefix): Define in terms of new variables.
7227 (built-program-cmd-before-env): New variable.
7228 (built-program-cmd-after-env): Likewise.
7229 (built-program-cmd): Define in terms of new variables.
7230 (test-program-prefix-before-env): New variable.
7231 (test-program-prefix-after-env): Likewise.
7232 (test-program-prefix): Define in terms of new variables.
7233 (test-program-cmd-before-env): New variable.
7234 (test-program-cmd-after-env): Likewise.
7235 (test-program-cmd): Define in terms of new variables.
7236 * Rules (make-test-out): Use $(run-program-env).
7237 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
7238 (help): Do not mention environment variables. Mention
7239 --timeoutfactor option.
7240 (timeoutfactor): New variable.
7241 (blacklist_exports): Remove function.
7242 (exports): Remove variable.
7243 (command): Do not include ${exports}.
7244 * manual/install.texi (Configuring and compiling): Do not mention
7245 test wrappers preserving environment variables. Mention that last
7246 assignment to a variable must take precedence.
7247 * INSTALL: Regenerated.
7248 * benchtests/Makefile (run-bench): Use $(run-program-env).
7249 * catgets/Makefile ($(objpfx)test1.cat): Use
7250 $(built-program-cmd-before-env), $(run-program-env) and
7251 $(built-program-cmd-after-env).
7252 ($(objpfx)test2.cat): Do not specify environment variables
7253 explicitly.
7254 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
7255 $(run-program-env) and $(built-program-cmd-after-env).
7256 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
7257 $(run-program-env) and $(test-program-cmd-after-env).
7258 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
7259 explicitly.
7260 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
7261 run_program_env and test_program_cmd_after_env arguments.
7262 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
7263 * elf/tst-pathopt.sh: Use run_program_env argument.
7264 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
7265 $(test-wrapper-env) and $(run-program-env).
7266 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
7267 run_program_env arguments.
7268 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
7269 * intl/Makefile ($(objpfx)tst-gettext.out): Use
7270 $(test-program-prefix-before-env), $(run-program-env) and
7271 $(test-program-prefix-after-env).
7272 ($(objpfx)tst-gettext2.out): Likewise.
7273 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
7274 run_program_env and test_program_prefix_after_env arguments.
7275 * intl/tst-gettext2.sh: Likewise.
7276 * intl/tst-gettext4.sh: Do not set environment variables
7277 explicitly.
7278 * intl/tst-gettext6.sh: Likewise.
7279 * intl/tst-translit.sh: Likewise.
7280 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
7281 $(test-program-prefix-before-env), $(run-program-env) and
7282 $(test-program-prefix-after-env).
7283 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
7284 run_program_env and test_program_prefix_after_env arguments.
7285 * math/Makefile (run-regen-ulps): Use $(run-program-env).
7286 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
7287 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
7288 explicitly with each use of ${test_wrapper_env}.
7289 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
7290 $(test-program-prefix-before-env), $(run-program-env) and
7291 $(test-program-prefix-after-env).
7292 * posix/tst-getconf.sh: Do not set environment variables
7293 explicitly.
7294 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
7295 run_program_env and test_program_prefix_after_env arguments.
7296 * stdio-common/tst-printf.sh: Do not set environment variables
7297 explicitly.
7298 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
7299 $(test-program-prefix-before-env), $(run-program-env) and
7300 $(test-program-prefix-after-env).
7301 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
7302 run_program_env and test_program_prefix_after_env arguments.
7303 Split $test calls into $test_pre and $test.
7304 * timezone/Makefile (build-testdata): Use
7305 $(built-program-cmd-before-env), $(run-program-env) and
7306 $(built-program-cmd-after-env).
7307
ed36bfa1
AZ
73082014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7309
7310 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
7311 strlen for non SHARED builds.
7312
fc75bf46
SP
73132014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7314
7315 * nptl/allocatestack.c (check_list): Inlined function...
7316 (__reclaim_stacks): ... here.
7317
d89b3d80
OB
73182014-06-05 Ondřej Bílka <neleai@seznam.cz>
7319
7320 [BZ #15698]
7321 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7322 memory overrun.
7323
2bf18041
JM
73242014-06-05 Joseph Myers <joseph@codesourcery.com>
7325
7326 * Rules (make-test-out): Include
7327 LOCPATH=$(common-objpfx)localedata in default environment.
7328 * debug/Makefile (tst-chk1-ENV): Remove variable.
7329 (tst-chk2-ENV): Likewise.
7330 (tst-chk3-ENV): Likewise.
7331 (tst-chk4-ENV): Likewise.
7332 (tst-chk5-ENV): Likewise.
7333 (tst-chk6-ENV): Likewise.
7334 (tst-lfschk1-ENV): Likewise.
7335 (tst-lfschk2-ENV): Likewise.
7336 (tst-lfschk3-ENV): Likewise.
7337 (tst-lfschk4-ENV): Likewise.
7338 (tst-lfschk5-ENV): Likewise.
7339 (tst-lfschk6-ENV): Likewise.
7340 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
7341 (tst-iconv7-ENV): Likewise.
7342 * intl/Makefile (LOCPATH-ENV): Likewise.
7343 (tst-codeset-ENV): Likewise.
7344 (tst-gettext3-ENV): Likewise.
7345 (tst-gettext5-ENV): Likewise.
7346 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
7347 (tst-fopenloc-ENV): Likewise.
7348 (tst-fgetws-ENV): Remove variable.
7349 (tst-ungetwc1-ENV): Likewise.
7350 (tst-ungetwc2-ENV): Likewise.
7351 (bug-ungetwc2-ENV): Likewise.
7352 (tst-swscanf-ENV): Likewise.
7353 (bug-ftell-ENV): Likewise.
7354 (tst-fgetwc-ENV): Likewise.
7355 (tst-fseek-ENV): Likewise.
7356 (tst-ftell-partial-wide-ENV): Likewise.
7357 (tst-ftell-active-handler-ENV): Likewise.
7358 (tst-ftell-append-ENV): Likewise.
7359 * posix/Makefile (tst-fnmatch-ENV): Likewise.
7360 (tst-regexloc-ENV): Likewise.
7361 (bug-regex1-ENV): Likewise.
7362 (tst-regex-ENV): Likewise.
7363 (tst-regex2-ENV): Likewise.
7364 (bug-regex5-ENV): Likewise.
7365 (bug-regex6-ENV): Likewise.
7366 (bug-regex17-ENV): Likewise.
7367 (bug-regex18-ENV): Likewise.
7368 (bug-regex19-ENV): Likewise.
7369 (bug-regex20-ENV): Likewise.
7370 (bug-regex22-ENV): Likewise.
7371 (bug-regex23-ENV): Likewise.
7372 (bug-regex25-ENV): Likewise.
7373 (bug-regex26-ENV): Likewise.
7374 (bug-regex30-ENV): Likewise.
7375 (bug-regex32-ENV): Likewise.
7376 (bug-regex33-ENV): Likewise.
7377 (bug-regex34-ENV): Likewise.
7378 (bug-regex35-ENV): Likewise.
7379 (tst-rxspencer-ENV): Likewise.
7380 (tst-rxspencer-no-utf8-ENV): Likewise.
7381 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
7382 (tst-sscanf-ENV): Likewise.
7383 (tst-swprintf-ENV): Likewise.
7384 (tst-swscanf-ENV): Likewise.
7385 (test-vfprintf-ENV): Likewise.
7386 (scanf13-ENV): Likewise.
7387 (bug14-ENV): Likewise.
7388 (tst-grouping-ENV): Likewise.
7389 * stdlib/Makefile (tst-strtod-ENV): Likewise.
7390 (tst-strtod3-ENV): Likewise.
7391 (tst-strtod4-ENV): Likewise.
7392 (tst-strtod5-ENV): Likewise.
7393 (testmb2-ENV): Likewise./
7394 * string/Makefile (tst-strxfrm-ENV): Likewise.
7395 (tst-strxfrm2-ENV): Likewise.
7396 (bug-strcoll1-ENV): Likewise.
7397 (test-strcasecmp-ENV): Likewise.
7398 (test-strncasecmp-ENV): Likewise.
7399 * time/Makefile (tst-strptime-ENV): Likewise.
7400 (tst-ftime_l-ENV): Likewise.
7401 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
7402 (tst-mbrtowc-ENV): Likewise.
7403 (tst-wcrtomb-ENV): Likewise.
7404 (tst-mbrtowc2-ENV): Likewise.
7405 (tst-c16c32-1-ENV): Likewise.
7406 (tst-mbsnrtowcs-ENV): Likewise.
7407
cd1fb604
OB
74082014-06-05 Ondřej Bílka <neleai@seznam.cz>
7409
7410 * manual/resource.texi (How to get information about the memory
7411 subsystem?): Fix typo.
7412 Reported by Peon de la Parra Ivan <peon@keba.com>
7413
b42eca7d
GY
74142014-06-03 Guo Yixuan <culu.gyx@gmail.com>
7415
7416 [BZ #16882]
7417 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
7418 (pthread_spin_lock): Branch out of spin loop to proper location.
7419 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
7420 (pthread_spin_lock): Likewise.
7421
902b71f9
DM
7422 * nptl/tst-spin4.c: New test.
7423 * nptl/Makefile (tests): Add tst-spin4.
7424
f9d2d032
AS
74252014-06-03 Andreas Schwab <schwab@suse.de>
7426
7427 [BZ #15946]
7428 * resolv/res_send.c (send_dg): Reload file descriptor after
7429 calling reopen.
7430
cf7bfd28
SL
74312014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
7432
7433 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7434
111cc714
RH
74352014-06-03 Richard Henderson <rth@redhat.com>
7436
89b4bd6b
RH
7437 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
7438 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
7439 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
7440 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
7441 in the SAVE_PID block.
7442 (__libc_vfork): New alias.
71840409 7443 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 7444
111cc714
RH
7445 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
7446 child in registers, not on the stack. Remove RESET_PID conditionals.
7447 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
7448
ccc39911
MS
74492014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
7450
7451 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7452
693096cc
W
74532014-06-03 Wilco <wdijkstr@arm.com>
7454
7455 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
7456 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
7457 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7458 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
7459 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
7460 Likewise.
7461
0b4366bc
W
74622014-06-03 Wilco <wdijkstr@arm.com>
7463
7464 * sysdeps/aarch64/fpu/math_private.h
7465 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
7466 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
7467 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
7468 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7469 Fix declarations.
7470
8747cd03
KS
74712014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7472
7473 * crypt/crypt-private.h: Include ufc-crypt.h.
7474 (__b64_from_24bit): Declare extern.
7475 * crypt/crypt_util.c(__b64_from_24bit): New function.
7476 (b64t): New static const variable.
7477 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
7478 (b64t): Remove variable.
7479 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
7480 * crypt/sha256-crypt.c: Include crypt-private.h.
7481 (b64t): Remove variable.
7482 (__sha256_crypt_r): Remove b64_from_24bit and replace
7483 with __b64_from_24bit.
7484 * crypt/sha512-crypt.c: Likewise.
7485
d936d379
RM
74862014-06-02 Roland McGrath <roland@hack.frob.com>
7487
7488 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
7489 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
7490 Label the code __libc_vfork rather than __vfork.
7491 [!NOT_IN_libc] (vfork): Define as weak alias.
7492 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
7493 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
7494 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
7495
9fa76613
SP
74962014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7497
7498 * malloc/malloc.c (malloc_info): Fix format specifier for
7499 n_mmaps.
7500
a88dadbe
W
75012014-06-02 Wilco <wdijkstr@arm.com>
7502
7503 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
7504 FPCR write.
7505
c95b3011
W
75062014-06-02 Wilco <wdijkstr@arm.com>
7507
7508 [BZ #17009]
7509 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
7510 Rewrite to reduce FPCR/FPSR accesses.
7511
6b4d7a90
DM
75122014-06-01 David S. Miller <davem@davemloft.net>
7513
7514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7515
30f3d07c
DM
75162014-05-31 David S. Miller <davem@davemloft.net>
7517
7518 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
7519 to occur in round to nearest mode when |x| >= 2.0
7520
74f31c18
RH
75212014-05-30 Richard Henderson <rth@twiddle.net>
7522
f0712b54
RH
7523 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
7524 (PSEUDO_RET_NOERRNO): Remove.
7525 (ret): Don't redefine.
7526 (ret_NOERRNO): Define in terms of ret.
7527 (ret_ERRVAL): Likewise.
7528
74f31c18
RH
7529 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
7530 use of PSEUDO_RET; perform the error check directly.
7531
30477995
MM
75322014-05-30 Marko Myllynen <myllynen@redhat.com>
7533
7534 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
7535 with __int128_t.
7536
62a58816
SP
75372014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7538
7539 * malloc/malloc (malloc_info): Fix formatting.
7540
4d653a59
SP
75412014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7542 Roland McGrath <roland@hack.frob.com>
7543
7544 * malloc/malloc (malloc_info): Also print mmapped statistics.
7545
5190c17f
RM
75462014-05-30 Roland McGrath <roland@hack.frob.com>
7547
7548 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
7549 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
7550
987c0269
OB
75512014-05-30 Ondřej Bílka <neleai@seznam.cz>
7552
7553 * malloc/malloc.c (malloc_info): Inline mi_arena.
7554
af4e8ef9
RH
75552014-05-29 Richard Henderson <rth@twiddle.net>
7556
1670e207
RH
7557 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
7558 Remove comma before expanding ASM_ARGS_##nr.
7559 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
7560 Make _x0 a strict output; make _x8 a strict input; adjust expansion
7561 of ASM_ARGS_##nr.
7562 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
7563 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
7564 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
7565 (ASM_ARGS_1): Add leading comma.
7566
11a28aee
RH
7567 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
7568 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
7569 to __errno_location.
7570 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
7571 Remove the expected plt for __errno_location.
7572
a17e5ffb 7573 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 7574 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
7575 call to __read_tp.
7576
b5be4597
RH
7577 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7578 Always allocate 64 bytes of stack frame. Use ldp/stp to create
7579 it and break it down.
7580 (DOCARGS_0, DOCARGS_1): Do nothing.
7581 (DOCARGS_2): Update to store into the new stack frame.
7582 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
7583 (UNDOCARGS_1): Update to restore from the new stack frame.
7584 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
7585 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
7586
645d44ab
RH
7587 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7588 (SINGLE_THREAD_P): New parameter for result regno.
7589 (PSEUDO): Update to match; use cbz instead of beq.
7590
a8b4f04a
RH
7591 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7592 Use ENTRY to define the _nocancel entry point. Share the syscall
7593 and syscall error check paths with the cancel path.
7594 (PSEUDO_END): New.
7595
af4e8ef9
RH
7596 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
7597 whitespace; tabs before and after asm mnemonics.
7598
26b0d2e1
EW
75992014-05-29 Eric Wong <normalperson@yhbt.net>
7600
7601 [BZ #15132]
7602 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7603 Call fstat64 or stat64 internally, depending on arguments passed.
7604 Replace stat buffer argument with file descriptor argument.
7605 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
7606 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7607 Pass fd to __internal_statvfs instead of calling fstat64.
7608 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
7609 Pass fd to __internal_statvfs64 instead of calling fstat64.
7610 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
7611 Pass -1 to __internal_statvfs instead of calling stat64.
7612 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
7613 Pass -1 to __internal_statvfs64 instead of calling stat64.
7614
1efe2bd9
RM
76152014-05-28 Roland McGrath <roland@hack.frob.com>
7616
0d3b7a19
RM
7617 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
7618 that was previously under [RESET_PID].
7619 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
7620
1efe2bd9
RM
7621 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
7622 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
7623
a6bea3ca
RM
76242014-05-27 Roland McGrath <roland@hack.frob.com>
7625
30b6629e
RM
7626 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
7627
a6bea3ca
RM
7628 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
7629 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
7630
3dfb9a5c
OB
76312014-05-27 Ondřej Bílka <neleai@seznam.cz>
7632
7633 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
7634
774f9285
AS
76352014-05-27 Andreas Schwab <schwab@suse.de>
7636
7637 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
7638 TLS_INIT_TP macro.
7639 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7640 * elf/rtld.c (init_tls, dl_main): Likewise.
7641 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
7642 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
7643 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
7644 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
7645 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
7646 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
7647 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
7648 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
7649 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
7650 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
7651 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
7652 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
7653 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
7654 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
7655 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
7656 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
7657 * sysdeps/generic/tls.h: Update description.
7658
36ffe739
WN
76592014-05-27 Will Newton <will.newton@linaro.org>
7660
7661 [BZ #16990]
7662 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
7663 and restore r2 rather than just restoring.
7664
2482ae43
SP
76652014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7666
7667 [BZ #16724]
7668 * libio/tst-ftell-append.c: New test case.
7669 * libio/Makefile (tests): Add test case.
7670 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
7671 append mode.
7672 * libio/wfileops.c (do_ftell_wide): Likewise.
7673
3d1024e8
AZ
76742014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7675
bab90016
AZ
7676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7677
c7a8d667
AZ
7678 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
7679 ...
7680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
7681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7682 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
7683 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
7684 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
7685 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
7686 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
7687 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
7688 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7689 Moved ...
7690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
7691 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7692 Moved ...
7693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
7694 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
7695 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
7696 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
7697 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
7698 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
7699 ...
7700 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
7701 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
7702 Moved ...
7703 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
7704 here.
7705 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
7706 ...
7707 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
7708 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
7709 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
7710
daee7851
AZ
7711 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
7712 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
7713 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
7714 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
7715
50a40819
AZ
7716 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
7717 merge into ...
7718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
7719 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
7720 ...
7721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
7722 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
7723 ...
7724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
7725 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7726 Moved ...
7727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
7728 here.
7729 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7730 Moved ...
7731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
7732 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7733 Moved ...
7734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
7735
8464c2a1
AZ
7736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
7737 conditional [RESET_PID].
7738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7739 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
7740 removed.
7741 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
7742 removed.
7743
3d1024e8
AZ
7744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
7745 <tcb-offsets.h>.
7746 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7747 (__libc_vfork): New strong alias.
7748 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
7749 removed.
7750 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
7751 Removed.
7752
7753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
7754 <tcb-offsets.h>.
7755 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
7756 (__libc_vfork): New strong alias.
7757 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
7758 removed.
7759 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
7760 removed.
7761
fdfd175d
CD
77622014-05-26 Carlos O'Donell <carlos@redhat.com>
7763
7764 * malloc/malloc.c (mi_arena): New function.
7765 (malloc_info): Remove nested function mi_arena. Call non-nosted
7766 function mi_arena.
7767
d298c416
AZ
77682014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7769
7770 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
7771 by insrwi.
7772 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7773 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7774 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
7775 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
7776 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
7777 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
7778 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
7779
b60ea6ff
AS
77802014-05-26 Andreas Schwab <schwab@suse.de>
7781
7782 [BZ #16984]
7783 * locale/programs/repertoire.c (repertoire_read): Add slash
7784 between I18NPATH element and file name.
7785 * locale/programs/locfile.c (locfile_read): Likewise.
7786
67365926
SL
77872014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7788
7789 * nptl/pthread_mutexattr_settype.c
7790 (__pthread_mutexattr_settype):
7791 Disable lock elision for PTHREAD_MUTEX_NORMAL.
7792
f8bdf1f0
SL
77932014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7794
7795 * nptl/tst-mutex5 (do_test):
7796 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
7797
15eaf6ff
SP
77982014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7799
7800 * benchtests/README: Document 'init' directive.
7801 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
7802 BENCH_INIT.
7803 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
7804 (parse_file): Recognize 'init' directive.
7805
75f11331
KM
78062014-05-26 Kyle McMartin <kyle@redhat.com>
7807
7808 [BZ #16796]
7809 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
7810 alignment of struct pthread.
7811
c3ec475c
SP
78122014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7813
7814 [BZ #16878]
7815 * nscd/netgroupcache.c (addgetnetgrentX): Look for
7816 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7817 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
7818 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7819
82aab97c
RH
78202014-05-25 Richard Henderson <rth@twiddle.net>
7821
aa2f176d
RH
7822 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7823 (SINGLE_THREAD_P_PIC): Remove.
7824 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
7825 (SINGLE_THREAD_P_PIC): Remove.
7826
ca3cfa40
RH
7827 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
7828 branch to syscall error ...
7829 (PSEUDO): ... here.
7830 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
7831 from __local_syscall_error to .Lsyscall_error.
7832 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
7833 (SYSCALL_ERROR): Update label name.
7834
6e6c2d01
RH
7835 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7836 Do not use DOARGS/UNDOARGS.
7837 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
7838 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
7839 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
7840 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
7841 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
7842
c69abcee
RH
7843 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
7844 block comment.
7845
82aab97c
RH
7846 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
7847 define if !NOT_IN_libc.
7848 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
7849 define with non-default symbol versions.
7850
8820e3ac
RH
78512014-05-23 Richard Henderson <rth@twiddle.net>
7852
900e445f
RH
7853 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
7854 (vfork, __vfork): Define via compat_symbol.
7855
8820e3ac
RH
7856 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
7857 [!HAVE_IFUNC] (vfork_compat): Remove.
7858 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
7859
e59252a5
JM
78602014-05-23 Joseph Myers <joseph@codesourcery.com>
7861
7862 [BZ #16978]
7863 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
7864 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
7865 variable.
7866
132c7f5f
RH
78672014-05-23 Richard Henderson <rth@twiddle.net>
7868
bc89e962
RH
7869 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7870 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7871 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7872 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7873
7874 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7875 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7876 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7877 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7878 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7879 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7880 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7881 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7882 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7883 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7884 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7885 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7886 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7887 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7888 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7889 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7890 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7891 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7892 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7893 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7894 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7895 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7896 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7897 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7898 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7899 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7900 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7901 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7902 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7903 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7904 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7905 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7906 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7907 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7908 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7909 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7910 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7911 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7912 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7913 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7914 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7915 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7916 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7917 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7918 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7919 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7920 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7921 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7922 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7923 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7924 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7925 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7926 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7927 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7928 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7929 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7930
e2fa4bc2
RH
7931 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7932 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7933 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
7934 before exiting on error.
7935 (__libc_vfork): New strong alias.
7936 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7937 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7938
279b24e2
RH
7939 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7940 that was previously under [RESET_PID].
7941 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7942
132c7f5f
RH
7943 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7944
b72592e7
JM
79452014-05-23 Joseph Myers <joseph@codesourcery.com>
7946
7947 [BZ #16977]
7948 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7949 value when x - 1 is zero.
7950 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7951 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7952 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7953 0.0L for an argument of 1.0L.
7954 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7955 Likewise.
7956 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7957 value when x - 1 is zero.
7958 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7959 * sysdeps/i386/fpu/libm-test-ulps: Update.
7960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7961
2302d679
RV
79622014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7963
7964 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
7965 alphasort and versionsort.
7966
32999d63
AZ
79672014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7968
7969 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
7970 macro.
7971 [copysignf]: Likewise.
7972
019324d0
SP
79732014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7974
7975 * crypt/md5-crypt.c: Fix formatting.
7976
34fff5c2
KS
79772014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7978
7979 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
7980 (b64_from_24bit): New function.
7981
3d2badac
AZ
79822014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7983
7984 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
7985 libc_hidden_builtin_def to ifunc.
7986 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7987 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
7988
f7bb179f 79892014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
7990
7991 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
7992 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
7993
4134b50d
JM
79942014-05-21 Joseph Myers <joseph@codesourcery.com>
7995
bb7d0337
JM
7996 * nscd/Depend (linuxthreads): Remove.
7997 (nptl): Add.
7998 * resolv/Depend (linuxthreads): Remove.
7999 * rt/Depend (linuxthreads): Remove.
8000
4134b50d
JM
8001 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
8002 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
8003 $(common-objpfx)elf/.
8004 (link-libc-before-gnulib): Likewise.
8005 (elfobjdir): Remove variable.
8006 * Makefile (install): Use $(elf-objpfx) instead of
8007 $(common-objpfx)elf/.
8008 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
8009 $(elfobjdir)/.
8010 (link-libc-deps): Likewise.
8011 ($(common-objpfx)libc.so): Likewise.
8012 ($(common-objpfx)linkobj/libc.so): Likewise.
8013 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
8014 instead of $(common-objpfx)elf/.
8015 (symbolic-link-list): Likewise.
8016 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8017 [$(cross-compiling) = no]: Likewise.
8018 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
8019 $(elfobjdir)/.
8020 (static-gnulib-arch): Likewise.
8021 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8022 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
8023 $(common-objpfx)elf/.
8024
3612eb8f
RH
80252014-05-21 Richard Henderson <rth@redhat.com>
8026
a6b3657b
RH
8027 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8028 (SINGLE_THREAD_P): Use the correct width load. Fold
8029 into the ldr offset.
8030
3612eb8f
RH
8031 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
8032 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
8033
175cef41
JM
80342014-05-20 Joseph Myers <joseph@codesourcery.com>
8035
8036 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
8037 (libgcc_s_resume): Use __attribute_used__.
8038 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
8039 Likewise.
8040
e13bccd3
AZ
80412014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8042
8043 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
8044 optimization when used with float constants.
8045
7c112a38
AZ
8046 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8047
ae75a883
AJ
80482014-05-20 Aurelien Jarno <aurelien@aurel32.net>
8049
8050 [BZ #16915]
8051 * locale/nl_langinfo_l.c: Make direct reference to every
8052 _nl_current_CATEGORY symbol.
8053 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
8054 (tests-static): Add tst-langinfo-static.
8055 (tests-special): Add tst-langinfo-static.out.
8056 ($(objpfx)tst-langinfo.out): Redirect output.
8057 ($(objpfx)tst-langinfo-static.out): New.
8058 * localedata/tst-langinfo.sh: Send output to stdout.
8059 * localedata/tst-langinfo-static.c: New file.
8060
4406c41c
AJ
8061 [BZ #16965]
8062 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
8063 when the shift amount is modulo the limb size.
8064
4c0a1e63
RH
80652014-05-20 Richard Henderson <rth@redhat.com>
8066
de9d8f20
RH
8067 [BZ #16967]
8068 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
8069 Change type of sa_flags from unsigned int to int.
8070
4c0a1e63
RH
8071 [BZ #16966]
8072 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
8073
8074 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
8075
a60339aa
WN
80762014-05-20 Will Newton <will.newton@linaro.org>
8077
8078 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8079 Test the return value of the system call in the nocancel case.
8080
7d05a816
YR
80812014-05-20 Will Newton <will.newton@linaro.org>
8082 Yvan Roux <yvan.roux@linaro.org>
8083
8084 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
8085 #include of asm/ptrace.h.
8086 (PTRACE_GET_THREAD_AREA): Remove #undef.
8087 (PTRACE_GETHBPREGS): Likewise.
8088 (PTRACE_SETHBPREGS): Likewise.
8089 (struct user_regs_struct): New structure.
8090 (struct user_fpsimd_struct): New structure.
8091 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
8092 #include of asm/ptrace.h and second #include of sys/user.h.
8093 (PTRACE_GET_THREAD_AREA): Remove #undef.
8094 (PTRACE_GETHBPREGS): Likewise.
8095 (PTRACE_SETHBPREGS): Likewise.
8096 (ELF_NGREG): Use new struct user_regs_struct.
8097 (elf_fpregset_t): Use new struct user_fpsimd_struct.
8098
af121e37
AZ
80992014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8100
8101 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
8102 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
8103
834caf06
JM
81042014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
8105
8106 [BZ #16958]
8107 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
8108 membar to avoid block loads/stores to overlap previous stores.
8109
e184a918
RH
81102014-05-17 Richard Henderson <rth@redhat.com>
8111
8112 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
8113 Create the __##syscall_name##_nocancel entry point.
8114 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
8115 Remove; let the sysdep-cancel.h code create it.
8116
f56c7a6a
DM
81172014-05-17 David S. Miller <davem@davemloft.net>
8118
8119 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
8120 Protect with __USE_GNU.
8121 (TIOCSET_TEMPT): Likewise.
8122 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8123 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
8124 these are already provided in bits/ioctl-types.h
8125
f75616b2
RM
81262014-05-16 Roland McGrath <roland@hack.frob.com>
8127
3edeca86
RM
8128 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
8129 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
8130
f75616b2
RM
8131 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
8132 Use wait4 regardless of [__NR_waitpid].
8133
deb0f7f6
MR
81342014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8135
8136 PR libgcc/60166
8137 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8138 (_FP_NANSIGN_Q): Set the quiet bit.
8139
79520f4b
JM
81402014-05-16 Joseph Myers <joseph@codesourcery.com>
8141
8142 * benchtests/Makefile
8143 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
8144 not $(common-objpfx)math/libm.so.
8145 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
8146 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
8147 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
8148 $(common-objpfx)dlfcn/libdl.so.
8149 ($(objpfx)tst-audit8): Depend on $(libm), not
8150 $(common-objpfx)math/libm.so.
8151 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
8152 not $(common-objpfx)dlfcn/libdl.so.
8153 * math/Makefile
8154 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
8155 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
8156 [$(build-shared) = yes].
8157 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
8158 $(common-objpfx)nptl/libpthread.so.
8159 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
8160 $(common-objpfx)math/libm.so$(libm.so-version) or
8161 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
8162 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
8163 $(common-objpfx)dlfcn/libdl.so.
8164 * setjmp/Makefile (link-libm): Remove variable.
8165 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
8166 * stdio-common/Makefile (link-libm): Remove variable.
8167 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
8168 * stdlib/Makefile (link-libm): Remove variable.
8169 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
8170 ($(objpfx)tst-strtod-round): Likewise.
8171 ($(objpfx)tst-tininess): Likewise.
8172 ($(objpfx)tst-strtod-underflow): Likewise.
8173 ($(objpfx)tst-strtod6): Likewise.
8174 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
8175 $(libdl), not $(common-objpfx)nptl/libpthread.so and
8176 $(common-objpfx)dlfcn/libdl.so.
8177
026b0fe4
AZ
81782014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8179
8180 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
8181 BSD terminal modes definitions.
8182
def4bcb2
RM
81832014-05-16 Roland McGrath <roland@hack.frob.com>
8184
fe39b021
RM
8185 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
8186 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
8187
1d1fc46e 8188 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
8189 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
8190 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
8191 Don't do #include_next.
8192 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
8193 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
8194 Don't do #include_next.
8195 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
8196 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
8197 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
8198 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
8199
c72399fb
AM
82002014-05-16 Allan McRae <allan@archlinux.org>
8201
d51d659d
AM
8202 * po/sv.po: Update Swedish translation from translation project.
8203
c72399fb
AM
8204 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
8205 in sed expression.
8206
d0583c40
AJ
82072014-05-16 Aurelien Jarno <aurelien@aurel32.net>
8208
8209 [BZ #16917]
8210 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
8211 errno if the TIOCGPTN ioctl fails with an error different than
8212 EINVAL.
8213 * login/tst-ptsname.c: New file.
8214 * login/Makefile (tests): Add tst-ptsname.
8215
d16e6ec7
AJ
8216 [BZ #16943]
8217 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
8218 and prlimit64.
8219
cf26a0cb
SP
82202014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8221
8222 [BZ #16849]
8223 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
8224 herrno to return EAI_AGAIN.
8225
5675da1e
RM
82262014-05-14 Roland McGrath <roland@hack.frob.com>
8227
a5d87b3d
RM
8228 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
8229 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
8230 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
8231 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
8232 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
8233 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
8234 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
8235 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
8236 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
8237 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
8238 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
8239 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
8240 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
8241 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
8242 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
8243 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
8244 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
8245 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
8246 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
8247 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
8248 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
8249 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
8250 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
8251 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
8252 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
8253 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
8254 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
8255 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
8256 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
8257 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
8258 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
8259 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
8260 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
8261 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
8262 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8263 Moved ...
8264 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
8265 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
8266 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
8267 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
8268 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
8269 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
8270 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
8271 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
8272 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
8273 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
8274 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
8275 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
8276 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
8277 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
8278 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
8279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
8280 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
8281 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
8282 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
8283 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
8284 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
8285 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
8286 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
8287 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
8288 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
8289 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
8290 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
8291 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8292 Moved ...
8293 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
8294 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
8295 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
8296 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
8297 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
8298 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
8299 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
8300 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
8301 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
8302 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
8303 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
8304 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
8305 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
8306 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
8307 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
8308 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
8309 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
8310 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
8311 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
8312 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8313 Moved ...
8314 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
8315 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
8316 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
8317
039890a6
RM
8318 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
8319 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
8320 (libpthread-sysdep_routines): Add elision-related stuff here instead.
8321 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
8322 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
8323 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
8324 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
8325 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
8326 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
8327 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
8328 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
8329 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
8330 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
8331 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
8332 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
8333 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
8334 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
8335 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
8336 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
8337 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
8338 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
8339 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
8340 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
8341 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
8342 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
8343 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
8344 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
8345 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
8346 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
8347 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
8348 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
8349
65c89320
RM
8350 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
8351 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
8352
348f8e8c
RM
8353 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
8354 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
8355 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
8356 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
8357 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
8358 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
8359 Moved ...
8360 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
8361 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
8362 Moved ...
8363 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
8364 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
8365 Moved ...
8366 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
8367 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
8368 Moved ...
8369 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
8370 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
8371 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
8372 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
8373 Moved ...
8374 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
8375 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
8376 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
8377 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
8378 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
8379 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
8380 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
8381 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
8382 Moved ...
8383 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
8384 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8385 Moved ...
8386 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8387 ... here.
8388 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
8389 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
8390 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
8391 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
8392 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8393 Moved ...
8394 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8395 ... here.
8396 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
8397 Moved ...
8398 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
8399 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
8400 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
8401 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
8402 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
8403 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
8404 Moved ...
8405 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
8406 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
8407 Moved ...
8408 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
8409 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
8410 Moved ...
8411 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
8412 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
8413 Moved ...
8414 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
8415 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
8416 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
8417 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
8418 Moved ...
8419 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
8420 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
8421 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
8422 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
8423 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
8424 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
8425 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
8426 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
8427 Moved ...
8428 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
8429 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8430 Moved ...
8431 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8432 ... here.
8433 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
8434 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
8435 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
8436 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
8437 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8438 Moved ...
8439 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8440 ... here.
8441 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
8442 Moved ...
8443 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
8444 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
8445 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
8446 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
8447 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
8448 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
8449 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
8450 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
8451 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
8452 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
8453 Moved ...
8454 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
8455 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
8456 Moved ...
8457 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
8458 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
8459 Moved ...
8460 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
8461 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
8462 Moved ...
8463 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
8464 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
8465 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
8466 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
8467 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
8468 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
8469 Moved ...
8470 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
8471 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
8472 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
8473 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
8474 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
8475 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
8476 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
8477 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
8478 Moved ...
8479 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
8480 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8481 Moved ...
8482 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8483 ... here.
8484 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
8485 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
8486 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
8487 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
8488 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8489 Moved ...
8490 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8491 ... here.
8492 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
8493 Moved ...
8494 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
8495 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
8496 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
8497 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
8498 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
8499 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
8500 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
8501 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
8502 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
8503 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
8504 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
8505
5085af05
RM
8506 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
8507 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
8508
708f0813
RM
8509 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
8510 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
8511
c96067bc
RM
8512 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
8513 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
8514 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
8515 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
8516 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
8517 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
8518 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
8519 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
8520 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
8521 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
8522 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
8523 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
8524 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
8525 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
8526 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
8527 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
8528 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
8529 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
8530 Moved ...
8531 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
8532 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
8533 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
8534 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
8535 Moved ...
8536 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
8537 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
8538 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
8539 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
8540 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
8541 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
8542 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
8543 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
8544 Moved ...
8545 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
8546 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
8547 Moved ...
8548 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
8549 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
8550 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
8551 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
8552 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
8553 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
8554 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
8555 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
8556 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
8557 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
8558 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
8559 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
8560 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
8561 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
8562 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
8563 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
8564 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
8565
ec136444
RM
8566 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
8567 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
8568 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
8569 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
8570 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
8571
2fbdf533
RM
8572 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
8573 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
8574 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
8575 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
8576 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
8577 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
8578 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
8579 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
8580 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
8581 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
8582
4c68138b
RM
8583 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
8584 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
8585
4eaae765
RM
8586 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
8587 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
8588 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
8589 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
8590 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
8591 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
8592 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
8593 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
8594 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
8595 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
8596 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
8597 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
8598 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
8599 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
8600 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
8601 Update #include.
8602 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
8603 Likewise.
8604 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8605 Likewise.
8606 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8607 Likewise.
8608 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8609 Likewise.
8610 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
8611 Likewise.
8612 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
8613 Likewise.
8614 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8615 Likewise.
8616 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
8617 Likewise.
8618 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
8619 Likewise.
4ef6befa
RM
8620 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
8621 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
8622 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
8623 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
8624 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
8625 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
8626 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
8627 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
8628 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
8629 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
8630 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
8631 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
8632 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
8633 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
8634 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 8635
941d7dfd
RM
8636 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
8637 that was previously under [RESET_PID].
8638 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8639 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
8640 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
8641
1b731c35
RM
8642 * sysdeps/i386/nptl/Implies: New file.
8643 * sysdeps/x86_64/nptl/Implies: New file.
8644 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
8645 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
8646 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
8647 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
8648
e2787137
RM
8649 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
8650 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8651 (__libc_vfork): New strong alias.
8652 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
8653 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
8654
8655 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
8656 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8657 (__libc_vfork): New strong alias.
8658 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
8659 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
8660
5675da1e
RM
8661 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
8662 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8663 (__libc_vfork): New strong alias.
8664 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
8665 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
8666 * nptl/pt-vfork.c: New file.
8667 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
8668 (libpthread: GLIBC_2.20): New version set (empty).
8669
4f02e2b8
WN
86702014-05-14 Will Newton <will.newton@linaro.org>
8671
8672 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
8673 rather than #if.
8674
0bf061d3
JM
86752014-05-14 Joseph Myers <joseph@codesourcery.com>
8676
1a84c3d6
JM
8677 [BZ #16564]
8678 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
8679 arguments with exponent 65 or above.
8680 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
8681 arguments 0x1p113L or above.
8682 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
8683 to arguments 0x1p107L or above.
8684 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
8685 positive arguments with exponent 65 or above.
8686 * math/auto-libm-test-in: Add more tests of log1p.
8687 * math/auto-libm-test-out: Regenerated.
8688
01dbacd2
JM
8689 [BZ #16928]
8690 * math/s_cacos.c (__cacos): Ensure zero real part of result from
8691 non-finite arguments is +0.
8692 * math/s_cacosf.c (__cacosf): Likewise.
8693 * math/s_cacosl.c (__cacosl): Likewise.
8694 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
8695 * sysdeps/i386/fpu/libm-test-ulps: Update.
8696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8697
913d03c8
JM
8698 [BZ #16927]
8699 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
8700 value.
8701 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8702 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
8703 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
8704 for explicit high bit of mantissa when testing for argument equal
8705 to 1.
8706 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
8707 * sysdeps/i386/fpu/libm-test-ulps: Update.
8708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8709
0bf061d3
JM
8710 [BZ #16516]
8711 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
8712 (__erf): Scale by 16 instead of 8 in potentially underflowing
8713 case. Ensure exception if result actually underflows.
8714 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
8715 (__erff): Scale by 16 instead of 8 in potentially underflowing
8716 case. Ensure exception if result actually underflows.
8717 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
8718 (efx8): Remove variable.
8719 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8720 case. Ensure exception if result actually underflows.
8721 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
8722 (efx8): Remove variable.
8723 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8724 case. Ensure exception if result actually underflows.
8725 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
8726 (efx8): Remove variable.
8727 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8728 case. Ensure exception if result actually underflows.
8729 * math/auto-libm-test-in: Add more tests of erf.
8730 * math/auto-libm-test-out: Regenerated.
8731
73ba67cb
AS
87322014-05-14 Andreas Schwab <schwab@suse.de>
8733
3d8c8bff
AS
8734 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
8735 Remove code conditionalized on USE___THREAD.
8736
73ba67cb
AS
8737 * config.h.in (HAVE_PT_CHOWN): Define as 0.
8738 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
8739 not definedness.
8740
5c521ecd
JM
87412014-05-14 Joseph Myers <joseph@codesourcery.com>
8742
5e7698c6
JM
8743 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
8744 Define unconditionally.
8745 (__ASSUME_O_CLOEXEC): Likewise.
8746 (__ASSUME_SOCK_CLOEXEC): Likewise.
8747 (__ASSUME_IN_NONBLOCK): Likewise.
8748 (__ASSUME_PIPE2): Likewise.
8749 (__ASSUME_EVENTFD2): Likewise.
8750 (__ASSUME_SIGNALFD4): Likewise.
8751 (__ASSUME_DUP3): Likewise.
8752 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8753 (__ASSUME_DUP3): Do not define.
8754 (__ASSUME_EVENTFD2): Likewise.
8755 (__ASSUME_IN_NONBLOCK): Likewise.
8756 (__ASSUME_O_CLOEXEC): Likewise.
8757 (__ASSUME_PIPE2): Likewise.
8758 (__ASSUME_SIGNALFD4): Likewise.
8759 (__ASSUME_SOCK_CLOEXEC): Likewise.
8760 (__ASSUME_UTIMES): Undefine.
8761 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8762 (__ASSUME_UTIMES): Do not define.
8763 (__ASSUME_O_CLOEXEC): Likewise.
8764 (__ASSUME_SOCK_CLOEXEC): Likewise.
8765 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
8766 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
8767 0x020621].
8768 (__ASSUME_PIPE2): Likewise.
8769 (__ASSUME_EVENTFD2): Likewise.
8770 (__ASSUME_SIGNALFD4): Likewise.
8771 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
8772 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
8773 Do not define.
8774 (__ASSUME_EVENTFD2): Likewise.
8775 (__ASSUME_SIGNALFD4): Likewise.
8776 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8777 (__ASSUME_32BITUIDS): Likewise.
8778 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8779 (__ASSUME_IPC64): Likewise.
8780 (__ASSUME_ST_INO_64_BIT): Likewise.
8781 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
8782 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
8783 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8784 (__ASSUME_UTIMES): Do not define.
8785 (__ASSUME_PSELECT): Likewise.
8786 (__ASSUME_PPOLL): Likewise.
8787 (__ASSUME_O_CLOEXEC): Likewise.
8788 (__ASSUME_SOCK_CLOEXEC): Likewise.
8789 (__ASSUME_IN_NONBLOCK): Likewise.
8790 (__ASSUME_PIPE2): Likewise.
8791 (__ASSUME_EVENTFD2): Likewise.
8792 (__ASSUME_SIGNALFD4): Likewise.
8793 (__ASSUME_DUP3): Likewise.
8794 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8795 (__ASSUME_UTIMES): Likewise.
8796 (__ASSUME_O_CLOEXEC): Likewise.
8797 (__ASSUME_SOCK_CLOEXEC): Likewise.
8798 (__ASSUME_IN_NONBLOCK): Likewise.
8799 (__ASSUME_PIPE2): Likewise.
8800 (__ASSUME_EVENTFD2): Likewise.
8801 (__ASSUME_SIGNALFD4): Likewise.
8802 (__ASSUME_DUP3): Likewise.
8803 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8804 (__ASSUME_UTIMES): Likewise.
8805 (__ASSUME_O_CLOEXEC): Likewise.
8806 (__ASSUME_SOCK_CLOEXEC): Likewise.
8807 (__ASSUME_IN_NONBLOCK): Likewise.
8808 (__ASSUME_PIPE2): Likewise.
8809 (__ASSUME_EVENTFD2): Likewise.
8810 (__ASSUME_SIGNALFD4): Likewise.
8811 (__ASSUME_DUP3): Likewise.
8812 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
8813 Likewise.
8814 (__ASSUME_UTIMES): Likewise.
8815 (__ASSUME_EVENTFD2): Likewise.
8816 (__ASSUME_SIGNALFD4): Likewise.
8817 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8818 (__ASSUME_O_CLOEXEC): Likewise.
8819 (__ASSUME_SOCK_CLOEXEC): Likewise.
8820 (__ASSUME_IN_NONBLOCK): Likewise.
8821 (__ASSUME_PIPE2): Likewise.
8822 (__ASSUME_EVENTFD2): Likewise.
8823 (__ASSUME_SIGNALFD4): Likewise.
8824 (__ASSUME_DUP3): Likewise.
8825 (__ASSUME_UTIMES): Undefine.
8826
5c521ecd
JM
8827 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
8828 feclearexcept. Remove symbol versioning code.
8829 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
8830 symbol versioning code.
8831 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
8832 symbol versioning code.
8833 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
8834 feupdateenv. Remove symbol versioning code.
8835 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
8836 fegetexceptflag. Remove symbol versioning code.
8837 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
8838 fesetexceptflag. Remove symbol versioning code.
8839 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
8840 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
8841 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
8842 (__posix_fadvise64_l32): Remove prototype.
8843 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
8844 code.
8845
5da9dfad
RM
88462014-05-13 Roland McGrath <roland@hack.frob.com>
8847
8848 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
8849 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
8850 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
8851 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
8852
893b4f37
SK
88532014-05-13 Sami Kerola <kerolasa@iki.fi>
8854
8855 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
8856 current working directory
8857
e0db6517
RM
88582014-05-13 Roland McGrath <roland@hack.frob.com>
8859
58aa195d
RM
8860 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
8861 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
8862 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
8863 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
8864 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
8865 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
8866 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
8867 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
8868 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8869 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8870 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8871 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8872 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8873 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8874 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8875 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8876 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8877 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8878 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8879 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8880 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8881 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8882 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8883 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8884 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8885 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8886 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8887 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8888 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8889 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8890 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8891 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8892 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8893 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8894 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8895 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8896 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8897 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8898 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8899 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8900 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8901 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8902
8c6d01f0
RM
8903 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8904 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8905
8906 * sysdeps/unix/sysv/linux/arm/Makefile
8907 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8908 Add rt-aeabi_unwind_cpp_pr1.
8909 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8910 Add nptl-aeabi_unwind_cpp_pr1.
8911 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8912 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8913 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8914 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8915 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8916 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8917
8918 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8919 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8920 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8921 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8922
bba6da4e
RM
8923 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8924 Deconditionalize the code that was previously under [RESET_PID].
8925 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8926
e0db6517
RM
8927 * sysdeps/generic/exit-thread.h: New file.
8928 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8929 * include/unistd.h (__exit_thread): Remove declaration.
8930 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8931 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8932 * csu/libc-start.c: Include <exit-thread.h>.
8933 (LIBC_START_MAIN): Pass no argument to __exit_thread.
8934 * nptl/pthread_create.c: Include <exit-thread.h>.
8935 (start_thread): Call __exit_thread in place of __exit_thread_inline.
8936 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8937 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8938 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8939 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8940 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8941 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8942 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8943 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8944 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8945 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8946 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8947 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8948 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8949 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8950 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8951 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8952
01eb16fd
AS
89532014-05-13 Andreas Schwab <schwab@suse.de>
8954
8955 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8956
637461d9
JM
89572014-05-12 Joseph Myers <joseph@codesourcery.com>
8958
8959 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8960 (__ASSUME_UTIMES): Do not condition on kernel version.
8961 (__ASSUME_PSELECT): Define unconditionally.
8962 (__ASSUME_PPOLL): Likewise.
8963 (__ASSUME_ATFCTS): Likewise.
8964 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
8965 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
8966 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
8967 (__ASSUME_UTIMENSAT): Define unconditionally.
8968 (__ASSUME_PRIVATE_FUTEX): Likewise.
8969 (__ASSUME_FALLOCATE): Likewise.
8970 (__ASSUME_O_CLOEXEC): Likewise.
8971 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
8972 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
8973 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
8974 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
8975 (__ASSUME_IN_NONBLOCK): Likewise.
8976 (__ASSUME_PIPE2): Likewise.
8977 (__ASSUME_EVENTFD2): Likewise.
8978 (__ASSUME_SIGNALFD4): Likewise.
8979 (__ASSUME_DUP3): Likewise.
8980 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8981 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
8982 (__ASSUME_AT_RANDOM): Likewise.
8983 (__ASSUME_PREADV): Likewise.
8984 (__ASSUME_PWRITEV): Likewise.
8985 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
8986 (__ASSUME_F_GETOWN_EX): Define unconditionally.
8987 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
8988 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8989 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
8990 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8991 (__ASSUME_O_CLOEXEC): Define unconditionally.
8992 (__ASSUME_PSELECT): Do not undefine conditionally.
8993 (__ASSUME_PPOLL): Likewise.
8994 (__ASSUME_ATFCTS): Likewise.
8995 (__ASSUME_SET_ROBUST_LIST): Likewise.
8996 (__ASSUME_UTIMENSAT): Likewise.
8997 (__ASSUME_FDATASYNC): Define unconditionally.
8998 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8999 (__ASSUME_SIGFRAME_V2): Likewise.
9000 )__ASSUME_EVENTFD2): Likewise.
9001 (__ASSUME_SIGNALFD4): Likewise.
9002 (__ASSUME_PSELECT): Do not undefine conditionally.
9003 (__ASSUME_PPOLL): Likewise.
9004 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9005 (__ASSUME_PSELECT): Define unconditionally.
9006 (__ASSUME_PPOLL): Likewise.
9007 (__ASSUME_O_CLOEXEC): Likewise.
9008 (__ASSUME_SOCK_CLOEXEC): Likewise.
9009 (__ASSUME_IN_NONBLOCK): Likewise.
9010 (__ASSUME_PIPE2): Likewise.
9011 (__ASSUME_EVENTFD2): Likewise.
9012 (__ASSUME_SIGNALFD4): Likewise.
9013 (__ASSUME_DUP3): Likewise.
9014 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9015 (__ASSUME_O_CLOEXEC): Likewise.
9016 (__ASSUME_SOCK_CLOEXEC): Likewise.
9017 (__ASSUME_IN_NONBLOCK): Likewise.
9018 (__ASSUME_PIPE2): Likewise.
9019 (__ASSUME_EVENTFD2): Likewise.
9020 (__ASSUME_SIGNALFD4): Likewise.
9021 (__ASSUME_DUP3): Likewise.
9022 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9023 (__ASSUME_EVENTFD2): Likewise.
9024 (__ASSUME_SIGNALFD4): Likewise.
9025 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9026
315eb1d8
AS
90272014-05-12 Andreas Schwab <schwab@suse.de>
9028
9029 [BZ #16932]
9030 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
9031 (_nss_nis_gethostbyname4_r): Return error if item length is larger
9032 than maximum RPC packet size.
9033 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
9034 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
9035 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
9036 (_nss_nis_getservbyport_r): Likewise.
9037
91df99f7
WN
90382014-05-12 Will Newton <will.newton@linaro.org>
9039
9040 * malloc/Makefile (tests): Add tst-mallopt.
9041 * malloc/tst-mallopt.c: New file.
9042
0a982a29
RM
90432014-05-09 Roland McGrath <roland@hack.frob.com>
9044
9045 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
9046 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
9047
0ded08a5
AZ
90482014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9049
9050 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
9051 (tst-tlsmod6.so): Likewise.
9052
55d4d550
RM
90532014-05-09 Roland McGrath <roland@hack.frob.com>
9054
9055 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
9056
77d08aca
JM
90572014-05-09 Joseph Myers <joseph@codesourcery.com>
9058
9059 [BZ #16064]
9060 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
9061 and <dl-procinfo.h>.
9062 (__fegetenv): Save SSE state in envp->__eip if supported.
9063 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
9064 envp->__eip if supported.
9065 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
9066 and <dl-procinfo.h>.
9067 (__fesetenv): Always set __eip, __cs_selector, __opcode,
9068 __data_offset and __data_selector in environment to 0. Set SSE
9069 state if supported.
9070 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9071 test-fenv-sse.
9072 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
9073 -mfpmath=sse.
9074 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
9075
28162f4d
WN
90762014-05-09 Will Newton <will.newton@linaro.org>
9077
9078 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
9079 and libc_relro_required for ARM.
9080 * sysdeps/arm/preconfigure: Regenerate.
9081
5a414ff7
DV
90822014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
9083 Stefan Liebler <stli@linux.vnet.ibm.com>
9084
9085 * config.make.in (enable-lock-elision): New Makefile variable.
9086 * configure.ac: Likewise.
9087 * configure: Regenerate.
9088 * sysdeps/s390/configure.ac:
9089 Add check for gcc transactions support.
9090 * sysdeps/s390/configure: Regenerate.
9091 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
9092 Build elision files if enabled.
9093 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
9094 Add lock elision support for s390.
9095 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
9096 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
9097 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
9098 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9099 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
9100 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
9101 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9102 Likewise.
9103 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
9104 Likewise.
9105 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
9106 Likewise.
9107 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
9108 Likewise.
9109 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
9110 (__lll_timedlock_elision, __lll_lock_elision)
9111 (__lll_unlock_elision, __lll_trylock_elision)
9112 (lll_timedlock_elision, lll_lock_elision)
9113 (lll_unlock_elision, lll_trylock_elision): Add.
9114 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9115 (pthread_mutex_t): Add lock elision support for s390.
9116
1a2f40e5
W
91172014-05-14 Wilco <wdijkstr@arm.com>
9118
9119 * sysdeps/arm/fclrexcpt.c: Cleanup.
9120 * sysdeps/arm/fedisblxcpt.c: Cleanup.
9121 * sysdeps/arm/feenablxcpt.c: Cleanup.
9122 * sysdeps/arm/fegetenv.c: Cleanup.
9123 * sysdeps/arm/fegetexcept.c: Cleanup.
9124 * sysdeps/arm/fegetround.c: Cleanup.
9125 * sysdeps/arm/feholdexcpt.c: Cleanup.
9126 * sysdeps/arm/fesetenv.c: Cleanup.
9127 * sysdeps/arm/fesetround.c: Cleanup.
9128 * sysdeps/arm/feupdateenv.c: Cleanup.
9129 * sysdeps/arm/fgetexcptflg.c: Cleanup.
9130 * sysdeps/arm/fraiseexcpt.c: Cleanup.
9131 * sysdeps/arm/fsetexcptflg.c: Cleanup.
9132 * sysdeps/arm/ftestexcept.c: Cleanup.
9133 * sysdeps/arm/get-rounding-mode.h: Cleanup.
9134 * sysdeps/arm/setfpucw.c: Cleanup.
9135
f63c86fe
WN
91362014-05-09 Will Newton <will.newton@linaro.org>
9137
9138 * sysdeps/arm/armv7/strcmp.S: New file.
9139 * NEWS: Mention addition of ARMv7 optimized strcmp.
9140
7a1a51b5
RM
91412014-05-08 Roland McGrath <roland@hack.frob.com>
9142
95afbbe5
RM
9143 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
9144 look for %.ac rather than %.in.
9145
9146 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
9147 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
9148 * sysdeps/mach/hurd/configure: Regenerated.
9149 * sysdeps/unix/sysv/linux/configure: Regenerated.
9150
7a1a51b5
RM
9151 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
9152
5057ad3b
SE
91532014-05-07 Steve Ellcey <sellcey@mips.com>
9154
9155 [BZ# 16922]
9156 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
9157 (LONG_SUB): Ditto.
9158 (PTR_SUB): Ditto.
9159
8dc97517
AS
91602014-05-07 Andreas Schwab <schwab@suse.de>
9161
9162 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
9163 when skipping over non-matching result from nscd.
9164
ce0c5b8f
OB
91652014-05-07 Ondřej Bílka <neleai@seznam.cz>
9166
9167 [BZ #16876]
9168 * nptl/sockperf.c (client): Check socket return value.
8dc97517 9169
a1189263
OB
9170 [BZ #16877]
9171 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
9172 nscd security class.
ce0c5b8f 9173
0f58d252
RM
91742014-05-06 Roland McGrath <roland@hack.frob.com>
9175
9176 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
9177 * sysdeps/arm/unwind.h: ... here.
9178
83df9ad0
AJ
91792014-05-06 Aurelien Jarno <aurelien@aurel32.net>
9180
ce0c5b8f
OB
9181 [BZ# 16916]
9182 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
9183 Define.
83df9ad0 9184
f360f94a
VR
91852014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9186
9187 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
9188 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
9189 multiarch strncpy for PPC64.
9190 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
9191 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
9192 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
9193 multiarch optimizations.
9194 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9195 (__libc_ifunc_impl_list): Likewise.
9196 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
9197 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
9198 multiarch stpncpy for PPC64.
9199 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
9200 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
9201
978a41c3
AS
92022014-05-06 Andreas Schwab <schwab@suse.de>
9203
9204 [BZ #16912]
9205 * gmon/mcount.c (_MCOUNT_DECL): Use
9206 atomic_compare_and_exchange_bool_acq instead of
9207 catomic_compare_and_exchange_bool_acq.
9208
eb1ed03d
RM
92092014-05-05 Roland McGrath <roland@hack.frob.com>
9210
fe658845
RM
9211 * elf/Makefile (others, install-bin): Remove pldd.
9212 (pldd-modules): Variable removed.
9213 ($(objpfx)pldd): Target removed.
9214 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
9215 (others, install-bin): Append pldd here.
9216 ($(objpfx)pldd): New target.
9217
eb1ed03d
RM
9218 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
9219 to 0, so the first #if test emitted later doesn't see it undefined.
9220 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
9221 * sysdeps/gnu/errlist.c: Regenerated.
9222
19c4bec0
AZ
92232014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9224
9225 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9226 [libc_hidden_builtin_def]: Define to empty value.
9227 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
9228 [libc_hidden_builtin_def]: Likewise.
9229 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
9230 [libc_hidden_builtin_def]: Likewise.
9231 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
9232 [libc_hidden_builtin_def]: Likewise.
9233 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
9234 __redirect_memcpy and define ifunc as default hidden symbol.
9235 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
9236 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
9237
7776e669
AC
92382014-05-04 Adam Conrad <adconrad@0c3.net>
9239
9240 * locale/iso-4217.def: Reintroduce XDR currency.
9241
d69aeb12
AM
92422014-05-04 Allan McRae <allan@archlinux.org>
9243
9244 * po/eo.po: Update Esperanto translation from translation project.
9245
8f1df5cf
CD
92462014-05-02 Carlos O'Donell <carlos@redhat.com>
9247
9248 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
9249 and FEATURE_INDEX_MAX to 1.
9250 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
9251
13e402e7
SE
92522014-05-01 Steve Ellcey <sellcey@mips.com>
9253
9254 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
9255 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
9256 * iconvdata/big5.c (ONE_DIRECTION): Define.
9257 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
9258 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
9259 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
9260 * iconvdata/cp932.c (ONE_DIRECTION): Define.
9261 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
9262 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
9263 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
9264 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
9265 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
9266 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
9267 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
9268 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
9269 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
9270 * iconvdata/gbk.c (ONE_DIRECTION): Define.
9271 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
9272 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
9273 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
9274 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
9275 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
9276 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
9277 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
9278 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
9279 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
9280 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
9281 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
9282 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
9283 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
9284 * iconvdata/iso646.c (ONE_DIRECTION): Define.
9285 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
9286 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
9287 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
9288 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
9289 * iconvdata/johab.c (ONE_DIRECTION): Define.
9290 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
9291 * iconvdata/sjis.c (ONE_DIRECTION): Define.
9292 * iconvdata/t.61.c (ONE_DIRECTION): Define.
9293 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
9294 * iconvdata/tscii.c (ONE_DIRECTION): Define.
9295 * iconvdata/uhc.c (ONE_DIRECTION): Define.
9296 * iconvdata/unicode.c (ONE_DIRECTION): Define.
9297 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
9298 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
9299 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
9300
c727f032
RM
93012014-05-01 Roland McGrath <roland@hack.frob.com>
9302
8f2f08d0
RM
9303 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
9304 (_IO_JUMPS_OFFSET): Define to 0.
9305
c727f032
RM
9306 * nptl/sysdeps/pthread/bits/libc-lock.h
9307 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9308 (__libc_lock_define_initialized_recursive): Always define using
9309 initializer. Modern compilers treat uninitialized (implicit zero) and
9310 explicit zero initializers the same (i.e. put the datum in bss).
9311
a849e800
AS
93122014-05-01 Andreas Schwab <schwab@linux-m68k.org>
9313
9314 * nscd/nscd-client.h: Include <string.h>.
9315
5331255b
DM
93162014-05-01 David S. Miller <davem@davemloft.net>
9317
9318 [BZ #16885]
9319 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
9320 multiple zero bytes exist at the end of a string.
9321 Reported by Aurelien Jarno <aurelien@aurel32.net>
9322
9323 * string/test-strcmp.c (check): Add explicit test for situations where
9324 there are multiple zero bytes after the first.
9325
4fdfe821
AS
93262014-05-01 Andreas Schwab <schwab@linux-m68k.org>
9327
9328 [BZ #16890]
9329 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
9330 when compiling wprintf.
9331 * stdio-common/tstdiomisc.c (t3): New function.
9332 (main): Call it.
9333
0cdddc25
SE
93342014-05-01 Steve Ellcey <sellcey@mips.com>
9335
9336 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
9337 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
9338 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
9339 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
9340
6426d77e
SE
93412014-05-01 Steve Ellcey <sellcey@mips.com>
9342
9343 * stdlib/longlong.h: Updated from GCC.
9344
6d96f5e4
WN
93452014-05-01 Will Newton <will.newton@linaro.org>
9346 Bernard Ogden <bernie.ogden@linaro.org>
9347
7470db0c
WN
9348 * NEWS: Update fixed bug list.
9349
6d96f5e4
WN
9350 [BZ #15119]
9351 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
9352
211d653c
DM
93532014-04-30 David S. Miller <davem@davemloft.net>
9354
4fa262fa
DM
9355 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
9356 (libc_feholdexcept_setround_sparc_ctx): New function.
9357 (libc_fesetenv_sparc_ctx): Likewise.
9358 (libc_feupdateenv_sparc_ctx): Likewise.
9359 (libc_feholdsetround_sparc_ctx): Likewise.
9360 (libc_feholdexcept_setround_ctx): Define.
9361 (libc_feholdexcept_setroundf_ctx): Likewise.
9362 (libc_feholdexcept_setroundl_ctx): Likewise.
9363 (libc_fesetenv_ctx): Likewise.
9364 (libc_fesetenvf_ctx): Likewise.
9365 (libc_fesetenvl_ctx): Likewise.
9366 (libc_feupdateenv_ctx): Likewise.
9367 (libc_feupdateenvf_ctx): Likewise.
9368 (libc_feupdateenvl_ctx): Likewise.
9369 (libc_feresetround_ctx): Likewise.
9370 (libc_feresetroundf_ctx): Likewise.
9371 (libc_feresetroundl_ctx): Likewise.
9372 (libc_feholdsetround_ctx): Likewise.
9373 (libc_feholdsetroundf_ctx): Likewise.
9374 (libc_feholdsetroundl_ctx): Likewise.
9375
1d3d93ef
DM
9376 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9377 with __USE_GNU instead of XOPEN cpp guards.
9378
8aa583c3
DM
9379 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
9380 0.
9381
211d653c
DM
9382 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9383 with XOPEN cpp guards.
9384
60c8f1f6
JB
93852014-04-30 Julian Brown <julian@codesourcery.com>
9386
9387 [BZ #16888]
9388 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
9389 handling.
9390
9a461d46
JM
93912014-04-30 Joseph Myers <joseph@codesourcery.com>
9392
d0f5b3f8
JM
9393 [BZ #9894]
9394 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
9395 Change to 2.6.32.
9396 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
9397 * sysdeps/unix/sysv/linux/configure: Regenerated.
9398 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
9399 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
9400 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
9401 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
9402 * README: Update reference to required Linux kernel version.
9403 * manual/install.texi (Linux): Update reference to required Linux
9404 kernel headers version.
9405 * INSTALL: Regenerated.
9406
9a461d46
JM
9407 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
9408 header inclusion.
9409 [POSIX] (limits.h): Likewise.
9410 [POSIX] (math.h): Likewise.
9411 [POSIX] (sys/wait.h): Likewise.
9412 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
9413 function.
9414 [POSIX] (stddef.h): Do not allow header inclusion.
9415
1775babf
AZ
94162014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9417
57f41c40 9418 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 9419
8f630cca
YY
94202014-04-30 Yang Yingliang <yangyingliang@huawei.com>
9421
9422 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9423 Return immediately after lll_futex_wake.
9424
1cdeb237
SP
94252014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9426
bc8f194c
SP
9427 [BZ #16791]
9428 * nscd/nscd-client.h (datahead_init_common): Initialize entire
9429 structure.
9430 (datahead_init_pos): Call datahead_init_common early.
9431 (datahead_init_neg): Likewise.
9432
1cdeb237
SP
9433 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
9434 datahead_init_neg): New functions.
9435 * nscd/aicache.c (addhstaiX): Use them.
9436 * nscd/grpcache.c (cache_addgr): Likewise.
9437 * nscd/hstcache.c (cache_addhst): Likewise.
9438 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9439 * nscd/netgroupcache.c (do_notfound): Likewise.
9440 (addgetnetgrentX): Likewise.
9441 (addinnetgrX): Likewise.
9442 * nscd/pwdcache.c (cache_addpw): Likewise.
9443 * nscd/servicescache.c (cache_addserv): Likewise.
9444
16b293a7
SP
94452014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9446 Atsushi Onoe <atsushi@onoe.org>
9447
9448 [BZ #14308]
9449 [BZ #12994]
9450 [BZ #13651]
9451 * resolv/res_query.c (__libc_res_nsearch): Return if at least
9452 one response is valid.
9453 * resolv/res_send.c (send_dg): Check for validity of other
9454 response if the current response is a referral.
9455
a28a9b94
SE
94562014-04-29 Steve Ellcey <sellcey@mips.com>
9457
9458 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
9459
2ca180e9
SL
94602014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
9461
9462 [BZ #16823]
9463 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
9464 Always divide by positive zero when computing -Inf result.
9465 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9466 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
9467
18f2945a
AZ
94682014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9469
9470 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
9471 FPSCR if value do not change.
9472 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9473 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
9474 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9475 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9476 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
9477 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
9478 function.
9479
5abebba4
CD
94802014-05-29 Carlos O'Donell <carlos@systemhalted.org>
9481
9482 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
9483 * sysdeps/unix/sysv/linux/hppa: Move directory from
9484 ports/systeps/unix/sysv/linux/hppa.
9485 * README: Update listing for hppa-*-linux-gnu.
9486
f7ed60c2
OB
94872014-04-28 Ondřej Bílka <neleai@seznam.cz>
9488
fff763a5
OB
9489 [BZ #16754]
9490 * manual/stdio.texi (Hook functions): Fix types of stream hook
9491 functions.
f7ed60c2
OB
9492 [BZ #16854]
9493 * socket/sys/socket.h: Fix typo in comment.
9494
df639d73
WD
94952014-04-28 Wilco <wdijkstr@arm.com>
9496
f7ed60c2 9497 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
9498 * sysdeps/arm/math_private.h: New file.
9499 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
9500
48332d82
L
95012014-04-25 H.J. Lu <hongjiu.lu@intel.com>
9502
9503 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
9504 with __int128_t.
9505 (La_x86_64_retval): Likewise.
9506
e5e0d9a4
IB
95072014-04-24 Ian Bolton <ian.bolton@arm.com>
9508
9509 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
9510 fpsr if value didn't change.
9511 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
9512 to fpcr if value didn't change.
9513 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
9514 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
9515 fpsr or fpcr if value didn't change.
9516 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9517 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
9518 fpcr if value didn't change.
9519 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
9520 to fpsr if value didn't change.
9521
bacc75f7
SP
95222014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9523
9524 * nptl/tst-sem3.c: Use test-skeleton.c
9525 (main): Rename to do_test. Use return instead of
9526 exit.
9527 * nptl/tst-sem4.c: Use test-skeleton.c
9528 (main): Rename to do_test.
9529
a059d359
DM
95302014-04-22 David S. Miller <davem@davemloft.net>
9531
9532 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
9533 (struct sigaction): New struct member __glibc_reserved0, change
9534 type of sa_flags to int.
9535
ea6c92f3
YZ
95362014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
9537
9538 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
9539 (COUNT_LEADING_ZEROS_0): Define for AArch64.
9540
766c4a36
SP
95412014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9542
9543 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
9544 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
9545
140cc7ab
VK
95462014-04-22 Will Newton <will.newton@linaro.org>
9547 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
9548
9549 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
9550 (__longjmp): Add longjmp and longjmp_target SystemTap
9551 probes.
9552 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
9553 (__sigsetjmp): Add setjmp SystemTap probe.
9554
c54e5cf7
CD
95552014-04-17 Carlos O'Donell <carlos@redhat.com>
9556
9557 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
9558 match manual order.
9559
75ffb047
AZ
95602014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9561
9562 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
9563
2cd925f7
AZ
9564 * sysdeps/powerpc/fpu/fenv_private.h
9565 (libc_feholdexcept_setroundl_ctx): Define to
9566 libc_feholdexcept_setround_ppc_ctx.
9567 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
9568 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
9569 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
9570 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
9571
39e6cd8d
IB
95722014-04-17 Ian Bolton <ian.bolton@arm.com>
9573
9574 * sysdeps/aarch64/math-tests.h: New file.
9575
f9281df9
SY
95762014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
9577
9578 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
9579 New.
9580 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9581 Check and set bit_AVX2_Usable.
9582 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
9583 macro.
9584 (bit_AVX2): Likewise.
9585 (index_AVX2_Usable): Likewise.
9586 (CPUID_AVX2): Likewise.
9587 (HAS_AVX2): Likewise.
9588
37d35007
WN
95892014-04-17 Will Newton <will.newton@linaro.org>
9590
7c677662
WN
9591 * manual/setjmp.texi (System V contexts): Add note that
9592 calling setcontext on a context created by a call to a
9593 signal handler is undefined. Update text to note that
9594 setcontext from a signal handler is possible but not
9595 recommended.
9596
37d35007 9597 [BZ #16629]
e04a4e9d
WN
9598 * stdlib/tst-setcontext.c: Include signal.h.
9599 (main): Check that the signal stack before and
9600 after swapcontext is the same.
9601
37d35007
WN
9602 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
9603 Re-implement to restore registers in user code and avoid
9604 rt_sigreturn system call.
9605
423a7160
W
96062014-04-17 Wilco <wdijkstr@arm.com>
9607
9608 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
9609 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
9610 * math/test-fenv.c: Skip exception trap tests on targets which only
9611 support non-stop mode.
9612
bc93ab29
IB
96132014-04-17 Ian Bolton <ian.bolton@arm.com>
9614 Wilco Dijkstra <wilco.dijkstra@arm.com>
9615
9616 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
9617 (libc_feholdsetround_aarch64_ctx)
9618 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
9619 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
9620 (libc_feresetround_ctx, libc_feresetroundf_ctx)
9621 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
9622 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
9623 (libc_feresetround_noexl_ctx): Define.
9624
95fc5fa3
RH
96252014-04-16 Richard Henderson <rth@redhat.com>
9626
ddb04724
RH
9627 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
9628
d77c0899
RH
9629 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
9630 unwind tables.
9631
a3df56fc
RH
9632 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
9633 const from the non-libc, non-ldso copy.
9634
95fc5fa3
RH
9635 * sysdeps/alpha/libm-test-ulps: Regenerate.
9636
7e0b6763
IB
96372014-04-16 Ian Bolton <ian.bolton@arm.com>
9638 Wilco Dijkstra <wilco.dijkstra@arm.com>
9639
9640 * sysdeps/aarch64/fpu/math_private.h: New file.
9641
a9ea2e0c
MS
96422014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
9643
9644 * sysdeps/aarch64/libm-test-ulps: Regenerate.
9645
ea8ba7cd
IZ
96462014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
9647
7e54fd04 9648 [BZ #16275]
ea8ba7cd
IZ
9649 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
9650 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
9651 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
9652 Intel MPX bound registers before _dl_profile_fixup.
9653 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
9654 registers after _dl_profile_fixup. Save and restore bound
9655 registers bnd0/bnd1 when calling _dl_call_pltexit.
9656 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
9657 (LR_BND_OFFSET): Likewise.
9658 (LRV_BND0_OFFSET): Likewise.
9659 (LRV_BND1_OFFSET): Likewise.
9660
9f2a4fbc
ST
96612014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9662
9663 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
9664 to...
9665 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
9666 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
9667 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
9668 fields.
9f2a4fbc 9669
fd15a59b
ST
96702014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9671
9672 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
9673
f19dfa0a
SL
96742014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9675
9676 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9677
4fa8bc3b
SL
96782014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9679
9680 [BZ #14770]
9681 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
9682 * sysdeps/s390/configure: Regenerate.
9683
8ea587db
SL
9684 [BZ #16824]
9685 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
9686 Set round-to-nearest internally to reduce error accumulation.
9687
aa5f0ff1
AM
96882014-04-16 Alan Modra <amodra@gmail.com>
9689
9690 [BZ #16740]
9691 [BZ #16619]
9692 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
9693 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 9694 * NEWS: Update fixed bug list.
aa5f0ff1 9695
bb9c256f
SP
96962014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9697
9698 * benchtests/Makefile: Depend on libraries in build directory.
9699 (bench-math): Separate out math tests.
9700 (bench-pthread): Separate out pthread tests.
9701 (bench): Include math and pthread tests.
9702
f737dfd0
CD
97032014-04-14 Carlos O'Donell <carlos@redhat.com>
9704
9705 [BZ #16831]
9706 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
9707 _dl_debug_initialize.
9708
0699f766
CD
9709 * configure.ac: Remove SELinux header check.
9710 * configure: Regenerate.
9711 * nscd/selinux.c (perms): Array of const char* to permission names.
9712 (nscd_request_avc_has_perm): Call security_deny_unknown to find
9713 default policy. Call string_to_security_class and string_to_av_perm to
9714 translate strings. Enforce default policy and call avs_has_perm with
9715 results of translated strings.
9716
809bd45f
DM
97172014-04-13 David S. Miller <davem@davemloft.net>
9718
9719 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9720
89e691f2
AM
97212014-04-12 Allan McRae <allan@archlinux.org>
9722
9723 [BZ #16838]
9724 * manual/string.texi (Collation Functions): Fix qsort argument
9725 order in example.
9726 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9727
9c9daaeb
CM
97282014-04-11 Chris Metcalf <cmetcalf@tilera.com>
9729
9730 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
9731 Make the test a no-op if there are no exceptions defined.
9732
95561fb9
PP
97332014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
9734
fe8d072c 9735 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
9736 enable-hardcoded-path-in-tests
9737
970c602a
WN
97382014-04-11 Will Newton <will.newton@linaro.org>
9739
9740 * benchtests/Makefile (extra-objs): Add json-lib.o.
9741 (bench-func): Tidy up JSON output.
9742 * benchtests/bench-skeleton.c: Include json-lib.h.
9743 (main): Use JSON library functions to do output of
9744 benchmark results.
9745 * benchtests/bench-timing-type.c (main): Output the
9746 timing type simply, leaving formatting to the user.
9747 * benchtests/json-lib.c: New file.
9748 * benchtests/json-lib.h: Likewise.
9749
36875b06
TR
97502014-04-11 Torvald Riegel <triegel@redhat.com>
9751
9752 [BZ #15215]
9753 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
9754 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
9755 memory barriers. Add comments.
9756 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
9757 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
9758 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
9759 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
9760 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
9761 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
9762
579db35a
SL
97632014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9764
9765 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
9766 * sysdeps/s390/s390-64/configure.ac: ... this ...
9767 * sysdeps/s390/configure.ac: ... to here.
9768 * sysdeps/s390/s390-32/configure: Delete file.
9769 * sysdeps/s390/s390-64/configure: Delete file.
9770 * sysdeps/s390/configure: Regenerate.
9771
c12e9f37
JAPH
97722014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
9773
9774 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
9775
439bda32
WN
97762014-04-11 Will Newton <will.newton@linaro.org>
9777
9778 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
9779 to zero if it is not defined elsewhere. (mtrim): Test
9780 the value of MALLOC_DEBUG with #if rather than #ifdef.
9781
6a5d6ea1
TR
97822014-04-10 Torvald Riegel <triegel@redhat.com>
9783
9784 * benchtests/pthread_once-inputs: New file.
9785 * benchtests/pthread_once-source.c: New file.
9786 * benchtests/README: Update documentation.
9787
a4c75cfd
IZ
97882014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
9789 H.J. Lu <hongjiu.lu@intel.com>
9790
7e54fd04 9791 [BZ #16275]
a4c75cfd
IZ
9792 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
9793 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
9794 * sysdeps/x86_64/configure: Regenerated.
9795 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
9796 macro.
9797 (REGISTER_SAVE_RAX): Likewise.
9798 (REGISTER_SAVE_RCX): Likewise.
9799 (REGISTER_SAVE_RDX): Likewise.
9800 (REGISTER_SAVE_RSI): Likewise.
9801 (REGISTER_SAVE_RDI): Likewise.
9802 (REGISTER_SAVE_R8): Likewise.
9803 (REGISTER_SAVE_R9): Likewise.
9804 (REGISTER_SAVE_BND0): Likewise.
9805 (REGISTER_SAVE_BND1): Likewise.
9806 (REGISTER_SAVE_BND2): Likewise.
9807 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
9808 bound registers when calling _dl_fixup.
9809
27822ce6
AZ
98102014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9811
9812 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
9813 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
9814 of its definition.
27822ce6
AZ
9815 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
9816 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
9817 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
9818 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
9819 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
9820 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
9821 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
9822
a88ddc90
PTB
98232014-04-09 Peter Brett <peter@peter-b.co.uk>
9824
9825 [BZ #15514]
9826 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
9827 pathconf(_PC_NAME_MAX).
9828
01f8eac2
AZ
98292014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9830
9831 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
9832 Remove macro usage.
9833 (__PTHREAD_SPINS): Move definition to ...
9834 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9835 (__PTHREAD_SPINS): ... here.
9836 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9837 (__PTHREAD_SPIN): Likewise.
9838 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
9839 (__PTHREAD_SPIN): Likewise.
9840 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
9841 (__PTHREAD_SPIN): Likewise.
9842 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
9843 (__PTHREAD_SPIN): Likewise.
9844 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9845 (__PTHREAD_SPIN): Likewise.
9846 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9847 (__PTHREAD_SPIN): Likewise.
9848 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
9849 (__PTHREAD_SPIN): Likewise.
9850 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9851 (__PTHREAD_SPIN): Likewise.
9852 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9853 (__PTHREAD_SPIN): Likewise.
9854 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9855 (__PTHREAD_SPIN): Likewise.
9856 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9857 (__PTHREAD_SPIN): Likewise.
9858 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
9859 (__PTHREAD_SPIN): Likewise.
9860
de21c33c
AZ
9861 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
9862 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
9863 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
9864 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
9865 imply folder.
9866 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9867 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9868 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9869 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9870 correct imply path.
9871 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9872 strlen symbol for non multi-arch builds.
9873 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9874 missing hidden_def and weak_alias.
9875
862c472e
CD
98762014-04-08 Carlos O'Donell <carlos@redhat.com>
9877
9878 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9879
8667f90e
WN
98802014-04-07 Will Newton <will.newton@linaro.org>
9881
9882 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9883 and contents. [!_LIBC] Remove #ifndef and contents.
9884 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
9885 * string/memccpy.c (__memccpy): Use ANSI prototype.
9886 * string/memfrob.c (memfrob): Likewise.
9887 * string/strcoll.c (STRCOLL): Likewise.
9888 * string/strlen.c (strlen): Likewise.
9889 * string/strtok.c (STRTOK): Likewise.
9890 * string/strcat.c: Remove unused #include of memcopy.h.
9891 (strcat): Use ANSI prototype.
9892 * string/strchr.c: Remove unused #include of memcopy.h.
9893 (strchr): Use ANSI prototype.
9894 * string/strcmp.c: Remove unused #include of memcopy.h.
9895 (strcmp): Use ANSI prototype.
9896 * string/strcpy.c: Remove unused #include of memcopy.h.
9897 (strcpy): Use ANSI prototype.
9898
7ffa9423
AZ
98992014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9900
9901 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9902 * config.make.in (config-extra-cppflags): Set it from
9903 libc_extra_cppflags.
9904 * configure.ac (libc_extra_cflags): Make it accumulate over
9905 configure fragments.
9906 (libc_extra_cppflags): New flag.
9907 * configure. Regenerate.
9908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
9909 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9910 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
9911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9912
8bd70862
AZ
9913 [BZ #16815]
9914 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9915 result for FE_DOWNWARD rounding mode.
9916 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9917 Likewise.
9918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9919
d42f3448
CM
99202014-04-04 Chris Metcalf <cmetcalf@tilera.com>
9921
9922 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9923 in function argument name.
9924
1c21d115
DS
99252014-04-03 David Svoboda <svoboda@cert.org>
9926
9927 [BZ #5666]
9928 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9929 explicitly.
9930
fcccd512
RM
99312014-04-03 Roland McGrath <roland@hack.frob.com>
9932
9933 * elf/dl-unmap-segments.h: New file.
9934 * sysdeps/generic/ldsodefs.h
9935 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9936 * elf/dl-close.c: Include <dl-unmap-segments.h>.
9937 * elf/dl-fptr.c: Likewise.
9938 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9939 * sysdeps/aarch64/tlsdesc.c: Likewise.
9940 * sysdeps/arm/tlsdesc.c: Likewise.
9941 * sysdeps/i386/tlsdesc.c: Likewise.
9942 * sysdeps/tile/dl-runtime.c: Likewise.
9943 * sysdeps/x86_64/tlsdesc.c: Likewise.
9944 * elf/dl-load.h: New file.
9945 * elf/dl-load.c: Include it.
9946 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9947 Macros moved to dl-load.h.
9948 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9949 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9950 Use _dl_unmap_segments in place of __munmap.
9951 Break out segment-mapping loop into ...
9952 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9953
f6488e2b
WN
99542014-04-03 Will Newton <will.newton@linaro.org>
9955
9956 * elf/dl-lookup.c (do_lookup_x): Remove comment
9957 referring to nested function and move variable
9958 declarations down to before first use.
9959
6f05bafe
JM
99602014-04-02 Joseph Myers <joseph@codesourcery.com>
9961
a84e78c8
JM
9962 [BZ #16799]
9963 [BZ #16800]
9964 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
9965 with 0 numerator.
9966 * math/s_catanf.c (__catanf): Likewise.
9967 * math/s_catanh.c (__catanh): Likewise.
9968 * math/s_catanhf.c (__catanhf): Likewise.
9969 * math/s_catanhl.c (__catanhl): Likewise.
9970 * math/s_catanl.c (__catanl): Likewise.
9971 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
9972 by positive zero when computing -Inf result.
9973 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
9974 (catanh_test): Likewise.
9975 * sysdeps/i386/fpu/libm-test-ulps: Update.
9976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9977
6f05bafe
JM
9978 [BZ #16789]
9979 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
9980 instead of using underflowing value in computing result.
9981 * math/s_clog10.c (__clog10): Likewise.
9982 * math/s_clog10f.c (__clog10f): Likewise.
9983 * math/s_clog10l.c (__clog10l): Likewise.
9984 * math/s_clogf.c (__clogf): Likewise.
9985 * math/s_clogl.c (__clogl): Likewise.
9986 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
9987 (clog10_test): Likewise.
9988 * sysdeps/i386/fpu/libm-test-ulps: Update.
9989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9990
b0abbc21
AM
99912014-04-02 Alan Modra <amodra@gmail.com>
9992
9993 [BZ #16739]
9994 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
9995 output when value is near a power of two. Use int64_t for lx and
9996 remove casts. Use decimal rather than hex exponent constants.
9997 Don't use long double multiplication when double will suffice.
9998 * math/libm-test.inc (nextafter_test_data): Add tests.
9999 * NEWS: Add 16739 and 16786 to bug list.
10000
af6b1797
AM
10001 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
10002
483818d7
AM
10003 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
10004
f6c55796
WN
100052014-04-01 Will Newton <will.newton@linaro.org>
10006
10007 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
10008 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
10009
13f7fe35
FW
100102014-04-01 Florian Weimer <fweimer@redhat.com>
10011
10012 [BZ #13347]
10013 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
10014 * nptl/tst-setuid2.c: New file.
10015 * nptl/Makefile (xtests): Add tst-setuid2.
10016
c859b32e
AM
100172014-04-01 Alan Modra <amodra@gmail.com>
10018
10019 [BZ #16786]
10020 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
10021
54fa2475
JM
100222014-03-31 Joseph Myers <joseph@codesourcery.com>
10023
8795b4a4
JM
10024 [BZ #6803]
10025 [BZ #6804]
10026 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
10027 set errno as appropriate.
10028 * math/w_scalbf.c (__scalbf): Likewise.
10029 * math/w_scalbl.c (__scalbl): Likewise.
10030 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
10031 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
10032 * math/libm-test.inc (scalb_test_data): Add errno expectations.
10033 Add more NaN tests.
10034
54fa2475
JM
10035 [BZ #16349]
10036 * math/w_atan2.c: Include <errno.h>.
10037 (__atan2): Set errno for result underflowing to zero.
10038 * math/w_atan2f.c: Include <errno.h>.
10039 (__atan2f): Set errno for result underflowing to zero.
10040 * math/w_atan2l.c: Include <errno.h>.
10041 (__atan2l): Set errno for result underflowing to zero.
10042 * math/auto-libm-test-in: Don't allow missing errno for some atan2
10043 tests.
10044 * math/auto-libm-test-out: Regenerated.
10045
757d9dd5
AZ
100462014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10047
10048 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10049 Encode instruction correctly in little endian.
10050 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10051 Likewise.
10052 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10053 Likewise.
10054 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10055 Likewise.
10056 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10057 Likewise.
10058
d7a68734
JM
100592014-03-31 Joseph Myers <joseph@codesourcery.com>
10060
47c5adeb
JM
10061 [BZ #9894]
10062 * sysdeps/unix/sysv/linux/kernel-features.h
10063 [__sparc__ && !__arch64__ && !__sparc_v9__]
10064 (__ASSUME_SET_ROBUST_LIST): Do not define.
10065 [__sparc__ && !__arch64__ && !__sparc_v9__]
10066 (__ASSUME_FUTEX_LOCK_PI): Likewise.
10067 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
10068 Likewise.
10069 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10070 (__ASSUME_FUTEX_LOCK_PI): Undefine.
10071 (__ASSUME_REQUEUE_PI): Likewise.
10072 (__ASSUME_SET_ROBUST_LIST): Likewise.
10073 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10074 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
10075 Undefine.
10076 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10077 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
10078 Likewise.
10079 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
10080 Likewise.
10081 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
10082 Likewise.
10083 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10084 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
10085 Undefine.
10086 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
10087 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
10088 Likewise.
10089
d7a68734
JM
10090 [BZ #16648]
10091 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10092 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
10093 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
10094
c760f5c2
WN
100952014-03-31 Will Newton <will.newton@linaro.org>
10096
10097 * benchtests/Makefile (bench): Add ffs and ffsll to list
10098 of tests.
10099 * benchtests/ffs-inputs: New file.
10100 * benchtests/ffsll-inputs: Likewise.
10101
ea6029b1
JM
101022014-03-29 Joseph Myers <joseph@codesourcery.com>
10103
10104 [BZ #16770]
10105 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
10106 too large before casting to int.
10107 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
10108 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
10109 * math/libm-test.inc (scalb_test_data): Add more tests.
10110
cf806aff
SP
101112014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10112
56737508
SP
10113 * benchtests/Makefile (DETAILED_OPT): New make option.
10114 (bench-func): Run benchmark program with -d if DETAILED_OPT is
10115 set.
10116 * benchtests/bench-skeleton.c: Include stdbool.h.
10117 (main): Store and print timings per input.
10118 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
10119 member to each argument value.
10120 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
10121 (_print_arg_data): Initialize per-input timing to 0.
10122
cb5e4aad
SP
10123 * benchtests/Makefile (timing-type): New binary.
10124 (bench-clean): Also remove bench-timing-type.
10125 (bench): New target for timing-type.
10126 (bench-func): Print output in JSON format.
10127 * benchtests/bench-skeleton.c (main): Print output in JSON
10128 format.
10129 * benchtests/bench-timing-type.c: New file.
10130 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
10131 (TIMING_PRINT_STATS): Remove.
10132 * benchtests/scripts/bench.py (_print_arg_data): Store variant
10133 name separately.
10134
cf806aff
SP
10135 * benchtests/bench-modf.c: Remove.
10136 * benchtests/modf-inputs: New inputs file.
10137
289e0779
JM
101382014-03-28 Joseph Myers <joseph@codesourcery.com>
10139
10140 [BZ #16362]
10141 * math/s_clog10.c (M_PI_LOG10E): New macro.
10142 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
10143 imaginary parts are 0.
10144 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
10145 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
10146 imaginary parts are 0.
10147 * math/s_clog10l.c (M_PI_LOG10El): New macro.
10148 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
10149 imaginary parts are 0.
10150 * math/libm-test.inc (clog10_test_data): Update expected results
10151 for when real and imaginary parts are 0.
10152
277ae3f1
PP
101532014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
10154
10155 * elf/dl-load.c: Finish conversion of __builtin_expect into
10156 __glibc_{un}likely.
10157
03a7091f
JM
101582014-03-27 Joseph Myers <joseph@codesourcery.com>
10159
10160 [BZ #16348]
10161 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
10162 1+x for argument with exponent below -67.
10163 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
10164 Likewise.
10165 * math/auto-libm-test-in: Add more tests of exp.
10166 * math/auto-libm-test-out: Regenerated.
10167
ea7d8b95
SP
101682014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10169
dd3022d7
SP
10170 [BZ #16759]
10171 * inet/getnetgrent_r.c (get_nonempty_val): New function.
10172 (nscd_getnetgrent): Use it.
10173
ea7d8b95
SP
10174 [BZ #16760]
10175 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
10176 of stpcpy.
10177
df5b85da
AK
101782014-03-27 Andi Kleen <ak@linux.intel.com>
10179
57f41c40
AS
10180 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
10181 (lll_robust_lock, lll_cond_lock, lll_timedlock)
10182 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10183 (lll_robust_unlock): Remove out of line section. Use cfi
10184 intrinsics.
df5b85da 10185 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
10186 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
10187 (lll_robust_lock, lll_cond_lock, lll_timedlock)
10188 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10189 (lll_robust_unlock): Remove out of line section. Use cfi
10190 intrinsics.
df5b85da
AK
10191 (LLL_STUB_UNWIND_INFO*): Remove.
10192
fbd6b5a4
SP
101932014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10194
10195 [BZ #16758]
10196 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
10197 blank values.
10198
1b26b855
PP
101992014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
10200
10201 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
10202
9be36fb8
JM
102032014-03-26 Joseph Myers <joseph@codesourcery.com>
10204
10205 [BZ #16198]
10206 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
10207 fnstenv.
10208 * math/test-fenv-preserve.c: New file.
10209 * math/Makefile (tests): Add test-fenv-preserve.
10210
60a2f3c1
WN
102112014-03-26 Will Newton <will.newton@linaro.org>
10212
10213 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
10214
a5e5f1e2
RM
102152014-03-25 Roland McGrath <roland@hack.frob.com>
10216
10217 * scripts/versionlist.awk: Partition the version sets and emit all
10218 GLIBC_* (sorted) before all others (sorted).
10219
00f4012a
JM
102202014-03-25 Joseph Myers <joseph@codesourcery.com>
10221
10222 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
10223 GLIBC_2.2.5 version.
10224
7bc5a741
AZ
102252014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10226
10227 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
10228 calls.
10229
7578473b
AZ
10230 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
10231 previous change.
10232
f3f1dab3
AZ
10233 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10234
6da36183
AS
102352014-03-25 Andreas Schwab <schwab@suse.de>
10236
10237 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
10238 label to be used after in6ailist is initialized.
10239
f3f1dab3 102402014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 10241
7578473b 10242 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
10243 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10244
046651c1
JM
102452014-03-25 Joseph Myers <joseph@codesourcery.com>
10246
10247 [BZ #16357]
10248 [BZ #16599]
10249 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
10250 min_plus_half.
10251 (fp_formats): Update initializers.
10252 (init_fp_formats): Initialize new field.
10253 (output_for_one_input_case): Allow underflow for results up to
10254 min_plus_half.
10255 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
10256 * math/auto-libm-test-in: Don't mark some underflows from asin and
10257 atanh as spurious.
10258 * math/auto-libm-test-out: Regenerated.
10259 * sysdeps/i386/fpu/libm-test-ulps: Update.
10260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10261
003e49ed
AS
102622014-03-25 Andreas Schwab <schwab@suse.de>
10263
10264 * libio/Makefile (tst-ftell-partial-wide-ENV)
10265 (tst-ftell-active-handler-ENV): Define.
10266
de031874
SL
102672014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10268
10269 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
10270
55a81e3b
PP
102712014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10272
10273 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
10274
f3426898
JM
102752014-03-24 Joseph Myers <joseph@codesourcery.com>
10276
10277 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
10278 * sysdeps/x86_64/fpu/multiarch/e_exp.c
10279 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10280
a42faf59
PP
102812014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10282
10283 [BZ #16634]
a42faf59 10284 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
10285 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
10286 (open_path): Change from boolean 'secure' to complete flag 'mode'
10287 (_dl_map_object): Adjust.
a42faf59
PP
10288 * elf/Makefile (tests): Add tst-dlopen-aout.
10289 * elf/tst-dlopen-aout.c: New test.
10290
50936127
SL
102912014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10292
10293 [BZ #16714]
10294 * sysdeps/unix/sysv/linux/s390/bits/stat.h
10295 (struct stat): Rename member pad0 to __glibc_reserved0.
10296
26011b5c
SL
10297 [BZ #16712]
10298 * sysdeps/s390/s390-32/bits/wordsize.h
10299 (__WORDSIZE32_SIZE_ULONG): New define.
10300 * sysdeps/s390/s390-64/bits/wordsize.h
10301 (__WORDSIZE32_SIZE_ULONG): Likewise.
10302 * sysdeps/generic/stdint.h (SIZE_MAX):
10303 Define as UL if __WORDSIZE32_SIZE_ULONG.
10304
a2d86bf1
SL
10305 [BZ #16713]
10306 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
10307 (__glibc_reserved0): New variable.
10308 (sa_flags): Change type to int.
10309
78b6eebc
SL
10310 * posix/Makefile (before-compile): Use += before-compile instead
10311 of a :=.
10312
f1399b5a
SL
10313 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10314 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10315
a071766e
AS
103162014-03-20 Andreas Schwab <schwab@suse.de>
10317
10318 [BZ #16743]
10319 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
10320 non-matching result from nscd.
10321
27c673b8
SP
103222014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10323
10324 * scripts/bench.py: Moved to ...
10325 * benchtests/scripts/bench.py: ... here.
10326 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
10327
44152e4b
AS
103282014-03-24 Andreas Schwab <schwab@suse.de>
10329
10330 [BZ #16002]
10331 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
10332 alloca_account and account alloca use for struct in6ailist.
10333
b376a11a
JM
103342014-03-24 Joseph Myers <joseph@codesourcery.com>
10335
10336 [BZ #16284]
10337 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
10338 rounding mode to recompute results that overflow to infinity or
10339 underflow to zero.
10340 * math/auto-libm-test-in: Don't mark tests as expected to fail for
10341 bug 16284.
10342 * math/auto-libm-test-out: Regenerated.
10343 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
10344 (ccosh_test): Likewise.
10345 (csin_test_data): Use plus_oflow.
10346 (csin_test): Use ALL_RM_TEST.
10347 (csinh_test_data): Use plus_oflow.
10348 (csinh_test): Use ALL_RM_TEST.
10349 * sysdeps/i386/fpu/libm-test-ulps: Update.
10350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10351
f7be7376
JM
103522014-03-21 Joseph Myers <joseph@codesourcery.com>
10353
1ca2d03e
JM
10354 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
10355 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
10356 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
10357
f7be7376
JM
10358 [BZ #16731]
10359 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
10360 when x - 1 is zero.
10361 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
10362 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
10363 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10364 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
10365 argument is 1.
10366 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
10367 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
10368 zero.
10369 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
10370 * sysdeps/i386/fpu/libm-test-ulps: Update.
10371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10372
fdf4534d
SP
103732014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10374
df26ea53
SP
10375 * scripts/bench.pl: Remove file.
10376 * scripts/bench.py: New benchmark script.
10377 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
10378 * benchtests/README: Mention python dependency.
10379 * scripts/pylintrc: New file.
10380 * scripts/pylint: New file.
10381
fdf4534d
SP
10382 * bits/mathdef.h: Use #ifdef instead of #if.
10383 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
10384 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10385 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
10386 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10387 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
10388 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10389
6f23d093
AZ
103902014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10391 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10392
10393 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
10394 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
10395 and strpbrk-ppc64 objects.
10396 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10397 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
10398 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
10399 multiarch strpbrk for POWER7.
10400 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
10401 multiarch strpbrk for PPC64.
10402 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
10403 ifunc selector.
10404 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
10405 strpbrk for POWER7.
10406
8c92dfff
JM
104072014-03-20 Joseph Myers <joseph@codesourcery.com>
10408
10409 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
10410 (atan_test): Likewise.
10411 (atanh_test_data): Use NO_TEST_INLINE for two tests.
10412 (atanh_test): Use ALL_RM_TEST.
10413 (atan2_test_data): Likewise.
10414 (cabs_test): Likewise.
10415 (cacosh_test): Likewise.
10416 (carg_test): Likewise.
10417 (casin_test): Likewise.
10418 (casinh_test): Likewise.
10419 (cbrt_test): Likewise.
10420 (csqrt_test): Likewise.
10421 (erf_test): Likewise.
10422 (erfc_test): Likewise.
10423 (pow10_test): Likewise.
10424 (exp2_test): Likewise.
10425 (hypot_test): Likewise.
10426 (j0_test): Likewise.
10427 (j1_test): Likewise.
10428 (lgamma_test): Likewise.
10429 (gamma_test): Likewise.
10430 (sincos_test): Likewise.
10431 (tanh_test): Likewise.
10432 (y0_test): Likewise.
10433 (y1_test): Likewise.
10434 * sysdeps/i386/fpu/libm-test-ulps: Update.
10435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10436
6eaf95cb
AZ
104372014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10438
a387428c
SP
10439 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
10440 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
10441 and strcspn-ppc64 objects.
10442 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10443 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
10444 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
10445 multiarch strcspn for POWER7.
10446 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
10447 multiarch strcspn for PPC64.
10448 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
10449 ifunc selector.
10450 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
10451 strcspn for POWER7.
10452
ae3a5dff
JM
104532014-03-20 Joseph Myers <joseph@codesourcery.com>
10454
10455 * math/gen-libm-test.pl (generate_testfile): Expect only function
10456 name as argument to AUTO_TESTS_* and pass results for all rounding
10457 modes to parse_args.
10458 (parse_auto_input): Separate inputs of automatic tests from
10459 outputs before storing in %auto_tests.
10460 * math/libm-test.inc (acos_test_data): Update call to
10461 AUTO_TESTS_f_f.
10462 (acos_test): Use ALL_RM_TEST.
10463 (acos_tonearest_test_data): Remove.
10464 (acos_test_tonearest): Likewise.
10465 (acos_towardzero_test_data): Likewise.
10466 (acos_test_towardzero): Likewise.
10467 (acos_downward_test_data): Likewise.
10468 (acos_test_downward): Likewise.
10469 (acos_upward_test_data): Likewise.
10470 (acos_test_upward): Likewise.
10471 (acosh_test_data): Update call to AUTO_TESTS_f_f.
10472 (asin_test_data): Likewise.
10473 (asin_test): Use ALL_RM_TEST.
10474 (asin_tonearest_test_data): Remove.
10475 (asin_test_tonearest): Likewise.
10476 (asin_towardzero_test_data): Likewise.
10477 (asin_test_towardzero): Likewise.
10478 (asin_downward_test_data): Likewise.
10479 (asin_test_downward): Likewise.
10480 (asin_upward_test_data): Likewise.
10481 (asin_test_upward): Likewise.
10482 (asinh_test_data): Update call to AUTO_TESTS_f_f.
10483 (atan_test_data): Likewise.
10484 (atanh_test_data): Likewise.
10485 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
10486 (cabs_test_data): Update call to AUTO_TESTS_c_f.
10487 (carg_test_data): Likewise.
10488 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
10489 (ccos_test_data): Update call to AUTO_TESTS_c_c.
10490 (ccosh_test_data): Likewise.
10491 (cexp_test_data): Likewise.
10492 (clog_test_data): Likewise.
10493 (clog10_test_data): Likewise.
10494 (cos_test_data): Update call to AUTO_TESTS_f_f.
10495 (cos_test): Use ALL_RM_TEST.
10496 (cos_tonearest_test_data): Remove.
10497 (cos_test_tonearest): Likewise.
10498 (cos_towardzero_test_data): Likewise.
10499 (cos_test_towardzero): Likewise.
10500 (cos_downward_test_data): Likewise.
10501 (cos_test_downward): Likewise.
10502 (cos_upward_test_data): Likewise.
10503 (cos_test_upward): Likewise.
10504 (cosh_test_data): Update call to AUTO_TESTS_f_f.
10505 (cosh_test): Use ALL_RM_TEST.
10506 (cosh_tonearest_test_data): Remove.
10507 (cosh_test_tonearest): Likewise.
10508 (cosh_towardzero_test_data): Likewise.
10509 (cosh_test_towardzero): Likewise.
10510 (cosh_downward_test_data): Likewise.
10511 (cosh_test_downward): Likewise.
10512 (cosh_upward_test_data): Likewise.
10513 (cosh_test_upward): Likewise.
10514 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
10515 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
10516 (ctan_test_data): Likewise.
10517 (ctan_test): Use ALL_RM_TEST.
10518 (ctan_tonearest_test_data): Remove.
10519 (ctan_test_tonearest): Likewise.
10520 (ctan_towardzero_test_data): Likewise.
10521 (ctan_test_towardzero): Likewise.
10522 (ctan_downward_test_data): Likewise.
10523 (ctan_test_downward): Likewise.
10524 (ctan_upward_test_data): Likewise.
10525 (ctan_test_upward): Likewise.
10526 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
10527 (ctanh_test): Use ALL_RM_TEST.
10528 (ctanh_tonearest_test_data): Remove.
10529 (ctanh_test_tonearest): Likewise.
10530 (ctanh_towardzero_test_data): Likewise.
10531 (ctanh_test_towardzero): Likewise.
10532 (ctanh_downward_test_data): Likewise.
10533 (ctanh_test_downward): Likewise.
10534 (ctanh_upward_test_data): Likewise.
10535 (ctanh_test_upward): Likewise.
10536 (erf_test_data): Update call to AUTO_TESTS_f_f.
10537 (erfc_test_data): Likewise.
10538 (exp_test_data): Likewise.
10539 (exp_test): Use ALL_RM_TEST.
10540 (exp_tonearest_test_data): Remove.
10541 (exp_test_tonearest): Likewise.
10542 (exp_towardzero_test_data): Likewise.
10543 (exp_test_towardzero): Likewise.
10544 (exp_downward_test_data): Likewise.
10545 (exp_test_downward): Likewise.
10546 (exp_upward_test_data): Likewise.
10547 (exp_test_upward): Likewise.
10548 (exp10_test_data): Update call to AUTO_TESTS_f_f.
10549 (exp10_test): Use ALL_RM_TEST.
10550 (exp10_tonearest_test_data): Remove.
10551 (exp10_test_tonearest): Likewise.
10552 (exp10_towardzero_test_data): Likewise.
10553 (exp10_test_towardzero): Likewise.
10554 (exp10_downward_test_data): Likewise.
10555 (exp10_test_downward): Likewise.
10556 (exp10_upward_test_data): Likewise.
10557 (exp10_test_upward): Likewise.
10558 (exp2_test_data): Update call to AUTO_TESTS_f_f.
10559 (expm1_test_data): Likewise.
10560 (expm1_test): Use ALL_RM_TEST.
10561 (expm1_tonearest_test_data): Remove.
10562 (expm1_test_tonearest): Likewise.
10563 (expm1_towardzero_test_data): Likewise.
10564 (expm1_test_towardzero): Likewise.
10565 (expm1_downward_test_data): Likewise.
10566 (expm1_test_downward): Likewise.
10567 (expm1_upward_test_data): Likewise.
10568 (expm1_test_upward): Likewise.
10569 (fma_test_data): Update call to AUTO_TESTS_fff_f.
10570 (fma_test): Use ALL_RM_TEST.
10571 (fma_towardzero_test_data): Remove.
10572 (fma_test_towardzero): Likewise.
10573 (fma_downward_test_data): Likewise.
10574 (fma_test_downward): Likewise.
10575 (fma_upward_test_data): Likewise.
10576 (fma_test_upward): Likewise.
10577 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
10578 (j0_test_data): Update call to AUTO_TESTS_f_f.
10579 (j1_test_data): Likewise.
10580 (jn_test_data): Update call to AUTO_TESTS_if_f.
10581 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
10582 (log_test_data): Update call to AUTO_TESTS_f_f.
10583 (log10_test_data): Likewise.
10584 (log1p_test_data): Likewise.
10585 (log2_test_data): Likewise.
10586 (pow_test_data): Update call to AUTO_TESTS_ff_f.
10587 (pow_tonearest_test_data): Likewise.
10588 (sin_test_data): Update call to AUTO_TESTS_f_f.
10589 (sin_test): Use ALL_RM_TEST.
10590 (sin_tonearest_test_data): Remove.
10591 (sin_test_tonearest): Likewise.
10592 (sin_towardzero_test_data): Likewise.
10593 (sin_test_towardzero): Likewise.
10594 (sin_downward_test_data): Likewise.
10595 (sin_test_downward): Likewise.
10596 (sin_upward_test_data): Likewise.
10597 (sin_test_upward): Likewise.
10598 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
10599 (sinh_test_data): Update call to AUTO_TESTS_f_f.
10600 (sinh_test): Use ALL_RM_TEST.
10601 (sinh_tonearest_test_data): Remove.
10602 (sinh_test_tonearest): Likewise.
10603 (sinh_towardzero_test_data): Likewise.
10604 (sinh_test_towardzero): Likewise.
10605 (sinh_downward_test_data): Likewise.
10606 (sinh_test_downward): Likewise.
10607 (sinh_upward_test_data): Likewise.
10608 (sinh_test_upward): Likewise.
10609 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
10610 (sqrt_test): Use ALL_RM_TEST.
10611 (sqrt_tonearest_test_data): Remove.
10612 (sqrt_test_tonearest): Likewise.
10613 (sqrt_towardzero_test_data): Likewise.
10614 (sqrt_test_towardzero): Likewise.
10615 (sqrt_downward_test_data): Likewise.
10616 (sqrt_test_downward): Likewise.
10617 (sqrt_upward_test_data): Likewise.
10618 (sqrt_test_upward): Likewise.
10619 (tan_test_data): Update call to AUTO_TESTS_f_f.
10620 (tan_test): Use ALL_RM_TEST.
10621 (tan_tonearest_test_data): Remove.
10622 (tan_test_tonearest): Likewise.
10623 (tan_towardzero_test_data): Likewise.
10624 (tan_test_towardzero): Likewise.
10625 (tan_downward_test_data): Likewise.
10626 (tan_test_downward): Likewise.
10627 (tan_upward_test_data): Likewise.
10628 (tan_test_upward): Likewise.
10629 (tanh_test_data): Update call to AUTO_TESTS_f_f.
10630 (tgamma_test_data): Likewise.
10631 (y0_test_data): Likewise.
10632 (y1_test_data): Likewise.
10633 (yn_test_data): Update call to AUTO_TESTS_if_f.
10634 (main): Do not call removed functions.
10635
d71aeee8
JM
106362014-03-19 Joseph Myers <joseph@codesourcery.com>
10637
10638 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
10639 (ldexp_test_data): Remove.
10640 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
10641 scalbn_test_data.
10642 (scalb_test): Use ALL_RM_TEST.
10643
baaf1ded
AS
106442014-03-19 Andreas Schwab <schwab@suse.de>
10645
10646 * nscd/nscd.service: Also invalidate netgroup cache on reload.
10647
b1115e91
JM
106482014-03-19 Joseph Myers <joseph@codesourcery.com>
10649
10650 [BZ #16649]
10651 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10652 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
10653 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
10654 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10655 (__ASSUME_PREADV): Undefine.
10656 (__ASSUME_PWRITEV): Likewise.
10657
0283ecca
RM
106582014-03-18 Roland McGrath <roland@hack.frob.com>
10659
7d375303
RM
10660 * bits/mman-linux.h: Add comment about non-Linux use.
10661 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
10662 bits/mman-linux.h resting place.
10663
0283ecca
RM
10664 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
10665 * bits/mman-linux.h: ... here.
10666
aebe1003
AZ
106672014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10668
10669 * conform/conformtest.pl: Add standard definition when calling C
10670 preprocessor on data files.
10671 (checknamespace): Remove unused variable.
10672
b29b6bb8
JM
106732014-03-18 Joseph Myers <joseph@codesourcery.com>
10674
10675 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
10676 minus_oflow, plus_uflow and minus_uflow in expected results.
10677 * math/libm-test.inc (scalbn_test_data): Add more tests of
10678 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
10679 minus_uflow.
10680 (scalbn_test): Use ALL_RM_TEST.
10681 (scalbln_test_data): Add more tests of negative arguments. Use
10682 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
10683 (scalbln_test): Use ALL_RM_TEST.
10684
c8f8fa15
RM
106852014-03-18 Roland McGrath <roland@hack.frob.com>
10686
10687 * scripts/abilist.awk: Ignore symbols marked with .hidden.
10688
fede7a5f
WN
106892014-03-18 Will Newton <will.newton@linaro.org>
10690
10691 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
10692 inaccurate comment.
10693
80cf0a58
JM
106942014-03-18 Joseph Myers <joseph@codesourcery.com>
10695
10696 * Makerules [!subdir] (check-abi): Exit with error status if a
10697 test failed.
10698
b3620862
JM
106992014-03-17 Joseph Myers <joseph@codesourcery.com>
10700
10701 * math/libm-test.inc (nearbyint_test_data): Include all tests used
10702 for rint. Include results for all rounding modes.
10703 (nearbyint_test): Use ALL_RM_TEST.
10704 (rint_test_data): Include all tests used for nearbyint.
10705
788bba36
WN
107062014-03-17 Will Newton <will.newton@linaro.org>
10707
04ec140a
WN
10708 * nptl/sysdeps/pthread/pthread.h: Revert previous
10709 change.
10710
7579d8d5
WN
10711 * sysdeps/generic/ldsodefs.h: Revert previous
10712 change.
10713
c15cf13a
WN
10714 * libio/genops.c: Revert previous change.
10715 * libio/libioP.h: Likewise.
10716 * stdio-common/vfprintf.c: Likewise.
10717
d0ac1324
WN
10718 * sysdeps/generic/math_private.h: Revert previous
10719 change.
10720
9290130a
WN
10721 * sysdeps/generic/math_private.h: Check whether
10722 HAVE_RM_CTX is defined with #ifdef rather
10723 than #if.
10724
afb466fc
WN
10725 * argp/argp-fmtstream.h: Check whether
10726 __STRICT_ANSI__ is defined with #ifdef rather
10727 than #if.
10728 * argp/argp.h: Likewise.
10729
f7efd7c3
WN
10730 * libio/genops.c: Check whether
10731 _IO_JUMPS_OFFSET is defined with #ifdef rather
10732 than #if.
10733 * libio/libioP.h: Likewise.
10734 * stdio-common/vfprintf.c: Likewise.
10735
53f1bed3
WN
10736 * sysdeps/generic/ldsodefs.h: Check whether
10737 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
10738 than #if.
10739
788bba36
WN
10740 * nptl/sysdeps/pthread/pthread.h: Check
10741 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
10742 its value.
10743
fcd89ebe
SP
107442014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10745
ae42bbc5
SP
10746 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
10747 setting O_APPEND.
10748 * libio/tst-ftell-active-handler.c (do_append_test): Add a
10749 test case.
10750
ea33158c
SP
10751 [BZ #16680]
10752 * libio/fileops.c (_IO_file_open): Seek to end of file but
10753 don't cache the offset.
10754 (get_file_offset): Remove function.
10755 (do_ftell): Use cached offset when available.
10756 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
10757 don't cache the offset.
10758 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
10759 case.
10760 (do_one_test): Call it.
10761 (do_ftell_test): Fix up expected old offset for a+ mode.
10762 * libio/wfileops.c (do_ftell_wide): Used cached offset when
10763 available.
10764
b1dbb426
SP
10765 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
10766 up test status with function return status.
10767 (do_write_test): Likewise.
10768 (do_append_test): Likewise.
10769
fcd89ebe
SP
10770 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
10771 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
10772 Remove.
10773
9962a2d3
JM
107742014-03-17 Joseph Myers <joseph@codesourcery.com>
10775
10776 * math/gen-libm-test.pl (parse_args): Handle results specified for
10777 each rounding mode separately.
10778 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
10779 tests and results from lrint_tonearest_test_data,
10780 lrint_towardzero_test_data, lrint_downward_test_data and
10781 lrint_upward_test_data.
10782 (lrint_test): Use ALL_RM_TEST.
10783 (lrint_tonearest_test_data): Remove.
10784 (lrint_test_tonearest): Likewise.
10785 (lrint_towardzero_test_data): Likewise.
10786 (lrint_test_towardzero): Likewise.
10787 (lrint_downward_test_data): Likewise.
10788 (lrint_test_downward): Likewise.
10789 (lrint_upward_test_data): Likewise.
10790 (lrint_test_upward): Likewise.
10791 (llrint_test_data): Merge in per-rounding-mode tests and results
10792 from llrint_tonearest_test_data, llrint_towardzero_test_data,
10793 llrint_downward_test_data and llrint_upward_test_data.
10794 (llrint_test): Use ALL_RM_TEST.
10795 (llrint_tonearest_test_data): Remove.
10796 (llrint_test_tonearest): Likewise.
10797 (llrint_towardzero_test_data): Likewise.
10798 (llrint_test_towardzero): Likewise.
10799 (llrint_downward_test_data): Likewise.
10800 (llrint_test_downward): Likewise.
10801 (llrint_upward_test_data): Likewise.
10802 (llrint_test_upward): Likewise.
10803 (rint_test_data): Merge in per-rounding-mode tests and results
10804 from rint_tonearest_test_data, rint_towardzero_test_data,
10805 rint_downward_test_data and rint_upward_test_data. Add
10806 per-rounding-mode results for tests not in those arrays.
10807 (rint_test): Use ALL_RM_TEST.
10808 (rint_tonearest_test_data): Remove.
10809 (rint_test_tonearest): Likewise.
10810 (rint_towardzero_test_data): Likewise.
10811 (rint_test_towardzero): Likewise.
10812 (rint_downward_test_data): Likewise.
10813 (rint_test_downward): Likewise.
10814 (rint_upward_test_data): Likewise.
10815 (rint_test_upward): Likewise.
10816 (main): Don't call removed functions.
10817
5006148e
RM
108182014-03-14 Roland McGrath <roland@hack.frob.com>
10819
10820 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
10821 "Compiled on ..." crapola. It is anti-useful.
10822
d6fe5e58
JM
108232014-03-14 Joseph Myers <joseph@codesourcery.com>
10824
10825 * scripts/evaluate-test.sh: Handle fourth argument to determine
10826 whether test run should stop on failure.
10827 * Makeconfig (stop-on-test-failure): New variable.
10828 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
10829 $(stop-on-test-failure).
10830 * Makefile (tests): Give a summary of results from testing and
10831 exit with failure status if they include an ERROR or FAIL.
10832 (xtests): Likewise.
10833 * manual/install.texi (Configuring and compiling): Mention
10834 stop-on-test-failure=y.
10835 * INSTALL: Regenerated.
10836
498a2233
RM
108372014-03-14 Roland McGrath <roland@hack.frob.com>
10838
22dbc19d
RM
10839 * scripts/versionlist.awk: New file.
10840 * Makerules [$(build-shared) = yes]
10841 (postclean-generated): Add Versions.def, not Versions.def.v and
10842 Versions.def.v.i.
10843 ($(common-objpfx)Versions.def.v.i): Target removed.
10844 ($(common-objpfx)Versions.def): New target.
10845 ($(common-objpfx)Versions.all): Depend on that rather that
10846 $(common-objpfx)Versions.def.v.
10847 * Versions.def: File removed.
10848
498a2233
RM
10849 * Makeconfig (+gccwarn): Add -Wundef.
10850 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
10851 a dl-sysdep.h breaking its contract.
10852 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
10853 * include/stackinfo.h: New file.
10854 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
10855 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
10856 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
10857 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
10858 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
10859 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
10860 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10861 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10862 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10863 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10864 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10865 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
10866 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10867 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10868 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10869
c7de5025
AZ
108702014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10871
10872 [BZ #16707]
10873 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10874 implementation.
10875 * math/libm-test.inc (round_test_data): Add more tests.
10876
98fb27a3
AZ
10877 [BZ #16706]
10878 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10879 implementation.
10880 * math/libm-test.inc (nearbyint_test_data): Add more tests.
10881
374f7f61
AZ
10882 [BZ #16701]
10883 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10884 implementation.
10885 * math/libm-test.inc (ceil_test_data): Add more tests.
10886
4655c291
AZ
10887 * math/libm-test.inc (trunc_test_data): Add more tests related to
10888 BZ#16414.
10889
d7329d4b
RM
108902014-03-14 Roland McGrath <roland@hack.frob.com>
10891
10892 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10893 with #if rather than #ifdef.
10894 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10895
aa4de9ce
L
108962014-03-14 H.J. Lu <hongjiu.lu@intel.com>
10897
10898 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10899 first. Disable AVX-512 GCC support if assembler doesn't support
10900 it.
10901 * sysdeps/x86_64/configure: Regenerated.
10902
2e03fae7
CD
109032014-03-13 Carlos O'Donell <carlos@redhat.com>
10904
10905 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10906 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10907 (__old_pthread_attr_setstack): Likewise.
10908 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10909 [!_STACK_GROWS_DOWN]: Likewise.
10910
43ca83ec
MF
109112014-03-13 Mike Frysinger <vapier@gentoo.org>
10912
10913 * config.make.in (have-bash2): Delete.
10914 * configure.ac (libc_cv_have_bash2): Delete.
10915 * configure: Regenerate.
10916 * elf/Makefile (common-ldd-rewrite): Rename to ...
10917 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
10918 (sh-ldd-rewrite): Delete.
10919 (bash-ldd-rewrite): Delete.
10920 (have-bash2): Delete checks.
57f41c40
AS
10921 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10922 ldd-rewrite.
c66e48b4
MF
10923
10924 * config.make.in (have-ksh): Delete.
10925 (KSH): Delete.
10926 * configure.ac (libc_cv_have_ksh): Delete.
10927 * configure: Regenerate.
10928
b93834ef
MF
10929 * elf/Makefile: Delete $(have-ksh) check.
10930 ($(objpfx)sotruss): Change KSH to BASH.
10931 * elf/sotruss.ksh: Rename to ...
10932 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
10933 function style to match POSIX. Drop ksh vim mode setting.
10934
f3a4632a
MF
10935 * manual/time.texi (Specifying the Time Zone with TZ): Change
10936 Tuesday to Thursday.
10937
5896c8bd
MF
10938 * debug/tst-longjmp_chk2.c: Update header comment.
10939 (stackoverflow_handler): Add comment. Call assert on pass value.
10940
2d63a517
IZ
109412014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
10942
7e54fd04 10943 [BZ #16194]
2d63a517
IZ
10944 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10945 (HAVE_AVX512_ASM_SUPPORT): Likewise.
10946 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10947 (La_x86_64_vector): Add zmm.
10948 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10949 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10950 ($(objpfx)tst-audit10): New target.
10951 ($(objpfx)tst-audit10.out): Likewise.
10952 (tst-audit10-ENV): New.
10953 (AVX512-CFLAGS): Likewise.
10954 (CFLAGS-tst-audit10.c): Likewise.
10955 (CFLAGS-tst-auditmod10a.c): Likewise.
10956 (CFLAGS-tst-auditmod10b.c): Likewise.
10957 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10958 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10959 * sysdeps/x86_64/configure: Regenerated.
10960 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10961 AVX-512 zmm register support.
10962 (_dl_x86_64_save_sse): Likewise.
10963 (_dl_x86_64_restore_sse): Likewise.
10964 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
10965 size vector registers.
10966 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
10967 (ZMM_SIZE): Likewise.
10968 * sysdeps/x86_64/tst-audit10.c: New file.
10969 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
10970 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
10971
44c4e5d5
RM
109722014-03-13 Roland McGrath <roland@hack.frob.com>
10973
10974 * configure.ac (HAVE_EHDR_START): New check.
10975 * configure: Regenerated.
10976 * config.h.in (HAVE_EHDR_START): New #undef.
10977 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
10978 assuming the lowest-addressed segment maps the start of the file.
10979
acd6e389
JM
109802014-03-13 Joseph Myers <joseph@codesourcery.com>
10981
10982 * INSTALL: Regenerated.
10983
6f918f36
WN
109842014-03-13 Will Newton <will.newton@linaro.org>
10985
10986 * manual/setjmp.texi (System V contexts): Improve
10987 clarity and grammar of documentation.
10988
798212a0
PP
109892014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
10990
10991 [BZ #16381]
798212a0 10992 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 10993 (tests-pie): Add tst-pie2.
798212a0
PP
10994 * elf/tst-pie2.c: New file.
10995 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
10996 for ET_EXEC.
10997 * elf/rtld.c (map_doit): Load executable as lt_executable.
10998 (dl_main): Likewise.
10999
abe6d90c
JM
110002014-03-12 Joseph Myers <joseph@codesourcery.com>
11001
11002 [BZ #16642]
11003 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11004 (__ASSUME_PSELECT): Undefine.
11005
dd3946c6
AZ
110062014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11007
11008 [BZ #16689]
11009 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
11010 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
11011 static build.
11012 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
11013 selector for static builds.
11014
c44496df
SP
110152014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11016
11017 [BZ #16695]
11018 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
11019 key in the buffer.
11020
27c7220a
AZ
110212014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11022
57f41c40
AS
11023 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
11024 IFUNC selector for static builds.
27c7220a 11025
600fa361
JM
110262014-03-11 Joseph Myers <joseph@codesourcery.com>
11027
76c96cf7
JM
11028 * sysdeps/mips/math_private.h [__mips_hard_float]
11029 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
11030 libc_feresetround_mips_ctx.
11031 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
11032 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
11033 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
11034
600fa361
JM
11035 [BZ #16677]
11036 * math/s_nextafter.c (__nextafter): Do not return value from
11037 overflowing computation.
11038 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
11039 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
11040 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
11041 Likewise.
11042 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
11043 Likewise.
11044 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
11045 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
11046
d7706c32
RM
110472014-03-11 Roland McGrath <roland@hack.frob.com>
11048
11049 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
11050 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
11051 Move sfi_sp use from the load-multiple (that no longer sets sp) to
11052 the new mov targetting sp.
11053
4facea47
AZ
110542014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11055
11056 [BZ #16683]
11057 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
11058 Define it for static builds as well.
11059 (NO_BZERO_IMPL): Likewise.
11060
e65caf1f
VR
110612014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11062
11063 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
11064 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
11065 multiarch strspn for PPC64.
11066 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
11067 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
11068 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11069 (__libc_ifunc_impl_list): Likewise.
11070 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
11071 multiarch optimizations
11072 * string/strspn.c (strspn): Using macro to redefine symbol name.
11073
ba9cc071
AZ
110742014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11075 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11076
11077 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
11078 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
11079 multiarch strncat for PPC64.
11080 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
11081 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
11082 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11083 (__libc_ifunc_impl_list): Likewise.
11084 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
11085 multiarch optimizations
11086
8b4ff974
SP
110872014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11088
11089 [BZ #16639]
11090 * nscd/nscd.service: Make service type forking.
11091
54b46a4b
AZ
110922014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11093
11094 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
11095 sign in non default rounding modes.
11096 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11097
e9996ef7
JM
110982014-03-08 Joseph Myers <joseph@codesourcery.com>
11099
11100 * math/libm-test.inc (ALL_RM_TEST): New macro.
11101 (ceil_test): Use ALL_RM_TEST.
11102 (cimag_test): Likewise.
11103 (conj_test): Likewise.
11104 (copysign_test): Likewise.
11105 (cproj_test): Likewise.
11106 (creal_test): Likewise.
11107 (fabs_test): Likewise.
11108 (floor_test): Likewise.
11109 (fmax_test): Likewise.
11110 (fmin_test): Likewise.
11111 (fmod_test): Likewise.
11112 (fpclassify_test): Likewise.
11113 (frexp_test): Likewise.
11114 (ilogb_test): Likewise.
11115 (isfinite_test): Likewise.
11116 (finite_test): Likewise.
11117 (isgreater_test): Likewise.
11118 (isgreaterequal_test): Likewise.
11119 (isinf_test): Likewise.
11120 (isless_test): Likewise.
11121 (islessequal_test): Likewise.
11122 (islessgreater_test): Likewise.
11123 (isnan_test): Likewise.
11124 (isnormal_test): Likewise.
11125 (issignaling_test): Likewise.
11126 (isunordered_test): Likewise.
11127 (logb_test): Likewise.
11128 (logb_downward_test_data): Remove.
11129 (logb_test_downward): Likewise.
11130 (lround_test): Use ALL_RM_TEST.
11131 (llround_test): Likewise.
11132 (modf_test): Likewise.
11133 (nexttoward_test): Likewise.
11134 (remainder_test): Likewise.
11135 (drem_test): Likewise.
11136 (remainder_tonearest_test_data): Likewise.
11137 (remainder_test_tonearest): Likewise.
11138 (drem_test_tonearest): Likewise.
11139 (remainder_towardzero_test_data): Likewise.
11140 (remainder_test_towardzero): Likewise.
11141 (drem_test_towardzero): Likewise.
11142 (remainder_downward_test_data): Likewise.
11143 (remainder_test_downward): Likewise.
11144 (drem_test_downward): Likewise.
11145 (remainder_upward_test_data): Likewise.
11146 (remainder_test_upward): Likewise.
11147 (drem_test_upward): Likewise.
11148 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
11149 (round_test): Use ALL_RM_TEST.
11150 (signbit_test): Likewise.
11151 (trunc_test): Likewise.
11152 (significand_test): Likewise.
11153 (main): Don't call removed functions.
11154
bc61d27c
JM
111552014-03-07 Joseph Myers <joseph@codesourcery.com>
11156
5c780849
JM
11157 [BZ #16674]
11158 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
11159 || __USE_XOPEN2K8].
11160 (ILL_ILLOPN): Likewise.
11161 (ILL_ILLADR): Likewise.
11162 (ILL_ILLTRP): Likewise.
11163 (ILL_PRVOPC): Likewise.
11164 (ILL_PRVREG): Likewise.
11165 (ILL_COPROC): Likewise.
11166 (ILL_BADSTK): Likewise.
11167 (FPE_INTDIV): Likewise.
11168 (FPE_INTOVF): Likewise.
11169 (FPE_FLTDIV): Likewise.
11170 (FPE_FLTOVF): Likewise.
11171 (FPE_FLTUND): Likewise.
11172 (FPE_FLTRES): Likewise.
11173 (FPE_FLTINV): Likewise.
11174 (FPE_FLTSUB): Likewise.
11175 (SEGV_MAPERR): Likewise.
11176 (SEGV_ACCERR): Likewise.
11177 (BUS_ADRALN): Likewise.
11178 (BUS_ADRERR): Likewise.
11179 (BUS_OBJERR): Likewise.
11180 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11181 (TRAP_TRACE): Likewise.
11182 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11183 __USE_XOPEN2K8].
11184 (CLD_KILLED): Likewise.
11185 (CLD_DUMPED): Likewise.
11186 (CLD_TRAPPED): Likewise.
11187 (CLD_STOPPED): Likewise.
11188 (CLD_CONTINUED): Likewise.
11189 (POLL_IN): Likewise.
11190 (POLL_OUT): Likewise.
11191 (POLL_MSG): Likewise.
11192 (POLL_ERR): Likewise.
11193 (POLL_PRI): Likewise.
11194 (POLL_HUP): Likewise.
11195 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
11196 Likewise.
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 (BUS_MCEERR_AR): Likewise.
11218 (BUS_MCEERR_AO): Likewise.
11219 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11220 (TRAP_TRACE): Likewise.
11221 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11222 __USE_XOPEN2K8].
11223 (CLD_KILLED): Likewise.
11224 (CLD_DUMPED): Likewise.
11225 (CLD_TRAPPED): Likewise.
11226 (CLD_STOPPED): Likewise.
11227 (CLD_CONTINUED): Likewise.
11228 (POLL_IN): Likewise.
11229 (POLL_OUT): Likewise.
11230 (POLL_MSG): Likewise.
11231 (POLL_ERR): Likewise.
11232 (POLL_PRI): Likewise.
11233 (POLL_HUP): Likewise.
11234 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
11235 (ILL_ILLOPN): Likewise.
11236 (ILL_ILLADR): Likewise.
11237 (ILL_ILLTRP): Likewise.
11238 (ILL_PRVOPC): Likewise.
11239 (ILL_PRVREG): Likewise.
11240 (ILL_COPROC): Likewise.
11241 (ILL_BADSTK): Likewise.
11242 (FPE_INTDIV): Likewise.
11243 (FPE_INTOVF): Likewise.
11244 (FPE_FLTDIV): Likewise.
11245 (FPE_FLTOVF): Likewise.
11246 (FPE_FLTUND): Likewise.
11247 (FPE_FLTRES): Likewise.
11248 (FPE_FLTINV): Likewise.
11249 (FPE_FLTSUB): Likewise.
11250 (SEGV_MAPERR): Likewise.
11251 (SEGV_ACCERR): Likewise.
11252 (BUS_ADRALN): Likewise.
11253 (BUS_ADRERR): Likewise.
11254 (BUS_OBJERR): Likewise.
11255 (BUS_MCEERR_AR): Likewise.
11256 (BUS_MCEERR_AO): Likewise.
11257 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11258 (TRAP_TRACE): Likewise.
11259 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11260 __USE_XOPEN2K8].
11261 (CLD_KILLED): Likewise.
11262 (CLD_DUMPED): Likewise.
11263 (CLD_TRAPPED): Likewise.
11264 (CLD_STOPPED): Likewise.
11265 (CLD_CONTINUED): Likewise.
11266 (POLL_IN): Likewise.
11267 (POLL_OUT): Likewise.
11268 (POLL_MSG): Likewise.
11269 (POLL_ERR): Likewise.
11270 (POLL_PRI): Likewise.
11271 (POLL_HUP): Likewise.
11272 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
11273 Likewise.
11274 (ILL_ILLOPN): Likewise.
11275 (ILL_ILLADR): Likewise.
11276 (ILL_ILLTRP): Likewise.
11277 (ILL_PRVOPC): Likewise.
11278 (ILL_PRVREG): Likewise.
11279 (ILL_COPROC): Likewise.
11280 (ILL_BADSTK): Likewise.
11281 (ILL_BADIADDR): Likewise.
11282 (ILL_BREAK): Likewise.
11283 (FPE_INTDIV): Likewise.
11284 (FPE_INTOVF): Likewise.
11285 (FPE_FLTDIV): Likewise.
11286 (FPE_FLTOVF): Likewise.
11287 (FPE_FLTUND): Likewise.
11288 (FPE_FLTRES): Likewise.
11289 (FPE_FLTINV): Likewise.
11290 (FPE_FLTSUB): Likewise.
11291 (FPE_DECOVF): Likewise.
11292 (FPE_DECDIV): Likewise.
11293 (FPE_DECERR): Likewise.
11294 (FPE_INVASC): Likewise.
11295 (FPE_INVDEC): Likewise.
11296 (SEGV_MAPERR): Likewise.
11297 (SEGV_ACCERR): Likewise.
11298 (SEGV_PSTKOVF): Likewise.
11299 (BUS_ADRALN): Likewise.
11300 (BUS_ADRERR): Likewise.
11301 (BUS_OBJERR): Likewise.
11302 (BUS_MCEERR_AR): Likewise.
11303 (BUS_MCEERR_AO): Likewise.
11304 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11305 (TRAP_TRACE): Likewise.
11306 (TRAP_BRANCH): Likewise.
11307 (TRAP_HWBKPT): Likewise.
11308 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11309 __USE_XOPEN2K8].
11310 (CLD_KILLED): Likewise.
11311 (CLD_DUMPED): Likewise.
11312 (CLD_TRAPPED): Likewise.
11313 (CLD_STOPPED): Likewise.
11314 (CLD_CONTINUED): Likewise.
11315 (POLL_IN): Likewise.
11316 (POLL_OUT): Likewise.
11317 (POLL_MSG): Likewise.
11318 (POLL_ERR): Likewise.
11319 (POLL_PRI): Likewise.
11320 (POLL_HUP): Likewise.
11321 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
11322 (ILL_ILLOPN): Likewise.
11323 (ILL_ILLADR): Likewise.
11324 (ILL_ILLTRP): Likewise.
11325 (ILL_PRVOPC): Likewise.
11326 (ILL_PRVREG): Likewise.
11327 (ILL_COPROC): Likewise.
11328 (ILL_BADSTK): Likewise.
11329 (FPE_INTDIV): Likewise.
11330 (FPE_INTOVF): Likewise.
11331 (FPE_FLTDIV): Likewise.
11332 (FPE_FLTOVF): Likewise.
11333 (FPE_FLTUND): Likewise.
11334 (FPE_FLTRES): Likewise.
11335 (FPE_FLTINV): Likewise.
11336 (FPE_FLTSUB): Likewise.
11337 (SEGV_MAPERR): Likewise.
11338 (SEGV_ACCERR): Likewise.
11339 (BUS_ADRALN): Likewise.
11340 (BUS_ADRERR): Likewise.
11341 (BUS_OBJERR): Likewise.
11342 (BUS_MCEERR_AR): Likewise.
11343 (BUS_MCEERR_AO): Likewise.
11344 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11345 (TRAP_TRACE): Likewise.
11346 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11347 __USE_XOPEN2K8].
11348 (CLD_KILLED): Likewise.
11349 (CLD_DUMPED): Likewise.
11350 (CLD_TRAPPED): Likewise.
11351 (CLD_STOPPED): Likewise.
11352 (CLD_CONTINUED): Likewise.
11353 (POLL_IN): Likewise.
11354 (POLL_OUT): Likewise.
11355 (POLL_MSG): Likewise.
11356 (POLL_ERR): Likewise.
11357 (POLL_PRI): Likewise.
11358 (POLL_HUP): Likewise.
11359 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
11360 (ILL_ILLOPN): Likewise.
11361 (ILL_ILLADR): Likewise.
11362 (ILL_ILLTRP): Likewise.
11363 (ILL_PRVOPC): Likewise.
11364 (ILL_PRVREG): Likewise.
11365 (ILL_COPROC): Likewise.
11366 (ILL_BADSTK): Likewise.
11367 (FPE_INTDIV): Likewise.
11368 (FPE_INTOVF): Likewise.
11369 (FPE_FLTDIV): Likewise.
11370 (FPE_FLTOVF): Likewise.
11371 (FPE_FLTUND): Likewise.
11372 (FPE_FLTRES): Likewise.
11373 (FPE_FLTINV): Likewise.
11374 (FPE_FLTSUB): Likewise.
11375 (SEGV_MAPERR): Likewise.
11376 (SEGV_ACCERR): Likewise.
11377 (BUS_ADRALN): Likewise.
11378 (BUS_ADRERR): Likewise.
11379 (BUS_OBJERR): Likewise.
11380 (BUS_MCEERR_AR): Likewise.
11381 (BUS_MCEERR_AO): Likewise.
11382 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11383 (TRAP_TRACE): Likewise.
11384 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11385 __USE_XOPEN2K8].
11386 (CLD_KILLED): Likewise.
11387 (CLD_DUMPED): Likewise.
11388 (CLD_TRAPPED): Likewise.
11389 (CLD_STOPPED): Likewise.
11390 (CLD_CONTINUED): Likewise.
11391 (POLL_IN): Likewise.
11392 (POLL_OUT): Likewise.
11393 (POLL_MSG): Likewise.
11394 (POLL_ERR): Likewise.
11395 (POLL_PRI): Likewise.
11396 (POLL_HUP): Likewise.
11397 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
11398 (ILL_ILLOPN): Likewise.
11399 (ILL_ILLADR): Likewise.
11400 (ILL_ILLTRP): Likewise.
11401 (ILL_PRVOPC): Likewise.
11402 (ILL_PRVREG): Likewise.
11403 (ILL_COPROC): Likewise.
11404 (ILL_BADSTK): Likewise.
11405 (FPE_INTDIV): Likewise.
11406 (FPE_INTOVF): Likewise.
11407 (FPE_FLTDIV): Likewise.
11408 (FPE_FLTOVF): Likewise.
11409 (FPE_FLTUND): Likewise.
11410 (FPE_FLTRES): Likewise.
11411 (FPE_FLTINV): Likewise.
11412 (FPE_FLTSUB): Likewise.
11413 (SEGV_MAPERR): Likewise.
11414 (SEGV_ACCERR): Likewise.
11415 (BUS_ADRALN): Likewise.
11416 (BUS_ADRERR): Likewise.
11417 (BUS_OBJERR): Likewise.
11418 (BUS_MCEERR_AR): Likewise.
11419 (BUS_MCEERR_AO): Likewise.
11420 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11421 (TRAP_TRACE): Likewise.
11422 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11423 __USE_XOPEN2K8].
11424 (CLD_KILLED): Likewise.
11425 (CLD_DUMPED): Likewise.
11426 (CLD_TRAPPED): Likewise.
11427 (CLD_STOPPED): Likewise.
11428 (CLD_CONTINUED): Likewise.
11429 (POLL_IN): Likewise.
11430 (POLL_OUT): Likewise.
11431 (POLL_MSG): Likewise.
11432 (POLL_ERR): Likewise.
11433 (POLL_PRI): Likewise.
11434 (POLL_HUP): Likewise.
11435 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
11436 (ILL_ILLOPN): Likewise.
11437 (ILL_ILLADR): Likewise.
11438 (ILL_ILLTRP): Likewise.
11439 (ILL_PRVOPC): Likewise.
11440 (ILL_PRVREG): Likewise.
11441 (ILL_COPROC): Likewise.
11442 (ILL_BADSTK): Likewise.
11443 (ILL_DBLFLT): Likewise.
11444 (ILL_HARDWALL): Likewise.
11445 (FPE_INTDIV): Likewise.
11446 (FPE_INTOVF): Likewise.
11447 (FPE_FLTDIV): Likewise.
11448 (FPE_FLTOVF): Likewise.
11449 (FPE_FLTUND): Likewise.
11450 (FPE_FLTRES): Likewise.
11451 (FPE_FLTINV): Likewise.
11452 (FPE_FLTSUB): Likewise.
11453 (SEGV_MAPERR): Likewise.
11454 (SEGV_ACCERR): Likewise.
11455 (BUS_ADRALN): Likewise.
11456 (BUS_ADRERR): Likewise.
11457 (BUS_OBJERR): Likewise.
11458 (BUS_MCEERR_AR): Likewise.
11459 (BUS_MCEERR_AO): Likewise.
11460 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11461 (TRAP_TRACE): Likewise.
11462 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11463 __USE_XOPEN2K8].
11464 (CLD_KILLED): Likewise.
11465 (CLD_DUMPED): Likewise.
11466 (CLD_TRAPPED): Likewise.
11467 (CLD_STOPPED): Likewise.
11468 (CLD_CONTINUED): Likewise.
11469 (POLL_IN): Likewise.
11470 (POLL_OUT): Likewise.
11471 (POLL_MSG): Likewise.
11472 (POLL_ERR): Likewise.
11473 (POLL_PRI): Likewise.
11474 (POLL_HUP): Likewise.
11475 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
11476 (ILL_ILLOPN): Likewise.
11477 (ILL_ILLADR): Likewise.
11478 (ILL_ILLTRP): Likewise.
11479 (ILL_PRVOPC): Likewise.
11480 (ILL_PRVREG): Likewise.
11481 (ILL_COPROC): Likewise.
11482 (ILL_BADSTK): Likewise.
11483 (FPE_INTDIV): Likewise.
11484 (FPE_INTOVF): Likewise.
11485 (FPE_FLTDIV): Likewise.
11486 (FPE_FLTOVF): Likewise.
11487 (FPE_FLTUND): Likewise.
11488 (FPE_FLTRES): Likewise.
11489 (FPE_FLTINV): Likewise.
11490 (FPE_FLTSUB): Likewise.
11491 (SEGV_MAPERR): Likewise.
11492 (SEGV_ACCERR): Likewise.
11493 (BUS_ADRALN): Likewise.
11494 (BUS_ADRERR): Likewise.
11495 (BUS_OBJERR): Likewise.
11496 (BUS_MCEERR_AR): Likewise.
11497 (BUS_MCEERR_AO): Likewise.
11498 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11499 (TRAP_TRACE): Likewise.
11500 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11501 __USE_XOPEN2K8].
11502 (CLD_KILLED): Likewise.
11503 (CLD_DUMPED): Likewise.
11504 (CLD_TRAPPED): Likewise.
11505 (CLD_STOPPED): Likewise.
11506 (CLD_CONTINUED): Likewise.
11507 (POLL_IN): Likewise.
11508 (POLL_OUT): Likewise.
11509 (POLL_MSG): Likewise.
11510 (POLL_ERR): Likewise.
11511 (POLL_PRI): Likewise.
11512 (POLL_HUP): Likewise.
11513 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
11514 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11515
bc61d27c
JM
11516 [BZ #16670]
11517 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
11518 before #include of <time.h>.
11519 [!__USE_XOPEN2K] (__need_timespec): Likewise.
11520 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
11521 (test-xfail-UNIX98/sched.h/conform): Likewise.
11522
302949e2
MS
115232014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
11524
11525 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
11526 error absence of trapping exception support.
11527 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11528
a00f522a
JM
115292014-03-07 Joseph Myers <joseph@codesourcery.com>
11530
6f99f280
JM
11531 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
11532 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
11533 * timezone/Makefile (testdata): Move definition above include of
11534 Rules.
11535 (test-zones): New variable.
11536 (tests-special): Add zone files.
11537 (build-testdata): Use $(evaluate-test).
11538
0b20a9e8
JM
11539 * elf/Makefile (tests-special): Rename tests to end with .out.
11540 ($(objpfx)noload-mem): Likewise.
11541 ($(objpfx)tst-leaks1-mem): Likewise.
11542 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
11543 * iconv/Makefile (xtests-special): Change test-iconvconfig to
11544 $(objpfx)test-iconvconfig.out.
11545 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
11546 set -e inside subshell and redirect output to file.
11547 * iconvdata/Makefile (generated): Rename tests to end with .out.
11548 Correct type.
11549 (tests-special): Rename tests to end with .out.
11550 ($(objpfx)mtrace-tst-loading): Likewise.
11551 * intl/Makefile (generated): Likewise.
11552 (tests-special): Likewise.
11553 ($(objpfx)mtrace-tst-gettext): Likewise.
11554 * misc/Makefile (generated): Likewise.
11555 (tests-special): Likewise.
11556 ($(objpfx)tst-error1-mem): Likewise.
11557 * nptl/Makefile (tests-special): Likewise.
11558 ($(objpfx)tst-stack3-mem): Likewise.
11559 (generated): Likewise.
11560 * posix/Makefile (generated): Likewise.
11561 (tests-special): Likewise.
11562 (xtests-special): Likewise.
11563 ($(objpfx)tst-fnmatch-mem): Likewise.
11564 ($(objpfx)bug-regex2-mem): Likewise.
11565 ($(objpfx)bug-regex14-mem): Likewise.
11566 ($(objpfx)bug-regex21-mem): Likewise.
11567 ($(objpfx)bug-regex31-mem): Likewise.
11568 ($(objpfx)tst-vfork3-mem): Likewise.
11569 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11570 ($(objpfx)tst-pcre-mem): Likewise.
11571 ($(objpfx)tst-boost-mem): Likewise.
11572 ($(objpfx)bug-ga2-mem): Likewise.
11573 ($(objpfx)bug-glob2-mem): Likewise.
11574 * resolv/Makefile (generate): Likewise.
11575 (tests-special): Likewise.
11576 (xtests-special): Likewise.
11577 (generated): Likewise.
11578 ($(objpfx)mtrace-tst-leaks): Likewise.
11579 ($(objpfx)mtrace-tst-leaks2): Likewise.
11580
265d52ab
JM
11581 * scripts/merge-test-results.sh: New file.
11582 * Makefile (tests-special-notdir): New variable.
11583 (tests): Run merge-test-results.sh.
11584 (xtests): Likewise.
11585 * Rules (tests-special-notdir): New variable.
11586 (xtests-special-notdir): Likewise.
11587 (tests): Run merge-test-results.sh
11588 (xtests): Likewise.
11589
54ee292d
JM
11590 * Makeconfig (test-xfail-name): New variable.
11591 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
11592 compute variable name for expected failures.
11593 * conform/Makefile (conformtest-headers-data): New variable.
11594 (conformtest-standards): Likewise.
11595 (conformtest-headers-ISO): Likewise.
11596 (conformtest-headers-ISO99): Likewise.
11597 (conformtest-headers-ISO11): Likewise.
11598 (conformtest-headers-POSIX): Likewise.
11599 (conformtest-headers-XPG3): Likewise.
11600 (conformtest-headers-XPG4): Likewise.
11601 (conformtest-headers-UNIX98): Likewise.
11602 (conformtest-headers-XOPEN2K): Likewise.
11603 (conformtest-headers-POSIX2008): Likewise.
11604 (conformtest-headers-XOPEN2K8): Likewise.
11605 (conformtest-header-list-base): Likewise.
11606 (conformtest-header-list-tests): Likewise.
11607 (conformtest-header-base): Likewise.
11608 (conformtest-header-tests): Likewise.
11609 (tests-special): Add $(conformtest-header-list-tests). If
11610 [$(fast-check) && !$(cross-compiling)], add
11611 $(conformtest-header-tests) instead of
11612 $(objpfx)run-conformtest.out.
11613 (generated): Add $(conformtest-header-list-base). If
11614 [$(fast-check) && !$(cross-compiling)], add
11615 $(conformtest-header-base). Remove previous setting.
11616 ($(conformtest-header-list-tests)): New target.
11617 (test-xfail-run-conformtest): Remove variable.
11618 ($(objpfx)run-conformtest.out): Remove target.
11619 (test-xfail-ISO11/complex.h/conform): New variable.
11620 (test-xfail-ISO11/stdalign.h/conform): Likewise.
11621 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11622 (test-xfail-XPG3/varargs.h/conform): Likewise.
11623 (test-xfail-XPG4/varargs.h/conform): Likewise.
11624 (test-xfail-UNIX98/varargs.h/conform): Likewise.
11625 (test-xfail-XPG4/ndbm.h/conform): Likewise.
11626 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
11627 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
11628 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
11629 (test-xfail-XPG3/fcntl.h/conform): Likewise.
11630 (test-xfail-XPG3/ftw.h/conform): Likewise.
11631 (test-xfail-XPG3/grp.h/conform): Likewise.
11632 (test-xfail-XPG3/langinfo.h/conform): Likewise.
11633 (test-xfail-XPG3/limits.h/conform): Likewise.
11634 (test-xfail-XPG3/pwd.h/conform): Likewise.
11635 (test-xfail-XPG3/search.h/conform): Likewise.
11636 (test-xfail-XPG3/signal.h/conform): Likewise.
11637 (test-xfail-XPG3/stdio.h/conform): Likewise.
11638 (test-xfail-XPG3/stdlib.h/conform): Likewise.
11639 (test-xfail-XPG3/string.h/conform): Likewise.
11640 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
11641 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
11642 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11643 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11644 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
11645 (test-xfail-XPG3/sys/types.h/conform): Likewise.
11646 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
11647 (test-xfail-XPG3/termios.h/conform): Likewise.
11648 (test-xfail-XPG3/time.h/conform): Likewise.
11649 (test-xfail-XPG3/unistd.h/conform): Likewise.
11650 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
11651 (test-xfail-XPG4/fcntl.h/conform): Likewise.
11652 (test-xfail-XPG4/langinfo.h/conform): Likewise.
11653 (test-xfail-XPG4/netdb.h/conform): Likewise.
11654 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
11655 (test-xfail-XPG4/signal.h/conform): Likewise.
11656 (test-xfail-XPG4/stdio.h/conform): Likewise.
11657 (test-xfail-XPG4/stdlib.h/conform): Likewise.
11658 (test-xfail-XPG4/stropts.h/conform): Likewise.
11659 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11660 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11661 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11662 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11663 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11664 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
11665 (test-xfail-XPG4/sys/time.h/conform): Likewise.
11666 (test-xfail-XPG4/sys/types.h/conform): Likewise.
11667 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
11668 (test-xfail-XPG4/termios.h/conform): Likewise.
11669 (test-xfail-XPG4/ucontext.h/conform): Likewise.
11670 (test-xfail-XPG4/unistd.h/conform): Likewise.
11671 (test-xfail-XPG4/utmpx.h/conform): Likewise.
11672 (test-xfail-POSIX/sched.h/conform): Likewise.
11673 (test-xfail-POSIX/signal.h/conform): Likewise.
11674 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11675 (test-xfail-POSIX/tar.h/conform): Likewise.
11676 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
11677 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
11678 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11679 (test-xfail-UNIX98/netdb.h/conform): Likewise.
11680 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
11681 (test-xfail-UNIX98/sched.h/conform): Likewise.
11682 (test-xfail-UNIX98/signal.h/conform): Likewise.
11683 (test-xfail-UNIX98/stdio.h/conform): Likewise.
11684 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11685 (test-xfail-UNIX98/stropts.h/conform): Likewise.
11686 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11687 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11688 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11689 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11690 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11691 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11692 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
11693 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
11694 (test-xfail-UNIX98/unistd.h/conform): Likewise.
11695 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11696 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
11697 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
11698 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11699 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
11700 (test-xfail-XOPEN2K/math.h/conform): Likewise.
11701 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11702 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11703 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11704 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
11705 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
11706 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
11707 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
11708 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11709 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11710 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11711 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11712 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11713 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11714 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
11715 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
11716 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11717 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
11718 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11719 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
11720 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11721 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
11722 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
11723 (test-xfail-POSIX2008/signal.h/conform): Likewise.
11724 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11725 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
11726 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
11727 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11728 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11729 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
11730 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11731 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11732 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11733 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
11734 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
11735 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11736 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11737 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11738 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
11739 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11740 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11741 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11742 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11743 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
11744 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11745 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11746 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
11747 (conformtest-cc-flags): Likewise.
11748 ($(conformtest-header-tests): New target.
11749 * conform/check-header-lists.sh: New file.
11750 * conform/run-conformtest.sh: Remove.
11751
a00f522a
JM
11752 * conform/conformtest.pl: Allow ' and \ in values given for
11753 constants.
11754 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
11755 inclusion.
11756 [POSIX] (sys/types.h): Likewise.
11757 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
11758 inclusion.
11759 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
11760 inclusion.
11761 * conform/data/signal.h-data (SIGIO): Remove expectation.
11762 [XPG3] (SIGBUS): Do not expect.
11763 [POSIX || XPG3] (SIGPOLL): Likewise.
11764 [POSIX || XPG3] (SIGPROF): Likewise.
11765 [POSIX || XPG3] (SIGSYS): Likewise.
11766 [XPG3] (SIGTRAP): Likewise.
11767 [POSIX || XPG3] (SIGURG): Likewise.
11768 [POSIX || XPG3] (SIGVTALRM): Likewise.
11769 [POSIX || XPG3] (SIGXCPU): Likewise.
11770 [POSIX || XPG3] (SIGXFSZ): Likewise.
11771 [POSIX] (SA_SIGINFO): Expect.
11772 [XPG3] (siginfo_t): Do not expect type or contents.
11773 [POSIX] (si_pid): Do not expect element.
11774 [POSIX] (si_uid): Likewise.
11775 [POSIX] (si_addr): Likewise.
11776 [POSIX] (si_status): Likewise.
11777 [POSIX] (si_band): Likewise.
11778 [XPG4] (si_value): Likewise.
11779 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
11780 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
11781 [POSIX || XPG3] (ILL_ILLADR): Likewise.
11782 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
11783 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
11784 [POSIX || XPG3] (ILL_PRVREG): Likewise.
11785 [POSIX || XPG3] (ILL_COPROC): Likewise.
11786 [POSIX || XPG3] (ILL_BADSTK): Likewise.
11787 [POSIX || XPG3] (FPE_INTDIV): Likewise.
11788 [POSIX || XPG3] (FPE_INTOVF): Likewise.
11789 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
11790 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
11791 [POSIX || XPG3] (FPE_FLTUND): Likewise.
11792 [POSIX || XPG3] (FPE_FLTRES): Likewise.
11793 [POSIX || XPG3] (FPE_FLTINV): Likewise.
11794 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
11795 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
11796 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
11797 [POSIX || XPG3] (BUS_ADRALN): Likewise.
11798 [POSIX || XPG3] (BUS_ADRERR): Likewise.
11799 [POSIX || XPG3] (BUS_OBJERR): Likewise.
11800 [POSIX || XPG3] (CLD_EXITED): Likewise.
11801 [POSIX || XPG3] (CLD_KILLED): Likewise.
11802 [POSIX || XPG3] (CLD_DUMPED): Likewise.
11803 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
11804 [POSIX || XPG3] (CLD_STOPPED): Likewise.
11805 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
11806 [POSIX || XPG3] (POLL_IN): Likewise.
11807 [POSIX || XPG3] (POLL_OUT): Likewise.
11808 [POSIX || XPG3] (POLL_MSG): Likewise.
11809 [POSIX || XPG3] (POLL_ERR): Likewise.
11810 [POSIX || XPG3] (POLL_PRI): Likewise.
11811 [POSIX || XPG3] (POLL_HUP): Likewise.
11812 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
11813 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
11814 (SIG*): Do not allow.
11815 [XPG3] (si_*): Likewise.
11816 [XPG3] (SI_*): Likewise.
11817 [XPG3 || XPG4] (sigev_*): Likewise.
11818 [XPG3 || XPG4] (SIGEV_*): Likewise.
11819 [XPG3 || XPG4] (sival_*): Likewise.
11820 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
11821 [POSIX || XPG3] (BUS_*): Likewise.
11822 [POSIX || XPG3] (CLD_*): Likewise.
11823 [POSIX || XPG3] (FPE_*): Likewise.
11824 [POSIX || XPG3] (ILL_*): Likewise.
11825 [POSIX || XPG3] (POLL_*): Likewise.
11826 [POSIX || XPG3] (SEGV_*): Likewise.
11827 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
11828 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
11829 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
11830 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
11831 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
11832 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
11833 Specify type and value.
11834 (TVERSLEN): Likewise.
11835 (REGTYPE): Likewise.
11836 (AREGTYPE): Likewise.
11837 (LNKTYPE): Likewise.
11838 (SYMTYPE): Likewise.
11839 (CHRTYPE): Likewise.
11840 (BLKTYPE): Likewise.
11841 (DIRTYPE): Likewise.
11842 (FIFOTYPE): Likewise.
11843 (CONTTYPE): Likewise.
11844 (TSUID): Likewise.
11845 (TSGID): Likewise.
11846 (TSVTX): Likewise.
11847 (TUREAD): Likewise.
11848 (TUWRITE): Likewise.
11849 (TUEXEC): Likewise.
11850 (TGREAD): Likewise.
11851 (TGWRITE): Likewise.
11852 (TGEXEC): Likewise.
11853 (TOREAD): Likewise.
11854 (TOWRITE): Likewise.
11855 (TOEXEC): Likewise.
11856 [POSIX] (TSVTX): Expect constant.
11857
aa97dee1
JM
118582014-03-06 Joseph Myers <joseph@codesourcery.com>
11859
f214606a
JM
11860 * Makefile (tests): Change dependencies to ....
11861 (tests-special): ... additions to this variable.
11862 (tests): Depend on $(tests-special).
11863 * Makerules (check-abi-list): New variable.
11864 (check-abi): Depend on $(check-abi-list).
11865 [$(subdir) = elf] (tests-special): Add
11866 $(objpfx)check-abi-libc.out.
11867 [$(build-shared) = yes && subdir] (tests-special): Add
11868 $(check-abi-list).
11869 [$(build-shared) = yes && subdir] (tests): Do not depend on
11870 check-abi.
11871 * Rules (tests): Depend on $(tests-special).
11872 (xtests): Depend on $(xtests-special).
11873 * catgets/Makefile (tests): Change dependencies to ....
11874 (tests-special): ... additions to this variable.
11875 * conform/Makefile (tests): Change dependencies to ....
11876 (tests-special): ... additions to this variable.
11877 * elf/Makefile (tests): Change dependencies to ....
11878 (tests-special): ... additions to this variable.
11879 * grp/Makefile (tests): Change dependencies to ....
11880 (tests-special): ... additions to this variable.
11881 * iconv/Makefile (xtests): Change dependencies to ....
11882 (xtests-special): ... additions to this variable.
11883 * iconvdata/Makefile (tests): Change dependencies to ....
11884 (tests-special): ... additions to this variable.
11885 * intl/Makefile (tests): Change dependencies to ....
11886 (tests-special): ... additions to this variable. Also add
11887 $(objpfx)tst-gettext.out.
11888 * io/Makefile (tests): Change dependencies to ....
11889 (tests-special): ... additions to this variable.
11890 * libio/Makefile (tests): Change dependencies to ....
11891 (tests-special): ... additions to this variable.
11892 * malloc/Makefile (tests): Change dependencies to ....
11893 (tests-special): ... additions to this variable.
11894 * misc/Makefile (tests): Change dependencies to ....
11895 (tests-special): ... additions to this variable.
11896 * nptl/Makefile (tests): Change dependencies to ....
11897 (tests-special): ... additions to this variable.
11898 * nptl_db/Makefile (tests): Change dependencies to ....
11899 (tests-special): ... additions to this variable.
11900 * posix/Makefile (tests): Change dependencies to ....
11901 (tests-special): ... additions to this variable.
11902 (xtests): Change dependencies to ....
11903 (xtests-special): ... additions to this variable.
11904 * resolv/Makefile (tests): Change dependencies to ....
11905 (tests-special): ... additions to this variable.
11906 (xtests): Change dependencies to ....
11907 (xtests-special): ... additions to this variable.
11908 * stdio-common/Makefile (tests): Change dependencies to ....
11909 (tests-special): ... additions to this variable.
11910 (do-tst-unbputc): Remove target.
11911 (do-tst-printf): Likewise.
11912 * stdlib/Makefile (tests): Change dependencies to ....
11913 (tests-special): ... additions to this variable.
11914 * string/Makefile (tests): Change dependencies to ....
11915 (tests-special): ... additions to this variable.
11916 * sysdeps/x86/Makefile (tests): Change dependencies to ....
11917 (tests-special): ... additions to this variable.
11918
81700b53
JM
11919 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11920 whole file.
11921 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11922 whole file.
11923 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11924 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11925
2ea18461
JM
11926 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11927 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11928 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11929 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11930 * conform/data/libgen.h-data [XPG3]: Likewise.
11931 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11932 * conform/data/ndbm.h-data [XPG3]: Likewise.
11933 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11934 * conform/data/netdb.h-data [XPG3]: Likewise.
11935 * conform/data/netinet/in.h-data [XPG3]: Likewise.
11936 * conform/data/poll.h-data [XPG3]: Likewise.
11937 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11938 * conform/data/strings.h-data [XPG3]: Likewise.
11939 * conform/data/stropts.h-data [XPG3]: Likewise.
11940 * conform/data/sys/mman.h-data [XPG3]: Likewise.
11941 * conform/data/sys/resource.h-data [XPG3]: Likewise.
11942 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11943 Likewise.
11944 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11945 * conform/data/sys/time.h-data [XPG3]: Likewise.
11946 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11947 * conform/data/sys/uio.h-data [XPG3]: Likewise.
11948 * conform/data/sys/un.h-data [XPG3]: Likewise.
11949 * conform/data/syslog.h-data [XPG3]: Likewise.
11950 * conform/data/ucontext.h-data [XPG3]: Likewise.
11951 * conform/data/utmpx.h-data [XPG3]: Likewise.
11952 * conform/data/varargs.h-data [UNIX98]: Enable file.
11953
355bc986
JM
11954 * manual/Makefile (INSTALL_INFO): Remove variable setting.
11955
215db402
JM
11956 * math/libm-test.inc (struct test_f_f_data): Move expected results
11957 into structure for each rounding mode.
11958 (struct test_ff_f_data): Likewise.
11959 (struct test_ff_f_data_nexttoward): Likewise.
11960 (struct test_fi_f_data): Likewise.
11961 (struct test_fl_f_data): Likewise.
11962 (struct test_if_f_data): Likewise.
11963 (struct test_fff_f_data): Likewise.
11964 (struct test_c_f_data): Likewise.
11965 (struct test_f_f1_data): Likewise.
11966 (struct test_fF_f1_data): Likewise.
11967 (struct test_ffI_f1_data): Likewise.
11968 (struct test_c_c_data): Likewise.
11969 (struct test_cc_c_data): Likewise.
11970 (struct test_f_i_data): Likewise.
11971 (struct test_ff_i_data): Likewise.
11972 (struct test_f_l_data): Likewise.
11973 (struct test_f_L_data): Likewise.
11974 (struct test_fFF_11_data): Likewise.
11975 (RM_): New macro.
11976 (RM_FE_DOWNWARD): Likewise.
11977 (RM_FE_TONEAREST): Likewise.
11978 (RM_FE_TOWARDZERO): Likewise.
11979 (RM_FE_UPWARD): Likewise.
11980 (RUN_TEST_LOOP_f_f): Update references to expected results.
11981 (RUN_TEST_LOOP_2_f): Likewise.
11982 (RUN_TEST_LOOP_fff_f): Likewise.
11983 (RUN_TEST_LOOP_c_f): Likewise.
11984 (RUN_TEST_LOOP_f_f1): Likewise.
11985 (RUN_TEST_LOOP_fF_f1): Likewise.
11986 (RUN_TEST_LOOP_fI_f1): Likewise.
11987 (RUN_TEST_LOOP_ffI_f1): Likewise.
11988 (RUN_TEST_LOOP_c_c): Likewise.
11989 (RUN_TEST_LOOP_cc_c): Likewise.
11990 (RUN_TEST_LOOP_f_i): Likewise.
11991 (RUN_TEST_LOOP_f_i_tg): Likewise.
11992 (RUN_TEST_LOOP_ff_i_tg): Likewise.
11993 (RUN_TEST_LOOP_f_b): Likewise.
11994 (RUN_TEST_LOOP_f_b_tg): Likewise.
11995 (RUN_TEST_LOOP_f_l): Likewise.
11996 (RUN_TEST_LOOP_f_L): Likewise.
11997 (RUN_TEST_LOOP_fFF_11): Likewise.
11998 * math/gen-libm-test.pl (parse_args): Output four copies of
11999 expected results for each test.
12000
67737b8f
JM
12001 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12002 (__ASSUME_UTIMES): Remove.
12003 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12004 (__ASSUME_UTIMES): Likewise.
12005
aa97dee1
JM
12006 * math/gen-auto-libm-tests.c: Update comment on output format.
12007 (output_for_one_input_case): Generate before-rounding and
12008 after-rounding information as conditions on output flags not
12009 floating-point format.
12010 * math/auto-libm-test-out: Regenerated.
12011 * math/gen-libm-test.pl (cond_value): New function.
12012 (or_cond_value): Use cond_value.
12013 (generate_testfile): Handle conditional exceptions.
12014
e6b6a857
JM
120152014-03-05 Joseph Myers <joseph@codesourcery.com>
12016
2f0a0f44
JM
12017 * math/libm-test.inc (max_valid_error): New variable.
12018 (init_max_error): Take new argument specifying whether function
12019 results are exactly determined. Set max_valid_error and bound
12020 other variables for errors based on this argument.
12021 (set_max_error): Do not record results above max_valid_error.
12022 (check_float_internal): Only accept errors of up to 0.5ulps if
12023 also at most max_valid_error.
12024 (START): Take new argument EXACT and pass it to init_max_error.
12025 (acos_test): Update call to START.
12026 (acos_test_tonearest): Likewise.
12027 (acos_test_towardzero): Likewise.
12028 (acos_test_downward): Likewise.
12029 (acos_test_upward): Likewise.
12030 (acosh_test): Likewise.
12031 (asin_test): Likewise.
12032 (asin_test_tonearest): Likewise.
12033 (asin_test_towardzero): Likewise.
12034 (asin_test_downward): Likewise.
12035 (asin_test_upward): Likewise.
12036 (asinh_test): Likewise.
12037 (atan_test): Likewise.
12038 (atanh_test): Likewise.
12039 (atan2_test): Likewise.
12040 (cabs_test): Likewise.
12041 (cacos_test): Likewise.
12042 (cacosh_test): Likewise.
12043 (carg_test): Likewise.
12044 (casin_test): Likewise.
12045 (casinh_test): Likewise.
12046 (catan_test): Likewise.
12047 (catanh_test): Likewise.
12048 (cbrt_test): Likewise.
12049 (ccos_test): Likewise.
12050 (ccosh_test): Likewise.
12051 (ceil_test): Likewise.
12052 (cexp_test): Likewise.
12053 (cimag_test): Likewise.
12054 (clog_test): Likewise.
12055 (clog10_test): Likewise.
12056 (conj_test): Likewise.
12057 (copysign_test): Likewise.
12058 (cos_test): Likewise.
12059 (cos_test_tonearest): Likewise.
12060 (cos_test_towardzero): Likewise.
12061 (cos_test_downward): Likewise.
12062 (cos_test_upward): Likewise.
12063 (cosh_test): Likewise.
12064 (cosh_test_tonearest): Likewise.
12065 (cosh_test_towardzero): Likewise.
12066 (cosh_test_downward): Likewise.
12067 (cosh_test_upward): Likewise.
12068 (cpow_test): Likewise.
12069 (cproj_test): Likewise.
12070 (creal_test): Likewise.
12071 (csin_test): Likewise.
12072 (csinh_test): Likewise.
12073 (csqrt_test): Likewise.
12074 (ctan_test): Likewise.
12075 (ctan_test_tonearest): Likewise.
12076 (ctan_test_towardzero): Likewise.
12077 (ctan_test_downward): Likewise.
12078 (ctan_test_upward): Likewise.
12079 (ctanh_test): Likewise.
12080 (ctanh_test_tonearest): Likewise.
12081 (ctanh_test_towardzero): Likewise.
12082 (ctanh_test_downward): Likewise.
12083 (ctanh_test_upward): Likewise.
12084 (erf_test): Likewise.
12085 (erfc_test): Likewise.
12086 (exp_test): Likewise.
12087 (exp_test_tonearest): Likewise.
12088 (exp_test_towardzero): Likewise.
12089 (exp_test_downward): Likewise.
12090 (exp_test_upward): Likewise.
12091 (exp10_test): Likewise.
12092 (exp10_test_tonearest): Likewise.
12093 (exp10_test_towardzero): Likewise.
12094 (exp10_test_downward): Likewise.
12095 (exp10_test_upward): Likewise.
12096 (pow10_test): Likewise.
12097 (exp2_test): Likewise.
12098 (expm1_test): Likewise.
12099 (expm1_test_tonearest): Likewise.
12100 (expm1_test_towardzero): Likewise.
12101 (expm1_test_downward): Likewise.
12102 (expm1_test_upward): Likewise.
12103 (fabs_test): Likewise.
12104 (fdim_test): Likewise.
12105 (floor_test): Likewise.
12106 (fma_test): Likewise.
12107 (fma_test_towardzero): Likewise.
12108 (fma_test_downward): Likewise.
12109 (fma_test_upward): Likewise.
12110 (fmax_test): Likewise.
12111 (fmin_test): Likewise.
12112 (fmod_test): Likewise.
12113 (fpclassify_test): Likewise.
12114 (frexp_test): Likewise.
12115 (hypot_test): Likewise.
12116 (ilogb_test): Likewise.
12117 (isfinite_test): Likewise.
12118 (finite_test): Likewise.
12119 (isgreater_test): Likewise.
12120 (isgreaterequal_test): Likewise.
12121 (isinf_test): Likewise.
12122 (isless_test): Likewise.
12123 (islessequal_test): Likewise.
12124 (islessgreater_test): Likewise.
12125 (isnan_test): Likewise.
12126 (isnormal_test): Likewise.
12127 (issignaling_test): Likewise.
12128 (isunordered_test): Likewise.
12129 (j0_test): Likewise.
12130 (j1_test): Likewise.
12131 (jn_test): Likewise.
12132 (ldexp_test): Likewise.
12133 (lgamma_test): Likewise.
12134 (gamma_test): Likewise.
12135 (lrint_test): Likewise.
12136 (lrint_test_tonearest): Likewise.
12137 (lrint_test_towardzero): Likewise.
12138 (lrint_test_downward): Likewise.
12139 (lrint_test_upward): Likewise.
12140 (llrint_test): Likewise.
12141 (llrint_test_tonearest): Likewise.
12142 (llrint_test_towardzero): Likewise.
12143 (llrint_test_downward): Likewise.
12144 (llrint_test_upward): Likewise.
12145 (log_test): Likewise.
12146 (log10_test): Likewise.
12147 (log1p_test): Likewise.
12148 (log2_test): Likewise.
12149 (logb_test): Likewise.
12150 (logb_test_downward): Likewise.
12151 (lround_test): Likewise.
12152 (llround_test): Likewise.
12153 (modf_test): Likewise.
12154 (nearbyint_test): Likewise.
12155 (nextafter_test): Likewise.
12156 (nexttoward_test): Likewise.
12157 (pow_test): Likewise.
12158 (pow_test_tonearest): Likewise.
12159 (pow_test_towardzero): Likewise.
12160 (pow_test_downward): Likewise.
12161 (pow_test_upward): Likewise.
12162 (remainder_test): Likewise.
12163 (drem_test): Likewise.
12164 (remainder_test_tonearest): Likewise.
12165 (drem_test_tonearest): Likewise.
12166 (remainder_test_towardzero): Likewise.
12167 (drem_test_towardzero): Likewise.
12168 (remainder_test_downward): Likewise.
12169 (drem_test_downward): Likewise.
12170 (remainder_test_upward): Likewise.
12171 (drem_test_upward): Likewise.
12172 (remquo_test): Likewise.
12173 (rint_test): Likewise.
12174 (rint_test_tonearest): Likewise.
12175 (rint_test_towardzero): Likewise.
12176 (rint_test_downward): Likewise.
12177 (rint_test_upward): Likewise.
12178 (round_test): Likewise.
12179 (scalb_test): Likewise.
12180 (scalbn_test): Likewise.
12181 (scalbln_test): Likewise.
12182 (signbit_test): Likewise.
12183 (sin_test): Likewise.
12184 (sin_test_tonearest): Likewise.
12185 (sin_test_towardzero): Likewise.
12186 (sin_test_downward): Likewise.
12187 (sin_test_upward): Likewise.
12188 (sincos_test): Likewise.
12189 (sinh_test): Likewise.
12190 (sinh_test_tonearest): Likewise.
12191 (sinh_test_towardzero): Likewise.
12192 (sinh_test_downward): Likewise.
12193 (sinh_test_upward): Likewise.
12194 (sqrt_test): Likewise.
12195 (sqrt_test_tonearest): Likewise.
12196 (sqrt_test_towardzero): Likewise.
12197 (sqrt_test_downward): Likewise.
12198 (sqrt_test_upward): Likewise.
12199 (tan_test): Likewise.
12200 (tan_test_tonearest): Likewise.
12201 (tan_test_towardzero): Likewise.
12202 (tan_test_downward): Likewise.
12203 (tan_test_upward): Likewise.
12204 (tanh_test): Likewise.
12205 (tgamma_test): Likewise.
12206 (trunc_test): Likewise.
12207 (y0_test): Likewise.
12208 (y1_test): Likewise.
12209 (yn_test): Likewise.
12210 (significand_test): Likewise.
12211
e6b6a857
JM
12212 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
12213 individual tests in comment.
12214 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
12215 (prev_max_error): New variable.
12216 (prev_real_max_error): Likewise.
12217 (prev_imag_max_error): Likewise.
12218 (compare_ulp_data): Don't refer to test names in comment.
12219 (find_test_ulps): Remove function.
12220 (find_function_ulps): Likewise.
12221 (find_complex_function_ulps): Likewise.
12222 (init_max_error): Take function name as argument. Look up ulps
12223 for that function.
12224 (print_ulps): Remove function.
12225 (print_max_error): Use prev_max_error instead of calling
12226 find_function_ulps.
12227 (print_complex_max_error): Use prev_real_max_error and
12228 prev_imag_max_error instead of calling find_complex_function_ulps.
12229 (check_float_internal): Take max_ulp parameter instead of calling
12230 find_test_ulps. Don't call print_ulps.
12231 (check_float): Update call to check_float_internal.
12232 (check_complex): Update calls to check_float_internal.
12233 (START): Pass argument to init_max_error.
12234 * math/gen-libm-test.pl (%results): Don't include "kind"
12235 information.
12236 (parse_ulps): Don't handle ulps of individual tests.
12237 (print_ulps_file): Likewise.
12238 (output_ulps): Likewise.
12239 * math/README.libm-test: Update.
12240 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
12241 individual tests.
12242 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
12243 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
12244 * sysdeps/arm/libm-test-ulps: Likewise.
12245 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
12246 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
12247 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
12248 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
12249 * sysdeps/microblaze/libm-test-ulps: Likewise.
12250 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12251 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12252 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12253 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
12254 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12255 * sysdeps/sh/libm-test-ulps: Likewise.
12256 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12257 * sysdeps/tile/libm-test-ulps: Likewise.
12258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12259
45adef3c
JM
122602014-03-04 Joseph Myers <joseph@codesourcery.com>
12261
12262 * math/libm-test.inc (print_complex_max_error): Check separately
12263 whether real and imaginary errors are within allowed range and
12264 pass 0 to print_complex_function_ulps instead of value within
12265 allowed range.
12266
000232b9
SP
122672014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12268
d4b17258
SP
12269 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
12270 formatting.
12271 (get_handles_fopen): Likewise.
12272 (do_write_test): Likewise.
12273
091eff71
SP
12274 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
12275
fa3cd248
SP
12276 * libio/fileops.c (do_ftell): Use cached offset when
12277 available.
12278 * libio/iofwide.c (do_ftell_wide): Likewise.
12279 * libio/iofdopen.c (_IO_new_fdopen): Don't use
12280 _IO_file_attach.
12281 * libio/wfileops.c (_IO_fwide): Don't cache offset.
12282
000232b9
SP
12283 [BZ #16532]
12284 * libio/libioP.h (get_file_offset): New function.
12285 * libio/fileops.c (get_file_offset): Likewise.
12286 (do_ftell): Likewise.
12287 (_IO_new_file_seekoff): Split out ftell logic.
12288 * libio/wfileops.c (do_ftell_wide): Likewise.
12289 (_IO_wfile_seekoff): Split out ftell logic.
12290 * libio/tst-ftell-active-handler.c: New test case.
12291 * libio/Makefile (tests): Add it.
12292
116f4d1a
RM
122932014-03-03 Roland McGrath <roland@hack.frob.com>
12294
12295 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
12296 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
12297
532a6035
SP
122982014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12299
12300 [BZ #16639]
12301 * nscd/connections.c (nscd_init): Call do_exit.
12302 (start_threads): Call do_exit and notify_parent.
12303 (begin_drop_privileges): Call do_exit.
12304 (finish_drop_privileges): Likewise.
12305 * nscd/selinux.c (preserve_capabilities): Likewise.
12306 (install_real_capabilities): Likewise.
12307 (nscd_selinux_enabled): Likewise.
12308 (avc_create_thread): Likewise.
12309 (avc_alloc_lock): Likewise.
12310 (nscd_avc_init): Likewise.
12311 * nscd/nscd.c (parent_fd): New static variable.
12312 (main): Create a pipe between parent and child processes.
12313 Skip closing parent_fd.
12314 (monitor_child): New function.
12315 (do_exit): Likewise.
12316 (notify_parent): Likewise.
12317 * nscd/nscd.h (notify_parent): Likewise.
12318 (do_exit): Likewise.
12319
d6285c9f
CD
123202014-03-03 Carlos O'Donell <carlos@redhat.com>
12321
12322 * malloc/malloc.c (__libc_calloc): Revert last change.
12323
2b85d2a0
AZ
123242014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12325
12326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12327
c7debbdf
RS
123282014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12329
12330 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
12331 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
12332 implementation.
12333 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12334 (__libc_ifunc_impl_list): Likewise.
12335 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
12336 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
12337 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
12338 * string/strrchr.c: Define STRRCHR.
12339
235eed86
OB
123402014-02-28 Ondřej Bílka <neleai@seznam.cz>
12341
12342 * benchtest/bench-strtok.c (simple_strtok): Delete.
12343 (strtok_string): Use as benchmark.
12344 * string/strtok (STRTOK): New macro.
12345
8e25d1e7
CD
123462014-02-28 Carlos O'Donell <carlos@redhat.com>
12347
ef563f92
CD
12348 * manual/threads.texi: Add header and standard comments to all
12349 functions.
12350
8e25d1e7
CD
12351 * elf/dl-lookup.c (check_match): New function.
12352 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
12353 (do_lookup_x): Remove nested function check_match. Use non-nested
12354 function check_match.
12355
ff71cc37
RM
123562014-02-28 Roland McGrath <roland@hack.frob.com>
12357
f08e9a26
RM
12358 * csu/Makefile (generated, before-compile): Use += rather than =.
12359 * catgets/Makefile (generated, generated-dirs): Likewise.
12360 * debug/Makefile (generated): Likewise.
12361 * dlfcn/Makefile (generated): Likewise.
12362 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
12363 * iconvdata/Makefile (before-compile, generated): Likewise.
12364 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
12365 * libio/Makefile (generated): Likewise.
12366 * malloc/Makefile (generated): Likewise.
12367 * manual/Makefile (generated, generated-dirs): Likewise.
12368 * misc/Makefile (generated): Likewise.
12369 * posix/Makefile (generated): Likewise.
12370 * resolv/Makefile (generated): Likewise.
12371 * sunrpc/Makefile (generated, generated-dirs): Likewise.
12372 * timezone/Makefile (generated, generated-dirs): Likewise.
12373
ff71cc37
RM
12374 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
12375
fe13a20c
AZ
123762014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12377
57f41c40
AS
12378 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12379 power8 implementation.
12380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
12381 file: POWER8 llround ifunc implementation.
12382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
12383 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
12384 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
12385 POWER8 llround implementation.
12386
57f41c40
AS
12387 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
12388 power8 implementation.
12389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
12390 file: POWER8 llrint ifunc implementation.
12391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
12392 Add POWER8 implementation.
1ad8950a
AZ
12393 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
12394 POWER8 llrint implementation.
12395
57f41c40
AS
12396 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
12397 power8 implementation.
12398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
12399 file: POWER8 finite ifunc implementation.
12400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
12401 Add POWER8 implementation.
cac626d6
AZ
12402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
12403 Likewise.
12404 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
12405 POWER8 finite implementation.
12406 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
12407
57f41c40
AS
12408 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
12409 power8 implementation.
12410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
12411 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
12412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
12413 POWER8 implementation.
12414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
12415 Likewise.
57f41c40
AS
12416 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
12417 isinf implementation.
4393fc11
AZ
12418 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
12419
57f41c40
AS
12420 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
12421 (INIT_ARCH): Add hwcap2 initialization.
12422 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12423 power8 implementation.
12424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
12425 file: POWER8 isnan ifunc implementation.
487972ae
AZ
12426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
12427 POWER8 implementation.
12428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
12429 Likewise.
57f41c40
AS
12430 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
12431 isnan implementation.
487972ae
AZ
12432 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
12433
7d92b787
JY
124342014-02-27 Joey Ye <joey.ye@arm.com>
12435
12436 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12437 (_FP_NANFRAC_Q): Set to zero.
12438
1cadc858
SP
124392014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12440
12441 [BZ #16623]
12442 * math/auto-libm-test-in: New test inputs.
12443 * math/auto-libm-test-out: Regenerate.
12444 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
12445 and DA.
12446 (__cos): Likewise.
12447 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12448
f8c17e79
JM
124492014-02-27 Joseph Myers <joseph@codesourcery.com>
12450
12451 * scripts/evaluate-test.sh: Take new argument indicating whether
12452 failure is expected.
12453 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
12454 indicating whether failure is expected.
12455 * conform/Makefile (test-xfail-run-conformtest): New variable.
12456 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
12457 level.
12458 * posix/Makefile (test-xfail-annexc): New variable.
12459 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
12460
a5f891ac
JM
124612014-02-26 Joseph Myers <joseph@codesourcery.com>
12462
12463 * argp/Makefile: Include Makeconfig immediately after defining
12464 subdir.
12465 * assert/Makefile: Likewise.
12466 * benchtests/Makefile: Likewise.
12467 * catgets/Makefile: Likewise.
12468 * conform/Makefile: Likewise.
12469 * crypt/Makefile: Likewise.
12470 * csu/Makefile: Likewise.
12471 (all): Remove target.
12472 * ctype/Makefile: Include Makeconfig immediately after defining
12473 subdir.
12474 * debug/Makefile: Likewise.
12475 * dirent/Makefile: Likewise.
12476 * dlfcn/Makefile: Likewise.
12477 * gmon/Makefile: Likewise.
12478 * gnulib/Makefile: Likewise.
12479 * grp/Makefile: Likewise.
12480 * gshadow/Makefile: Likewise.
12481 * hesiod/Makefile: Likewise.
12482 * hurd/Makefile: Likewise.
12483 (all): Remove target.
12484 * iconvdata/Makefile: Include Makeconfig immediately after
12485 defining subdir.
12486 * inet/Makefile: Likewise.
12487 * intl/Makefile: Likewise.
12488 * io/Makefile: Likewise.
12489 * libio/Makefile: Likewise.
12490 (all): Remove target.
12491 * locale/Makefile: Include Makeconfig immediately after defining
12492 subdir.
12493 * login/Makefile: Likewise.
12494 * mach/Makefile: Likewise.
12495 (all): Remove target.
12496 * malloc/Makefile: Include Makeconfig immediately after defining
12497 subdir.
12498 (all): Remove target.
12499 * manual/Makefile: Include Makeconfig immediately after defining
12500 subdir.
12501 * math/Makefile: Likewise.
12502 * misc/Makefile: Likewise.
12503 * nis/Makefile: Likewise.
12504 * nss/Makefile: Likewise.
12505 * po/Makefile: Likewise.
12506 (all): Remove target.
12507 * posix/Makefile: Include Makeconfig immediately after defining
12508 subdir.
12509 * pwd/Makefile: Likewise.
12510 * resolv/Makefile: Likewise.
12511 * resource/Makefile: Likewise.
12512 * rt/Makefile: Likewise.
12513 * setjmp/Makefile: Likewise.
12514 * shadow/Makefile: Likewise.
12515 * signal/Makefile: Likewise.
12516 * socket/Makefile: Likewise.
12517 * soft-fp/Makefile: Likewise.
12518 * stdio-common/Makefile: Likewise.
12519 * stdlib/Makefile: Likewise.
12520 * streams/Makefile: Likewise.
12521 * string/Makefile: Likewise.
12522 * sunrpc/Makefile: Likewise.
12523 (all): Remove target.
12524 * sysvipc/Makefile: Include Makeconfig immediately after defining
12525 subdir.
12526 * termios/Makefile: Likewise.
12527 * time/Makefile: Likewise.
12528 * timezone/Makefile: Likewise.
12529 (all): Remove target.
12530 * wcsmbs/Makefile: Include Makeconfig immediately after defining
12531 subdir.
12532 * wctype/Makefile: Likewise.
12533
5b456e9d
SE
125342014-02-26 Steve Ellcey <sellcey@mips.com>
12535
12536 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
12537 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
12538 (libc_feholdexcept_setround_mips): Ditto.
12539 (libc_feholdsetround): New.
12540 (libc_feholdsetroundf): New.
12541 (libc_feholdsetroundl): New.
12542 (libc_feupdateenv_test_mips): New.
12543 (libc_feupdateenv_test): New.
12544 (libc_feupdateenv_testf): New.
12545 (libc_feupdateenv_testl): New.
12546 (libc_feresetround): New.
12547 (libc_feresetroundf): New.
12548 (libc_feresetroundl): New.
12549 (libc_fetestexcept_mips): New.
12550 (libc_fetestexcept): New.
12551 (libc_fetestexceptf): New.
12552 (libc_fetestexceptl): New.
12553 (HAVE_RM_CTX): New.
12554 (libc_feholdexcept_setround_mips_ctx): New.
12555 (libc_feholdexcept_setround_ctx): New.
12556 (libc_feholdexcept_setroundf_ctx): New.
12557 (libc_feholdexcept_setroundl_ctx): New.
12558 (libc_fesetenv_mips_ctx): New.
12559 (libc_fesetenv_ctx): New.
12560 (libc_fesetenv_ctxf): New.
12561 (libc_fesetenv_ctxl): New.
12562 (libc_feupdateenv_mips_ctx): New.
12563 (libc_feupdateenv_ctx): New.
12564 (libc_feupdateenvf_ctx): New.
12565 (libc_feupdateenvl_ctx): New.
12566 (libc_feholdsetround_mips_ctx): New.
12567 (libc_feholdsetround_ctx): New.
12568 (libc_feholdsetroundf_ctx): New.
12569 (libc_feholdsetroundl_ctx): New.
12570 (libc_feresetround_mips_ctx): New.
12571 (libc_feresetround_ctx): New.
12572 (libc_feresetroundf_ctx): New.
12573 (libc_feresetroundl_ctx): New.
12574
085d0e35
CD
125752014-02-26 Carlos O'Donell <carlos@redhat.com>
12576
f067bf1f
CD
12577 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
12578
085d0e35
CD
12579 * manual/ipc.texi: New file.
12580 * manual/Makefile (chapters): Add ipc.
12581 * manual/job.texi: Add "Inter-Process Communication" to next.
12582 * manual/process.texi: Add "Inter-Process Communication" to prev.
12583
86e58c08
AZ
125842014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12585
12586 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12587
4248f0da
OB
125882014-02-26 Ondřej Bílka <neleai@seznam.cz>
12589
12590 * malloc/malloc.c (__libc_calloc): Simplify implementation.
12591
cf822e3c
OB
12592 * manual/arith.texi: Fix spaces after sentences.
12593 * manual/charset.texi: Likewise.
12594 * manual/errno.texi: Likewise.
12595 * manual/install.texi: Likewise.
12596 * manual/llio.texi: Likewise.
12597 * manual/locale.texi: Likewise.
12598 * manual/maint.texi: Likewise.
12599 * manual/math.texi: Likewise.
12600 * manual/memory.texi: Likewise.
12601 * manual/message.texi: Likewise.
12602 * manual/probes.texi: Likewise.
12603 * manual/resource.texi: Likewise.
12604 * manual/signal.texi: Likewise.
12605 * manual/socket.texi: Likewise.
12606 * manual/stdio.texi: Likewise.
12607 * manual/string.texi: Likewise.
12608 * manual/time.texi: Likewise.
12609 * manual/users.texi: Likewise.
12610
ade40b10
CD
126112014-02-25 Carlos O'Donell <carlos@redhat.com>
12612
12613 [BZ #16632]
12614 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
12615 _DEFAULT_SOURCE is defined.
12616
d0503676
CD
126172014-02-25 Ulrich Drepper <drepper@gmail.com>
12618 Carlos O'Donell <carlos@redhat.com>
12619
12620 [BZ #16613]
12621 * elf/dl-tls.c (_dl_count_modids): New function.
12622 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
12623 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
12624 audit library and increment generation counter.
12625 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
12626 * elf/tst-audit9.c: New file.
12627 * elf/tst-auditmod9a.c: New file.
12628 * elf/tst-auditmod9b.c: New file.
12629 * elf/Makefile: Add rules to build and run tst-audit9.
12630
4cbf380c
FW
126312014-02-25 Florian Weimer <fweimer@redhat.com>
12632
12633 [BZ #15347]
12634 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
12635
80a56cc3
WN
126362014-02-25 Will Newton <will.newton@linaro.org>
12637
12638 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
12639 (__longjmp): Restore sp and lr before restoring callee
12640 saved registers. Add longjmp and longjmp_target
12641 SystemTap probe point.
12642 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
12643 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
12644 Define to zero to match jmpbuf layout.
12645 * sysdeps/arm/setjmp.S: Include stap-probe.h.
12646 (__sigsetjmp): Save sp and lr before saving callee
12647 saved registers. Add setjmp SystemTap probe point.
12648
3ea0f74e
SL
126492014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
12650
12651 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12652
b04acb26
AS
126532014-02-24 Andreas Schwab <schwab@suse.de>
12654
12655 [BZ #15804]
12656 * elf/pldd.c (wait_for_ptrace_stop): New function.
12657 (main): Call it after attaching.
12658
098ad55c
RM
126592014-02-22 Roland McGrath <roland@hack.frob.com>
12660
d4ec6ae1
RM
12661 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
12662 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
12663 Versions files is now verboten.
12664 * hurd/Versions (libc: GLIBC_2.0):
12665 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
12666 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
12667 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
12668 * mach/Versions: Likewise.
12669
098ad55c
RM
12670 * csu/Versions: Remove unused %include.
12671 * resolv/Versions: Likewise.
12672
acd7f096
JM
126732014-02-21 Joseph Myers <joseph@codesourcery.com>
12674
f0881698
JM
12675 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
12676 ($(objpfx)check-local-headers.out): Likewise.
12677 ($(objpfx)begin-end-check.out): Likewise.
12678 * Makerules (check-abi-%.out): Likewise.
12679 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
12680 ($(objpfx)test2.cat): Likewise.
12681 ($(objpfx)de/libc.cat): Likewise.
12682 ($(objpfx)test-gencat.out): Likewise.
12683 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
12684 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
12685 ($(objpfx)noload-mem): Likewise.
12686 ($(objpfx)tst-pathopt.out): Likewise.
12687 ($(objpfx)tst-rtld-load-self.out): Likewise.
12688 ($(objpfx)tst-array1-cmp.out): Likewise.
12689 ($(objpfx)tst-array1-static-cmp.out): Likewise.
12690 ($(objpfx)tst-array2-cmp.out): Likewise.
12691 ($(objpfx)tst-array3-cmp.out): Likewise.
12692 ($(objpfx)tst-array4-cmp.out): Likewise.
12693 ($(objpfx)tst-array5-cmp.out): Likewise.
12694 ($(objpfx)tst-array5-static-cmp.out): Likewise.
12695 ($(objpfx)check-textrel.out): Likewise.
12696 ($(objpfx)check-execstack.out): Likewise.
12697 ($(objpfx)check-localplt.out): Likewise.
12698 ($(objpfx)order2-cmp.out): Likewise.
12699 ($(objpfx)tst-leaks1-mem): Likewise.
12700 ($(objpfx)tst-leaks1-static-mem): Likewise.
12701 ($(objpfx)tst-initorder-cmp.out): Likewise.
12702 ($(objpfx)tst-initorder2-cmp.out): Likewise.
12703 ($(objpfx)tst-unused-dep.out): Likewise.
12704 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
12705 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
12706 * iconv/Makefile (test-iconvconfig): Likewise.
12707 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
12708 ($(objpfx)iconv-test.out): Likewise.
12709 ($(objpfx)tst-tables.out): Likewise.
12710 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
12711 ($(objpfx)tst-gettext.out): Likewise.
12712 ($(objpfx)tst-translit.out): Likewise.
12713 ($(objpfx)tst-gettext2.out): Likewise.
12714 ($(objpfx)tst-gettext4.out): Likewise.
12715 ($(objpfx)tst-gettext6.out): Likewise.
12716 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
12717 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
12718 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
12719 ($(objpfx)tst-fopenloc-mem.out): Likewise.
12720 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
12721 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
12722 * posix/Makefile ($(objpfx)globtest.out): Likewise.
12723 ($(objpfx)wordexp-tst.out): Likewise.
12724 ($(objpfx)annexc.out): Likewise.
12725 ($(objpfx)tst-fnmatch-mem): Likewise.
12726 ($(objpfx)bug-regex2-mem): Likewise.
12727 ($(objpfx)bug-regex14-mem): Likewise.
12728 ($(objpfx)bug-regex21-mem): Likewise.
12729 ($(objpfx)bug-regex31-mem): Likewise.
12730 ($(objpfx)tst-vfork3-mem): Likewise.
12731 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12732 ($(objpfx)tst-pcre-mem): Likewise.
12733 ($(objpfx)tst-boost-mem): Likewise.
12734 ($(objpfx)tst-getconf.out): Likewise.
12735 ($(objpfx)bug-ga2-mem): Likewise.
12736 ($(objpfx)bug-glob2-mem): Likewise.
12737 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
12738 ($(objpfx)mtrace-tst-leaks2): Likewise.
12739 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
12740 ($(objpfx)tst-printf.out): Likewise.
12741 ($(objpfx)tst-setvbuf1.out): Likewise.
12742 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
12743 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
12744 ($(objpfx)tst-fmtmsg.out): Likewise.
12745 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
12746 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
12747
acd7f096
JM
12748 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
12749 * bits/sigaction.h [__USE_MISC]: Likewise.
12750 * bits/waitstatus.h: Update #endif comments.
12751 * ctype/ctype.h: Likewise.
12752 * dirent/dirent.h: Likewise.
12753 [__USE_MISC]: Remove redundant conditionals.
12754 * grp/grp.h: Update #endif comments.
12755 [__USE_GNU]: Remove redundant conditionals.
12756 [__USE_MISC]: Likewise.
12757 * inet/netinet/in.h [__USE_GNU]: Likewise.
12758 * io/sys/stat.h [__USE_MISC]: Likewise.
12759 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
12760 * libio/bits/stdio.h: Update #endif comments.
12761 [__USE_MISC]: Remove redundant conditionals.
12762 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
12763 * libio/stdio.h: Update #endif comments.
12764 [__USE_MISC]: Remove redundant conditionals.
12765 * math/bits/math-finite.h [__USE_MISC]: Likewise.
12766 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
12767 * math/math.h: Update #else and #endif comments.
12768 [__USE_MISC]: Remove redundant conditionals.
12769 * misc/sys/uio.h: Update #endif comments.
12770 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
12771 * posix/glob.h [__USE_MISC]: Likewise.
12772 * posix/sys/types.h: Update #endif comments.
12773 [__USE_MISC]: Remove redundant conditionals.
12774 * posix/sys/wait.h: Update #endif comments.
12775 [__USE_MISC]: Remove redundant conditionals.
12776 * posix/unistd.h: Update #endif comments.
12777 [__USE_MISC]: Remove redundant conditionals.
12778 * pwd/pwd.h [__USE_GNU]: Likewise.
12779 [__USE_MISC]: Likewise.
12780 * resolv/netdb.h [__USE_GNU]: Likewise.
12781 * signal/signal.h: Update #endif comments.
12782 [__USE_MISC]: Remove redundant conditionals.
12783 * stdlib/stdlib.h: Update #else and #endif comments.
12784 [__USE_MISC]: Remove redundant conditionals.
12785 [__USE_GNU]: Likewise.
12786 * string/bits/string2.h [__USE_MISC]: Likewise.
12787 * string/string.h: Update #endif comments.
12788 [__USE_MISC]: Remove redundant conditionals.
12789 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
12790 Likewise.
12791 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
12792 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
12793 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
12794 Likewise.
12795 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
12796 Likewise.
12797 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
12798 comments.
12799 [__USE_MISC]: Remove redundant conditionals.
12800 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
12801 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
12802 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
12803 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
12804 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
12805 Likewise.
12806 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
12807 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
12808 Likewise.
12809 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
12810 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
12811 Likewise.
12812 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
12813 Likewise.
12814 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
12815 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
12816 Likewise.
12817 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
12818 Likewise.
12819 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
12820 * sysdeps/x86/bits/string.h: Update #endif comments.
12821 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
12822 conditionals.
12823 * time/sys/time.h: Update #endif comments.
12824 * time/time.h: Likewise.
12825 [__USE_MISC]: Remove redundant conditionals.
12826
a5d82e4e
YG
128272014-02-21 Yury Gribov <y.gribov@samsung.com>
12828
12829 [BZ #16600]
12830 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
12831
9a80491d
AS
128322014-02-21 Andreas Schwab <schwab@linux-m68k.org>
12833
12834 * Versions.def (librt): Add GLIBC_2.17.
12835
105fa381
AC
128362014-02-21 Adam Conrad <adconrad@0c3.net>
12837
12838 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
12839 synonym for _SYS_AUXV_H to allow direct inclusion.
12840 * sysdeps/sparc/bits/hwcap.h: Likewise.
12841 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
12842 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
12843 * sysdeps/sparc/sysdep.h: Likewise.
12844
b8cd1c4e
SP
128452014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12846
12847 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
12848
bd939d23
RS
128492014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12850
12851 * benchtests/bench-strrchr.c: Print length instead of position.
12852
5d7b57ca
JM
128532014-02-20 Joseph Myers <joseph@codesourcery.com>
12854
bc688c10
JM
12855 [BZ #16611]
12856 * sysdeps/unix/sysv/linux/kernel-features.h
12857 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
12858 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
12859 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
12860 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
12861 Likewise.
12862 [__i386__ || __powerpc__ || __sh__ || __sparc__]
12863 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12864 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
12865 (__ASSUME_SENDMMSG): Define instead of using previous
12866 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
12867 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12868 (__ASSUME_SENDMMSG_SYSCALL): Define.
12869 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12870 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12871 Likewise.
12872 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12873 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12874 Likewise.
12875 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12876 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12877 Likewise.
12878 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12879 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12880 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12881 [__ASSUME_SENDMMSG]: Change conditionals to
12882 [__ASSUME_SENDMMSG_SOCKETCALL].
12883 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12884 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12885 Define.
12886 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12887 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12888 Likewise.
12889 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12890 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12891 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12892 [!__ASSUME_SENDMMSG]: Change conditional to
12893 [!__ASSUME_SENDMMSG_SOCKETCALL].
12894 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12895 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12896 Define.
12897
0e31b18c
JM
12898 [BZ #16610]
12899 * sysdeps/unix/sysv/linux/kernel-features.h
12900 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12901 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12902 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12903 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12904 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12905 [__i386__ || __sparc__]
12906 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12907 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12908 (__ASSUME_RECVMMSG): Define instead of using previous
12909 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12910 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12911 (__ASSUME_RECVMMSG_SYSCALL): Define.
12912 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12913 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12914 Likewise.
12915 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12916 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12917 Likewise.
12918 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12919 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12920 Likewise.
12921 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12922 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12923 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12924 [__ASSUME_RECVMMSG]: Change condition to
12925 [__ASSUME_RECVMMSG_SOCKETCALL].
12926 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12927 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12928 Define.
12929 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12930 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12931 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12932 Likewise.
12933 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12934 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12935 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12936 [!__ASSUME_RECVMMSG]: Change condition to
12937 [!__ASSUME_RECVMMSG_SOCKETCALL].
12938 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12939 (__ASSUME_RECVMMSG_SYSCALL): Define.
12940
dd481ccf
JM
12941 [BZ #16609]
12942 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12943 __powerpc__ || __s390__ || __sh__ || __sparc__]
12944 (__ASSUME_SOCKETCALL): Define.
12945 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12946 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12947 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12948 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12949 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12950 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12951 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12952 (__ASSUME_ACCEPT4): Define instead of using previous
12953 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12954 __powerpc__ || __sparc__ || __s390__)] condition.
12955 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12956 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12957 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12958 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12959 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12960 [!__ASSUME_ACCEPT4]: Change condition to
12961 [!__ASSUME_ACCEPT4_SOCKETCALL].
12962 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12963 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
12964 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
12965 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12966 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
12967 __ASSUME_ACCEPT4_SYSCALL.
12968 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
12969 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
12970 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12971 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
12972 __ASSUME_ACCEPT4_SYSCALL.
12973 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
12974 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12975 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12976 [__ASSUME_ACCEPT4]: Change condition to
12977 [__ASSUME_ACCEPT4_SOCKETCALL].
12978 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12979 (__ASSUME_SOCKETCALL): Define.
12980 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
12981 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12982 (__ASSUME_SOCKETCALL): Define.
12983 (__ASSUME_ACCEPT4): Remove.
12984 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
12985 Define.
12986 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12987 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
12988 Likewise.
12989 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12990 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12991
5d7b57ca
JM
12992 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
12993 macro.
12994 (HWCAP_ARM_LPAE): Likewise.
12995 (HWCAP_ARM_EVTSTRM): Likewise.
12996 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
12997 Add vpfd32, lpae and evtstrm.
12998 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
12999 Increase to 22.
13000
63689d61
JM
130012014-02-19 Joseph Myers <joseph@codesourcery.com>
13002
13003 * math/auto-libm-test-in: Add tests of clog10.
13004 * math/auto-libm-test-out: Regenerated.
13005 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
13006 * sysdeps/i386/fpu/libm-test-ulps: Update.
13007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13008
ab09bf61
AS
130092014-02-18 Andreas Schwab <schwab@suse.de>
13010
13011 [BZ #16574]
13012 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
13013 Store non-zero if the second buffer was newly allocated.
13014 (send_dg): Likewise.
13015 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
13016 to send_vc and send_dg.
13017 (res_nsend): Pass NULL for ansp2_malloced.
13018 * resolv/res_query.c (__libc_res_nquery): Add parameter
13019 answerp2_malloced and pass it down to __libc_res_nsend.
13020 (res_nquery): Pass additional NULL to __libc_res_nquery.
13021 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
13022 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
13023 second answer buffer if answerp2_malloced was set.
13024 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
13025 (__libc_res_nquerydomain): Add parameter
13026 answerp2_malloced and pass it down to __libc_res_nquery.
13027 (res_nquerydomain): Pass additional NULL to
13028 __libc_res_nquerydomain.
13029 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
13030 additional NULL to __libc_res_nsend and __libc_res_nquery.
13031 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
13032 additional NULL to __libc_res_nsearch.
13033 (_nss_dns_gethostbyname4_r): Revert last change. Use new
13034 parameter of __libc_res_nsearch to check for separately allocated
13035 second buffer.
13036 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
13037 __libc_res_nquery.
13038 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
13039 additional NULL to __libc_res_nquery.
13040 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
13041 __libc_res_nsearch.
13042 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
13043 * include/resolv.h: Update prototypes of __libc_res_nquery,
13044 __libc_res_nsearch, __libc_res_nsend.
13045
a4fb7861
JM
130462014-02-18 Joseph Myers <joseph@codesourcery.com>
13047
c6af2d89
JM
13048 * math/auto-libm-test-in: Add tests of fma.
13049 * math/auto-libm-test-out: Regenerated.
13050 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
13051 (fma_towardzero_test_data): Likewise.
13052 (fma_downward_test_data): Likewise.
13053 (fma_upward_test_data): Likewise.
13054 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
13055 mpc_mode.
13056 (rounding_modes): Add values for new field.
13057 (func_calc_method): Add value mpfr_fff_f.
13058 (func_calc_desc): Add mpfr_fff_f union field.
13059 (test_function): Add field exact_args.
13060 (FUNC): Add macro argument EXACT_ARGS.
13061 (FUNC_mpfr_f_f): Update call to FUNC.
13062 (FUNC_mpfr_f_f): Likewise.
13063 (FUNC_mpfr_ff_f): Likewise.
13064 (FUNC_mpfr_if_f): Likewise.
13065 (FUNC_mpc_c_f): Likewise.
13066 (FUNC_mpc_c_c): Likewise.
13067 (test_functions): Add fma. Update calls to FUNC.
13068 (handle_input_arg): Add argument exact_args.
13069 (add_test): Update call to handle_input_arg.
13070 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
13071 (output_for_one_input_case): Update call to calc_generic_results.
13072 Recalculate exact zero results in each rounding mode.
13073
a4fb7861
JM
13074 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
13075 non-negative before setting low bit.
13076 * math/auto-libm-test-in: Mark one asin test possibly having
13077 spurious underflow.
13078 * math/auto-libm-test-out: Regenerated.
13079 * sysdeps/i386/fpu/libm-test-ulps: Update.
13080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13081
ef114eaf
DH
130822014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
13083
2b7f4f2c
SP
13084 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
13085 * sysdeps/unix/sysv/linux/microblaze: Move directory from
13086 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
13087 * README: Add missing listing for microblaze*-*-linux-gnu.
13088
8125aedc
AM
130892014-02-16 Ondřej Bílka <neleai@seznam.cz>
13090
13091 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
13092 duplicate code
13093
c70a4b1d
MF
130942014-02-16 Mike Frysinger <vapier@gentoo.org>
13095
13096 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
13097 * sysdeps/unix/sysv/linux/ia64: Move directory from
13098 ports/sysdeps/unix/sysv/linux/ia64.
13099 * README: Update listing for ia64-*-linux-gnu.
13100
591aeaf7
TD
131012014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
13102 Joseph Myers <joseph@codesourcery.com>
13103
13104 * Makeconfig (test-name): New variable.
13105 (evaluate-test): Likewise.
13106 * Makerules (do-test-clean): Remove .test-result files.
13107 (common-mostlyclean): Likewise.
13108 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
13109 * scripts/evaluate-test.sh: New file.
13110
6e89caf1
JM
131112014-02-14 Joseph Myers <joseph@codesourcery.com>
13112
7f98f180
JM
13113 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
13114 separate $(objpfx)tst-fopenloc-cmp.out and
13115 $(objpfx)tst-fopenloc-mem.out targets.
13116 (tests): Update dependencies.
13117 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
13118 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
13119 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
13120 (tst-rxspencer-no-utf8-ARGS): New variable.
13121 (tst-rxspencer-no-utf8-ENV): Likewise.
13122 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
13123 instead of $(objpfx)tst-rxspencer-mem.
13124 ($(objpfx)tst-rxspencer-mem): Change target to
13125 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
13126 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
13127 * posix/tst-rxspencer-no-utf8.c: New file.
13128
6e89caf1
JM
13129 * elf/Makefile ($(objpfx)order.out): Remove rule.
13130 [$(run-built-tests) = yes] (tests): Depend on
13131 $(objpfx)order-cmp.out.
13132 ($(objpfx)order-cmp.out): New rule.
13133 [$(run-built-tests) = yes] (tests): Depend on
13134 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
13135 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
13136 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
13137 $(objpfx)tst-array5-static-cmp.out.
13138 ($(objpfx)tst-array1.out): Remove rule.
13139 ($(objpfx)tst-array1-cmp.out): New rule.
13140 ($(objpfx)tst-array1-static.out): Remove rule.
13141 ($(objpfx)tst-array1-static-cmp.out): New rule.
13142 ($(objpfx)tst-array2.out): Remove rule.
13143 ($(objpfx)tst-array2-cmp.out): New rule.
13144 ($(objpfx)tst-array3.out): Remove rule.
13145 ($(objpfx)tst-array3-cmp.out): New rule.
13146 ($(objpfx)tst-array4.out): Remove rule.
13147 ($(objpfx)tst-array4-cmp.out): New rule.
13148 ($(objpfx)tst-array5.out): Remove rule.
13149 ($(objpfx)tst-array5-cmp.out): New rule.
13150 ($(objpfx)tst-array5-static.out): Remove rule.
13151 ($(objpfx)tst-array5-static-cmp.out): New rule.
13152 [$(run-built-tests) = yes] (tests): Depend on
13153 $(objpfx)order2-cmp.out.
13154 ($(objpfx)order2.out): Remove rule.
13155 ($(objpfx)order2-cmp.out): New rule.
13156 ($(objpfx)tst-initorder.out): Remove rule.
13157 [$(run-built-tests) = yes] (tests): Depend on
13158 $(objpfx)tst-initorder-cmp.out.
13159 ($(objpfx)tst-initorder-cmp.out): New rule.
13160 ($(objpfx)tst-initorder2.out): Remove rule.
13161 [$(run-built-tests) = yes] (tests): Depend on
13162 $(objpfx)tst-initorder2-cmp.out.
13163 ($(objpfx)tst-initorder2-cmp.out): New rule.
13164 [$(run-built-tests) = yes] (tests): Depend on
13165 $(objpfx)tst-unused-dep-cmp.out.
13166 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
13167 ($(objpfx)tst-unused-dep-cmp.out): New rule.
13168 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
13169 on $(objpfx)tst-setvbuf1-cmp.out.
13170 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
13171 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
13172 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
13173 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
13174 ($(objpfx)tst-svc.out): Remove rule.
13175 ($(objpfx)tst-svc-cmp.out): New rule.
13176
ed9a38e2
JM
131772014-02-13 Joseph Myers <joseph@codesourcery.com>
13178
13179 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
13180 * ctype/ctype.h [__USE_MISC]: Likewise.
13181 * dirent/dirent.h [__USE_MISC]: Likewise.
13182 * grp/grp.h [__USE_MISC]: Likewise.
13183 * io/fcntl.h [__USE_MISC]: Likewise.
13184 * io/sys/stat.h [__USE_MISC]: Likewise.
13185 * libio/stdio.h [__USE_MISC]: Likewise.
13186 * posix/unistd.h [__USE_MISC]: Likewise.
13187 * pwd/pwd.h [__USE_MISC]: Likewise.
13188 * stdlib.h [__USE_MISC]: Likewise.
13189 * string/bits/string2.h [__USE_MISC]: Likewise.
13190 * string/string.h [__USE_MISC]: Likewise.
13191 * time/time.h [__USE_MISC]: Likewise.
13192
d6680619
AS
131932014-02-13 Andreas Schwab <schwab@suse.de>
13194
13195 [BZ #16574]
13196 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
13197 second answer buffer if it was separately allocated.
13198
ace614b8
JM
131992014-02-12 Joseph Myers <joseph@codesourcery.com>
13200
743151ae
JM
13201 * sysdeps/mips/math-tests.h: Include <features.h>.
13202 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13203 (ROUNDING_TESTS_long_double): Do not define.
13204 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13205 (EXCEPTION_TESTS_long_double): Likewise.
13206 * sysdeps/mips/mips64/libm-test-ulps: Update.
13207
498afc54
JM
13208 * include/features.h (__USE_BSD): Remove macro definitions.
13209 (__USE_SVID): Likewise.
13210 (_BSD_SOURCE): Likewise.
13211 (_SVID_SOURCE): Likewise.
13212 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
13213 from definition of _DEFAULT_SOURCE.
13214 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
13215 [_DEFAULT_SOURCE].
13216 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
13217 * bits/mman.h [__USE_BSD]: Likewise.
13218 * bits/termios.h [__USE_BSD]: Likewise.
13219 * bits/waitstatus.h [__USE_BSD]: Likewise.
13220 * ctype/ctype.h [__USE_SVID]: Likewise.
13221 * dirent/dirent.h [__USE_BSD]: Likewise.
13222 * grp/grp.h [__USE_SVID]: Likewise.
13223 [__USE_BSD]: Likewise.
13224 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
13225 * io/fcntl.h [__USE_BSD]: Likewise.
13226 * io/ftw.h [__USE_BSD]: Likewise.
13227 * io/sys/stat.h [__USE_BSD]: Likewise.
13228 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
13229 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
13230 * libio/stdio.h [__USE_SVID]: Likewise.
13231 [__USE_BSD]: Likewise.
13232 * math/math.h [__USE_SVID]: Likewise.
13233 [__USE_BSD]: Likewise.
13234 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
13235 * misc/bits/syslog.h [__USE_BSD]: Likewise.
13236 * misc/search.h [__USE_SVID]: Likewise.
13237 * misc/sys/mman.h [__USE_BSD]: Likewise.
13238 * misc/sys/syslog.h [__USE_BSD]: Likewise.
13239 * misc/sys/uio.h [__USE_BSD]: Likewise.
13240 * posix/bits/unistd.h [__USE_BSD]: Likewise.
13241 * posix/glob.h [__USE_BSD]: Likewise.
13242 * posix/regex.h [__USE_BSD]: Likewise.
13243 * posix/sys/types.h [__USE_BSD]: Likewise.
13244 [__USE_SVID]: Likewise.
13245 * posix/sys/utsname.h [__USE_SVID]: Likewise.
13246 * posix/sys/wait.h [__USE_BSD]: Likewise.
13247 [__USE_SVID]: Likewise.
13248 * posix/unistd.h [__USE_BSD]: Likewise.
13249 [__USE_SVID]: Likewise.
13250 * pwd/pwd.h [__USE_SVID]: Likewise.
13251 * resolv/netdb.h [__USE_BSD]: Likewise.
13252 * setjmp/setjmp.h [__USE_BSD]: Likewise.
13253 * signal/signal.h [__USE_BSD]: Likewise.
13254 [__USE_SVID]: Likewise.
13255 * socket/sys/socket.h [__USE_BSD]: Likewise.
13256 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
13257 * stdlib/stdlib.h [__USE_BSD]: Likewise.
13258 [__USE_SVID]: Likewise.
13259 * string/bits/string2.h [__USE_BSD]: Likewise.
13260 [__USE_SVID]: Likewise.
13261 * string/bits/string3.h [__USE_BSD]: Likewise.
13262 * string/endian.h [__USE_BSD]: Likewise.
13263 * string/string.h [__USE_SVID]: Likewise.
13264 [__USE_BSD]: Likewise.
13265 * string/strings.h [__USE_BSD]: Likewise.
13266 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
13267 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
13268 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
13269 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
13270 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
13271 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
13272 Likewise.
13273 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
13274 Likewise.
13275 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
13276 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
13277 Likewise.
13278 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
13279 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
13280 Likewise.
13281 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
13282 Likewise.
13283 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
13284 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
13285 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
13286 Likewise.
13287 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
13288 Likewise.
13289 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
13290 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
13291 * termios/termios.h [__USE_BSD]: Likewise.
13292 * time/sys/time.h [__USE_BSD]: Likewise.
13293 * time/time.h [__USE_BSD]: Likewise.
13294 [__USE_SVID]: Likewise.
13295
dd7b064c
JM
13296 * Makefile (subdir_targets): Remove subdir_lint.out.
13297
a2c4c199
JM
13298 * stdio-common/Makefile (do-tst-unbputc): Remove target.
13299 (do-tst-printf): Likewise.
13300 (tests): Depend directly on $(objpfx)tst-unbputc.out and
13301 $(objpfx)tst-printf.out.
13302
8756f740
JM
13303 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
13304
1b6dd3f1
JM
13305 * Makerules (check-abi-%): Change target to
13306 $(objpfx)check-abi-%.out.
13307 (check-abi target): Update dependencies.
13308 (check-abi-pattern variable): Redirect output of diff to $@.
13309 (check-abi variable): Likewise.
13310 * elf/Makefile (check-abi): Update dependencies.
13311
ace614b8
JM
13312 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
13313 unused.
13314 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
13315 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
13316 subnormal range.
13317 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
13318 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
13319 value has largest subnormal exponent.
13320 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
13321 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
13322 * sysdeps/aarch64/soft-fp/sfp-machine.h
13323 (_FP_TININESS_AFTER_ROUNDING): New macro.
13324 * sysdeps/alpha/soft-fp/sfp-machine.h
13325 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13326 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13327 Likewise.
13328 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
13329 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13330 * sysdeps/mips/soft-fp/sfp-machine.h
13331 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13332 * sysdeps/powerpc/soft-fp/sfp-machine.h
13333 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13334 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13335 Likewise.
13336 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13337 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13338 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13339 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13340 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13341 Likewise.
13342
fbfdf9cb
DAS
133432014-02-12 Dylan Alex Simon <dylan@dylex.net>
13344
13345 [BZ #16545]
13346 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
13347 model 1.
13348
68b7efaa
RH
133492014-02-12 Richard Henderson <rth@redhat.com>
13350
c70a4b1d 13351 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
13352 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
13353 * sysdeps/unix/sysv/linux/alpha: Move directory from
13354 ports/sysdeps/unix/sysv/linux/alpha.
13355 * README: Update listing for alpha-*-linux-gnu.
13356
cb4a2928
JM
133572014-02-11 Joseph Myers <joseph@codesourcery.com>
13358
c941736c
JM
13359 * include/features.h: Update comment documenting feature test
13360 macros.
13361 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
13362 _DEFAULT_SOURCE.
13363 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
13364 (_SVID_SOURCE): Likewise.
13365 (_DEFAULT_SOURCE): Update description of default features.
13366 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
13367 with _GNU_SOURCE.
13368 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
13369 (S_ISVTX): Likewise.
13370 * manual/math.texi (Mathematical Constants): Likewise.
13371 * manual/signal.texi (Interrupted Primitives): Likewise.
13372 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
13373 * math/test-matherr.c (_SVID_SOURCE): Do not define.
13374 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
13375 Don't refer to _SVID_SOURCE in warning text.
13376
e8d8d7ec
JM
13377 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13378
cb4a2928
JM
13379 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
13380 already defined.
13381 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
13382 * sysdeps/mips/dl-lookup.c: Remove.
13383 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
13384
7e6424e3
AK
133852014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13386
13387 [BZ #16447]
13388 * math/auto-libm-test-in: Add testcase for expl.
13389 * math/auto-libm-test-out: Regenerate.
13390 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
13391 calculation of unsafe.
13392 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
13393
75eff3fe
MS
133942014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
13395
13396 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
13397 * sysdeps/unix/sysv/linux/aarch64: Move directory from
13398 ports/sysdeps/unix/sysv/linux/aarch64.
13399 * README: Update listing for aarch64*-*-linux-gnu.
13400
d35f1e80
WN
134012014-02-11 Will Newton <will.newton@linaro.org>
13402
13403 * manual/probes.texi (Mathematical Function Probes): Use
13404 "triggered" instead of "hit".
13405
7b3436d4
WN
13406 * manual/probes.texi (Internal Probes): Add documentation
13407 of setjmp, longjmp and longjmp_target probes.
13408
b4f12ca3
WN
13409 * include/stap-probe.h: Add comment about probe argument
13410 format.
13411
c13a72b7
WN
13412 * malloc/mtrace.c (attribute_hidden): Remove unused macro
13413 definition. (tr_where, tr_freehook, tr_mallochook,
13414 tr_reallochook, tr_memalignhook): Use ANSI protoype.
13415
195b8165
DM
134162014-02-11 David S. Miller <davem@davemloft.net>
13417
13418 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
13419 processing int_tests.
13420
2ad7600b
JM
134212014-02-10 Joseph Myers <joseph@codesourcery.com>
13422
13423 * sysdeps/mips: Move directory from ports/sysdeps/mips.
13424 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
13425 * sysdeps/unix/sysv/linux/mips: Move directory from
13426 ports/sysdeps/unix/sysv/linux/mips.
13427 * README: Update listing for mips-*-linux-gnu and
13428 mips64-*-linux-gnu.
13429
73588a72
AS
134302014-02-10 Andreas Schwab <schwab@linux-m68k.org>
13431
13432 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
13433 * sysdeps/unix/sysv/linux/m68k: Move directory from
13434 ports/sysdeps/unix/sysv/linux/m68k.
13435 * README: Update listing for m68k-*-linux-gnu.
13436
4372980f
CM
134372014-02-10 Chris Metcalf <cmetcalf@tilera.com>
13438
13439 * sysdeps/tile: Move directory from ports/sysdeps/tile.
13440 * sysdeps/unix/sysv/linux/generic: Move directory from
13441 ports/sysdeps/unix/sysv/linux/generic.
13442 * sysdeps/unix/sysv/linux/tile: Move directory from
13443 ports/sysdeps/unix/sysv/linux/tile.
13444 * README: Update listing for tile*-*-linux-gnu.
13445
a1ffb40e
OB
134462014-02-10 Ondřej Bílka <neleai@seznam.cz>
13447
57f41c40
AS
13448 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
13449 __builtin_expect.
a1ffb40e
OB
13450 * benchtests/bench-memmem.c (simple_memmem): Likewise.
13451 * catgets/open_catalog.c (__open_catalog): Likewise.
13452 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
13453 * debug/confstr_chk.c: Likewise.
13454 * debug/fread_chk.c (__fread_chk): Likewise.
13455 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
13456 * debug/getgroups_chk.c: Likewise.
13457 * debug/mbsnrtowcs_chk.c: Likewise.
13458 * debug/mbsrtowcs_chk.c: Likewise.
13459 * debug/mbstowcs_chk.c: Likewise.
13460 * debug/memcpy_chk.c: Likewise.
13461 * debug/memmove_chk.c: Likewise.
13462 * debug/mempcpy_chk.c: Likewise.
13463 * debug/memset_chk.c: Likewise.
13464 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13465 * debug/strcat_chk.c (__strcat_chk): Likewise.
13466 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
13467 * debug/strncat_chk.c (__strncat_chk): Likewise.
13468 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
13469 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
13470 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
13471 * debug/wcpncpy_chk.c: Likewise.
13472 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13473 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
13474 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
13475 * debug/wcsncpy_chk.c: Likewise.
13476 * debug/wcsnrtombs_chk.c: Likewise.
13477 * debug/wcsrtombs_chk.c: Likewise.
13478 * debug/wcstombs_chk.c: Likewise.
13479 * debug/wmemcpy_chk.c: Likewise.
13480 * debug/wmemmove_chk.c: Likewise.
13481 * debug/wmempcpy_chk.c: Likewise.
13482 * debug/wmemset_chk.c: Likewise.
13483 * dirent/scandirat.c (SCANDIRAT): Likewise.
13484 * dlfcn/dladdr1.c (dladdr1): Likewise.
13485 * dlfcn/dladdr.c (dladdr): Likewise.
13486 * dlfcn/dlclose.c (dlclose_doit): Likewise.
13487 * dlfcn/dlerror.c (__dlerror): Likewise.
13488 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
13489 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13490 * dlfcn/dlopen.c (dlopen_doit): Likewise.
13491 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
13492 * dlfcn/dlsym.c (dlsym_doit): Likewise.
13493 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
13494 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
13495 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
13496 Likewise.
13497 * elf/dl-conflict.c: Likewise.
13498 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
13499 * elf/dl-dst.h: Likewise.
13500 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
13501 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
13502 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
13503 * elf/dl-init.c (call_init, _dl_init): Likewise.
13504 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
13505 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
13506 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
13507 Likewise.
a1ffb40e
OB
13508 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
13509 Likewise.
13510 * elf/dl-minimal.c (__libc_memalign): Likewise.
13511 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
13512 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13513 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
13514 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
13515 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
13516 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
13517 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
13518 * elf/dl-writev.h (_dl_writev): Likewise.
13519 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
13520 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
13521 (dl_main): Likewise.
a1ffb40e
OB
13522 * elf/setup-vdso.h (setup_vdso): Likewise.
13523 * grp/compat-initgroups.c (compat_call): Likewise.
13524 * grp/fgetgrent.c (fgetgrent): Likewise.
13525 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
13526 * grp/putgrent.c (putgrent): Likewise.
13527 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
13528 Likewise.
13529 * hurd/hurdinit.c: Likewise.
13530 * iconvdata/8bit-gap.c (struct): Likewise.
13531 * iconvdata/ansi_x3.110.c : Likewise.
13532 * iconvdata/big5.c : Likewise.
13533 * iconvdata/big5hkscs.c : Likewise.
13534 * iconvdata/cp1255.c: Likewise.
13535 * iconvdata/cp1258.c : Likewise.
13536 * iconvdata/cp932.c : Likewise.
13537 * iconvdata/euc-cn.c: Likewise.
13538 * iconvdata/euc-jisx0213.c : Likewise.
13539 * iconvdata/euc-jp.c: Likewise.
13540 * iconvdata/euc-jp-ms.c : Likewise.
13541 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
13542 * iconvdata/gb18030.c : Likewise.
13543 * iconvdata/gbbig5.c (const): Likewise.
13544 * iconvdata/gbgbk.c: Likewise.
13545 * iconvdata/gbk.c : Likewise.
13546 * iconvdata/ibm1364.c : Likewise.
13547 * iconvdata/ibm930.c : Likewise.
13548 * iconvdata/ibm932.c: Likewise.
13549 * iconvdata/ibm933.c : Likewise.
13550 * iconvdata/ibm935.c : Likewise.
13551 * iconvdata/ibm937.c : Likewise.
13552 * iconvdata/ibm939.c : Likewise.
13553 * iconvdata/ibm943.c: Likewise.
13554 * iconvdata/iso_11548-1.c: Likewise.
13555 * iconvdata/iso-2022-cn.c : Likewise.
13556 * iconvdata/iso-2022-cn-ext.c : Likewise.
13557 * iconvdata/iso-2022-jp-3.c: Likewise.
13558 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
13559 * iconvdata/iso-2022-kr.c : Likewise.
13560 * iconvdata/iso646.c (gconv_end): Likewise.
13561 * iconvdata/iso_6937-2.c : Likewise.
13562 * iconvdata/iso_6937.c : Likewise.
13563 * iconvdata/iso8859-1.c: Likewise.
13564 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
13565 * iconvdata/shift_jisx0213.c : Likewise.
13566 * iconvdata/sjis.c : Likewise.
13567 * iconvdata/t.61.c : Likewise.
13568 * iconvdata/tcvn5712-1.c : Likewise.
13569 * iconvdata/tscii.c: Likewise.
13570 * iconvdata/uhc.c : Likewise.
13571 * iconvdata/unicode.c (gconv_end): Likewise.
13572 * iconvdata/utf-16.c (gconv_end): Likewise.
13573 * iconvdata/utf-32.c (gconv_end): Likewise.
13574 * iconvdata/utf-7.c (base64): Likewise.
13575 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
13576 * iconv/gconv_close.c (__gconv_close): Likewise.
13577 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
13578 * iconv/gconv_simple.c (internal_ucs4_loop_single)
13579 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
13580 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
13581 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
13582 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
13583 * iconv/iconv.c (iconv): Likewise.
13584 * iconv/iconv_close.c: Likewise.
13585 * iconv/loop.c (SINGLE): Likewise.
13586 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
13587 * include/atomic.h: Likewise.
13588 * inet/inet6_option.c (option_alloc): Likewise.
13589 * intl/bindtextdom.c (set_binding_values): Likewise.
13590 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
13591 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
13592 * intl/localealias.c (read_alias_file): Likewise.
13593 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
13594 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
13595 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
13596 * libio/fmemopen.c (fmemopen): Likewise.
13597 * libio/iofgets.c (_IO_fgets): Likewise.
13598 * libio/iofgets_u.c (fgets_unlocked): Likewise.
13599 * libio/iofgetws.c (fgetws): Likewise.
13600 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13601 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
13602 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
13603 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
13604 * locale/findlocale.c (_nl_find_locale): Likewise.
13605 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
13606 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
13607 Likewise.
13608 * locale/setlocale.c (setlocale): Likewise.
13609 * login/programs/pt_chown.c (main): Likewise.
13610 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
13611 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
13612 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
13613 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
13614 * math/e_exp2l.c: Likewise.
13615 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
13616 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
13617 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
13618 * math/s_catan.c (__catan): Likewise.
13619 * math/s_catanf.c (__catanf): Likewise.
13620 * math/s_catanh.c (__catanh): Likewise.
13621 * math/s_catanhf.c (__catanhf): Likewise.
13622 * math/s_catanhl.c (__catanhl): Likewise.
13623 * math/s_catanl.c (__catanl): Likewise.
13624 * math/s_ccosh.c (__ccosh): Likewise.
13625 * math/s_ccoshf.c (__ccoshf): Likewise.
13626 * math/s_ccoshl.c (__ccoshl): Likewise.
13627 * math/s_cexp.c (__cexp): Likewise.
13628 * math/s_cexpf.c (__cexpf): Likewise.
13629 * math/s_cexpl.c (__cexpl): Likewise.
13630 * math/s_clog10.c (__clog10): Likewise.
13631 * math/s_clog10f.c (__clog10f): Likewise.
13632 * math/s_clog10l.c (__clog10l): Likewise.
13633 * math/s_clog.c (__clog): Likewise.
13634 * math/s_clogf.c (__clogf): Likewise.
13635 * math/s_clogl.c (__clogl): Likewise.
13636 * math/s_csin.c (__csin): Likewise.
13637 * math/s_csinf.c (__csinf): Likewise.
13638 * math/s_csinh.c (__csinh): Likewise.
13639 * math/s_csinhf.c (__csinhf): Likewise.
13640 * math/s_csinhl.c (__csinhl): Likewise.
13641 * math/s_csinl.c (__csinl): Likewise.
13642 * math/s_csqrt.c (__csqrt): Likewise.
13643 * math/s_csqrtf.c (__csqrtf): Likewise.
13644 * math/s_csqrtl.c (__csqrtl): Likewise.
13645 * math/s_ctan.c (__ctan): Likewise.
13646 * math/s_ctanf.c (__ctanf): Likewise.
13647 * math/s_ctanh.c (__ctanh): Likewise.
13648 * math/s_ctanhf.c (__ctanhf): Likewise.
13649 * math/s_ctanhl.c (__ctanhl): Likewise.
13650 * math/s_ctanl.c (__ctanl): Likewise.
13651 * math/w_pow.c: Likewise.
13652 * math/w_powf.c: Likewise.
13653 * math/w_powl.c: Likewise.
13654 * math/w_scalb.c (sysv_scalb): Likewise.
13655 * math/w_scalbf.c (sysv_scalbf): Likewise.
13656 * math/w_scalbl.c (sysv_scalbl): Likewise.
13657 * misc/error.c (error_tail): Likewise.
13658 * misc/pselect.c (__pselect): Likewise.
13659 * nis/nis_callback.c (__nis_create_callback): Likewise.
13660 * nis/nis_call.c (__nisfind_server): Likewise.
13661 * nis/nis_creategroup.c (nis_creategroup): Likewise.
13662 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
13663 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
13664 * nis/nis_getservlist.c (nis_getservlist): Likewise.
13665 * nis/nis_lookup.c (nis_lookup): Likewise.
13666 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
13667 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
13668 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 13669 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
13670 * nis/nss_compat/compat-grp.c (getgrent_next_file)
13671 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
13672 * nis/nss_compat/compat-initgroups.c (add_group)
13673 (internal_getgrent_r): Likewise.
13674 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
13675 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
13676 * nis/nss_compat/compat-spwd.c (getspent_next_file)
13677 (internal_getspnam_r): Likewise.
13678 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
13679 (_nss_nis_getaliasbyname_r): Likewise.
13680 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
13681 (_nss_nis_getntohost_r): Likewise.
13682 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
13683 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
13684 (_nss_nis_getgrgid_r): Likewise.
13685 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
13686 (internal_nis_gethostent_r, internal_gethostbyname2_r)
13687 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
13688 (_nss_nis_gethostbyname4_r): Likewise.
13689 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
13690 (initgroups_netid): Likewise.
a1ffb40e 13691 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
13692 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
13693 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
13694 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
13695 (_nss_nis_getprotobynumber_r): Likewise.
13696 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
13697 (_nss_nis_getsecretkey): Likewise.
13698 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
13699 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
13700 (_nss_nis_getpwuid_r): Likewise.
13701 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
13702 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
13703 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
13704 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
13705 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
13706 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
13707 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
13708 Likewise.
57f41c40
AS
13709 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
13710 (_nss_nisplus_getntohost_r): Likewise.
13711 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
13712 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
13713 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
13714 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 13715 Likewise.
57f41c40
AS
13716 * nis/nss_nisplus/nisplus-initgroups.c
13717 (_nss_nisplus_initgroups_dyn): Likewise.
13718 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
13719 (_nss_nisplus_getnetbyaddr_r): Likewise.
13720 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
13721 (_nss_nisplus_getprotobynumber_r): Likewise.
13722 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
13723 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
13724 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
13725 Likewise.
57f41c40
AS
13726 * nis/nss_nisplus/nisplus-service.c
13727 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
13728 (_nss_nisplus_getservbyport_r): Likewise.
13729 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
13730 (_nss_nisplus_getspnam_r): Likewise.
13731 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
13732 Likewise.
a1ffb40e
OB
13733 * nscd/aicache.c (addhstaiX): Likewise.
13734 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
13735 * nscd/connections.c (register_traced_file, send_ro_fd)
13736 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
13737 (main_loop_epoll): Likewise.
a1ffb40e
OB
13738 * nscd/grpcache.c (addgrbyX): Likewise.
13739 * nscd/hstcache.c (addhstbyX): Likewise.
13740 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13741 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
13742 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
13743 (addinnetgrX): Likewise.
13744 * nscd/nscd-client.h (__nscd_acquire_maplock)
13745 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
13746 * nscd/nscd_getai.c (__nscd_getai): Likewise.
13747 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13748 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
13749 Likewise.
13750 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
13751 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
13752 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
13753 (__nscd_get_map_ref): Likewise.
a1ffb40e 13754 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
13755 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
13756 Likewise.
a1ffb40e
OB
13757 * nscd/pwdcache.c (addpwbyX): Likewise.
13758 * nscd/selinux.c (preserve_capabilities): Likewise.
13759 * nscd/servicescache.c (addservbyX): Likewise.
13760 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
13761 * posix/fnmatch.c (fnmatch): Likewise.
13762 * posix/getopt.c (_getopt_internal_r): Likewise.
13763 * posix/glob.c (glob, glob_in_dir): Likewise.
13764 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
13765 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
13766 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
13767 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
13768 * resolv/res_init.c: Likewise.
13769 * resolv/res_mkquery.c (res_nmkquery): Likewise.
13770 * resolv/res_query.c (__libc_res_nquery): Likewise.
13771 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
13772 Likewise.
13773 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
13774 * stdio-common/perror.c (perror): Likewise.
13775 * stdio-common/printf_fp.c (___printf_fp): Likewise.
13776 * stdio-common/tmpnam.c (tmpnam): Likewise.
13777 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13778 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
13779 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13780 Likewise.
a1ffb40e
OB
13781 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13782 * stdlib/putenv.c (putenv): Likewise.
13783 * stdlib/setenv.c (__add_to_environ): Likewise.
13784 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13785 * stdlib/strtol_l.c (INTERNAL): Likewise.
13786 * string/memmem.c (memmem): Likewise.
13787 * string/strerror.c (strerror): Likewise.
13788 * string/strnlen.c (__strnlen): Likewise.
13789 * string/test-memmem.c (simple_memmem): Likewise.
13790 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
13791 * sunrpc/pm_getport.c (__get_socket): Likewise.
13792 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
13793 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
13794 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
13795 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
13796 Likewise.
13797 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13798 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13799 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
13800 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
13801 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
13802 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
13803 Likewise.
13804 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
13805 Likewise.
a1ffb40e
OB
13806 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13807 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13808 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13809 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13810 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13811 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
13812 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13813 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
13814 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
13815 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
13816 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13817 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13818 Likewise.
13819 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
13820 Likewise.
13821 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
13822 Likewise.
13823 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
13824 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13825 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
13826 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
13827 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13828 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
13829 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13830 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
13831 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
13832 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
13833 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
13834 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13835 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13836 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13837 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
13838 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13839 Likewise.
a1ffb40e
OB
13840 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
13841 Likewise.
13842 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
13843 Likewise.
13844 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
13845 Likewise.
13846 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13847 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13848 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
13849 Likewise.
13850 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
13851 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
13852 * sysdeps/posix/opendir.c (__opendirat): Likewise.
13853 * sysdeps/posix/sleep.c: Likewise.
13854 * sysdeps/posix/tempname.c: Likewise.
13855 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
13856 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13857 Likewise.
57f41c40
AS
13858 * sysdeps/powerpc/powerpc32/dl-machine.h
13859 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
13860 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13861 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13862 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
13863 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
13864 Likewise.
13865 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13866 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
13867 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13868 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13869 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13870 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13871 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13872 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13873 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13874 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13875 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13876 (elf_machine_lazy_rel): Likewise.
a1ffb40e 13877 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13878 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13879 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13880 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13881 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13882 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13883 * sysdeps/unix/grantpt.c (grantpt): Likewise.
13884 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13885 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13886 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13887 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13888 Likewise.
13889 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13890 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13891 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13892 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13893 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13894 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13895 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13896 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13897 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13898 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13899 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13900 Likewise.
13901 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13902 (__posix_fallocate64_l64): Likewise.
13903 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13904 (posix_fallocate): Likewise.
57f41c40
AS
13905 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13906 Likewise.
a1ffb40e 13907 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
13908 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13909 (getifaddrs_internal): Likewise.
a1ffb40e
OB
13910 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13911 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13912 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13913 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13914 * sysdeps/unix/sysv/linux/posix_fallocate64.c
13915 (__posix_fallocate64_l64): Likewise.
13916 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13917 Likewise.
13918 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
13919 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13920 (__get_clockfreq): Likewise.
a1ffb40e
OB
13921 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13922 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13923 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13924 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13925 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13926 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13927 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13928 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13929 Likewise.
13930 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13931 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13932 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13933 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13934 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13935 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13936 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13937 Likewise.
13938 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13939 (posix_fallocate): Likewise.
13940 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13941 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13942 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13943 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13944 (elf_machine_rela, elf_machine_rela_relative)
13945 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13946 * time/asctime.c (asctime_internal): Likewise.
13947 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13948 * time/tzset.c (__tzset_parse_tz): Likewise.
13949 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13950 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13951 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13952 * wcsmbs/wcsmbsload.h: Likewise.
13953
f3d338c9
OB
13954 [BZ #15894]
13955 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13956
57f41c40
AS
13957 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13958 (arena_get2): Remove THREAD_STATS conditionals.
13959 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13960 (__malloc_stats, int): Likewise.
bdfe308a 13961
d674667c
MF
139622014-02-08 Mike Frysinger <vapier@gentoo.org>
13963
13964 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
13965 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
13966
6349768c
MF
13967 * manual/setjmp.texi: Fix typos/grammar errors.
13968
0b7c7473
MF
13969 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
13970 Only return early when n is <= 0. Delete unused return statement.
13971
ac8cc9e3
MF
13972 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
13973 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
13974 * debug/tst-longjmp_chk3.c: New file.
13975
c5bb8e23
MF
13976 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
13977 (test_main): Replace code with set_fortify_handler call.
13978 * debug/test-strcpy_chk.c: Likewise.
13979 * debug/tst-chk1.c: Likewise.
13980 * debug/tst-longjmp_chk.c: Likewise.
13981 * test-skeleton.c: Include fcntl.h & paths.h
13982 (set_fortify_handler): Define.
13983
10444e42
MF
13984 * debug/tst-longjmp_chk.c: Add header comment and include
13985 ../test-skeleton.c.
13986 (do_test): Mark static.
13987 (TEST_FUNCTION): Define.
13988
1e805e8d
MF
13989 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
13990 (IP_PMTUDISC_INTERFACE): Likewise.
13991 (IP_MULTICAST_IF): Likewise.
13992 (IP_MULTICAST_TTL): Likewise.
13993 (IP_MULTICAST_LOOP): Likewise.
13994 (IP_ADD_MEMBERSHIP): Likewise.
13995 (IP_DROP_MEMBERSHIP): Likewise.
13996 (IP_UNBLOCK_SOURCE): Likewise.
13997 (IP_BLOCK_SOURCE): Likewise.
13998 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
13999 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
14000 (IP_MSFILTER): Likewise.
14001 (MCAST_JOIN_GROUP): Likewise.
14002 (MCAST_BLOCK_SOURCE): Likewise.
14003 (MCAST_UNBLOCK_SOURCE): Likewise.
14004 (MCAST_LEAVE_GROUP): Likewise.
14005 (MCAST_JOIN_SOURCE_GROUP): Likewise.
14006 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
14007 (MCAST_MSFILTER): Likewise.
14008 (IP_MULTICAST_ALL): Likewise.
14009 (IP_UNICAST_IF): Likewise.
14010
73f79bb7
MF
14011 * timezone/Makefile: Delete $(have-ksh) check.
14012 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
14013 * timezone/tzselect.ksh: Add +x mode bits.
14014
8da79b60
MF
14015 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
14016 (ANON_INODE_FS_MAGIC): Likewise.
14017 (BDEVFS_MAGIC): Likewise.
14018 (BINFMTFS_MAGIC): Likewise.
14019 (BTRFS_TEST_MAGIC): Likewise.
14020 (CRAMFS_MAGIC_WEND): Likewise.
14021 (DEBUGFS_MAGIC): Likewise.
14022 (ECRYPTFS_SUPER_MAGIC): Likewise.
14023 (EXT3_SUPER_MAGIC): Likewise.
14024 (EXT4_SUPER_MAGIC): Likewise.
14025 (FUTEXFS_SUPER_MAGIC): Likewise.
14026 (HOSTFS_SUPER_MAGIC): Likewise.
14027 (HUGETLBFS_MAGIC): Likewise.
14028 (MINIX3_SUPER_MAGIC): Likewise.
14029 (MTD_INODE_FS_MAGIC): Likewise.
14030 (NILFS_SUPER_MAGIC): Likewise.
14031 (OPENPROM_SUPER_MAGIC): Likewise.
14032 (PIPEFS_MAGIC): Likewise.
14033 (PSTOREFS_MAGIC): Likewise.
14034 (QNX6_SUPER_MAGIC): Likewise.
14035 (RAMFS_MAGIC): Likewise.
14036 (REISERFS_SUPER_MAGIC_STRING): Likewise.
14037 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
14038 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
14039 (SECURITYFS_MAGIC): Likewise.
14040 (SELINUX_MAGIC): Likewise.
14041 (SMACK_MAGIC): Likewise.
14042 (SOCKFS_MAGIC): Likewise.
14043 (SQUASHFS_MAGIC): Likewise.
14044 (STACK_END_MAGIC): Likewise.
14045 (TMPFS_MAGIC): Likewise.
14046 (USBDEVICE_SUPER_MAGIC): Likewise.
14047 (V9FS_MAGIC): Likewise.
14048 (XENFS_SUPER_MAGIC): Likewise.
14049 (CRAMFS_MAGIC): Fix typo in comment.
14050 (EXT2_SUPER_MAGIC): Update comment.
14051 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
14052
464263cc
JM
140532014-02-08 Joseph Myers <joseph@codesourcery.com>
14054
c6bfe5c4
JM
14055 * sysdeps/arm: Move directory from ports/sysdeps/arm.
14056 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
14057 * sysdeps/unix/sysv/linux/arm: Move directory from
14058 ports/sysdeps/unix/sysv/linux/arm.
14059 * README: Update listing for arm-*-linux-gnueabi.
14060
464263cc
JM
14061 * README: Remove mention of am33.
14062
32749f6c
RM
140632014-02-07 Roland McGrath <roland@hack.frob.com>
14064
14065 * bits/sigset.h (__sigemptyset): Use a statement expression rather
14066 than the comma operator, to avoid "rhs of comma has no effect"
14067 compiler warnings.
14068 (__sigfillset, __sigandset, __sigorset): Likewise.
14069 * include/signal.h (__sigemptyset): Likewise.
14070 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
14071
d5b396c1
AM
140722014-02-07 Allan McRae <allan@archlinux.org>
14073
14074 * version.h (RELEASE): Set to "development".
14075 (VERSION): Set to "2.19.90"
14076 * NEWS: Add 2.20 section.
14077
3bfff2ed
CD
140782014-02-06 Carlos O'Donell <carlos@redhat.com>
14079
14080 [BZ #16529]
14081 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
14082
ee7cc385
SP
140832014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14084
14085 * manual/contrib.texi: Update entry for Carlos O'Donell,
14086 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
14087
f877c4f2
CD
140882014-02-05 Carlos O'Donell <carlos@rehdat.com>
14089
27e839f6
CD
14090 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
14091
f877c4f2
CD
14092 * sysdeps/unix/sysv/linux/kernel-features.h
14093 [__LINUX_KERNEL_VERSION >= 0x020621]
14094 (__ASSUME_PROC_PID_TASK_COMM): Define.
14095
68159946
SP
140962014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14097
ba17cdbd
SP
14098 [BZ #16398]
14099 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
14100 conversion when destination buffer does not have enough space.
14101 * libio/tst-ftell-partial-wide.c: New test case.
14102 * libio/Makefile (tests): Add tst-ftell-partial-wide.
14103
68159946
SP
14104 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
14105 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
14106 Leonard and Allan McRae.
14107
2b528732
DM
141082014-02-04 David S. Miller <davem@davemloft.net>
14109
14110 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
14111 32-bit.
14112
0ff82463
AZ
141132014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14114
57f41c40
AS
14115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14116 New file
c01603f7
AZ
14117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14118 New file
57f41c40
AS
14119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14120 New file.
14121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14122 New file.
c01603f7
AZ
14123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14124 New file.
57f41c40
AS
14125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14126 New file.
14127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14128 New file.
c01603f7
AZ
14129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14130 New file.
14131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14132 New file.
14133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14134 New file.
14135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14136 New file.
14137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14138 New file.
14139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14140 New file.
14141
141422014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14143
0ff82463
AZ
14144 * nptl/shlib-versions: Change powerpc*le start to 2.17.
14145 * shlib-versions: Likewise.
14146
1695c773
AZ
141472014-02-04 Roland McGrath <roland@hack.frob.com>
14148 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14149
14150 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
14151 (abilist-pattern): New variable, set to %-le.abilist.
14152
14153 * Makerules (abilist-pattern): New variable.
14154 (vpath): Use $(abilist-pattern) in place of %.abilist.
14155 (check-abi-% pattern rule): Likewise.
14156 (check-abi, update-abi): Likewise.
14157
6c0ce4b4
EW
141582014-02-04 Eric Wong <normalperson@yhbt.net>
14159
14160 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14161
481e3524
CD
141622014-02-03 Carlos O'Donell <carlos@redhat.com>
14163
14164 * manual/startup.texi: Add next, previous, and top entries for
14165 the `Program Arguments' and `Environment Variables' nodes.
14166
375592d3
AO
141672014-02-03 Alexandre Oliva <aoliva@redhat.com>
14168
14169 * manual/macros.texi: Add comments before MTASC-safety macros.
14170
f54838ba
AO
14171 * manual/users.texi: Document MTASC-safety properties.
14172
57f41c40
AS
14173 * manual/threads.texi (pthread_key_create, pthread_key_delete)
14174 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
14175 @deftypefun, and add @safety note.
14176 * manual/signal.texi: Move comments that analyze the above
14177 functions to their home place.
14178
fd3daba4
AM
141792014-02-03 Allan McRae <allan@archlinux.org>
14180
14181 * po/sl.po: Update Slovenian translation from translation project.
14182
597636d7
AO
141832014-02-02 Alexandre Oliva <aoliva@redhat.com>
14184
14185 * manual/time.texi (timegm): Add missing blank after @c.
14186 Reported by Joseph Myers <joseph@codesourcery.com>.
14187
ee196e3c
AO
141882014-02-01 Alexandre Oliva <aoliva@redhat.com>
14189
14190 * manual/check-safety.sh: New.
14191 * manual/Makefile ($(objpfx)stamp-summary): Run it.
14192
f8d529d5
AO
14193 * manual/terminal.texi: Document MTASC-safety properties.
14194
de55fdf4
AO
14195 * manual/filesys.texi: Document MTASC-safety properties.
14196
c3299c08
AO
14197 * manual/errno.texi: Document MTASC-safety properties.
14198
06e90b14
AO
14199 * manual/intro.texi: Document safety identifiers and
14200 conditionals.
14201
1acd4371
AO
14202 * manual/string.texi (wcstok): Fix prototype.
14203 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
14204
23e5b8cb
AO
14205 * manual/time.texi: Document MTASC-safety properties.
14206
11087373
AO
14207 * manual/string.texi: Document MTASC-safety properties.
14208
5da2c93d
AO
14209 * manual/threads.texi: Document MTASC-safety properties.
14210
171e9210
AO
14211 * manual/stdio.texi: Document MTASC-safety properties.
14212
d9e02532
AO
14213 * manual/syslog.texi: Document MTASC-safety properties.
14214
6af8bab7
AO
14215 * manual/sysinfo.texi: Document MTASC-safety properties.
14216
663b02d7
AO
14217 * manual/startup.texi: Document MTASC-safety properties.
14218
973f180b
AO
14219 * manual/socket.texi: Document MTASC-safety properties.
14220
8f3c25c8
AO
14221 * manual/signal.texi: Document MTASC-safety properties.
14222
542210fb
AO
142232014-01-31 Alexandre Oliva <aoliva@redhat.com>
14224
14225 * manual/setjmp.texi: Document MTASC-safety properties.
14226
433c45a2
AO
14227 * manual/search.texi: Document MTASC-safety properties.
14228
c8ce789c
AO
14229 * manual/resource.texi: Document MTASC-safety properties.
14230
19f5d29c
AO
14231 * manual/process.texi: Document MTASC-safety properties.
14232
e2dfb7f4
AO
14233 * manual/platform.texi: Document MTASC-safety properties.
14234
8c1413f5
AO
14235 * manual/pipe.texi: Document MTASC-safety properties.
14236
03483ada
AO
14237 * manual/pattern.texi: Document MTASC-safety properties.
14238
29e7e2df
AO
14239 * manual/message.texi: Document MTASC-safety properties.
14240
9f529d7c
AO
14241 [BZ #12751]
14242 * manual/memory.texi: Document MTASC-safety properties.
14243
27aaa791
AO
14244 * manual/math.texi: Document MTASC-safety properties.
14245
f2d58726
AO
14246 * manual/locale.texi: Document MTASC-safety properties.
14247
2cc3615c
AO
14248 * manual/llio.texi: Document MTASC-safety properties.
14249
d9f0ec97
AO
14250 * manual/libdl.texi: New.
14251
e7c4409a
AO
14252 * manual/lang.texi: Document MTASC-safety properties.
14253
27bdc63c
AO
14254 * manual/job.texi: Document MTASC-safety properties.
14255
a7b90ea9
AO
14256 * manual/getopt.texi: Document MTASC-safety properties.
14257
c49130e3
AO
14258 * manual/ctype.texi: Document MTASC-safety properties.
14259
0d23a5c1
MR
142602014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
14261
14262 [BZ #16046]
14263 * csu/libc-tls.c (static_map): Remove variable.
14264 (__libc_setup_tls): Use main executable's link map for TLS data.
14265 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
14266 casing for LM_ID_BASE and GL(dl_nns).
14267 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
14268 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
14269 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
14270 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
14271 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
14272 member.
14273 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
14274 l_phnum members.
14275
0037bb60
AO
142762014-01-30 Alexandre Oliva <aoliva@redhat.com>
14277
14278 * manual/debug.texi: Document MTASC-safety properties.
14279
409e00bd
L
142802014-01-29 H.J. Lu <hongjiu.lu@intel.com>
14281
14282 [BZ #16510]
14283 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
14284 of __x86_64__ when disabling x87 inline functions.
14285
86e60666
AO
142862014-01-29 Alexandre Oliva <aoliva@redhat.com>
14287
14288 * manual/charset.texi: Document MTASC-safety properties.
14289
76167637
AO
14290 * manual/crypt.texi: Document MTASC-safety properties.
14291
e567f2a0
AO
14292 * manual/conf.texi: Document MTASC-safety properties.
14293
b719dafd
AO
14294 * manual/arith.texi: Document MTASC-safety properties.
14295
4a16c662
AO
14296 * manual/argp.texi: Document MTASC-safety properties.
14297
0a57b83e
AO
14298 * manual/macros.texi: Introduce macros to document multi
14299 thread, asynchronous signal and asynchronous cancellation
14300 safety properties.
14301 * manual/intro.texi: Introduce the properties themselves.
14302
feab2397
KK
143032014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14304
14305 * sysdeps/sh/sh4/Makefile: New file.
14306
1c0d11bc
AS
143072014-01-27 Andreas Schwab <schwab@linux-m68k.org>
14308
14309 * math/gen-libm-test.pl ($srcdir): New variable.
14310 ($auto_input): Use it.
14311
af37a8a3
SP
143122014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14313
d7b00f98
SP
14314 [BZ #16506]
14315 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
14316 access beyond array bounds when parsing netgroups file.
14317
af37a8a3
SP
14318 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
14319 the old buffer before realloc.
14320
0c00f062
AM
143212014-01-27 Allan McRae <allan@archlinux.org>
14322
14323 * po/fr.po: Update French translation from translation project.
14324
7d69a1b0
KK
143252014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14326
14327 * sysdeps/sh/libm-test-ulps: Regenerate.
14328
6e697ff7
DM
143292014-01-24 David S. Miller <davem@davemloft.net>
14330
14331 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
14332
9cadb35c
KK
143332014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14334
14335 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
14336 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
14337
5d41dadf
SP
143382013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14339
14340 [BZ #16474]
14341 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
14342 string pointers after reallocation.
14343
0bad441c
KK
143442014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14345
14346 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
14347 __SH4A__ instead of __SH_FPU_ANY__.
14348
7007c661
KK
143492014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14350
14351 * sysdeps/sh/fpu_control.h: New file.
14352 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
14353 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
14354 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
14355 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
14356 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
14357 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
14358 * sysdeps/sh/sys/ucontext.h: Remove.
14359 * sysdeps/sh/sys: Remove directory.
14360
0f0c35e4
AK
143612014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14362
14363 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
14364 s390/sys/ucontext.h.
14365 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
14366 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
14367
4959e284
L
143682014-01-20 H.J. Lu <hongjiu.lu@intel.com>
14369
14370 [BZ #15605]
14371 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
14372
d98720e0
AZ
143732014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14374
14375 [BZ#16431]
14376 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14377 Adjust the vDSO correctly for internal calls.
14378 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
14379
91cbd0bc
AM
143802014-01-20 Allan McRae <allan@archlinux.org>
14381
14382 * po/ca.po: Update Catalan translation from translation project.
14383
7a02cfad
MF
143842014-01-16 Mike Frysinger <vapier@gentoo.org>
14385
14386 * sysdeps/s390/sotruss-lib.c: New file.
14387
736c304a
AZ
143882014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14389
14390 [BZ#16430]
6e077ee5 14391 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
14392 (__GI___gettimeofday): Alias for a different internal symbol to avoid
14393 local calls issues by not having a PLT stub required for IFUNC calls.
14394 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
14395
94d0cea0
JM
143962014-01-16 Joseph Myers <joseph@codesourcery.com>
14397
14398 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
14399 * math/test-fpucw-static.c: Likewise.
14400
980cb518
SP
144012013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14402
14403 [BZ #16453]
14404 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
14405
2393fc01
AZ
144062014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14407
14408 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
14409 implementation for powerpc.
14410
d359bcc2
OB
144112014-01-15 Ondřej Bílka <neleai@seznam.cz>
14412
14413 [BZ #14782]
14414 * sysdeps/posix/system.c (__libc_system): Do not enable
14415 asynchronous cancellation.
14416
7beb48cb
AK
144172014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14418
14419 [BZ #16427]
14420 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
14421 handling only for numbers special also in the IEEE case.
14422
c20d5bf5
AK
144232014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14424
14425 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14426
e83bd4ee
AM
144272014-01-11 Allan McRae <allan@archlinux.org>
14428
76d0ea69
AM
14429 * po/bg.po: Update Bulgarian translation from translation project.
14430
e83bd4ee
AM
14431 * po/de.po: Update German translation from translation project.
14432
bc2ba20a
RM
144332014-01-10 Roland McGrath <roland@hack.frob.com>
14434
14435 * sysdeps/generic/gcc-compat.h: New file.
14436
649ecea2
SP
144372014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14438
14439 * benchtests/asin-inputs: Correct slow inputs.
14440 * benchtests/acos-inputs: Likewise.
14441
1b19c006
AM
144422014-01-10 Allan McRae <allan@archlinux.org>
14443
a46dab08
AM
14444 * po:sv.po: Update Swedish translation from translation project.
14445
421df74a
AM
14446 * po/vi.po: Update Vietnamese translation from translation project.
14447
d61c51a7
AM
14448 * po/eo.po: Update Esperanto translation from translation project.
14449
0339a319
AM
14450 * po/cs.po: Update Czech translation from translation project.
14451
94ad3e99
AM
14452 * po/nl.po: Update Dutch translation from translation project.
14453
e349ca71
AM
14454 * po/pl.po: Update Polish translation from translation project.
14455
ddf930c1
AM
14456 * po/ru.po: Update Russian translation from translation project.
14457
1b19c006
AM
14458 * po/uk.po: Update Ukrainian translation from translation project.
14459
9f236c49
BM
144602014-01-08 Brooks Moses <bmoses@google.com>
14461
14462 * elf/dl-load.c: Fix comment typo.
14463
cd6701cf
CD
144642014-01-08 Carlos O'Donell <carlos@redhat.com>
14465
14466 * po/header.pot: Rename to...
14467 * po/pot.header: ... this.
14468 * po/Makefile: Use pot.header.
14469
66671c84
YK
144702014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
14471 Maxim Kuvyrkov <maxim@kugelworks.com>
14472
14473 [BZ #16394]
cd6701cf
CD
14474 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
14475 SRC and DEST against LEN.
66671c84 14476
38f34581
AZ
144772014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14478
14479 [BZ #16414]
14480 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
14481 implementation.
14482 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
14483
144842014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
14485
14486 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14487
4c327f2a
JM
144882014-01-08 Joseph Myers <joseph@codesourcery.com>
14489
14490 [BZ #16408]
14491 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
14492 for large positive arguments.
14493
b821f414
JM
144942014-01-07 Joseph Myers <joseph@codesourcery.com>
14495
1f0f2067
JM
14496 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14497
a5a326f6
JM
14498 * math/auto-libm-test-in: Mark various tests with
14499 xfail-rounding:ldbl-128ibm.
14500 * math/auto-libm-test-out: Regenerated.
14501
b821f414
JM
14502 [BZ #16407]
14503 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14504 Increase overflow threshold.
14505
94c8a4bc
OB
145062014-01-07 Ondřej Bílka <neleai@seznam.cz>
14507
14508 [BZ #14286]
14509 * stdio-common/vfprintf.c: Check for integer overflow.
14510
87ded0c3
AK
145112014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14512
14513 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
14514 the first argument and return value of __tls_get_addr_internal.
14515
c5eebdd0
AK
145162014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14517
14518 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
14519 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
14520
05d138ef
AK
145212014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14522
14523 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
14524 * sysdeps/s390/rtld-global-offsets.sym: New file.
14525 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
14526 GLIBC_2.19 symbol.
14527 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
14528 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
14529 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14530 ... this.
14531 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
14532 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14533 ... this.
14534 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14535 Regenerate.
14536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14537 Regenerate.
14538 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
14539 halfs of GPRs for high_gprs contexts.
14540 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
14541 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
14542 field.
14543 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
14544 uc_flags field.
14545 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
14546 64 bit versions:
14547 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
14548 for high GPRs (uc_high_gprs) and for future extensions
14549 (__reserved).
14550 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
14551 for future extensions (__reserved).
14552 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
14553 64 bit versions:
14554 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
14555 SC_HIGHGPRS offset definition.
14556 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
14557 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
14558
93a45ff1
AK
14559 * Versions.def: Add GLIBC_2.19 for libpthread.
14560 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
14561 siglongjmp for libpthread with GLIBC_2.19 symver.
14562 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
14563 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
14564 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
14565 * sysdeps/s390/__longjmp.c: New file.
14566 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
14567 * sysdeps/s390/longjmp.c: New file.
14568 * sysdeps/s390/setjmp.S: New file.
14569 * sysdeps/s390/sigjmp.S: New file.
14570 * sysdeps/s390/v1-longjmp.c: New file.
14571 * sysdeps/s390/v1-setjmp.h: New file.
14572 * sysdeps/s390/v1-sigjmp.c: New file.
14573 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
14574 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
14575 GLIBC_2.19 version.
14576 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
14577 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
14578 versioned symbols for ____longjmp_chk.
14579 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14580 Likewise.
14581 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14582 Regenerate.
14583 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14584 Regenerate.
14585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14586 Regenerate.
14587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14588 Regenerate.
14589 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
14590 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
14591 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
14592 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
14593 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
14594 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
14595 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
14596 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
14597 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
14598 * sysdeps/s390/rtld-__longjmp.c: New file.
14599 * sysdeps/s390/rtld-setjmp.S: New file.
14600
eb3fc44b
JM
146012014-01-06 Joseph Myers <joseph@codesourcery.com>
14602
14603 [BZ #16400]
14604 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14605 Return -__logl (x) for small positive arguments without evaluating
14606 a polynomial.
14607
9341dde4
MF
146082014-01-06 Mike Frysinger <vapier@gentoo.org>
14609
14610 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
14611 Rename to ...
14612 (__ptrace_peeksiginfo_args): ... this.
14613 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14614 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14615 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14616
4cff0293
AM
146172014-01-06 Allan McRae <allan@archlinux.org>
14618
14619 * inet/netinet/in.h: Fix typo in comment.
14620
75595dcf
AJ
146212014-01-05 Andreas Jaeger <aj@suse.de>
14622
14623 * sysdeps/i386/fpu/libm-test-ulps: Update.
14624
79c1e109
AM
146252014-01-05 Allan McRae <allan@archlinux.org>
14626
dd804818
AM
14627 * po/libc.pot: Regenerated.
14628
79c1e109
AM
14629 * malloc/memusagestat.c: Fix gettext call formatting.
14630
0c813d1f
SK
146312014-01-04 Sami Kerola <kerolasa@iki.fi>
14632
14633 * nscd/nscd.c: Improve usage() output.
14634
20f4a8d9
MF
146352014-01-04 Mike Frysinger <vapier@gentoo.org>
14636
14637 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
14638 * sysdeps/unix/sysv/linux/configure: Regenerated.
14639 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
14640 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
14641
22562bb2
JM
146422014-01-03 Joseph Myers <joseph@codesourcery.com>
14643
14644 [BZ #16390]
14645 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14646 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
14647
d7ad2d9b
AZ
146482014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14649
14650 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
14651 extra tokens at end of #undef directive.
14652 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
14653 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
14654 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
14655
7dd009d8
JM
146562014-01-03 Joseph Myers <joseph@codesourcery.com>
14657
24db925a
JM
14658 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14659
7dd009d8
JM
14660 * math/auto-libm-test-in: Mark various tests with
14661 xfail-rounding:ldbl-128ibm.
14662 * math/auto-libm-test-out: Regenerated.
14663
396e3ecf
JM
146642014-01-02 Joseph Myers <joseph@codesourcery.com>
14665
819e5d50
JM
14666 [BZ #16386]
14667 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
14668 numbers with subnormal high part when calculating exponent.
14669
90b6a1e5
JM
14670 [BZ #16385]
14671 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
14672 fabs.
14673
396e3ecf
JM
14674 [BZ #16384]
14675 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
14676 M_LN2l.
14677 (__ieee754_acoshl): Use __log1pl not __log1p.
14678
6c8dbf00
OB
146792013-01-02 Ondřej Bílka <neleai@seznam.cz>
14680
57f41c40
AS
14681 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
14682 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
14683 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
14684 (grow_heap, heap_trim, _int_new_arena, get_free_list)
14685 (reused_arena, arena_get2): Convert to GNU style.
14686 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
14687 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
14688 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 14689 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
14690 * malloc/malloc.c (__malloc_assert, malloc_init_state)
14691 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
14692 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
14693 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
14694 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
14695 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 14696 * malloc/malloc.h: Likewise.
57f41c40
AS
14697 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
14698 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 14699 * malloc/mcheck.h: Likewise.
57f41c40
AS
14700 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
14701 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
14702 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
14703 * malloc/morecore.c (__default_morecore): Likewise.
14704 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
14705 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
14706 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
14707 (print_and_abort): Likewise.
6c8dbf00
OB
14708 * malloc/obstack.h: Likewise.
14709 * malloc/set-freeres.c (__libc_freeres): Likewise.
14710 * malloc/tst-mallocstate.c (main): Likewise.
14711 * malloc/tst-mtrace.c (main): Likewise.
14712 * malloc/tst-realloc.c (do_test): Likewise.
14713
d4124212
SP
147142013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14715
9a3c6a6f
SP
14716 [BZ #16366]
14717 * nscd/netgroupcache.c (do_notfound): New function.
14718 (addgetnetgrentX): Use it.
14719
d4124212
SP
14720 [BZ # 16365]
14721 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
14722 NSS_STATUS_NOTFOUND.
14723
97b9a009
JM
147242014-01-01 Joseph Myers <joseph@codesourcery.com>
14725
14726 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14728
d4697bc9
AM
147292014-01-01 Allan McRae <allan@archlinux.org>
14730
ddb3687f
AM
14731 * scripts/update-copyrights: Update configure input file suffix.
14732
88726d48
AM
14733 * NEWS: Update copyright year.
14734 * catgets/gencat.c: Likewise.
14735 * csu/version.c: Likewise.
14736 * debug/catchsegv.sh: Likewise.
14737 * debug/pcprofiledump.c: Likewise.
14738 * debug/xtrace.sh: Likewise.
14739 * elf/ldconfig.c: Likewise.
14740 * elf/ldd.bash.in: Likewise.
14741 * elf/pldd.c: Likewise.
14742 * elf/sotruss.ksh: Likewise.
14743 * elf/sprof.c: Likewise.
14744 * iconv/iconv_prog.c: Likewise.
14745 * iconv/iconvconfig.c: Likewise.
14746 * locale/programs/locale.c: Likewise.
14747 * locale/programs/localedef.c: Likewise.
14748 * login/programs/pt_chown.c: Likewise.
14749 * malloc/memusage.sh: Likewise.
14750 * malloc/memusagestat.c: Likewise.
14751 * malloc/mtrace.pl: Likewise.
14752 * manual/libc.texinfo: Likewise.
14753 * nscd/nscd.c: Likewise.
14754 * nss/getent.c: Likewise.
14755 * nss/makedb.c: Likewise.
14756 * posix/getconf.c: Likewise.
14757 * scripts/test-installation.pl: Likewise.
14758
d4697bc9
AM
14759 * All files with FSF copyright notices: Update copyright dates
14760 using scripts/update-copyrights.
14761 * intl/plural.c: Regenerated.
14762 * locale/programs/charmap-kw.h: Likewise.
14763 * locale/programs/locfile-kw.h: Likewise.
14764
c8590f9d
MF
147652013-12-31 Mike Frysinger <vapier@gentoo.org>
14766
14767 * sysdeps/unix/sysv/linux/configure: Regenerated.
14768 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
14769 the linux/fanotify.h header.
14770 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
14771 HAVE_LINUX_FANOTIFY_H is defined.
14772
b19221b9
SP
147732013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14774
dd1d85e5
SP
14775 * benchtests/cos-inputs: New inputs.
14776 * benchtests/sin-inputs: Likewise.
14777
1acbb90f
SP
14778 * benchtests/atan-inputs: New inputs. Fix name of multiple
14779 precision fallback inputs.
14780
4c012ed3
SP
14781 * benchtests/atanh-inputs: New inputs.
14782 * benchtests/tanh-inputs: Likewise.
14783
eff98324
SP
14784 * benchtests/acosh-inputs: New inputs.
14785 * benchtests/asinh-inputs: Likewise.
14786
ce641152
SP
14787 * benchtests/cosh-inputs: New inputs.
14788 * benchtests/sinh-inputs: Likewise.
14789
b19221b9
SP
14790 * benchtests/acos-inputs: Add more inputs.
14791 * benchtests/asin-inputs: Likewise.
14792
030a4976 147932013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 14794
030a4976 14795 [BZ #16375]
9dcc8f11
VS
14796 * manual/arith.texi: Fix spelling.
14797 * manual/charset.texi: Likewise.
14798 * manual/errno.texi: Likewise.
14799 * manual/filesys.texi: Likewise.
14800 * manual/lang.texi: Likewise.
14801 * manual/llio.texi: Likewise.
14802 * manual/locale.texi: Likewise.
14803 * manual/message.texi: Likewise.
14804 * manual/resource.texi: Likewise.
14805 * manual/search.texi: Likewise.
14806 * manual/setjmp.texi: Likewise.
14807 * manual/stdio.texi: Likewise.
14808 * manual/string.texi: Likewise.
14809 * manual/sysinfo.texi: Likewise.
14810 * manual/time.texi: Likewise.
14811
11520a57
CD
148122013-12-27 Carlos O'Donell <carlos@redhat.com>
14813
14814 * po/sl.po: New file.
14815
471103ae
MF
148162013-12-27 Mike Frysinger <vapier@gentoo.org>
14817
14818 * .gitignore: Add core/.gdbinit/.gdb_history.
14819
6c9642ed
AM
148202013-12-27 Allan McRae <allan@archlinux.org>
14821
14822 [BZ #16369]
14823 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
14824 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
14825
3f637079
BM
148262013-12-24 Brooks Moses <bmoses@google.com>
14827
14828 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
14829 all compilers that claim C++98 compliance, not just GCC.
14830 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14831 Likewise.
14832
abc26e99
MK
148332013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14834
14835 * NEWS: Restore accidentally deleted bug-fix entries.
14836
362b47fe
MK
148372013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14838 Ondřej Bílka <neleai@seznam.cz>
14839
14840 [BZ #15073]
14841 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 14842 have_lock.
362b47fe 14843
b9bcbbcb
OB
148442013-12-23 Ondřej Bílka <neleai@seznam.cz>
14845
14846 [BZ #12986]
14847 * manual/stdio.texi (String Input Conversions): Clarify that character
14848 classes are not supported.
14849
fb55fcd2
AZ
148502013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14851
14852 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14853
ef7344f0
JM
148542013-12-22 Joseph Myers <joseph@codesourcery.com>
14855
4f40e4b3
JM
14856 [BZ #16337]
14857 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14858 Calculate results for small negative arguments directly rather
14859 than using reflection formula with special underflow handling.
14860
ef7344f0
JM
14861 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
14862 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
14863 sysdeps/unix/bsd/bsd4.4/syscalls.list.
14864 (fchflags): Likewise.
14865 (revoke): Likewise.
14866 (setlogin): Likewise.
14867 (sigaltstack): Likewise.
14868 (wait4): Likewise.
14869 (sigblock): Remove.
14870 (sigsetmask): Likewise.
14871 (wait3): Likewise.
14872 (waitpid): Likewise.
14873 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14874 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14875 file.
14876 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14877 * sysdeps/unix/bsd/Makefile: ... here.
14878 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14879 * sysdeps/unix/bsd/Versions: ... here.
14880 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14881 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14882 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14883 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14884 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14885 * sysdeps/unix/bsd/sigblock.c: ... here.
14886 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14887 * sysdeps/unix/bsd/sigsetmask.c: ... here.
14888 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14889 * sysdeps/unix/bsd/sigvec.c: ... here.
14890 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14891 * sysdeps/unix/bsd/tcdrain.c: ... here.
14892 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14893 * sysdeps/unix/bsd/tcgetattr.c: ... here.
14894 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14895 * sysdeps/unix/bsd/tcsetattr.c: ... here.
14896 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14897 * sysdeps/unix/bsd/wait.c: ... here.
14898 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14899 * sysdeps/unix/bsd/wait3.c: ... here.
14900 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14901 * sysdeps/unix/bsd/waitpid.c: ... here.
14902
5b0626b9
JM
149032013-12-21 Joseph Myers <joseph@codesourcery.com>
14904
14905 [BZ #16356]
14906 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14907 round-to-nearest for [!USE_AS_EXPM1L].
14908 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14909 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
14910 more tests of exp and exp10. Expect some exp10 tests to miss
14911 exceptions or fail in directed rounding modes.
14912 * math/auto-libm-test-out: Regenerated.
14913 * math/libm-test.inc (exp10_tonearest_test_data): New array.
14914 (exp10_test_tonearest): New function.
14915 (exp10_towardzero_test_data): New array.
14916 (exp10_test_towardzero): New function.
14917 (exp10_downward_test_data): New array.
14918 (exp10_test_downward): New function.
14919 (exp10_upward_test_data): New array.
14920 (exp10_test_upward): New function.
14921 (main): Call the new functions.
14922 * sysdeps/i386/fpu/libm-test-ulps: Update.
14923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14924
7fda5682
JM
149252013-12-20 Joseph Myers <joseph@codesourcery.com>
14926
31e3a405
JM
14927 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14928 asinh, atan, atan2, atanh, cbrt, cos and cosh.
14929 * math/auto-libm-test-out: Regenerated.
14930 * math/libm-test.inc (acosh_test_data): Add more tests.
14931 (atanh_test_data): Likewise.
14932 (ceil_test_data): Likewise.
14933 (copysign_test_data): Likewise.
14934 * sysdeps/i386/fpu/libm-test-ulps: Update.
14935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14936
85bff96a
JM
14937 * timezone/checktab.awk: Update from tzcode 2013i.
14938 * timezone/private.h: Likewise.
14939 * timezone/scheck.c: Likewise.
14940 * timezone/tzfile.h: Likewise.
14941 * timezone/tzselect.ksh: Likewise.
14942 * timezone/zdump.c: Likewise.
14943 * timezone/zic.c: Likewise.
14944
b7867a3b
JM
14945 * math/auto-libm-test-in: Add tests of cpow.
14946 * math/auto-libm-test-out: Regenerated.
14947 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 14948 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
14949 mpc_cc_c.
14950 (func_calc_desc): Add mpc_cc_c union field.
14951 (test_functions): Add cpow.
14952 (special_fill_2pi): New function.
14953 (special_real_inputs): Add 2pi.
14954 (calc_generic_results): Handle mpc_cc_c.
14955 * sysdeps/i386/fpu/libm-test-ulps: Update.
14956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14957
7fda5682
JM
14958 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14959 csqrt, ctan and ctanh.
14960 * math/auto-libm-test-out: Regenerated.
14961 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14962 (TEST_COND_x86): Likewise.
14963 (ccos_test_data): Use AUTO_TESTS_c_c.
14964 (ccosh_test_data): Likewise.
14965 (cexp_test_data): Likewise.
14966 (clog_test_data): Likewise.
14967 (csqrt_test_data): Likewise.
14968 (ctan_test_data): Likewise.
14969 (ctan_tonearest_test_data): Likewise.
14970 (ctan_towardzero_test_data): Likewise.
14971 (ctan_downward_test_data): Likewise.
14972 (ctan_upward_test_data): Likewise.
14973 (ctanh_test_data): Likewise.
14974 (ctanh_tonearest_test_data): Likewise.
14975 (ctanh_towardzero_test_data): Likewise.
14976 (ctanh_downward_test_data): Likewise.
14977 (ctanh_upward_test_data): Likewise.
14978 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14979 mpc_c_c.
14980 (func_calc_desc): Add mpc_c_c union field.
14981 (FUNC_mpc_c_c): New macro.
14982 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
14983 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
14984 ctanh.
14985 (special_fill_min_subnorm_p120): New function.
14986 (special_real_inputs): Add min_subnorm_p120.
14987 (calc_generic_results): Handle mpc_c_c.
14988 * sysdeps/i386/fpu/libm-test-ulps: Update.
14989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14990
5ff8d60e
SP
149912013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14992
57f41c40
AS
14993 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
14994 (do_sin_slow): New functions.
14995 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
14996 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 14997
84ba214c
SP
14998 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
14999 Use M to change sign of result instead of X. Assume X is
15000 positive.
15001 (csloww1): Likewise.
15002 (__sin): Adjust.
15003 (__cos): Adjust.
15004
975195e4
SP
15005 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
15006 arguments A and DA.
15007 (__sin): Adjust.
15008 (__cos): Likewise.
15009
5ff8d60e
SP
15010 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
15011 (__cos): Likewise.
15012 (sloww1): Don't adjust sign of DX.
15013 (csloww1): Likewise.
15014 (sloww2): Use X directly and don't adjust sign of DX.
15015 (csloww2): Likewise.
15016
eb983568
JM
150172013-12-19 Joseph Myers <joseph@codesourcery.com>
15018
64a17f1a
JM
15019 * math/auto-libm-test-in: Add tests of cabs and carg.
15020 * math/auto-libm-test-out: Regenerated.
15021 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
15022 (carg_test_data): Likewise.
15023 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15024 mpc_c_f.
15025 (func_calc_desc): Add mpc_c_f union field.
15026 (test_functions): Add cabs and carg.
15027 (calc_generic_results): Handle mpc_c_f.
15028
eb983568
JM
15029 * sysdeps/powerpc/powerpc32/libgcc-compat.S
15030 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
15031 as a macro and a compat symbol.
15032 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
15033 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
15034 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
15035 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
15036 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
15037 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
15038 not use .hidden.
15039 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
15040 Likewise.
15041 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
15042 Likewise.
15043 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
15044 Likewise.
15045 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
15046 Likewise.
15047 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
15048 Likewise.
15049 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
15050 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
15051 from GLIBC_2.3.2.
15052
6eeb678a
AZ
150532013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15054
15055 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15056
6f6fc482
JM
150572013-12-19 Joseph Myers <joseph@codesourcery.com>
15058
21fea2e2
JM
15059 * manual/texinfo.tex: Update to version 2013-11-26.10 with
15060 trailing whitespace removed.
15061 * scripts/config.guess: Update to version 2013-11-29.
15062 * scripts/config.sub: Update to version 2013-10-01.
15063
6f6fc482
JM
15064 * math/auto-libm-test-in: Add tests of sincos.
15065 * math/auto-libm-test-out: Regenerated.
15066 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
15067 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15068 mpfr_f_11.
15069 (func_calc_desc): Add mpfr_f_11 union field.
15070 (test_functions): Add sincos.
15071 (calc_generic_results): Handle mpfr_f_11.
15072 * sysdeps/i386/fpu/libm-test-ulps: Update.
15073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15074
83f5c32d
AS
150752013-12-19 Andreas Schwab <schwab@suse.de>
15076
15077 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
15078 CALL_MCOUNT.
15079 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15080 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
15081 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
15082
c688b419
JM
150832013-12-19 Joseph Myers <joseph@codesourcery.com>
15084
335ee092
JM
15085 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
15086 * sysdeps/i386/fpu/libm-test-ulps: Update.
15087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15088
f88acd39
JM
15089 [BZ #16293]
15090 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
15091 round-to-nearest mode when using frndint.
15092 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
15093 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15094 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15095 Likewise.
15096 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
15097 sinh test to fail.
15098 * math/auto-libm-test-out: Regenerated.
15099 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
15100 (TEST_COND_x86): Likewise.
15101 (expm1_tonearest_test_data): New array.
15102 (expm1_test_tonearest): New function.
15103 (expm1_towardzero_test_data): New array.
15104 (expm1_test_towardzero): New function.
15105 (expm1_downward_test_data): New array.
15106 (expm1_test_downward): New function.
15107 (expm1_upward_test_data): New array.
15108 (expm1_test_upward): New function.
15109 (main): Run the new test functions.
15110 * sysdeps/i386/fpu/libm-test-ulps: Update.
15111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15112
c688b419
JM
15113 * include/features.h: Update comment documenting feature test
15114 macros. Mention _DEFAULT_SOURCE in comment.
15115 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
15116 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
15117 _BSD_SOURCE and _SVID_SOURCE.
15118 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
15119 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
15120 !_SVID_SOURCE]: Likewise.
15121 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15122 (__USE_POSIX_IMPLICITLY): Define.
15123 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15124 (_POSIX_SOURCE): Undefine and redefine.
15125 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15126 (_POSIX_C_SOURCE): Likewise.
15127 * manual/creature.texi (_DEFAULT_SOURCE): Document.
15128 (Feature Test Macros): Update documentation of default features.
15129
9f6e964c
RS
151302013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15131
15132 * benchtests/Makefile: Add bench-strtok.
15133 * benchtests/bench-strtok.c: New file: strtok benchtest.
15134
ee0a148a
AM
151352013-12-19 Allan McRae <allan@archlinux.org>
15136
15137 * manual/install.texi: Suppress menu for plain text output.
15138 * INSTALL: Regenerated.
15139
b9ab448f
BM
151402013-12-18 Brooks Moses <bmoses@google.com>
15141
15142 [BZ #15846]
15143 * misc/getauxval.c: Include errno.h.
15144 (__getauxval): Set errno to ENOENT if the requested type is not
15145 found.
15146 * misc/sys/auxv.h (getauxval): Document that it may set errno;
15147 don't declare with __attribute_const__.
15148 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
15149 * manual/startup.texi: Document that getauxval sets errno.
15150
23776487
JM
151512013-12-18 Joseph Myers <joseph@codesourcery.com>
15152
f889953b
JM
15153 * math/auto-libm-test-in: Add tests of jn and yn.
15154 * math/auto-libm-test-out: Regenerated.
15155 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
15156 (yn_test_data): Likewise.
15157 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15158 mpfr_if_f.
15159 (func_calc_desc): Add mpfr_if_f union field.
15160 (FUNC_mpfr_if_f): New macro.
15161 (test_functions): Add jn and yn.
15162 (calc_generic_results): Assert type of second input for
15163 mpfr_ff_f. Handle mpfr_if_f.
15164 (output_for_one_input_case): Disable all checking for arguments
15165 fitting floating-point types in case of an integer argument.
15166 * sysdeps/i386/fpu/libm-test-ulps: Update.
15167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15168
23776487
JM
15169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15170 Don't expect fegetround reference in libm.so.
15171
cb756c6d
MS
151722013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15173
15174 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
15175 $(config-cflags-nofma).
15176
2dec468f
JM
151772013-12-18 Joseph Myers <joseph@codesourcery.com>
15178
5953eb3a
JM
15179 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
15180 * math/auto-libm-test-out: Regenerated.
15181
2dec468f
JM
15182 [BZ #16338]
15183 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
15184 to determine exponent and adjust argument to have exponent of -1.
15185 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
15186 log2.
15187 * math/auto-libm-test-out: Regenerated.
15188 * sysdeps/i386/fpu/libm-test-ulps: Update.
15189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15190
4d84e6ad
OB
151912013-12-18 Ondřej Bílka <neleai@seznam.cz>
15192
15193 * manual/probes.texi: Remove cases when per-thread arenas are
15194 disabled.
15195
1818483b
AS
151962013-12-18 Andreas Schwab <schwab@suse.de>
15197
15198 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
15199 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
15200 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
15201 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
15202 * sysdeps/i386/i686/multiarch/Makefile: Update.
15203 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
15204
25de95bf
JM
152052013-12-17 Joseph Myers <joseph@codesourcery.com>
15206
15207 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
15208 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
15209
674762d9
PE
152102013-12-17 Paul Eggert <eggert@cs.ucla.edu>
15211
ed27ed83 15212 [BZ #15968]
0748546f
PE
15213 Support TZ transition times < 00:00:00.
15214 This is needed for version-3 tz-format files; it supports time
15215 stamps past 2037 for America/Godthab (the only entry in the tz
15216 database for which this change is relevant).
15217 * manual/time.texi (TZ Variable): Document transition times
15218 from -167:59:59 through -00:00:01.
15219 * time/tzset.c (tz_rule): Time of day is now signed.
15220 (__tzset_parse_tz): Parse negative time of day.
15221
4480e934
PE
15222 Document TZ transition times >= 25:00:00.
15223 * manual/time.texi (TZ Variable): Document transition times from
15224 25:00:00 through 167:59:59. These are already supported, and this
15225 support will help with version-3 tz-format files.
15226
69947401
PE
15227 * manual/time.texi (TZ Variable): Modernize North America example
15228 to reflect current (i.e., 2007-and-later) daylight saving rules.
15229
674762d9
PE
15230 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
15231
7011c262
JM
152322013-12-17 Joseph Myers <joseph@codesourcery.com>
15233
2fc6557e
JM
15234 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
15235 * sysdeps/unix/bsd/bits/stat.h: Likewise.
15236 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
15237 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15238 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
15239 * sysdeps/unix/bsd/bsdstat.h: Likewise.
15240 * sysdeps/unix/bsd/clock.c: Likewise.
15241 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
15242 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
15243 * sysdeps/unix/bsd/init-posix.c: Likewise.
15244 * sysdeps/unix/bsd/poll.c: Likewise.
15245 * sysdeps/unix/bsd/ptsname.c: Likewise.
15246 * sysdeps/unix/bsd/seekdir.c: Likewise.
15247 * sysdeps/unix/bsd/setegid.c: Likewise.
15248 * sysdeps/unix/bsd/seteuid.c: Likewise.
15249 * sysdeps/unix/bsd/setgid.c: Likewise.
15250 * sysdeps/unix/bsd/setrgid.c: Likewise.
15251 * sysdeps/unix/bsd/setruid.c: Likewise.
15252 * sysdeps/unix/bsd/setsid.c: Likewise.
15253 * sysdeps/unix/bsd/setuid.c: Likewise.
15254 * sysdeps/unix/bsd/sigaction.c: Likewise.
15255 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
15256 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
15257 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
15258 * sysdeps/unix/bsd/telldir.c: Likewise.
15259 * sysdeps/unix/bsd/times.c: Likewise.
15260 * sysdeps/unix/bsd/usleep.c: Likewise.
15261
029c7b25
JM
15262 * misc/Makefile (install-lib): Remove libbsd-compat.a.
15263 ($(objpfx)libbsd-compat.a): Remove rule.
15264
7011c262
JM
15265 * include/features.h (__FAVOR_BSD): Do not define.
15266 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
15267 features conflicting with POSIX.
15268 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
15269 (_BSD_SOURCE): Remove description of not being a subset of other
15270 feature test macros.
15271 * manual/job.texi (getpgrp): Do not document BSD version.
15272 (getpgid): Do not document by reference to BSD getpgrp.
15273 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
15274 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
15275 * signal/signal.h [__FAVOR_BSD]: Likewise.
15276 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
15277 instead of making contents conditional on [__FAVOR_BSD].
15278 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
15279
affb6f78
AZ
152802013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15281
15282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15283
c88769dd
JM
152842013-12-17 Joseph Myers <joseph@codesourcery.com>
15285
6432a540
JM
15286 [BZ #16314]
15287 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
15288 values below 2**-450, not 2**-500.
15289 * math/auto-libm-test-in: Don't allow spurious underflow from
15290 hypot.
15291 * math/auto-libm-test-out: Regenerated.
15292
c88769dd
JM
15293 [BZ #16316]
15294 [BZ #16330]
15295 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
15296 values of ha and hb and sort them after adjusting subnormal
15297 arguments.
15298 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15299 Likewise.
15300 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
15301 values of ea and eb and sort them after adjusting subnormal
15302 arguments.
15303 * math/auto-libm-test-in: Do not expect some hypot tests of
15304 subnormals to fail. Add more hypot tests.
15305 * math/auto-libm-test-out: Regenerated.
15306
29618f6b
KK
153072013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15308
15309 [BZ #13304]
15310 * sysdeps/sh/s_fma.c: New file.
15311 * sysdeps/sh/s_fmaf.c: New file.
15312 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
15313 version.
15314 * sysdeps/sh/Implies: Add sh/soft-fp.
15315
eacfdfbf
RM
153162013-12-16 Roland McGrath <roland@hack.frob.com>
15317
15318 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
15319 level of indirection to members `objname', `errstring', `malloced'.
15320 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
15321 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
15322 it as the __longjmp argument (just pass 1 instead).
15323 (_dl_catch_error): Initialize C with argument pointers and address of
15324 volatile local ERRCODE rather than copying values out of C at return.
15325
ff362e5b
JM
153262013-12-16 Joseph Myers <joseph@codesourcery.com>
15327
15328 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
15329 * math/auto-libm-test-out: Regenerated.
15330 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
15331 (hypot_test_data): Likewise.
15332 (pow_test_data): Likewise.
15333 (pow_tonearest_test_data): Likewise.
15334 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15335 mpfr_ff_f.
15336 (func_calc_desc): Add mpfr_ff_f union field.
15337 (FUNC_mpfr_ff_f): New macro.
15338 (test_functions): Add atan2, hypot and pow.
15339 (special_fill_min): New function.
15340 (special_fill_minus_min): Likewise.
15341 (special_fill_min_subnorm): Likewise.
15342 (special_fill_minus_min_subnorm): Likewise.
15343 (special_real_inputs): Add min, -min, min_subnorm and
15344 -min_subnorm.
15345 (calc_generic_results): Handle mpfr_ff_f.
15346 * sysdeps/i386/fpu/libm-test-ulps: Update.
15347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15348
5764c27f
WN
153492013-12-16 Will Newton <will.newton@linaro.org>
15350
15351 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
15352 (Aligned Memory Blocks): Add documentation for aligned_alloc
15353 and suggest it as an alternative to posix_memalign.
15354 (Hooks for Malloc): Document __memalign_hook is also called
15355 for aligned_alloc. (Summary of Malloc): Add summary for
15356 aligned alloc. Document __memalign_hook is also called
15357 for aligned_alloc.
15358
0a096e44
WN
153592013-12-16 Will Newton <will.newton@linaro.org>
15360
15361 * manual/memory.texi (Malloc Examples): Clarify default
15362 alignment documentation. Suggest posix_memalign rather
15363 than memalign or valloc.
15364 (Aligned Memory Blocks): Remove suggestion to use memalign
15365 or valloc. Remove obsolete comment about BSD.
15366 Document memalign errno values and mark the function obsolete.
15367 Document posix_memalign returned error codes. Mark valloc
15368 as obsolete. (Hooks for Malloc): __memalign_hook is also
15369 called for posix_memalign and valloc.
15370 (Summary of Malloc): Add posix_memalign to function summary.
15371 __memalign_hook is also called for posix_memalign and valloc.
15372
8d561986
SP
153732013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15374
15375 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
15376 TAYLOR_SIN.
15377 (__sin): Adjust.
15378 (__cos): Likewise.
15379 (sloww): Use mynumber union. Expand ternary operator into
15380 if-else statements.
15381 (cslow): use mynumber union.
15382
73616a74
AM
153832013-12-16 Allan McRae <allan@archlinux.org>
15384
9e8ac24b
AM
15385 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
15386 * configure: Regenerated.
15387
6f8e37eb
AM
15388 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
15389
8894bad3
AM
15390 [BZ #14120]
15391 * configure.ac: Added --enable-maintainer-mode. Check for
15392 autoconf when enabled.
15393 * configure: Regenerated.
15394
73616a74
AM
15395 * nscd/nscd.service: New file.
15396 * nscd/nscd.tmpfiles: New file.
15397
584b18eb
OB
153982013-12-14 Ondřej Bílka <neleai@seznam.cz>
15399
15400 [BZ #12100]
15401 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
15402 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
15403 * sysdeps/x86_64/multiarch/strstr.c: ... here.
15404 (strstr): Add __strstr_sse2_unaligned ifunc.
15405 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
15406 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
15407 (strcasestr): Remove __strcasestr_sse42 ifunc.
15408 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
15409 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15410 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15411
8a5c7897
KK
154122013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15413
15414 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
15415 * sysdeps/sh/bits/fenv.h: ... here.
15416 * sysdeps/sh/sh4/fpu/bits: Remove directory.
15417
fd712ef3
AZ
154182013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15419
15420 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
15421
42fcb46c
AZ
15422 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
15423 hypotf multiarch implementations.
15424 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
15425 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
15426 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
15427 multiarch hypot for PPC64.
15428 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
15429 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
15430 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
15431 multiarch hypotf for PPC64.
15432
83efded4
AZ
15433 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
15434 modff multiarch implementations.
15435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
15436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
15437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
15438 multiarch modf for PPC64.
15439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
15440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
15441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
15442 multiarch modff for PPC64.
15443
43e246d2
AZ
15444 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
15445 and logl multiarch implementations.
15446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
15447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
15448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
15449 multiarch logb for PPC64.
15450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
15451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
15452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
15453 multiarch logb for PPC64.
15454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
15455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
15456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
15457 multiarch logb for PPC64.
15458
8fdad123
AZ
15459 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
15460 isinff multiarch implementation.
15461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
15462 file.
15463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
15464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
15465 multiarch isinf for PPC64.
15466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
15467 file.
15468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
15469 multiarch isinff for PPC64.
15470
1481d706
AZ
15471 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
15472 finitef multiarch implementation.
15473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
15474 file.
15475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
15476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
15477 multiarch finite for PPC64.
15478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
15479 file.
15480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
15481 multiarch finitef for PPC64.
15482
5ccd5fc8
AZ
15483 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
15484 lrint multiarch implementation.
15485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
15486 file.
15487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
15488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
15489 multiarch llrint for PPC64.
15490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
15491 multiarch lrint for PPC64.
15492
2568f3fa
AZ
15493 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
15494 copysignf multiarch implementation.
15495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
15496 file.
15497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
15498 file.
15499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
15500 multiarch copysign for PPC64.
15501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
15502 multiarch copysignf for PPC64.
15503
1cb341fd
AZ
15504 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
15505 multiarch implementation.
15506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
15507 file.
15508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
15509 file.
15510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
15511 file.
15512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
15513 file.
15514 multiarch llround for PPC64.
15515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
15516 multiarch trunc for PPC64.
15517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
15518 multiarch truncf for PPC64.
15519
59a3e194
AZ
15520 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
15521 multiarch implementation.
15522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
15523 file.
15524 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
15525 file.
15526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
15527 file.
15528 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
15529 file.
15530 multiarch llround for PPC64.
15531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
15532 multiarch round for PPC64.
15533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
15534 multiarch roundf for PPC64.
15535
357fd3b4
AZ
15536 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
15537 multiarch implementation.
15538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
15539 file.
15540 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
15541 file.
15542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
15543 file.
15544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
15545 file.
15546 multiarch llround for PPC64.
15547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
15548 multiarch floor for PPC64.
15549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
15550 multiarch floorf for PPC64.
15551
96770f12
AZ
15552 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
15553 multiarch implementation.
15554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
15555 file.
15556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
15557 file.
15558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
15559 file.
15560 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
15561 file.
15562 multiarch llround for PPC64.
15563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
15564 multiarch ceil for PPC64.
15565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
15566 multiarch ceilf for PPC64.
15567
c3627f6e
AZ
15568 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15569 multiarch implementation.
15570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
15571 file.
15572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
15573 file.
15574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
15575 file.
15576 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
15577 multiarch llround for PPC64.
15578 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
15579 multiarch lround for PPC64.
15580
b2284ad7
AZ
15581 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15582 multiarch implementation.
15583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
15584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
15585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
15586 file.
15587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
15588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
15589 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
15590 multiarch isnan for PPC64.
15591 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
15592 multiarch isnanf for PPC64.
15593
69bbc63d
AZ
15594 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
15595 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
15596 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
15597 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
15598 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
15599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
15600
c24517c9
AZ
15601 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
15602 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15603 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15604 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15605
a52374e8
AZ
15606 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
15607 multiarch implementations.
15608 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15609 (__libc_ifunc_impl_list): Likewise.
15610 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
15611 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
15612 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
15613 multiarch stpcpy for PPC64.
15614
7f5ec113
AZ
15615 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
15616 multiarch implementations.
15617 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15618 (__libc_ifunc_impl_list): Likewise.
15619 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
15620 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
15621 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
15622 multiarch strcpy for PPC64.
15623
e28bcd42
AZ
15624 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
15625 redefine function name.
15626 (_wordcopy_fwd_dest_aligned): Likewise.
15627 (_wordcopy_bwd_aligned): Likewise.
15628 (_wordcopy_bwd_dest_aligned): Likewise.
15629 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
15630 multiarch implementations.
15631 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15632 (__libc_ifunc_impl_list): Likewise.
15633 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
15634 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
15635 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
15636 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
15637 multiarch wcscpy for PPC64.
15638
92cacfce
AZ
15639 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
15640 multiarch implementations.
15641 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15642 (__libc_ifunc_impl_list): Likewise.
15643 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
15644 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
15645 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
15646 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
15647 multiarch wcscpy for PPC64.
15648
7b714620
AZ
15649 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
15650 multiarch implementations.
15651 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15652 (__libc_ifunc_impl_list): Likewise.
15653 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
15654 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
15655 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
15656 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
15657 multiarch wcsrchr for PPC64.
15658
16fd2ae3
AZ
15659 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
15660 multiarch implementations.
15661 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15662 (__libc_ifunc_impl_list): Likewise.
15663 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
15664 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
15665 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
15666 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
15667 multiarch wcschr for PPC64.
15668
9ee2969b
AZ
15669 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
15670 multiarch implementations.
15671 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15672 (__libc_ifunc_impl_list): Likewise.
15673 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
15674 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
15675 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
15676 multiarch strchrnul for PPC64.
15677
372dc060
AZ
15678 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
15679 implementations.
15680 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15681 (__libc_ifunc_impl_list): Likewise.
15682 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
15683 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
15684 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
15685 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
15686 strchr for PPC64.
15687
24c2c3b9
AZ
15688 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
15689 implementations.
15690 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15691 (__libc_ifunc_impl_list): Likewise.
15692 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
15693 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
15694 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
15695 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
15696 strncmp for PPC64.
15697
1c92d9a0
AZ
15698 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
15699 multiarch implementations.
15700 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15701 (__libc_ifunc_impl_list): Likewise.
15702 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
15703 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
15704 strncasecmp for PPC64.
15705 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
15706 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
15707 multiarch strncasecmp_l for PPC64.
15708
17de3ee3
AZ
15709 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
15710 multiarch implementations.
15711 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15712 (__libc_ifunc_impl_list): Likewise.
15713 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
15714 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
15715 multiarch strcasecmp for PPC64.
15716 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
15717 file.
15718 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
15719 multiarch strcasecmp_l for PPC64.
15720
62982bf9
AZ
15721 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
15722 implementations.
15723 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15724 (__libc_ifunc_impl_list): Likewise.
15725 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
15726 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
15727 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
15728 strnlen for PPC64.
15729
a65f4904
AZ
15730 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
15731 implementations.
15732 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15733 (__libc_ifunc_impl_list): Likewise.
15734 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
15735 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
15736 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
15737 strlen for PPC64.
15738
1fd005ad
AZ
15739 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
15740 implementations.
15741 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15742 (__libc_ifunc_impl_list): Likewise.
15743 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
15744 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
15745 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
15746 rawmemrchr for PPC64.
15747
cd05ba91
AZ
15748 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
15749 implementation.
15750 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15751 (__libc_ifunc_impl_list): Likewise.
15752 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
15753 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
15754 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
15755 memrchr for PPC64.
15756
870f8676
AZ
15757 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
15758 implementation.
15759 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15760 (__libc_ifunc_impl_list): Likewise.
15761 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
15762 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
15763 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
15764 memchr for PPC64.
15765
f00be62b
AZ
15766 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
15767 implementation.
15768 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15769 (__libc_ifunc_impl_list): Likewise.
15770 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
15771 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
15772 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
15773 mempcpy for PPC64.
15774
8a29a3d0
AZ
15775 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
15776 avoid cretion of __bzero symbol.
15777 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
15778 Likewise.
15779 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
15780 Likewise.
15781 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
15782 Likewise.
15783 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
15784 multiarch implementations.
15785 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15786 (__libc_ifunc_impl_list): Likewise.
15787 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
15788 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
15789 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
15790 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
15791 bzero for PPC32.
15792 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
15793 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
15794 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
15795 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
15796 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
15797 memset for PPC64.
15798 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
15799
07253fcf
AZ
15800 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
15801 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
15802 implementations.
15803 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15804 (__libc_ifunc_impl_list): Likewise.
15805 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
15806 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
15807 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
15808 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
15809 memcmp for PPC64.
15810
b5beafbc
AZ
15811 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
15812 multiarch for POWER/PPC64.
15813 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15814 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
15815 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
15816 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
15817 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
15818 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
15819 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
15820 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
15821 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
15822 memcpy for PPC64.
15823
5e6a4d4b
AZ
15824 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
15825 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
15826 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
15827 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
15828 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
15829 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
15830 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
15831 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
15832 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
15833 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
15834 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
15835 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
15836 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
15837 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
15838 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
15839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
15840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
15841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
15842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
15843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
15844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
15845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
15846
ddfab6dc
KK
158472013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15848
15849 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
15850
19b5525e
SP
158512013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15852
15853 * benchtests/Makefile (bench): Add exp2 and log2.
15854 (LDLIBS-bench-exp2): Add -lm.
15855 (LDLIBS-bench-log2): Likewise.
15856 * benchtests/exp2-inputs: New inputs file.
15857 * benchtests/log2-inputs: New inputs file.
15858 * benchtests/log-inputs: Add new inputs.
15859 * benchtests/tan-inputs: Likewise.
15860
196f7f5d
SP
158612013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15862
7a74607f
SP
15863 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
15864 definition...
57f41c40
AS
15865 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
15866 (csloww2): ... from here.
7a74607f 15867
196f7f5d
SP
15868 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15869 instead of structures.
15870 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15871 (POLYNOMIAL): Likewise.
15872 (TAYLOR_SLOW): Likewise.
15873 (__sin): Likewise.
15874 (__cos): Likewise.
15875 (slow1): Likewise.
15876 (slow2): Likewise.
15877 (sloww): Likewise.
15878 (sloww1); Likewise.
15879 (sloww2): Likewise.
15880 (bsloww1): Likewise.
15881 (bsloww2): Likewise.
15882 (cslow2): Likewise.
15883 (csloww): Likewise.
15884 (csloww1): Likewise.
15885 (csloww2): Likewise.
15886
0dfa665c
OB
158872013-12-10 Ondřej Bílka <neleai@seznam.cz>
15888
15889 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
15890 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15891 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
15892 * malloc/hooks.c (realloc_check): Likewise.
15893
5782a80f
OB
15894 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15895 * malloc/arena.c: Remove PER_THREAD conditional.
15896 [!PER_THREAD]: Remove code.
15897 (ptmalloc_unlock_all2): Likewise.
15898 (ptmalloc_init): Likewise.
15899 (_int_new_arena): Likewise.
15900 (arena_get2): Likewise.
15901 * malloc/hooks.c (__malloc_get_state): Likewise.
15902 (__malloc_set_state): Likewise.
15903 * malloc/malloc.c: Likewise.
15904 (struct malloc_state): Likewise.
15905 (struct malloc_par): Likewise.
15906 (__libc_realloc): Likewise.
15907 (__libc_mallopt): Likewise.
15908
aeb95445
AZ
159092013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15910
15911 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15912
e8349efd
OB
159132013-12-09 Ondřej Bílka <neleai@seznam.cz>
15914
15915 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15916 macro to a function. Check for zero perturb_byte.
15917 (_int_malloc, _int_free): Remove zero perturb_byte checks.
15918
f3eeb3fc 15919 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
15920 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15921 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
15922 force_reg by atomic_forced_read.
15923 * malloc/arena.c (ptmalloc_init): Likewise.
15924 * malloc/hooks.c (top_check): Likewise.
15925
be2f9009
AZ
159262013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15927
15928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15929
e7b914bd
MT
159302013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
15931
15932 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15933
9f0be4f8
JM
159342013-12-08 Joseph Myers <joseph@codesourcery.com>
15935
15936 * math/auto-libm-test-in: Add tests of lgamma.
15937 * math/auto-libm-test-out: Regenerated.
15938 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15939 (M_LOG_2_SQRT_PIl): Likewise.
15940 (lgamma_test_data): Use AUTO_TESTS_f_f1.
15941 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15942 mpfr_f_f1.
15943 (func_calc_desc): Add mpfr_f_f1 union field.
15944 (ARGS1): New macro.
15945 (ARGS2): Likewise.
15946 (ARGS3): Likewise.
15947 (ARGS4): Likewise.
15948 (RET1): Likewise.
15949 (RET2): Likewise.
15950 (CALC): Likewise.
15951 (FUNC): Likewise.
15952 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15953 (test_functions): Add lgamma.
15954 (calc_generic_results): Handle mpfr_f_f1.
15955 * sysdeps/i386/fpu/libm-test-ulps: Update.
15956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15957
24eeafdb
AZ
159582013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15959
15960 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15961 __mpn_add_n for PowerPC64/POWER7.
15962 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
15963 __mpn_sub_n for PowerPC64/POWER7.
15964
4a2c0fd4
AZ
15965 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
15966 __mpn_addmul_1 for PowerPC64.
15967 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
15968 __mpn_submul_1 for PowerPC64.
15969 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
15970 for PowerPC64.
15971 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
15972 for PowerPC64.
15973
4b5b548c
FS
159742013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
15975
15976 [BZ #15089]
15977 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
15978
0a3ac0aa
AZ
159792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15980
15981 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
15982
ccdc8438
AZ
15983 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
15984 add multiarch folders.
15985 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
15986 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
15987 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
15988 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
15989 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
15990 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
15991 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
15992 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
15993 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
15994 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
15995 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
15996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
15997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
15998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
15999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
16000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
16001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
16002
2e973d99
AZ
16003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16004 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
16005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
16006 New file.
16007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
16008 New file.
16009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
16010 multiarch __ieee754_hypot for PowerPC32.
16011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
16012 New file.
16013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
16014 New file.
16015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
16016 multiarch __ieee754_hypotf for PowerPC32.
16017
2d9470b2
AZ
16018 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
16019 long_double_symbol only if __logbl is defined.
16020 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
16021 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
16022 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
16023 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
16024 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
16025 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
16026 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
16027 path for implementation.
16028 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
16029 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
16030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
16031 logb, and logbl multiarch implementations for PowerPC32.
16032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
16033 file.
16034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
16035 file.
16036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
16037 multiarch logb for PowerPC32.
16038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
16039 file.
16040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
16041 file.
16042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
16043 multiarch logbf for PowerPC32.
16044 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
16045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
16046 file.
16047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
16048 multiarch logbl implementation for PowerPC32.
16049
5212ffce
AZ
16050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
16051 and modff multiarch implementations.
16052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
16053 New file.
16054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
16055 New file.
16056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
16057 multiarch modf for PowerPC32.
16058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
16059 New file.
16060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
16061 New file.
16062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
16063 multiarch modff for PowerPC32.
16064
79dccf31
AZ
16065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
16066 and lrintf multiarch implementations.
16067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
16068 New file.
16069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
16070 New file.
16071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
16072 multiarch lrint for PowerPC32.
16073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
16074 file: multiarch lrintf for PowerPC32.
16075
deb66480
AZ
16076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
16077 and lroundf multiarch implementations.
16078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
16079 New file.
16080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
16081 New file.
16082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
16083 New file.
16084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
16085 multiarch lround for PowerPC32.
16086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
16087 file: multiarch lroundf for PowerPC32.
16088
264b036b
AZ
16089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16090 copysign and copysignf multiarch implementations.
16091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
16092 New file.
16093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
16094 New file.
16095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
16096 file: multiarch copysign for PowerPC32.
16097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
16098 file: multiarch copysignf for PowerPC32.
16099
d47db6c9
AZ
16100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
16101 and truncf multiarch implementations.
16102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
16103 New file.
16104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
16105 file.
16106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
16107 multiarch trunc for PowerPC32.
16108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
16109 New file.
16110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
16111 New file.
16112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
16113 multiarch truncf for PowerPC32.
16114
ddb60b5a
AZ
16115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
16116 and roundf multiarch implementations.
16117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
16118 New file.
16119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
16120 file.
16121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
16122 multiarch round for PowerPC32.
16123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
16124 New file.
16125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
16126 New file.
16127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
16128 multiarch roundf for PowerPC32.
16129
bedcf49b
AZ
16130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
16131 and floorf multiarch implementations.
16132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
16133 New file.
16134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
16135 file.
16136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
16137 multiarch floor for PowerPC32.
16138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
16139 New file.
16140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
16141 New file.
16142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
16143 multiarch floorf for PowerPC32.
16144
35ae5b40
AZ
16145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
16146 and ceilf multiarch implementations.
16147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
16148 New file.
16149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
16150 file.
16151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
16152 multiarch ceil for PowerPC32.
16153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
16154 New file.
16155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
16156 file.
16157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
16158 multiarch ceilf for PowerPC32.
16159
ae1a4cd9
AZ
16160 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
16161 is defined.
16162 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
16163 FINITEF is defined.
16164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
16165 and finitef multiarch implementations.
16166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
16167 New file.
16168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
16169 file.
16170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
16171 multiarch finite for PowerPC32.
16172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
16173 New file.
16174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
16175 file: multiarch finitef for PowerPC32.
16176
64fffd65
AZ
16177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
16178 and isinff multiarch implementations.
16179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
16180 file.
16181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
16182 file.
16183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
16184 multiarch isinf for PowerPC32.
16185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
16186 New file.
16187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
16188 multiarch isinff for PowerPC32.
16189
8e4e7ba2
AZ
16190 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
16191 alias when __isnan is defined.
16192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
16193 and isnanf multiarch implementations.
16194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
16195 file.
16196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
16197 file.
16198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
16199 file.
16200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
16201 file.
16202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
16203 multiarch isnan for PowerPC32.
16204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
16205 New file.
16206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
16207 New file.
16208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
16209 multiarch isnanf for PowerPC32.
16210
ddba588e
AZ
16211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
16212 and sqrtf multiarch implementations.
16213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
16214 file.
16215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
16216 file.
16217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
16218 multiarch sqrt for PowerPC32.
16219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
16220 file.
16221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
16222 file.
16223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
16224 multiarch sqrtf for PowerPC32.
16225
0f96a2f0
AZ
16226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
16227 and llroundf multiarch implementations.
16228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
16229 New file.
16230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
16231 New file.
16232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
16233 New file.
16234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
16235 file: multiarch llround for PowerPC32.
16236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
16237 file: multiarch llroundf for PowerPC32.
16238
c9b5d79e
AZ
16239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
16240 multiarch PowerPC32 fpu implementations.
16241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
16242 New file.
16243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
16244 New file.
16245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
16246 multiarch llrint for PowerPC32.
16247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
16248 New file.
16249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
16250 New file.
16251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
16252 file.
16253
9cbb3aab
AZ
16254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
16255
ea5a72f8
AZ
16256 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
16257 file.
16258 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
16259 file.
16260 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
16261 file.
16262 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
16263 multiarch wordcopy for PPC32.
16264 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16265 wordcopy objects.
16266 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16267 (__libc_ifunc_impl_list): Likewise.
16268 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
16269 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
16270 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
16271 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
16272 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
16273 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
16274
93be09e7
AZ
16275 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
16276 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
16277 file.
16278 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
16279 file.
16280 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
16281 file.
16282 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
16283 multiarch wcscpy for PPC32.
16284 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16285 multiarch objects.
16286 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16287 (__libc_ifunc_impl_list): Likewise.
16288 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16289 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16290 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
16291 sysdeps/powerpc/power6/wcscpy.c.
16292
bb04e529
AZ
16293 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
16294 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
16295 file.
16296 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
16297 file.
16298 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
16299 file.
16300 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
16301 multiarch wcsrchr for PPC32.
16302 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16303 multiarch objects.
16304 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16305 (__libc_ifunc_impl_list): Likewise.
16306 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16307 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16308 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
16309 sysdeps/powerpc/power6/wcsrchr.c.
16310
05b5cd1c
AZ
16311 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
16312 file.
16313 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
16314 file.
16315 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
16316 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
16317 multiarch wcschr for PPc32.
16318 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16319 multiarch objects.
16320 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16321 (__libc_ifunc_impl_list): Likewise.
16322 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
16323 * sysdeps/powerpc/power6/wcschr.c: ... to here.
16324 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
16325 sysdeps/powerpc/power6/wcschr.c.
16326
ba964147
AZ
16327 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
16328 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
16329 file.
16330 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
16331 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
16332 file: multiarch strchr for PPC32.
16333 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
16334 multiarch objects.
16335 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16336 (__libc_ifunc_impl_list): Likewise.
16337
31c81aaa
AZ
16338 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
16339 name.
16340 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
16341 file.
16342 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
16343 file.
16344 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
16345 multiarch strchrnul for PPC32.
16346 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
16347 multiarch objects.
16348 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16349 (__libc_ifunc_impl_list): Likewise.
16350
0d0607d9
AZ
16351 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
16352 file.
16353 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
16354 multiarch strncasecmp for PPC32.
16355 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
16356 file.
16357 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
16358 multiarch strncasecmp_l for PPC32.
16359 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
16360 strncasecmp multiarch objects.
16361 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16362 (__libc_ifunc_impl_list): Likewise.
16363
4dfd5c86
AZ
16364 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
16365 file.
16366 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
16367 multiarch strncasecmp for PPC32.
16368 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16369 New file.
16370 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
16371 multiarch strcasecmp_l for PPC32.
16372 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
16373 multiarch objects.
16374 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16375 (__libc_ifunc_impl_list): Likewise.
16376
a19e01a3
AZ
16377 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
16378 file.
16379 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
16380 file.
16381 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
16382 multiarch strncmp for PPC32.
16383 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
16384 multiarch objects.
16385 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16386 (__libc_ifunc_impl_list): Likewise.
16387
ae9cf7a2
AZ
16388 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
16389 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
16390 file.
16391 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
16392 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
16393 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
16394 multiarch objects.
16395 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16396 (__libc_ifunc_impl_list): Likewise.
16397
3148bb7d
AZ
16398 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
16399 file.
16400 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
16401 file.
16402 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
16403 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
16404 multiarch objects.
16405 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16406 (__libc_ifunc_impl_list): Likewise.
16407
7af8b946
AZ
16408 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
16409 file.
16410 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
16411 file.
16412 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
16413 multiarch rawmemchr for PPC32.
16414 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
16415 multiarch objects.
16416 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16417 (__libc_ifunc_impl_list): Likewise.
16418
03a6aa6a
AZ
16419 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
16420 file.
16421 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
16422 file.
16423 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
16424 file: memrchr multiarch for PPC32.
16425 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
16426 multiarch objects.
16427 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16428 (__libc_ifunc_impl_list): Likewise.
16429
1c62e6d9
AZ
16430 * string/memchr.c (__memchr): Using macro to redefine symbol name.
16431 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
16432 file.
16433 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
16434 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
16435 multiarch memchr for PPC32.
16436 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
16437 multiarch objects.
16438 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16439 (__libc_ifunc_impl_list): Likewise.
16440
87da8bdb
AZ
16441 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
16442 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
16443 file.
16444 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
16445 file.
16446 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
16447 file: multiarch mempcpy for PPC32.
16448 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
16449 multiarch objects.
16450 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16451 (__libc_ifunc_impl_list): Likewise.
16452
20ed4714
AZ
16453 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
16454 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
16455 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
16456 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
16457 multiarch bzero for PPC32.
16458 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
16459 file.
16460 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
16461 file.
16462 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
16463 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
16464 file: multiarch memset for PPC32.
16465 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
16466 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
16467 memset multiarch objects.
16468 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16469 (__libc_ifunc_impl_list): Likewise.
16470
ab3e3a46
AZ
16471 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
16472 file.
16473 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
16474 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
16475 memcmp for PPC32.
16476 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
16477 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
16478 multiarch objects.
16479 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16480 (__libc_ifunc_impl_list): Likewise.
16481
930de6f0
AZ
16482 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
16483 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
16484 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
16485 file.
16486 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
16487 file.
16488 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
16489 file.
16490 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
16491 multiarch memcpy for PPC32.
16492 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
16493 multiarch objects.
16494 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16495 (__libc_ifunc_impl_list): Likewise.
16496
4c628e00
AZ
16497 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
16498 support multiarch for POWER/PPC32.
16499 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
16500 Likewise.
16501 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
16502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
16503 Implies file to make multiarch folder appers before the fpu and
16504 default folder for power4 configuration.
16505
f4479220
SP
165062013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16507
16508 * scripts/bench.pl: Append volatile keyword to type.
16509
8517800f
KK
165102013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16511
16512 * sysdeps/sh/sotruss-lib.c: New file.
16513 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
16514
180138f1
AZ
165152013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16516
16517 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16518
bbf37bdc
JM
165192013-12-05 Joseph Myers <joseph@codesourcery.com>
16520
e47cc4e0
JM
16521 [BZ #6810]
16522 * math/w_tgamma.c: Include <errno.h>.
16523 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
16524 * math/w_tgammaf.c: Include <errno.h>.
16525 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
16526 * math/w_tgammal.c: Include <errno.h>.
16527 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
16528 * math/auto-libm-test-in: Do not allow missing errno on tgamma
16529 underflow. Add more tgamma tests.
16530 * math/auto-libm-test-out: Regenerated.
16531 * sysdeps/i386/fpu/libm-test-ulps: Update.
16532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16533
bbf37bdc
JM
16534 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
16535 sin, sinh, tan, tanh, tgamma, y0 and y1.
16536 * math/auto-libm-test-out: Regenerated.
16537 * math/libm-test.inc (TEST_COND_x86_64): New macro.
16538 (TEST_COND_x86): Likewise.
16539 (M_E2l): Remove macro.
16540 (M_E3l): Likewise.
16541 (M_2_SQRT_PIl): Likewise.
16542 (M_SQRT_PIl): Likewise.
16543 (M_1_DIV_El): Likewise.
16544 (log_test_data): Use AUTO_TESTS_f_f.
16545 (log10_test_data): Likewise.
16546 (log1p_test_data): Likewise.
16547 (log2_test_data): Likewise.
16548 (sin_test_data): Likewise.
16549 (sin_tonearest_test_data): Likewise.
16550 (sin_towardzero_test_data): Likewise.
16551 (sin_downward_test_data): Likewise.
16552 (sin_upward_test_data): Likewise.
16553 (sinh_test_data): Likewise.
16554 (sinh_tonearest_test_data): Likewise.
16555 (sinh_towardzero_test_data): Likewise.
16556 (sinh_downward_test_data): Likewise.
16557 (sinh_upward_test_data): Likewise.
16558 (tan_test_data): Likewise.
16559 (tan_tonearest_test_data): Likewise.
16560 (tan_towardzero_test_data): Likewise.
16561 (tan_downward_test_data): Likewise.
16562 (tan_upward_test_data): Likewise.
16563 (tanh_test_data): Likewise.
16564 (tgamma_test_data): Likewise.
16565 (y0_test_data): Likewise.
16566 (y1_test_data): Likewise.
16567 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
16568 (special_real_inputs): Add pi/4.
16569 * sysdeps/i386/fpu/libm-test-ulps: Update.
16570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16571
eb5ad6b9
AZ
165722013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16573
16574 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
16575 "longjmp_target" static probes.
16576 (__longjmp): Rename to __longjmp_symbol.
16577 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16578 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
16579 on which longjmp to generate.
16580 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16581 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
16582 probe.
16583 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16584 (__sigjmp_save): Rename to __sigjmp_save_symbol.
16585 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16586 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
16587 and __sigjmp_save_symbol based on which sigsetjmp to generated.
16588 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
16589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
16590 __longjmp_symbol based on which __longjmp to generate.
16591 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
16592 probe.
16593 (setjmp): Rename to setjmp_symbol.
16594 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16595 (_setjmp): Rename to _setjmp_symbol.
16596 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16597 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
16598 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
16599 which setjmp to generate.
16600 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
16601 "longjmp_target" static probes.
16602
d136c6dc
SP
166032013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16604
9298ecba
SP
16605 * benchtests/README: Add note about output arguments.
16606 * benchtests/bench-sincos.c: Remove file.
16607 * benchtests/sincos-inputs: New file.
16608 * scripts/bench.pl: Identify output arguments and define
16609 static variables for them.
16610
232983e9
SP
16611 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
16612
d136c6dc
SP
16613 [BZ #15941]
16614 * Makefile (INSTALL): Add install-plain.texi as the primary
16615 dependency.
16616 * manual/install-plain.texi: New file.
16617 * manual/install.texi: Include node directive only for
16618 non-plaintext output.
16619
699ff837
JM
166202013-12-04 Joseph Myers <joseph@codesourcery.com>
16621
ab07cea8
JM
16622 * stdlib/longlong.h: Update from GCC.
16623
699ff837
JM
16624 [BZ #6807]
16625 [BZ #15901]
16626 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
16627 * math/w_j0f.c (y0f): Likewise.
16628 * math/w_j0l.c (__y0l): Likewise.
16629 * math/w_j1.c (y1): Likewise.
16630 * math/w_j1f.c (y1f): Likewise.
16631 * math/w_j1l.c (__y1l): Likewise
16632 * math/w_jn.c (yn): Likewise.
16633 * math/w_jnf.c (ynf): Likewise.
16634 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
16635 Bessel function pole errors in _POSIX_ mode. Use NAN as return
16636 value for Bessel function domain errors outside _SVID_ mode.
16637 Adjust sign of return value for yn (negative integer, 0).
16638 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
16639 by zero in return for negative x and set sign appropriately for
16640 negative n.
16641 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
16642 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16643 * math/libm-test.inc (y0_test_data): Add more tests and adjust
16644 expectations in error cases.
16645 (y1_test_data): Likewise.
16646 (yn_test_data): Likewise.
16647 * sysdeps/i386/fpu/libm-test-ulps: Update.
16648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16649
5b118558
UW
166502013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16651
16652 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
16653 "64" to "64-v1". Add "64-v2".
16654 (abi-64-options): Rename to ...
16655 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
16656 (abi-64-condition): Rename to ...
16657 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
16658 (abi-64-ld-soname): Rename to ...
16659 (abi-64-v1-ld-soname): ... this.
16660 (abi-64-v2-options): Define.
16661 (abi-64-v2-condition): Likewise.
16662 (abi-64-v2-ld-soname): Likewise.
16663 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
16664 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
16665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
16666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
16667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
16668
61cd8fe4
UW
166692013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16670 Alan Modra <amodra@gmail.com>
16671
16672 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
16673 New versions for use with the ELFv2 ABI.
16674 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
16675 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
16676 declaration.
16677 (struct La_ppc64v2_retval): Likewise.
16678 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
16679 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
16680 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
16681 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
16682 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
16683 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16684 Do not save or restore CR.
16685 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
16686 (_dl_profile_resolve): Do no save or restore CR. Support extended
16687 return values for ELFv2 ABI. Fix location of FPR return registers.
16688 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
16689 updated values for _CALL_ELF == 2.
16690 (La_regs, La_retval, int_retval): Likewise.
16691
8b8a692c
UW
166922013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16693
16694 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
16695 (FRAME_MIN_SIZE_PARM): Likewise.
16696 (FRAME_BACKCHAIN): Likewise.
16697 (FRAME_CR_SAVE): Likewise.
16698 (FRAME_LR_SAVE): Likewise.
16699 (FRAME_TOC_SAVE): Likewise.
16700 (FRAME_PARM_SAVE): Likewise.
16701 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
16702 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
16703 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16704 (call_mcount_parm_offset): New macro.
16705 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
16706 (PROF): Use symbolic stack frame offsets.
16707 (TAIL_CALL_SYSCALL_ERROR): Likewise.
16708 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
16709 Redefine in terms of FRAME_MIN_SIZE.
16710 (_dl_runtime_resolve): Use symbolic stack frame offsets.
16711 (_dl_profile_resolve): Likewise. Update comment.
16712 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
16713 symbols stack frame offsets.
16714 (__sigsetjmp): Likewise.
16715 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
16716 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
16717 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
16718 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
16719
16720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
16721 (FRAME_BACKCHAIN): Remove.
16722 (FRAME_CR_SAVE): Likewise.
16723 (FRAME_LR_SAVE): Likewise.
16724 (FRAME_COMPILER_DW): Likewise.
16725 (FRAME_LINKER_DW): Likewise.
16726 (FRAME_TOC_SAVE): Likewise.
16727 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
16728 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
16729 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
16730 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
16731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
16732 (CHECK_SP): Use symbolic stack frame offsets.
16733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
16734 zone" instead of caller's parameter save area for temp storage.
16735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16736 Likewise. Also, use symbolic stack frame offsets.
16737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
16738 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
16739 our own stack frame instead of the caller's.
16740 (__socket): Use symbolic stack frame offsets.
16741
122b66de
UW
167422013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16743 Alan Modra <amodra@gmail.com>
16744
16745 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
16746 Define.
57f41c40
AS
16747 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
16748 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
16749 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
16750 New function.
16751 (elf_machine_fixup_plt): Call it.
16752 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
16753 reloc arguments.
16754 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
16755 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16756 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
16757 r2 before calling target.
16758
696caf1d
UW
167592013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16760 Alan Modra <amodra@gmail.com>
16761
16762 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
16763 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
16764 versions of macros to support ELFv2 ABI.
16765 (LOCALENTRY): New macro.
16766 (ENTRY, EALIGN): Use it.
16767 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
16768 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
16769 fall through into ENTRY entry point.
16770 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
16771 Only define if _CALL_ELF != 2.
16772
16773 (elf_machine_matches_host): Verify ABI version matches.
16774 (RTLD_START): Use LOCALENTRY.
16775 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
16776 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
16777 (PLT_ENTRY_WORDS): New macro.
16778 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
16779 (elf_machine_runtime_setup): Support ELFv2 ABI.
16780 (elf_machine_fixup_plt): Likewise.
16781 (elf_machine_plt_conflict): Likewise.
16782 (resolve_ifunc): Likewise.
16783 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16784 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16785 Likewise.
16786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
16787 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
16788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16789 (makecontext): Support ELFv2 ABI.
16790 * elf/elf.h (EF_PPC64_ABI): Define.
16791
d31beafa
UW
167922013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16793
57f41c40
AS
16794 * sysdeps/powerpc/powerpc64/sysdep.h
16795 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
16796 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
16797 (ENTRY) [ASSEMBLER]: ... but instead here ...
16798 (EALIGN) [ASSEMBLER]: ... and here.
16799 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
16800 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
16801 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
16802 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
16803 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
16804 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16805 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
16806 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
16807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
16808 Use PPC64_LOAD_FUNCPTR.
16809
b525166b
UW
16810 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
16811
7ec07d9a
AM
168122013-12-04 Alan Modra <amodra@gmail.com>
16813
16814 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
16815 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
16816 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
16817 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
16818
16819 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
16820 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
16821 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
16822 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
16823 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
16824 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
16825
5162e7dd
UW
168262013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16827
16828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16829 (__makecontext): Fix incorrect CFI when backtracing out of
16830 context created via makecontext.
16831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
16832 (__setcontext): Fix incorrect CFI during switch to new context.
16833 (__novec_setcontext): Likewise.
16834
19e3372b
OB
168352013-12-04 Ondřej Bílka <neleai@seznam.cz>
16836
16837 [BZ #4772]
16838 * time/strptime_l.c (__strptime_internal): Allow modifiers
16839 in strptime.
16840 * time/tst-strptime.c (day_tests): Add testcase.
16841
ecaf142d
SP
168422013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16843
16844 * scripts/bench.pl: Skip over blank lines.
16845
fbf964ae
PE
168462013-12-04 Paul Eggert <eggert@cs.ucla.edu>
16847
16848 [BZ #926]
16849 * manual/time.texi (Calendar Time): Clarify what timezone functions
16850 use.
16851
fa60a674
AZ
168522013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16853
16854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16855
d674f0ef
OB
168562013-12-04 Ondřej Bílka <neleai@seznam.cz>
16857
16858 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
16859 implementation.
16860 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16861 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16862 * debug/memset_chk.c (__memset_chk): Likewise.
16863 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
16864 * debug/strncpy_chk.c: Likewise.
16865
17dea188
JM
168662013-12-03 Joseph Myers <joseph@codesourcery.com>
16867
749008ff
JM
16868 [BZ #15268]
16869 [BZ #15425]
16870 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16871 (__ieee754_exp): For possibly underflowing results, check size of
16872 result and force underflow exception if required.
16873 * math/auto-libm-test-in: Add more tests of exp.
16874 * math/auto-libm-test-out: Regenerated.
16875 * sysdeps/i386/fpu/libm-test-ulps: Update.
16876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16877
17dea188
JM
16878 [BZ #16283]
16879 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16880 * math/w_exp2f.c (__exp2f): Likewise.
16881 * math/w_exp2l.c (__exp2l): Likewise.
16882 * math/auto-libm-test-in: Do not allow missing errno on exp2
16883 underflow.
16884 * math/auto-libm-test-out: Regenerated.
16885
b20de2c3
OB
168862013-12-03 Ondřej Bílka <neleai@seznam.cz>
16887
16888 [BZ #16274]
16889 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16890 handle filename validation.
16891 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16892 (do_open): Delete.
16893
d8e2dbe3
JM
168942013-12-03 Joseph Myers <joseph@codesourcery.com>
16895
34e16df5
JM
16896 [BZ #6786]
16897 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16898 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16899 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16900 <float.h>.
16901 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16902 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16903 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16904 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16905 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16906 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16907 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16908 * math/auto-libm-test-in: Don't allow missing errno from erfc.
16909 Add more erfc tests.
16910 * math/auto-libm-test-out: Regenerated.
16911 * sysdeps/i386/fpu/libm-test-ulps: Update.
16912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16913
d8e2dbe3
JM
16914 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16915 exp2, expm1, j0 and j1.
16916 * math/auto-libm-test-out: Regenerated.
16917 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16918 (erfc_test_data): Likewise.
16919 (exp_test_data): Likewise.
16920 (exp_tonearest_test_data): Likewise.
16921 (exp_towardzero_test_data): Likewise.
16922 (exp_downward_test_data): Likewise.
16923 (exp_upward_test_data): Likewise.
16924 (exp10_test_data): Likewise.
16925 (exp2_test_data): Likewise.
16926 (expm1_test_data): Likewise.
16927 (j0_test_data): Likewise.
16928 (j1_test_data): Likewise.
16929 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16930 (input_flag_type): Add flag_xfail_rounding.
16931 (input_flags): Add xfail-rounding.
16932 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16933 (output_for_one_input_case): Handle flag_xfail_rounding.
16934 * sysdeps/i386/fpu/libm-test-ulps: Update.
16935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16936
18d14251
AJ
169372013-12-03 Aurelien Jarno <aurelien@aurel32.net>
16938
3d2e6075 16939 [BZ #16289]
18d14251
AJ
16940 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16941 division by 0.
16942
520d437b
SP
169432013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16944
16945 [BZ #16195]
16946 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16947 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16948 (STAP_PROBE0): New macro.
16949 (STAP_PROBE1): Likewise.
16950 (STAP_PROBE2): Likewise.
16951 (STAP_PROBE3): Likewise.
16952 (STAP_PROBE4): Likewise.
16953
416e0145
OB
169542013-12-02 Ondřej Bílka <neleai@seznam.cz>
16955
16956 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16957
9d17796a
SE
169582013-12-02 Steve Ellcey <sellcey@mips.com>
16959
16960 * benchtests/Makefile (bench): Add sqrt.
16961 (LDLIBS-bench-sqrt): New.
16962 * benchtests/sqrt-input: New.
16963
f524d6a8
PS
169642013-12-02 Pavel Simerda <psimerda@redhat.com>
16965
639a0ef8
PS
16966 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
16967 (GAIH_EAI): Likewise.
16968 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
16969 (gaih_inet): Likewise.
16970 (getaddrinfo): Don't use GAIH_EAI.
16971
f524d6a8
PS
16972 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
16973 (struct gaih): Remove definition.
16974
df3aedaf
SP
169752013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16976
16977 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
16978 Use HERRNOP directly.
16979
1ab19dec
AZ
169802013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16981
b42ad38d 16982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 16983
176b0c79
JM
169842013-11-30 Joseph Myers <joseph@codesourcery.com>
16985
16986 * math/gen-auto-libm-tests.c (test_functions): Add more
16987 single-argument functions.
16988 (special_fill_pi_2): New function.
16989 (special_fill_minus_pi_2): Likewise.
16990 (special_fill_pi_6): Likewise.
16991 (special_fill_minus_pi_6): Likewise.
16992 (special_fill_pi_3): Likewise.
16993 (special_fill_2pi_3): Likewise.
16994 (special_fill_e): Likewise.
16995 (special_fill_1_e): Likewise.
16996 (special_fill_e_minus_1): Likewise.
16997 (special_real_inputs): Add more special inputs.
16998 (output_for_one_input_case): Do not require ERANGE on underflow to
16999 zero if round-to-nearest result does not underflow to zero, unless
17000 exact results required.
17001 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
17002 atan, atanh, cbrt, cos and cosh.
17003 * math/auto-libm-test-out: Regenerated.
17004 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
17005 (acos_tonearest_test_data): Likewise.
17006 (acos_towardzero_test_data): Likewise.
17007 (acos_downward_test_data): Likewise.
17008 (acos_upward_test_data): Likewise.
17009 (acosh_test_data): Likewise.
17010 (asin_test_data): Likewise.
17011 (asin_tonearest_test_data): Likewise.
17012 (asin_towardzero_test_data): Likewise.
17013 (asin_upward_test_data): Likewise.
17014 (asinh_test_data): Likewise.
17015 (atan_test_data): Likewise.
17016 (atanh_test_data): Likewise.
17017 (cbrt_test_data): Likewise.
17018 (cos_test_data): Likewise.
17019 (cos_tonearest_test_data): Likewise.
17020 (cos_towardzero_test_data): Likewise.
17021 (cos_downward_test_data): Likewise.
17022 (cos_upward_test_data): Likewise.
17023 (cosh_test_data): Likewise.
17024 (cosh_tonearest_test_data): Likewise.
17025 (cosh_towardzero_test_data): Likewise.
17026 (cosh_downward_test_data): Likewise.
17027 (cosh_upward_test_data): Likewise.
17028 * sysdeps/i386/fpu/libm-test-ulps: Update.
17029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17030
ffb536d0
JM
170312013-11-29 Joseph Myers <joseph@codesourcery.com>
17032
2a77a467
JM
17033 [BZ #6787]
17034 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
17035 * math/w_exp10f.c (__exp10f): Likewise.
17036 * math/w_exp10l.c (__exp10l): Likewise.
17037 * math/libm-test.inc (exp10_test_data): Add more tests and expect
17038 errno settings in existing tests.
17039
ea3bc4e8
JM
17040 [BZ #14032]
17041 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
17042 precision control set to double precision.
17043 * sysdeps/i386/fpu/w_sqrt.c: New file.
17044 * math/auto-libm-test-in: Add more tests.
17045 * math/auto-libm-test-out: Update.
17046
0712c9d8
JM
17047 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
17048 (sqrt_test_tonearest): New function.
17049 (sqrt_towardzero_test_data): New variable.
17050 (sqrt_test_towardzero): New function.
17051 (sqrt_downward_test_data): New variable.
17052 (sqrt_test_downward): New function.
17053 (sqrt_upward_test_data): New variable.
17054 (sqrt_test_upward): New function.
17055 (main): Call the new functions.
17056
ffb536d0
JM
17057 * math/gen-auto-libm-tests.c: New file.
17058 * math/auto-libm-test-in: Likewise.
17059 * math/auto-libm-test-out: New generated file.
17060 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
17061 variables.
17062 (%beautify): Add generated representations of zero.
17063 (top level): Set $auto_input and call parse_auto_input.
17064 (beautify): Remove trailing "f" from hex float constants.
17065 (parse_args): Handle XFAIL_TEST.
17066 (convert_condition): New function.
17067 (or_value): Likewise.
17068 (or_cond_value): Likewise.
17069 (generate_testfile): Handle AUTO_TESTS_* lines.
17070 (parse_auto_input): New function.
17071 * math/libm-test.inc (XFAIL_TEST): New macro.
17072 (ERRNO_UNCHANGED): Update value.
17073 (ERRNO_EDOM): Likewise.
17074 (ERRNO_ERANGE): Likewise.
17075 (IGNORE_RESULT): Likewise.
17076 (TEST_COND_flt_32): New macro.
17077 (TEST_COND_dbl_64): Likewise.
17078 (TEST_COND_ldbl_96_intel): Likewise.
17079 (TEST_COND_ldbl_96_m68k): Likewise.
17080 (TEST_COND_ldbl_128): Likewise.
17081 (TEST_COND_ldbl_128ibm): Likewise.
17082 (TEST_COND_long32): Likewise.
17083 (TEST_COND_long64): Likewise.
17084 (TEST_COND_before_rounding): Likewise.
17085 (TEST_COND_after_rounding): Likewise.
17086 (enable_test): Handle XFAIL_TEST flag.
17087 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
17088 with finite results.
17089 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
17090 auto-libm-test-out.
17091
acd98a8e
AK
170922013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17093 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17094
17095 [BZ #16214]
17096 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
17097 __tls_get_addr_internal instead of __tls_get_offset in order to
17098 avoid GOT pointer dependency. Make rtld export
17099 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
17100 __tls_get_addr since we are a __tls_get_offset platform.
17101 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
17102 GOT pointer being set up before.
17103 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
17104
3c1c46a6
JM
171052013-11-28 Joseph Myers <joseph@codesourcery.com>
17106
7475aef5
JM
17107 * manual/math.texi (Errors in Math Functions): Document accuracy
17108 goals.
17109
8bca7cd8
JM
17110 [BZ #15004]
17111 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
17112 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
17113 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17114 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17115 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17116 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17117 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17118 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17119 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17120 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17121 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17122 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17123 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17124 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17125 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17126 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17127
91a1f3fe
JM
17128 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
17129 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
17130 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
17131 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
17132 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
17133 Likewise.
17134 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
17135 Likewise.
17136 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
17137 Likewise.
17138 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
17139 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
17140 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
17141 atomic-feupdateenv and flt-rounds.
17142 * sysdeps/powerpc/nofpu/Versions (libc): Add
17143 __atomic_feholdexcept, __atomic_feclearexcept,
17144 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
17145 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
17146 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
17147 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
17148 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
17149 here.
17150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17151 Update.
17152
c5df7609
JM
17153 * manual/arith.texi (FP Exceptions): Document that exceptions may
17154 not be raised when matherr is used.
17155 (Math Error Reporting): Document overflow in directed rounding
17156 modes. Document that errno may not be set when finite values are
17157 returned on overflow. Document intent to set errno on underflow
17158 only for underflow to zero.
17159
3c1c46a6
JM
17160 [BZ #16271]
17161 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
17162 round-to-nearest then adjust result for other rounding modes.
17163 * include/fenv.h (fegetround): Use libm_hidden_proto.
17164 * math/fegetround.c (fegetround): Use libm_hidden_def.
17165 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
17166 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
17167 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17168 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
17169 Likewise.
17170 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
17171 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17172 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
17173 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
17174
5a4c6d53
SP
171752013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17176
17177 [BZ #16077]
17178 * nss/Versions (libnss_files): Add
17179 _nss_files_gethostbyname3_r.
17180 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
17181 New function.
17182 (HOST_DB_LOOKUP): Remove macro.
17183 (_nss_files_gethostbyname_r): Implement function without the
17184 HOST_DB_LOOKUP macro.
17185 (_nss_files_gethostbyname2_r): Likewise.
17186
897b98ba
OB
171872013-11-28 Ondřej Bílka <neleai@seznam.cz>
17188
17189 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
17190
6f476861
UB
171912013-11-26 Uros Bizjak <ubizjak@gmail.com>
17192
17193 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
17194 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
17195 warning.
17196
bd12ab55
AZ
171972013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17198
17199 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
17200 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
17201 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17202 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17203 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
17204 __fe_nomask_env_priv and attribute_hidden.
17205 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
17206 (libc_feupdateenv_test_ppc): Likewise.
17207 (libc_feresetround_ppc): Likewise.
17208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17209 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
17210 compat_symbol macro.
17211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17212 (__fe_nomask_env): Likewise.
17213 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
17214
52bb6543
OB
172152013-11-26 Ondřej Bílka <neleai@seznam.cz>
17216
17217 * string/Makefile: Remove ifunc tests.
17218 * string/test-string.h: Define TEST_IFUNC.
17219 * string/test-bcopy-ifunc.c: Remove.
17220 * string/test-bzero-ifunc.c: Likewise.
17221 * string/test-memccpy-ifunc.c: Likewise.
17222 * string/test-memchr-ifunc.c: Likewise.
17223 * string/test-memcmp-ifunc.c: Likewise.
17224 * string/test-memcpy-ifunc.c: Likewise.
17225 * string/test-memmem-ifunc.c: Likewise.
17226 * string/test-memmove-ifunc.c: Likewise.
17227 * string/test-mempcpy-ifunc.c: Likewise.
17228 * string/test-memrchr-ifunc.c: Likewise.
17229 * string/test-memset-ifunc.c: Likewise.
17230 * string/test-rawmemchr-ifunc.c: Likewise.
17231 * string/test-stpcpy-ifunc.c: Likewise.
17232 * string/test-stpncpy-ifunc.c: Likewise.
17233 * string/test-strcasecmp-ifunc.c: Likewise.
17234 * string/test-strcasestr-ifunc.c: Likewise.
17235 * string/test-strcat-ifunc.c: Likewise.
17236 * string/test-strchr-ifunc.c: Likewise.
17237 * string/test-strchrnul-ifunc.c: Likewise.
17238 * string/test-strcmp-ifunc.c: Likewise.
17239 * string/test-strcpy-ifunc.c: Likewise.
17240 * string/test-strcspn-ifunc.c: Likewise.
17241 * string/test-strlen-ifunc.c: Likewise.
17242 * string/test-strncasecmp-ifunc.c: Likewise.
17243 * string/test-strncat-ifunc.c: Likewise.
17244 * string/test-strncmp-ifunc.c: Likewise.
17245 * string/test-strncpy-ifunc.c: Likewise.
17246 * string/test-strnlen-ifunc.c: Likewise.
17247 * string/test-strpbrk-ifunc.c: Likewise.
17248 * string/test-strrchr-ifunc.c: Likewise.
17249 * string/test-strspn-ifunc.c: Likewise.
17250 * string/test-strstr-ifunc.c: Likewise.
17251
ab260039 172522013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
17253
17254 * benchtests/Makefile: Remove ifunc tests.
17255 * benchtests/bench-string.h: Define TEST_IFUNC.
17256 * benchtests/bench-bcopy-ifunc.c: Remove.
17257 * benchtests/bench-bzero-ifunc.c: Likewise.
17258 * benchtests/bench-memccpy-ifunc.c: Likewise.
17259 * benchtests/bench-memchr-ifunc.c: Likewise.
17260 * benchtests/bench-memcmp-ifunc.c: Likewise.
17261 * benchtests/bench-memcpy-ifunc.c: Likewise.
17262 * benchtests/bench-memmem-ifunc.c: Likewise.
17263 * benchtests/bench-memmove-ifunc.c: Likewise.
17264 * benchtests/bench-mempcpy-ifunc.c: Likewise.
17265 * benchtests/bench-memrchr-ifunc.c: Likewise.
17266 * benchtests/bench-memset-ifunc.c: Likewise.
17267 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
17268 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
17269 * benchtests/bench-stpcpy-ifunc.c: Likewise.
17270 * benchtests/bench-stpncpy-ifunc.c: Likewise.
17271 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
17272 * benchtests/bench-strcasestr-ifunc.c: Likewise.
17273 * benchtests/bench-strcat-ifunc.c: Likewise.
17274 * benchtests/bench-strchr-ifunc.c: Likewise.
17275 * benchtests/bench-strchrnul-ifunc.c: Likewise.
17276 * benchtests/bench-strcmp-ifunc.c: Likewise.
17277 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
17278 * benchtests/bench-strcpy-ifunc.c: Likewise.
17279 * benchtests/bench-strcspn-ifunc.c: Likewise.
17280 * benchtests/bench-strlen-ifunc.c: Likewise.
17281 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
17282 * benchtests/bench-strncat-ifunc.c: Likewise.
17283 * benchtests/bench-strncmp-ifunc.c: Likewise.
17284 * benchtests/bench-strncpy-ifunc.c: Likewise.
17285 * benchtests/bench-strnlen-ifunc.c: Likewise.
17286 * benchtests/bench-strpbrk-ifunc.c: Likewise.
17287 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 17288 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
17289 * benchtests/bench-strspn-ifunc.c: Likewise.
17290 * benchtests/bench-strstr-ifunc.c: Likewise.
17291
172922013-11-26 Ondřej Bílka <neleai@seznam.cz>
17293
ab260039
OB
17294 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
17295
d1d9eaf4 172962013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 17297
d1d9eaf4
OB
17298 * resolv/netdb.h: Use __glibc_reserved instead __unused.
17299 * rt/aio.h: Likewise.
17300 * sysdeps/gnu/bits/utmp.h: Likewise.
17301 * sysdeps/gnu/bits/utmpx.h: Likewise.
17302 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
17303 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
17304 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
17305 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
17306 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
17307 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
17308 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
17309 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
17310 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
17311 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
17312 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
17313 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
17314 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
17315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
17316 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17317 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
17318 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
17319 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
17320 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
17321 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
17322 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
17323 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
17324 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
17325 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17326 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
17327 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17328 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
17329 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
17330 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
17331 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
17332 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
17333 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
17334 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
17335 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17336 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
17337 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
17338 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
17339 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
17340 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
17341 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
17342 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
17343 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17344
a7624ed9
CD
173452013-11-25 Carlos O'Donell <carlos@redhat.com>
17346
17347 [BZ #16245]
17348 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
17349 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
17350
63cfe52b
JM
173512013-11-25 Joseph Myers <joseph@codesourcery.com>
17352
17353 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
17354 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17355 Likewise.
17356
41e8926a
AZ
173572013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17358
17359 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
17360 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
17361 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
17362 (__fesetround): Remove define.
17363 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
17364 rounding and exceptions handling.
17365 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
17366 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
17367 (__fe_nomask_env): Likewise.
17368 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
17369 __fegetround instead of fegetround.
17370 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17371 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
17372
6851bd4d
RM
173732013-11-21 Roland McGrath <roland@hack.frob.com>
17374
070906ff
RM
17375 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
17376 it's there.
17377
6851bd4d
RM
17378 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
17379
84ae135d
MI
173802013-11-21 Meador Inge <meadori@codesourcery.com>
17381
17382 [BZ #11157]
17383 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
17384 (encrypt_r): Likewise.
17385 * malloc/obstack.h (obstack_free): Likewise.
17386 * posix/unistd.h (encrypt): Likewise.
17387
daf75146
GM
173882013-11-21 Guy Martin <gmsoft@tuxicoman.be>
17389
17390 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
17391 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
17392 DL_CALL_DT_FINI() that call the functions directly.
17393 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
17394 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
17395 * elf/dl-fini.c: Likewise.
17396
10ad46bc
OB
173972013-11-20 Ondřej Bílka <neleai@seznam.cz>
17398
17399 * malloc/hooks.c (memalign_check): Add alignment rounding.
17400 * malloc/malloc.c (_mid_memalign): New function.
17401 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
17402 Implement by calling _mid_memalign.
17403 * manual/probes.texi (Memory Allocation Probes): Remove
17404 memory_valloc_retry and memory_pvalloc_retry.
17405
f3fd2628
SP
174062013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17407
4712799f
SP
17408 * locale/programs/locarchive.c (open_archive): Add const
17409 qualifier to ARCHIVEFNAME and copy default fname to
17410 DEFAULT_FNAME.
17411
0417b20f
SP
17412 [BZ #15601]
17413 * libio/tst-widetext.input: Rename Oriya to Odia.
17414 * locale/iso-639.def: Likewise.
17415
f3fd2628
SP
17416 * manual/probes.texi (Mathematical Function Probes): Add
17417 documentation for sin, cos, asin and acos probes.
17418 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
17419 (__sin32): Add slowasin probe.
17420 (__cos32): Add slowacos probe.
17421 (__mpsin): Add slowsin probe.
17422 (__mpcos): Add slowcos probe.
17423
73c1ce4f
JM
174242013-11-19 Joseph Myers <joseph@codesourcery.com>
17425
17426 [BZ #15483]
17427 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
17428 thread-local __sim_exceptions_thread and global
17429 __sim_exceptions_global.
17430 (__sim_disabled_exceptions): Change to thread-local
17431 __sim_disabled_exceptions_thread and global
17432 __sim_disabled_exceptions_global.
17433 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17434 and global __sim_round_mode_global.
17435 (__simulate_exceptions): Use thread-local floating-point state and
17436 set global state from it as needed.
17437 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
17438 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
17439 __sim_round_mode_thread.
17440 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
17441 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
17442 and global __sim_exceptions_global.
17443 (__sim_disabled_exceptions): Change to thread-local
17444 __sim_disabled_exceptions_thread and global
17445 __sim_disabled_exceptions_global.
17446 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17447 and global __sim_round_mode_global.
17448 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
17449 (SIM_SET_GLOBAL): Likewise.
17450 * sysdeps/powerpc/soft-fp/sfp-machine.h
17451 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
17452 __sim_round_mode_thread.
17453 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
17454 __sim_disabled_exceptions_thread.
17455 (__sim_exceptions): Change to __sim_exceptions_thread.
17456 (__sim_disabled_exceptions): Change to
17457 __sim_disabled_exceptions_thread.
17458 (__sim_round_mode): Change to __sim_round_mode_thread.
17459 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
17460 thread-local floating-point state and set global state from it as
17461 needed.
17462 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
17463 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
17464 (__sim_disabled_exceptions): Remove extern declaration.
17465 (feenableexcept): Use thread-local floating-point state and set
17466 global state from it as needed.
17467 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
17468 extern declaration.
17469 (__sim_disabled_exceptions): Likewise.
17470 (__sim_round_mode): Likewise.
17471 (__fegetenv): Use thread-local floating-point state.
17472 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
17473 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17474 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
17475 floating-point state and set global state from it as needed.
17476 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
17477 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17478 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
17479 Likewise.
17480 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
17481 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
17482 Likewise.
17483 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
17484 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
17485 Use __sim_round_mode_thread.
17486 * math/test-fenv-tls.c: New file.
17487 * math/Makefile (tests): Add test-fenv-tls.
17488 ($(objpfx)test-fenv-tls): Depend on
17489 $(common-objpfx)nptl/libpthread.so.
17490
b5449b12
AS
174912013-11-19 Andreas Schwab <schwab@suse.de>
17492
17493 * locale/programs/locale.c (show_info): Decode wordarray elements.
17494 * locale/categories.def (LC_MONETARY): Add element for
17495 _NL_MONETARY_CRNCYSTR.
17496 * locale/C-monetary.c (conversion_rate): New variable.
17497 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
17498 element.
17499
e186536b
CM
175002013-11-18 Chris Metcalf <cmetcalf@tilera.com>
17501
17502 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
17503 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
17504
5c349950
PP
175052013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
17506
17507 * elf/Makefile (tst-auxv): New test.
17508 * elf/tst-auxv.c: New
17509 * elf/rtld.c (dl_main): Adjust AT_EXECFN
17510
699df45b
JM
175112013-11-18 Joseph Myers <joseph@codesourcery.com>
17512
17513 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
17514 (hidden_proto): Caller changed.
17515 (hidden_tls_proto): New macro.
17516 (libc_hidden_tls_proto): Likewise.
17517 (rtld_hidden_tls_proto): Likewise.
17518 (libm_hidden_tls_proto): Likewise.
17519 (libresolv_hidden_tls_proto): Likewise.
17520 (librt_hidden_tls_proto): Likewise.
17521 (libdl_hidden_tls_proto): Likewise.
17522 (libnss_files_hidden_tls_proto): Likewise.
17523 (libnsl_hidden_tls_proto): Likewise.
17524 (libnss_nisplus_hidden_tls_proto): Likewise.
17525 (libutil_hidden_tls_proto): Likewise.
17526
b7589107
OB
175272013-11-18 Ondřej Bílka <neleai@seznam.cz>
17528
17529 [BZ #10253]
17530 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
17531 (decompose_rpath): Defer expansion to fillin_rpath.
17532 (_dl_init_paths): Pass linkmap to fillin_rpath.
17533
250c23bd
RS
175342013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17535
17536 * benchtests/Makefile: Add strsep.
17537 * benchtests/bench-strsep.c: New file: strsep benchtest.
17538 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
17539
a7931fcf
AS
175402013-11-18 Andreas Schwab <schwab@suse.de>
17541
17542 * locale/programs/locale.c (show_info) [case byte]: Check for
17543 '\377' instead of '\177'.
17544 * locale/C-monetary.c (not_available): Always use "\377".
17545 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
17546 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
17547 detect unavailable sign_posn locale elements.
17548 * locale/localeconv.c (__localeconv): For grouping and
17549 mon_grouping handle "\177" and "\377" like no grouping.
17550 (INT_ELEM): New macro. Use it to set all numeric members.
17551 * locale/programs/ld-monetary.c (monetary_read)
17552 <tok_mon_grouping>: Normalize single -1 to the empty string.
17553 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
17554 Likewise.
17555
728dab0e
OB
175562013-11-07 Ondřej Bílka <neleai@seznam.cz>
17557
17558 [BZ #16055]
17559 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
17560 when we match (nil).
17561 * stdio-common/tst-sscanf.c (struct test): Add testcase.
17562
66294491
JM
175632013-11-16 Joseph Myers <joseph@codesourcery.com>
17564
ce665817
JM
17565 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
17566 (NO_TEST_INLINE): Update value.
17567 (ERRNO_UNCHANGED): Likewise.
17568 (ERRNO_EDOM): Likewise.
17569 (ERRNO_ERANGE): Likewise.
17570 (IGNORE_RESULT): Likewise.
17571 (check_float_internal): Check signs of NaN results if
17572 TEST_NAN_SIGN used.
17573 (check_complex): Pass TEST_NAN_SIGN flag through to second
17574 check_float_internal call.
17575 (copysign_test_data): Add tests with quiet NaNs as second
17576 argument. Use TEST_NAN_SIGN.
17577 (fabs_test_data): Add test of negative quiet NaN argument. Use
17578 TEST_NAN_SIGN.
17579 (signbit_test_data): Add tests of quiet NaN argument.
17580 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
17581
ee1466a9
JM
17582 * math/gen-libm-test.pl (show_exceptions): Take extra argument
17583 $ignore_result.
17584 (parse_args): Handle function results specified as IGNORE.
17585 * math/libm-test.inc (IGNORE_RESULT): New macro.
17586 (check_float_internal): Do not check numerical result if flag
17587 IGNORE_RESULT set.
17588 (check_complex): Pass through IGNORE_RESULT to second
17589 check_float_internal call.
17590 (check_int): Do not check numerical result if flag IGNORE_RESULT
17591 set.
17592 (check_long): Likewise.
17593 (check_bool): Likewise.
17594 (check_longlong): Likewise.
17595 (lrint_test_data): Add tests of infinite and NaN arguments.
17596 (lrint_tonearest_test_data): Likewise.
17597 (lrint_towardzero_test_data): Likewise.
17598 (lrint_downward_test_data): Likewise.
17599 (lrint_upward_test_data): Likewise.
17600 (llrint_test_data): Likewise.
17601 (llrint_tonearest_test_data): Likewise.
17602 (llrint_towardzero_test_data): Likewise.
17603 (llrint_downward_test_data): Likewise.
17604 (llrint_upward_test_data): Likewise.
17605 (lround_test_data): Likewise.
17606 (llround_test_data): Likewise.
17607
14407b7e
JM
17608 * math/libm-test.inc (NO_TEST_INLINE): New macro.
17609 (ERRNO_UNCHANGED): Update value.
17610 (ERRNO_EDOM): Likewise.
17611 (ERRNO_ERANGE): Likewise.
17612 (NO_TEST_INLINE_FLOAT): New macro.
17613 (NO_TEST_INLINE_DOUBLE): Likewise.
17614 (enable_test): New function.
17615 (RUN_TEST_f_f): Check enable_test before running test.
17616 (RUN_TEST_2_f): Likewise.
17617 (RUN_TEST_fff_f): Likewise.
17618 (RUN_TEST_c_f): Likewise.
17619 (RUN_TEST_f_f1): Likewise.
17620 (RUN_TEST_fF_f1): Likewise.
17621 (RUN_TEST_fI_f1): Likewise.
17622 (RUN_TEST_ffI_f1): Likewise.
17623 (RUN_TEST_c_c): Likewise.
17624 (RUN_TEST_cc_c): Likewise.
17625 (RUN_TEST_f_i): Likewise.
17626 (RUN_TEST_f_i_tg): Likewise.
17627 (RUN_TEST_ff_i_tg): Likewise.
17628 (RUN_TEST_f_b): Likewise.
17629 (RUN_TEST_f_b_tg): Likewise.
17630 (RUN_TEST_f_l): Likewise.
17631 (RUN_TEST_f_L): Likewise.
17632 (RUN_TEST_fFF_11): Likewise.
17633 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
17634 conditionals.
17635 (cosh_test_data): Likewise.
17636 (exp_test_data): Likewise.
17637 (expm1_test_data): Likewise.
17638 (hypot_test_data): Likewise.
17639 (pow_test_data): Likewise.
17640 (sinh_test_data): Likewise.
17641 (tanh_test_data): Likewise.
17642 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
17643 flags argument.
17644
ca07f197
JM
17645 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
17646 tests with quiet NaN input and output.
17647 (acosh_test_data): Likewise.
17648 (asin_test_data): Likewise.
17649 (asinh_test_data): Likewise.
17650 (atan_test_data): Likewise.
17651 (atanh_test_data): Likewise.
17652 (atan2_test_data): Likewise.
17653 (cbrt_test_data): Likewise.
17654 (cos_test_data): Likewise.
17655 (cosh_test_data): Likewise.
17656 (erf_test_data): Likewise.
17657 (erfc_test_data): Likewise.
17658 (exp_test_data): Likewise.
17659 (exp10_test_data): Likewise.
17660 (exp2_test_data): Likewise.
17661 (expm1_test_data): Likewise.
17662 (hypot_test_data): Likewise.
17663 (j0_test_data): Likewise.
17664 (j1_test_data): Likewise.
17665 (jn_test_data): Likewise.
17666 (lgamma_test_data): Likewise.
17667 (log_test_data): Likewise.
17668 (log10_test_data): Likewise.
17669 (log1p_test_data): Likewise.
17670 (log2_test_data): Likewise.
17671 (pow_test_data): Likewise.
17672 (scalb_test_data): Likewise.
17673 (sin_test_data): Likewise.
17674 (sincos_test_data): Likewise.
17675 (sinh_test_data): Likewise.
17676 (tan_test_data): Likewise.
17677 (tanh_test_data): Likewise.
17678 (tgamma_test_data): Likewise.
17679 (y0_test_data): Likewise.
17680 (y1_test_data): Likewise.
17681 (yn_test_data): Likewise.
17682
66294491
JM
17683 [BZ #16167]
17684 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
17685 argument being NaN and avoid computations with second argument in
17686 that case.
17687 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17688 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17689 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17690
1820b143
CL
176912013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
17692
17693 * locale/iso-639.def: Add Chitwani Tharu (the).
17694
714bd261
AS
176952013-11-14 Andreas Schwab <schwab@suse.de>
17696
17697 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
17698 word instead of empty string.
17699
7ab44563
AZ
177002013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17701
17702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17703 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
17704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17705 (__fe_nomask_env): Likewise.
17706
e8470ea2
SE
177072013-11-13 Steve Ellcey <sellcey@mips.com>
17708
17709 * benchtests/bench-timing.h: Include time.h.
17710
17c1d9f0
L
177112013-11-13 H.J. Lu <hongjiu.lu@intel.com>
17712
17713 [BZ #15997]
17714 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
17715 to 3.4.0 for x32.
17716 * sysdeps/unix/sysv/linux/configure: Regenerated.
17717
9310c284
JM
177182013-11-13 Joseph Myers <joseph@codesourcery.com>
17719
17720 [BZ #16151]
17721 * stdlib/strtod_l.c (round_and_return): Do not consider
17722 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
17723 exponent one less than half the least subnormal exponent.
17724 * stdlib/test-strtod-round-data: Add more tests.
17725 * stdlib/tst-strtod-round.c (tests): Regenerated.
17726
7a2ad8cf
AZ
177272013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17728
17729 [BZ #14143]
17730 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
17731 (__fe_mask_env): Likewise.
17732 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
17733 libm_hidden_proto and add function prototype.
17734 (__fe_mask_env): Add function prototype.
17735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17736 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
17737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17738 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
17739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17740 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
17741
50727aa7
MS
177422013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17743
b2f386c1 17744 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
17745 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
17746
a615be46
MS
177472013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17748
17749 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
17750 of htab_find_slot().
17751
7ddace62
DM
177522013-11-11 David S. Miller <davem@davemloft.net>
17753
17754 [BZ #16150]
17755 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
17756 symbol in the non-vis3 case in static builds.
17757 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
17758 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
17759 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
17760 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
17761
9182aa67
JK
177622013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17763
17764 [BZ #387]
17765 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
17766 it is empty.
17767
450a2e2d
AZ
177682013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17769
b2f386c1
SP
17770 * benchtests/Makefile: Add bench-strtod.
17771 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 17772
8ec3f656
AS
177732013-11-11 Andreas Schwab <schwab@suse.de>
17774
17775 [BZ #16153]
17776 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
17777 terminating NUL in key length.
17778
76a9b998
AZ
177792013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17780
17781 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17782 Add artificial ODP entry for vDSO symbol for PPC64.
17783 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
17784 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17785
e4368156
OB
177862013-11-07 Ondřej Bílka <neleai@seznam.cz>
17787
17788 [BZ #15374]
17789 * nss/getent.c (services_keys): Recognize services starting with digit.
17790
8d6bb57c
DM
177912013-11-06 David S. Miller <davem@davemloft.net>
17792
17793 [BZ #15985]
17794 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
17795 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
17796
e256c421
WN
177972013-11-06 Will Newton <will.newton@linaro.org>
17798
17799 * manual/memory.texi (Malloc Examples): Remove register
17800 keyword from examples.
17801
f6e12daa 178022013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 17803
f6e12daa 17804 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 17805
9d880655
AS
178062013-11-04 Joseph Myers <joseph@codesourcery.com>
17807
fd2f9486 17808 [BZ #6981]
9d880655
AS
17809 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
17810 depending on [__GCC_IEC_559 > 0].
17811 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
17812 depending on [__GCC_IEC_559_COMPLEX > 0].
17813
ae129d3c
CL
178142013-11-03 Chris Leonard <cjl@sugarlabs.org>
17815
17816 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
17817 to iso-639.def.
17818
4a15c2a4 178192013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
17820
17821 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
17822
8b35e35d
OB
178232013-11-01 Ondřej Bílka <neleai@seznam.cz>
17824
17825 [BZ #16112]
17826 * malloc/malloc (malloc_info): Do not handle first bin as
17827 special case.
17828
1d70fd6c
CL
178292013-11-01 Chris Leonard <cjl@sugarlabs.org>
17830
17831 * locale/iso-639.def: Add Central Nahuatl (nhn).
17832
8c5c2600
BH
178332013-11-01 Bruno Haible <bruno@clisp.org>
17834
17835 [BZ #7003]
17836 * manual/math.texi (BSD Random): Specify range upper bound as
17837 in POSIX.
17838
da5579c2
CL
178392013-10-31 Chris Leonard <cjl@sugarlabs.org>
17840
17841 * locale/iso-639.def: Add Meadow Mari (mhr).
17842
5d30d853
OB
178432013-10-31 Ondřej Bílka <neleai@seznam.cz>
17844
17845 [BZ #14752], [BZ #15763]
17846 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
17847 Validate name.
17848 * rt/tst_shm.c: Add test for escaping directory.
17849
a4966c61
AS
178502013-10-31 Andreas Schwab <schwab@suse.de>
17851
8a43e768 17852 [BZ #15917]
a4966c61
AS
17853 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
17854 followed by 'x' as part of digit sequence.
17855 * stdio-common/tst-sscanf.c (double_tests2): New tests.
17856
28d708c4
MAP
178572013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
17858
17859 [BZ #16037]
17860 * configure.ac: allow GNU Make 4.0 and greater.
17861 * configure: Regenerated.
17862
a56ee40b
WN
178632013-10-30 Will Newton <will.newton@linaro.org>
17864
17865 [BZ #16038]
17866 * malloc/hooks.c (memalign_check): Limit alignment to the
17867 maximum representable power of two.
17868 * malloc/malloc.c (__libc_memalign): Likewise.
17869 * malloc/tst-memalign.c (do_test): Add test for very
17870 large alignment values.
17871 * malloc/tst-posix_memalign.c (do_test): Likewise.
17872
c6e4925d
OB
178732013-10-30 Ondřej Bílka <neleai@seznam.cz>
17874
17875 [BZ #11087]
17876 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17877 (munmap_chunk): Likewise.
17878 (mremap_chunk): Likewise.
17879
178802013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 17881
8a43e768 17882 [BZ #15799]
bbea82f7
OB
17883 * stdlib/div.c (div): Remove obsolete code.
17884 * stdlib/ldiv.c (ldiv): Likewise.
17885 * stdlib/lldiv.c (lldiv): Likewise.
17886
977f4b31
SP
178872013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17888
17889 [BZ #16071]
17890 * nss/nss_files/files-XXX.c (get_contents_ret): New
17891 enumerator.
17892 (get_contents): New function.
17893 (internal_getent): Use it. Expand size of LINEBUFLEN.
17894
cb8a6dbd
MF
178952013-10-30 Mike Frysinger <vapier@gentoo.org>
17896
17897 * configure.in: Moved to ...
17898 * configure.ac: ... here. Change reference to configure.in
17899 to configure.ac.
17900 * sysdeps/arm/preconfigure.ac: ... here.
17901 configure.in to configure.ac.
17902 * sysdeps/gnu/configure.in: Moved to ...
17903 * sysdeps/gnu/configure.ac: ... here.
17904 * sysdeps/i386/configure.in: Moved to ...
17905 * sysdeps/i386/configure.ac: ... here.
17906 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17907 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17908 * sysdeps/mach/configure.in: Moved to ...
17909 * sysdeps/mach/configure.ac: ... here.
17910 * sysdeps/mach/hurd/configure.in: Moved to ...
17911 * sysdeps/mach/hurd/configure.ac: ... here.
17912 * sysdeps/powerpc/configure.in: Moved to ...
17913 * sysdeps/powerpc/configure.ac: ... here.
17914 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17915 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17916 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17917 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17918 * sysdeps/s390/s390-32/configure.in: Moved to ...
17919 * sysdeps/s390/s390-32/configure.ac: ... here.
17920 * sysdeps/s390/s390-64/configure.in: Moved to ...
17921 * sysdeps/s390/s390-64/configure.ac: ... here.
17922 * sysdeps/sh/configure.in: Moved to ...
17923 * sysdeps/sh/configure.ac: ... here.
17924 * sysdeps/sparc/configure.in: Moved to ...
17925 * sysdeps/sparc/configure.ac: ... here.
17926 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17927 * sysdeps/unix/sysv/linux/configure.ac: ... here.
17928 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17929 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17930 * sysdeps/x86_64/configure.in: Moved to ...
17931 * sysdeps/x86_64/configure.ac: ... here.
17932 * sysdeps/x86_64/preconfigure.in: Moved to ...
17933 * sysdeps/x86_64/preconfigure.ac: ... here.
17934 * aclocal.m4: Change reference to configure.in to configure.ac.
17935 * config.h.in: Likewise.
17936 * manual/install.texi: Likewise.
17937 * manual/maint.texi: Likewise.
17938 * Makefile: Likewise.
17939 * malloc/Makefile: Likewise.
17940 * nscd/Makefile: Likewise.
17941 * Makeconfig: Change reference to configure.in and
17942 preconfigure.in to configure.ac and preconfigure.ac
17943 respectively.
17944 * INSTALL: Regenerated.
17945 * configure: Likewise.
17946 * sysdeps/gnu/configure: Likewise.
17947 * sysdeps/i386/configure: Likewise.
17948 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17949 * sysdeps/mach/configure: Likewise.
17950 * sysdeps/mach/hurd/configure: Likewise.
17951 * sysdeps/powerpc/configure: Likewise.
17952 * sysdeps/powerpc/powerpc32/configure: Likewise.
17953 * sysdeps/powerpc/powerpc64/configure: Likewise.
17954 * sysdeps/s390/s390-32/configure: Likewise.
17955 * sysdeps/s390/s390-64/configure: Likewise.
17956 * sysdeps/sh/configure: Likewise.
17957 * sysdeps/sparc/configure: Likewise.
17958 * sysdeps/unix/sysv/linux/configure: Likewise.
17959 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17960 * sysdeps/x86_64/configure: Likewise.
17961 * sysdeps/x86_64/preconfigure: Likewise.
17962
36a4953a
AS
179632013-10-29 Andreas Schwab <schwab@suse.de>
17964
17965 * stdio-common/Makefile (tst-swscanf-ENV): Define.
17966
c79a1204
SP
179672013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17968
dfa1b402
SP
17969 * benchtests/pow-inputs: Add new inputs.
17970
54f73d9c
SP
17971 * benchtests/exp-inputs: Add new inputs.
17972
c79a1204
SP
17973 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
17974 conditional check for return value.
17975 (__cos32): Likewise.
17976
67beb545 179772013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
17978
17979 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
17980 to provide a boost for large inputs with word alignment.
17981 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
17982 implementation based on optimized PPC64 strcpy.
17983 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
17984 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
17985 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
17986 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
17987
151659f6
OB
179882013-10-25 Ondřej Bílka <neleai@seznam.cz>
17989
482a077e 17990 [BZ #2801]
151659f6
OB
17991 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
17992
10b0f26b
OB
179932013-10-25 Ondřej Bílka <neleai@seznam.cz>
17994
17995 [BZ #14876]
17996 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
17997 * time/tst-strptime.c (day_tests): Add testcase.
17998
ca42d35e
OB
179992013-10-25 Ondřej Bílka <neleai@seznam.cz>
18000
482a077e 18001 [BZ #14029]
ca42d35e
OB
18002 * manual/pattern.texi: Acknowledge that fnmatch can fail.
18003
52e6d801
FB
180042013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
18005
18006 [BZ #16074]
18007 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
18008 MAP_FAILED on error.
18009
7cbcdb36
SP
180102013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18011
18012 [BZ #16072]
18013 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
18014 heap for large requests.
18015
894f3f10
AM
180162013-10-25 Aurelien Jarno <aurelien@aurel32.net>
18017
18018 [BZ #9954]
18019 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
18020 result if the result has no associated interface.
18021 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
18022 interface for all 127.X.Y.Z addresses.
18023
b85545a6
CL
180242013-10-24 Chris Leonard <cjl@sugarlabs.org>
18025
18026 * locale/iso-639.def: Add Ligurian (lij)
18027
d1f23d46
OB
180282013-10-21 Ondřej Bílka <neleai@seznam.cz>
18029
18030 [BZ #15825]
18031 * sunrpc/rpc_main.c: Document rpcgen -5.
18032
4db5b08f
MS
180332013-10-19 Michael Stahl <mstahl@redhat.com>
18034
18035 * elf/rtld.c (do_preload): Print the reason why preloading failed.
18036
a471e96a
OB
180372013-10-19 Ondřej Bílka <neleai@seznam.cz>
18038
d1f23d46 18039 [BZ #10278]
a471e96a
OB
18040 * posix/glob.c: Match only directories when trailing slash is present.
18041 * posix/tst-gnuglob.c (my_opendir): Do not open files.
18042 (main): Add testcase.
18043
45c30c61
OB
180442013-10-19 Ondřej Bílka <neleai@seznam.cz>
18045
18046 [BZ #15670]
18047 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
18048
484c12fb
CD
180492013-10-18 Carlos O'Donell <carlos@redhat.com>
18050
3d7dc513
CD
18051 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
18052 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
18053 AUTH_DES and cindex for FIPS 140-2.
18054 (DES Encryption): Add cindex FIPS 46-3.
18055
484c12fb
CD
18056 * locale/locarchive.h (struct locarhandle): Add fname.
18057 * locale/programs/localedef.c (main): Pass ARGV[remaining]
18058 if an optional argument was specified to --list-archive,
18059 otherwise NULL.
18060 * locale/programs/locarchive.c (show_archive_content): Take new
18061 argument fname and pass it via ah.fname to open_archive.
18062 * locale/programs/localedef.h: Update decl.
18063 (open_archive): If AH->fname is non-null, open that file
18064 rather than the default file name, and don't ignore ENOENT.
18065 (create_archive): Set AH.fname to NULL.
18066 (delete_locales_from_archive): Likewise.
18067 (add_locales_to_archive): Likewise.
18068 * locale/programs/locfile.c (write_all_categories): Likewise.
18069
3c8325fb
JM
180702013-10-18 Joseph Myers <joseph@codesourcery.com>
18071 Aldy Hernandez <aldyh@redhat.com>
18072
18073 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
18074 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
18075 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
18076 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
18077 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
18078 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
18079 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
18080 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
18081 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
18082 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
18083 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
18084 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
18085 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
18086 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
18087 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
18088 Likewise.
18089 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
18090 Likewise.
18091 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
18092 Likewise.
18093 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
18094 Likewise.
18095 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
18096 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
18097 Likewise.
18098 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
18099 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
18100 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
18101 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
18102 Likewise.
18103 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
18104 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
18105 * sysdeps/powerpc/preconfigure: Likewise.
18106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
18107 Likewise.
18108 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
18109 Replace contents of file by #include of <fenv_libc.h>.
18110 * sysdeps/powerpc/soft-fp/sfp-machine.h
18111 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
18112 and <sys/prctl.h>.
18113 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
18114 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
18115 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
18116 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
18117 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
18118 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
18119 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
18120 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
18121 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
18122 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
18123 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
18124 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
18125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18126 Allow copysignl PLT reference to be missing.
18127
5abe0682
RS
181282013-10-18 Richard Sandiford <richard@codesourcery.com>
18129 Joseph Myers <joseph@codesourcery.com
18130
18131 [BZ #15948]
18132 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
18133 single character.
18134 (add_to_tablewc): Assert sequence of wide characters is nonempty.
18135
c7738d08
SP
181362013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18137
18138 * elf/tst-tls-dlinfo.c: Don't include tls.h.
18139 * elf/tst-tls1.c: Likewise.
18140 * elf/tst-tls10.h: Likewise.
18141 * elf/tst-tls14.c: Likewise.
18142 * elf/tst-tls2.c: Likewise.
18143 * elf/tst-tls3.c: Likewise.
18144 * elf/tst-tls4.c: Likewise.
18145 * elf/tst-tls5.c: Likewise.
18146 * elf/tst-tls6.c: Likewise.
18147 * elf/tst-tls7.c: Likewise.
18148 * elf/tst-tls8.c: Likewise.
18149 * elf/tst-tls9.c: Likewise.
18150 * elf/tst-tlsmod1.c: Likewise.
18151 * elf/tst-tlsmod13.c: Likewise.
18152 * elf/tst-tlsmod13a.c: Likewise.
18153 * elf/tst-tlsmod14a.c: Likewise.
18154 * elf/tst-tlsmod16a.c: Likewise.
18155 * elf/tst-tlsmod16b.c: Likewise.
18156 * elf/tst-tlsmod2.c: Likewise.
18157 * elf/tst-tlsmod3.c: Likewise.
18158 * elf/tst-tlsmod4.c: Likewise.
18159 * elf/tst-tlsmod5.c: Likewise.
18160 * elf/tst-tlsmod6.c: Likewise.
18161
0bfcf2c7
OB
181622013-10-18 Ondřej Bílka <neleai@seznam.cz>
18163
18164 [BZ #12486]
18165 * malloc/malloc.c: remove checks for statistics.
18166
264aad1e
OB
181672013-10-17 Ondřej Bílka <neleai@seznam.cz>
18168
18169 [BZ #15277]
18170 * inet/inet_net.c (inet_network): Detect additional invalid strings.
18171 * inet/tst-network.c: Add testcase.
18172
b957ced8
AS
181732013-10-17 Andreas Schwab <schwab@suse.de>
18174
18175 [BZ #15218]
18176 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
18177 to determine canonical name.
18178
c5d5d574
OB
181792013-10-17 Ondřej Bílka <neleai@seznam.cz>
18180
18181 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
18182 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
18183 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18184 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18185 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18186 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18187 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18188 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18189 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18190 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18191 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18192 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18193 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18194 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18195 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18196 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18197 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18198 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18199 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18200 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18201 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18202 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18203 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18204 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
18205 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
18206 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18207 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18208 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
18209 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18210 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
18211 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18212 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18213 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18214 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18215 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18216 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18217 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18218 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18219 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18220 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18221 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18222 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18223 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18224 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18225 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18226 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18227 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18228 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18229 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18230 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18231 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18232 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18233 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18234 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18235 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18236 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18237 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18238 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18239
e5c2c2d0
JM
182402013-10-17 Joseph Myers <joseph@codesourcery.com>
18241
18242 [BZ #16041]
18243 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
18244 make result into a quiet NaN.
18245
51ca9e29
JM
182462013-10-16 Joseph Myers <joseph@codesourcery.com>
18247
18248 * soft-fp/adddf3.c: Fix horizontal whitespace.
18249 * soft-fp/addsf3.c: Likewise.
18250 * soft-fp/addtf3.c: Likewise.
18251 * soft-fp/divdf3.c: Likewise.
18252 * soft-fp/divsf3.c: Likewise.
18253 * soft-fp/divtf3.c: Likewise.
18254 * soft-fp/double.h: Likewise.
18255 * soft-fp/eqdf2.c: Likewise.
18256 * soft-fp/eqsf2.c: Likewise.
18257 * soft-fp/eqtf2.c: Likewise.
18258 * soft-fp/extenddftf2.c: Likewise.
18259 * soft-fp/extended.h: Likewise.
18260 * soft-fp/extendsfdf2.c: Likewise.
18261 * soft-fp/extendsftf2.c: Likewise.
18262 * soft-fp/extendxftf2.c: Likewise.
18263 * soft-fp/fixdfdi.c: Likewise.
18264 * soft-fp/fixdfsi.c: Likewise.
18265 * soft-fp/fixdfti.c: Likewise.
18266 * soft-fp/fixsfdi.c: Likewise.
18267 * soft-fp/fixsfsi.c: Likewise.
18268 * soft-fp/fixsfti.c: Likewise.
18269 * soft-fp/fixtfdi.c: Likewise.
18270 * soft-fp/fixtfsi.c: Likewise.
18271 * soft-fp/fixtfti.c: Likewise.
18272 * soft-fp/fixunsdfdi.c: Likewise.
18273 * soft-fp/fixunsdfsi.c: Likewise.
18274 * soft-fp/fixunsdfti.c: Likewise.
18275 * soft-fp/fixunssfdi.c: Likewise.
18276 * soft-fp/fixunssfsi.c: Likewise.
18277 * soft-fp/fixunssfti.c: Likewise.
18278 * soft-fp/fixunstfdi.c: Likewise.
18279 * soft-fp/fixunstfsi.c: Likewise.
18280 * soft-fp/fixunstfti.c: Likewise.
18281 * soft-fp/floatdidf.c: Likewise.
18282 * soft-fp/floatdisf.c: Likewise.
18283 * soft-fp/floatditf.c: Likewise.
18284 * soft-fp/floatsidf.c: Likewise.
18285 * soft-fp/floatsisf.c: Likewise.
18286 * soft-fp/floatsitf.c: Likewise.
18287 * soft-fp/floattidf.c: Likewise.
18288 * soft-fp/floattisf.c: Likewise.
18289 * soft-fp/floattitf.c: Likewise.
18290 * soft-fp/floatundidf.c: Likewise.
18291 * soft-fp/floatundisf.c: Likewise.
18292 * soft-fp/floatunditf.c: Likewise.
18293 * soft-fp/floatunsidf.c: Likewise.
18294 * soft-fp/floatunsisf.c: Likewise.
18295 * soft-fp/floatunsitf.c: Likewise.
18296 * soft-fp/floatuntidf.c: Likewise.
18297 * soft-fp/floatuntisf.c: Likewise.
18298 * soft-fp/floatuntitf.c: Likewise.
18299 * soft-fp/fmadf4.c: Likewise.
18300 * soft-fp/fmasf4.c: Likewise.
18301 * soft-fp/fmatf4.c: Likewise.
18302 * soft-fp/gedf2.c: Likewise.
18303 * soft-fp/gesf2.c: Likewise.
18304 * soft-fp/getf2.c: Likewise.
18305 * soft-fp/ledf2.c: Likewise.
18306 * soft-fp/lesf2.c: Likewise.
18307 * soft-fp/letf2.c: Likewise.
18308 * soft-fp/muldf3.c: Likewise.
18309 * soft-fp/mulsf3.c: Likewise.
18310 * soft-fp/multf3.c: Likewise.
18311 * soft-fp/negdf2.c: Likewise.
18312 * soft-fp/negsf2.c: Likewise.
18313 * soft-fp/negtf2.c: Likewise.
18314 * soft-fp/op-1.h: Likewise.
18315 * soft-fp/op-2.h: Likewise.
18316 * soft-fp/op-4.h: Likewise.
18317 * soft-fp/op-8.h: Likewise.
18318 * soft-fp/op-common.h: Likewise.
18319 * soft-fp/quad.h: Likewise.
18320 * soft-fp/single.h: Likewise.
18321 * soft-fp/soft-fp.h: Likewise.
18322 * soft-fp/sqrtdf2.c: Likewise.
18323 * soft-fp/sqrtsf2.c: Likewise.
18324 * soft-fp/sqrttf2.c: Likewise.
18325 * soft-fp/subdf3.c: Likewise.
18326 * soft-fp/subsf3.c: Likewise.
18327 * soft-fp/subtf3.c: Likewise.
18328 * soft-fp/truncdfsf2.c: Likewise.
18329 * soft-fp/trunctfdf2.c: Likewise.
18330 * soft-fp/trunctfsf2.c: Likewise.
18331 * soft-fp/trunctfxf2.c: Likewise.
18332 * soft-fp/unorddf2.c: Likewise.
18333 * soft-fp/unordsf2.c: Likewise.
18334 * soft-fp/unordtf2.c: Likewise.
18335
9ebb0332
JM
183362013-10-15 Joseph Myers <joseph@codesourcery.com>
18337
18338 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
18339 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
18340
4b1a6d8b
OB
183412013-10-15 Ondřej Bílka <neleai@seznam.cz>
18342
18343 * elf/dl-libc.c: Clear initfini list after freeing.
18344
1e145589
JM
183452013-10-14 Joseph Myers <joseph@codesourcery.com>
18346
18347 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
18348 * soft-fp/addsf3.c: Likewise.
18349 * soft-fp/addtf3.c: Likewise.
18350 * soft-fp/divdf3.c: Likewise.
18351 * soft-fp/divsf3.c: Likewise.
18352 * soft-fp/divtf3.c: Likewise.
18353 * soft-fp/double.h: Likewise.
18354 * soft-fp/eqdf2.c: Likewise.
18355 * soft-fp/eqsf2.c: Likewise.
18356 * soft-fp/eqtf2.c: Likewise.
18357 * soft-fp/extenddftf2.c: Likewise.
18358 * soft-fp/extended.h: Likewise.
18359 * soft-fp/extendsfdf2.c: Likewise.
18360 * soft-fp/extendsftf2.c: Likewise.
18361 * soft-fp/extendxftf2.c: Likewise.
18362 * soft-fp/fixdfdi.c: Likewise.
18363 * soft-fp/fixdfsi.c: Likewise.
18364 * soft-fp/fixdfti.c: Likewise.
18365 * soft-fp/fixsfdi.c: Likewise.
18366 * soft-fp/fixsfsi.c: Likewise.
18367 * soft-fp/fixsfti.c: Likewise.
18368 * soft-fp/fixtfdi.c: Likewise.
18369 * soft-fp/fixtfsi.c: Likewise.
18370 * soft-fp/fixtfti.c: Likewise.
18371 * soft-fp/fixunsdfdi.c: Likewise.
18372 * soft-fp/fixunsdfsi.c: Likewise.
18373 * soft-fp/fixunsdfti.c: Likewise.
18374 * soft-fp/fixunssfdi.c: Likewise.
18375 * soft-fp/fixunssfsi.c: Likewise.
18376 * soft-fp/fixunssfti.c: Likewise.
18377 * soft-fp/fixunstfdi.c: Likewise.
18378 * soft-fp/fixunstfsi.c: Likewise.
18379 * soft-fp/fixunstfti.c: Likewise.
18380 * soft-fp/floatdidf.c: Likewise.
18381 * soft-fp/floatdisf.c: Likewise.
18382 * soft-fp/floatditf.c: Likewise.
18383 * soft-fp/floatsidf.c: Likewise.
18384 * soft-fp/floatsisf.c: Likewise.
18385 * soft-fp/floatsitf.c: Likewise.
18386 * soft-fp/floattidf.c: Likewise.
18387 * soft-fp/floattisf.c: Likewise.
18388 * soft-fp/floattitf.c: Likewise.
18389 * soft-fp/floatundidf.c: Likewise.
18390 * soft-fp/floatundisf.c: Likewise.
18391 * soft-fp/floatunsidf.c: Likewise.
18392 * soft-fp/floatunsisf.c: Likewise.
18393 * soft-fp/floatuntidf.c: Likewise.
18394 * soft-fp/floatuntisf.c: Likewise.
18395 * soft-fp/floatuntitf.c: Likewise.
18396 * soft-fp/fmadf4.c: Likewise.
18397 * soft-fp/fmasf4.c: Likewise.
18398 * soft-fp/fmatf4.c: Likewise.
18399 * soft-fp/gedf2.c: Likewise.
18400 * soft-fp/gesf2.c: Likewise.
18401 * soft-fp/getf2.c: Likewise.
18402 * soft-fp/ledf2.c: Likewise.
18403 * soft-fp/lesf2.c: Likewise.
18404 * soft-fp/letf2.c: Likewise.
18405 * soft-fp/muldf3.c: Likewise.
18406 * soft-fp/mulsf3.c: Likewise.
18407 * soft-fp/multf3.c: Likewise.
18408 * soft-fp/negdf2.c: Likewise.
18409 * soft-fp/negsf2.c: Likewise.
18410 * soft-fp/negtf2.c: Likewise.
18411 * soft-fp/op-1.h: Likewise.
18412 * soft-fp/op-2.h: Likewise.
18413 * soft-fp/op-4.h: Likewise.
18414 * soft-fp/op-8.h: Likewise.
18415 * soft-fp/op-common.h: Likewise.
18416 * soft-fp/quad.h: Likewise.
18417 * soft-fp/single.h: Likewise.
18418 * soft-fp/soft-fp.h: Likewise.
18419 * soft-fp/sqrtdf2.c: Likewise.
18420 * soft-fp/sqrtsf2.c: Likewise.
18421 * soft-fp/sqrttf2.c: Likewise.
18422 * soft-fp/subdf3.c: Likewise.
18423 * soft-fp/subsf3.c: Likewise.
18424 * soft-fp/subtf3.c: Likewise.
18425 * soft-fp/truncdfsf2.c: Likewise.
18426 * soft-fp/trunctfdf2.c: Likewise.
18427 * soft-fp/trunctfsf2.c: Likewise.
18428 * soft-fp/trunctfxf2.c: Likewise.
18429 * soft-fp/unorddf2.c: Likewise.
18430 * soft-fp/unordsf2.c: Likewise.
18431 * soft-fp/unordtf2.c: Likewise.
18432
17c48a60
OB
184332013-10-14 Ondřej Bílka <neleai@seznam.cz>
18434
18435 [BZ #15672]
18436 * misc/error.c (error_tail): Fix possible buffer overflow.
18437
cabba934
OB
184382013-10-14 Aurelien Jarno <aurelien@aurel32.net>
18439
18440 [BZ #13028]
18441 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
18442 address.
18443
94bf958a
PM
184442013-10-14 P. J. McDermott <pj@pehjota.net>
18445
18446 [BZ #832]
18447 * elf/ldd.bash.in (try_trace): New function. Delete previous code
18448 testing pipefail option.
18449
71b4dea7
JM
184502013-10-12 Joseph Myers <joseph@codesourcery.com>
18451
18452 * soft-fp/double.h: Indent preprocessor directives inside #if.
18453 * soft-fp/extended.h: Likewise.
18454 * soft-fp/op-2.h: Likewise.
18455 * soft-fp/op-4.h: Likewise.
18456 * soft-fp/op-common.h: Likewise.
18457 * soft-fp/quad.h: Likewise.
18458 * soft-fp/single.h: Likewise.
18459 * soft-fp/soft-fp.h: Likewise.
18460
55602758
YC
184612013-10-12 Yuri Chornoivan <yurchor@ukr.net>
18462
18463 * iconv/iconv_prog.c: Fix typos.
18464 * stdio-common/psiginfo-data.h: Likewise.
18465
9cd83302
RT
184662013-10-12 Reuben Thomas <rrt@sc3d.org>
18467
18468 [BZ #15764]
18469 * locale/setlocale.c: Fix typo.
18470
99fd9f47
JM
184712013-10-12 Joseph Myers <joseph@codesourcery.com>
18472
b7ea74f0
JM
18473 [BZ #16036]
18474 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
18475 signaling NaN arguments.
18476 * soft-fp/unordsf2.c (__unordsf2): Likewise.
18477 * soft-fp/unordtf2.c (__unordtf2): Likewise.
18478
8a509447
JM
18479 [BZ #14910]
18480 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
18481 unordered operands.
18482 * soft-fp/gesf2.c (__gesf2): Likewise.
18483 * soft-fp/getf2.c (__getf2): Likewise.
18484 * soft-fp/ledf2.c (__ledf2): Likewise.
18485 * soft-fp/lesf2.c (__lesf2): Likewise.
18486 * soft-fp/letf2.c (__letf2): Likewise.
18487
98998e9f
JM
18488 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
18489 * soft-fp/eqsf2.c (__eqsf2): Likewise.
18490 * soft-fp/eqtf2.c (__eqtf2): Likewise.
18491 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
18492 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
18493 * soft-fp/fixdfti.c (__fixdfti): Likewise.
18494 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
18495 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
18496 * soft-fp/fixsfti.c (__fixsfti): Likewise.
18497 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
18498 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
18499 * soft-fp/fixtfti.c (__fixtfti): Likewise.
18500 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
18501 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
18502 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
18503 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
18504 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
18505 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
18506 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
18507 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
18508 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
18509 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
18510 * soft-fp/floatdisf.c (__floatdisf): Likewise.
18511 * soft-fp/floatsisf.c (__floatsisf): Likewise.
18512 * soft-fp/floattidf.c (__floattidf): Likewise.
18513 * soft-fp/floattisf.c (__floattisf): Likewise.
18514 * soft-fp/floattitf.c (__floattitf): Likewise.
18515 * soft-fp/floatundidf.c (__floatundidf): Likewise.
18516 * soft-fp/floatundisf.c (__floatundisf): Likewise.
18517 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
18518 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
18519 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
18520 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
18521 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
18522 * soft-fp/gesf2.c (__gesf2): Likewise.
18523 * soft-fp/getf2.c (__getf2): Likewise.
18524 * soft-fp/ledf2.c (__ledf2): Likewise.
18525 * soft-fp/lesf2.c (__lesf2): Likewise.
18526 * soft-fp/letf2.c (__letf2): Likewise.
18527
8edc4a11
JM
18528 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
18529 Undefine and redefine.
18530 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
18531 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
18532 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
18533 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
18534 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18535 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
18536 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18537 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
18538 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18539 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
18540 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18541 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
18542 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18543 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
18544 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18545
8399acaf
JM
18546 [BZ #16032]
18547 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
18548 without decrementing exponent if mantissa >= that for the
18549 denominator, not >.
18550 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
18551 denominator, not >. Decrement exponent in < case instead of
18552 incrementing in >= case.
18553 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
18554 without decrementing exponent if mantissa >= that for the
18555 denominator, not >.
18556
99fd9f47
JM
18557 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
18558 computing saturated result for unsigned overflow.
18559
10e1cf6b
SP
185602013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18561 Jeff Law <law@redhat.com>
18562
18563 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
18564 (atan2Mp): Add systemtap probe marker.
18565 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
18566 (__ieee754_log): Add systemtap probe marker.
18567 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
18568 (atanMp): Add systemtap probe marker.
18569 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
18570 (tanMp): Add systemtap probe marker.
18571 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
18572 (__slowexp): Add systemtap probe marker.
18573 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
18574 (__slowpow): Add systemtap probe marker.
18575 * manual/probes.texi: Document probes.
18576
3d110c7c
EB
185772013-10-11 Eric Biggers <ebiggers3@gmail.com>
18578
18579 [BZ #15362]
18580 * libio/fileops.c (_IO_new_file_write): Return count of bytes
18581 written.
18582 (_IO_new_file_xsputn): Don't return EOF if nothing has been
18583 written.
18584 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
18585 written to buffer but not flushed.
18586 * libio/iofwrite_u.c: Likewise.
18587 * libio/iopadn.c: Return bytes returned even if EOF was
18588 encountered.
18589 * libio/iowpadn.c: Likewise.
18590 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
18591 if _IO_padn does not write the whole buffer.
18592 [!COMPILE_WPRINTF] (PAD): Likewise.
18593
75b4202a
DM
185942013-10-10 David S. Miller <davem@davemloft.net>
18595
18596 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
18597 directory block.
18598
6c6352e6
JM
185992013-10-10 Joseph Myers <joseph@codesourcery.com>
18600
33b853c3
JM
18601 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
18602 instead of FSF address.
18603 * soft-fp/fixdfti.c: Likewise.
18604 * soft-fp/fixsfti.c: Likewise.
18605 * soft-fp/fixtfti.c: Likewise.
18606 * soft-fp/fixunsdfti.c: Likewise.
18607 * soft-fp/fixunssfti.c: Likewise.
18608 * soft-fp/fixunstfti.c: Likewise.
18609 * soft-fp/floattidf.c: Likewise.
18610 * soft-fp/floattisf.c: Likewise.
18611 * soft-fp/floattitf.c: Likewise.
18612 * soft-fp/floatuntidf.c: Likewise.
18613 * soft-fp/floatuntisf.c: Likewise.
18614 * soft-fp/floatuntitf.c: Likewise.
18615 * soft-fp/trunctfxf2.c: Likewise.
18616
6c6352e6
JM
18617 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
18618 * soft-fp/fixdfti.c: Likewise.
18619 * soft-fp/fixsfti.c: Likewise.
18620 * soft-fp/fixtfti.c: Likewise.
18621 * soft-fp/fixunsdfti.c: Likewise.
18622 * soft-fp/fixunssfti.c: Likewise.
18623 * soft-fp/fixunstfti.c: Likewise.
18624 * soft-fp/floattidf.c: Likewise.
18625 * soft-fp/floattisf.c: Likewise.
18626 * soft-fp/floattitf.c: Likewise.
18627 * soft-fp/floatuntidf.c: Likewise.
18628 * soft-fp/floatuntisf.c: Likewise.
18629 * soft-fp/floatuntitf.c: Likewise.
18630 * soft-fp/trunctfxf2.c: Likewise.
18631
3bf78b71
DM
186322013-10-10 David S. Miller <davem@davemloft.net>
18633
18634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18635
6f10289e
JM
186362013-10-10 Joseph Myers <joseph@codsourcery.com>
18637
bd878fc0
JM
18638 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18639 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
18640 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
18641 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
18642 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
18643 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
18644 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
18645
6f10289e
JM
18646 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
18647 for NaNs before doing comparisons on argument.
18648 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18649 Likewise.
18650
321e2684
WN
186512013-10-10 Will Newton <will.newton@linaro.org>
18652
18653 * malloc/hooks.c (memalign_check): Ensure the value of bytes
18654 passed to _int_memalign does not overflow.
18655
40fefba1
TR
186562013-10-10 Torvald Riegel <triegel@redhat.com>
18657
18658 * scripts/bench.pl: Add include-sources directive.
18659 * benchtests/README: Update documentation.
18660
2ae21ed2
JM
186612013-10-10 Joseph Myers <joseph@codesourcery.com>
18662
dcc2dd3f
JM
18663 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
18664 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
18665 instead of FP_INIT_ROUNDMODE.
18666 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
18667 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
18668
2ae21ed2
JM
18669 [BZ #16034]
18670 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
18671 copy class of input value.
18672 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
18673 not handle exceptions.
18674 * soft-fp/negsf2.c (__negsf2): Likewise.
18675 * soft-fp/negtf2.c (__negtf2): Likewise.
18676 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
18677
cb8f9562
JM
186782013-10-09 Joseph Myers <joseph@codesourcery.com>
18679
18680 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
18681 semicolon. From Linux kernel.
18682
5b60c59d
AB
186832013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
18684
18685 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
18686
b86835ca
YC
186872013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
18688
18689 [BZ #156]
18690 * manual/socket.texi: Added statement about buffer
18691 for gethostbyname2_r.
18692
e7044ea7
OB
186932013-10-08 Ondřej Bílka <neleai@seznam.cz>
18694
18695 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
18696 Use .p2align directive instead, throughout.
18697 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18698 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18699 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18700 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18701 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18702 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18703 * sysdeps/x86_64/strchr.S: Likewise.
18704 * sysdeps/x86_64/strrchr.S: Likewise.
18705
09544cbc
SP
187062013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18707
88576635
SP
18708 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
18709
e7b2d1dd
SP
18710 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
18711
09544cbc
SP
18712 * sysdeps/generic/math_private.h (__mpsin1): Remove
18713 declaration.
18714 (__mpcos1): Likewise.
18715 (__mpsin): New argument __range_reduce.
18716 (__mpcos): Likewise.
18717 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18718 (slow): Use __mpsin and __mpcos.
18719 (slow1): Likewise.
18720 (slow2): Likewise.
18721 (sloww): Likewise.
18722 (sloww1): Likewise.
18723 (sloww2): Likewise.
18724 (bsloww): Likewise.
18725 (bsloww1): Likewise.
18726 (bsloww2): Likewise.
18727 (cslow2): Likewise.
18728 (csloww): Likewise.
18729 (csloww1): Likewise.
18730 (csloww2): Likewise.
18731 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
18732 range_reduce. Merge in __mpsin1.
18733 (__mpcos): Likewise.
18734 (__mpsin1): Remove.
18735 (__mpcos1): Likewise.
18736
7602d070
JM
187372013-10-07 Joseph Myers <joseph@codesourcery.com>
18738
18739 * locale/loadlocale.c (_nl_intern_locale_data): Use
18740 LOCFILE_ALIGNED_P.
18741 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
18742 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
18743 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
18744 obstack data is appropriately aligned.
18745 (obstack_int32_grow_fast): Likewise.
18746 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
18747 * locale/programs/locfile.c (add_locale_uint32): Likewise.
18748 (add_locale_uint32_array): Likewise.
18749
a357259b
SP
187502013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18751
18752 * benchtests/Makefile: Remove ARGLIST and RET variables.
18753 ($(objpfx)bench-%.c): Pass only function name to the script.
18754 * benchtests/README: Update documentation.
18755 * benchtests/acos-inputs: Add new directives.
18756 * benchtests/acosh-inputs: Likewise.
18757 * benchtests/asin-inputs: Likewise.
18758 * benchtests/asinh-inputs: Likewise.
18759 * benchtests/atan-inputs: Likewise.
18760 * benchtests/atanh-inputs: Likewise.
18761 * benchtests/cos-inputs: Likewise.
18762 * benchtests/cosh-inputs: Likewise.
18763 * benchtests/exp-inputs: Likewise.
18764 * benchtests/log-inputs: Likewise.
18765 * benchtests/pow-inputs: Likewise.
18766 * benchtests/rint-inputs: Likewise.
18767 * benchtests/sin-inputs: Likewise.
18768 * benchtests/sinh-inputs: Likewise.
18769 * benchtests/tan-inputs: Likewise.
18770 * benchtests/tanh-inputs: Likewise.
18771 * scripts/bench.pl: Add support for new directives.
18772
9ec1b13d
AM
187732013-10-07 Alan Modra <amodra@gmail.com>
18774
18775 * README: Fix careless merge.
18776
8b7d57cd
AM
187772013-10-05 Alan Modra <amodra@gmail.com>
18778
18779 * NEWS: Mention powerpc64le support and bugs fixed.
18780 * README: Both big-endian and little-endian powerpc64 supported.
18781
7b7bab13
ST
187822013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18783
57f41c40
AS
18784 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
18785 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
18786 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
18787 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
18788
d39baad1
RA
187892013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
18790
18791 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
18792 match prototype.
18793
cd78f7e7
JM
187942013-10-04 Joseph Myers <joseph@codesourcery.com>
18795
29d73d86
JM
18796 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
18797 Move -mhard-float appending from
18798 ports/sysdeps/powerpc/powerpc32/Makefile.
18799 [$(with-fp) = yes] (ASFLAGS): Likewise.
18800 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
18801 * sysdeps/powerpc/nofpu: Move directory from
18802 ports/sysdeps/powerpc/nofpu.
18803 * sysdeps/powerpc/soft-fp: Move directory from
18804 ports/sysdeps/powerpc/soft-fp.
18805 * sysdeps/powerpc/powerpc32/405: Move directory from
18806 ports/sysdeps/powerpc/powerpc32/405.
18807 * sysdeps/powerpc/powerpc32/440: Move directory from
18808 ports/sysdeps/powerpc/powerpc32/440.
18809 * sysdeps/powerpc/powerpc32/464: Move directory from
18810 ports/sysdeps/powerpc/powerpc32/464.
18811 * sysdeps/powerpc/powerpc32/476: Move directory from
18812 ports/sysdeps/powerpc/powerpc32/476.
18813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
18814 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
18815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
18816 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
18817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
18818 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
18819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
18820 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
18821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
18822 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
18823 * README: Update for powerpc-*-linux-gnu software floating point
18824 support in libc.
18825
e246b347
JM
18826 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
18827 case to powerpc/powerpc32*.
18828 * sysdeps/unix/sysv/linux/configure: Regenerated.
18829
89c2003e
JM
18830 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
18831 (_FPU_MASK_OM): Define as 0x04.
18832 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
18833 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
18834 0x00c10080.
18835 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
18836 0x0000003c.
18837 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
18838
cd78f7e7
JM
18839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
18840 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18841 getcontext_e500.
18842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
18843 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18844 setcontext_e500.
18845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
18846 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
18847 and setcontext_e500.
18848
c755294d
CL
188492013-10-04 Chris Leonard <cjl@sugarlabs,.org>
18850
18851 * locale/iso-3166.def: Update iso-1366.def and related occurrences
18852
e16d221c
SP
188532013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18854
18855 * manual/threads.texi (Default Thread Attributes): Fix typo.
18856
215c7d43
WN
188572013-10-04 Will Newton <will.newton@linaro.org>
18858
18859 * malloc/Makefile: Add tst-memalign.
18860 * malloc/tst-memalign.c: New file.
18861
27d0461b
WN
18862 * malloc/tst-posix_memalign.c: Add comments.
18863 (do_test): Add comments and call free on all potentially
18864 allocated pointers. Add space after cast.
18865
1bc92709
WN
18866 * malloc/tst-pvalloc.c: Add comments.
18867 (do_test): Add comments and call free on all potentially
18868 allocated pointers. Remove duplicate check for NULL pointer.
18869 Add space after cast.
18870
66a9be9d
WN
18871 * malloc/tst-valloc.c: Add comments.
18872 (do_test): Add comments and call free on all potentially
18873 allocated pointers. Remove duplicate check for NULL pointer.
18874 Add space after cast.
18875
4cb81307
AM
188762013-10-04 Alan Modra <amodra@gmail.com>
18877
18878 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18879 Use stdint types in rather than __attribute__((mode())).
18880 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18881
f8e3e9f3
AM
188822013-10-04 Alan Modra <amodra@gmail.com>
18883
18884 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18885 Correct handling of unaligned relocs for little-endian.
18886 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18887
8f9ebb08
AM
188882013-10-04 Alan Modra <amodra@gmail.com>
18889
18890 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18891 * configure: Regenerate.
18892 * nptl/shlib-versions: Powerpc*le starts at 2.18.
18893 * shlib-versions: Likewise.
18894
0edf96c2
AM
188952013-10-04 Alan Modra <amodra@gmail.com>
18896
18897 * string/tester.c (test_memrchr): Increment reported test cycle.
18898
e0f7a380
AM
188992013-10-04 Alan Modra <amodra@gmail.com>
18900
18901 * string/test-memcpy.c (do_one_test): When reporting errors, print
18902 string address and don't overrun end of string.
18903
466b0393
AM
189042013-10-04 Alan Modra <amodra@gmail.com>
18905
18906 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18907 insrdi. Make better use of reg selection to speed exit slightly.
18908 Schedule entry path a little better. Remove useless "are we done"
18909 checks on entry to main loop. Handle wrapping around zero address.
18910 Correct main loop count. Handle single left-over word from main
18911 loop inline rather than by using loop_small. Remove extra word
18912 case in loop_small caused by wrong loop count. Add little-endian
18913 support.
18914 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18915 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
18916 cache hint.
18917 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18918 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18919 support. Avoid rlwimi.
18920 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18921
3be87c77
AM
189222013-10-04 Alan Modra <amodra@gmail.com>
18923
18924 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 18925 insrdi. Formatting.
3be87c77
AM
18926 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18927 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18928 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18929 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18930 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18931 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18932
759cfef3
AM
189332013-10-04 Alan Modra <amodra@gmail.com>
18934
18935 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18936 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18937 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18938 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18939 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18940 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18941 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18942 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18943 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
18944 use of regs. Use power7 mtocrf. Tidy function tails.
18945
fe6e95d7
AM
189462013-10-04 Alan Modra <amodra@gmail.com>
18947
18948 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18949 Formatting. Consistently use rXXX register defines or rN defines.
18950 Use early exit labels that avoid restoring unused non-volatile regs.
18951 Make cr field use more consistent with rWORDn compares. Rename
18952 regs used as shift registers for unaligned loop, using rN defines
18953 for short lifetime/multiple use regs.
18954 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18955 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
18956 addi 1,1,64 to pop stack frame. Simplify return value code.
18957 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18958
664318c3
AM
189592013-10-04 Alan Modra <amodra@gmail.com>
18960
18961 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18962 support. Correct typos, formatting. Optimize tail. Use insrdi
18963 rather than rlwimi.
18964 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
18965 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
18966 little-endian support. Correct typos.
18967 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
18968 rather than rlwimi.
18969 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
18970 in loop and entry code to keep "and." results.
18971 (strchr): Add little-endian support. Comment. Move cntlzd
18972 earlier in tail.
18973 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
18974
43b84013
AM
189752013-10-04 Alan Modra <amodra@gmail.com>
18976
18977 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
18978 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
18979 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18980 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
18981
8a7413f9
AM
189822013-10-04 Alan Modra <amodra@gmail.com>
18983
18984 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
18985 (rTMP): Define as r11.
18986 (strcmp): Add little-endian support. Optimise tail.
18987 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
18988 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18989 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18990 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18991 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18992 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18993 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18994
33ee81de
AM
189952013-10-04 Alan Modra <amodra@gmail.com>
18996
18997 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
18998 little-endian support. Remove unnecessary "are we done" tests.
18999 Handle "s" wrapping around zero and extremely large "size".
19000 Correct main loop count. Handle single left-over word from main
19001 loop inline rather than by using small_loop. Correct comments.
19002 Delete "zero" tail, use "end_max" instead.
19003 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
19004
db9b4570
AM
190052013-10-04 Alan Modra <amodra@gmail.com>
19006
19007 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
19008 support. Don't branch over align.
19009 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
19010 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
19011 support. Rearrange tmp reg use to suit. Comment.
19012 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
19013
f7c399cf
AM
190142013-10-04 Alan Modra <amodra@gmail.com>
19015
19016 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
19017
0b2c2ace
AM
190182013-10-04 Alan Modra <amodra@gmail.com>
19019
19020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
19021 conditional form of branch and link when obtaining pc.
19022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
19023
02f04a6c
AM
190242013-10-04 Alan Modra <amodra@gmail.com>
19025
19026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
19027 HIWORD/LOWORD.
19028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
19029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
19030
9b874b2f
AM
190312013-10-04 Alan Modra <amodra@gmail.com>
19032
19033 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
19034 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
19035 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
19036 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
19037 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19038 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19039 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
19040 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19041 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
19042 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
19043
be1e5d31
AB
190442013-10-04 Anton Blanchard <anton@au1.ibm.com>
19045 Alistair Popple <alistair@ozlabs.au.ibm.com>
19046 Alan Modra <amodra@gmail.com>
19047
19048 [BZ #15723]
19049 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
19050 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
19051 _dl_hwcap access for little-endian.
19052 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
19053 destroy vmx regs when saving unaligned.
19054 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
19055 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
19056 destroy vmx regs when saving unaligned.
19057
fef13a78
AM
190582013-10-04 Alan Modra <amodra@gmail.com>
19059
19060 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
19061 Don't use a union to pack hi/low value.
19062
76a66d51
AB
190632013-10-04 Anton Blanchard <anton@au1.ibm.com>
19064
19065 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
19066 for little-endian.
19067 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19068 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
19069 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19070 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19071 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19072
6a31fe7f
AM
190732013-10-04 Alan Modra <amodra@gmail.com>
19074
19075 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
19076 constants to usual value for .cst8 section, and remove redundant
19077 high address load.
19078 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
19079 constant for 0x1p52. Load little-endian words of double from
19080 correct stack offsets.
19081
7b88401f
AM
190822013-10-04 Alan Modra <amodra@gmail.com>
19083
19084 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
19085 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
19086 words of double from correct stack offsets.
19087 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
19088 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
19089 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19090 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19091 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19092 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19093 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19094 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
19095 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
19096 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19097 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19098 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19099 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19100 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19101 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19102 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
19103 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
19104
9c008155
AM
191052013-10-04 Alan Modra <amodra@gmail.com>
19106
19107 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
19108 64-bit int/double union.
19109 (_FPU_SETCW): Likewise.
19110 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
19111 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
19112
da13146d
AM
191132013-10-04 Alan Modra <amodra@gmail.com>
19114
19115 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
19116 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
19117
603e8410
AM
191182013-10-04 Alan Modra <amodra@gmail.com>
19119
19120 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
19121 use vector int constants.
19122 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
19123
4a28b3ca
AB
191242013-10-04 Anton Blanchard <anton@au1.ibm.com>
19125
19126 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
19127 array with long long.
19128 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
19129 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
19130 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
19131 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
19132 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
19133 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
19134 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
19135 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
19136 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
19137 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
19138 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
19139 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
19140 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
19141
2ca85d2b
AB
191422013-10-04 Anton Blanchard <anton@au1.ibm.com>
19143
19144 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
19145 (__signbit): Likewise. Correct for little-endian.
19146 (__signbitl): Call __signbit.
19147 (lrint): Correct for little-endian.
19148 (lrintf): Call lrint.
19149
62a728ae
AM
191502013-10-04 Alan Modra <amodra@gmail.com>
19151
19152 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
19153 union 32-bit int array member with 64-bit int array.
19154 (t515, tm256): Double rather than long double.
19155 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
19156
32c301df
AM
191572013-10-04 Alan Modra <amodra@gmail.com>
19158
19159 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
19160 Delete.
19161 (IEEE854_LONG_DOUBLE_BIAS): Delete.
19162 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
19163 version of math_ldbl.h.
19164
650ef4bd
AM
191652013-10-04 Alan Modra <amodra@gmail.com>
19166
19167 [BZ #15734], [BZ #15735]
19168 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
19169 all uses of ieee875 long double macros and unions. Simplify test
19170 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
19171 ldbl_extract_mantissa value for ix,iy exponents. Properly
19172 normalize after ldbl_extract_mantissa, and don't add hidden bit
19173 already handled. Don't treat low word of ieee854 mantissa like
19174 low word of IBM long double and mask off bit when testing for
19175 zero.
19176 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
19177 all uses of ieee875 long double macros and unions. Simplify tests
19178 for 0.0L and inf. Correct double adjustment of k. Delete dead code
19179 adjusting ha,hb. Simplify code setting kld. Delete two600 and
19180 two1022, instead use their values. Recognise that tests for large
19181 "a" and small "b" are mutually exclusive. Rename vars. Comment.
19182 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
19183 Rewrite all uses of ieee875 long double macros and unions. Simplify
19184 test for 0.0L and nan. Correct negation.
19185 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
19186 ieee875 long double macros and unions. Correct output for large
19187 magnitude x. Correct absolute value calculation.
19188 (__erfcl): Likewise.
19189 * math/libm-test.inc: Add tests for errors discovered in IBM long
19190 double versions of fmodl, remainderl, erfl and erfcl.
19191
765714ca
AM
191922013-10-04 Alan Modra <amodra@gmail.com>
19193
19194 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
19195 all uses of ieee854 long double macros and unions. Simplify tests
19196 for long doubles that are fully specified by the high double.
19197 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19198 Likewise.
19199 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
19200 Remove dead code too.
19201 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19202 (__ieee754_ynl): Likewise.
19203 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
19204 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
19205 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
19206 Remove dead code too.
19207 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
19208 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
19209 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
19210 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
19211 Simplify.
19212 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
19213 Simplify.
19214 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
19215 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
19216 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
19217 Comment on variable precision.
19218 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
19219 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19220 Likewise.
19221 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19222 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19223 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19224 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
19225 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
19226
4ebd120c
AM
192272013-10-04 Alan Modra <amodra@gmail.com>
19228
19229 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
19230 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
19231 all uses of ieee854 long double macros and unions.
19232 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
19233 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19234 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
19235 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
19236 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
19237 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19238 Likewise.
19239 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
19240 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19241 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
19242 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19243 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
19244 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
19245 Simplify sign and nan test too.
19246 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
19247 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
19248 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
19249 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
19250 Likewise.
19251 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19252 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
19253 Likewise.
19254 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19255 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
19256 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
19257 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
19258 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
19259 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
19260
1b6adf88
AM
192612013-10-04 Alan Modra <amodra@gmail.com>
19262
19263 * stdio-common/printf_size.c (__printf_size): Don't use
19264 union ieee854_long_double in fpnum union.
19265 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
19266 signbit macro to retrieve sign from long double.
19267 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
19268 retrieve sign from long double.
19269 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
19270 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
19271 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
19272 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19273 * math/test-misc.c (main): Don't use union ieee854_long_double.
19274
4cf69995
AM
192752013-10-04 Alan Modra <amodra@gmail.com>
19276
19277 [BZ #15680]
19278 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
19279 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
19280 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
19281 calculation. Remove unnecessary test for denormal exponent.
19282 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
19283 Correct handling of denormals. Avoid undefined shift behaviour.
19284 Correct normalisation of low mantissa when low double is denormal.
19285 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
19286 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
19287 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
19288 Correct normalisation of low mantissa. Test for overflow of high
19289 mantissa and normalise.
19290 (ldbl_nearbyint): Use more readable constant for two52.
19291 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
19292 (__mpn_construct_long_double): Fix test for overflow of high
19293 mantissa and correct normalisation. Avoid undefined shift.
19294
9605ca6c
AM
192952013-10-04 Alan Modra <amodra@gmail.com>
19296
19297 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19298 (union ibm_extended_long_double): Define as an array of ieee754_double.
19299 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
19300 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
19301 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
19302 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19303 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19304 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
19305 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19306 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19307 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19308 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
19309 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19310
975569d0
JM
193112013-10-03 Joseph Myers <joseph@codesourcery.com>
19312
d3d23756
JM
19313 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
19314 page size instead of calling getpagesize.
19315
975569d0
JM
19316 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
19317 (LOCFILE_ALIGN_MASK): Likewise.
19318 (LOCFILE_ALIGN_UP): Likewise.
19319 (LOCFILE_ALIGNED_P): Likewise.
19320 * locale/programs/ld-collate.c (collate_output): Use the new
19321 macros instead of __alignof__ (int32_t).
19322 * locale/weight.h (findidx): Likewise.
19323
b1fe1f2b
OB
193242013-10-03 Ondřej Bílka <neleai@seznam.cz>
19325
19326 [BZ #431]
19327 * manual/string.texi: Fix strncat and wcsncat.
19328
5f855e35
BM
193292013-10-03 Brooks Moses <bmoses@google.com>
19330
19331 [BZ #15915]
19332 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
19333 * Makerules: ...here, and adjust associated comments.
19334
3cef6009
WN
193352013-10-02 Will Newton <will.newton@linaro.org>
19336
19337 * malloc/Makefile: Add tst-pvalloc.
19338 * malloc/tst-pvalloc.c: New file.
19339
7815420b
WN
193402013-10-02 Will Newton <will.newton@linaro.org>
19341
19342 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
19343 improve test coverage.
19344
4868b204
WN
193452013-10-02 Will Newton <will.newton@linaro.org>
19346
19347 * malloc/Makefile: Add tst-posix_memalign.
19348 * malloc/tst-posix_memalign.c: New file.
19349
29c793b3
EB
193502013-10-01 Eric Blake <eblake@redhat.com>
19351
19352 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
19353 Use __THROWNL rather than __THROW on static functions.
19354
fd967522
PM
193552013-09-30 Petr Machata <pmachata@redhat.com>
19356
19357 * elf/elf.h (R_AARCH64_ABS16): New macro.
19358 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
19359 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
19360 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
19361 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
19362 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
19363 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
19364 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
19365 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
19366 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
19367 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
19368 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
19369 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
19370 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
19371 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
19372 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
19373 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
19374 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
19375 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
19376 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
19377 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
19378 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
19379 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
19380 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
19381 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
19382 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
19383 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
19384 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
19385 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
19386 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
19387 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
19388 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
19389 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
19390 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
19391 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
19392 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
19393 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
19394 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
19395 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
19396 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
19397 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
19398 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
19399 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
19400 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
19401 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
19402 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
19403 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
19404 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
19405 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
19406 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
19407 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
19408 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
19409 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
19410 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
19411 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
19412 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
19413 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
19414 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
19415 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
19416 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
19417 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
19418 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
19419 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
19420 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
19421 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
19422 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
19423 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
19424 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
19425 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
19426 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
19427 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
19428 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
19429 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
19430 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
19431 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
19432 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
19433 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
19434 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
19435 (R_AARCH64_TLSDESC_LDR): Likewise.
19436 (R_AARCH64_TLSDESC_ADD): Likewise.
19437 (R_AARCH64_TLSDESC_CALL): Likewise.
19438
b2179107
AS
194392013-09-30 Andreas Schwab <schwab@suse.de>
19440
19441 [BZ #15048]
19442 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
19443 the nss database lookup.
19444 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19445 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19446
47f28d0a
MF
194472013-09-28 Mike Frysinger <vapier@gentoo.org>
19448
19449 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
19450
194512013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
19452
19453 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
19454 ${Bash-specific parameter/pattern/string} parameter expansion.
19455 * sysdeps/unix/make-syscalls.sh: Likewise.
19456
f4518a17
KK
194572013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19458
19459 * sysdeps/sh/stackguard-macros.h: New file.
19460
dc1a95c7
OB
194612013-09-26 Ondřej Bílka <neleai@seznam.cz>
19462
19463 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19464 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
19465 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
19466 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
19467 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19468 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
19469
5ebbff8f
AZ
194702013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19471
19472 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
19473 Fix thread ID register.
19474
4fd2cf9f
JM
194752013-09-25 Joseph Myers <joseph@codesourcery.com>
19476
19477 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
19478 [POSIX || UNIX98]: Require rather than permitting all symbols from
19479 <time.h>.
19480 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
19481 element of struct sched_param.
19482 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
19483 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
19484 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
19485 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
19486 constant.
19487
12c22bc4
OL
194882013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
19489
19490 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
19491 argument calculation.
19492
a03d8ea7
JM
194932013-09-24 Joseph Myers <joseph@codesourcery.com>
19494
19495 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
19496 Expect macro.
19497 [POSIX] (pthread_attr_t): Do not require type.
19498 [POSIX] (pthread_cond_t): Likewise.
19499 [POSIX] (pthread_condattr_t): Likewise.
19500 [POSIX] (pthread_key_t): Likewise.
19501 [POSIX] (pthread_mutex_t): Likewise.
19502 [POSIX] (pthread_mutexattr_t): Likewise.
19503 [POSIX] (pthread_once_t): Likewise.
19504 [POSIX] (pthread_t): Likewise.
19505 [POSIX-based standards] (pthread_atfork): Expect function.
19506
6055173a
JM
195072013-09-24 Joseph Myers <joseph@codesourcery.com>
19508 Richard Sandiford <richard@codesourcery.com>
19509
19510 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
19511 (swap_endianness_p): New extern variable.
19512 (set_big_endian): New inline function.
19513 (maybe_swap_uint32): Likewise.
19514 (maybe_swap_uint32_array): Likewise.
19515 (maybe_swap_uint32_obstack): Likewise.
19516 * locale/programs/locfile.c: Include <stdbool.h>.
19517 (swap_endianness_p): New variable.
19518 (add_locale_uint32): Call maybe_swap_uint32.
19519 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
19520 (write_locale_data): Call maybe_swap_uint32_array.
19521 * locale/programs/ld-collate.c (obstack_int32_grow): Call
19522 maybe_swap_uint32.
19523 (obstack_int32_grow_fast): Likewise.
19524 (output_weightwc): Call maybe_swap_uint32_obstack.
19525 (collate_output): Likewise.
19526 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
19527 (OPT_LITTLE_ENDIAN): Likewise.
19528 (options): Add --little-endian and --big-endian options.
19529 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
19530 * locale/programs/locarchive.c: Include "locfile.h".
19531 (GET): New macro.
19532 (SET): Likewise.
19533 (INC): Likewise.
19534 (create_archive): Use the new macros to access fields of
19535 structures directly mapped from or written to locale archives.
19536 (oldlocrecentcmp): Likewise.
19537 (enlarge_archive): Likewise.
19538 (insert_name): Likewise.
19539 (add_alias): Likewise.
19540 (add_locale): Likewise.
19541 (delete_locales_from_archive): Likewise.
19542 (show_archive_content): Likewise.
19543 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
19544 locale data.
19545
39bf0bb4
RM
195462013-09-24 Roland McGrath <roland@hack.frob.com>
19547
19548 * manual/freemanuals.texi: Updated from (newly) canonical copy at
19549 http://www.gnu.org/doc/freemanuals.texi.
19550 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
19551
f02eed10
WN
195522013-09-24 Will Newton <will.newton@linaro.org>
19553
19554 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
19555 macro.
19556
a3a6c312
JM
195572013-09-23 Joseph Myers <joseph@codesourcery.com>
19558
19559 * locale/hashval.h (compute_hashval): Interpret bytes of key as
19560 unsigned char.
19561
107375ac
MR
195622013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
19563
19564 * manual/threads.texi (POSIX Threads): Fix a typo.
19565
141f3a77
SP
195662013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19567
303e567a
SP
19568 [BZ #14547]
19569 * string/tst-strcoll-overflow.c: New test case.
19570 * string/Makefile (xtests): Add tst-strcoll-overflow.
19571 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
19572 cache if string sizes may cause integer overflow.
19573
141f3a77
SP
19574 [BZ #14547]
19575 * string/strcoll_l.c (coll_seq): New members rule, idx,
19576 save_idx and back_us.
19577 (get_next_seq_nocache): New function.
19578 (do_compare_nocache): New function.
19579 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
19580 when malloc fails.
19581
c61b4d41
CD
195822013-09-23 Carlos O'Donell <carlos@redhat.com>
19583
0b1f8e35
CD
19584 [BZ #15754]
19585 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
19586 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
19587 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
19588
c61b4d41
CD
19589 [BZ #15754]
19590 * elf/Makefile (tests): Add tst-ptrguard1.
19591 (tests-static): Add tst-ptrguard1-static.
19592 (tst-ptrguard1-ARGS): Define.
19593 (tst-ptrguard1-static-ARGS): Define.
19594 * elf/tst-ptrguard1.c: New file.
19595 * elf/tst-ptrguard1-static.c: New file.
19596 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
19597 * sysdeps/i386/stackguard-macros.h: Likewise.
19598 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19599 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19600 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19601 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19602 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19603 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19604
196052013-09-23 Hector Marco <hecmargi@upv.es>
19606 Ismael Ripoll <iripoll@disca.upv.es>
19607 Carlos O'Donell <carlos@redhat.com>
19608
19609 [BZ #15754]
19610 * sysdeps/generic/stackguard-macros.h: Define
19611 __pointer_chk_guard_local and POINTER_CHK_GUARD.
19612 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
19613 Define __pointer_chk_guard_local.
19614 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
19615 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
19616
f5f4e7b4
VV
196172013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
19618
19619 [BZ #15859]
19620 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
19621
5bb43a43
AS
196222013-09-20 Andreas Schwab <schwab@linux-m68k.org>
19623
19624 * include/string.h (__ffs): Declare as hidden.
19625 * string/ffs.c (__ffs): Define as hidden.
19626 * sysdeps/i386/ffs.c (__ffs): Likewise.
19627 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
19628 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
19629 * sysdeps/s390/ffs.c (__ffs): Likewise.
19630 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
19631
3ea5be54
AO
196322013-09-20 Alexandre Oliva <aoliva@redhat.com>
19633
ffb89e53
AO
19634 * NEWS: Mention malloc probes.
19635
322dea08
AO
19636 * malloc/arena.c (new_heap): New memory_heap_new probe.
19637 (grow_heap): New memory_heap_more probe.
19638 (shrink_heap): New memory_heap_less probe.
19639 (heap_trim): New memory_heap_free probe.
19640 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
19641 (systrim): New memory_sbrk_less probe.
19642 * manual/probes.texi: Document them.
19643
655673f3
AO
19644 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
19645 * manual/probes.texi: Document it.
19646
35fed6f1
AO
19647 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
19648 (__libc_realloc): Add memory_realloc_retry probe.
19649 (__libc_memalign): Add memory_memalign_retry probe.
19650 (__libc_valloc): Add memory_valloc_retry probe.
19651 (__libc_pvalloc): Add memory_pvalloc_retry probe.
19652 (__libc_calloc): Add memory_calloc_retry probe.
19653 * manual/probes.texi: Document them.
19654
6999d38c
AO
19655 * malloc/arena.c (get_free_list): Add probe
19656 memory_arena_reuse_free_list.
19657 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
19658 and memory_arena_reuse.
19659 (arena_get2) [!PER_THREAD]: Likewise.
19660 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
19661 memory_arena_reuse_realloc.
19662 * manual/probes.texi: Document them.
19663
0653427f
AO
19664 * malloc/malloc.c (__libc_free): Add
19665 memory_mallopt_free_dyn_thresholds probe.
19666 (__libc_mallopt): Add multiple memory_mallopt probes.
19667 * manual/probes.texi: Document them.
19668
3ea5be54
AO
19669 * malloc/malloc.c: Include stap-probe.h.
19670 (__libc_mallopt): Add memory_mallopt probe.
19671 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
19672 * manual/probes.texi: New.
19673 * manual/Makefile (chapters): Add probes.
19674 * manual/threads.texi: Set next node.
19675
e35696c3 196762013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 19677
e35696c3
CL
19678 [BZ #15963, #13985]
19679 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
19680 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
19681 Add `Chinese' to `nan' entry name.
19682
4aafb73c
SP
196832013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19684
19685 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
19686 (POLYNOMIAL): Likewise.
19687 (TAYLOR_SINCOS): Likewise.
19688 (TAYLOR_SLOW): Likewise.
19689 (__sin): Use TAYLOR_SINCOS.
19690 (__cos): Likewise.
19691 (slow): Use TAYLOR_SLOW.
19692 (sloww): Likewise.
19693 (bsloww): Likewise.
19694 (csloww): Likewise.
19695
d84f25c7
LD
196962013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19697
19698 * stdlib/strtod_l.c: Fix buffer overrun.
19699
5eea0404
SP
197002013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19701
7849ff93
SP
19702 * benchtests/Makefile (bench): Add sincos.
19703 * benchtests/bench-sincos.c: New file.
19704
cfa3c886
SP
19705 * math/libm-test.inc (cos_test_data): New test inputs.
19706 (sin_test_data): Likewise.
19707
b348e1e3
SP
19708 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
19709 macro.
19710 (__sin): Use it.
19711 (__cos): Likewise.
19712 (slow1): Likewise.
19713 (slow2): Likewise.
19714 (sloww1): Likewise.
19715 (sloww2): Likewise.
19716 (bsloww1): Likewise.
19717 (bsloww2): Likewise.
19718 (cslow2): Likewise.
19719 (csloww1): Likewise.
19720 (csloww2): Likewise.
19721
6cce25f8
SP
19722 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
19723 function.
19724 (__sin): Use it.
19725 (__cos): Likewise.
19726
5eea0404
SP
19727 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
19728 gotos.
19729 (__cos): Likewise.
19730
9c21573c
MR
197312013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
19732
19733 * config.h.in (HAVE_MIPS_NAN2008): New macro.
19734 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
19735 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
19736 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
19737 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
19738 * elf/cache.c (print_entry): Handle the new cache flags.
19739
24d22e65
JM
197402013-09-18 Joseph Myers <joseph@codesourcery.com>
19741 Aldy Hernandez <aldyh@redhat.com>
19742
19743 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
19744 Change condition to [_SOFT_FLOAT].
19745 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
19746 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
19747 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
19748 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
19749 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
19750 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
19751 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
19752 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
19753 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
19754 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
19755 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
19756 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
19757 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
19758 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
19759 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
19760 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
19761 declaration.
19762
d13ef066
JM
197632013-09-18 Joseph Myers <joseph@codesourcery.com>
19764
2e071de0
JM
19765 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
19766 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19767 (__longjmp): Use LOAD_GP to load saved GPRs.
19768 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
19769 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19770 (__sigsetjmp): Use SAVE_GP to save GPRs.
19771
d13ef066
JM
19772 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
19773 Do not append -msoft-float.
19774 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
19775
97a0650b
SP
197762013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19777
19778 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
19779
11ca09e9
JM
197802013-09-17 Joseph Myers <joseph@codesourcery.com>
19781
19782 [BZ #15966]
19783 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
19784 (_FPU_GETCW): Use initial "__" on variable and field names but not
19785 on macro parameter name.
19786 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
19787 parentheses around reference to macro parameter.
19788
08ffcf34
RS
197892013-09-13 Richard Sandiford <richard@codesourcery.com>
19790
19791 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
19792 prototype.
19793 (ctype_startup): Use uint32_t in cast and sizeof for
19794 ctype->charnames.
19795
ae7080d3
JL
197962013-09-11 Jia Liu <proljc@gmail.com>
19797
19798 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
19799 __daddr_t_defined.
19800 [__FreeBSD__]: Likewise.
19801
5905e7b3
OB
198022013-09-11 Ondřej Bílka <neleai@seznam.cz>
19803
19804 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19805 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
19806 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
19807 (strchr): Remove __strchr_sse42 ifunc selection.
19808 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
19809 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
19810
b987c776
WN
198112013-09-11 Will Newton <will.newton@linaro.org>
19812
19813 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
19814 parameter to RES. Remove hardcoded 1000 value.
19815 * benchtests/bench-skeleton.c (main): Pass RES parameter
19816 to TIMING_INIT and multiply result by 1000.
19817
ddf985af
AZ
198182013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19819
19820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19821
ffdd3181
AS
198222013-09-11 Andreas Schwab <schwab@suse.de>
19823
19824 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19825 if not defined.
19826 (O_TMPFILE) [__USE_GNU]: Define.
19827 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
19828 Define.
19829
b73ed247
WN
198302013-09-11 Will Newton <will.newton@linaro.org>
19831
19832 [BZ #15857]
19833 * malloc/malloc.c (__libc_memalign): Check the value of bytes
19834 does not overflow.
19835
55e17aad
WN
198362013-09-11 Will Newton <will.newton@linaro.org>
19837
19838 [BZ #15856]
19839 * malloc/malloc.c (__libc_valloc): Check the value of bytes
19840 does not overflow.
19841
1159a193
WN
198422013-09-11 Will Newton <will.newton@linaro.org>
19843
19844 [BZ #15855]
19845 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
19846 does not overflow.
19847
5905e7b3 198482013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
19849
19850 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
19851 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19852 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19853 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19854 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19855
cdfc721b
AM
198562013-09-10 Allan McRae <allan@archlinux.org>
19857
aa04af00
AM
19858 [BZ #15748]
19859 * manual/arith.texi (Parsing of Floats): Clarify
19860 cross-reference.
19861
cdfc721b
AM
19862 [BZ #15849]
19863 * manual/install.texi (Running make install): Mention
19864 --enable-pt-chown.
19865 * INSTALL: Regenerated.
19866
95e7cf29
MR
198672013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19868
19869 * csu/init-first.c (_init): Remove the !SHARED condition around
19870 FPU control word initialization.
19871 * elf/dl-support.c (_dl_fpu_control): New variable.
19872 (_dl_aux_init) <AT_FPUCW>: Initialize it.
19873 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19874 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19875 * math/test-fpucw-static.c: New file.
19876 * math/test-fpucw-ieee.c: New file.
19877 * math/test-fpucw-ieee-static.c: New file.
19878 * math/Makefile (tests): Add `test-fpucw-ieee' and
19879 `$(tests-static)'.
19880 (tests-static): New variable.
19881 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19882 dependency to...
19883 [($(build-shared),yes)]
19884 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19885 ... this.
19886 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19887 New dependency.
19888
83e43bf0
AM
198892013-09-09 Allan McRae <allan@archlinux.org>
19890
a9f5ce09
AM
19891 [BZ #15939]
19892 * manual/string.texi (Collation Functions): Fix typo in
19893 strcoll example.
19894 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19895
34829bc2
AM
19896 [BZ #15893]
19897 * stdlib/isomac.c (get_null_defines): Fix memory leak.
19898
3932737d
AM
19899 [BZ #15892]
19900 * libio/memstream.c (open_memstream): Fix memory leak.
19901 * libio/wmemstream.c (open_wmemstream): Likewise.
19902
83e43bf0
AM
19903 [BZ #15895]
19904 * nscd/netgroupcache.c: Fix nesting of ifdefs.
19905
0c66b8e9
WN
199062013-09-09 Will Newton <will.newton@linaro.org>
19907
19908 * malloc/Makefile: Add tst-realloc to tests.
19909 * malloc/tst-realloc.c: New file.
19910
f6b00fd1
AM
199112013-09-09 Allan McRae <allan@archlinux.org>
19912
19913 [BZ #15844]
19914 * COPYING: Update from GNU website to fix FSF address.
19915 * COPYING.LIB: Likewise.
19916
eec55e16
DM
199172013-09-06 David S. Miller <davem@davemloft.net>
19918
19919 * po/zh_TW.po: Update Chinese (traditional) translation from
19920 translation project.
19921
1ecbb381
RS
199222013-09-06 Richard Sandiford <richard@codesourcery.com>
19923 Joseph Myers <joseph@codesourcery.com>
19924
19925 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19926 "localeinfo.h".
19927 (obstack_chunk_alloc): New macro.
19928 (obstack_chunk_free): Likewise.
19929 (record_offset): New function.
19930 (init_locale_data): Likewise.
19931 (align_locale_data): Likewise.
19932 (add_locale_empty): Likewise.
19933 (add_locale_raw_data): Likewise.
19934 (add_locale_raw_obstack): Likewise.
19935 (add_locale_string): Likewise.
19936 (add_locale_wstring): Likewise.
19937 (add_locale_uint32): Likewise.
19938 (add_locale_uint32_array): Likewise.
19939 (add_locale_char): Likewise.
19940 (start_locale_structure): Likewise.
19941 (end_locale_structure): Likewise.
19942 (start_locale_prelude): Likewise.
19943 (end_locale_prelude): Likewise.
19944 (write_locale_data): Take locale_file structure rather than an
19945 iovec.
19946 * locale/programs/locfile.h: Include "obstack.h".
19947 (struct locale_file): Change to store locale file contents instead
19948 of header.
19949 (init_locale_data): New prototype.
19950 (align_locale_data): Likewise.
19951 (add_locale_empty): Likewise.
19952 (add_locale_raw_data): Likewise.
19953 (add_locale_raw_obstack): Likewise.
19954 (add_locale_string): Likewise.
19955 (add_locale_wstring): Likewise.
19956 (add_locale_uint32): Likewise.
19957 (add_locale_uint32_array): Likewise.
19958 (add_locale_char): Likewise.
19959 (start_locale_structure): Likewise.
19960 (end_locale_structure): Likewise.
19961 (start_locale_prelude): Likewise.
19962 (end_locale_prelude): Likewise.
19963 (write_locale_data): Update prototype.
19964 * locale/programs/3level.h (struct TABLE): Remove result field.
19965 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
19966 Use new locale_file interface.
19967 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
19968 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
19969 * locale/programs/ld-address.c (address_output): Use new
19970 locale_file interface.
19971 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
19972 NO_ADD_LOCALE.
19973 (collate_finish): Don't call collseq_table_finalize.
19974 (collate_output): Use new locale_file interface.
19975 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
19976 in file.
19977 (NO_FINALIZE): Change to NO_ADD_LOCALE.
19978 (TABLE): Move defines earlier in file.
19979 (ELEMENT): Likewise.
19980 (DEFAULT): Likewise.
19981 (wctrans_table_add): Move macro and inline function earlier in
19982 file.
19983 (struct wctype_table): Move type earlier in file.
19984 (add_locale_wctype_table): New static prototype.
19985 (struct locale_ctype_t): Use logical types instead of struct iovec
19986 pointers for members.
19987 (ctype_output): Use new locale_file interface.
19988 (wctype_table_finalize): Change to add_locale_wctype_table. Use
19989 new locale_file interface.
19990 (allocate_arrays): Update for use of new locale_file interface.
19991 * locale/programs/ld-identification.c (identification_output): Use
19992 new locale_file interface.
19993 * locale/programs/ld-measurement.c (measurement_output): Likewise.
19994 * locale/programs/ld-messages.c (messages_output): Likewise.
19995 * locale/programs/ld-monetary.c (monetary_output): Likewise.
19996 * locale/programs/ld-name.c (name_output): Likewise.
19997 * locale/programs/ld-numeric.c (numeric_output): Likewise.
19998 * locale/programs/ld-paper.c (paper_output): Likewise.
19999 * locale/programs/ld-telephone.c (telephone_output): Likewise.
20000 * locale/programs/ld-time.c (time_output): Likewise.
20001
e029e2e5
AZ
200022013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20003
20004 * benchtests/Makefile: Add memrchr benchmark.
20005 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
20006 benchmark as memrchr.
20007 * benchtests/bench-memrchr-ifunc.c: New file.
20008 * benchtests/bench-memrchr.c: New file.
20009
bbf6e8e4
WN
200102013-09-06 Will Newton <will.newton@linaro.org>
20011
20012 * benchtests/Makefile (string-bench): Add memcpy.
20013
6c82a2f8
CD
200142013-09-05 Carlos O'Donell <carlos@redhat.com>
20015 Cong Wang <amwang@redhat.com>
20016
e732c5f0 20017 [BZ #15850]
6c82a2f8
CD
20018 * sysdeps/unix/sysv/linux/bits/in.h
20019 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
20020 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
20021 before __USE_KERNEL_IPV6_DEFS uses.
20022 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
20023 IPPROTO_BEETPH.
20024 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
20025 sockaddr_in6, or ipv6_mreq.
20026
5430fc65
AZ
200272013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20028
20029 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
20030 memory access for final bytes in some large inputs.
20031 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
20032
4660856c
AZ
200332013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20034
20035 * string/test-memrchr.c: New file.
20036 * string/test-memrchr-ifunc.c: New file.
20037 * string/Makefile: Add new memrchr testcase.
20038
bb8ea713
MF
200392013-09-05 Mike Frysinger <vapier@gentoo.org>
20040
20041 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
20042 fanotify_init returns EPERM.
20043
b92a20b5
JM
200442013-09-04 Joseph Myers <joseph@codesourcery.com>
20045
20046 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
20047 errors.
20048 (top level): Treat second token from macro or constant entries for
20049 allowed headers as allowed.
20050 * include/complex.h: Condition internal declarations on
20051 [!_ISOMAC].
20052 * include/fenv.h: Condition include of <stdbool.h> and internal
20053 declarations on [!_ISOMAC].
7447ccd9
CL
20054
200552013-09-04 Chris Leonard <cjl@sugarlabs,.org>
20056
3e181dda 20057 [BZ #15923]
7447ccd9
CL
20058 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
20059
3f2e46a4
JM
200602013-09-04 Joseph Myers <joseph@codesourcery.com>
20061
20062 * configure.in (--enable-versioning): Remove configure option.
20063 (libc_cv_asm_symver_directive): Remove configure test.
20064 (libc_cv_ld_version_script_option): Likewise.
20065 (VERSIONING): Remove variable and AC_SUBST.
20066 (DO_VERSIONING): Remove AC_DEFINE.
20067 * configure: Regenerated.
20068 * config.h.in (DO_VERSIONING): Remove macro.
20069 * Makerules [$(versioning) = yes]: Change conditionals to
20070 [$(build-shared) = yes].
20071 * config.make.in (versioning): Remove variable.
20072 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
20073 [$(build-shared) = yes].
20074 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
20075 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
20076 * elf/Makefile [$(versioning) = yes]: Change conditionals to
20077 [$(build-shared) = yes].
20078 * extra-lib.mk [$(versioning) = yes]: Likewise.
20079 * hurd/Makefile [$(versioning) = yes]: Likewise.
20080 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
20081 [SHARED].
20082 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
20083 [SHARED].
20084 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20085 [SHARED && !NO_HIDDEN].
20086 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
20087 [SHARED].
20088 [SHARED && DO_VERSIONING]: Likewise..
20089 * libio/Makefile [$(versioning) = yes]: Change conditionals to
20090 [$(build-shared) = yes].
20091 * manual/install.texi (--disable-versioning): Remove
20092 documentation.
20093 * INSTALL: Regenerated.
20094 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
20095 to [SHARED].
20096 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
20097 [$(build-shared) = yes].
20098 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
20099 * sysdeps/i386/i686/multiarch/strstr-c.c
20100 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20101 [SHARED && !NO_HIDDEN].
20102 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
20103 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
20104 * sysdeps/powerpc/powerpc32/dl-machine.c
20105 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
20106 * sysdeps/powerpc/powerpc32/sysdep.h
20107 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
20108 to [SHARED && PIC && !NO_HIDDEN].
20109 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
20110 conditional to [SHARED].
20111
44558701
WN
201122013-09-04 Will Newton <will.newton@linaro.org>
20113
20114 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
20115 * benchtests/bench-string.h: Include bench-timing.h instead
20116 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
20117 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
20118 call to HP_TIMING_DIFF_INIT.
20119 * benchtests/bench-memccpy.c: Use bench-timing.h macros
20120 instead of hp-timing.h macros.
20121 * benchtests/bench-memchr.c: Likewise.
20122 * benchtests/bench-memcmp.c: Likewise.
20123 * benchtests/bench-memcpy.c: Likewise.
20124 * benchtests/bench-memmem.c: Likewise.
20125 * benchtests/bench-memmove.c: Likewise.
20126 * benchtests/bench-memset.c: Likewise.
20127 * benchtests/bench-rawmemchr.c: Likewise.
20128 * benchtests/bench-strcasecmp.c: Likewise.
20129 * benchtests/bench-strcasestr.c: Likewise.
20130 * benchtests/bench-strcat.c: Likewise.
20131 * benchtests/bench-strchr.c: Likewise.
20132 * benchtests/bench-strcmp.c: Likewise.
20133 * benchtests/bench-strcpy.c: Likewise.
20134 * benchtests/bench-strcpy_chk.c: Likewise.
20135 * benchtests/bench-strlen.c: Likewise.
20136 * benchtests/bench-strncasecmp.c: Likewise.
20137 * benchtests/bench-strncat.c: Likewise.
20138 * benchtests/bench-strncmp.c: Likewise.
20139 * benchtests/bench-strncpy.c: Likewise.
20140 * benchtests/bench-strnlen.c: Likewise.
20141 * benchtests/bench-strpbrk.c: Likewise.
20142 * benchtests/bench-strrchr.c: Likewise.
20143 * benchtests/bench-strspn.c: Likewise.
20144 * benchtests/bench-strstr.c: Likewise.
20145
cae16d66
WN
201462013-09-04 Will Newton <will.newton@linaro.org>
20147
20148 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
20149
ffa3cd7f
JM
201502013-09-03 Joseph Myers <joseph@codesourcery.com>
20151
20152 [BZ #15427]
20153 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
20154 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
20155 * math/libm-test.inc (lgamma_test_data): Add more tests.
20156 * sysdeps/i386/fpu/libm-test-ulps: Update.
20157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20158
8f02859f
OB
201592013-09-03 Ondřej Bílka <neleai@seznam.cz>
20160
20161 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
20162 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20163 Add ifunc.
20164 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20165 Add strcmp-sse2-unaligned
20166 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
20167
18d43716
MF
201682013-09-02 Mike Frysinger <vapier@gentoo.org>
20169
20170 * Versions.def (libc): Add GLIBC_2.19.
20171
ac444012
MF
201722013-09-02 Mike Frysinger <vapier@gentoo.org>
20173
20174 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
20175 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
20176
b7835e32
JM
201772013-09-02 Joseph Myers <joseph@codesourcery.com>
20178
20179 [BZ #14155]
20180 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
20181 intermediate calculations in recurrence.
20182 (__ieee754_ynf): Likewise.
20183 * math/libm-test.inc (jn_test_data): Do not allow spurious
20184 underflow exception. Add more tests.
20185 (yn_test_data): Add more tests.
20186 * sysdeps/i386/fpu/libm-test-ulps: Update.
20187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20188
8220f4f0
OB
201892013-09-02 Ondřej Bílka <neleai@seznam.cz>
20190
20191 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
20192
f24a6d08
OB
201932013-08-30 Ondřej Bílka <neleai@seznam.cz>
20194
20195 * csu/init-first.c: Fix then/than typos.
20196 * locale/programs/ld-collate.c: Likewise.
20197 * locale/programs/linereader.h: Likewise.
20198 * manual/charset.texi: Likewise.
20199 * manual/filesys.texi: Likewise.
20200 * manual/stdio.texi: Likewise.
20201 * manual/string.texi: Likewise.
20202 * stdlib/fmtmsg.c: Likewise.
20203 * sysdeps/i386/stpncpy.S: Likewise.
20204 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20205 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20206 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20207 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20208
382466e0
OB
202092013-08-30 Ondřej Bílka <neleai@seznam.cz>
20210
20211 * elf/dl-open.c: Fix typos.
20212 * iconvdata/gbbig5.c: Likewise.
20213 * iconvdata/iso-2022-jp.c: Likewise.
20214 * iconv/gconv_int.h: Likewise.
20215 * iconv/loop.c: Likewise.
20216 * nis/rpcsvc/nis.h: Likewise.
20217 * resolv/ns_name.c: Likewise.
20218 * stdio-common/vfscanf.c: Likewise.
20219 * streams/stropts.h: Likewise.
20220 * sunrpc/rpc_thread.c: Likewise.
20221 * sysdeps/i386/strpbrk.S: Likewise.
20222 * sysdeps/ieee754/k_standard.c: Likewise.
20223 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20224 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20225 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
20226 * sysdeps/mach/hurd/profil.c: Likewise.
20227 * sysdeps/s390/dl-procinfo.h: Likewise.
20228 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
20229 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20230 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
20231 * sysdeps/x86_64/dl-trampoline.S: Likewise.
20232 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20233
0186c6e9
OB
202342013-08-30 Ondřej Bílka <neleai@seznam.cz>
20235
20236 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
20237 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
20238
d4e16af1
OB
202392013-08-29 Ondřej Bílka <neleai@seznam.cz>
20240
20241 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
20242 aix specific files.
20243 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
20244 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
20245 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
20246 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
20247 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
20248 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
20249 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
20250 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
20251
88335980
TS
202522013-08-29 Thomas Schwinge <thomas@codesourcery.com>
20253 Roland McGrath <roland@hack.frob.com>
20254
20255 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
20256 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
20257
ed479b02
ST
202582013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
20259
20260 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
20261 __executable_start symbol instead of _start.
20262
f1cc4c86
TS
202632013-08-29 Thomas Schwinge <thomas@codesourcery.com>
20264
d821f07c
TS
20265 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
20266 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
20267 Move macros to...
20268 * sysdeps/gnu/ldsodefs.h: ... this new file.
20269
c54290cf
TS
20270 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
20271 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
20272 instead of ELFOSABI_LINUX.
20273
0007fc9b 20274 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
20275 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
20276 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
20277 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
20278 Likewise.
20279 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
20280 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
20281 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
20282 Likewise.
20283 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20284 (ibm_extended_long_double): Add ieee_nan member.
20285 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
20286 (do_test): New function.
20287
f1cc4c86
TS
20288 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
20289 TEST_TRUNC.
20290 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
20291 functions, renamed from truncdfsf_test, trunctfsf_test,
20292 trunctfdf_test.
20293 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
20294 functions.
20295 (do_test): Run all these.
20296
6f65e668
OB
202972013-08-29 Ondřej Bílka <neleai@seznam.cz>
20298
20299 * argp/argp-help.c: Fix typos.
20300 * argp/argp-parse.c: Likewise.
20301 * debug/backtracesyms.c: Likewise.
20302 * elf/elf.h: Likewise.
20303 * malloc/malloc.c: Likewise.
20304 * nis/nis_print.c: Likewise.
20305 * resolv/res_comp.c: Likewise.
20306 * stdlib/stdlib.h: Likewise.
20307 * sunrpc/clnt_tcp.c: Likewise.
20308 * sunrpc/clnt_udp.c: Likewise.
20309 * sunrpc/clnt_unix.c: Likewise.
20310 * sysdeps/unix/bsd/ptsname.c: Likewise.
20311 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
20312 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
20313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
20314 Likewise.
20315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
20316 Likewise.
20317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20318 Likewise.
6f65e668
OB
20319 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20320
3a309239
SP
203212013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20322
20323 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
20324 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20325
3b813b29
MF
203262013-08-27 Mike Frysinger <vapier@gentoo.org>
20327
20328 [BZ #15897]
20329 * dlfcn/Makefile (tests): Add bug-dl-leaf.
20330 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
20331 ($(objpfx)bug-dl-leaf): New rule.
20332 ($(objpfx)bug-dl-leaf.so): Likewise.
20333 ($(objpfx)bug-dl-leaf.out): Likewise.
20334 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
20335 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
20336 * dlfcn/bug-dl-leaf.c: New test.
20337 * dlfcn/bug-dl-leaf-lib.c: Likewise.
20338 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
20339 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
20340 (dlclose): Likewise.
20341 (dlmopen): Likewise.
20342
8cc3269f
RM
203432013-08-27 Roland McGrath <roland@hack.frob.com>
20344
7f9d0034
RM
20345 * include/netdb.h [!_ISOMAC]:
20346 Don't include <tls.h>.
20347 (h_errno, __libc_h_errno): Move declaration and macros out of
20348 [_LIBC_REENTRANT].
20349
fb431262
RM
20350 * include/resolv.h [_RESOLV_H_]:
20351 Don't include <tls.h>.
20352 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
20353 * resolv/res_libc.c: Don't include <tls.h>.
20354 (_res): Use __attribute__ ((nocommon)) in place of
20355 __attribute__ ((section (".bss"))).
20356
bd81123a
RM
20357 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
20358 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
20359
c4e42566
RM
20360 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
20361
f890a59b
RM
20362 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
20363 only under [SIOCGIFCONF && SIOCGIFNETMASK].
20364
20365 * resolv/res_mkquery.c: Include <sys/time.h>.
20366
5d1f0a09
RM
20367 * inet/ifreq.c: Moved to ...
20368 * sysdeps/unix/ifreq.c: ... here.
20369 * inet/ifreq.c: New file, true stub version.
20370
6fcf28b3
RM
20371 * socket/sa_len.c: New file.
20372 * socket/Makefile (aux): Add it.
20373 * sysdeps/unix/sysv/linux/Makefile
20374 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
20375 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
20376 and #include <socket/sa_len.c>.
20377 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
20378 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
20379
e041fb8b
RM
20380 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
20381 * bits/socket.h: ... here.
20382
8cc3269f
RM
20383 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
20384 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
20385 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
20386
5d228a43
AS
203872013-08-27 Andreas Schwab <schwab@suse.de>
20388
45b8accc
AS
20389 [BZ #15736]
20390 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
20391 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
20392 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
20393 * string/test-strcasecmp.c (test_main): Run tests in several
20394 locales.
20395 * string/test-strncasecmp.c (test_main): Likewise.
20396
5d228a43
AS
20397 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
20398 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
20399 to __strcasecmp_nonascii and __strncasecmp_nonascii.
20400 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
20401 (__strncasecmp_ssse3) [PIC]: Likewise.
20402
59d112a4
RM
204032013-08-26 Roland McGrath <roland@hack.frob.com>
20404
53234cc3
RM
20405 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
20406
59d112a4
RM
20407 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
20408 instead of explicitly declaring xdecrypt.
20409 * nis/nss_nis/nis-publickey.c: Likewise.
20410
595aba70
SP
204112013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20412
20413 [BZ #15890]
20414 * nscd/aicache.c: Include res_hconf.h.
20415 (addhstaiX): Initialize res_hconf.
20416
ffabd393
AS
204172013-08-26 Andreas Schwab <schwab@suse.de>
20418
20419 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
20420 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
20421
e0a69f5c
SP
204222013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20423
20424 * nscd/aicache.c (addhstaiX): Fix indentation.
20425
8c12f01d
MF
204262013-08-25 Mike Frysinger <vapier@gentoo.org>
20427
20428 * configure.ac: Quote $build_pt_chown test.
20429 * configure: Regenerated.
20430
8fe89494
JM
204312013-08-23 Joseph Myers <joseph@codesourcery.com>
20432
20433 [BZ #15532]
20434 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
20435 * math/s_cexpf.c (__cexpf): Likewise.
20436 * math/s_cexpl.c (__cexpl): Likewise.
20437 * math/libm-test.inc (cexp_test_data): Correct expected return
20438 value for NaN + i0. Add another test.
20439
75b181d6
DM
204402013-08-22 David S. Miller <davem@davemloft.net>
20441
20442 * po/ca.po: Update Catalan translation from translation project.
936241e4 20443 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 20444
acd06bb1
JM
204452013-08-21 Joseph Myers <joseph@codesourcery.com>
20446
20447 [BZ #15797]
20448 * math/s_fdim.c (__fdim): Check for infinite arguments if result
20449 is infinite, not alongside NaN test.
20450 * math/s_fdimf.c (__fdimf): Likewise.
20451 * math/s_fdiml.c (__fdiml): Likewise.
20452 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
20453 errno is unchanged.
20454
c0c3f78a
OB
204552013-08-21 Ondřej Bílka <neleai@seznam.cz>
20456
20457 * argp/argp-help.c: Fix typos.
20458 * crypt/speeds.c: Likewise.
20459 * csu/check_fds.c: Likewise.
20460 * elf/dl-load.c: Likewise.
20461 * elf/dl-open.c: Likewise.
20462 * elf/reldep3.c: Likewise.
20463 * elf/reldep.c: Likewise.
20464 * elf/sprof.c: Likewise.
20465 * iconv/iconv_charmap.c: Likewise.
20466 * iconv/skeleton.c: Likewise.
20467 * iconv/strtab.c: Likewise.
20468 * io/lockf64.c: Likewise.
20469 * libio/libioP.h: Likewise.
20470 * resolv/gai_notify.c: Likewise.
20471 * resolv/ns_name.c: Likewise.
20472 * resolv/ns_samedomain.c: Likewise.
20473 * resolv/res_send.c: Likewise.
20474 * stdlib/random.c: Likewise.
20475 * sunrpc/rpc/xdr.h: Likewise.
20476 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
20477 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20478 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20479 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20480 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20481 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20482 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20483 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20484 * sysdeps/mach/hurd/check_fds.c: Likewise.
20485 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20486 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20487 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20488 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20489 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20490 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20491 * sysdeps/pthread/aio_notify.c: Likewise.
20492 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
20493 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
20494 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
20495 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20496 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20497
46ed1038
LD
204982013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20499
20500 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
20501 version if bit_Slow_SSE4_2 is set.
20502 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20503 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20504
d400dcac
AZ
205052013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20506
20507 [BZ #15867]
20508 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
20509 trampoline stack frame information.
20510 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
20511 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
20512 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
20513 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
20514 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
20515 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20516 (_libc_vdso_platform_setup): Initialize the signal trampolines.
20517 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
20518 sa_flags value.
20519 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
20520 interrupting a syscall and set with option SA_SIGINFO.
20521
42c8fdd8
JM
205222013-08-20 Joseph Myers <joseph@codesourcery.com>
20523
c980f2f4
JM
20524 [BZ #15531]
20525 * math/s_cproj.c (__cproj): Only return an infinity if one part of
20526 argument is infinite.
20527 * math/s_cprojf.c (__cprojf): Likewise.
20528 * math/s_cprojl.c (__cprojl): Likewise.
20529 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
20530 * math/libm-test.inc (cproj_test_data): Add more tests.
20531
0716c4fc
JM
20532 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
20533
42c8fdd8
JM
20534 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
20535 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
20536 size. Use __ffs to determine corresponding shift.
20537
b31469d0
JM
205382013-08-20 Joseph Myers <joseph@codesourcery.com>
20539 Roland McGrath <roland@hack.frob.com>
20540
20541 * Makefile (INSTALL): Remove trailing blank lines from output of
20542 makeinfo.
20543
4e39af6e
AK
205442013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20545
20546 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
20547 Align 32 bit compat elf_greg to 8 bytes.
20548
f315524e
AA
205492013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
20550
20551 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
20552
1326ba1a
SP
205532013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20554
20555 * string/strcoll_l.c (coll_seq): New structure.
20556 (get_next_seq_cached): New function.
20557 (get_next_seq): New function.
20558 (do_compare): New function.
20559 (STRCOLL): Use GNU style definition. Simplify implementation
20560 by using get_next_seq, get_next_seq_cached and do_compare.
20561
91ce4085
FW
205622013-08-16 Florian Weimer <fweimer@redhat.com>
20563
20564 [BZ #14699]
20565 CVE-2013-4237
20566 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
20567 member.
20568 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
20569 member.
20570 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
20571 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
20572 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
20573 conditional.
20574 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
20575 GETDENTS_64BIT_ALIGNED.
20576 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20577 * manual/filesys.texi (Reading/Closing Directory): Document
20578 ENAMETOOLONG return value of readdir_r. Recommend readdir more
20579 strongly.
20580 * manual/conf.texi (Limits for Files): Add portability note to
20581 NAME_MAX, PATH_MAX.
20582 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
20583
ca0a6bc4
AS
205842013-08-13 Andreas Schwab <schwab@suse.de>
20585
20586 [BZ #15749]
20587 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
20588 of fabs.
20589 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
20590 LDBL_MAX_EXP >= 16384]: Add tests for it.
20591
6c1fd795
DM
205922013-08-12 David S. Miller <davem@davemloft.net>
20593
20594 * version.h (RELEASE): Set to "development".
20595 (VERSION): Set to "2.18.90".
20596 * NEWS: Add 2.19 section.
20597
31ad488d
DM
205982013-08-03 David S. Miller <davem@davemloft.net>
20599
20600 * po/ko.po: Update Korean translation from translation project.
20601
db24e684
DM
206022013-08-01 David S. Miller <davem@davemloft.net>
20603
20604 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
20605 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
20606 Bilka.
20607
f723285b
DM
206082013-07-30 David S. Miller <davem@davemloft.net>
20609
20610 * po/fr.po: Update French translation from translation project.
20611
3cbc52db
DM
206122013-07-28 David S. Miller <davem@davemloft.net>
20613
30bbc0cc
DM
20614 * po/cs.po: Update Czech translation from translation project.
20615
3cbc52db
DM
20616 * po/sv.po: Update Swedish translation from translation project.
20617
d492e6d0
DM
206182013-07-27 David S. Miller <davem@davemloft.net>
20619
f1a7f492
DM
20620 * po/eo.po: Update Esperanto translation from translation project.
20621
90e62a4a
DM
20622 * po/vi.po: Update Vietnamese translation from translation project.
20623
d492e6d0
DM
20624 * po/de.po: Update German translation from translation project.
20625
d4baa62d
DM
206262013-07-26 David S. Miller <davem@davemloft.net>
20627
641aa7b4
DM
20628 * po/bg.po: Update Bulgarian translation from translation project.
20629
d4baa62d
DM
20630 * po/nl.po: Update Dutch translation from translation project.
20631 * po/pl.po: Update Polish translation from translation project.
20632 * po/ru.po: Update Russian translation from translation project.
20633
61a9dcb9
DM
206342013-07-24 David S. Miller <davem@davemloft.net>
20635
20636 * po/libc.pot: Update.
20637
7b1f8b58
AZ
206382013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20639
20640 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
20641 variable page size.
20642 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
20643 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
20644 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
20645
a8fc7a03
AK
206462013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20647
20648 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
20649
e4608715
CD
206502013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20651 Andreas Schwab <schwab@suse.de>
20652 Roland McGrath <roland@hack.frob.com>
20653 Joseph Myers <joseph@codesourcery.com>
20654 Carlos O'Donell <carlos@redhat.com>
20655
20656 [BZ #15755]
20657 * config.h.in: Define HAVE_PT_CHOWN.
20658 * config.make.in (build-pt-chown): New variable.
20659 * configure.in (--enable-pt_chown): New configure option.
20660 * configure: Regenerate.
20661 * login/Makefile: Include Makeconfig. Build pt_chown only if
20662 build-pt-chown is enabled.
20663 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
20664 pt_chown to fix pty ownership.
20665 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
20666 CLOSE_ALL_FDS.
20667 * manual/install.texi (Configuring and compiling): Mention
20668 --enable-pt_chown. Add @findex for grantpt.
20669 * INSTALL: Regenerate.
20670
da2d62df
DM
206712013-07-20 David S. Miller <davem@davemloft.net>
20672
20673 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
20674 difference between 32-bit and 64-bit.
20675
d7e06450
CD
206762013-07-15 Carlos O'Donell <carlos@redhat.com>
20677
20678 [BZ #15711]
20679 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
20680 Avoid system header dependency with -ffreestanding.
20681 ($(objpfx)bits/syscall%d): Likewise.
20682
f959cfd7
DM
206832013-07-13 David S. Miller <davem@davemloft.net>
20684
20685 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
20686 underflows from atanl/atan2l due to bug 15319.
20687 (casinh_test_data): Likewise.
20688
c61f8513
DM
206892013-07-07 David S. Miller <davem@davemloft.net>
20690
20691 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20692
72c90ed0
JA
206932013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
20694
20695 * sysdeps/i386/fpu/libm-test-ulps: Update.
20696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20697
52dfbe13
SP
206982013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20699
20700 * configure.in (--enable-lock-elision): Fix message text.
20701 * INSTALL: Regenerate.
20702 * configure: Regenerate.
20703
3f169543
AZ
207042013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20705
20706 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20707
521c6785
AJ
207082013-07-03 Andreas Jaeger <aj@suse.de>
20709
20710 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
20711 define.
20712 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
20713 (ptrace_peeksiginfo_args): Add.
20714 (__ptrace_peeksiginfo_flags): Add.
20715 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20716 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20717 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20718
d2cc15cb
AM
207192013-07-03 Allan McRae <allan@archlinux.org>
20720
20721 * sysdeps/i386/fpu/libm-test-ulps: Update.
20722
3aaeeca7
DM
207232013-07-02 David S. Miller <davem@davemloft.net>
20724
20725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20726
5314ed1a
MT
207272013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
20728
20729 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20730
67338156
JM
207312013-07-02 Joseph Myers <joseph@codesourcery.com>
20732
20733 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20735
1717da59
AK
207362013-07-02 Andi Kleen <ak@linux.intel.com>
20737
20738 * config.h.in (ENABLE_LOCK_ELISION): Add.
20739 * configure.in (--enable-lock-elision): Add option.
20740 * manual/install.texi: Document --enable lock elision.
20741 * configure: Regenerate
20742 * INSTALL: Regenerate.
20743
1c81621c
L
207442013-07-02 H.J. Lu <hongjiu.lu@intel.com>
20745
20746 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
20747 SSE4.2 strcasecmp for libc.a.
20748 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20749
77f01ab5
JM
207502013-07-02 Joseph Myers <joseph@codesourcery.com>
20751
20752 [BZ #13304]
20753 * soft-fp/op-common.h (_FP_FMA): New macro.
20754 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
20755 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
20756 (_FP_MUL_MEAT_1_imm): ... here.
20757 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
20758 (_FP_MUL_MEAT_1_wide): ... here.
20759 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
20760 (_FP_MUL_MEAT_1_hard): ... here.
20761 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
20762 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
20763 (_FP_MUL_MEAT_2_wide): ... here.
20764 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
20765 (_FP_MUL_MEAT_2_wide_3mul): ... here.
20766 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
20767 (_FP_MUL_MEAT_2_gmp): ... here.
20768 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
20769 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
20770 (_FP_MUL_MEAT_4_wide): ... here.
20771 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
20772 (_FP_MUL_MEAT_4_gmp): ... here.
20773 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
20774 (_FP_WFRACBITS_DW_S): Likewise.
20775 (_FP_WFRACXBITS_DW_S): Likewise.
20776 (_FP_HIGHBIT_DW_S): Likewise.
20777 (FP_FMA_S): Likewise.
20778 (_FP_FRAC_HIGH_DW_S): Likewise.
20779 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
20780 (_FP_WFRACBITS_DW_D): Likewise.
20781 (_FP_WFRACXBITS_DW_D): Likewise.
20782 (_FP_HIGHBIT_DW_D): Likewise.
20783 (FP_FMA_D): Likewise.
20784 (_FP_FRAC_HIGH_DW_D): Likewise.
20785 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
20786 (_FP_WFRACBITS_DW_E): Likewise.
20787 (_FP_WFRACXBITS_DW_E): Likewise.
20788 (_FP_HIGHBIT_DW_E): Likewise.
20789 (FP_FMA_E): Likewise.
20790 (_FP_FRAC_HIGH_DW_E): Likewise.
20791 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
20792 (_FP_WFRACBITS_DW_Q): Likewise.
20793 (_FP_WFRACXBITS_DW_Q): Likewise.
20794 (_FP_HIGHBIT_DW_Q): Likewise.
20795 (FP_FMA_Q): Likewise.
20796 (_FP_FRAC_HIGH_DW_Q): Likewise.
20797 * soft-fp/fmasf4.c: New file.
20798 * soft-fp/fmadf4.c: Likewise.
20799 * soft-fp/fmatf4.c: Likewise.
20800
6308fd9a
LD
208012013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20802
20803 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20804 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
20805 Silvermont.
20806 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
20807 macro.
20808 (index_Slow_SSE4_2): Likewise.
20809 (index_Prefer_PMINUB_for_stringop): Likewise.
20810 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
20811 bit_Slow_SSE4_2 is set.
20812 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20813 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20814
89cd9569
RA
208152013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20816
20817 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
20818 rtld_global._dl_hwcap2.
20819 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
20820 POWER8.
20821 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
20822 POWER8 feature descriptions defined in _dl_hwcap2.
20823 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
20824 string handling for POWER8 feature bits.
20825 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
20826 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
20827 _dl_powerpc_cap_flags.
20828 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
20829 * sysdeps/powerpc/rtld-global-offsets.sym
20830 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
20831 _dl_hwcap2 in the rtld_global_ro structure.
20832
1ae8bfe0
RA
208332013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20834
20835 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
20836 hardware capabilities in support of AT_HWCAP2.
20837 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
20838 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
20839 GLRO(dl_hwcap2).
20840 (_dl_show_auxv): Add support for calling _dl_procinfo to display
20841 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
20842 explicitly the unknown a_type display mechanism is used.
20843 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
20844 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
20845 struct member.
20846 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
20847 to macro prototype for AT_HWCAP2 support.
20848 * sysdeps/i386/dl-procinfo.h: Likewise.
20849 * sysdeps/s390/dl-procinfo.h: Likewise.
20850 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
20851 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
20852 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
20853 return -1 for unknown a_type display fallback.
20854 * sysdeps/sparc/dl-procinfo.h: Likewise.
20855 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
20856 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
20857
8fbec010
JM
208582013-06-28 Joseph Myers <joseph@codesourcery.com>
20859
20860 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
20861 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
20862
0432680e
PY
208632013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
20864
20865 [BZ #12492]
20866 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
20867 mprotect making __stack_prot writable.
20868
ce61a2ad
NF
208692013-06-28 Nathan Froyd <froydnj@codesourcery.com>
20870 Joseph Myers <joseph@codesourcery.com>
20871
20872 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20873 as being properly aligned.
20874
f91f1c0f
MR
208752013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
20876
3d0f5d0c
MR
20877 * dlfcn/modstatic5.c: New file.
20878 * dlfcn/tststatic5.c: New file.
20879 * dlfcn/Makefile (tests): Add tststatic5.
20880 (tests-static): Likewise.
20881 (modules-names): Add modstatic5.
20882 (tststatic5-ENV): New variable.
20883 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20884
f91f1c0f
MR
20885 [BZ #15022]
20886 * elf/dl-support.c (_dl_main_map): New variable.
20887 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20888 (_dl_nns, _dl_load_adds): Set to 1.
20889 (_dl_initial_searchlist): Refer to _dl_main_map.
20890 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20891 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20892 call to _dl_get_origin.
20893 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20894 around call_map.
20895 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20896 * dlfcn/modstatic3.c: New file.
20897 * dlfcn/tststatic3.c: New file.
20898 * dlfcn/tststatic4.c: New file.
20899 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20900 (tests-static): Likewise.
20901 (modules-names): Add modstatic3.
20902 (tststatic3-ENV, tststatic4-ENV): New variables.
20903 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20904 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20905
cbe7d24b
JM
209062013-06-26 Joseph Myers <joseph@codesourcery.com>
20907
20908 * configure.in (CC): Require GCC version 4.4 or later.
20909 * configure: Regenerated.
20910 * manual/install.texi (Tools for Compilation): Update GCC version
20911 requirement.
20912 * INSTALL: Regenerated.
20913
11b8a0e1
LD
209142013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20915
20916 [BZ #15674]
bb5bb87c
L
20917 * string/test-memcmp.c (check2): New.
20918 (main): Call check2.
20919
11b8a0e1
LD
20920 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20921
b0037103
MR
209222013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
20923
20924 [BZ #15022]
20925 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20926 over to...
20927 (dl_open_worker) [!SHARED]: ... here.
20928
c18c701d
RA
209292013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20930
20931 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20932
1d17fa5f
RH
209332013-06-25 Richard Henderson <rth@redhat.com>
20934
20935 * locale/programs/locarchive.c: Include <libc-internal.h>
20936
8fcb833a
JM
209372013-06-25 Joseph Myers <joseph@codesourcery.com>
20938
20939 * manual/texinfo.tex: Update to version 2013-06-21.17, with
20940 trailing whitespace removed.
20941
17db6e8d
MF
209422013-06-24 Mike Frysinger <vapier@gentoo.org>
20943
20944 [BZ #10283]
17db6e8d
MF
20945 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20946 * locale/programs/locarchive.c: Include libc-mmap.h.
20947 (prepare_address_space): Take two new outputs (the mmap base and len).
20948 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
20949 values.
20950 (create_archive): Declare new mmap base and len values for
20951 prepare_address_space, and store the result in ah.
20952 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20953 (enlarge_archive): If ah->mmap_base is not NULL, use that and
20954 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20955 Declare new mmap base and len values for
20956 prepare_address_space, and store the result in new_ah.
20957 (open_archive): Declare new mmap base and len values for
20958 prepare_address_space, and store the result in ah.
20959 (close_archive): If ah->mmap_base is not NULL, use that and
20960 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20961 * sysdeps/generic/libc-mmap.h: New file.
20962
d605071e
MF
209632013-06-24 Mike Frysinger <vapier@gentoo.org>
20964
20965 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
20966 (ALIGN_UP): Likewise.
20967 (PTR_ALIGN_DOWN): Likewise.
20968 (PTR_ALIGN_UP): Likewise.
20969
2f063a6e
RA
209702013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20971
20972 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
20973 entry mapped to PPC_PLATFORM_POWER8.
20974 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
20975 POWER8.
20976 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
20977 (_dl_string_platform): Add case for exporting platform position for
20978 POWER8.
20979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
20980 search path to sysdeps/powerpc/powerpc32/power8 directory.
20981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
20982 search path to sysdeps/powerpc/powerpc64/power8 directory.
20983 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
20984 power7 directories.
20985 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
20986 power7 directories.
20987
a31ee4b3
SP
209882013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20989
a74ca98f
SP
20990 * INSTALL: Regenerate.
20991
a31ee4b3
SP
20992 * nscd/connections.c (nscd_init): Fix comment.
20993
695c378f
JM
209942013-06-22 Joseph Myers <joseph@codesourcery.com>
20995
d8412221
JM
20996 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
20997
695c378f
JM
20998 [BZ #15667]
20999 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
21000 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
21001
d1d54715
MR
210022013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
21003
21004 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
21005 DL_DST_REQ_STATIC.
21006 (DL_DST_REQ_STATIC): Remove macro.
21007
8fdda7af
JM
210082013-06-21 Joseph Myers <joseph@codesourcery.com>
21009
21010 [BZ #7006]
21011 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
21012 with a shift of 0 bits.
21013
f3bc5e5a
MR
210142013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
21015
21016 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
21017 $(tststatic-ENV).
21018
be09e8c9
KK
210192013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21020
21021 [BZ #15655]
21022 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
21023
85c2e611
AZ
210242013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21025
21026 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
21027 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
21028 accepts -fno-tree-loop-distribute-patterns.
21029 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
21030 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
21031 recursive call.
21032 * string/memset.c (memset): Likewise.
21033 * string/test-memmove.c (simple_memmove): Disable loop transformation
21034 to library calls.
21035 * string/test-memset.c (simple_memset): Likewise.
21036 * benchtests/bench-memmove.c (simple_memmove): Likewise.
21037 * benchtests/bench-memset.c (simple_memset): Likewise.
21038 * configure: Regenerated.
21039
c91e0825
JM
210402013-06-20 Joseph Myers <joseph@codesourcery.com>
21041
b8c792af
JM
21042 * math/test-misc.c (main): Ignore fesetround failure when failures
21043 of subsequent rounding tests would be ignored.
21044
c91e0825
JM
21045 [BZ #15654]
21046 * math/fedisblxcpt.c (fedisableexcept): Return 0.
21047 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
21048 * math/fegetenv.c (__fegetenv): Return 0.
21049 * math/fegetexcept.c (fegetexcept): Return 0.
21050 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
21051 FE_TONEAREST.
21052 * math/feholdexcpt.c (feholdexcept): Return 0.
21053 * math/fesetenv.c (__fesetenv): Return 0.
21054 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
21055 argument FE_TONEAREST.
21056 * math/feupdateenv.c (__feupdateenv): Return 0.
21057 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
21058
bfcacbde
RM
210592013-06-18 Roland McGrath <roland@hack.frob.com>
21060
21061 * elf/rtld-Rules (rtld-compile-command.S): New variable.
21062 (rtld-compile-command.s, rtld-compile-command.c): New variables.
21063 ($(objpfx)rtld-%.os rules): Use them.
21064
e55a9b25
AZ
210652013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21066
21067 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
21068 fields.
21069
346d65b3
RM
210702013-06-17 Roland McGrath <roland@hack.frob.com>
21071
12086fb4
RM
21072 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
21073 length of target pattern, then descending length of dependency pattern.
21074 * configure.in (AWK): Require gawk 3.1.2 or newer.
21075 * manual/install.texi (Tools for Compilation): Say that we do.
21076 * configure: Regenerated.
21077
346d65b3
RM
21078 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
21079 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
21080 * scripts/sysd-rules.awk: ... this new script.
21081 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
21082 than a glob-style pattern.
21083
1a846317
JM
210842013-06-17 Joseph Myers <joseph@codesourcery.com>
21085
21086 * math/test-misc.c (main): Do not treat incorrectly rounded
21087 conversions as failure unless ROUNDING_TESTS passes.
21088
8fc75e6f
JM
210892013-06-15 Joseph Myers <joseph@codesourcery.com>
21090
3711a167
JM
21091 [BZ #15631]
21092 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
21093 restore exception state around main square root computation, then
21094 check for inexactness explicitly.
21095
8fc75e6f
JM
21096 * math/libm-test.inc (fma_test_data): Add another test.
21097
61dd6208
SP
210982013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21099
adf23d2c
SP
21100 * manual/threads.texi (Non-POSIX Extensions): New document
21101 node. Document pthread_getattr_default_np and
21102 pthread_setattr_default_np.
21103
61dd6208
SP
21104 * Versions.def (libpthread): Add GLIBC_2.18.
21105 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
21106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21107 Likewise.
21108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21109 Likewise.
21110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21111 Likewise.
21112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21113 Likewise.
21114 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
21115 Likewise.
21116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21117 Likewise.
21118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21119 Likewise.
21120 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21121 Likewise.
21122 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21123 Likewise.
21124
d086fc7b
LD
211252013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21126
21127 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21128 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
21129
747ef469
SP
211302013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21131 H.J. Lu <hjl.tools@gmail.com>
21132
21133 [BZ #15627]
21134 * sysdeps/x86_64/rtld-memset.c: Remove file.
21135 * sysdeps/x86_64/rtld-memset.S: New file.
21136
1b2feed2
JM
211372013-06-14 Joseph Myers <joseph@codesourcery.com>
21138
21139 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
21140 (test_in_one_mode): Take arguments for whether the rounding mode
21141 is supported for each floating-point type.
21142 (do_test): Pass new arguments to test_in_one_mode using
21143 ROUNDING_TESTS.
21144
a58ad3f8
RM
211452013-06-13 Roland McGrath <roland@hack.frob.com>
21146
21147 * posix/tst-waitid.c (do_test): Distinguish different instances of
21148 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
21149 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
21150 before entering the kernel for waitpid.
21151
c204ab28
SP
211522013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21153
21154 * NEWS: Fix note on clock function precision. Text by Roland
21155 McGrath.
21156
f4a29fba
RM
211572013-06-13 Roland McGrath <roland@hack.frob.com>
21158
21159 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
21160 it into place only when and if the sanity check passes.
21161
1f24b9ad
JM
211622013-06-13 Joseph Myers <joseph@codesourcery.com>
21163
21164 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
21165 output for whether conversion result is exact. Take argument
21166 indicating whether type is IBM long double.
21167 (round_for_all): Change need_exact field to ibm_ld.
21168 * stdlib/tst-strtod-round.c (struct exactness): New type.
21169 (struct test): Change bool ld_ok field to struct exactness exact.
21170 (TEST): Update all definitions for change to field.
21171 (tests): Regenerate array contents.
21172 (test_in_one_mode): Take pointer to new field instead of old ld_ok
21173 field value. Check for IBM long double here.
21174 (do_test): Update calls to test_in_one_mode.
21175
58206c68
SP
211762013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21177
21178 [BZ #12515]
21179 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
21180 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
21181
2d6f4c5b 211822013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
21183
21184 [BZ #15605]
21185 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
21186 generated by the compiler on loop optimizations.
21187 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
21188 general definitions.
21189
94f2c076
JM
211902013-06-12 Joseph Myers <joseph@codesourcery.com>
21191
21192 * math/bug-nextafter.c: Include <math-tests.h>.
21193 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21194 the relevant type.
21195 * math/bug-nexttoward.c: Include <math-tests.h>.
21196 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21197 the relevant type.
21198 * math/test-misc.c: Include <math-tests.h>.
21199 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21200 the relevant type.
21201
e0e50a0a
AJ
212022013-06-12 Andreas Jaeger <aj@suse.de>
21203
21204 * po/ia.po: Update Interlingua translation from translation
21205 project.
21206
25061094
SP
212072013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21208
21209 * include/fenv.h: Include stdbool.h.
21210 (struct rm_ctx): New structure.
21211 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
21212 Define macro.
21213 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
21214 (SET_RESTORE_ROUNDF): Likewise.
21215 (SET_RESTORE_ROUNDL): Likewise.
21216 (SET_RESTORE_ROUND_NOEX): Likewise.
21217 (SET_RESTORE_ROUND_NOEXF): Likewise.
21218 (SET_RESTORE_ROUND_NOEXL): Likewise.
21219 (SET_RESTORE_ROUND_53BIT): Likewise.
21220 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
21221 (libc_feresetround_noexf_ctx): Likewise.
21222 (libc_feresetround_noexl_ctx): Likewise.
21223 (libc_feholdsetround_53bit_ctx): Likewise.
21224 (libc_feresetround_53bit_ctx): Likewise.
21225 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
21226 (libc_feholdexcept_setround_sse_ctx): New function.
21227 (libc_fesetenv_sse_ctx): Likewise.
21228 (libc_feupdateenv_sse_ctx): Likewise.
21229 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
21230 (libc_feholdexcept_setround_387_ctx): Likewise.
21231 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
21232 (libc_feholdsetround_387_prec_ctx): Likewise.
21233 (libc_feholdsetround_387_ctx): Likewise.
21234 (libc_feholdsetround_387_53bit_ctx): Likewise.
21235 (libc_feholdsetround_sse_ctx): Likewise.
21236 (libc_feresetround_sse_ctx): Likewise.
21237 (libc_feresetround_387_ctx): Likewise.
21238 (libc_feupdateenv_387_ctx): Likewise.
21239 (libc_feholdexcept_setroundf_ctx): Define macro.
21240 (libc_fesetenvf_ctx): Likewise.
21241 (libc_feupdateenvf_ctx): Likewise.
21242 (libc_feholdsetroundf_ctx): Likewise.
21243 (libc_feresetroundf_ctx): Likewise.
21244 (libc_feholdexcept_setround_ctx): Likewise.
21245 (libc_fesetenv_ctx): Likewise.
21246 (libc_feupdateenv_ctx): Likewise.
21247 (libc_feholdsetround_ctx): Likewise.
21248 (libc_feresetround_ctx): Likewise.
21249 (libc_feholdexcept_setroundl_ctx): Likewise.
21250 (libc_feupdateenvl_ctx): Likewise.
21251 (libc_feholdsetroundl_ctx): Likewise.
21252 (libc_feresetroundl_ctx): Likewise.
21253 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
21254 (libc_feresetround_53bit_ctx): Likewise.
21255
59b30555
SP
212562013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21257
21258 * locale/iso-639.def: Convert to UTF-8.
21259
f1d73d30
JM
212602013-06-11 Joseph Myers <joseph@codesourcery.com>
21261
21262 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
21263 (EXCEPTION_TESTS_double): Likewise.
21264 (EXCEPTION_TESTS_long_double): Likewise.
21265 (EXCEPTION_TESTS): Likewise.
21266 * math/libm-test.inc (test_exceptions): Only test exceptions if
21267 EXCEPTION_TESTS (FLOAT).
21268
94aca5e7
SP
212692013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21270
21271 * benchtests/Makefile (string-bench): Add strcpy_chk and
21272 stpcpy_chk.
21273 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
21274 * benchtests/bench-stpcpy_chk.c: New file.
21275 * benchtests/bench-strcpy_chk-ifunc.c: New file.
21276 * benchtests/bench-strcpy_chk.c: New file.
21277 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
21278 code.
21279 (do_test): Likewise.
21280
fac0c5f2
RA
212812013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21282
21283 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
21284 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
21285 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
21286 with tabs where appropriate.
21287 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
21288 dl-procinfo.h.
21289 [PPC_PLATFORM_PPC440]: Likewise.
21290 [PPC_PLATFORM_PPC464]: Likewise.
21291 [PPC_PLATFORM_PPC476]: Likewise.
21292 (_dl_string_platform): Add support for detecting ppc405, ppc440,
21293 ppc464, and ppc476 platform strings merging from ports/
21294 dl-procinfo.h.
21295
f22bc486
AS
212962013-06-11 Andreas Schwab <schwab@suse.de>
21297
21298 [BZ #14991]
21299 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
21300 (from_ucs4_idx): Regenerate.
21301 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
21302 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
21303 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
21304 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
21305 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
21306 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
21307 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
21308 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
21309 from FROM_LOOP and TO_LOOP specific macros.
21310 (BODY): Handle combining characters.
21311 * iconvdata/BIG5HKSCS.irreversible: Update.
21312 * iconvdata/BIG5HKSCS.precomposed: New file.
21313 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
21314 characters.
21315 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
21316
c1f75dc3
SP
213172013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21318
4eacded2
SP
21319 * include/sys/time.h: Fix indentation and add copyright header.
21320
fec799f8
SP
21321 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
21322 (do_test): Likewise.
21323 * string/test-memchr.c (do_one_test): Likewise.
21324 (do_test): Likewise.
21325 * string/test-memcmp.c (do_one_test): Likewise.
21326 (do_test): Likewise.
21327 * string/test-memcpy.c (do_one_test): Likewise.
21328 (do_test): Likewise.
21329 * string/test-memmem.c (do_one_test): Likewise.
21330 (do_test): Likewise.
21331 (do_random_tests): Likewise.
21332 * string/test-memmove.c (do_one_test): Likewise.
21333 (do_test): Likewise.
21334 * string/test-memset.c (do_one_test): Likewise.
21335 (do_test): Likewise.
21336 * string/test-rawmemchr.c (do_one_test): Likewise.
21337 (do_test): Likewise.
21338 * string/test-strcasecmp.c (do_one_test): Likewise.
21339 (do_test): Likewise.
21340 * string/test-strcasestr.c (do_one_test): Likewise.
21341 (do_test): Likewise.
21342 * string/test-strcat.c (do_one_test): Likewise.
21343 (do_test): Likewise.
21344 * string/test-strchr.c (do_one_test): Likewise.
21345 (do_test): Likewise.
21346 * string/test-strcmp.c (do_one_test): Likewise.
21347 (do_test): Likewise.
21348 * string/test-strcpy.c (do_one_test): Likewise.
21349 (do_test): Likewise.
21350 * string/test-string.h: Likewise.
21351 (test_init): Likewise.
21352 * string/test-strlen.c (do_one_test): Likewise.
21353 (do_test): Likewise.
21354 * string/test-strncasecmp.c (do_one_test): Likewise.
21355 (do_test): Likewise.
21356 * string/test-strncat.c (do_one_test): Likewise.
21357 (do_test): Likewise.
21358 * string/test-strncmp.c (do_one_test): Likewise.
21359 (do_test_limit): Likewise.
21360 (do_test): Likewise.
21361 * string/test-strncpy.c (do_one_test): Likewise.
21362 (do_test): Likewise.
21363 * string/test-strnlen.c (do_one_test): Likewise.
21364 (do_test): Likewise.
21365 * string/test-strpbrk.c (do_one_test): Likewise.
21366 (do_test): Likewise.
21367 * string/test-strrchr.c (do_one_test): Likewise.
21368 (do_test): Likewise.
21369 * string/test-strspn.c (do_one_test): Likewise.
21370 (do_test): Likewise.
21371 * string/test-strstr.c (do_one_test): Likewise.
21372 (do_test): Likewise.
21373
97020474
SP
21374 * benchtests/Makefile (string-bench): Add string benchmarks.
21375 * benchtests/bench-bcopy-ifunc.c: New file.
21376 * benchtests/bench-bcopy.c: New file.
21377 * benchtests/bench-bzero-ifunc.c: New file.
21378 * benchtests/bench-bzero.c: New file.
21379 * benchtests/bench-memccpy-ifunc.c: New file.
21380 * benchtests/bench-memccpy.c: New file.
21381 * benchtests/bench-memchr-ifunc.c: New file.
21382 * benchtests/bench-memchr.c: New file.
21383 * benchtests/bench-memcmp-ifunc.c: New file.
21384 * benchtests/bench-memcmp.c: New file.
21385 * benchtests/bench-memmem-ifunc.c: New file.
21386 * benchtests/bench-memmem.c: New file.
21387 * benchtests/bench-memmove-ifunc.c: New file.
21388 * benchtests/bench-memmove.c: New file.
21389 * benchtests/bench-mempcpy-ifunc.c: New file.
21390 * benchtests/bench-mempcpy.c: New file.
21391 * benchtests/bench-memset-ifunc.c: New file.
21392 * benchtests/bench-memset.c: New file.
21393 * benchtests/bench-rawmemchr-ifunc.c: New file.
21394 * benchtests/bench-rawmemchr.c: New file.
21395 * benchtests/bench-stpcpy-ifunc.c: New file.
21396 * benchtests/bench-stpcpy.c: New file.
21397 * benchtests/bench-stpncpy-ifunc.c: New file.
21398 * benchtests/bench-stpncpy.c: New file.
21399 * benchtests/bench-strcasecmp-ifunc.c: New file.
21400 * benchtests/bench-strcasecmp.c: New file.
21401 * benchtests/bench-strcasestr-ifunc.c: New file.
21402 * benchtests/bench-strcasestr.c: New file.
21403 * benchtests/bench-strcat-ifunc.c: New file.
21404 * benchtests/bench-strcat.c: New file.
21405 * benchtests/bench-strchr-ifunc.c: New file.
21406 * benchtests/bench-strchr.c: New file.
21407 * benchtests/bench-strchrnul-ifunc.c: New file.
21408 * benchtests/bench-strchrnul.c: New file.
21409 * benchtests/bench-strcmp-ifunc.c: New file.
21410 * benchtests/bench-strcmp.c: New file.
21411 * benchtests/bench-strcpy-ifunc.c: New file.
21412 * benchtests/bench-strcpy.c: New file.
21413 * benchtests/bench-strcspn-ifunc.c: New file.
21414 * benchtests/bench-strcspn.c: New file.
21415 * benchtests/bench-strlen-ifunc.c: New file.
21416 * benchtests/bench-strlen.c: New file.
21417 * benchtests/bench-strncasecmp-ifunc.c: New file.
21418 * benchtests/bench-strncasecmp.c: New file.
21419 * benchtests/bench-strncat-ifunc.c: New file.
21420 * benchtests/bench-strncat.c: New file.
21421 * benchtests/bench-strncmp-ifunc.c: New file.
21422 * benchtests/bench-strncmp.c: New file.
21423 * benchtests/bench-strncpy-ifunc.c: New file.
21424 * benchtests/bench-strncpy.c: New file.
21425 * benchtests/bench-strnlen-ifunc.c: New file.
21426 * benchtests/bench-strnlen.c: New file.
21427 * benchtests/bench-strpbrk-ifunc.c: New file.
21428 * benchtests/bench-strpbrk.c: New file.
21429 * benchtests/bench-strrchr-ifunc.c: New file.
21430 * benchtests/bench-strrchr.c: New file.
21431 * benchtests/bench-strspn-ifunc.c: New file.
21432 * benchtests/bench-strspn.c: New file.
21433 * benchtests/bench-strstr-ifunc.c: New file.
21434 * benchtests/bench-strstr.c: New file.
21435
c1f75dc3
SP
21436 * benchtests/Makefile: Disable parallel execution of targets.
21437 (string-bench): Add memcpy.
21438 (benchset): New variable to store a list of benchmark sets.
21439 (bench-func): Renamed from bench.
21440 (bench-set): New target.
21441 (bench): Depend on bench-func and bench-set.
21442 * benchtests/README: Add section on benchmark sets.
21443 * benchtests/bench-memcpy-ifunc.c: New file.
21444 * benchtests/bench-memcpy.c: New file.
21445 * benchtests/bench-string.h: New file.
21446
50fd745b
AS
214472013-06-11 Andreas Schwab <schwab@suse.de>
21448
21449 [BZ #15577]
21450 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
21451 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
21452 values in the triple.
21453 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
21454 terminator in the group key.
21455
3ee7e9fe
AJ
214562013-06-11 Andreas Jaeger <aj@suse.de>
21457
21458 * po/zh_TW.po: Update Chinese (traditional) translation from
21459 translation project.
21460
89fb6835
SP
214612013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21462
21463 * include/time.h (__clock_gettime): Add libc_hidden_proto.
21464 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
21465 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
21466 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21467 (clock_getcpuclockid): Likewise.
21468 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
21469 Add weak_alias and libc_hidden_def.
21470 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
21471 * rt/clock_gettime.c (clock_gettime): Rename to
21472 __clock_gettime. Add weak_alias and libc_hidden_def.
21473 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
21474 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
21475 __clock_nanosleep. Add weak_alias and libc_hidden_def.
21476 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
21477 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
21478 Likewise.
21479 * rt/clock_settime.c (clock_settime): Rename to
21480 __clock_settime. Add weak_alias and libc_hidden_def.
21481 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
21482
0efa6f8b
JM
214832013-06-10 Joseph Myers <joseph@codesourcery.com>
21484
b8c61b4b
JM
21485 * mach/err_boot.sub: Remove trailing whitespace.
21486 * mach/err_ipc.sub: Likewise.
21487 * mach/err_mach.sub: Likewise.
21488
0efa6f8b
JM
21489 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
21490 (ROUNDING_TESTS_double): Likewise.
21491 (ROUNDING_TESTS_long_double): Likewise.
21492 (ROUNDING_TESTS): Likewise.
21493 * math/libm-test.inc: Include <math-tests.h>.
21494 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
21495 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21496 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21497 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21498
50b818bf
SP
214992013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21500
21501 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
21502 of assigning.
21503
60d2f8f3
JM
215042013-06-08 Joseph Myers <joseph@codesourcery.com>
21505
4902d2c3
JM
21506 * sysdeps/gnu/errlist.awk: Do not generate space at end of
21507 otherwise empty TRANS lines.
21508 * sysdeps/gnu/errlist.c: Regenerated.
21509
60d2f8f3
JM
21510 * catgets/gencat.c (error_print): Use (void) in function
21511 definition.
21512 * crypt/crypt_util.c (__init_des): Likewise.
21513 * crypt/speeds.c (Stop): Likewise.
21514 (main): Likewise.
21515 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
21516 * inet/ruserpass.c (token): Likewise.
21517 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
21518 * intl/localealias.c (extend_alias_table): Likewise.
21519 * intl/plural-exp.c (init_germanic_plural): Likewise.
21520 * libio/fcloseall.c (__fcloseall): Likewise.
21521 * libio/genops.c (_IO_flush_all): Likewise.
21522 (_IO_flush_all_linebuffered): Likewise.
21523 (_IO_cleanup): Likewise.
21524 (_IO_iter_begin): Likewise.
21525 (_IO_iter_end): Likewise.
21526 (_IO_list_lock): Likewise.
21527 (_IO_list_unlock): Likewise.
21528 (_IO_list_resetlock): Likewise.
21529 * libio/getchar.c (getchar): Likewise.
21530 * libio/getchar_u.c (getchar_unlocked): Likewise.
21531 * libio/getwchar.c (getwchar): Likewise.
21532 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
21533 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
21534 * login/getpt.c (__getpt): Likewise.
21535 * login/tst-utmp.c (main): Likewise.
21536 * malloc/hooks.c (__malloc_check_init): Likewise.
21537 * malloc/malloc.c (__malloc_stats): Likewise.
21538 * malloc/mtrace.c (tr_break): Likewise.
21539 (mtrace): Likewise.
21540 (muntrace): Likewise.
21541 * misc/fstab.c (endfsent): Likewise.
21542 * misc/getclktck.c (__getclktck): Likewise.
21543 * misc/getdtsz.c (__getdtablesize): Likewise.
21544 * misc/gethostid.c (gethostid): Likewise.
21545 * misc/getpagesize.c (__getpagesize): Likewise.
21546 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
21547 (__get_nprocs): Likewise.
21548 (__get_phys_pages): Likewise.
21549 (__get_avphys_pages): Likewise.
21550 * misc/getttyent.c (getttyent): Likewise.
21551 (setttyent): Likewise.
21552 (endttyent): Likewise.
21553 * misc/getusershell.c (getusershell): Likewise.
21554 (endusershell): Likewise.
21555 (setusershell): Likewise.
21556 (initshells): Likewise.
21557 * misc/hsearch.c (__hdestroy): Likewise.
21558 * misc/sync.c (sync): Likewise.
21559 * misc/syslog.c (closelog_internal): Likewise.
21560 (closelog): Likewise.
21561 * misc/ttyslot.c (ttyslot): Likewise.
21562 * misc/vhangup.c (vhangup): Likewise.
21563 * posix/fork.c (__fork): Likewise.
21564 * posix/getegid.c (__getegid): Likewise.
21565 * posix/geteuid.c (__geteuid): Likewise.
21566 * posix/getgid.c (__getgid): Likewise.
21567 * posix/getpid.c (__getpid): Likewise.
21568 * posix/getppid.c (__getppid): Likewise.
21569 * posix/getuid.c (__getuid): Likewise.
21570 * posix/pause.c (pause): Likewise.
21571 * posix/setpgrp.c (setpgrp): Likewise.
21572 * posix/setsid.c (__setsid): Likewise.
21573 * posix/test-vfork.c (noop): Likewise.
21574 * resolv/gethnamaddr.c (_endhtent): Likewise.
21575 (_gethtent): Likewise.
21576 (ht_endhostent): Likewise.
21577 (gethostent): Likewise.
21578 (dns_service): Likewise.
21579 * stdlib/drand48.c (drand48): Likewise.
21580 * stdlib/lrand48.c (lrand48): Likewise.
21581 * stdlib/mrand48.c (mrand48): Likewise.
21582 * stdlib/rand.c (rand): Likewise.
21583 * stdlib/random.c (__random): Likewise.
21584 * stdlib/setenv.c (clearenv): Likewise.
21585 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
21586 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
21587 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
21588 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
21589 (__get_nprocs): Likewise.
21590 (__get_phys_pages): Likewise.
21591 (__get_avphys_pages): Likewise.
21592 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
21593 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
21594 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
21595 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
21596 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
21597 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
21598 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
21599 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
21600 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
21601 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
21602 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
21603 * sysdeps/mach/hurd/sync.c (sync): Likewise.
21604 * sysdeps/posix/clock.c (clock): Likewise.
21605 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
21606 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
21607 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
21608 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
21609 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
21610 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
21611 (__get_nprocs_conf): Likewise.
21612 (__get_phys_pages): Likewise.
21613 (__get_avphys_pages): Likewise.
21614 * time/clock.c (clock): Likewise.
21615 * time/tzset.c (__tzname_max): Likewise.
21616
2e09a79a
JM
216172013-06-07 Joseph Myers <joseph@codesourcery.com>
21618
21619 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
21620 (__bswap_32): Do not use "register".
21621 * crypt/crypt.c (_ufc_doit_r): Likewise.
21622 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21623 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21624 * gmon/gmon.c (__monstartup): Likewise.
21625 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
21626 * hurd/hurdmalloc.c (more_memory): Likewise.
21627 (malloc): Likewise.
21628 (free): Likewise.
21629 (realloc): Likewise.
21630 (malloc_fork_prepare): Likewise.
21631 (malloc_fork_parent): Likewise.
21632 (malloc_fork_child): Likewise.
21633 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
21634 (_svcauth_des): Likewise.
21635 * inet/inet_lnaof.c (inet_lnaof): Likewise.
21636 * inet/inet_net.c (inet_network): Likewise.
21637 * inet/inet_netof.c (inet_netof): Likewise.
21638 * inet/rcmd.c (__validuser2_sa): Likewise.
21639 * io/fts.c (fts_open): Likewise.
21640 (fts_load): Likewise.
21641 (fts_close): Likewise.
21642 (fts_read): Likewise.
21643 (fts_children): Likewise.
21644 (fts_build): Likewise.
21645 (fts_stat): Likewise.
21646 (fts_sort): Likewise.
21647 (fts_alloc): Likewise.
21648 (fts_lfree): Likewise.
21649 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
21650 (_IO_file_xsgetn): Likewise.
21651 (_IO_file_xsgetn_mmap): Likewise.
21652 * libio/iofopncook.c (_IO_cookie_read): Likewise.
21653 (_IO_cookie_write): Likewise.
21654 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
21655 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
21656 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
21657 * malloc/obstack.c (_obstack_begin): Likewise.
21658 (_obstack_begin_1): Likewise.
21659 (_obstack_newchunk): Likewise.
21660 (_obstack_allocated_p): Likewise.
21661 (obstack_free): Likewise.
21662 (_obstack_memory_used): Likewise.
21663 * misc/getttyent.c (getttynam): Likewise.
21664 (getttyent): Likewise.
21665 (skip): Likewise.
21666 (value): Likewise.
21667 * misc/getusershell.c (initshells): Likewise.
21668 * misc/syslog.c (__vsyslog_chk): Likewise.
21669 * misc/ttyslot.c (ttyslot): Likewise.
21670 * nis/nis_hash.c (__nis_hash): Likewise.
21671 * posix/fnmatch_loop.c (FCT): Likewise.
21672 * posix/getconf.c (print_all): Likewise.
21673 (main): Likewise.
21674 * posix/getopt.c (exchange): Likewise.
21675 * posix/glob.c (globfree): Likewise.
21676 (prefix_array): Likewise.
21677 (__glob_pattern_type): Likewise.
21678 * resolv/arpa/nameser.h (NS_GET16): Likewise.
21679 (NS_GET32): Likewise.
21680 (NS_PUT16): Likewise.
21681 (NS_PUT32): Likewise.
21682 * resolv/gethnamaddr.c (getanswer): Likewise.
21683 (gethostbyname2): Likewise.
21684 (gethostbyaddr): Likewise.
21685 (_gethtent): Likewise.
21686 (_gethtbyname2): Likewise.
21687 (_gethtbyaddr): Likewise.
21688 * resolv/ns_print.c (dst_s_get_int16): Likewise.
21689 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21690 * resolv/res_init.c (__res_vinit): Likewise.
21691 (net_mask): Likewise.
21692 * resolv/res_mkquery.c (outchar): Likewise.
21693 (PRINT): Likewise.
21694 * stdio-common/printf_fp.c (outchar): Likewise.
21695 (PRINT): Likewise.
21696 * stdio-common/printf_fphex.c (outchar): Likewise.
21697 (PRINT): Likewise.
21698 * stdio-common/printf_size.c (outchar): Likewise.
21699 (PRINT): Likewise.
21700 * stdio-common/test_rdwr.c (main): Likewise.
21701 * stdio-common/tfformat.c (matches): Likewise.
21702 * stdio-common/vfprintf.c (outchar): Likewise.
21703 (printf_unknown): Likewise.
21704 (buffered_vfprintf): Likewise.
21705 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21706 * stdio-common/xbug.c (AppendToBuffer): Likewise.
21707 (ReadFile): Likewise.
21708 * stdlib/qsort.c (SWAP): Likewise.
21709 (_quicksort): Likewise.
21710 * stdlib/setenv.c (__add_to_environ): Likewise.
21711 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21712 * stdlib/strtol_l.c (__strtol_l): Likewise.
21713 * stdlib/tst-strtod.c (main): Likewise.
21714 * stdlib/tst-strtol.c (main): Likewise.
21715 * stdlib/tst-strtoll.c (main): Likewise.
21716 * string/bits/string2.h (__strcmp_cc): Likewise.
21717 (__strcmp_cg): Likewise.
21718 (__strcspn_c1): Likewise.
21719 (__strcspn_c2): Likewise.
21720 (__strcspn_c3): Likewise.
21721 (__strspn_c1): Likewise.
21722 (__strspn_c2): Likewise.
21723 (__strspn_c3): Likewise.
21724 (__strsep_1c): Likewise.
21725 (__strsep_2c): Likewise.
21726 (__strsep_3c): Likewise.
21727 * string/memccpy.c (__memccpy): Likewise.
21728 * string/stpcpy.c (__stpcpy): Likewise.
21729 * string/strcmp.c (strcmp): Likewise.
21730 * string/strrchr.c (strrchr): Likewise.
21731 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
21732 Likewise.
21733 * sysdeps/mach/hurd/getcwd.c
21734 (_hurd_canonicalize_directory_name_internal): Likewise.
21735 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
21736 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
21737 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
21738 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
21739 Likewise, in both definitions.
21740 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
21741 definitions.
21742 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
21743 64] (__bswap_64): Likewise.
21744 * time/test_time.c (main): Likewise.
21745 * time/tzfile.c (__tzfile_read): Likewise.
21746 (__tzfile_compute): Likewise.
21747 * time/tzset.c (__tzset_parse_tz): Likewise.
21748 (tzset_internal): Likewise.
21749 (compute_change): Likewise.
21750 * wcsmbs/wcscat.c (__wcscat): Likewise.
21751 * wcsmbs/wcschr.c (wcschr): Likewise.
21752 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21753 * wcsmbs/wcscspn.c (wcscspn): Likewise.
21754 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21755 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
21756 * wcsmbs/wcsspn.c (wcsspn): Likewise.
21757 * wcsmbs/wcsstr.c (wcsstr): Likewise.
21758 * wcsmbs/wmemchr.c (wmemchr): Likewise.
21759 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21760 * wcsmbs/wmemset.c (wmemset): Likewise.
21761
9e54314b
JM
217622013-06-06 Joseph Myers <joseph@codesourcery.com>
21763
21764 * scripts/config.guess: Update to version 2013-05-16.
21765 * scripts/config.sub: Update to version 2013-04-24.
21766 * scripts/install-sh: Update to version 2011-11-20.07.
21767 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
21768 * scripts/move-if-change: Update to version 2012-01-06 07:23.
21769
350635a5
OB
217702013-06-06 Ondřej Bílka <neleai@seznam.cz>
21771
21772 * debug/fgetws_u_chk.c: Fix leading whitespaces.
21773 * elf/sln.c: Likewise.
21774 * hurd/hurd/ioctl.h: Likewise.
21775 * hurd/hurdmalloc.c: Likewise.
21776 * hurd/xattr.c: Likewise.
21777 * include/shlib-compat.h: Likewise.
21778 * inet/ruserpass.c: Likewise.
21779 * libio/iofgets_u.c: Likewise.
21780 * libio/iofgetws_u.c: Likewise.
21781 * locale/programs/ld-identification.c: Likewise.
21782 * locale/programs/ld-time.c: Likewise.
21783 * mach/msg-destroy.c: Likewise.
21784 * nss/nss_files/files-netgrp.c: Likewise.
21785 * resolv/res_data.c: Likewise.
21786 * soft-fp/op-1.h: Likewise.
21787 * soft-fp/op-2.h: Likewise.
21788 * soft-fp/op-4.h: Likewise.
21789 * soft-fp/op-common.h: Likewise.
21790 * stdio-common/printf_fphex.c: Likewise.
21791 * stdlib/strtod_l.c: Likewise.
21792 * sunrpc/rpc/clnt.h: Likewise.
21793 * sysdeps/generic/framestate.c: Likewise.
21794 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21795 * sysdeps/i386/bsd-setjmp.S: Likewise.
21796 * sysdeps/i386/__longjmp.S: Likewise.
21797 * sysdeps/i386/setjmp.S: Likewise.
21798 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21799 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21800 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21801 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21802 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21803 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21804 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21805 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21806 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21807 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21808 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21809 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21810 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21811 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21812 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21813 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21814 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21815 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
21816 * sysdeps/ieee754/support.c: Likewise.
21817 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21818 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
21819 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
21820 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
21821 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
21822 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
21823 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
21824 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
21825 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
21826 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
21827 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
21828 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
21829 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
21830 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
21831 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
21832 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
21833 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21835
44a988af
OB
218362013-06-05 Ondřej Bílka <neleai@seznam.cz>
21837
25506f09 21838 * posix/transbug.c: Remove executable mode.
44a988af 21839
9c84384c
JM
218402013-06-05 Joseph Myers <joseph@codesourcery.com>
21841
21842 * crypt/speeds.c: Remove trailing whitespace.
21843 * dlfcn/default.c: Likewise.
21844 * elf/ifuncdep2.c: Likewise.
21845 * elf/ifuncmain1.c: Likewise.
21846 * elf/ifuncmain1vis.c: Likewise.
21847 * elf/testobj.h: Likewise.
21848 * elf/tst-stackguard1.c: Likewise.
21849 * gmon/sys/gmon.h: Likewise.
21850 * hurd/hurdmsg.c: Likewise.
21851 * hurd/new-fd.c: Likewise.
21852 * hurd/ports-get.c: Likewise.
21853 * iconvdata/ibm1008_420.c: Likewise.
21854 * inet/tst-getni1.c: Likewise.
21855 * inet/tst-getni2.c: Likewise.
21856 * libio/ioungetc.c: Likewise.
21857 * libio/wfiledoalloc.c: Likewise.
21858 * manual/libm-err-tab.pl: Likewise.
21859 * math/w_dremf.c: Likewise.
21860 * misc/ftruncate.c: Likewise.
21861 * posix/bug-glob2.c: Likewise.
21862 * posix/tst-pcre.c: Likewise.
21863 * posix/wait4.c: Likewise.
21864 * resolv/README: Likewise.
21865 * resolv/res_debug.h: Likewise.
21866 * resolv/tst-inet_ntop.c: Likewise.
21867 * setjmp/bug269-setjmp.c: Likewise.
21868 * soft-fp/extended.h: Likewise.
21869 * soft-fp/op-1.h: Likewise.
21870 * soft-fp/op-2.h: Likewise.
21871 * soft-fp/op-4.h: Likewise.
21872 * soft-fp/op-8.h: Likewise.
21873 * soft-fp/testit.c: Likewise.
21874 * stdio-common/bug16.c: Likewise.
21875 * stdlib/random.c: Likewise.
21876 * sunrpc/rpcsvc/rquota.x: Likewise.
21877 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21878 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21879 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21880 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21881 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21882 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21883 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21884 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21885 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21886 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21887 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21888 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21889 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21890 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21891 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21892 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21893 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21894 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21895 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21896 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21897 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21898 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21899 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21900 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21901 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21902 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21903 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21904 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21905 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21906 * sysdeps/ieee754/s_lib_version.c: Likewise.
21907 * sysdeps/mach/hurd/check_fds.c: Likewise.
21908 * sysdeps/mach/hurd/getsockname.c: Likewise.
21909 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21910 * sysdeps/mach/hurd/recvfrom.c: Likewise.
21911 * sysdeps/powerpc/bits/link.h: Likewise.
21912 * sysdeps/powerpc/dl-procinfo.c: Likewise.
21913 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21914 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21915 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21916 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21917 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21918 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21919 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21920 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21921 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21922 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21923 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21924 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21925 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21926 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21927 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21928 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21929 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21930 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21931 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21932 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21933 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21934 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21935 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21936 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21937 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21938 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21939 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21940 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21941 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21942 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21943 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21944 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21945 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21946 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21947 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21948 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21949 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21950 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21951 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21952 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21953 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21954 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21955 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21956 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21957 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21958 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21959 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21960 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21961 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21962 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21963 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21964 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21965 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21966 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
21967 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21968 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21969 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21970 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
21971 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21972 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
21973 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
21974 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
21975 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21976 * sysdeps/powerpc/sysdep.h: Likewise.
21977 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21978 * sysdeps/s390/s390-64/sub_n.S: Likewise.
21979 * sysdeps/sh/dl-trampoline.S: Likewise.
21980 * sysdeps/sh/memset.S: Likewise.
21981 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
21982 * sysdeps/sh/strlen.S: Likewise.
21983 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
21984 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
21985 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
21986 * sysdeps/sparc/sparc32/rem.S: Likewise.
21987 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21988 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
21989 * sysdeps/sparc/sparc32/strchr.S: Likewise.
21990 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21991 * sysdeps/sparc/sparc32/urem.S: Likewise.
21992 * sysdeps/sparc/sparc64/add_n.S: Likewise.
21993 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21994 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
21995 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
21996 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
21997 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
21998 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21999 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
22000 * sysdeps/unix/bsd/times.c: Likewise.
22001 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
22002 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
22003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
22004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
22005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
22006 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
22007 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22008 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
22009 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
22010 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
22011 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
22012 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22013 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
22014 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22015 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22016 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
22017 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22018 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
22019 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
22020 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
22021 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
22022 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
22023 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22024 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
22025 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
22026 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
22027 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
22028 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22029 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
22030 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
22031 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
22032 * sysdeps/x86_64/strcspn.S: Likewise.
22033
869378a5
RA
220342013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22035
22036 * locale/C-translit.h: Revert #include <stdint.h> because this is a
22037 generated file. Regenerate properly from gen-translit.pl.
22038 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
22039 locale/C-translit.h.
22040
840e2943
AS
220412013-06-05 Andreas Schwab <schwab@suse.de>
22042
22043 [BZ #15100]
22044 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
22045 week as 6 instead of -1.
22046 * time/tst-strptime.c (day_tests): Add test case.
22047
4c60cb0c
SP
220482013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22049
22050 * sysdeps/generic/math_private.h
22051 (libc_feholdexcept_setround_53bit): Replace with
22052 libc_feholdsetround_53bit.
22053 (libc_feupdateenv_53bit): Replace with
22054 libc_feresetround_53bit.
22055 (SET_RESTORE_ROUND_53BIT): Adjust.
22056
d180203e
SP
220572013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22058
96df079a
SP
22059 * string/test-strchrnul.c: Add copyright header.
22060
d180203e
SP
22061 * posix/tst-getaddrinfo4.c: Increase test timeout.
22062
8b0ccb2d
CD
220632013-06-03 Carlos O'Donell <carlos@redhat.com>
22064
22065 [BZ #15536]
22066 * math/libm-test.inc (MAX_EXP): Remove
22067 (MIN_EXP): Define.
22068 (ulp): Use MIN_EXP - MANT_DIG.
22069 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
22070
3b3c4d40
CD
220712013-05-31 Carlos O'Donell <carlos@redhat.com>
22072
22073 * po/be.po: Revert last change.
22074 * po/zh_CN.po: Likewise.
22075 * po/header.pot: Likewise.
22076
fab7ce3f
JM
220772013-05-31 Joseph Myers <joseph@codesourcery.com>
22078
22079 * Makefile ($(common-objpfx)linkobj/libc.so): Define
22080 link-libc-deps to empty as target-specific variable.
22081 * Makerules (link-libc-args): New variable.
22082 (libc-for-link): Likewise.
22083 (link-libc-deps): Likewise.
22084 (lib%.so): Depend on $(link-libc-deps). Link with
22085 $(link-libc-args).
22086 (build-module): Link with $(link-libc-args).
22087 (build-module-asneeded): Likewise.
22088 (build-module-helper-objlist): Filter out $(link-libc-deps) from
22089 list of objects.
22090 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
22091 target-specific variable.
22092 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
22093 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
22094 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
22095 libc.
22096 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
22097 libc and ld.so.
22098 ($(objpfx)libpcprofile.so): Likewise.
22099 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
22100 libc_nonshared.a.
22101 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
22102 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
22103 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
22104 $(link-libc-deps).
22105 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
22106 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
22107 * login/Makefile ($(objpfx)libutil.so): Likewise.
22108 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
22109 * math/Makefile ($(objpfx)libm.so): Likewise.
22110 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
22111 $(objpfx)libnsl.so): Define libc-for-link as target-specific
22112 variable instead of depending directly on libc.
22113 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
22114 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
22115 $(link-libc-deps).
22116 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
22117 libc.
22118 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
22119 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
22120 ($(objpfx)libanl.so): Likewise.
22121 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
22122 ld.so.
22123 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
22124 $(link-libc-deps).
22125 * sysdeps/i386/fpu/Makefile: Remove file.
22126 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
22127 ($(objpfx)libm.so): Remove dependency on ld.so.
22128
eca5920c
PF
221292013-05-30 Patsy Franklin <pfrankli@redhat.com>
22130
22131 [BZ # 15553]
22132 * nis/yp_xdr.c (XDRMAXNAME): Define.
22133 (XDRMAXRECORD): Define.
22134 (xdr_domainname): Use XDRMAXNAME.
22135 (xdr_mapname): Likewise.
22136 (xdr_peername): Likewise.
22137 (xdr_keydat): Use XDRMAXRECORD.
22138 (xdr_valdat): Likewise.
22139
221402013-05-30 Jeff Law <law@redhat.com>
96945714
JL
22141
22142 [BZ #14256]
22143 * manual/errno.texi (ESTALE): Update to account for more than
22144 just NFS file systems.
22145 * sysdeps/gnu/errlist.c: Regenerated.
22146
b9375348
SP
221472013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22148
22149 [BZ #15465]
22150 * elf/Makefile (tests): Add tst-null-argv.
22151 (modules-names): Add tst-null-argv-lib.
22152 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
22153 (tst-null-argv-ENV): Set environment for tst-null-argv.
22154 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
22155 (RTLD_PROGNAME): New macro.
22156 * elf/tst-null-argv.c: New test case.
22157 * elf/tst-null-argv-lib.c: Library for test case.
22158 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
22159 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
22160 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
22161 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
22162 * elf/dl-init.c (call_init): Likewise.
22163 (_dl_init): Likewise.
22164 * elf/dl-load.c (print_search_path): Likewise.
22165 (_dl_map_object): Likewise.
22166 * elf/dl-lookup.c (do_lookup_x): Likewise.
22167 (add_dependency): Likewise.
22168 (_dl_lookup_symbol_x): Likewise.
22169 (_dl_debug_bindings): Likewise.
22170 * elf/dl-open.c (_dl_show_scope): Likewise.
22171 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22172 * elf/dl-version.c (match_symbol): Likewise.
22173 (_dl_check_map_versions): Likewise.
22174 * elf/rtld.c (dl_main): Likewise.
22175 (print_unresolved): Use RTLD_PROGNAME.
22176 (print_missing_version): Likewise.
22177 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
22178 (elf_machine_rela): Likewise.
22179 * sysdeps/powerpc/powerpc32/dl-machine.c
22180 (__process_machine_rela): Likewise.
22181 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22182 Likewise.
22183 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22184 Likewise.
22185 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
22186 Likewise.
22187 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22188 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
22189 Likewise.
22190 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
22191 Likewise.
22192 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22193
8a9f20c8
CD
221942013-05-28 Carlos O'Donell <carlos@redhat.com>
22195
22196 * po/be.po: Add descriptive title.
22197 * po/zh_CN.po: Likewise.
22198 * po/header.pot: Likewise.
22199
0e60d68e
MF
222002013-05-28 Mike Frysinger <vapier@gentoo.org>
22201
22202 * locale/programs/locarchive.c (create_archive): Inlucde fname in
22203 error message.
22204 (enlarge_archive): Likewise.
22205
56b672e9
BN
222062013-05-28 Ben North <ben@redfrontdoor.org>
22207
22208 * manual/arith.texi (frexp): It is the magnitude of the return
22209 value which lies in [0.5, 1), not the return value itself.
22210
5e056687
AZ
222112013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22212
22213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22214
2b66ef5d
TS
222152013-05-26 Thomas Schwinge <thomas@codesourcery.com>
22216
528c2405
TS
22217 * stdio-common/bug26.c (main): Correct fscanf template.
22218
07b4c13d
TS
22219 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
22220 declare _dl_skip_args.
22221
ec9dd97c
TS
22222 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
22223 Don't declare.
22224
2b66ef5d
TS
22225 * manual/platform.texi: Add missing @end deftypefun.
22226
4f8dfe27
JM
222272013-05-24 Joseph Myers <joseph@codesourcery.com>
22228
0323d086
JM
22229 [BZ #15529]
22230 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
22231 bit of mantissa of 2^16382.
22232 * math/libm-test.inc (hypot_test_data): Add more tests.
22233
dd4259b9
JM
22234 * math/libm-test.inc: Add drem and pow10 to list of tested
22235 functions.
22236 (pow10_test): New function.
22237 (drem_test): Likewise.
22238 (drem_test_tonearest): Likewise.
22239 (drem_test_towardzero): Likewise.
22240 (drem_test_downward): Likewise.
22241 (drem_test_upward): Likewise.
22242 (main): Call the new functions.
22243
4f8dfe27
JM
22244 * math/libm-test.inc (finite_test_data): Remove.
22245 (finite_test): Run tests from isfinite_test_data.
22246 (gamma_test_data): Remove.
22247 (gamma_test): Run tests from lgamma_test_data.
22248 * sysdeps/i386/fpu/libm-test-ulps: Update.
22249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22250
d116b7c4
AZ
222512013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22252
22253 * manual/platform.texi: Add PowerPC PPR function set documentation.
22254 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
22255 implementation.
22256
e96e3767
CD
222572013-05-24 Carlos O'Donell <carlos@redhat.com>
22258
22259 * math/libm-test.inc (MAX_EXP): Define.
22260 (ULPDIFF): Define.
22261 (ulp): New function.
22262 (check_float_internal): Use ULPDIFF.
22263 (cpow_test): Disable failing test.
22264 (check_ulp): Test ulp() implemetnation.
22265 (main): Call check_ulp before starting tests.
22266
b679a606
JM
222672013-05-24 Joseph Myers <joseph@codesourcery.com>
22268
e8bdba36
JM
22269 * math/gen-libm-test.pl (generate_testfile): Do not handle
22270 START_DATA and END_DATA.
22271 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
22272 END_DATA.
22273 (acos_tonearest_test_data): Likewise.
22274 (acos_towardzero_test_data): Likewise.
22275 (acos_downward_test_data): Likewise.
22276 (acos_upward_test_data): Likewise.
22277 (acosh_test_data): Likewise.
22278 (asin_test_data): Likewise.
22279 (asin_tonearest_test_data): Likewise.
22280 (asin_towardzero_test_data): Likewise.
22281 (asin_downward_test_data): Likewise.
22282 (asin_upward_test_data): Likewise.
22283 (asinh_test_data): Likewise.
22284 (atan_test_data): Likewise.
22285 (atanh_test_data): Likewise.
22286 (atan2_test_data): Likewise.
22287 (cabs_test_data): Likewise.
22288 (cacos_test_data): Likewise.
22289 (cacosh_test_data): Likewise.
22290 (carg_test_data): Likewise.
22291 (casin_test_data): Likewise.
22292 (casinh_test_data): Likewise.
22293 (catan_test_data): Likewise.
22294 (catanh_test_data): Likewise.
22295 (cbrt_test_data): Likewise.
22296 (ccos_test_data): Likewise.
22297 (ccosh_test_data): Likewise.
22298 (ceil_test_data): Likewise.
22299 (cexp_test_data): Likewise.
22300 (cimag_test_data): Likewise.
22301 (clog_test_data): Likewise.
22302 (clog10_test_data): Likewise.
22303 (conj_test_data): Likewise.
22304 (copysign_test_data): Likewise.
22305 (cos_test_data): Likewise.
22306 (cos_tonearest_test_data): Likewise.
22307 (cos_towardzero_test_data): Likewise.
22308 (cos_downward_test_data): Likewise.
22309 (cos_upward_test_data): Likewise.
22310 (cosh_test_data): Likewise.
22311 (cosh_tonearest_test_data): Likewise.
22312 (cosh_towardzero_test_data): Likewise.
22313 (cosh_downward_test_data): Likewise.
22314 (cosh_upward_test_data): Likewise.
22315 (cpow_test_data): Likewise.
22316 (cproj_test_data): Likewise.
22317 (creal_test_data): Likewise.
22318 (csin_test_data): Likewise.
22319 (csinh_test_data): Likewise.
22320 (csqrt_test_data): Likewise.
22321 (ctan_test_data): Likewise.
22322 (ctan_tonearest_test_data): Likewise.
22323 (ctan_towardzero_test_data): Likewise.
22324 (ctan_downward_test_data): Likewise.
22325 (ctan_upward_test_data): Likewise.
22326 (ctanh_test_data): Likewise.
22327 (ctanh_tonearest_test_data): Likewise.
22328 (ctanh_towardzero_test_data): Likewise.
22329 (ctanh_downward_test_data): Likewise.
22330 (ctanh_upward_test_data): Likewise.
22331 (erf_test_data): Likewise.
22332 (erfc_test_data): Likewise.
22333 (exp_test_data): Likewise.
22334 (exp_tonearest_test_data): Likewise.
22335 (exp_towardzero_test_data): Likewise.
22336 (exp_downward_test_data): Likewise.
22337 (exp_upward_test_data): Likewise.
22338 (exp10_test_data): Likewise.
22339 (exp2_test_data): Likewise.
22340 (expm1_test_data): Likewise.
22341 (fabs_test_data): Likewise.
22342 (fdim_test_data): Likewise.
22343 (finite_test_data): Likewise.
22344 (floor_test_data): Likewise.
22345 (fma_test_data): Likewise.
22346 (fma_towardzero_test_data): Likewise.
22347 (fma_downward_test_data): Likewise.
22348 (fma_upward_test_data): Likewise.
22349 (fmax_test_data): Likewise.
22350 (fmin_test_data): Likewise.
22351 (fmod_test_data): Likewise.
22352 (fpclassify_test_data): Likewise.
22353 (frexp_test_data): Likewise.
22354 (gamma_test_data): Likewise.
22355 (hypot_test_data): Likewise.
22356 (ilogb_test_data): Likewise.
22357 (isfinite_test_data): Likewise.
22358 (isgreater_test_data): Likewise.
22359 (isgreaterequal_test_data): Likewise.
22360 (isinf_test_data): Likewise.
22361 (isless_test_data): Likewise.
22362 (islessequal_test_data): Likewise.
22363 (islessgreater_test_data): Likewise.
22364 (isnan_test_data): Likewise.
22365 (isnormal_test_data): Likewise.
22366 (issignaling_test_data): Likewise.
22367 (isunordered_test_data): Likewise.
22368 (j0_test_data): Likewise.
22369 (j1_test_data): Likewise.
22370 (jn_test_data): Likewise.
22371 (ldexp_test_data): Likewise.
22372 (lgamma_test_data): Likewise.
22373 (lrint_test_data): Likewise.
22374 (lrint_tonearest_test_data): Likewise.
22375 (lrint_towardzero_test_data): Likewise.
22376 (lrint_downward_test_data): Likewise.
22377 (lrint_upward_test_data): Likewise.
22378 (llrint_test_data): Likewise.
22379 (llrint_tonearest_test_data): Likewise.
22380 (llrint_towardzero_test_data): Likewise.
22381 (llrint_downward_test_data): Likewise.
22382 (llrint_upward_test_data): Likewise.
22383 (log_test_data): Likewise.
22384 (log10_test_data): Likewise.
22385 (log1p_test_data): Likewise.
22386 (log2_test_data): Likewise.
22387 (logb_test_data): Likewise.
22388 (logb_downward_test_data): Likewise.
22389 (lround_test_data): Likewise.
22390 (llround_test_data): Likewise.
22391 (modf_test_data): Likewise.
22392 (nearbyint_test_data): Likewise.
22393 (nextafter_test_data): Likewise.
22394 (nexttoward_test_data): Likewise.
22395 (pow_test_data): Likewise.
22396 (pow_tonearest_test_data): Likewise.
22397 (pow_towardzero_test_data): Likewise.
22398 (pow_downward_test_data): Likewise.
22399 (pow_upward_test_data): Likewise.
22400 (remainder_test_data): Likewise.
22401 (remainder_tonearest_test_data): Likewise.
22402 (remainder_towardzero_test_data): Likewise.
22403 (remainder_downward_test_data): Likewise.
22404 (remainder_upward_test_data): Likewise.
22405 (remquo_test_data): Likewise.
22406 (rint_test_data): Likewise.
22407 (rint_tonearest_test_data): Likewise.
22408 (rint_towardzero_test_data): Likewise.
22409 (rint_downward_test_data): Likewise.
22410 (rint_upward_test_data): Likewise.
22411 (round_test_data): Likewise.
22412 (scalb_test_data): Likewise.
22413 (scalbn_test_data): Likewise.
22414 (scalbln_test_data): Likewise.
22415 (signbit_test_data): Likewise.
22416 (sin_test_data): Likewise.
22417 (sin_tonearest_test_data): Likewise.
22418 (sin_towardzero_test_data): Likewise.
22419 (sin_downward_test_data): Likewise.
22420 (sin_upward_test_data): Likewise.
22421 (sincos_test_data): Likewise.
22422 (sinh_test_data): Likewise.
22423 (sinh_tonearest_test_data): Likewise.
22424 (sinh_towardzero_test_data): Likewise.
22425 (sinh_downward_test_data): Likewise.
22426 (sinh_upward_test_data): Likewise.
22427 (sqrt_test_data): Likewise.
22428 (tan_test_data): Likewise.
22429 (tan_tonearest_test_data): Likewise.
22430 (tan_towardzero_test_data): Likewise.
22431 (tan_downward_test_data): Likewise.
22432 (tan_upward_test_data): Likewise.
22433 (tanh_test_data): Likewise.
22434 (tgamma_test_data): Likewise.
22435 (trunc_test_data): Likewise.
22436 (y0_test_data): Likewise.
22437 (y1_test_data): Likewise.
22438 (yn_test_data): Likewise.
22439 (significand_test_data): Likewise.
22440
b679a606
JM
22441 * math/gen-libm-test.pl (@functions): Remove variable.
22442 (generate_testfile): Don't handle START and END lines.
22443 * math/libm-test.inc (START): New macro.
22444 (END): Likewise.
22445 (END_COMPLEX): Likewise.
22446 (acos_test): Use END macro without arguments.
22447 (acos_test_tonearest): Likewise.
22448 (acos_test_towardzero): Likewise.
22449 (acos_test_downward): Likewise.
22450 (acos_test_upward): Likewise.
22451 (acosh_test): Likewise.
22452 (asin_test): Likewise.
22453 (asin_test_tonearest): Likewise.
22454 (asin_test_towardzero): Likewise.
22455 (asin_test_downward): Likewise.
22456 (asin_test_upward): Likewise.
22457 (asinh_test): Likewise.
22458 (atan_test): Likewise.
22459 (atanh_test): Likewise.
22460 (atan2_test): Likewise.
22461 (cabs_test): Likewise.
22462 (cacos_test): Use END_COMPLEX macro without arguments.
22463 (cacosh_test): Likewise.
22464 (carg_test): Use END macro without arguments.
22465 (casin_test): Use END_COMPLEX macro without arguments.
22466 (casinh_test): Likewise.
22467 (catan_test): Likewise.
22468 (catanh_test): Likewise.
22469 (cbrt_test): Use END macro without arguments.
22470 (ccos_test): Use END_COMPLEX macro without arguments.
22471 (ccosh_test): Likewise.
22472 (ceil_test): Use END macro without arguments.
22473 (cexp_test): Use END_COMPLEX macro without arguments.
22474 (cimag_test): Use END macro without arguments.
22475 (clog_test): Use END_COMPLEX macro without arguments.
22476 (clog10_test): Likewise.
22477 (conj_test): Likewise.
22478 (copysign_test): Use END macro without arguments.
22479 (cos_test): Likewise.
22480 (cos_test_tonearest): Likewise.
22481 (cos_test_towardzero): Likewise.
22482 (cos_test_downward): Likewise.
22483 (cos_test_upward): Likewise.
22484 (cosh_test): Likewise.
22485 (cosh_test_tonearest): Likewise.
22486 (cosh_test_towardzero): Likewise.
22487 (cosh_test_downward): Likewise.
22488 (cosh_test_upward): Likewise.
22489 (cpow_test): Use END_COMPLEX macro without arguments.
22490 (cproj_test): Likewise.
22491 (creal_test): Use END macro without arguments.
22492 (csin_test): Use END_COMPLEX macro without arguments.
22493 (csinh_test): Likewise.
22494 (csqrt_test): Likewise.
22495 (ctan_test): Likewise.
22496 (ctan_test_tonearest): Likewise.
22497 (ctan_test_towardzero): Likewise.
22498 (ctan_test_downward): Likewise.
22499 (ctan_test_upward): Likewise.
22500 (ctanh_test): Likewise.
22501 (ctanh_test_tonearest): Likewise.
22502 (ctanh_test_towardzero): Likewise.
22503 (ctanh_test_downward): Likewise.
22504 (ctanh_test_upward): Likewise.
22505 (erf_test): Use END macro without arguments.
22506 (erfc_test): Likewise.
22507 (exp_test): Likewise.
22508 (exp_test_tonearest): Likewise.
22509 (exp_test_towardzero): Likewise.
22510 (exp_test_downward): Likewise.
22511 (exp_test_upward): Likewise.
22512 (exp10_test): Likewise.
22513 (exp2_test): Likewise.
22514 (expm1_test): Likewise.
22515 (fabs_test): Likewise.
22516 (fdim_test): Likewise.
22517 (finite_test): Likewise.
22518 (floor_test): Likewise.
22519 (fma_test): Likewise.
22520 (fma_test_towardzero): Likewise.
22521 (fma_test_downward): Likewise.
22522 (fma_test_upward): Likewise.
22523 (fmax_test): Likewise.
22524 (fmin_test): Likewise.
22525 (fmod_test): Likewise.
22526 (fpclassify_test): Likewise.
22527 (frexp_test): Likewise.
22528 (gamma_test): Likewise.
22529 (hypot_test): Likewise.
22530 (ilogb_test): Likewise.
22531 (isfinite_test): Likewise.
22532 (isgreater_test): Likewise.
22533 (isgreaterequal_test): Likewise.
22534 (isinf_test): Likewise.
22535 (isless_test): Likewise.
22536 (islessequal_test): Likewise.
22537 (islessgreater_test): Likewise.
22538 (isnan_test): Likewise.
22539 (isnormal_test): Likewise.
22540 (issignaling_test): Likewise.
22541 (isunordered_test): Likewise.
22542 (j0_test): Likewise.
22543 (j1_test): Likewise.
22544 (jn_test): Likewise.
22545 (ldexp_test): Likewise.
22546 (lgamma_test): Likewise.
22547 (lrint_test): Likewise.
22548 (lrint_test_tonearest): Likewise.
22549 (lrint_test_towardzero): Likewise.
22550 (lrint_test_downward): Likewise.
22551 (lrint_test_upward): Likewise.
22552 (llrint_test): Likewise.
22553 (llrint_test_tonearest): Likewise.
22554 (llrint_test_towardzero): Likewise.
22555 (llrint_test_downward): Likewise.
22556 (llrint_test_upward): Likewise.
22557 (log_test): Likewise.
22558 (log10_test): Likewise.
22559 (log1p_test): Likewise.
22560 (log2_test): Likewise.
22561 (logb_test): Likewise.
22562 (logb_test_downward): Likewise.
22563 (lround_test): Likewise.
22564 (llround_test): Likewise.
22565 (modf_test): Likewise.
22566 (nearbyint_test): Likewise.
22567 (nextafter_test): Likewise.
22568 (nexttoward_test): Likewise.
22569 (pow_test): Likewise.
22570 (pow_test_tonearest): Likewise.
22571 (pow_test_towardzero): Likewise.
22572 (pow_test_downward): Likewise.
22573 (pow_test_upward): Likewise.
22574 (remainder_test): Likewise.
22575 (remainder_test_tonearest): Likewise.
22576 (remainder_test_towardzero): Likewise.
22577 (remainder_test_downward): Likewise.
22578 (remainder_test_upward): Likewise.
22579 (remquo_test): Likewise.
22580 (rint_test): Likewise.
22581 (rint_test_tonearest): Likewise.
22582 (rint_test_towardzero): Likewise.
22583 (rint_test_downward): Likewise.
22584 (rint_test_upward): Likewise.
22585 (round_test): Likewise.
22586 (scalb_test): Likewise.
22587 (scalbn_test): Likewise.
22588 (scalbln_test): Likewise.
22589 (signbit_test): Likewise.
22590 (sin_test): Likewise.
22591 (sin_test_tonearest): Likewise.
22592 (sin_test_towardzero): Likewise.
22593 (sin_test_downward): Likewise.
22594 (sin_test_upward): Likewise.
22595 (sincos_test): Likewise.
22596 (sinh_test): Likewise.
22597 (sinh_test_tonearest): Likewise.
22598 (sinh_test_towardzero): Likewise.
22599 (sinh_test_downward): Likewise.
22600 (sinh_test_upward): Likewise.
22601 (sqrt_test): Likewise.
22602 (tan_test): Likewise.
22603 (tan_test_tonearest): Likewise.
22604 (tan_test_towardzero): Likewise.
22605 (tan_test_downward): Likewise.
22606 (tan_test_upward): Likewise.
22607 (tanh_test): Likewise.
22608 (tgamma_test): Likewise.
22609 (trunc_test): Likewise.
22610 (y0_test): Likewise.
22611 (y1_test): Likewise.
22612 (yn_test): Likewise.
22613 (significand_test): Likewise.
22614
bae143d2
OB
226152013-05-24 Ondřej Bílka <neleai@seznam.cz>
22616
22617 [BZ #15381]
22618 * libio/genops.c (_IO_no_init): Initialize wide struct info.
22619
9323d39b
EM
226202013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
22621
d4ea44a0 22622 [BZ #14894]
9323d39b
EM
22623 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
22624 __ppc_mdoio and __ppc_mdoom.
22625 * manual/platform.texi: Document new functions __ppc_yield,
22626 __ppc_mdoio and __ppc_mdoom.
22627
13e23af7
CD
226282013-05-22 Carlos O'Donell <carlos@redhat.com>
22629
22630 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
22631 (main): Mention "tls" pseudo-hwcap is legacy.
22632 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
22633
351fe550
JM
226342013-05-22 Joseph Myers <joseph@codesourcery.com>
22635
22636 * math/gen-libm-test.pl (parse_args): Output only string of
22637 arguments as text for test name, not full call or descriptions of
22638 tests for extra outputs.
22639 (generate_testfile): Do not pass function name to parse_args.
22640 Generate this_func variable from START.
22641 * math/libm-test.inc (struct test_f_f_data): Rename test_name
22642 field to arg_str.
22643 (struct test_ff_f_data): Likewise.
22644 (test_ff_f_data_nexttoward): Likewise.
22645 (struct test_fi_f_data): Likewise.
22646 (struct test_fl_f_data): Likewise.
22647 (struct test_if_f_data): Likewise.
22648 (struct test_fff_f_data): Likewise.
22649 (struct test_c_f_data): Likewise.
22650 (struct test_f_f1_data): Likewise. Remove field extra_name.
22651 (struct test_fF_f1_data): Likewise.
22652 (struct test_ffI_f1_data): Likewise.
22653 (struct test_c_c_data): Rename test_name field to arg_str.
22654 (struct test_cc_c_data): Likewise.
22655 (struct test_f_i_data): Likewise.
22656 (struct test_ff_i_data): Likewise.
22657 (struct test_f_l_data): Likewise.
22658 (struct test_f_L_data): Likewise.
22659 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
22660 and extra2_name.
22661 (COMMON_TEST_SETUP): New macro.
22662 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
22663 (COMMON_TEST_CLEANUP): Likewise.
22664 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
22665 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
22666 macros.
22667 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
22668 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
22669 macros.
22670 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
22671 (RUN_TEST_fff_f): Take argument string. Call new setup and
22672 cleanup macros.
22673 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
22674 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
22675 macros.
22676 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
22677 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
22678 macros.
22679 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22680 (RUN_TEST_fF_f1): Take argument string. Call new setup and
22681 cleanup macros.
22682 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22683 (RUN_TEST_fI_f1): Take argument string. Call new setup and
22684 cleanup macros.
22685 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22686 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
22687 cleanup macros.
22688 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22689 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
22690 macros.
22691 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
22692 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
22693 macros.
22694 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
22695 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
22696 macros.
22697 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
22698 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
22699 cleanup macros.
22700 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
22701 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
22702 cleanup macros.
22703 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
22704 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
22705 macros.
22706 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
22707 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
22708 cleanup macros.
22709 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
22710 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
22711 macros.
22712 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
22713 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
22714 macros.
22715 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
22716 (RUN_TEST_fFF_11): Take argument string. Call new setup and
22717 cleanup macros.
22718 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
22719
85118d4d
EBM
227202013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22721
22722 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
22723 to _sifields.sigfault.
22724 (si_addr_lsb): Define new macro.
22725 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22726 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22727 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
22728
7a44c18f
CD
227292013-05-03 Carlos O'Donell <carlos at redhat.com>
22730
22731 [BZ #15441]
22732 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
22733 returns -1.
22734 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
22735 null return -1.
22736 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
22737 loading the domain.
22738
b50a7181
JM
227392013-05-22 Joseph Myers <joseph@codesourcery.com>
22740
22741 * math/gen-libm-test.pl (parse_args): Do not include expected
22742 result in test name.
22743 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
22744 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22745 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22746 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22747 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22749
051063c8
SP
227502013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22751
3ce9e010
SP
22752 * benchtests/Makefile: Sort function entries.
22753
051063c8
SP
22754 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
22755 tanh, asinh, acosh, atanh.
22756 * benchtests/acos-inputs: New file.
22757 * benchtests/acosh-inputs: New file.
22758 * benchtests/asin-inputs: New file.
22759 * benchtests/asinh-inputs: New file.
22760 * benchtests/atanh-inputs: New file.
22761 * benchtests/cosh-inputs: New file.
22762 * benchtests/log-inputs: New file.
22763 * benchtests/sinh-inputs: New file.
22764 * benchtests/tanh-inputs: New file.
22765
47c22455
DL
227662013-05-21 Dmitry V. Levin <ldv@altlinux.org>
22767
22768 [BZ #15339]
22769 * posix/tst-getaddrinfo4.c: New test.
22770 * posix/Makefile (tests): Add it.
22771
3d04f5db
SP
227722013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22773
22774 [BZ #15339]
22775 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
22776 when no services were used.
22777 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
22778 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
22779
d5dd6189
AS
227802013-05-21 Andreas Schwab <schwab@suse.de>
22781
22782 [BZ #15014]
22783 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
22784 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
22785 successful.
22786 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
22787 redundant variable declarations and reallocation of buffer when
22788 parsing as IPv6 address. Always set NSS status when called from
22789 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
22790 buffer too small. Correct computation of needed size.
22791 * nss/Makefile (tests): Add test-digits-dots.
22792 * nss/test-digits-dots.c: New test.
22793
fef94eab
SP
227942013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22795
22796 * benchtests/Makefile: Remove instructions for adding
22797 benchmark tests.
22798 * benchtests/README: New file to explain how to execute and
22799 enhance the benchmark tests.
22800
e39adf43
AS
228012013-05-21 Andreas Schwab <schwab@suse.de>
22802
22803 [BZ #15493]
22804 * setjmp/Makefile (tests): Add tst-sigsetjmp.
22805 * setjmp/tst-sigsetjmp.c: New test.
22806
b2b671b6
OB
228072013-05-20 Ondřej Bílka <neleai@seznam.cz>
22808
22809 * sysdeps/x86_64/memset.S (memset): New implementation.
22810 (__bzero): Likewise.
22811 (__memset_tail): New function.
22812
2d48b41c
OB
228132013-05-20 Ondřej Bílka <neleai@seznam.cz>
22814
22815 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
22816 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
22817 __memcpy_sse2_unaligned ifunc selection.
22818 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22819 Add memcpy-sse2-unaligned.S.
22820 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22821 Add: __memcpy_sse2_unaligned.
22822
f16cc3eb
JM
228232013-05-19 Joseph Myers <joseph@codesourcery.com>
22824
3e694268
JM
22825 [BZ #15490]
22826 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22827 math_force_eval before restoring floating-point envrionment.
22828 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
22829 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
22830 Likewise.
22831 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
22832 <math_private.h>.
22833 (__nearbyintl): Use math_force_eval before restoring
22834 floating-point environment.
22835 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
22836
db62a907
JM
22837 * math/gen-libm-test.pl (special_functions): Remove.
22838 (parse_args): Don't handle TEST_extra. Handle functions with no
22839 return value.
22840 * math/libm-test.inc (struct test_sincos_data): Replace with
22841 struct test_fFF_11_data.
22842 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
22843 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
22844 (sincos_test_data): Change element type to struct
22845 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
22846 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
22847 RUN_TEST_LOOP_sincos.
22848 * math/README.libm-test: Don't mention special handling of
22849 individual functions.
22850 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
22851 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22852 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22853 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22854 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22856
f16cc3eb
JM
22857 * math/gen-libm-test.pl (get_variable): Remove function.
22858 (parse_args): Don't show pointer parameters to call in test
22859 names. Use "extra output N" in test names for extra outputs
22860 rather than naming variables.
22861
3779b5b6
JM
228622013-05-18 Joseph Myers <joseph@codesourcery.com>
22863
2ee094ff
JM
22864 [BZ #15488]
22865 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
22866 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
22867 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22868 double tests.
22869 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22870 disable.
22871 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22872 check_long_double.
22873
3779b5b6
JM
22874 * math/gen-libm-test.pl (@tests): Remove variable.
22875 ($count): Likewise.
22876 (new_test): Remove function.
22877 (show_exceptions): New function.
22878 (special_functions): Use show_exceptions instead of new_test.
22879 (parse_args): Likewise.
22880 (generate_testfile): Pass only function name in generated call to
22881 print_max_error or print_complex_max_error.
22882 (get_ulps): Do not handle complex tests specially.
22883 (output_test): Rename to ...
22884 (get_all_ulps_for_test): ... this. Return a string rather than
22885 printing to a file. Require ulps to be present.
22886 (output_ulps): Generate arrays rather than #defines.
22887 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22888 (struct ulp_data): New type.
22889 (BUILD_COMPLEX_ULP): Remove macro.
22890 (compare_ulp_data): New function.
22891 (find_ulps): Likewise.
22892 (find_test_ulps): Likewise.
22893 (find_function_ulps): Likewise.
22894 (find_complex_function_ulps): Likewise.
22895 (print_max_error): Determine allowed ulps using
22896 find_function_ulps.
22897 (print_complex_max_error): Determine allowed ulps using
22898 find_complex_function_ulps.
22899 (check_float_internal): Determine max ulps using find_test_ulps.
22900 (check_float): Do not take max_ulp parameter. Update call to
22901 check_float_internal.
22902 (check_complex): Likewise.
22903 (check_int): Do not take max_ulp parameter.
22904 (check_long): Likewise.
22905 (check_bool): Likewise.
22906 (check_longlong): Likewise.
22907 (struct test_f_f_data): Remove max_ulp field.
22908 (struct test_ff_f_data): Likewise.
22909 (struct test_ff_f_data_nexttoward): Likewise.
22910 (struct test_fi_f_data): Likewise.
22911 (struct test_fl_f_data): Likewise.
22912 (struct test_if_f_data): Likewise.
22913 (struct test_fff_f_data): Likewise.
22914 (struct test_c_f_data): Likewise.
22915 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22916 (struct test_fF_f1_data): Likewise.
22917 (struct test_ffI_f1_data): Likewise.
22918 (struct test_c_c_data): Remove max_ulp field.
22919 (struct test_cc_c_data): Likewise.
22920 (struct test_f_i_data): Likewise.
22921 (struct test_ff_i_data): Likewise.
22922 (struct test_f_l_data): Likewise.
22923 (struct test_f_L_data): Likewise.
22924 (struct test_sincos_data): Likewise.
22925 (RUN_TEST_f_f): Do not handle ulps.
22926 (RUN_TEST_LOOP_f_f): Likewise.
22927 (RUN_TEST_2_f): Likewise.
22928 (RUN_TEST_LOOP_2_f): Likewise.
22929 (RUN_TEST_fff_f): Likewise.
22930 (RUN_TEST_LOOP_fff_f): Likewise.
22931 (RUN_TEST_c_f): Likewise.
22932 (RUN_TEST_LOOP_c_f): Likewise.
22933 (RUN_TEST_f_f1): Likewise.
22934 (RUN_TEST_LOOP_f_f1): Likewise.
22935 (RUN_TEST_fF_f1): Likewise.
22936 (RUN_TEST_LOOP_fF_f1): Likewise.
22937 (RUN_TEST_fI_f1): Likewise.
22938 (RUN_TEST_LOOP_fI_f1): Likewise.
22939 (RUN_TEST_ffI_f1): Likewise.
22940 (RUN_TEST_LOOP_ffI_f1): Likewise.
22941 (RUN_TEST_c_c): Likewise.
22942 (RUN_TEST_LOOP_c_c): Likewise.
22943 (RUN_TEST_cc_c): Likewise.
22944 (RUN_TEST_LOOP_cc_c): Likewise.
22945 (RUN_TEST_f_i): Likewise.
22946 (RUN_TEST_LOOP_f_i): Likewise.
22947 (RUN_TEST_f_i_tg): Likewise.
22948 (RUN_TEST_LOOP_f_i_tg): Likewise.
22949 (RUN_TEST_ff_i_tg): Likewise.
22950 (RUN_TEST_LOOP_ff_i_tg): Likewise.
22951 (RUN_TEST_f_b): Likewise.
22952 (RUN_TEST_LOOP_f_b): Likewise.
22953 (RUN_TEST_f_b_tg): Likewise.
22954 (RUN_TEST_LOOP_f_b_tg): Likewise.
22955 (RUN_TEST_f_l): Likewise.
22956 (RUN_TEST_LOOP_f_l): Likewise.
22957 (RUN_TEST_f_L): Likewise.
22958 (RUN_TEST_LOOP_f_L): Likewise.
22959 (RUN_TEST_sincos): Likewise.
22960 (RUN_TEST_LOOP_sincos): Likewise.
22961
8269107f
JM
229622013-05-17 Joseph Myers <joseph@codesourcery.com>
22963
bb38759d
JM
22964 [BZ #15480]
22965 [BZ #15485]
22966 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
22967 main case of finite arguments, set rounding mode to FE_TONEAREST
22968 and discard exceptions.
22969 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
22970 exceptions.
22971 (remainder_tonearest_test_data): New variable.
22972 (remainder_test_tonearest): New function.
22973 (remainder_towardzero_test_data): New variable.
22974 (remainder_test_towardzero): New function.
22975 (remainder_downward_test_data): New variable.
22976 (remainder_test_downward): New function.
22977 (remainder_upward_test_data): New variable.
22978 (remainder_test_upward): New function.
22979 (main): Call the new test functions.
22980
a00bdcf0
JM
22981 * math/libm-test.inc (struct test_f_f1_data): Remove field
22982 extra_init.
22983 (struct test_fF_f1_data): Likewise.
22984 (struct test_ffI_f1_data): Likewise.
22985 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
22986 based on value of EXTRA_EXPECTED.
22987 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22988 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
22989 EXTRA_VAR based on value of EXTRA_EXPECTED.
22990 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22991 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
22992 EXTRA_VAR based on value of EXTRA_EXPECTED.
22993 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22994 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
22995 EXTRA_VAR based on value of EXTRA_EXPECTED.
22996 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22997 * math/gen-libm-test.pl (parse_args): Don't output initializers
22998 for extra output values.
22999
de407f79
JM
23000 * math/libm-test.inc (check_int): Expect result to be exactly
23001 equal to expected value and do not handle ulps.
23002 (check_long): Likewise.
23003 (check_longlong): Likewise.
23004
8269107f
JM
23005 * math/libm-test.inc (ceil_test_data): Test for "inexact"
23006 exceptions.
23007 (cimag_test_data): Likewise.
23008 (conj_test_data): Likewise.
23009 (copysign_test_data): Likewise.
23010 (cproj_test_data): Likewise.
23011 (creal_test_data): Likewise.
23012 (fabs_test_data): Likewise.
23013 (fdim_test_data): Likewise.
23014 (finite_test_data): Likewise.
23015 (floor_test_data): Likewise.
23016 (fmax_test_data): Likewise.
23017 (fmin_test_data): Likewise.
23018 (fmod_test_data): Likewise.
23019 (fpclassify_test_data): Likewise.
23020 (frexp_test_data): Likewise.
23021 (ilogb_test_data): Likewise.
23022 (isfinite_test_data): Likewise.
23023 (isgreater_test_data): Likewise.
23024 (isgreaterequal_test_data): Likewise.
23025 (isinf_test_data): Likewise.
23026 (isless_test_data): Likewise.
23027 (islessequal_test_data): Likewise.
23028 (islessgreater_test_data): Likewise.
23029 (isnan_test_data): Likewise.
23030 (isnormal_test_data): Likewise.
23031 (issignaling_test_data): Likewise.
23032 (isunordered_test_data): Likewise.
23033 (ldexp_test_data): Likewise.
23034 (lrint_test_data): Likewise.
23035 (lrint_test_data) [TEST_FLOAT]: Disable one test.
23036 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
23037 (lrint_tonearest_test_data): Test for "inexact" exceptions.
23038 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23039 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
23040 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23041 test input.
23042 (lrint_towardzero_test_data): Test for "inexact" exceptions.
23043 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23044 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
23045 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
23046 that test input.
23047 (lrint_downward_test_data): Test for "inexact" exceptions.
23048 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23049 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
23050 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23051 test input.
23052 (lrint_upward_test_data): Test for "inexact" exceptions.
23053 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
23054 test input.
23055 (llrint_test_data): Test for "inexact" exceptions.
23056 (llrint_test_data) [TEST_FLOAT]: Disable one test.
23057 (llrint_tonearest_test_data): Test for "inexact" exceptions.
23058 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23059 (llrint_towardzero_test_data): Test for "inexact" exceptions.
23060 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23061 (llrint_downward_test_data): Test for "inexact" exceptions.
23062 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23063 (llrint_upward_test_data): Test for "inexact" exceptions.
23064 (logb_test_data): Likewise.
23065 (logb_downward_test_data): Likewise.
23066 (nextafter_test_data): Likewise.
23067 (nexttoward_test_data): Likewise.
23068 (remainder_test_data): Likewise.
23069 (remquo_test_data): Likewise.
23070 (scalbn_test_data): Likewise.
23071 (scalbln_test_data): Likewise.
23072 (signbit_test_data): Likewise.
23073 (sqrt_test_data): Likewise.
23074 (significand_test_data): Likewise.
23075
48a18de1
SP
230762013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23077
23078 [BZ #15424]
23079 * benchtests/bench-modf.c (struct args): Mark arg0 as
23080 volatile.
23081 * scripts/bench.pl: Mark members of struct args as volatile.
23082
13d3b41a
AZ
230832013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23084
68191c1d 23085 [BZ # 15497]
13d3b41a
AZ
23086 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
23087 negative infinity on POWER6 or lower.
23088 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
23089
2848b105
MR
230902013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
23091
23092 [BZ #15442]
23093 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
23094 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
23095 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
23096 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
23097 (_FP_SETQNAN): New macro.
23098 (_FP_SETQNAN_SEMIRAW): Likewise.
23099 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
23100 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
23101 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
23102 (FP_EXTEND): Use _FP_FRAC_SNANP.
23103 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
23104 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
23105 into account.
23106 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23107 New macro.
23108 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23109 Likewise.
23110
323e5cb7
JM
231112013-05-16 Joseph Myers <joseph@codesourcery.com>
23112
c58b274f
JM
23113 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
23114 with DIVIDE_BY_ZERO_EXCEPTION.
23115 (gamma_test_data): Likewise.
23116 (lgamma_test_data): Likewise.
23117 (log_test_data): Likewise.
23118 (log10_test_data): Likewise.
23119 (log2_test_data): Likewise.
23120 (tgamma_test_data): Likewise.
23121
0ab34904
JM
23122 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
23123 (acos_test_tonearest): Likewise.
23124 (acos_test_towardzero): Likewise.
23125 (acos_test_downward): Likewise.
23126 (acos_test_upward): Likewise.
23127 (acosh_test): Likewise.
23128 (asin_test): Likewise.
23129 (asin_test_tonearest): Likewise.
23130 (asin_test_towardzero): Likewise.
23131 (asin_test_downward): Likewise.
23132 (asin_test_upward): Likewise.
23133 (asinh_test): Likewise.
23134 (atan_test): Likewise.
23135 (atanh_test): Likewise.
23136 (atan2_test): Likewise.
23137 (cabs_test): Likewise.
23138 (cacos_test): Likewise.
23139 (cacosh_test): Likewise.
23140 (casin_test): Likewise.
23141 (casinh_test): Likewise.
23142 (catan_test): Likewise.
23143 (catanh_test): Likewise.
23144 (cbrt_test): Likewise.
23145 (ccos_test): Likewise.
23146 (ccosh_test): Likewise.
23147 (cexp_test): Likewise.
23148 (clog_test): Likewise.
23149 (clog10_test): Likewise.
23150 (cos_test): Likewise.
23151 (cos_test_tonearest): Likewise.
23152 (cos_test_towardzero): Likewise.
23153 (cos_test_downward): Likewise.
23154 (cos_test_upward): Likewise.
23155 (cosh_test): Likewise.
23156 (cosh_test_tonearest): Likewise.
23157 (cosh_test_towardzero): Likewise.
23158 (cosh_test_downward): Likewise.
23159 (cosh_test_upward): Likewise.
23160 (cpow_test): Likewise.
23161 (csin_test): Likewise.
23162 (csinh_test): Likewise.
23163 (csqrt_test): Likewise.
23164 (ctan_test): Likewise.
23165 (ctan_test_tonearest): Likewise.
23166 (ctan_test_towardzero): Likewise.
23167 (ctan_test_downward): Likewise.
23168 (ctan_test_upward): Likewise.
23169 (ctanh_test): Likewise.
23170 (ctanh_test_tonearest): Likewise.
23171 (ctanh_test_towardzero): Likewise.
23172 (ctanh_test_downward): Likewise.
23173 (ctanh_test_upward): Likewise.
23174 (erf_test): Likewise.
23175 (erfc_test): Likewise.
23176 (exp_test): Likewise.
23177 (exp_test_tonearest): Likewise.
23178 (exp_test_towardzero): Likewise.
23179 (exp_test_downward): Likewise.
23180 (exp_test_upward): Likewise.
23181 (exp10_test): Likewise.
23182 (exp2_test): Likewise.
23183 (expm1_test): Likewise.
23184 (fmod_test): Likewise.
23185 (gamma_test): Likewise.
23186 (hypot_test): Likewise.
23187 (j0_test): Likewise.
23188 (j1_test): Likewise.
23189 (jn_test): Likewise.
23190 (lgamma_test): Likewise.
23191 (log_test): Likewise.
23192 (log10_test): Likewise.
23193 (log1p_test): Likewise.
23194 (log2_test): Likewise.
23195 (logb_test_downward): Likewise.
23196 (pow_test): Likewise.
23197 (pow_test_tonearest): Likewise.
23198 (pow_test_towardzero): Likewise.
23199 (pow_test_downward): Likewise.
23200 (pow_test_upward): Likewise.
23201 (remainder_test): Likewise.
23202 (remquo_test): Likewise.
23203 (sin_test): Likewise.
23204 (sin_test_tonearest): Likewise.
23205 (sin_test_towardzero): Likewise.
23206 (sin_test_downward): Likewise.
23207 (sin_test_upward): Likewise.
23208 (sincos_test): Likewise.
23209 (sinh_test): Likewise.
23210 (sinh_test_tonearest): Likewise.
23211 (sinh_test_towardzero): Likewise.
23212 (sinh_test_downward): Likewise.
23213 (sinh_test_upward): Likewise.
23214 (sqrt_test): Likewise.
23215 (tan_test): Likewise.
23216 (tan_test_tonearest): Likewise.
23217 (tan_test_towardzero): Likewise.
23218 (tan_test_downward): Likewise.
23219 (tan_test_upward): Likewise.
23220 (tanh_test): Likewise.
23221 (tgamma_test): Likewise.
23222 (y0_test): Likewise.
23223 (y1_test): Likewise.
23224 (yn_test): Likewise.
23225
323e5cb7
JM
23226 * math/gen-libm-test.pl (adjust_arg): Remove function.
23227 (special_function): Remove argument $in_func. Only handle
23228 generating output for tables of tests, not inside functions.
23229 (parse_args): Likewise.
23230 (generate_testfile): Remove variable $in_func. Update call to
23231 parse_args.
23232 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
23233 (MINUS_ZERO_INIT): Rename macro to minus_zero.
23234 (PLUS_INFTY_INIT): Rename macro to plus_infty.
23235 (MINUS_INFTY_INIT): Rename macro to minus_infty.
23236 (QNAN_VALUE_INIT): Rename macro to qnan_value.
23237 (MAX_VALUE_INIT): Rename macro to max_value.
23238 (MIN_VALUE_INIT): Rename macro to min_value.
23239 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
23240 (plus_zero): Remove variable.
23241 (minus_zero): Likewise.
23242 (plus_infty): Likewise.
23243 (minus_infty): Likewise.
23244 (qnan_value): Likewise.
23245 (max_value): Likewise.
23246 (min_value): Likewise.
23247 (min_subnorm_value): Likewise.
23248
e054f494
RA
232492013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23250
23251 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
23252 uint64_t or uint32_t usage.
23253 * crypt/sha256-block.c: Likewise.
23254 * crypt/sha256-crypt.c: Likewise.
23255 * crypt/sha256.c: Likewise.
23256 * crypt/sha512-block.c: Likewise.
23257 * crypt/sha512-crypt.c: Likewise.
23258 * crypt/sha512.c: Likewise.
23259 * debug/backtrace-tst.c: Likewise.
23260 * debug/pcprofiledump.c: Likewise.
23261 * elf/cache.c: Likewise.
23262 * elf/dl-cache.c: Likewise.
23263 * elf/dl-misc.c: Likewise.
23264 * elf/dl-profile.c: Likewise.
23265 * elf/dl-support.c: Likewise.
23266 * elf/ldconfig.c: Likewise.
23267 * elf/sprof.c: Likewise.
23268 * iconv/dummy-repertoire.c: Likewise.
23269 * iconv/iconv_charmap.c: Likewise.
23270 * iconv/skeleton.c: Likewise.
23271 * iconvdata/8bit-generic.c: Likewise.
23272 * iconvdata/cp737.h: Likewise.
23273 * iconvdata/cp775.h: Likewise.
23274 * iconvdata/ibm1008.h: Likewise.
23275 * iconvdata/ibm1025.h: Likewise.
23276 * iconvdata/ibm1046.h: Likewise.
23277 * iconvdata/ibm1097.h: Likewise.
23278 * iconvdata/ibm1112.h: Likewise.
23279 * iconvdata/ibm1122.h: Likewise.
23280 * iconvdata/ibm1123.h: Likewise.
23281 * iconvdata/ibm1124.h: Likewise.
23282 * iconvdata/ibm1129.h: Likewise.
23283 * iconvdata/ibm1130.h: Likewise.
23284 * iconvdata/ibm1132.h: Likewise.
23285 * iconvdata/ibm1133.h: Likewise.
23286 * iconvdata/ibm1137.h: Likewise.
23287 * iconvdata/ibm1140.h: Likewise.
23288 * iconvdata/ibm1141.h: Likewise.
23289 * iconvdata/ibm1142.h: Likewise.
23290 * iconvdata/ibm1143.h: Likewise.
23291 * iconvdata/ibm1144.h: Likewise.
23292 * iconvdata/ibm1145.h: Likewise.
23293 * iconvdata/ibm1146.h: Likewise.
23294 * iconvdata/ibm1147.h: Likewise.
23295 * iconvdata/ibm1148.h: Likewise.
23296 * iconvdata/ibm1149.h: Likewise.
23297 * iconvdata/ibm1153.h: Likewise.
23298 * iconvdata/ibm1154.h: Likewise.
23299 * iconvdata/ibm1155.h: Likewise.
23300 * iconvdata/ibm1156.h: Likewise.
23301 * iconvdata/ibm1157.h: Likewise.
23302 * iconvdata/ibm1158.h: Likewise.
23303 * iconvdata/ibm1160.h: Likewise.
23304 * iconvdata/ibm1161.h: Likewise.
23305 * iconvdata/ibm1162.h: Likewise.
23306 * iconvdata/ibm1163.h: Likewise.
23307 * iconvdata/ibm1164.h: Likewise.
23308 * iconvdata/ibm1166.h: Likewise.
23309 * iconvdata/ibm1167.h: Likewise.
23310 * iconvdata/ibm12712.h: Likewise.
23311 * iconvdata/ibm1390.h: Likewise.
23312 * iconvdata/ibm1399.h: Likewise.
23313 * iconvdata/ibm16804.h: Likewise.
23314 * iconvdata/ibm4517.h: Likewise.
23315 * iconvdata/ibm4899.h: Likewise.
23316 * iconvdata/ibm4909.h: Likewise.
23317 * iconvdata/ibm4971.h: Likewise.
23318 * iconvdata/ibm5347.h: Likewise.
23319 * iconvdata/ibm803.h: Likewise.
23320 * iconvdata/ibm856.h: Likewise.
23321 * iconvdata/ibm901.h: Likewise.
23322 * iconvdata/ibm902.h: Likewise.
23323 * iconvdata/ibm9030.h: Likewise.
23324 * iconvdata/ibm9066.h: Likewise.
23325 * iconvdata/ibm921.h: Likewise.
23326 * iconvdata/ibm922.h: Likewise.
23327 * iconvdata/ibm9448.h: Likewise.
23328 * iconvdata/isiri-3342.h: Likewise.
23329 * iconvdata/jis0201.h: Likewise.
23330 * include/link.h: Likewise.
23331 * include/netdb.h: Likewise.
23332 * inet/check_native.c: Likewise.
23333 * inet/check_pf.c: Likewise.
23334 * inet/getipv4sourcefilter.c: Likewise.
23335 * inet/getnameinfo.c: Likewise.
23336 * inet/getsourcefilter.c: Likewise.
23337 * inet/htonl.c: Likewise.
23338 * inet/setipv4sourcefilter.c: Likewise.
23339 * inet/setsourcefilter.c: Likewise.
23340 * inet/test-inet6_opt.c: Likewise.
23341 * inet/tst-network.c: Likewise.
23342 * locale/C-collate.c: Likewise.
23343 * locale/C-ctype.c: Likewise.
23344 * locale/C-time.c: Likewise.
23345 * locale/C-translit.h: Likewise.
23346 * locale/loadarchive.c: Likewise.
23347 * locale/programs/3level.h: Likewise.
23348 * locale/programs/charmap.c: Likewise.
23349 * locale/programs/charmap.h: Likewise.
23350 * locale/programs/ld-address.c: Likewise.
23351 * locale/programs/ld-collate.c: Likewise.
23352 * locale/programs/ld-ctype.c: Likewise.
23353 * locale/programs/ld-identification.c: Likewise.
23354 * locale/programs/ld-measurement.c: Likewise.
23355 * locale/programs/ld-messages.c: Likewise.
23356 * locale/programs/ld-monetary.c: Likewise.
23357 * locale/programs/ld-name.c: Likewise.
23358 * locale/programs/ld-numeric.c: Likewise.
23359 * locale/programs/ld-paper.c: Likewise.
23360 * locale/programs/ld-telephone.c: Likewise.
23361 * locale/programs/ld-time.c: Likewise.
23362 * locale/programs/linereader.c: Likewise.
23363 * locale/programs/locale.c: Likewise.
23364 * locale/programs/locarchive.c: Likewise.
23365 * locale/programs/locfile.h: Likewise.
23366 * locale/programs/repertoire.c: Likewise.
23367 * locale/programs/simple-hash.c: Likewise.
23368 * locale/programs/simple-hash.h: Likewise.
23369 * malloc/memusage.c: Likewise.
23370 * malloc/memusagestat.c: Likewise.
23371 * nis/nis_defaults.c: Likewise.
23372 * nis/nis_hash.c: Likewise.
23373 * nis/nis_print.c: Likewise.
23374 * nis/nis_xdr.c: Likewise.
23375 * nscd/connections.c: Likewise.
23376 * nscd/hstcache.c: Likewise.
23377 * nscd/nscd_gethst_r.c: Likewise.
23378 * nscd/nscd_getserv_r.c: Likewise.
23379 * nscd/nscd_helper.c: Likewise.
23380 * nscd/servicescache.c: Likewise.
23381 * nss/makedb.c: Likewise.
23382 * nss/nss_db/db-XXX.c: Likewise.
23383 * nss/nss_db/db-initgroups.c: Likewise.
23384 * nss/nss_db/db-netgrp.c: Likewise.
23385 * nss/nss_files/files-network.c: Likewise.
23386 * nss/nss_files/files-parse.c: Likewise.
23387 * posix/bug-regex5.c: Likewise.
23388 * posix/fnmatch_loop.c: Likewise.
23389 * posix/regcomp.c: Likewise.
23390 * posix/regexec.c: Likewise.
23391 * posix/tst-rfc3484-2.c: Likewise.
23392 * posix/tst-rfc3484-3.c: Likewise.
23393 * posix/tst-rfc3484.c: Likewise.
23394 * resolv/nss_dns/dns-canon.c: Likewise.
23395 * resolv/nss_dns/dns-network.c: Likewise.
23396 * resolv/res_init.c: Likewise.
23397 * resolv/res_mkquery.c: Likewise.
23398 * resolv/tst-aton.c: Likewise.
23399 * stdlib/cxa_atexit.c: Likewise.
23400 * stdlib/cxa_finalize.c: Likewise.
23401 * stdlib/gen-fpioconst.c: Likewise.
23402 * stdlib/strtol_l.c: Likewise.
23403 * string/tst-endian.c: Likewise.
23404 * sunrpc/auth_des.c: Likewise.
23405 * sunrpc/clnt_udp.c: Likewise.
23406 * sunrpc/rtime.c: Likewise.
23407 * sunrpc/svcauth_des.c: Likewise.
23408 * sunrpc/xdr.c: Likewise.
23409 * sunrpc/xdr_intXX_t.c: Likewise.
23410 * sunrpc/xdr_rec.c: Likewise.
23411 * sysdeps/generic/ldconfig.h: Likewise.
23412 * sysdeps/generic/ldsodefs.h: Likewise.
23413 * sysdeps/generic/memusage.h: Likewise.
23414 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23415 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
23416 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
23417 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23418 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23419 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23420 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23421 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23422 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23423 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23424 * sysdeps/posix/getaddrinfo.c: Likewise.
23425 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23426 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23427 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23428 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23429 * sysdeps/powerpc/test-gettimebase.c: Likewise.
23430 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23431 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
23432 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
23433 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
23434 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
23435 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23436 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23437 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
23438 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
23439 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
23440 * sysdeps/x86_64/dl-tls.h: Likewise.
23441 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
23442 * time/alt_digit.c: Likewise.
23443 * time/era.c: Likewise.
23444 * wcsmbs/tst-c16c32-1.c: Likewise.
23445
8c75f674
JM
234462013-05-16 Joseph Myers <joseph@codesourcery.com>
23447
23448 * math/libm-test.inc (struct test_sincos_data): New type.
23449 (RUN_TEST_LOOP_sincos): New macro.
23450 (sincos_test_data): New variable.
23451 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
23452
e6e49e59
RH
234532013-05-16 Richard Henderson <rth@redhat.com>
23454
23455 * math/atest-exp2.c (LIMB64): New macro.
23456 (CONSTSZ): New macro.
23457 (mp_exp1, mp_exp_m1, mp_log2): New variables.
23458 (hexdig): Move ...
23459 (print_mpn_fp): ... to function scope.
23460 (read_mpn_hex): Remove.
23461 (get_log2): Remove.
23462 (exp2_mpn): Use mp_log2.
23463 (main): Use mp_exp1.
23464
15c7c18d
JM
234652013-05-16 Joseph Myers <joseph@codesourcery.com>
23466
105a07df
JM
23467 * math/libm-test.inc: Remove comment about not testing "inexact"
23468 exceptions.
23469 (INEXACT_EXCEPTION): New macro.
23470 (NO_INEXACT_EXCEPTION): Likewise.
23471 (INVALID_EXCEPTION_OK): Update value.
23472 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23473 (OVERFLOW_EXCEPTION_OK): Likewise.
23474 (UNDERFLOW_EXCEPTION_OK): Likewise.
23475 (IGNORE_ZERO_INF_SIGN): Likewise.
23476 (ERRNO_UNCHANGED): Likewise.
23477 (ERRNO_EDOM): Likewise.
23478 (ERRNO_ERANGE): Likewise.
23479 (test_exceptions): Handle testing "inexact" exceptions.
23480 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
23481 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
23482 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
23483 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
23484 INEXACT_EXCEPTION.
23485 (rint_towardzero_test_data): Likewise.
23486 (rint_downward_test_data): Likewise.
23487 (rint_upward_test_data): Likewise.
23488
e9eee333
JM
23489 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
23490 with OVERFLOW_EXCEPTION.
23491 (exp10_test_data): Likewise.
23492 (exp2_test_data): Likewise.
23493 (expm1_test_data): Likewise.
23494 (lgamma_test_data): Likewise.
23495 (pow_test_data): Likewise.
23496 (tgamma_test_data): Likewise.
23497 (yn_test_data): Remove duplicate test of overflow.
23498
1c38ff73
JM
23499 * math/libm-test.inc (struct test_cc_c_data): New type.
23500 (RUN_TEST_LOOP_cc_c): New macro.
23501 (cpow_test_data): New variable.
23502 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
23503
15c7c18d
JM
23504 * math/libm-test.inc (struct test_f_L_data): New type.
23505 (RUN_TEST_LOOP_f_L): New macro.
23506 (llrint_test_data): New variable.
23507 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
23508 (llrint_tonearest_test_data): New variable.
23509 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
23510 (llrint_towardzero_test_data): New variable.
23511 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
23512 (llrint_downward_test_data): New variable.
23513 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
23514 (llrint_upward_test_data): New variable.
23515 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
23516 (llround_test_data): New variable.
23517 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
23518
f137ff13
PC
235192013-05-13 Peter Collingbourne <pcc@google.com>
23520
23521 * math/atest-exp2.c (get_log2): Remove const attribute.
23522
3608cb24
JM
235232013-05-15 Joseph Myers <joseph@codesourcery.com>
23524
23525 * math/libm-test.inc (struct test_f_l_data): New type.
23526 (RUN_TEST_LOOP_f_l): New macro.
23527 (lrint_test_data): New variable.
23528 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
23529 (lrint_tonearest_test_data): New variable.
23530 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
23531 (lrint_towardzero_test_data): New variable.
23532 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
23533 (lrint_downward_test_data): New variable.
23534 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
23535 (lrint_upward_test_data): New variable.
23536 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
23537 (lround_test_data): New variable.
23538 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
23539
39b1f617
PC
235402013-05-15 Peter Collingbourne <pcc@google.com>
23541
1deff3dc
PC
23542 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
23543 (EXTRACT_WORDS64) Use where appropriate.
23544 (INSERT_WORDS64) Likewise.
23545
791f3ba0
PC
23546 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
23547 constraints with x constraints.
23548 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
23549
39b1f617
PC
23550 * malloc/obstack.c (_obstack_compat): Add initializer.
23551
12fba011
EM
235522013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
23553
23554 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
23555 si_trapno and add si_addr_lsb to _sifields.sigfault.
23556 (si_trapno): Remove macro.
23557 (si_addr_lsb): Define new macro.
23558 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23559
d369f531
JM
235602013-05-15 Joseph Myers <joseph@codesourcery.com>
23561
b861c6c4
JM
23562 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
23563 instead of TEST_f_l.
23564 (llrint_test_tonearest): Likewise.
23565 (llrint_test_towardzero): Likewise.
23566 (llrint_test_downward): Likewise.
23567 (llrint_test_upward): Likewise.
23568 (llround_test): Likewise.
23569
7abeee12
JM
23570 * math/libm-test.inc (struct test_f_i_data): Add comment.
23571 (RUN_TEST_LOOP_f_b): New macro.
23572 (RUN_TEST_LOOP_f_b_tg): Likewise.
23573 (finite_test_data): New variable.
23574 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
23575 (isfinite_test_data): New variable.
23576 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23577 (isinf_test_data): New variable.
23578 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23579 (isnan_test_data): New variable.
23580 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23581 (isnormal_test_data): New variable.
23582 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23583 (issignaling_test_data): New variable.
23584 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23585 (signbit_test_data): New variable.
23586 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23587
cbe8c4d3
JM
23588 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
23589 with INVALID_EXCEPTION.
23590 (acosh_test_data): Likewise.
23591 (asin_test_data): Likewise.
23592 (atanh_test_data): Likewise.
23593 (fmod_test_data): Likewise.
23594 (log_test_data): Likewise.
23595 (log10_test_data): Likewise.
23596 (log2_test_data): Likewise.
23597 (pow_test_data): Likewise.
23598 (sqrt_test_data): Likewise.
23599 (y0_test_data): Likewise.
23600 (y1_test_data): Likewise.
23601 (yn_test_data): Likewise.
23602
5575c0e5
JM
23603 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
23604 function contents.
23605
d369f531
JM
23606 * math/libm-test.inc (struct test_ff_i_data): New type.
23607 (RUN_TEST_LOOP_ff_i_tg): New macro.
23608 (isgreater_test_data): New variable.
23609 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23610 (isgreaterequal_test_data): New variable.
23611 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23612 (isless_test_data): New variable.
23613 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23614 (islessequal_test_data): New variable.
23615 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23616 (islessgreater_test_data): New variable.
23617 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23618 (isunordered_test_data): New variable.
23619 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23620
781fd748
DM
236212013-05-14 David S. Miller <davem@davemloft.net>
23622
23623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23624
87aa21df
JM
236252013-05-14 Joseph Myers <joseph@codesourcery.com>
23626
5e908270
JM
23627 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
23628
f71172e5
JM
23629 * math/libm-test.inc (struct test_fF_f1_data): Change type of
23630 extra_test to int.
23631 (struct test_f_i_data): Change type of max_ulp to int.
23632
8cfa635a
JM
23633 * math/libm-test.inc (test_ffI_f1_data): New type.
23634 (RUN_TEST_LOOP_ffI_f1): New macro.
23635 (remquo_test_data): New variable.
23636 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
23637
2bcb36b2
JM
23638 * setjmp/tst-setjmp-fp.c: New file.
23639 * setjmp/Makefile (tests): Add tst-setjmp-fp.
23640 (link-libm): New variable.
23641 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
23642
acbd839a
JM
23643 * math/libm-test.inc (struct test_f_i_data): New type.
23644 (RUN_TEST_LOOP_f_i): New macro.
23645 (RUN_TEST_LOOP_f_i_tg): Likewise.
23646 (fpclassify_test_data): New variable.
23647 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
23648 (ilogb_test_data): New variable.
23649 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
23650
e414d745
JM
23651 * math/libm-test.inc (scalbln_test): Correct function name in END
23652 call.
23653
d9c2a0fd
JM
23654 * math/libm-test.inc (struct test_f_f1_data): Add comment.
23655 (RUN_TEST_LOOP_fI_f1): New macro.
23656 (frexp_test_data): New variable.
23657 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
23658
9dc9095d
JM
23659 * math/libm-test.inc (struct test_fF_f1_data): New type.
23660 (RUN_TEST_LOOP_fF_f1): New macro.
23661 (modf_test_data): New variable.
23662 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
23663
87aa21df
JM
23664 * math/libm-test.inc (struct test_f_f1_data): New type.
23665 (RUN_TEST_LOOP_f_f1): New macro.
23666 (gamma_test_data): New variable.
23667 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23668 (lgamma_test_data): New variable.
23669 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23670
141af660
CD
236712013-05-13 Carlos O'Donell <carlos@redhat.com>
23672
23673 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
23674 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
23675 (main): Comment "tls" pseudo-hwcap.
23676
6d33265c
JM
236772013-05-13 Joseph Myers <joseph@codesourcery.com>
23678
68fc074c
JM
23679 * math/libm-test.inc (struct test_fl_f_data): New type.
23680 (RUN_TEST_LOOP_fl_f): New variable.
23681 (scalbln_test_data): New variable.
23682 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
23683
243216e1
JM
23684 * math/libm-test.inc (struct test_fi_f_data): New type.
23685 (RUN_TEST_LOOP_fi_f): New macro.
23686 (ldexp_test_data): New variable.
23687 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
23688 (scalbn_test_data): New variable.
23689 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
23690
6a1992e2
JM
23691 * math/libm-test.inc (struct test_c_f_data): New type.
23692 (RUN_TEST_LOOP_c_f): New macro.
23693 (cabs_test_data): New variable.
23694 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
23695 (carg_test_data): New variable.
23696 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
23697 (cimag_test_data): New variable.
23698 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
23699 (creal_test_data): New variable.
23700 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
23701
0e400df5
JM
23702 * math/libm-test.inc (struct test_if_f_data): New type.
23703 (RUN_TEST_LOOP_if_f): New macro.
23704 (jn_test_data): New variable.
23705 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
23706 (yn_test_data): New variable.
23707 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
23708
6d33265c
JM
23709 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
23710
f98ece5f
AZ
237112013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23712
23713 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
23714 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
23715
0f7d347b
SP
237162013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23717
43fe811b
SP
23718 * benchtests/Makefile (CPPFLAGS-nonlib): Add
23719 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
23720 (bench-deps): Add bench-timing.h.
23721 * benchtests-bench-skeleton.c: Include bench-timing.h.
23722 (main): Use TIMING_* macros instead of clock_gettime.
23723 * benchtests/bench-timing.h: New file.
23724
0f7d347b
SP
23725 [BZ #14582]
23726 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
23727 Renamed from _LIB_VERSION.
23728 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
23729
601a3a5f
JM
237302013-05-12 Joseph Myers <joseph@codesourcery.com>
23731
4f184d30
JM
23732 * math/libm-test.inc (struct test_fff_f_data): New type.
23733 (RUN_TEST_LOOP_fff_f): New macro.
23734 (fma_test_data): New variable.
23735 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
23736 (fma_towardzero_test_data): New variable.
23737 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
23738 (fma_downward_test_data): New variable.
23739 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
23740 (fma_upward_test_data): New variable.
23741 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
23742
08198877
JM
23743 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
23744 (struct test_c_c_data): New type.
23745 (RUN_TEST_LOOP_c_c): New macro.
23746 (cacos_test_data): New variable.
23747 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
23748 (cacosh_test_data): New variable.
23749 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
23750 (casin_test_data): New variable.
23751 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
23752 (casinh_test_data): New variable.
23753 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
23754 (catan_test_data): New variable.
23755 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
23756 (catanh_test_data): New variable.
23757 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
23758 (ccos_test_data): New variable.
23759 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
23760 (ccosh_test_data): New variable.
23761 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
23762 (cexp_test_data): New variable.
23763 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
23764 (clog_test_data): New variable.
23765 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
23766 (clog10_test_data): New variable.
23767 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
23768 (conj_test_data): New variable.
23769 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
23770 (cproj_test_data): New variable.
23771 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
23772 (csin_test_data): New variable.
23773 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
23774 (csinh_test_data): New variable.
23775 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
23776 (csqrt_test_data): New variable.
23777 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
23778 (ctan_test_data): New variable.
23779 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
23780 (ctan_tonearest_test_data): New variable.
23781 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23782 (ctan_towardzero_test_data): New variable.
23783 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23784 (ctan_downward_test_data): New variable.
23785 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23786 (ctan_upward_test_data): New variable.
23787 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23788 (ctanh_test_data): New variable.
23789 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
23790 (ctanh_tonearest_test_data): New variable.
23791 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23792 (ctanh_towardzero_test_data): New variable.
23793 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23794 (ctanh_downward_test_data): New variable.
23795 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23796 (ctanh_upward_test_data): New variable.
23797 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23798 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
23799 of BUILD_COMPLEX.
23800
601a3a5f
JM
23801 * math/libm-test.inc (struct test_ff_f_data): New type.
23802 (struct test_ff_f_data_nexttoward): Likewise.
23803 (RUN_TEST_LOOP_2_f): New macro.
23804 (RUN_TEST_LOOP_ff_f): Likewise.
23805 (atan2_test_data): New variable.
23806 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
23807 (copysign_test_data): New variable.
23808 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
23809 (fdim_test_data): New variable.
23810 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
23811 (fmax_test_data): New variable.
23812 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
23813 (fmin_test_data): New variable.
23814 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
23815 (fmod_test_data): New variable.
23816 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
23817 (hypot_test_data): New variable.
23818 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
23819 (nextafter_test_data): New variable.
23820 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
23821 (nexttoward_test_data): New variable.
23822 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
23823 (pow_test_data): New variable.
23824 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
23825 (pow_tonearest_test_data): New variable.
23826 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
23827 (pow_towardzero_test_data): New variable.
23828 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
23829 (pow_downward_test_data): New variable.
23830 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
23831 (pow_upward_test_data): New variable.
23832 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
23833 (remainder_test_data): New variable.
23834 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
23835 (scalb_test_data): New variable.
23836 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
23837 * sysdeps/i386/fpu/libm-test-ulps: Update.
23838
74c57478
JM
238392013-05-11 Joseph Myers <joseph@codesourcery.com>
23840
8329e4da
JM
23841 * math/libm-test.inc (fma_test): Use max_value instead of local
23842 variable fltmax.
23843 (nextafter_test): Likewise.
23844
74c57478
JM
23845 * math/libm-test.inc (acos_towardzero_test_data): New variable.
23846 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23847 (acos_downward_test_data): New variable.
23848 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23849 (acos_upward_test_data): New variable.
23850 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23851 (acosh_test_data): New variable.
23852 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
23853 (asin_test_data): New variable.
23854 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
23855 (asin_tonearest_test_data): New variable.
23856 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23857 (asin_towardzero_test_data): New variable.
23858 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23859 (asin_downward_test_data): New variable.
23860 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23861 (asin_upward_test_data): New variable.
23862 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23863 (asinh_test_data): New variable.
23864 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
23865 (atan_test_data): New variable.
23866 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
23867 (atanh_test_data): New variable.
23868 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23869 (cbrt_test_data): New variable.
23870 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23871 (ceil_test_data): New variable.
23872 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23873 (cos_test_data): New variable.
23874 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23875 (cos_tonearest_test_data): New variable.
23876 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23877 (cos_towardzero_test_data): New variable.
23878 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23879 (cos_downward_test_data): New variable.
23880 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23881 (cos_upward_test_data): New variable.
23882 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23883 (cosh_test_data): New variable.
23884 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23885 (cosh_tonearest_test_data): New variable.
23886 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23887 (cosh_towardzero_test_data): New variable.
23888 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23889 (cosh_downward_test_data): New variable.
23890 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23891 (cosh_upward_test_data): New variable.
23892 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23893 (erf_test_data): New variable.
23894 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23895 (erfc_test_data): New variable.
23896 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23897 (exp_test_data): New variable.
23898 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23899 (exp_tonearest_test_data): New variable.
23900 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23901 (exp_towardzero_test_data): New variable.
23902 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23903 (exp_downward_test_data): New variable.
23904 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23905 (exp_upward_test_data): New variable.
23906 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23907 (exp10_test_data): New variable.
23908 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23909 (exp2_test_data): New variable.
23910 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23911 (expm1_test_data): New variable.
23912 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23913 (fabs_test_data): New variable.
23914 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23915 (floor_test_data): New variable.
23916 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23917 (j0_test_data): New variable.
23918 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23919 (j1_test_data): New variable.
23920 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23921 (log_test_data): New variable.
23922 (log_test): Run tests with RUN_TEST_LOOP_f_f.
23923 (log10_test_data): New variable.
23924 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23925 (log1p_test_data): New variable.
23926 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23927 (log2_test_data): New variable.
23928 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23929 (logb_test_data): New variable.
23930 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23931 (logb_downward_test_data): New variable.
23932 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23933 (nearbyint_test_data): New variable.
23934 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23935 (rint_test_data): New variable.
23936 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23937 (rint_tonearest_test_data): New variable.
23938 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23939 (rint_towardzero_test_data): New variable.
23940 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23941 (rint_downward_test_data): New variable.
23942 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23943 (rint_upward_test_data): New variable.
23944 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23945 (round_test_data): New variable.
23946 (round_test): Run tests with RUN_TEST_LOOP_f_f.
23947 (sin_test_data): New variable.
23948 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23949 (sin_tonearest_test_data): New variable.
23950 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23951 (sin_towardzero_test_data): New variable.
23952 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23953 (sin_downward_test_data): New variable.
23954 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23955 (sin_upward_test_data): New variable.
23956 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23957 (sinh_test_data): New variable.
23958 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23959 (sinh_tonearest_test_data): New variable.
23960 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23961 (sinh_towardzero_test_data): New variable.
23962 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23963 (sinh_downward_test_data): New variable.
23964 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23965 (sinh_upward_test_data): New variable.
23966 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23967 (sqrt_test_data): New variable.
23968 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
23969 (tan_test_data): New variable.
23970 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
23971 (tan_tonearest_test_data): New variable.
23972 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23973 (tan_towardzero_test_data): New variable.
23974 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23975 (tan_downward_test_data): New variable.
23976 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23977 (tan_upward_test_data): New variable.
23978 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23979 (tanh_test_data): New variable.
23980 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
23981 (tgamma_test_data): New variable.
23982 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
23983 (trunc_test_data): New variable.
23984 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
23985 (y0_test_data): New variable.
23986 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
23987 (y1_test_data): New variable.
23988 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
23989 (significand_test_data): New variable.
23990 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
23991
7187d844
CG
239922013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
23993
23994 [BZ #12387]
23995 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
23996
f63fae73
PT
239972013-05-10 Pino Toscano <toscano.pino@tiscali.it>
23998
23999 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
24000
8a67a4b3
AJ
240012013-05-10 Andreas Jaeger <aj@suse.de>
24002
24003 [BZ #15448]
24004 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
24005 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
24006
51df539d
JM
240072013-05-10 Joseph Myers <joseph@codesourcery.com>
24008
24009 * math/gen-libm-test.pl (adjust_arg): New function.
24010 (special_functions): Handle generating output in both functions
24011 and arrays.
24012 (parse_args): Likewise.
24013 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
24014 $in_func argument to parse_args.
24015 * math/libm-test.inc (struct test_f_f_data): New type.
24016 (IF_ROUND_INIT_): New macro.
24017 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
24018 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24019 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24020 (IF_ROUND_INIT_FE_UPWARD): Likewise.
24021 (ROUND_RESTORE_): Likewise.
24022 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
24023 (ROUND_RESTORE_FE_TONEAREST): Likewise.
24024 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
24025 (ROUND_RESTORE_FE_UPWARD): Likewise.
24026 (RUN_TEST_LOOP_f_f): New macro.
24027 (acos_test_data): New variable.
24028 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
24029 (acos_tonearest_test_data): New variable.
24030 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24031
5c637fe5
SP
240322013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24033
24034 * benchtests/bench-skeleton.c (startup): Fix coding style.
24035
ab2b9461
JM
240362013-05-10 Joseph Myers <joseph@codesourcery.com>
24037
24038 [BZ #6809]
24039 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
24040 negative infinity argument.
24041 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
24042 negative infinity argument.
24043 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
24044 negative infinity argument.
24045 * math/libm-test.inc (tgamma_test): Expect errno to be set for
24046 domain errors.
24047
4c0fe6fe
FW
240482013-05-10 Florian Weimer <fweimer@redhat.com>
24049
24050 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
24051 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
24052 * iconv/iconv_prog.c (main): Likewise.
24053 * locale/programs/charmap-dir.c (charmap_readdir)
24054 (fopen_uncompressed): Likewise.
24055 * locale/programs/locfile.c (siblings_uncached)
24056 (write_locale_data): Use lstat64 instead of lstat.
24057 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
24058 stat.
24059
a3375d29
AJ
240602013-05-10 Andreas Jaeger <aj@suse.de>
24061
24062 [BZ #15395]
24063 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
24064 localization.
24065 Include <locale.h>.
24066
36129722
CD
240672013-05-09 Carlos O'Donell <carlos@redhat.com>
24068
24069 * elf/dl-close.c (_dl_close_worker): Add comments.
24070
faa7f811
JM
240712013-05-09 Joseph Myers <joseph@codesourcery.com>
24072
ed41ffef
JM
24073 [BZ #15359]
24074 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
24075 high part of pi/2.
24076 (__ieee754_rem_pio2l): Update comments.
24077
d0213cd0
JM
24078 [BZ #15429]
24079 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
24080 high part of pi/2.
24081 (__ieee754_rem_pio2l): Update comments.
24082
0d3e777a
JM
24083 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
24084 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
24085
24f56066
JM
24086 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
24087 M_PI_4l.
24088
faa7f811
JM
24089 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
24090 (M_PI_34_LOG10El): Likewise.
24091 (M_PI2_LOG10El): Likewise.
24092 (M_PI4_LOG10El): Likewise.
24093 (M_PI_LOG10El): Likewise.
24094
e9a5e0fd
AZ
240952013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24096
24097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24098
d8cd06db
JM
240992013-05-08 Joseph Myers <joseph@codesourcery.com>
24100
a0d9f9d7
JM
24101 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
24102 (MINUS_ZERO_INIT): Likewise.
24103 (PLUS_INFTY_INIT): Likewise.
24104 (MINUS_INFTY_INIT): Likewise.
24105 (QNAN_VALUE_INIT): Likewise.
24106 (MAX_VALUE_INIT): Likewise.
24107 (MIN_VALUE_INIT): Likewise.
24108 (MIN_SUBNORM_VALUE_INIT): Likewise.
24109 (plus_zero): Initialize with PLUS_ZERO_INIT.
24110 (minus_zero): Initialize with MINUS_ZERO_INIT.
24111 (plus_infty): Initialize with PLUS_INFTY_INIT.
24112 (minus_infty): Initialize with MINUS_INFTY_INIT.
24113 (qnan_value): Initialize with QNAN_VALUE_INIT.
24114 (max_value): Initialize with MAX_VALUE_INIT.
24115 (min_value): Initialize with MIN_VALUE_INIT.
24116 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
24117
ae08db3b
JM
24118 * math/libm-test.inc (RUN_TEST_if_f): New macro.
24119 (jn_test): Use TEST_if_f instead of TEST_ff_f.
24120 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
24121 (yn_test): Use TEST_if_f instead of TEST_ff_f.
24122
f44bf14a
JM
24123 * math/libm-test.inc (RUN_TEST_f_f): New macro.
24124 (RUN_TEST_2_f): Likewise.
24125 (RUN_TEST_ff_f): Likewise.
24126 (RUN_TEST_fi_f): Likewise.
24127 (RUN_TEST_fl_f): Likewise.
24128 (RUN_TEST_fff_f): Likewise.
24129 (RUN_TEST_c_f): Likewise.
24130 (RUN_TEST_f_f1): Likewise.
24131 (RUN_TEST_fF_f1): Likewise.
24132 (RUN_TEST_fI_f1): Likewise.
24133 (RUN_TEST_ffI_f1): Likewise.
24134 (RUN_TEST_c_c): Likewise.
24135 (RUN_TEST_cc_c): Likewise.
24136 (RUN_TEST_f_i): Likewise.
24137 (RUN_TEST_f_i_tg): Likewise.
24138 (RUN_TEST_ff_i_tg): Likewise.
24139 (RUN_TEST_f_b): Likewise.
24140 (RUN_TEST_f_b_tg): Likewise.
24141 (RUN_TEST_f_l): Likewise.
24142 (RUN_TEST_f_L): Likewise.
24143 (RUN_TEST_sincos): Likewise.
24144 * math/gen-libm-test.pl (new_test): Take new argument to indicate
24145 whether to show exceptions. Do not include ");\n" in return
24146 value.
24147 (special_functions): Output call to RUN_TEST_sincos instead of
24148 check_float calls. Update calls to new_test.
24149 (parse_args): Output call to single RUN_TEST_* macro instead of
24150 check_* calls and other assignments. Update calls to new_test.
24151
d8cd06db
JM
24152 [BZ #2546]
24153 [BZ #2560]
24154 [BZ #5159]
24155 [BZ #15426]
24156 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
24157 input to result for tgamma overflow.
24158 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
24159 (gamma_coeff): New variable.
24160 (NCOEFF): New macro.
24161 (gamma_positive): New function.
24162 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
24163 underflow here. Use gamma_positive instead of exp (lgamma) for
24164 other arguments.
24165 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
24166 (gamma_coeff): New variable.
24167 (NCOEFF): New macro.
24168 (gammaf_positive): New function.
24169 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
24170 underflow here. Use gamma_positive instead of exp (lgamma) for
24171 other arguments.
24172 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
24173 (gamma_coeff): New variable.
24174 (NCOEFF): New macro.
24175 (gammal_positive): New function.
24176 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
24177 underflow here. Use gamma_positive instead of exp (lgamma) for
24178 other arguments.
24179 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
24180 (gamma_coeff): New variable.
24181 (NCOEFF): New macro.
24182 (gammal_positive): New function.
24183 (__ieee754_gammal_r): Handle positive infinity, overflow and
24184 underflow here. Handle NaN the same as positive infinity. Remove
24185 check x < 0xffffffff for negative integers. Use gamma_positive
24186 instead of exp (lgamma) for other arguments.
24187 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
24188 (gamma_coeff): New variable.
24189 (NCOEFF): New macro.
24190 (gammal_positive): New function.
24191 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
24192 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
24193 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
24194 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
24195 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
24196 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
24197 * sysdeps/generic/math_private.h (__gamma_productf): New
24198 prototype.
24199 (__gamma_product): Likewise.
24200 (__gamma_productl): Likewise.
24201 * math/Makefile (libm-calls): Add gamma_product.
24202 * math/libm-test.inc (tgamma_test): Add more tests.
24203 * sysdeps/i386/fpu/libm-test-ulps: Update.
24204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24205
bb7cf681
OB
242062013-05-08 Ondřej Bílka <neleai@seznam.cz>
24207
24208 * benchtests/bench-skeleton.c (main): Preheat CPU.
24209
ba853947
AJ
242102013-05-07 Aurelien Jarno <aurelien@aurel32.net>
24211
24212 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
24213
8347c74c
RM
242142013-05-07 Roland McGrath <roland@hack.frob.com>
24215
24216 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
24217 and _dl_skip_args_internal.
24218
e8dd4791
CD
242192013-05-07 Carlos O'Donell <carlos@redhat.com>
24220
24221 * manual/message.texi (Message Translation): Talk about users.
24222 Message to key mapping impacts design.
24223
c7405830
RM
242242013-05-06 Roland McGrath <roland@hack.frob.com>
24225
a9173057
RM
24226 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
24227
976e2f03
RM
24228 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
24229
9723ffc5
RM
24230 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
24231 * sysdeps/wordsize-64/glob64.c: ... here.
24232
962e6658
RM
24233 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
24234 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
24235 New macros.
24236
ee586a6d
RM
24237 * debug/getlogin_r_chk.c: Moved to ...
24238 * login/getlogin_r_chk.c: ... here.
24239 * debug/Makefile (routines): Move getlogin_r_chk to ...
24240 * login/Makefile (routines): ... here.
24241 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
24242 * login/Versions (libc: GLIBC_2.4): ... here.
24243
355f9165
RM
24244 * io/poll.c (__poll): Renamed from poll.
24245 Add libc_hidden_def.
24246 (poll): Define as weak alias.
24247
bd9ffde6
RM
24248 * debug/ptsname_r_chk.c: Moved to ...
24249 * login/ptsname_r_chk.c: ... here.
24250 * debug/Makefile (routines): Move ptsname_r_chk to ...
24251 * login/Makefile (routines): ... here.
24252 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
24253 * login/Versions (libc: GLIBC_2.4): ... here.
24254
8fb16a04
RM
24255 * posix/getlogin.c: Moved to ...
24256 * login/getlogin.c: ... here.
24257 * posix/getlogin_r.c: Moved to ...
24258 * login/getlogin_r.c: ... here.
24259 * posix/getlogin_r.c: Moved to ...
24260 * login/getlogin_r.c: ... here.
24261 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
24262 * login/Makefile (routines): ... here.
24263 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
24264 * login/Versions (libc: GLIBC_2.0): ... here.
24265
b99b892f
RM
24266 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
24267 (setrlimit): Define as weak alias.
24268
c7405830
RM
24269 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
24270 Call __ names for open, ftruncate, and close.
24271 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
24272 (truncate): Define as weak alias.
24273
5bf96de5
JM
242742013-05-06 Joseph Myers <joseph@codesourcery.com>
24275
9ea3513c
JM
24276 * math/gen-libm-test.pl (parse_args): Initialize x before each
24277 test of frexp, modf and remquo.
24278
5bf96de5
JM
24279 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
24280 test signgam value.
24281
16e616a7
AZ
242822013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24283
24284 [BZ #15418]
24285 [BZ #15419]
24286 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
24287 internal tests.
24288 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24289
d5e82754
RM
242902013-05-06 Roland McGrath <roland@hack.frob.com>
24291
24292 * elf/dl-writev.h: New file.
24293 * elf/dl-misc.c: Include it.
24294 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
24295 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
24296
a7548d41
JM
242972013-05-04 Joseph Myers <joseph@codesourcery.com>
24298
b7dab1e4
JM
24299 * math/libm-test.inc (noXFails): Remove variable.
24300 (noXPasses): Likewise.
24301 (BUILD_COMPLEX_INT): Remove macro.
24302 (print_screen): Remove xfail argument.
24303 (print_screen_max_error): Likewise.
24304 (update_stats): Likewise.
24305 (print_max_error): Likewise. Update calls to other affected
24306 functions.
24307 (print_complex_max_error): Likewise.
24308 (test_single_exception): Update calls to print_screen.
24309 (test_single_errno): Likewise.
24310 (check_float_internal): Remove xfail argument. Update calls to
24311 other affected functions.
24312 (check_float): Likewise.
24313 (check_complex): Likewise.
24314 (check_int): Likewise.
24315 (check_long): Likewise.
24316 (check_bool): Likewise.
24317 (check_longlong): Likewise.
24318 (main): Don't print noXFails and noXPasses.
24319 * math/gen-libm-test.pl (top level): Don't mention expected
24320 failure handling in comment.
24321 (new_test): Don't handle expected failures.
24322 (parse_args): Don't mention expected failure handling in comment.
24323 (generate_testfile): Don't handle expected failures.
24324 (parse_ulps): Likewise.
24325 (print_ulps_file): Likewise.
24326 (get_failure): Remove function.
24327 (output_test): Don't handle expected failures.
24328 * make/README.libm-test: Don't mention expected failure handling.
24329
a7548d41
JM
24330 * math/libm-test.inc (plus_zero): Make const. Add initializer.
24331 (minus_zero): Likewise.
24332 (plus_infty): Likewise.
24333 (minus_infty): Likewise.
24334 (qnan_value): Likewise.
24335 (max_value): Likewise.
24336 (min_value): Likewise.
24337 (min_subnorm_value): Likewise.
24338 (initialize): Do not initialize those variables dynamically.
24339
60bfd54c
RM
243402013-05-03 Roland McGrath <roland@hack.frob.com>
24341
cc0e6ed8
RM
24342 * io/open.c (__open_2): Moved to ...
24343 * io/open_2.c: ... this new file.
24344 * io/open64.c (__open64_2): Moved to ...
24345 * io/open64_2.c: ... this new file.
24346 * io/openat.c (__openat_2): Moved to ...
24347 * io/openat_2.c: ... this new file.
24348 * io/openat64.c (__openat64_2): Moved to ...
24349 * io/openat64_2.c: ... this new file.
24350 * io/Makefile (routines): Add them.
24351 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
24352 * sysdeps/unix/sysv/linux/open_2.c: File removed.
24353 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
24354 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
24355 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
24356 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
24357 (__openat64): Add hidden_ver.
24358 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
24359 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
24360
60bfd54c
RM
24361 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
24362 Separately conditionalize setting of GLRO(dl_sysinfo) so
24363 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
24364 as well, but the actual setting is only under [NEED_DL_SYSINFO].
24365
83e7640f
AZ
243662013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24367
24368 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
24369 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
24370 definition.
24371 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
24372 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24373 (_libc_vdso_platform_setup): Add __vdso_time initialization.
24374 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
24375 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
24376
d5dc2af3
JM
243772013-05-03 Joseph Myers <joseph@codesourcery.com>
24378
c31a5b1e
JM
24379 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
24380 test signgam value.
24381
d5dc2af3
JM
24382 * math/libm-test.inc (hypot_test): Do not use
24383 IGNORE_ZERO_INF_SIGN.
24384
164fd39d
AJ
243852013-05-03 Andreas Jaeger <aj@suse.de>
24386
24387 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
24388 Linux 3.9.
24389 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
24390 (PF_MAX): Adjust for VSOCK change.
24391
8237f48c
AZ
243922013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24393
24394 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24395
9df02941
CD
243962013-05-02 Carlos O'Donell <carlos@redhat.com>
24397
24398 [BZ #15264]
24399 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
24400 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
24401 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
24402
d422395e
DM
244032013-05-02 David S. Miller <davem@davemloft.net>
24404
24405 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24406
a07c5731
OB
244072013-05-01 Ondřej Bílka <neleai@seznam.cz>
24408
24409 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
24410
1324e37f
RM
244112013-05-01 Roland McGrath <roland@hack.frob.com>
24412
24413 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
24414
0695940b
RS
244152013-05-01 Richard Smith <richard@metafoo.co.uk>
24416
bb5f27ad 24417 [BZ #14952]
0695940b
RS
24418 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
24419 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24420 Use __attribute__ ((__gnu_inline__)).
24421 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24422 Don't use __attribute__ ((__gnu_inline__)).
24423
10de07f5
JM
244242013-05-01 Joseph Myers <joseph@codesourcery.com>
24425
24426 [BZ #15423]
24427 * math/s_catan.c (__catan): Handle small real or imaginary part of
24428 input specially to avoid spurious underflow.
24429 * math/s_catanf.c (__catanf): Likewise.
24430 * math/s_catanh.c (__catanh): Likewise.
24431 * math/s_catanhf.c (__catanhf): Likewise.
24432 * math/s_catanhl.c (__catanhl): Likewise.
24433 * math/s_catanl.c (__catanl): Likewise.
24434 * math/libm-test.inc (catan_test): Add more tests.
24435 (catanh_test): Likewise.
24436 * sysdeps/i386/fpu/libm-test-ulps: Update.
24437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24438
cb4d5414
AZ
244392013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24440
24441 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24442
caf84319
JM
244432013-04-30 Joseph Myers <joseph@codesourcery.com>
24444
24445 [BZ #15416]
24446 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
24447 accurately for denominator in atan2.
24448 * math/s_catanf.c (__catanf): Likewise.
24449 * math/s_catanh.c (__catanh): Likewise.
24450 * math/s_catanhf.c (__catanhf): Likewise.
24451 * math/s_catanhl.c (__catanhl): Likewise.
24452 * math/s_catanl.c (__catanl): Likewise.
24453 * math/libm-test.inc (catan_test): Add more tests.
24454 (catanh_test): Likewise.
24455 * sysdeps/i386/fpu/libm-test-ulps: Update.
24456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24457
d569c6ee
SP
244582013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24459
6dbe713d
SP
24460 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
24461
f0ee064b
SP
24462 * benchtests/Makefile (bench): Remove slow benchmarks.
24463 * benchtests/atan-inputs: Add slow benchmark inputs.
24464 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
24465 (BENCH_FUNC): Accept variant offset.
24466 (VARIANT): Define.
24467 * benchtests/bench-skeleton.c (main): Run benchmark for each
24468 variant.
24469 * benchtests/cos-inputs: Add slow benchmark inputs.
24470 * benchtests/exp-inputs: Likewise.
24471 * benchtests/pow-inputs: Likewise.
24472 * benchtests/sin-inputs: Likewise.
24473 * benchtests/slowatan-inputs: Remove.
24474 * benchtests/slowatan.c: Remove.
24475 * benchtests/slowcos-inputs: Remove.
24476 * benchtests/slowcos.c: Remove.
24477 * benchtests/slowexp-inputs: Remove.
24478 * benchtests/slowexp.c: Remove.
24479 * benchtests/slowpow-inputs: Remove.
24480 * benchtests/slowpow.c: Remove.
24481 * benchtests/slowsin-inputs: Remove.
24482 * benchtests/slowsin.c: Remove.
24483 * benchtests/slowtan-inputs: Remove.
24484 * benchtests/slowtan.c: Remove.
24485 * benchtests/tan-inputs: Add slow benchmark inputs.
24486 * scripts/bench.pl: Parse comments and directives.
24487
d569c6ee
SP
24488 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
24489 in CPPFLAGS.
24490 ($(objpfx)bench-%.c): Remove *-ITER.
24491 * benchtests/bench-modf.c: Remove definition of ITER.
24492 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
24493 (main): Loop for DURATION seconds instead of fixed number of
24494 iterations.
24495 * scripts/bench.pl: Don't expect iterations in parameters.
24496
a6a242fe
RM
244972013-04-29 Roland McGrath <roland@hack.frob.com>
24498
24499 * io/fchdir.c (__fchdir): Renamed from fchdir.
24500 (fchdir): Define as weak alias.
24501
f2da7793
JM
245022013-04-29 Joseph Myers <joseph@codesourcery.com>
24503
24504 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
24505 (ERRNO_EDOM): Likewise.
24506 (ERRNO_ERANGE): Likewise.
24507 (noErrnoTests): New variable.
24508 (init_max_error): Set errno to 0.
24509 (test_single_errno): New function.
24510 (test_errno): Likewise.
24511 (check_float_internal): Call test_errno. Set errno to 0.
24512 (check_complex): Refer to errno tests in comment.
24513 (check_int): Call test_errno. Set errno to 0.
24514 (check_long): Likewise.
24515 (check_bool): Likewise.
24516 (check_longlong): Likewise.
24517 (cos_test): Use ERRNO_* flags for errno tests instead of
24518 check_int.
24519 (expm1_test): Likewise.
24520 (fmod_test): Likewise.
24521 (ilogb_test): Likewise.
24522 (lgamma_test): Likewise.
24523 (pow_test): Likewise.
24524 (remainder_test): Likewise.
24525 (sin_test): Likewise.
24526 (tan_test): Likewise.
24527 (yn_test): Likewise.
24528 (initialize): Set errno to 0.
24529 (main): Print number of errno tests.
24530 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
24531
b1a36ceb
AJ
245322013-04-29 Andreas Jaeger <aj@suse.de>
24533
c3ed8088
AJ
24534 [BZ #15084]
24535 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
24536 and RES_USEVC.
24537
f1a24198
AJ
24538 [BZ #15085]
24539 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
24540 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
24541 unimplemented.
24542
9ce3b2cb
AJ
24543 [BZ #15380]
24544 * stdlib/random.c (__initstate): Return NULL if
24545 __initstate fails.
24546
f1a24198 24547 [BZ #15086]
b1a36ceb
AJ
24548 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
24549 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
24550 RES_SNGLKUPREOP.
24551
7e7b6f36
AZ
245522013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24553
24554 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24555
4d14f449
JM
245562013-04-29 Joseph Myers <joseph@codesourcery.com>
24557
24558 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
24559 of individual tests.
24560 (casin_test): Likewise.
24561 (casinh_test): Likewise.
24562
5b4217d7
JM
245632013-04-27 Joseph Myers <joseph@codesourcery.com>
24564
24565 [BZ #15409]
24566 * math/s_catan.c (__catan): Handle arguments with large real or
24567 imaginary part separately without squaring.
24568 * math/s_catanf.c (__catanf): Likewise.
24569 * math/s_catanh.c (__catanh): Likewise.
24570 * math/s_catanhf.c (__catanhf): Likewise.
24571 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24572 and redefine.
24573 (__catanhl): Handle arguments with large real or imaginary part
24574 separately without squaring.
24575 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24576 and redefine.
24577 (__catanl): Handle arguments with large real or imaginary part
24578 separately without squaring.
24579 * math/libm-test.inc (catan_test): Add more tests.
24580 (catanh_test): Likewise.
24581 * sysdeps/i386/fpu/libm-test-ulps: Update.
24582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24583
4220c3ef
AJ
245842013-04-27 Andreas Jaeger <aj@suse.de>
24585
24586 [BZ #15007]
24587 * stdlib/stdlib.h: Update guards for qecvt.
24588 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
24589 <stdlib.h>.
24590
4721b2d1
AM
245912013-04-27 Allan McRae <allan@archlinux.org>
24592
24593 * sysdeps/i386/fpu/libm-test-ulps: Update.
24594
f0302940
JM
245952013-04-26 Joseph Myers <joseph@codesourcery.com>
24596
9457fd95
JM
24597 [BZ #15406]
24598 * math/s_catan.c: Include <float.h>.
24599 (__catan): Ensure underflow exception occurs for underflowed
24600 result.
24601 * math/s_catanf.c: Include <float.h>.
24602 (__catanf): Ensure underflow exception occurs for underflowed
24603 result.
24604 * math/s_catanh.c: Include <float.h>.
24605 (__catanh): Ensure underflow exception occurs for underflowed
24606 result.
24607 * math/s_catanhf.c: Include <float.h>.
24608 (__catanhf): Ensure underflow exception occurs for underflowed
24609 result.
24610 * math/s_catanhl.c: Include <float.h>.
24611 (__catanhl): Ensure underflow exception occurs for underflowed
24612 result.
24613 * math/s_catanl.c: Include <float.h>.
24614 (__catanl): Ensure underflow exception occurs for underflowed
24615 result.
24616 * math/libm-test.inc (catan_test): Add more tests.
24617 (catanh_test): Likewise.
24618
f0302940
JM
24619 [BZ #15405]
24620 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
24621 underflowed result.
24622 * math/s_ccoshf.c (__ccoshf): Likewise.
24623 * math/s_ccoshl.c (__ccoshl): Likewise.
24624 * math/s_csin.c (__csin): Likewise.
24625 * math/s_csinf.c (__csinf): Likewise.
24626 * math/s_csinh.c (__csinh): Likewise.
24627 * math/s_csinhf.c (__csinhf): Likewise.
24628 * math/s_csinhl.c (__csinhl): Likewise.
24629 * math/s_csinl.c (__csinl): Likewise.
24630 * math/libm-test.inc (ccos_test): Add more tests.
24631 (ccosh_test): Likewise.
24632 (csin_test): Likewise.
24633 (csinh_test): Likewise.
24634
aa630f59
AZ
246352013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24636
24637 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
24638 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
24639 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
24640 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
24641 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
24642 powerpc/power5+/fpu folders.
24643 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
24644
24645
1b835983
MT
246462013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24647
24648 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24649
73709b26
JM
246502013-04-25 Joseph Myers <joseph@codesourcery.com>
24651
24652 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
24653 additions to variable.
24654 [$(config-machine) = x86_64] (modules-names): Likewise.
24655 ($(objpfx)tst-audit3): Remove dependency.
24656 ($(objpfx)tst-audit3.out): Likewise.
24657 ($(objpfx)tst-audit4): Likewise.
24658 ($(objpfx)tst-audit4.out): Likewise.
24659 ($(objpfx)tst-audit5): Likewise.
24660 ($(objpfx)tst-audit5.out): Likewise.
24661 ($(objpfx)tst-audit6): Likewise.
24662 ($(objpfx)tst-audit6.out): Likewise.
24663 ($(objpfx)tst-audit7): Likewise.
24664 ($(objpfx)tst-audit7.out): Likewise.
24665 (tst-audit3-ENV): Remove variable.
24666 (tst-audit4-ENV): Likewise.
24667 (tst-audit5-ENV): Likewise.
24668 (tst-audit6-ENV): Likewise.
24669 (tst-audit7-ENV): Likewise.
24670 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
24671 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
24672 addition to variable.
24673 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
24674 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
24675 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
24676 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
24677 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
24678 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
24679 tst-audit3, tst-audit4 and tst-audit5.
24680 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
24681 tst-audit6 and tst-audit7.
24682 [$(subdir) = elf] (modules-names): Add audit modules for those
24683 tests.
24684 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
24685 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
24686 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
24687 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
24688 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
24689 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
24690 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
24691 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
24692 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
24693 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
24694 [$(subdir) = elf] (tst-audit3-ENV): New variable.
24695 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
24696 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
24697 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
24698 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
24699 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
24700 Likewise.
24701 [$(subdir) = elf && $(config-cflags-avx) = yes]
24702 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
24703 [$(subdir) = elf && $(config-cflags-avx) = yes]
24704 (CFLAGS-tst-auditmod4a.c): Likewise.
24705 [$(subdir) = elf && $(config-cflags-avx) = yes]
24706 (CFLAGS-tst-auditmod4b.c): Likewise.
24707 [$(subdir) = elf && $(config-cflags-avx) = yes]
24708 (CFLAGS-tst-auditmod6b.c): Likewise.
24709 [$(subdir) = elf && $(config-cflags-avx) = yes]
24710 (CFLAGS-tst-auditmod6c.c): Likewise.
24711 [$(subdir) = elf && $(config-cflags-avx) = yes]
24712 (CFLAGS-tst-auditmod7b.c): Likewise.
24713 * elf/tst-audit3.c: Move to ...
24714 * sysdeps/x86_64/tst-audit3.c: ... here.
24715 * elf/tst-audit4.c: Move to ...
24716 * sysdeps/x86_64/tst-audit4.c: ... here.
24717 * elf/tst-audit5.c: Move to ...
24718 * sysdeps/x86_64/tst-audit5.c: ... here.
24719 * elf/tst-audit6.c: Move to ...
24720 * sysdeps/x86_64/tst-audit6.c: ... here.
24721 * elf/tst-audit7.c: Move to ...
24722 * sysdeps/x86_64/tst-audit7.c: ... here.
24723 * elf/tst-auditmod3a.c: Move to ...
24724 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
24725 * elf/tst-auditmod3b.c: Move to ...
24726 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
24727 * elf/tst-auditmod4a.c: Move to ...
24728 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
24729 * elf/tst-auditmod4b.c: Move to ...
24730 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
24731 * elf/tst-auditmod5a.c: Move to ...
24732 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
24733 * elf/tst-auditmod5b.c: Move to ...
24734 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
24735 * elf/tst-auditmod6a.c: Move to ...
24736 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
24737 * elf/tst-auditmod6b.c: Move to ...
24738 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
24739 * elf/tst-auditmod6c.c: Move to ...
24740 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
24741 * elf/tst-auditmod7a.c: Move to ...
24742 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
24743 * elf/tst-auditmod7b.c: Move to ...
24744 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
24745
1ef74943
PP
247462013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
24747
24748 [BZ #15366]
24749 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
24750 define unconditionally.
24751 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
24752 define unconditionally.
24753 (INT8_C, INT16_C, etc.): Likewise.
24754
93fd48c5
MR
247552013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
24756
ae9552cf
MR
24757 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
24758 __ehdr_start with hidden visibility.
24759
93fd48c5
MR
24760 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
24761
418601aa
CD
247622013-04-24 Carlos O'Donell <carlos@redhat.com>
24763
24764 * math/libm-test.inc (cos_test): Use accurate hex constants.
24765 (sincost_test): Likewise.
24766
2f38fbfe
JM
247672013-04-24 Joseph Myers <joseph@codesourcery.com>
24768
5e221800
JM
24769 * math/libm-test.inc (catan_test): Add more tests.
24770 (catanh_test): Likewise.
24771
77f143fd
JM
24772 * math/s_catanf.c (__catanf): Use suffixed floating-point
24773 constants.
24774 * math/s_catanhf.c (__catanhf): Likewise.
24775 * math/s_catanhl.c (__catanhl): Likewise.
24776 * math/s_catanl.c (__catanl): Likewise.
24777
2f38fbfe
JM
24778 [BZ #15394]
24779 * math/s_catan.c (__catan): Calculate imaginary part of result
24780 with log1p not log unless computing log of number close to 0.
24781 * math/s_catanf.c (__catanf): Likewise.
24782 * math/s_catanl.c (__catanl): Likewise.
24783 * math/s_catanh.c (__catanh): Calculate real part of result with
24784 log1p not log unless computing log of number close to 0.
24785 * math/s_catanhf.c (__catanhf): Likewise.
24786 * math/s_catanhl.c (__catanhl): Likewise.
24787 * math/libm-test.inc (catan_test): Add more tests.
24788 (catanh_test): Likewise.
24789 * sysdeps/i386/fpu/libm-test-ulps: Update.
24790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24791
45d69176
SP
247922013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24793
24794 * benchtests/Makefile: Mention files in which fast and slow
24795 paths of math functions are implemented.
24796
87f51853
RM
247972013-04-23 Roland McGrath <roland@hack.frob.com>
24798
24799 * sysdeps/posix/timespec_get.c: New file.
24800
3c026539
AZ
248012013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24802
24803 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
24804 POWER.
24805 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
24806 for POWER.
24807 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
24808 powerpc/power5/fpu folders.
24809 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
24810 * benchtests/Makefile: Add modf testcase.
24811 * benchtests/bench-modf.c: New file: Benchmark test for mo
24812
ff491d14
SP
248132013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24814
24815 [BZ #14888]
24816 * time/Makefile (tests): Add tst-strptime-whitespace.
24817 * time/strptime_l.c (get_number): Use ISSPACE.
24818 (__strptime_internal): Likewise.
24819 * time/tst-strptime-whitespace.c: New test case.
24820
7ed3f4e8
AS
248212013-04-23 Andreas Schwab <schwab@linux-m68k.org>
24822
24823 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
24824 member.
24825 (_nss_files_init): Set it here.
24826
5c95f7b6
HC
248272013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
24828
24829 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
24830 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
24831 unsigned.
24832
d34c9158
JBG
248332013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
24834
24835 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
24836
2169712d
SP
248372013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24838
24839 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
24840 size just once.
24841
29c5de99
DM
248422013-04-21 David S. Miller <davem@davemloft.net>
24843
24844 * po/ru.po: Update Russion translation from translation project.
24845
ccdad15d
AC
248462013-04-17 Adam Conrad <adconrad@0c3.net>
24847
24848 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
24849 and setfsgid.
24850
0f122b8d
CD
248512013-04-17 Carlos O'Donell <carlos@redhat.com>
24852
5c5b07da 24853 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 24854 * configure: Regenerate.
5c5b07da 24855 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
24856 Add example to error message.
24857 * sysdeps/i386/configure: Regenerate.
24858
037714dd
SP
248592013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24860
24861 * benchtests/Makefile (bench): Add cos, tan, slowcos and
24862 slowtan.
24863 * benchtests/cos-inputs: New file.
24864 * benchtests/slowcos-inputs: New file.
24865 * benchtests/slowcos.c: New file.
24866 * benchtests/slowtan-inputs: New file.
24867 * benchtests/slowtan.c: New file.
24868 * benchtests/tan-inputs: New file.
24869
e913141d
RM
248702013-04-16 Roland McGrath <roland@hack.frob.com>
24871
24872 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24873 considered kosher.
24874
a2964074
SP
248752013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24876
4856bcd2
SP
24877 * benchtests/Makefile: Include cppflags-iterator.mk to add
24878 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24879
a2964074
SP
24880 * Makefile.in (bench-clean): New target.
24881 * benchtests/Makefile (bench-clean): Likewise.
24882
9fbf9aca
DH
248832013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
24884
24885 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24886
207d1e2a
TS
248872013-04-15 Thomas Schwinge <thomas@codesourcery.com>
24888
24889 * stdio-common/tstdiomisc.c: Fix coding-style violation.
24890
306dfba9
AS
248912013-04-15 Andreas Schwab <schwab@suse.de>
24892
24893 * nscd/grpcache.c (cache_addgr): Properly check for short write.
24894 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24895 * nscd/pwdcache.c (cache_addpw): Likewise.
24896 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
24897 more than recsize.
24898
206a6699
SP
248992013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24900
24901 * benchtests/Makefile (bench): Write all output to
24902 bench-out.tmp together.
24903
0582f6b3
AS
249042013-04-15 Andreas Schwab <schwab@suse.de>
24905
24906 * nscd/nscd.c (main): Don't fork again after closing files.
24907
acb4325f
SP
249082013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24909
5cb26d0a
SP
24910 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24911
acb4325f
SP
24912 * benchtests/Rules (bench-deps): Collect dependencies into a
24913 single variable. Add Makefile to dependencies.
24914 ($(objpfx)bench-%.c): Depend on bench-deps.
24915
47792506
RM
249162013-04-12 Roland McGrath <roland@hack.frob.com>
24917 Xavier Roche <roche+kml2@exalead.com>
24918
24919 [BZ #15361]
24920 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24921 just that it's a file descriptor.
24922 * manual/llio.texi (Synchronizing AIO Operations): Update description
24923 for EBADF error from aio_fsync.
24924
8fc1bee5
SP
249252013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24926
24927 * Rules (bench): Move target definition...
24928 * benchtests/Makefile: ... here.
24929
aba5e333
CD
249302013-04-11 Carlos O'Donell <carlos@redhat.com>
24931
24932 * math/libm-test.inc (cos_test): Fix PI/2 test.
24933 (sincos_test): Likewise.
24934 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24935 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24936
273cdee8
AS
249372013-04-11 Andreas Schwab <schwab@suse.de>
24938
6ecec3b6
AS
24939 [BZ #13988]
24940 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24941 accept exponent character only when digits were seen.
24942 * stdio-common/Makefile (tests): Add bug26.
24943 * stdio-common/bug26.c: New file.
24944
273cdee8
AS
24945 [BZ #14293]
24946 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24947 non-freeable.
24948
8da491f5
SP
249492013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24950
01dc6df9
SP
24951 * Makeconfig (rtld-prefix): Define built linker prefix.
24952 * Rules (run-bench): Use it.
24953 * math/Makefile (run-regen-ulps): Likewise.
24954
8da491f5
SP
24955 * Rules (bench): Remove eval.
24956
abe7f530
SP
249572013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24958 Roland McGrath <roland@hack.frob.com>
24959 Ondrej Bilka <neleai@seznam.cz>
24960
24961 [BZ #15346]
24962 * time/getdate.c: Include ctype.h and alloca.h.
24963 (__getdate_r): Trim leading and trailing spaces of input.
24964 * time/tst-getdate.c (tests): Add tests with leading and
24965 trailing spaces.
24966
61c23e62
RM
249672013-04-08 Roland McGrath <roland@hack.frob.com>
24968
24969 [BZ #14280]
24970 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
24971 when computing value.
24972
7208a313
CD
249732013-04-06 Carlos O'Donell <carlos@redhat.com>
24974
085b2d41
CD
24975 * math/README.libm-test (How can I generate "libm-test-ulps"?):
24976 Use testrun.sh to run libm tests.
24977
7208a313
CD
24978 [BZ #15309]
24979 * elf/dl-open.c (dl_open_worker): memset all of seen array.
24980
872c0acd
MM
249812013-04-06 Marko Myllynen <myllynen@redhat.com>
24982
24983 [BZ #15264]
24984 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
24985
26510bdd
CD
249862013-04-06 Carlos O'Donell <carlos@redhat.com>
24987
24988 * Makefile.in (regen-ulps): New target.
24989 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
24990 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
24991 [ifneq (no,$(PERL)] (regen-ulps): New target.
24992 [ifeq (no,$(PERL)] (regen-ulps): New target.
24993 * math/libm-test.inc (ulps_file_name): Define.
24994 (output_dir): New variable.
24995 (options): Add "output-dir" option.
24996 (parse_opt): Handle 'o' case.
24997 (main): If output_dir is non-NULL use it as a prefix
24998 otherwise use "".
24999 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
25000
a01f19c8
CD
250012013-04-06 Carlos O'Donell <carlos@redhat.com>
25002
25003 [BZ #10060, #10062]
25004 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
25005 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
25006 fail configure if __sync_val_compare_and_swap is not inlined.
25007 * sysdeps/i386/configure: Regenerate.
25008 * configure.in: Build for i686 when configured for i386.
25009 * configure: Regenerate.
25010 * README: Remove i386 reference.
25011
b7a329a5
CD
250122013-04-06 Carlos O'Donell <carlos@redhat.com>
25013
25014 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
25015 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25016
bf0f50df
TS
250172013-04-05 Thomas Schwinge <thomas@codesourcery.com>
25018
ee091edf
TS
25019 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
25020 (lmsnanval): New variables.
25021 (F): Add conversion tests.
25022 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
25023 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
25024
a8b792d6
TS
25025 * stdio-common/tstdiomisc.c (F): Properly collect individual
25026 tests' results.
25027
a1cbf437
TS
25028 [BZ #14686, #15336]
25029 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
25030 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
25031 Instead, use input NaN values or generate a qNaN by arithmetic
25032 operation. Also fix bugs to comply with the standard.
25033 * math/libm-test.inc (remainder_test): Add more tests.
25034
8b43a0c9
TS
25035 [BZ #15335, #15342]
25036 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
25037 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
25038 input NaN values or generate a qNaN by arithmetic operation.
25039
d91da4ce
TS
25040 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
25041 unreachable code.
25042
bf0f50df
TS
25043 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
25044 definitions.
25045
05e166c8
JM
250462013-04-03 Joseph Myers <joseph@codesourcery.com>
25047
25048 [BZ #14478]
25049 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
25050 underflowed result.
25051 * math/s_cexpf.c (__cexpf): Likewise.
25052 * math/s_cexpl.c (__cexpl): Likewise.
25053 * math/libm-test.inc (cexp_test): Add more tests.
25054
1cef1b19
AS
250552013-04-03 Andreas Schwab <schwab@suse.de>
25056
25057 [BZ #15330]
25058 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
25059 order arrays from heap if bigger than alloca cutoff.
25060
74d87055
TS
250612013-04-03 Thomas Schwinge <thomas@codesourcery.com>
25062
25063 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
25064 (SNAN_TESTS_double): Refer to GCC PR56831.
25065 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
25066 GCC PR56828.
25067
d755bba4
SP
250682013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25069
90d5d5bb
SP
25070 * Rules (bench): Move bench.out after the run is complete.
25071
73e0cd5d
SP
25072 * Rules (bench): Echo currently running benchmark.
25073
64aabd4b
SP
25074 * benchtests/Makefile (bench): Add atan and slowatan.
25075 * benchtests/atan-inputs: New file.
25076 * benchtests/slowatan-inputs: New file.
25077 * benchtests/slowatan.c: New file.
25078
c871eccd
SP
25079 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
25080 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
25081 its value.
25082
d755bba4
SP
25083 [BZ #15305]
25084 * sysdeps/unix/sysv/linux/kernel-features.h
25085 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
25086 __ASSUME_XFS_RESTRICTED_CHOWN.
25087 * sysdeps/unix/sysv/linux/pathconf.c
25088 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
25089 Save and restore errno.
25090
52ce4860
JM
250912013-04-02 Joseph Myers <joseph@codesourcery.com>
25092
25093 [BZ #15327]
25094 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
25095 arguments using __kernel_casinh.
25096 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
25097 arguments using __kernel_casinhf.
25098 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
25099 arguments using __kernel_casinhl.
25100 * math/libm-test.inc (cacosh_test): Add more tests.
25101 * sysdeps/i386/fpu/libm-test-ulps: Update.
25102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25103
81f311c2
SP
251042013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25105
e7906a47
SP
25106 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
25107 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
25108
92e3664b
SP
25109 * bench/Makefile (bench): Add sin and slowsin.
25110 * benchtests/sin-inputs: New file.
25111 * benchtests/slowsin-inputs: New file.
25112 * benchtests/slowsin.c: New file.
25113
81f311c2
SP
25114 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
25115 (bench): Add slowexp and slowpow.
25116 (exp-ITER): Increase iterations.
25117 (pow-ITER): Likewise.
25118 * benchtests/exp-inputs: Change input.
25119 * benchtests/pow-inputs: Likewise.
25120 * benchtests/slowexp-inputs: New file.
25121 * benchtests/slowexp.c: New file.
25122 * benchtests/slowpow-inputs: New file.
25123 * benchtests/slowpow.c: New file.
25124
ab0f1aa9
AZ
251252013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25126
25127 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
25128 instructions.
25129 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25130 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
25131 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
25132 * benchtests/Makefile: Add rint benchtest.
25133 * benchtests/rint-inputs: Input for rint benchtest.
25134
57267616
TS
251352013-04-02 Thomas Schwinge <thomas@codesourcery.com>
25136
25137 * Versions.def (libm): Add GLIBC_2.18.
25138 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
25139 hidden libm prototypes.
25140 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
25141 * math/Makefile (libm-calls): Add s_issignaling.
25142 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
25143 __issignalingf, __issignalingl. Adjust all libm.abilist files.
25144 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
25145 declaration.
25146 * math/math.h [__USE_GNU] (issignaling): New macro.
25147 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
25148 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
25149 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
25150 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
25151 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
25152 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
25153 * manual/arith.texi (issignaling): New section.
25154 * manual/libm-err-tab.pl (@all_functions): Update comment.
25155 * math/gen-libm-test.pl (parse_args): Apply special handling for
25156 issignaling.
25157 * math/libm-test.inc (print_float, issignaling_test): New
25158 functions.
25159 (check_float_internal): Add issignaling checks.
25160 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
25161 default definition.
25162 * sysdeps/powerpc/math-tests.h: New file.
25163 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
25164 tests.
25165 * math/test-snan.c (TEST_FUNC): Likewise.
25166
6142896d
DM
251672013-03-30 David S. Miller <davem@davemloft.net>
25168
25169 * po/de.po: Update from translation team.
25170
ccc8cadf
JM
251712013-03-30 Joseph Myers <joseph@codesourcery.com>
25172
25173 [BZ #10357]
25174 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25175 imaginary part less than 1.0 and real part less than 0.5
25176 specially.
25177 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25178 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25179 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
25180 (cacos_test): Add more tests.
25181 (casin_test): Likewise.
25182 (casinh_test): Likewise.
25183 * sysdeps/i386/fpu/libm-test-ulps: Update.
25184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25185
0f6a8d4b
SP
251862013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25187
0d1029de
SP
25188 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
25189 ONE with its value.
25190
c2d94018
SP
25191 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
25192 (__pow_mp): Replace ONE and MONE with their values.
25193 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25194 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
25195 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25196 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
25197 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25198 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25199
27ec37f1
SP
25200 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
25201
a64d7e0e
SP
25202 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
25203 (__pow_mp): Replace ZERO and MZERO with their values.
25204 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25205 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25206 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25207 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25208 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25209 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
25210 (__sqr): Likewise.
25211
d26dd3eb
SP
25212 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
25213
0f6a8d4b
SP
25214 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
25215
e57b0c61
RM
252162013-03-28 Roland McGrath <roland@hack.frob.com>
25217
25218 * include/stdlib.h [!SHARED] (__call_tls_dtors):
25219 Declare with __attribute__ ((weak)).
25220 * stdlib/exit.c (__libc_atexit) [!SHARED]:
25221 Call __call_tls_dtors only if it's not NULL.
25222
356b3480
RM
252232013-03-28 Roland McGrath <roland@hack.frob.com>
25224
288f7d79
RM
25225 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
25226 didn't do it already, then set _dl_phdr and _dl_phnum based on the
25227 magic __ehdr_start linker symbol if it's defined.
25228 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
25229 them up here if it was already done.
25230
dc0a0263
RM
25231 * elf/dl-support.c (_dl_phdr): Make pointer to const.
25232 (_dl_aux_init): Use const in cast when setting it.
25233 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
25234 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
25235 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
25236
3d3436ae
RM
25237 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
25238 Declare them here.
25239 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
25240 * csu/libc-tls.c: Nor here.
25241 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
25242
356b3480
RM
25243 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
25244 (__libc_message): Never call vsyslog.
25245
b0f1246a
AM
252462013-03-28 Alan Modra <amodra@gmail.com>
25247
25248 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
25249 Define as empty.
25250 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
25251 Likewise.
25252
fbbe2b9a
AZ
252532013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25254
25255 [BZ #15214]
25256 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
25257 underflow.
25258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25259
1728ab37
SP
252602013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25261
7a86be6e
SP
25262 [BZ #15304]
25263 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25264 Don't add gid passed as argument.
25265
1728ab37
SP
25266 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
25267
3a7182a1
JM
252682013-03-27 Joseph Myers <joseph@codesourcery.com>
25269
25270 [BZ #15307]
25271 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25272 imaginary part between 1.0 and 1.5 and real part less than 0.5
25273 specially.
25274 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25275 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25276 * math/libm-test.inc (cacos_test): Add more tests.
25277 (casin_test): Likewise.
25278 (casinh_test): Likewise.
25279 * sysdeps/i386/fpu/libm-test-ulps: Update.
25280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25281
6f2e90e7
SP
252822013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25283
5739f705
SP
25284 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
25285 constants.
25286 (norm): Likewise.
25287 (denorm): Likewise.
25288 (__dbl_mp): Likewise.
25289 (add_magnitudes): Likewise.
25290 (sub_magnitudes): Likewise.
25291 (__add): Likewise.
25292 (__sub): Likewise.
25293 (__mul): Likewise.
25294 (__sqr): Likewise.
25295 (__inv): Likewise.
25296 (__dvd): Likewise.
25297
e375e83d
SP
25298 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
25299 commented code.
25300 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
25301 (__dubcos): Likewise.
25302 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
25303 (__ieee754_acos): Likewise.
25304 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25305 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
25306 (__exp1): Likewise.
25307 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25308 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25309 (log1): Likewise.
25310 (my_log2): Likewise.
25311 (checkint): Likewise.
25312 * sysdeps/ieee754/dbl-64/e_remainder.c
25313 (__ieee754_remainder): Likewise.
25314 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25315 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
25316 (bsloww): Likewise.
25317 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25318
6f2e90e7
SP
25319 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25320 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
25321 MANTISSA_STORE_T to store computations on mantissa. Use
25322 macros for rounding and division.
25323 (denorm): Likewise.
25324 (__dbl_mp): Likewise.
25325 (add_magnitudes): Likewise.
25326 (sub_magnitudes): Likewise.
25327 (__mul): Likewise.
25328 (__sqr): Likewise.
25329 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25330 powers of two in terms of TWOPOW macro.
25331 (mp_no): Make type of mantissa as MANTISSA_T.
25332 [!RADIXI]: Define RADIXI.
25333 [!TWO52]: Define TWO52.
25334 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25335
fce14d4e
AZ
253362013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25337
25338 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
25339 llroundl symbol when building for PPC32.
25340
9ad027fb
MW
253412013-03-24 Mark H Weaver <mhw@netris.org>
25342
25343 * manual/arith.texi (Normalization Functions): Fix prototypes for
25344 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
25345
e42a38dd
AZ
253462013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25347
25348 [BZ #13889]
25349 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
25350 high value to check if expl overflow.
25351 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
25352 to check for underflow and overflow.
25353 * math/libm-test.inc: Add exp test.
25354
2e0fb521
DL
253552013-03-21 Dmitry V. Levin <ldv@altlinux.org>
25356
25357 [BZ #11120]
25358 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
25359 with NOT_IN_libc.
25360
b5784d95
AZ
253612013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25362
25363 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
25364 symbol.
25365
5aa4a1a1
TS
253662013-03-21 Thomas Schwinge <thomas@codesourcery.com>
25367
bdef0be7
TS
25368 * math/gen-libm-test.pl (parse_args, special_functions): Properly
25369 wrap blocks consisting of several statements.
25370
5aa4a1a1
TS
25371 * sysdeps/generic/math-tests.h: New file.
25372 * sysdeps/i386/fpu/math-tests.h: Likewise.
25373 * math/test-snan.c: Include it.
25374 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
25375
98c48fe5
JM
253762013-03-21 Joseph Myers <joseph@codesourcery.com>
25377
25378 [BZ #15285]
25379 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
25380 (__ieee754_j0l): Do not improve calculations using cos of twice
25381 input for inputs above LDBL_MAX / 2.0L.
25382 (__ieee754_y0l): Likewise.
25383 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
25384 (__ieee754_j1l): Do not improve calculations using cos of twice
25385 input for inputs above LDBL_MAX / 2.0L.
25386 (__ieee754_y1l): Likewise.
25387 * math/libm-test.inc (j0_test): Add another test.
25388 (j1_test): Likewise.
25389 (y0_test): Likewise.
25390 (y1_test): Likewise.
25391 * sysdeps/i386/fpu/libm-test-ulps: Update.
25392
3775a8bc
SP
253932013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25394
25395 * Rules ($(objpfx)bench-%.c): Include code from a C source
25396 file.
25397
0a1b2ae6
JM
253982013-03-21 Joseph Myers <joseph@codesourcery.com>
25399
25400 [BZ #15287]
25401 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25402 imaginary part 1.0 and real part less than 0.5 specially.
25403 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25404 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25405 * math/libm-test.inc (cacos_test): Add more tests.
25406 (casin_test): Likewise.
25407 (casinh_test): Likewise.
25408 * sysdeps/i386/fpu/libm-test-ulps: Update.
25409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25410
b33d4ce4
SP
254112013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25412
25413 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
25414 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
25415
bef0b507
JM
254162013-03-20 Joseph Myers <joseph@codesourcery.com>
25417
25418 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
25419 * config.make.in (config-cflags-sse4): Remove variable.
25420 (config-cflags-avx): Likewise.
25421 (config-cflags-sse2avx): Likewise.
25422 (config-cflags-novzeroupper): Likewise.
25423 (config-asflags-i686): Likewise.
25424 (have-mfma4): Likewise.
25425 (have-as-vis3): Likewise.
25426 (MIG): Likewise.
25427 * configure.in (MIG): Do not AC_SUBST.
25428 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
25429 (libc_cv_cc_sse4): Do not AC_SUBST.
25430 (libc_cv_cc_avx): Likewise.
25431 (libc_cv_cc_sse2avx): Likewise.
25432 (libc_cv_cc_novzeroupper): Likewise.
25433 (libc_cv_cc_fma4): Likewise.
25434 (libc_cv_as_i686): Likewise.
25435 (libc_cv_sparc_as_vis3): Likewise.
25436 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
25437 LIBC_CONFIG_VAR.
25438 (config-asflags-i686): Likewise.
25439 (config-cflags-avx): Likewise.
25440 (config-cflags-sse2avx): Likewise.
25441 (have-mfma4): Likewise.
25442 (config-cflags-novzeroupper): Likewise.
25443 * sysdeps/mach/configure.in (MIG): Likewise.
25444 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
25445 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
25446 LIBC_CONFIG_VAR.
25447 (config-cflags-avx): Likewise.
25448 (config-cflags-sse2avx): Likewise.
25449 (have-mfma4): Likewise.
25450 (config-cflags-novzeroupper): Likewise.
25451 * configure: Regenerated.
25452 * sysdeps/i386/configure: Likewise.
25453 * sysdeps/mach/configure: Likewise.
25454 * sysdeps/sparc/configure: Likewise.
25455 * sysdeps/x86_64/configure: Likewise.
25456
912cc4b3
RM
254572013-03-20 Roland McGrath <roland@hack.frob.com>
25458
25459 [BZ #14812]
25460 * locale/programs/localedef.c (options): Put N_ translation marker
25461 on argument names, not just descriptions.
25462
04eed2b0
MS
254632013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25464
25465 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
25466
a065ceff
OB
254672013-03-20 Ondřej Bílka <neleai@seznam.cz>
25468
9bb2a810 25469 [BZ #14176]
a065ceff
OB
25470 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
25471
a600e5ce
RM
254722013-03-19 Roland McGrath <roland@hack.frob.com>
25473
25474 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
25475 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
25476 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
25477 [!BEFORE_ABORT] (before_abort): New function.
25478 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
25479 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
25480 (writev_for_fatal): New function.
25481 (WRITEV_FOR_FATAL): New macro; call that.
25482 (backtrace_and_maps): New function.
25483 (BEFORE_ABORT): New macro; call that.
25484 (struct str_list): Type removed.
25485 (__libc_message, __libc_fatal): Functions removed.
25486 Include <sysdeps/posix/libc_fatal.c> instead.
25487
6b18bea6
JM
254882013-03-19 Joseph Myers <joseph@codesourcery.com>
25489
25490 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
25491 constants.
25492 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
25493 double constants.
25494
aaa8cb4b
AS
254952013-03-19 Andreas Schwab <schwab@suse.de>
25496
44673770
AS
25497 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
25498 * sysdeps/gnu/configure: Regenerate.
25499
aaa8cb4b
AS
25500 * configure.in: Substitute libc_cv_rtlddir.
25501 * configure: Regenerate.
25502 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
25503 * Makeconfig (rtlddir, inst_rtlddir): New variables.
25504 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
25505 * elf/Makefile (install-others, CFLAGS-interp.c)
25506 (ldso_install, common-ldd-rewrite): Likewise.
25507 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
25508 $(inst_slibdir)/$(rtld-installed-name).
25509 * scripts/rellns-sh: Add -p option.
25510 * Makerules (make-shlib-link): Use rellns-sh to get relative name
25511 for source.
25512
d3cfc668
SP
255132013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25514
25515 * manual/nptl.texi: Renamed to ...
25516 * manual/threads.texi: ... this.
25517 * manual/Makefile (chapters): Update.
25518
0e2b9cdd
RM
255192013-03-18 Roland McGrath <roland@hack.frob.com>
25520
25521 [BZ #14812]
25522 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
25523 on argument names, not just descriptions.
0e2b9cdd
RM
25524 * malloc/memusagestat.c (options): Likewise.
25525 * nss/getent.c (options): Likewise.
63270c24
RM
25526
255272013-03-18 Benno Schulenberg <bensberg@justemail.net>
25528
25529 [BZ #14812]
25530 * iconv/iconv_prog.c (options): Put N_ translation marker
25531 on argument names, not just descriptions.
25532 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 25533
b2e1393c
OB
255342013-03-18 Ondrej Bilka <neleai@seznam.cz>
25535
25536 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
25537 implementation which is faster on all x86_64 architectures.
25538 Tested on AMD, Intel Nehalem, SNB, IVB.
25539 * sysdeps/x86_64/strnlen.S: Likewise.
25540
25541 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25542 Remove all multiarch strlen and strnlen versions.
25543 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25544 Remove strlen and strnlen related parts.
25545
25546 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
25547 Inline strlen part.
25548 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25549
25550 * sysdeps/x86_64/multiarch/strlen.S: Remove.
25551 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
25552 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
25553 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
25554 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25555 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
25556
ec4ff04d
CD
255572013-03-17 Carlos O'Donell <carlos@redhat.com>
25558
25559 * manual/memory.texi (Malloc Tunable Parameters):
25560 Sort parameters alphabetically. Add comments for missing entries.
25561
cd18e90a
DM
255622013-03-17 David S. Miller <davem@davemloft.net>
25563
25564 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25565
2a185d32
JM
255662013-03-16 Joseph Myers <joseph@codesourcery.com>
25567
d2f9799e
JM
25568 [BZ #15283]
25569 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
25570 for arguments at most half maximum finite value.
25571 * math/libm-test.inc (j0_test): Add more tests.
25572 (j1_test): Likewise.
25573 (y0_test): Likewise.
25574 (y1_test): Likewise.
25575 * sysdeps/i386/fpu/libm-test-ulps: Update.
25576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25577
2a185d32
JM
25578 [BZ #14155]
25579 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
25580 1 / x and functions P and Q for arguments above 0x1p256L.
25581 (__ieee754_y0l): Likewise.
25582 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
25583 (__ieee754_y1l): Likewise.
25584 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
25585 (j1_test): Likewise.
25586 (y0_test): Likewise.
25587 (y1_test): Likewise.
25588
6cbec759
TS
255892013-03-16 Thomas Schwinge <thomas@codesourcery.com>
25590
25591 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
25592 variable.
25593
bc16e260
RM
255942013-03-15 Roland McGrath <roland@hack.frob.com>
25595
aefc9b8c
RM
25596 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
25597 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
25598 zero since it's initialized to EXEC_PAGESIZE.
25599
bc16e260
RM
25600 * sysdeps/unix/sysv/linux/ldsodefs.h
25601 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
25602 * sysdeps/generic/ldsodefs.h: ... here.
25603
a57da955
TS
256042013-03-15 Thomas Schwinge <thomas@codesourcery.com>
25605
af00a34d
TS
25606 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
25607
495ded2c
TS
25608 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
25609 math/test-snan.c.
25610 * math/test-snan.c: Renamed from
25611 sysdeps/powerpc/fpu/test-powerpc-snan.c.
25612 * math/Makefile (tests): Add test-snan.
25613 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
25614 test-powerpc-snan.
25615
777b0332
TS
25616 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
25617 SUFFIX. Initialize qNaN_var with __builtin_nan family of
25618 functions.
25619 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
25620 __builtin_nan family of functions.
25621 * math/libm-test.inc (initialize): Initialize qnan_value with
25622 __builtin_nan family of functions.
25623 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
25624 Remove variables.
25625 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
25626 Remove functions.
25627 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
25628 storage class. Initialize qNaN_var and sNaN_var with
25629 __builtin_nan and __builtin_nans families of functions,
25630 respectively.
25631
64d063b8
TS
25632 * math/libm-test.inc (acosh_test): Also test with qNaN input.
25633 (sqrt_test): Remove duplicate test with qNaN input.
25634 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
25635 (round_test, signbit_test, significand_test): Note missing +/-Inf
25636 as well as qNaN tests.
25637
67e971f1
TS
25638 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
25639 qNaN_var. Fix a few strings, too.
25640 * math/libm-test.inc (nan_value): Rename to qnan_value.
25641 * math/gen-libm-test.pl (%beautify): Adjust to that.
25642 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
25643 * math/test-misc.c (main): Likewise.
25644 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
25645 to __qnan_bytes, and __qnan_union, respectively.
25646 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
25647 Likewise.
25648 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
25649 and lqnanval, respectively.
25650 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
25651 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
25652 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
25653 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
25654
64487e12
TS
25655 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
25656 * math/test-misc.c (main) [__x86_64__]: Enable test for long
25657 doubles.
25658
e015e27b
TS
25659 * math/test-misc.c (main): Fix copy'n'pastos.
25660 * misc/tst-efgcvt.c (special): Likewise.
25661
a57da955
TS
25662 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
25663 Remove declarations.
25664
1e380345
SP
256652013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25666
25667 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
25668 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
25669 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
25670 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
25671
ef26eece
AZ
256722013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25673
25674 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
25675 macro to return vdso values correctly in IFUNC implementations.
25676 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25677 Optimization by using IFUNC.
25678
8cfdb7e0
SP
256792013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25680 Richard Henderson <rth@redhat.com>
25681 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25682
25683 * Makefile.in (bench): New target.
25684 * NEWS: Mention the benchmark framework.
25685 * Rules (bench): Likewise.
25686 (binaries-bench): Generate binaries for functions to
25687 benchmark.
25688 * benchtests/Makefile: New makefile for benchmark tests.
25689 * benchtests/bench-skeleton.c: New skeleton file for benchmark
25690 programs.
25691 * benchtests/exp-inputs: New input file for EXP function.
25692 * benchtests/pow-inputs: New input file for POW function.
25693 * scripts/bench.pl: New script to generate source files for
25694 benchmark programs.
25695
bcda9880
SP
256962013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25697
d22ca8cd
SP
25698 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25699 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
25700 computations on mantissa. Use macros for rounding and
25701 division.
25702 (denorm): Likewise.
25703 (__dbl_mp): Likewise.
25704 (add_magnitudes): Likewise.
25705 (sub_magnitudes): Likewise.
25706 (__mul): Likewise.
25707 (__sqr): Likewise.
25708 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25709 powers of two in terms of TWOPOW macro.
25710 (mp_no): Make type of mantissa as MANTISSA_T.
25711 [!RADIXI]: Define RADIXI.
25712 [!TWO52]: Define TWO52.
25713 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25714
bcda9880
SP
25715 * manual/nptl.texi (cindex): Modify threads to pthreads.
25716
06d5adfb
JM
257172013-03-15 Joseph Myers <joseph@codesourcery.com>
25718
25719 * sysdeps/x86_64/preconfigure: Regenerated.
25720
41c7328e
JM
257212013-03-14 Joseph Myers <joseph@codesourcery.com>
25722
25723 [BZ #14155]
25724 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
25725 0x1p28 and above.
25726 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
25727 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
25728 0x1p28 and above.
25729 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
25730 * math/libm-test.inc (j0_test): Do not allow one spurious
25731 underflow exception.
25732 (y1_test): Likewise.
25733
e25cfa60
SP
257342013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25735
0409959c
SP
25736 * manual/Makefile (chapters): Add nptl.
25737 * manual/debug.texi (Debugging Support): Add link to Threads
25738 chapter.
25739 * manual/nptl.texi: New file.
25740
e25cfa60
SP
25741 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
25742
58a1335e
PB
257432013-03-14 Petr Baudis <pasky@ucw.cz>
25744
25745 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
25746 for non-NULL pointer before the memory validity test. Pointed
25747 out by Holger Brunck <holger.brunck@keymile.com>.
25748
9dc7c64f
AS
257492013-03-13 Andreas Schwab <schwab@suse.de>
25750
25751 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
25752 instead of .os.
25753
54206aa6
JM
257542013-03-13 Joseph Myers <joseph@codesourcery.com>
25755
25756 * timezone/zic.c: Update from tzcode 2013b.
25757
e98cdb38
CD
257582013-03-12 Carlos O'Donell <carlos@redhat.com>
25759
25760 * manual/install.texi (Configuring and compiling):
25761 Mention i686 and i586.
25762 * INSTALL: Regenerate.
25763
9967e003
RM
257642013-03-12 Roland McGrath <roland@hack.frob.com>
25765
25766 * sysdeps/init_array/elf-init.c: New file.
25767 * csu/elf-init.c
25768 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
25769 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
25770
25771 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
25772 __gmon_start__ as global, but as static with a .preinit_array pointer.
25773 * sysdeps/init_array/gmon-start.c: New file. Use that.
25774 * sysdeps/init_array/crti.S: New file, empty except for comments.
25775 * sysdeps/init_array/crtn.S: Likewise.
25776
e6b5a293 257772013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
25778
25779 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
25780 definining bcopy.
80f844c9
OB
25781 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25782 Remove Prefer_SSE_for_memop.
25783 * sysdeps/x86_64/multiarch/init-arch.h: Remove
25784 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
25785 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
25786 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
25787 memset-x86-64.
80f844c9 25788 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 25789 Remove bzero, memset ifunc support.
80f844c9
OB
25790 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
25791 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
25792 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25793 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25794
fb6b0fcb
AS
257952013-03-11 Andreas Schwab <schwab@suse.de>
25796
25797 [BZ #15234]
25798 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
25799 by SHLIB_COMPAT.
25800 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
25801 (GLIBC_2.16): Remove pthread_atfork.
25802
3e6bd4b1
PP
258032013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
25804
25805 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
25806 (ptestcases.h): Likewise.
25807
222d7f00
RM
258082013-03-08 Roland McGrath <roland@hack.frob.com>
25809
25810 * Makeconfig ($(common-objpfx)config.status): Depend on
25811 sysdeps/*/preconfigure{,.in} too.
25812
1ba4f030
JM
258132013-03-08 Joseph Myers <joseph@codesourcery.com>
25814
a222d91a
JM
25815 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
25816 (__free_hook): Use void * instead of __malloc_ptr_t.
25817 (__malloc_hook): Likewise.
25818 (__realloc_hook): Likewise.
25819 (__memalign_hook): Likewise.
25820 (__after_morecore_hook): Likewise.
25821 * malloc/arena.c (save_malloc_hook): Likewise.
25822 (save_free_hook): Likewise.
25823 * malloc/hooks.c (malloc_hook_ini): Likewise.
25824 (realloc_hook_ini): Likewise.
25825 (memalign_hook_ini): Likewise.
25826 * malloc/malloc.c (malloc_hook_ini): Likewise.
25827 (realloc_hook_ini): Likewise.
25828 (memalign_hook_ini): Likewise.
25829 (__free_hook): Likewise.
25830 (__malloc_hook): Likewise.
25831 (__realloc_hook): Likewise.
25832 (__memalign_hook): Likewise.
25833 (__libc_malloc): Likewise.
25834 (__libc_free): Likewise.
25835 (__libc_realloc): Likewise.
25836 (__libc_memalign): Likewise.
25837 (__libc_valloc): Likewise.
25838 (__libc_pvalloc): Likewise.
25839 (__libc_calloc): Likewise.
25840 (__posix_memalign): Likewise.
25841 * malloc/morecore.c (__sbrk): Likewise.
25842 (__default_morecore): Likewise.
25843
5cc45e10
JM
25844 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
25845
dd54b864
JM
25846 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
25847 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
25848 __malloc_ptrdiff_t.
25849
1ba4f030
JM
25850 * malloc/malloc.h (__malloc_size_t): Remove macro.
25851 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
25852 __malloc_size_t.
25853 (old_memalign_hook): Likewise.
25854 (old_realloc_hook): Likewise.
25855 (struct hdr): Likewise.
25856 (flood): Likewise.
25857 (mallochook): Likewise.
25858 (memalignhook): Likewise.
25859 (reallochook): Likewise.
25860 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
25861 (tr_old_realloc_hook): Likewise.
25862 (tr_old_memalign_hook): Likewise.
25863 (tr_mallochook): Likewise.
25864 (tr_reallochook): Likewise.
25865 (tr_memalignhook): Likewise.
25866
edf66e57
AZ
258672013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25868
25869 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25870 default_ldbl_pack and using as default implementation.
25871 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25872 implementation.
25873 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25874 redundant definition.
25875 (ldbl_insert_mantissa): Likewise.
25876 (ldbl_canonicalize): Likewise.
25877 (ldbl_nearbyint): Likewise.
25878 (ldbl_pack): Rename to ldbl_pack_ppc.
25879 (ldbl_unpack): Rename to ldbl_unpack_ppc.
25880 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25881 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25882
6d9145d8
SP
258832013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25884
25885 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25886 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25887 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25888 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25889 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25890 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25891 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25892 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25893
4dd4e157
AJ
258942013-03-07 Andreas Jaeger <aj@suse.de>
25895
25896 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25897 bits/mman-linux.h.
25898
adbb8027
SP
258992013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25900
ce544b5b
SP
25901 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25902 Include mpa.h and declare __MPEXP.
25903 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25904 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25905 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25906 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25907 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25908 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25909 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25910
4cc149fd
SP
25911 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25912 (__slowpow): Use long double EXPL and LOGL functions to
25913 compute POW.
25914 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25915 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25916 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25917 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25918 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25919 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25920
e6ebd4a7
SP
25921 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25922 intermediate variable to calculate exponent.
25923 (__sqr): Likewise.
25924 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25925 Likewise.
25926 (__sqr): Likewise.
25927
82a9811d
SP
25928 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25929 [!NO__SQR]: Define __sqr.
25930 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25931 and NO__SQR. Remove all code except __mul and __sqr. Include
25932 sysdeps/ieee754/dbl-64/mpa.c.
25933 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25934
adbb8027
SP
25935 [BZ #12723]
25936 * posix/Makefile (tests): Add tst-pathconf.
25937 * posix/tst-pathconf.c: New test case.
25938 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25939 _PC_PIPE_BUF.
25940 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25941
39120df9
PF
259422013-03-06 Patsy Franklin <pfrankli@redhat.com>
25943
25944 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25945
67525cb8
AJ
259462013-03-06 Andreas Jaeger <aj@suse.de>
25947
664a9ce4
AJ
25948 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25949 definition via __MAP_ANONYMOUS.
25950
8e39047d
AJ
25951 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25952 it's not part of Linux headers.
25953
67525cb8
AJ
25954 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25955 (MAP_HUGE_MASK): Define.
25956
25957 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25958 Define.
25959 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25960 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25961 Define.
25962 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25963 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25964 Define.
25965 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25966 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
25967 Define.
25968 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25969
25970 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
25971 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
25972 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
25973 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
25974 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
25975 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
25976
25977 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25978 Handle f2fs.
25979
25980 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25981 Handle f2fs and efivarfs.
25982
25983 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
25984 f2fs.
25985
25986 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
25987 (EFIVARFS_MAGIC): Add.
25988 (F2FS_LINK_MAX): Add.
25989
e1b42695
PP
259902013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25991
25992 * stdio-common/vfprintf.c: Replace __builtin_expect with
25993 __glibc_unlikely.
25994
2d67d91a
JM
259952013-03-06 Joseph Myers <joseph@codesourcery.com>
25996
25997 [BZ #13550]
25998 * sysdeps/generic/bp-sym.h: Remove file.
25999 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
26000 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
26001 <bp-sym.h> and <bp-asm.h>.
26002 (__longjmp): Don't use BP_SYM.
26003 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
26004 and <bp-asm.h>.
26005 (memcpy): Don't use BP_SYM.
26006 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
26007 <bp-sym.h> and <bp-asm.h>.
26008 (memcpy): Don't use BP_SYM.
26009 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
26010 <bp-asm.h>.
26011 (memcpy): Don't use BP_SYM.
26012 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
26013 <bp-asm.h>.
26014 (memset): Don't use BP_SYM.
26015 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26016 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26017 (__bzero): Don't use BP_SYM.
26018 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26019 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26020 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
26021 <bp-sym.h> and <bp-asm.h>.
26022 (memcmp): Don't use BP_SYM. Remove comment about bounded
26023 pointers.
26024 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
26025 <bp-sym.h> and <bp-asm.h>.
26026 (memcpy): Don't use BP_SYM.
26027 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
26028 <bp-sym.h> and <bp-asm.h>.
26029 (memset): Don't use BP_SYM.
26030 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26031 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26032 (__bzero): Don't use BP_SYM.
26033 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26034 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26035 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
26036 <bp-sym.h> and <bp-asm.h>.
26037 (strncmp): Don't use BP_SYM. Remove comment about bounded
26038 pointers.
26039 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
26040 <bp-sym.h> and <bp-asm.h>.
26041 (memcpy): Don't use BP_SYM.
26042 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
26043 <bp-sym.h> and <bp-asm.h>.
26044 (memset): Don't use BP_SYM.
26045 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26046 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26047 (__bzero): Don't use BP_SYM.
26048 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26049 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26050 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
26051 <bp-sym.h> and <bp-asm.h>.
26052 (__memchr): Don't use BP_SYM.
26053 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
26054 <bp-sym.h> and <bp-asm.h>.
26055 (memcmp): Don't use BP_SYM. Remove comment about bounded
26056 pointers.
26057 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
26058 <bp-sym.h> and <bp-asm.h>.
26059 (memcpy): Don't use BP_SYM.
26060 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
26061 <bp-sym.h> and <bp-asm.h>.
26062 (__mempcpy): Don't use BP_SYM.
26063 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
26064 <bp-sym.h> and <bp-asm.h>.
26065 (__memrchr): Don't use BP_SYM.
26066 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
26067 <bp-sym.h> and <bp-asm.h>.
26068 (memset): Don't use BP_SYM.
26069 (__bzero): Likewise.
26070 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
26071 <bp-sym.h> and <bp-asm.h>.
26072 (__rawmemchr): Don't use BP_SYM.
26073 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
26074 <bp-sym.h> and <bp-asm.h>.
26075 (__STRCMP): Don't use BP_SYM.
26076 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
26077 <bp-sym.h> and <bp-asm.h>.
26078 (strchr): Don't use BP_SYM.
26079 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
26080 <bp-sym.h> and <bp-asm.h>.
26081 (__strchrnul): Don't use BP_SYM.
26082 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
26083 <bp-sym.h> and <bp-asm.h>.
26084 (strlen): Don't use BP_SYM.
26085 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
26086 <bp-sym.h> and <bp-asm.h>.
26087 (strncmp): Don't use BP_SYM. Remove comment about bounded
26088 pointers.
26089 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
26090 <bp-sym.h> and <bp-asm.h>.
26091 (__strnlen): Don't use BP_SYM.
26092 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
26093 <bp-sym.h> and <bp-asm.h>.
26094 (__GI__setjmp): Don't use BP_SYM.
26095 (_setjmp): Likewise.
26096 (__sigsetjmp): Likewise.
26097 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
26098 (L(start_addresses)): Don't use BP_SYM.
26099 (_start): Likewise.
26100 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
26101 <bp-asm.h>.
26102 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
26103 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
26104 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26105 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26106 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
26107 <bp-asm.h>.
26108 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
26109 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
26110 about bounded pointers.
26111 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26112 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26113 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
26114 <bp-asm.h>.
26115 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
26116 about bounded pointers. Remove GKM FIXME comments.
26117 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26118 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
26119 <bp-asm.h>.
26120 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
26121 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
26122 Remove GKM FIXME comments.
26123 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26124 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26125 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
26126 <bp-asm.h>.
26127 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
26128 about bounded pointers. Remove GKM FIXME comment.
26129 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
26130 and <bp-asm.h>.
26131 (strncmp): Don't use BP_SYM. Remove comment about bounded
26132 pointers.
26133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
26134 <bp-sym.h> and <bp-asm.h>.
26135 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
26137 <bp-sym.h> and <bp-asm.h>.
26138 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
26139 comment.
26140
cdcf361f
PP
261412013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26142
26143 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
26144 call free(NULL).
26145
3c4a2b15
DM
261462013-03-05 David S. Miller <davem@davemloft.net>
26147
26148 * po/es.po: Update from translation team.
26149
cdcf361f 261502013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
26151
26152 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
26153 <bits/mman-linux.h>.
26154 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26155 is fine.
26156 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
26157 <bits/mman-linux.h> to end of file.
26158 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26159 is fine.
26160 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
26161 <bits/mman-linux.h> to end of file.
26162 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26163 is fine.
26164 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
26165 <bits/mman-linux.h> to end of file.
26166
26167 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
26168 (MCL_CURRENT, MCL_FUTURE): Define here.
26169
5f67c04f
AK
261702013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26171
8a4473cc 26172 [BZ #15232]
5f67c04f
AK
26173 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
26174 attribute_hidden.
26175 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26176
c3e94a95
AK
261772013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26178
26179 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
26180 fourth parameter needed for rt_sigprocmask syscall.
26181 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
26182 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26183 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26184 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26185 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26186 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
26187
cfb6382a
JM
261882013-03-04 Joseph Myers <joseph@codesourcery.com>
26189
26190 [BZ #13550]
26191 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
26192 comment about bounded pointers.
26193 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
26194 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
26195
539d8e01
AJ
261962013-03-04 Andreas Jaeger <aj@suse.de>
26197
26198 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
26199 common definitions.
26200
26201 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
26202 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
26203 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
26204 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26205 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
26206 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26207
2e167a70 262082013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
26209
26210 [BZ #15055]
26211 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
26212 __ieee754_sqrl instead of __sqrl.
26213
68508633
JM
262142013-03-01 Joseph Myers <joseph@codesourcery.com>
26215
26216 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
26217 * sysdeps/powerpc/fpu_control.h: ... here.
26218 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
26219 * sysdeps/powerpc/bits/fenvinline.h: ... here.
26220 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
26221 * sysdeps/powerpc/bits/mathinline.h: ... here.
26222
7775448e
RM
262232013-03-01 Roland McGrath <roland@hack.frob.com>
26224
26225 * elf/dl-hwcaps.c (_dl_important_hwcaps):
26226 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
26227 to just [NEED_DL_SYSINFO_DSO].
26228 * elf/dl-support.c: Likewise.
26229 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26230 * elf/rtld.c (dl_main): Likewise.
26231 * elf/setup-vdso.h (setup_vdso): Likewise.
26232 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
26233 * sysdeps/unix/sysv/linux/dl-sysdep.c
26234 (_dl_discover_osversion): Likewise.
26235
4e9b5995
CD
262362013-03-01 Carlos O'Donell <carlos@redhat.com>
26237
26238 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
26239 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26240
e23872c8
SP
262412013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
26242
e5c74c63
SP
26243 * NEWS: Mention libm performance improvements and non-x86 PI
26244 futex support.
26245
e23872c8
SP
26246 * csu/libc-start.c (__pthread_initialize_minimal): Change
26247 function arguments.
26248 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26249
b5510883
JM
262502013-02-28 Joseph Myers <joseph@codesourcery.com>
26251
26252 [BZ #13550]
26253 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
26254 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
26255 <bp-sym.h> and <bp-asm.h>.
26256 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26257 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
26258 and <bp-asm.h>.
26259 (memcpy): Don't use BP_SYM.
26260 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
26261 <bp-asm.h>.
26262 (__mpn_add_n): Don't use BP_SYM.
26263 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
26264 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
26265 and <bp-asm.h>.
26266 (__mpn_addmul_1): Don't use BP_SYM.
26267 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26268 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
26269 <bp-sym.h>.
26270 (_setjmp): Don't use BP_SYM.
26271 (__novmx_setjmp): Likewise.
26272 (__GI__setjmp): Likewise.
26273 (__vmx_setjmp): Likewise.
26274 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
26275 <bp-sym.h>.
26276 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
26277 (__bzero): Don't use BP_SYM.
26278 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26279 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26280 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
26281 <bp-sym.h> and <bp-asm.h>.
26282 (memcpy): Don't use BP_SYM.
26283 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
26284 <bp-sym.h> and <bp-asm.h>.
26285 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26286 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
26287 <bp-sym.h> and <bp-asm.h>.
26288 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26289 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
26290 <bp-asm.h>.
26291 (__mpn_lshift): Don't use BP_SYM.
26292 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26293 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
26294 <bp-asm.h>.
26295 (memset): Don't use BP_SYM.
26296 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26297 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26298 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
26299 <bp-asm.h>.
26300 (__mpn_mul_1): Don't use BP_SYM.
26301 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26302 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
26303 <bp-sym.h> and <bp-asm.h>.
26304 (memcmp): Don't use BP_SYM.
26305 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
26306 <bp-sym.h> and <bp-asm.h>.
26307 (memcpy): Don't use BP_SYM.
26308 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
26309 <bp-sym.h> and <bp-asm.h>.
26310 (memset): Don't use BP_SYM.
26311 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
26312 <bp-sym.h> and <bp-asm.h>.
26313 (strncmp): Don't use BP_SYM.
26314 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
26315 <bp-sym.h> and <bp-asm.h>.
26316 (memcpy): Don't use BP_SYM.
26317 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
26318 <bp-sym.h> and <bp-asm.h>.
26319 (memset): Don't use BP_SYM.
26320 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
26321 <bp-sym.h> and <bp-asm.h>.
26322 (__memchr): Don't use BP_SYM.
26323 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
26324 <bp-sym.h> and <bp-asm.h>.
26325 (memcmp): Don't use BP_SYM.
26326 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
26327 <bp-sym.h> and <bp-asm.h>.
26328 (memcpy): Don't use BP_SYM.
26329 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
26330 <bp-sym.h> and <bp-asm.h>.
26331 (__mempcpy): Don't use BP_SYM.
26332 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
26333 <bp-sym.h> and <bp-asm.h>.
26334 (__memrchr): Don't use BP_SYM.
26335 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
26336 <bp-sym.h> and <bp-asm.h>.
26337 (memset): Don't use BP_SYM.
26338 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
26339 <bp-sym.h> and <bp-asm.h>.
26340 (__rawmemchr): Don't use BP_SYM.
26341 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
26342 <bp-sym.h> and <bp-asm.h>.
26343 (__STRCMP): Don't use BP_SYM.
26344 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
26345 <bp-sym.h> and <bp-asm.h>.
26346 (strchr): Don't use BP_SYM.
26347 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
26348 <bp-sym.h> and <bp-asm.h>.
26349 (__strchrnul): Don't use BP_SYM.
26350 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
26351 <bp-sym.h> and <bp-asm.h>.
26352 (strlen): Don't use BP_SYM.
26353 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
26354 <bp-sym.h> and <bp-asm.h>.
26355 (strncmp): Don't use BP_SYM.
26356 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
26357 <bp-sym.h> and <bp-asm.h>.
26358 (__strnlen): Don't use BP_SYM.
26359 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
26360 <bp-asm.h>.
26361 (__mpn_rshift): Don't use BP_SYM.
26362 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26363 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
26364 <bp-sym.h> and <bp-asm.h>.
26365 (__sigsetjmp): Don't use BP_SYM.
26366 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
26367 (L(start_addresses)): Don't use BP_SYM.
26368 (_start): Likewise.
26369 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
26370 <bp-asm.h>.
26371 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
26372 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26373 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26374 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
26375 <bp-asm.h>.
26376 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
26377 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26378 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26379 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
26380 <bp-asm.h>.
26381 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
26382 comments.
26383 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26384 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
26385 <bp-asm.h>.
26386 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
26387 FIXME comments.
26388 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26389 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26390 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
26391 <bp-asm.h>.
26392 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
26393 comment.
26394 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
26395 and <bp-asm.h>.
26396 (strncmp): Don't use BP_SYM,
26397 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
26398 <bp-asm.h>.
26399 (__mpn_sub_n): Don't use BP_SYM.
26400 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26401 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
26402 and <bp-asm.h>.
26403 (__mpn_submul_1): Don't use BP_SYM.
26404 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
26406 <bp-sym.h> and <bp-asm.h>.
26407 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
26409 <bp-sym.h> and <bp-asm.h>.
26410 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
26411 comment.
26412
8d19fe64
SP
264132013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26414
26415 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
26416 Use ZK to minimize writes to Z.
26417 (sub_magnitudes): Simplify code a bit.
26418 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
26419 Use ZK to minimize writes to Z.
26420 (sub_magnitudes): Simplify code a bit.
26421
85bd816a
RM
264222013-02-27 Roland McGrath <roland@hack.frob.com>
26423
26424 * csu/gmon-start.c: Add special exception to license text.
26425
b5977bf2
RH
264262013-02-27 Richard Henderson <rth@redhat.com>
26427
26428 * scripts/config.guess: Update from config.git.
26429 * scripts/config.sub: Likewise.
26430
11d6e2f2
SP
264312013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26432
09c14ed2
SP
26433 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
26434
a688864e
SP
26435 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
26436
6295157a
SP
26437 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
26438
b8de2202
SP
26439 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
26440
11d6e2f2
SP
26441 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
26442
7e80ddb8
RM
264432013-02-26 Roland McGrath <roland@hack.frob.com>
26444
26445 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
26446 [$(build-shared = yes].
7e80ddb8 26447
7da6d9ed
SP
264482013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26449
45f05884
SP
26450 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
26451 (__mul): Reduce iterations for calculating mantissa.
26452
2236d359
SP
26453 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
26454 MPTWO.
26455 (__mpranred): Likewise.
26456
7da6d9ed
SP
26457 [BZ #15160]
26458 * malloc/memusagestat.c (main): Draw graphs for heap and stack
26459 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
26460
b7688c42
PE
264612013-02-26 Paul Eggert <eggert@cs.ucla.edu>
26462
26463 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
26464 Define __attribute__.
26465
53a5c423
SP
264662013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26467
26468 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
26469 unused.
26470 * posix/regex_internal.h (__attribute): Remove.
26471 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
26472 (re_string_context_at): Likewise.
26473 (bitset_not): Use __attribute__ and mark function as possibly
26474 unused.
26475 (bitset_merge): Likewise.
26476 (bitset_mask): Likewise.
26477 (re_string_char_size_at): Likewise.
26478 (re_string_wchar_at): Likewise.
26479 (re_string_elem_size_at): Likewise.
26480
60f5a8b5
SP
264812013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26482
2a983a2e
SP
26483 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
26484 code.
26485 (cc32): Likewise.
26486
e69804d1
SP
26487 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
26488 (__acr): Likewise.
26489 (__cpy): Likewise.
26490 (norm): Likewise.
26491 (denorm): Likewise.
26492 (__dbl_mp): Likewise.
26493 (add_magnitudes): Likewise.
26494 (sub_magnitudes): Likewise.
26495 (__mul): Likewise.
26496 (__inv): Likewise.
26497
2f22a1e8
SP
26498 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
26499 style.
26500
8930ddc7
SP
26501 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
26502 style.
26503
dc60cb11
SP
26504 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
26505 code.
26506
60f5a8b5
SP
26507 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
26508 up changes with default code.
26509 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
26510 Likewise.
26511
b4d1fd33
AM
265122013-02-24 Allan McRae <allan@archlinux.org>
26513
faf6f8bc
AM
26514 * manual/socket.texi (The Internet Namespace): Order menu items
26515 to match that in the file.
26516
b4d1fd33
AM
26517 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
26518 node listing of the info page menu.
26519
2366713d
JM
265202013-02-21 Joseph Myers <joseph@codesourcery.com>
26521
26522 [BZ #13550]
26523 * sysdeps/i386/bp-asm.h: Remove file.
26524 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26525 (PARMS): Do not use macros from bp-asm.h.
26526 (S1): Likewise.
26527 (S2): Likewise.
26528 (SIZE): Likewise.
26529 (__mpn_add_n): Do not use BP_SYM
26530 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
26531 "bp-asm.h".
26532 (PARMS): Do not use macros from bp-asm.h.
26533 (S1): Likewise.
26534 (SIZE): Likewise.
26535 (__mpn_addmul_1): Do not use BP_SYM
26536 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
26537 "bp-asm.h".
26538 (PARMS): Do not use macros from bp-asm.h.
26539 (SIGMSK): Likewise.
26540 (_setjmp): Likewise. Do not use BP_SYM.
26541 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
26542 "bp-asm.h".
26543 (PARMS): Do not use macros from bp-asm.h.
26544 (SIGMSK): Likewise.
26545 (setjmp): Likewise. Do not use BP_SYM.
26546 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
26547 "bp-asm.h".
26548 (PARMS): Do not use macros from bp-asm.h.
26549 (__frexp): Do not use BP_SYM.
26550 (frexp): Likewise.
26551 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
26552 "bp-asm.h".
26553 (PARMS): Do not use macros from bp-asm.h.
26554 (__frexpf): Do not use BP_SYM.
26555 (frexpf): Likewise.
26556 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
26557 "bp-asm.h".
26558 (PARMS): Do not use macros from bp-asm.h.
26559 (__frexpl): Do not use BP_SYM.
26560 (frexpl): Likewise.
26561 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
26562 "bp-asm.h".
26563 (PARMS): Do not use macros from bp-asm.h.
26564 (__remquo): Do not use BP_SYM.
26565 (remquo): Likewise.
26566 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
26567 "bp-asm.h".
26568 (PARMS): Do not use macros from bp-asm.h.
26569 (__remquof): Do not use BP_SYM.
26570 (remquof): Likewise.
26571 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
26572 "bp-asm.h".
26573 (PARMS): Do not use macros from bp-asm.h.
26574 (__remquol): Do not use BP_SYM.
26575 (remquol): Likewise.
26576 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
26577 "bp-asm.h".
26578 (PARMS): Do not use macros from bp-asm.h.
26579 (DEST): Likewise.
26580 (SRC): Likewise.
26581 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
26582 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
26583 "bp-asm.h".
26584 (PARMS): Do not use macros from bp-asm.h.
26585 (strlen): Do not use BP_SYM.
26586 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
26587 "bp-asm.h".
26588 (PARMS): Do not use macros from bp-asm.h.
26589 (S1): Likewise.
26590 (S2): Likewise.
26591 (SIZE): Likewise.
26592 (__mpn_add_n): Do not use BP_SYM.
26593 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
26594 "bp-asm.h".
26595 (PARMS): Do not use macros from bp-asm.h.
26596 (S1): Likewise.
26597 (SIZE): Likewise.
26598 (__mpn_addmul_1): Do not use BP_SYM.
26599 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
26600 weak_alias.
26601 (bzero): Likewise.
26602 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
26603 "bp-asm.h".
26604 (PARMS): Do not use macros from bp-asm.h.
26605 (S): Likewise.
26606 (SIZE): Likewise.
26607 (__mpn_lshift): Do not use BP_SYM.
26608 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
26609 "bp-asm.h".
26610 (PARMS): Do not use macros from bp-asm.h.
26611 (DEST): Likewise.
26612 (SRC): Likewise.
26613 (LEN): Likewise.
26614 (memcpy): Likewise. Do not use BP_SYM.
26615 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
26616 libc_hidden_def and weak_alias.
26617 (mempcpy): Do not use BP_SYM in weak_alias.
26618 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
26619 "bp-asm.h".
26620 (PARMS): Do not use macros from bp-asm.h.
26621 (DEST): Likewise.
26622 (LEN): Likewise.
26623 [!BZERO_P] (CHR): Likewise.
26624 (memset): Likewise. Do not use BP_SYM.
26625 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
26626 "bp-asm.h".
26627 (PARMS): Do not use macros from bp-asm.h.
26628 (S1): Likewise.
26629 (SIZE): Likewise.
26630 (__mpn_mul_1): Do not use BP_SYM.
26631 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
26632 "bp-asm.h".
26633 (PARMS): Do not use macros from bp-asm.h.
26634 (S): Likewise.
26635 (SIZE): Likewise.
26636 (__mpn_rshift): Do not use BP_SYM.
26637 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
26638 "bp-asm.h".
26639 (PARMS): Do not use macros from bp-asm.h.
26640 (STR): Likewise.
26641 (CHR): Likewise.
26642 (strchr): Likewise. Do not use BP_SYM.
26643 (index): Do not use BP_SYM in weak_alias.
26644 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
26645 "bp-asm.h".
26646 (PARMS): Do not use macros from bp-asm.h.
26647 (DEST): Likewise.
26648 (SRC): Likewise.
26649 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
26650 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
26651 "bp-asm.h".
26652 (PARMS): Do not use macros from bp-asm.h.
26653 (strlen): Do not use BP_SYM.
26654 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
26655 "bp-asm.h".
26656 (PARMS): Do not use macros from bp-asm.h.
26657 (S1): Likewise.
26658 (S2): Likewise.
26659 (SIZE): Likewise.
26660 (__mpn_sub_n): Do not use BP_SYM.
26661 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
26662 "bp-asm.h".
26663 (PARMS): Do not use macros from bp-asm.h.
26664 (S1): Likewise.
26665 (SIZE): Likewise.
26666 (__mpn_submul_1): Do not use BP_SYM.
26667 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
26668 "bp-asm.h".
26669 (PARMS): Do not use macros from bp-asm.h.
26670 (S1): Likewise.
26671 (S2): Likewise.
26672 (SIZE): Likewise.
26673 (__mpn_add_n): Do not use BP_SYM.
26674 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
26675 weak_alias.
26676 (bzero): Likewise.
26677 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
26678 "bp-asm.h".
26679 (PARMS): Do not use macros from bp-asm.h.
26680 (BLK2): Likewise.
26681 (LEN): Likewise.
26682 (memcmp): Do not use BP_SYM.
26683 (bcmp): Do not use BP_SYM in weak_alias.
26684 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
26685 "bp-asm.h".
26686 (PARMS): Do not use macros from bp-asm.h.
26687 (DEST): Likewise.
26688 (SRC): Likewise.
26689 (LEN): Likewise.
26690 (memcpy): Likewise. Do not use BP_SYM.
26691 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
26692 "bp-asm.h".
26693 (PARMS): Do not use macros from bp-asm.h.
26694 (DEST): Likewise.
26695 (SRC): Likewise.
26696 (LEN): Likewise.
26697 (memmove): Likewise. Do not use BP_SYM.
26698 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
26699 "bp-asm.h".
26700 (PARMS): Do not use macros from bp-asm.h.
26701 (DEST): Likewise.
26702 (SRC): Likewise.
26703 (LEN): Likewise.
26704 (__mempcpy): Likewise. Do not use BP_SYM.
26705 (mempcpy): Do not use BP_SYM in weak_alias.
26706 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
26707 "bp-asm.h".
26708 (PARMS): Do not use macros from bp-asm.h.
26709 (DEST): Likewise.
26710 (LEN): Likewise.
26711 [!BZERO_P] (CHR): Likewise.
26712 (memset): Likewise. Do not use BP_SYM.
26713 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
26714 "bp-asm.h".
26715 (PARMS): Do not use macros from bp-asm.h.
26716 (STR2): Likewise.
26717 (strcmp): Do not use BP_SYM.
26718 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
26719 "bp-asm.h".
26720 (PARMS): Do not use macros from bp-asm.h.
26721 (STR): Likewise.
26722 (DELIM): Likewise.
26723 [USE_AS_STRTOK_R] (SAVE): Likewise.
26724 (FUNCTION): Likewise. Do not use BP_SYM.
26725 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
26726 aliases.
26727 (strtok_r): Likewise.
26728 (__GI___strtok_r): Likewise.
26729 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26730 (PARMS): Do not use macros from bp-asm.h.
26731 (S): Likewise.
26732 (SIZE): Likewise.
26733 (__mpn_lshift): Do not use BP_SYM.
26734 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26735 (PARMS): Do not use macros from bp-asm.h.
26736 (STR): Likewise.
26737 (CHR): Likewise.
26738 (__memchr): Do not use BP_SYM.
26739 (memchr): Do not use BP_SYM in weak_alias.
26740 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26741 (PARMS): Do not use macros from bp-asm.h.
26742 (BLK2): Likewise.
26743 (LEN): Likewise.
26744 (memcmp): Do not use BP_SYM.
26745 (bcmp): Do not use BP_SYM in weak_alias.
26746 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
26747 (PARMS): Do not use macros from bp-asm.h.
26748 (S1): Likewise.
26749 (SIZE): Likewise.
26750 (__mpn_mul_1): Do not use BP_SYM.
26751 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
26752 "bp-asm.h".
26753 (PARMS): Do not use macros from bp-asm.h.
26754 (STR): Likewise.
26755 (CHR): Likewise.
26756 (__rawmemchr): Do not use BP_SYM.
26757 (rawmemchr): Do not use BP_SYM in weak_alias.
26758 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26759 (PARMS): Do not use macros from bp-asm.h.
26760 (S): Likewise.
26761 (SIZE): Likewise.
26762 (__mpn_rshift): Do not use BP_SYM.
26763 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26764 (PARMS): Do not use macros from bp-asm.h.
26765 (SIGMSK): Likewise.
26766 (__sigsetjmp): Likewise. Do not use BP_SYM.
26767 * sysdeps/i386/start.S: Do not include "bp-sym.h".
26768 (_start): Do not use BP_SYM.
26769 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
26770 (PARMS): Do not use macros from bp-asm.h.
26771 (DEST): Likewise.
26772 (SRC): Likewise.
26773 (__stpcpy): Likewise. Do not use BP_SYM.
26774 (stpcpy): Do not use BP_SYM in weak_alias.
26775 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
26776 "bp-asm.h".
26777 (PARMS): Do not use macros from bp-asm.h.
26778 (DEST): Likewise.
26779 (SRC): Likewise.
26780 (LEN): Likewise.
26781 (__stpncpy): Likewise. Do not use BP_SYM.
26782 (stpncpy): Do not use BP_SYM in weak_alias.
26783 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26784 (PARMS): Do not use macros from bp-asm.h.
26785 (STR): Likewise.
26786 (CHR): Likewise.
26787 (strchr): Likewise. Do not use BP_SYM.
26788 * sysdeps/i386/strchrnul.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 (__strchrnul): Likewise. Do not use BP_SYM.
26794 (strchrnul): Do not use BP_SYM in weak_alias.
26795 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
26796 "bp-asm.h".
26797 (PARMS): Do not use macros from bp-asm.h.
26798 (STOP): Likewise.
26799 (strcspn): Do not use BP_SYM.
26800 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
26801 "bp-asm.h".
26802 (PARMS): Do not use macros from bp-asm.h.
26803 (STR): Likewise.
26804 (STOP): Likewise.
26805 (strpbrk): Likewise. Do not use BP_SYM.
26806 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
26807 "bp-asm.h".
26808 (PARMS): Do not use macros from bp-asm.h.
26809 (STR): Likewise.
26810 (CHR): Likewise.
26811 (strrchr): Likewise. Do not use BP_SYM.
26812 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
26813 (PARMS): Do not use macros from bp-asm.h.
26814 (SKIP): Likewise.
26815 (strspn): Do not use BP_SYM.
26816 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
26817 (PARMS): Do not use macros from bp-asm.h.
26818 (STR): Likewise.
26819 (DELIM): Likewise.
26820 (SAVE): Likewise.
26821 (FUNCTION): Likewise. Do not use BP_SYM.
26822 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
26823 aliases.
26824 (strtok_r): Likewise.
26825 (__GI___strtok_r): Likewise.
26826 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26827 (PARMS): Do not use macros from bp-asm.h.
26828 (S1): Likewise.
26829 (S2): Likewise.
26830 (SIZE): Likewise.
26831 (__mpn_sub_n): Do not use BP_SYM.
26832 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
26833 "bp-asm.h".
26834 (PARMS): Do not use macros from bp-asm.h.
26835 (S1): Likewise.
26836 (SIZE): Likewise.
26837 (__mpn_submul_1): Do not use BP_SYM.
26838 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
26839 <bp-sym.h>.
26840 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
26841 and <bp-asm.h>.
26842 (PARMS): Do not use macros from bp-asm.h.
26843 (FLAGS): Likewise.
26844 (PTID): Likewise.
26845 (TLS): Likewise.
26846 (CTID): Likewise.
26847 (__clone): Do not use BP_SYM.
26848 (clone): Do not use BP_SYM in weak_alias.
26849 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
26850 and <bp-asm.h>.
26851 (PARMS): Do not use macros from bp-asm.h.
26852 (LEN): Likewise.
26853 (__mmap64): Do not use BP_SYM.
26854 (mmap64): Do not use BP_SYM in weak_alias.
26855 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26856 <bp-sym.h> and <bp-asm.h>.
26857 (PARMS): Do not use macros from bp-asm.h.
26858 (__posix_fadvise64_l64): Do not use BP_SYM.
26859 * sysdeps/unix/sysv/linux/i386/semtimedop.S
26860 (PARMS): Do not use macros from bp-asm.h.
26861 (NSOPS): Likewise.
26862 (semtimedop): Do not use BP_SYM.
26863 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
26864 and <bp-asm.h>.
26865
582a3cff
AM
268662013-02-21 Allan McRae <allan@archlinux.org>
26867
26868 * manual/message.texi (Charset conversion in gettext):
26869 Move @end statement to beginning of line.
26870
bab8a695
SP
268712013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26872
80945231
SP
26873 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26874 static.
26875 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26876 Likewise.
26877
bab8a695
SP
26878 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26879 (denorm): Likewise.
26880 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26881 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26882
e21d7aa7
AK
268832013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26884
26885 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26886 tail-call to the resolved function if pltexit isn't needed.
26887
4c7a4263
SP
268882013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26889
26890 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26891 or Y being zero as being unlikely.
26892 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26893 Likewise.
26894
41f49342
CD
268952013-02-20 Carlos O'Donell <carlos@redhat.com>
26896
26897 * manual/nss.texi (System Databases and Name Service Switch):
26898 Remove frobnicate @pxref.
26899
50022a93
TS
269002013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26901
26902 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26903 __attribute__ ((unused)) to __attribute__ ((__unused__)).
26904
08cbd996
PM
269052013-02-20 Petr Machata <pmachata@redhat.com>
26906
26907 * elf/elf.h (R_ARM_TARGET1): New macro.
26908 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26909 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26910 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26911 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26912 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26913 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26914 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26915 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26916 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26917 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26918 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26919 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26920 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26921 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26922 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26923 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26924 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26925 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26926 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26927 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26928 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26929 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26930 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26931 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26932 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26933 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26934 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26935 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26936 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26937 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26938 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26939 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26940 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26941 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26942 (R_ARM_THM_GOT_BREL12): Likewise.
26943 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26944 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26945 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26946 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26947 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26948 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26949 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26950 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26951 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26952
c7b275d6
TS
269532013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26954
26955 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26956 __attribute_used__ to __attribute__ ((unused)).
26957
20cd7fb3
SP
269582013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26959
26960 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26961 powerpc mpa.c.
26962 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
26963 comment formatting.
26964 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
26965
92945b52
JM
269662013-02-19 Joseph Myers <joseph@codesourcery.com>
26967
26968 [BZ #13550]
26969 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
26970 Remove macro.
26971 (ENTER): Remove both macro definitions.
26972 (LEAVE): Likewise.
26973 (CHECK_BOUNDS_LOW): Likewise.
26974 (CHECK_BOUNDS_HIGH): Likewise.
26975 (CHECK_BOUNDS_BOTH): Likewise.
26976 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
26977 (RETURN_BOUNDED_POINTER): Likewise.
26978 (RETURN_NULL_BOUNDED_POINTER): Likewise.
26979 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
26980 (POP_ERRNO_LOCATION_RETURN): Likewise.
26981 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
26982 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26983 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
26984 macros.
26985 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26986 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
26987 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
26988 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
26989 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
26990 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
26991 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
26992 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
26993 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
26994 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
26995 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
26996 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
26997 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26998 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
26999 removed macros.
27000 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27001 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
27002 macros.
27003 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27004 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
27005 * sysdeps/i386/i586/memset.S (memset): Likewise.
27006 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
27007 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27008 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
27009 macros.
27010 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27011 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
27012 Change uses of L(2) to L(out).
27013 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
27014 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
27015 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
27016 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27017 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
27018 removed macros.
27019 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27020 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
27021 macros.
27022 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27023 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
27024 (RETURN): Do not use macro LEAVE.
27025 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
27026 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
27027 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
27028 * sysdeps/i386/i686/memset.S (memset): Likewise.
27029 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
27030 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
27031 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27032 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
27033 Likewise.
27034 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27035 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
27036 L(1_2) and L(1_3) into L(1).
27037 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27038 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
27039 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27040 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
27041 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27042 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
27043 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
27044 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27045 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
27046 macros.
27047 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
27048 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27049 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
27050 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
27051 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
27052 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27053 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
27054 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
27055 * sysdeps/i386/strcspn.S (strcspn): Likewise.
27056 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
27057 * sysdeps/i386/strrchr.S (strrchr): Likewise.
27058 * sysdeps/i386/strspn.S (strspn): Likewise.
27059 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
27060 conditional code.
27061 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27062 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
27063 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27064 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
27065 L(1_3) into L(1_1).
27066 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
27067 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27068 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
27069 macros.
27070 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27071
2389741a
JJ
270722013-02-19 Jakub Jelinek <jakub@redhat.com>
27073
27074 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
27075 macro.
27076
2016b3cd
SP
270772013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27078
e4f22324
SP
27079 * math/atest-exp.c (exp_mpn): Remove ROUND.
27080 * math/atest-exp2.c (exp_mpn): Likewise.
27081 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
27082
2016b3cd
SP
27083 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
27084 * stdlib/tst-tls-atexit-lib.c: Likewise.
27085 * stdlib/tst-tls-atexit.c: Likewise.
27086
4be9b544
MF
270872013-02-18 Mike Frysinger <vapier@gentoo.org>
27088
27089 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
27090 and __attribute_alloc_size__.
27091
2f62b9ee
MF
270922013-02-18 Mike Frysinger <vapier@gentoo.org>
27093
27094 * include/programs/xmalloc.h: Change __attribute_alloc_size to
27095 __attribute_alloc_size__.
27096 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
27097 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
27098
6ff444c4
MF
270992013-02-18 Mike Frysinger <vapier@gentoo.org>
27100
27101 * include/programs/xmalloc.h: New file.
27102 * catgets/gencat.c: Include it.
27103 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
27104 * elf/pldd.c: Likewise.
27105 * iconv/iconv_charmap.c: Likewise.
27106 * iconv/iconvconfig.c: Likewise.
27107 * iconv/strtab.c: Likewise.
27108 * locale/programs/locale.c: Likewise.
27109 * locale/programs/localedef.h: Likewise.
27110 * locale/programs/simple-hash.c: Likewise.
27111 * nscd/nscd.h: Likewise.
27112 * nss/makedb.c: Likewise.
27113 * sysdeps/generic/ldconfig.h: Likewise.
27114
be179c8a
SP
271152013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27116
ba384f6e
SP
27117 * Versions.def: Add GLIBC_2.18.
27118 * include/link.h (struct link_map): New member l_tls_dtor_count.
27119 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
27120 (__call_tls_dtors): Likewise.
27121 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
27122 __cxa_thread_atexit_impl.
27123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27124 Likewise.
27125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27126 Likewise.
27127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27128 Likewise.
27129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27130 Likewise.
27131 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27132 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
27133 Likewise.
27134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
27135 Likewise.
27136 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27137 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27138 Likewise.
27139 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
27140 (tests): Add test case tst-tls-atexit.
27141 (modules-names): Add shared library for tst-tls-atexit.
85891aca 27142 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
27143 (GLIBC_PRIVATE): Add __call_tls_dtors.
27144 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
27145 for libstdc++.
27146 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
27147 * stdlib/tst-tls-atexit.c: New test case.
27148 * stdlib/tst-tls-atexit-lib.c: New test case.
27149
ffaa74cf 27150 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 27151
be179c8a
SP
27152 * elf/Versions (ld): Add _dl_find_dso_for_object.
27153 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
27154 * elf/dl-open.c (_dl_find_dso_for_object): New function.
27155 (dl_open_worker): Use _dl_find_dso_for_object.
27156 * elf/dl-sym.c (do_sym): Likewise.
27157 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
27158
f78b5caa
AK
271592013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27160
27161 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
27162 Syntactic changes only.
27163 (_dl_runtime_profile): Do a tail-call to the resolved function.
27164
29691210
JM
271652013-02-17 Joseph Myers <joseph@codesourcery.com>
27166
27167 [BZ #13550]
27168 * sysdeps/x86_64/bp-asm.h: Remove file.
27169 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
27170 <bp-sym.h> and <bp-asm.h>.
27171 (__clone): Do not use BP_SYM.
27172 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
27173 <bp-sym.h> and <bp-asm.h>.
27174 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27175 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
27176 "bp-asm.h".
27177 (_setjmp): Do not use BP_SYM.
27178 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
27179 "bp-asm.h".
27180 (setjmp): Do not use BP_SYM.
27181 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
27182 libc_hidden_def.
27183 (mempcpy): Do not use BP_SYM in weak_alias.
27184 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
27185 "bp-asm.h".
27186 (strchr): Do not use BP_SYM.
27187 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
27188 "bp-asm.h".
27189 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
27190 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
27191 (_start): Do not use BP_SYM.
27192 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
27193 "bp-asm.h".
27194 (strcat): Do not use BP_SYM.
27195 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
27196 "bp-asm.h".
27197 (STRCMP): Do not use BP_SYM.
27198 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
27199 "bp-asm.h".
27200 (STRCPY): Do not use BP_SYM.
27201 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
27202 "bp-asm.h".
27203 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
27204 "bp-asm.h".
27205 (FUNCTION): Do not use BP_SYM.
27206 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
27207 weak_alias.
27208 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
27209
f238fd19
AJ
272102013-02-17 Andreas Jaeger <aj@suse.de>
27211
27212 * time/Versions: Sort entries.
27213 * string/Versions: Likewise.
27214 * resolv/Versions: Likewise.
27215 * posix/Versions: Likewise.
27216 * iconv/Versions: Likewise.
27217 * elf/Versions: Likewise.
27218 * wcsmbs/Versions: Likewise.
27219
bd07f23c 272202013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 27221
22af19f9
SP
27222 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
27223 loop termination condition.
27224
4709fe76
SP
27225 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
27226 variable to calculate EZ.
27227 (__sqr): Likewise.
2d0e0f29
SP
27228
27229 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
27230 the lower precision input.
27231
daaa7713
JM
272322013-02-15 Joseph Myers <joseph@codesourcery.com>
27233
27234 [BZ #13550]
27235 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
27236 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
27237 (run-via-rtld-prefix): Do not handle %-bp tests.
27238 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
27239 (all-object-suffixes): Remove .ob.
27240 (bppfx): Remove variable.
27241 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
27242 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
27243 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
27244 [$(build-bounded) = yes] (libtype.ob): Likewise.
27245 * Makerules (elide-routines.ob): Remove variable.
27246 (do-tests-clean): Do not handle *-bp.out.
27247 (common-mostlyclean): Do not handle *-bp and *-bp.out.
27248 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
27249 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
27250 (tests): Do not include $(tests-bp.out).
27251 (xtests): Do not include $(xtests-bp.out).
27252 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
27253 [$(build-bounded) = yes] ($(addprefix
27254 $(objpfx),$(binaries-bounded))): Remove rule.
27255 ($(objpfx)%-bp.out): Remove rule.
27256 * config.make.in (build-bounded): Remove variable.
27257 * crypt/Makefile [$(build-bounded) = yes]
27258 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
27259 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
27260 append to variable.
27261 [$(build-bounded) = yes] (install-lib): Likewise.
27262 [$(build-bounded) = yes] (generated): Likewise.
27263 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
27264 Remove rule.
27265 * intl/Makefile [$(build-bounded) = yes]
27266 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
27267 * math/Makefile [$(build-bounded) = yes]
27268 ($(tests:%=$(objpfx)%-bp): Likewise.
27269 * misc/Makefile [$(build-bounded) = yes]
27270 ($(objpfx)tst-tsearch-bp): Likewise.
27271 * nptl/Makeconfig (bounded-thread-library): Remove variable.
27272 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
27273 Remove dependency.
27274 * string/Makefile (o-objects.ob): Remove variable.
27275 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
27276 (CFLAGS-.ob): Remove variable.
27277 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
27278 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
27279 both definitions of variable.
27280 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
27281 (ASFLAGS-.ob): Remove variable.
27282
e97ed6dd
JM
272832013-02-14 Joseph Myers <joseph@codesourcery.com>
27284
2bdd4ca6
JM
27285 [BZ #13550]
27286 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
27287 Remove __BOUNDED_POINTERS__ from condition.
27288 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
27289 * string/bits/string2.h [!__NO_STRING_INLINES &&
27290 !__BOUNDED_POINTERS__]: Likewise.
27291 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
27292 Likewise.
27293 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
27294 Remove conditional code.
27295 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
27296 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
27297 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
27298 condition.
27299
e97ed6dd
JM
27300 [BZ #13550]
27301 * csu/libc-start.c: Do not include <bp-sym.h>.
27302 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
27303 * elf/dl-open.c: Do not include <bp-sym.h>.
27304 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
27305 * math/fegetenv.c: Do not include <bp-sym.h>.
27306 (fegetenv): Do not use BP_SYM in versioned symbols.
27307 * nptl/sysdeps/pthread/bits/libc-lockP.h
27308 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
27309 <bp-sym.h>.
27310 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27311 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
27312 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27313 (__pthread_mutex_destroy): Likewise.
27314 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27315 (__pthread_mutex_lock): Likewise.
27316 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27317 (__pthread_mutex_trylock): Likewise.
27318 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27319 (__pthread_mutex_unlock): Likewise.
27320 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27321 (__pthread_mutexattr_init): Likewise.
27322 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27323 (__pthread_mutexattr_destroy): Likewise.
27324 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27325 (__pthread_mutexattr_settype): Likewise.
27326 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27327 (__pthread_rwlock_init): Likewise.
27328 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27329 (__pthread_rwlock_destroy): Likewise.
27330 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27331 (__pthread_rwlock_rdlock): Likewise.
27332 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27333 (__pthread_rwlock_tryrdlock): Likewise.
27334 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27335 (__pthread_rwlock_wrlock): Likewise.
27336 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27337 (__pthread_rwlock_trywrlock): Likewise.
27338 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27339 (__pthread_rwlock_unlock): Likewise.
27340 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27341 (__pthread_key_create): Likewise.
27342 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27343 (__pthread_setspecific): Likewise.
27344 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27345 (__pthread_getspecific): Likewise.
27346 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
27347 Likewise.
27348 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27349 (_pthread_cleanup_push_defer): Likewise.
27350 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27351 (_pthread_cleanup_pop_restore): Likewise.
27352 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27353 (pthread_setcancelstate): Likewise.
27354 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
27355 <bp-sym.h>.
27356 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
27357 (memchr): Do not use BP_SYM in weak_alias.
27358 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
27359 (fegetenv): Do not use BP_SYM in versioned symbols.
27360 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
27361 (fesetenv): Do not use BP_SYM in versioned symbols.
27362 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27363 (feupdateenv): Do not use BP_SYM in versioned symbols.
27364 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27365 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27366 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
27367 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
27368 (open64): Do not use BP_SYM in weak_alias.
27369 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
27370 (fegetenv): Do not use BP_SYM in versioned symbols.
27371 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
27372 (fesetenv): Do not use BP_SYM in versioned symbols.
27373 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27374 (feupdateenv): Do not use BP_SYM in versioned symbols.
27375 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
27376 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
27377 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
27378 (feraiseexcept): Do not use BP_SYM in versioned symbols.
27379 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27380 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27381 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
27382 <bp-sym.h>.
27383 (__libc_start_main): Do not use BP_SYM.
27384
d6752ccd
SP
273852013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27386
cb57ce60
SP
27387 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
27388 redundant return line.
27389 (norm): Likewise.
27390 (denorm): Likewise.
27391 (dbl_mp): Likewise.
27392 (sub_magnitudes): Likewise.
27393 (__add): Likewise.
27394 (__sub): Likewise.
27395 (__mul): Likewise.
27396 (__inv): Likewise.
27397 (__dvd): Likewise.
27398 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
27399 (norm): Likewise.
27400 (denorm): Likewise.
27401 (dbl_mp): Likewise.
27402 (sub_magnitudes): Likewise.
27403 (__add): Likewise.
27404 (__sub): Likewise.
27405 (__mul): Likewise.
27406 (__inv): Likewise.
27407 (__dvd): Likewise.
27408
f414520d
SP
27409 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
27410 instead of __mul.
27411 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27412 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
27413 (cc32): Likewise.
27414
d6752ccd
SP
27415 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
27416 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
27417 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
27418 of __mul for squares.
27419 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
27420 function
27421 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
27422 Likewise.
27423 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
27424 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27425
70d9946a
JM
274262013-02-13 Joseph Myers <joseph@codesourcery.com>
27427
27428 [BZ #13550]
27429 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
27430 code.
27431 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
27432 prototype or function definition. Rename ubp_* variables and
27433 parameters. Remove argv definitions conditional on
27434 [__BOUNDED_POINTERS__].
27435 * debug/backtrace.c (__backtrace): Do not use __unbounded.
27436 * elf/dl-runtime.c (_dl_fixup): Likewise.
27437 * include/set-hooks.h (RUN_HOOK): Likewise.
27438 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
27439 definition.
27440 * string/strcpy.c (strcpy): Do not use __unbounded.
27441 * sysdeps/generic/frame.h (struct layout): Likewise.
27442 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
27443 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
27444 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
27445 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
27446 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
27447 (__backtrace): Likewise.
27448 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
27449 use __ptrvalue.
27450 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
27451 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27452 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27453 Likewise.
27454 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
27455 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
27456 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27457 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27458 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
27459 Do not use __unbounded.
27460 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
27461 Rename __unboundedrlimits parameter to rlimits in prototype.
27462 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
27463 Do not use __unbounded.
27464 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
27465 not use __ptrvalue.
27466 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27467 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
27468 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27469 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
27470 __ptrvalue or __unbounded.
27471 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
27472 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
27473 use __unbounded.
27474 (__new_msgctl): Do not use __ptrvalue.
27475 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
27476 __unbounded.
27477 (__libc_msgrcv): Do not use __ptrvalue.
27478 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
27479 startup_info): Do not use __unbounded.
27480 (__libc_start_main): Likewise. Rename ubp_* variables and
27481 parameters. Remove argv definitions conditional on
27482 [__BOUNDED_POINTERS__].
27483 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
27484 __ptrvalue.
27485 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
27486 use __unbounded.
27487 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
27488 or __ptrvalue.
27489 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
27490 use __unbounded.
27491 (__new_shmctl): Do not use __ptrvalue.
27492 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
27493 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
27494 Likewise.
27495 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
27496 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
27497 (__libc_sigaction): Likewise.
27498 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
27499 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
27500 Likewise.
27501 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27502
cc7834d6
OB
275032013-02-13 Ondřej Bílka <neleai@seznam.cz>
27504
ffb1ec7b 27505 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
27506
27507 * string/mempcpy.c: Implement by calling memcpy.
27508
bdf02814
SP
275092013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27510
c2af38aa
SP
27511 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
27512
4e92d59e
SP
27513 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
27514 evaluation.
27515
909279a5
SP
27516 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
27517 values in the mantissa.
27518
bdf02814
SP
27519 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
27520 minimize writes to Z.
27521 (sub_magnitudes): Simplify code a bit.
27522
cd525923
RM
275232013-02-12 Roland McGrath <roland@hack.frob.com>
27524
27525 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
27526 from the message. The linker prefixes all warnings with that already.
27527
7e2f0d2d
AS
275282013-02-12 Andreas Schwab <schwab@suse.de>
27529
a445af0b
AS
27530 [BZ #15078]
27531 * posix/regexec.c (extend_buffers): Add parameter min_len.
27532 (check_matching): Pass minimum needed length.
27533 (clean_state_log_if_needed): Likewise.
27534 (get_subexp): Likewise.
27535 * posix/Makefile (tests): Add bug-regex34.
27536 (bug-regex34-ENV): Define.
27537 * posix/bug-regex34.c: New file.
27538
7e2f0d2d
AS
27539 [BZ #11561]
27540 * posix/regcomp.c (parse_bracket_exp): When looking up collating
27541 elements compare against the byte sequence of it, not its name.
27542 * posix/Makefile (tests): Add bug-regex35.
27543 (bug-regex35-ENV): Define.
27544 * posix/bug-regex35.c: New file.
27545
a175b684
TV
275462013-02-11 Tom de Vries <tom@codesourcery.com>
27547
27548 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
27549 comment.
27550 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
27551 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
27552 (CHECK_EOL): Add undef.
27553
310998fe 275542013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
27555
27556 * bits/stdlib-bsearch.h: New file.
27557 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 27558 * stdlib/stdlib.h: Likewise.
41eda41d 27559
8ded91fb
RM
275602013-02-11 Roland McGrath <roland@hack.frob.com>
27561
27562 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
27563 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
27564 declaration.
27565 * manual/search.texi (Array Search Function): Add missing const in
27566 lfind prototype.
27567 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
27568 declaration to use rlim_t.
27569 (Basic Scheduling Functions): Remove erroneous const from
27570 sched_getparam prototype. Remove erroneous * from
27571 sched_get_priority_max and sched_get_priority_min prototypes.
27572 (Resource Usage): Fix summary @comment on vtimes to refer to
27573 sys/vtimes.h rather than vtimes.h.
27574 Add missing *s in vtimes prototype.
27575 (Limits on Resources): Fix ulimit prototype to return long int.
27576 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
27577 prototypes to use long int rather than double.
27578 (BSD Random): Fix initstate and setstate to use char *, not void *.
27579 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
27580 prototype to make second argument 'struct aiocb64 *const[]'.
27581 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
27582 (Status of AIO Operations): Remove erroneous const in aio_return and
27583 aio_return64 prototypes.
27584 (Synchronizing I/O): Fix sync prototype to return void.
27585 * manual/startup.texi (Suboptions): Remove an erroneous const in
27586 getsubopt prototype.
27587 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
27588 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
27589 use size_t rather than int.
27590 (Scanning All Users): Likewise for getpwent_r.
27591 (Setting Groups): Add missing const to setgroups prototype.
27592 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
27593 * manual/socket.texi (Host Names): Fix gethostbyaddr and
27594 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
27595 'const void *' rather than 'const char *'.
27596 (Host Address Functions): Likewise for inet_ntop.
27597 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
27598 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
27599 ssize_t for return value.
27600 (Sending Data): Likewise for send, sendto, sendmsg.
27601 (Socket Option Functions): Add a missing const in setsockopt prototype.
27602 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
27603 use wchar_t for the argument.
27604 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
27605 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
27606 take no arguments.
27607 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
27608 double/float/long double for second argument.
27609 Fix return types of significand, significandf, significandl.
27610 * manual/filesys.texi (Setting Permissions): Use mode_t for second
27611 argument in fchmod prototype.
27612 (File Owner): Use uid_t and gid_t in fchown prototype.
27613 (File Times): Add const to utimes, futimes, and lutimes prototypes.
27614 (Making Special Files): Use mode_t and dev_t in mknod prototype.
27615 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
27616 use 'const struct dirent **' as argument types to CMP function pointer
27617 argument.
27618 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
27619 (File Times): Fix summary magic @comment for struct utimbuf and utime
27620 to refer to utime.h, not time.h.
27621 * manual/string.texi (Argz Functions): Add missing const in
27622 argz_extract and argz_next prototypes.
27623 (Finding Tokens in a String): Likewise for basename.
27624 (String/Array Comparison): Fix typo in wcscasecmp prototype.
27625 (Copying and Concatenation): Fix typo in wmemmove prototype.
27626 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
27627 (Signal Stack): Remove erroneous const in sigstack prototype.
27628 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
27629 prototype.
27630 (Simple Calendar Time): Likewise for stime.
27631 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
27632 prototype.
27633 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
27634 say sys/sysctl.h instead.
27635 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
27636 and vsyslog prototypes.
27637
fe77fe6d
TV
276382013-02-11 Tom de Vries <tom@codesourcery.com>
27639
27640 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
27641 Remove.
27642
3a09b620
RM
276432013-02-11 Roland McGrath <roland@hack.frob.com>
27644
27645 * misc/sys/mman.h: Fix typo in mremap comment.
27646
550a0b89
RM
276472013-02-08 Roland McGrath <roland@hack.frob.com>
27648
27649 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
27650 the '\0' terminator.
27651
a2da1673
JM
276522013-02-08 Joseph Myers <joseph@codesourcery.com>
27653
27654 [BZ #13550]
27655 * debug/segfault.c: Don't include <bp-checks.h>.
27656 * sysdeps/generic/bp-checks.h: Remove file.
27657 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
27658 (__GETDENTS): Don't use CHECK_N.
27659 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
27660 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
27661 (__getgroups): Don't use CHECK_N.
27662 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
27663 (setgroups): Don't use CHECK_N.
27664 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
27665 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
27666 (__libc_msgrcv): Don't use CHECK_N.
27667 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
27668 (__libc_msgsnd): Don't use CHECK_N.
27669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
27670 <bp-checks.h>.
27671 (__libc_pread): Don't use CHECK_N.
27672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
27673 include <bp-checks.h>.
27674 (__libc_pread64): Don't use CHECK_N.
27675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
27676 include <bp-checks.h>.
27677 (__libc_pwrite): Don't use CHECK_N.
27678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
27679 include <bp-checks.h>.
27680 (__libc_pwrite64): Don't use CHECK_N.
27681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
27682 <bp-checks.h>.
27683 (__libc_pread): Don't use CHECK_N.
27684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
27685 include <bp-checks.h>.
27686 (__libc_pread64): Don't use CHECK_N.
27687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
27688 include <bp-checks.h>.
27689 (__libc_pwrite): Don't use CHECK_N.
27690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
27691 include <bp-checks.h>.
27692 (__libc_pwrite64): Don't use CHECK_N.
27693 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
27694 (do_pread): Don't use CHECK_N.
27695 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
27696 (do_pread64): Don't use CHECK_N.
27697 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
27698 (do_pwrite): Don't use CHECK_N.
27699 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
27700 (do_pwrite64): Don't use CHECK_N.
27701 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
27702 (__libc_readv): Don't use CHECK_N.
27703 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
27704 (semop): Don't use CHECK_N.
27705 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
27706 <bp-checks.h>.
27707 (semtimedop): Don't use CHECK_N.
27708 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
27709 (__libc_pread): Don't use CHECK_N.
27710 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
27711 <bp-checks.h>.
27712 (__libc_pread64): Don't use CHECK_N.
27713 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
27714 <bp-checks.h>.
27715 (__libc_pwrite): Don't use CHECK_N.
27716 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
27717 <bp-checks.h>.
27718 (__libc_pwrite64): Don't use CHECK_N.
27719 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
27720 <bp-checks.h>.
27721 (__libc_msgrcv): Don't use CHECK_N.
27722 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
27723 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
27724 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
27725 (__libc_writev): Don't use CHECK_N.
27726
b84660a8
RM
277272013-02-08 Roland McGrath <roland@hack.frob.com>
27728
7f3e75f8
RM
27729 * string/strcpy.c: Removed unused variable.
27730
b84660a8
RM
27731 * Makeconfig (+sysdep-includes): Define with := rather than =.
27732 Use an existing include/ subdir of each sysdeps dir before it.
27733
471514d3
CD
277342013-02-08 Carlos O'Donell <carlos@redhat.com>
27735
27736 * nscd/connection.c (register_traced_file): Comment function.
27737 [HAVE_INOTIFY] (union __inev): Define.
27738 [HAVE_INOTIFY] (inotify_check_files): New function.
27739 [HAVE_INOTIFY] (clear_db_cache): Likewise.
27740 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
27741 clear_db_cache.
27742 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
27743
b2d3c3be
CD
277442013-02-08 Carlos O'Donell <carlos@redhat.com>
27745
27746 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
27747 loaded if not already and that a failure is permanent.
27748
b39949d2
CD
277492013-02-08 Carlos O'Donell <carlos@redhat.com>
27750
ddacd1db 27751 [BZ #15006]
b39949d2
CD
27752 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
27753 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
27754
b2c9eff4
JM
277552013-02-08 Joseph Myers <joseph@codesourcery.com>
27756
f3aae3f3
JM
27757 [BZ #13550]
27758 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
27759 (CHECK_1_NULL_OK): Likewise.
27760 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
27761 (__fxstat): Do not use CHECK_1.
27762 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
27763 <bp-checks.h>.
27764 (___fxstat64): Do not use CHECK_1.
27765 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27766 <bp-checks.h>.
27767 (__fxstatat): Do not use CHECK_1.
27768 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27769 <bp-checks.h>.
27770 (__fxstatat64): Do not use CHECK_1.
27771 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
27772 <bp-checks.h>.
27773 (__fxstat): Do not use CHECK_1.
27774 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27775 <bp-checks.h>.
27776 (__fxstatat): Do not use CHECK_1.
27777 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27778 <bp-checks.h>.
27779 (__getresgid): Do not use CHECK_1.
27780 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27781 <bp-checks.h>.
27782 (__getresuid): Do not use CHECK_1.
27783 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
27784 <bp-checks.h>.
27785 (__lxstat): Do not use CHECK_1.
27786 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27787 <bp-checks.h>.
27788 (__old_msgctl): Do not use CHECK_1.
27789 (__new_msgctl): Likewise.
27790 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
27791 <bp-checks.h>.
27792 (__new_setrlimit): Do not use CHECK_1.
27793 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27794 <bp-checks.h>.
27795 (__old_shmctl): Do not use CHECK_1.
27796 (__new_shmctl): Likewise.
27797 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
27798 <bp-checks.h>.
27799 (__xstat): Do not use CHECK_1.
27800 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
27801 (__lxstat): Do not use CHECK_1.
27802 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
27803 <bp-checks.h>.
27804 (___lxstat64): Do not use CHECK_1.
27805 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
27806 (__old_msgctl): Do not use CHECK_1.
27807 (__new_msgctl): Likewise.
27808 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
27809 <bp-checks.h>.
27810 (__gettimeofday): Do not use CHECK_1.
27811 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
27812 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
27813 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
27814 <bp-checks.h>.
27815 (__gettimeofday): Do not use CHECK_1.
27816 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
27817 (__old_shmctl): Do not use CHECK_1_NULL_OK.
27818 (__new_shmctl): Do not use CHECK_1.
27819 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
27820 <bp-checks.h>.
27821 (do_sigtimedwait): Do not use CHECK_1.
27822 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
27823 <bp-checks.h>.
27824 (do_sigwaitinfo): Do not use CHECK_1.
27825 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
27826 <bp-checks.h>.
27827 (msgctl): Do not use CHECK_1.
27828 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
27829 <bp-checks.h>.
27830 (shmctl): Do not use CHECK_1.
27831 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
27832 (ustat): Do not use CHECK_1.
27833 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
27834 <bp-checks.h>.
27835 (__fxstat): Do not use CHECK_1.
27836 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27837 <bp-checks.h>.
27838 (__fxstatat): Do not use CHECK_1.
27839 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
27840 <bp-checks.h>.
27841 (__lxstat): Do not use CHECK_1.
27842 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
27843 <bp-checks.h>.
27844 (__xstat): Do not use CHECK_1.
27845 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
27846 (__xstat): Do not use CHECK_1.
27847 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
27848 (___xstat64): Do not use CHECK_1.
27849
b2c9eff4
JM
27850 [BZ #13550]
27851 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
27852 definitions.
27853 (CHECK_BOUNDS_HIGH): Likewise.
27854 * string/strcpy.c: Do not include <bp-checks.h>.
27855 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
27856
f1d70dad
RM
278572013-02-07 Roland McGrath <roland@hack.frob.com>
27858
27859 * nscd/nscd-client.h (__nscd_drop_map_ref):
27860 Add __attribute__ ((unused)).
27861 * nis/nss-nisplus.h (niserr2nss): Likewise.
27862
27863 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
27864 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
27865
27866 * csu/libc-tls.c (init_static_tls, init_slotinfo):
27867 Remove inline keyword.
27868 * include/rounding-mode.h (round_away): Likewise.
27869 * libio/wfileops.c (adjust_wide_data): Likewise.
27870 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27871 (__m128i_strloadu_tolower): Likewise.
27872 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27873 (__m128i_strloadu_tolower): Likewise.
27874 * time/mktime.c (ydhms_diff): Likewise.
27875 * locale/elem-hash.h (elem_hash): Likewise.
27876 * locale/setlocale.c (setdata): Likewise.
27877 * posix/regex_internal.h (re_string_char_size_at): Likewise.
27878 (re_string_wchar_at): Likewise.
27879 (bitset_not, bitset_merge, bitset_mask): Likewise.
27880 [!(__GNUC__ > 3)] (inline): Remove macro.
27881 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27882 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27883 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27884 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27885 * string/memcmp.c (memcmp_bytes): Likewise.
27886 * locale/programs/locarchive.c (compute_hashval): Likewise.
27887 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27888 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27889 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27890 * nss/getent.c (print_rpc, print_protocols): Likewise.
27891 (print_passwd, print_group, print_aliases): Likewise.
27892 * nis/nss-nisplus.h (niserr2nss): Likewise.
27893 * nscd/connections.c (restart_p): Likewise.
27894 Change return type to bool.
27895
eab55bfb
RM
278962013-02-05 Roland McGrath <roland@hack.frob.com>
27897
7bd642f5
RM
27898 * Makeconfig (all-Depend-files): Add existing
27899 $(sorted-subdirs:=/Depend) files.
27900 (all-subdirs): Remove nss.
27901 * sysdeps/unix/inet/Subdirs: Add it here instead.
27902 * hesiod/Depend: New file.
27903
573c29b2
RM
27904 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27905 instead of calling alloca.
27906
b2e25af0
RM
27907 * io/lseek.c (__lseek): Rename to __libc_lseek.
27908 Define __lseek as an alias.
27909
eab55bfb
RM
27910 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27911
9a0d1941
CD
279122013-02-04 Carlos O'Donell <carlos@redhat.com>
27913
27914 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27915 else clause and remove check for non-standard endianness.
27916
b83bbec4
DM
279172013-02-04 David S. Miller <davem@davemloft.net>
27918
27919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27920
6277fdab
JM
279212013-02-04 Joseph Myers <joseph@codesourcery.com>
27922
27923 [BZ #13550]
27924 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27925 (__ubp_memchr): Remove prototype.
27926 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27927 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27928 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27929 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27930 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27931 Remove alias.
27932 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27933 (__ubp_memchr): Likewise.
27934 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27935 (__ubp_memchr): Likewise.
27936 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27937 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27938 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27939 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27940 CHECK_STRING.
27941 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27942 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27943 (__getcwd): Do not use CHECK_STRING.
27944 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27945 <bp-checks.h>.
27946 (__real_chown): Do not use CHECK_STRING.
27947 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27948 <bp-checks.h>.
27949 (fchownat): Do not use CHECK_STRING.
27950 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27951 CHECK_STRING.
27952 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27953 <bp-checks.h>.
27954 (__lchown): Do not use CHECK_STRING.
27955 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27956 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27957 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27958 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27960 include <bp-checks.h>.
27961 (truncate64): Do not use CHECK_STRING.
27962 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27963 <bp-checks.h>.
27964 (__real_chown): Do not use CHECK_STRING.
27965 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27966 <bp-checks.h>.
27967 (__lchown): Do not use CHECK_STRING.
27968 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27969 <bp-checks.h>.
27970 (__chown): Do not use CHECK_STRING.
27971 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
27972 <bp-checks.h>.
27973 (truncate64): Do not use CHECK_STRING.
27974 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
27975 Likewise.
27976 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
27977 (__xmknod): Do not use CHECK_STRING.
27978 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27979 <bp-checks.h>.
27980 (__xmknodat): Do not use CHECK_STRING.
27981 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27982 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
27983
903ae060
AS
279842013-02-04 Andreas Schwab <schwab@suse.de>
27985
27986 [BZ #14142]
27987 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
27988 * include/netdb.h: Likewise for h_errno.
27989 * elf/tst-stackguard1.c: Include <tls.h>.
27990
542f9466
JK
279912013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
27992
27993 * elf/link.h (struct link_map): Extend the l_addr comment.
27994 * include/link.h (struct link_map): Likewise.
27995
e782a927
JM
279962013-02-01 Joseph Myers <joseph@codesourcery.com>
27997
27998 [BZ #13550]
27999 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
28000 (BOUNDED_1): Remove macro.
28001 * debug/backtrace.c: Don't include <bp-checks.h>.
28002 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
28003 (__backtrace): Likewise.
28004 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
28005 <bp-checks.h>.
28006 (__backtrace): Don't use BOUNDED_1.
28007 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
28008 <bp-checks.h>.
28009 (__backtrace): Don't use BOUNDED_1.
28010 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
28011 (__backtrace): Don't use BOUNDED_1.
28012 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
28013 (shmat): Don't use BOUNDED_N.
28014
8cf28c5e
JM
280152013-01-31 Joseph Myers <joseph@codesourcery.com>
28016
3a7ac8a0
JM
28017 [BZ #13550]
28018 * sysdeps/generic/bp-start.h: Remove file.
28019 * csu/libc-start.c: Don't include <bp-start.h>.
28020 (LIBC_START_MAIN): Set up __environ directly instead of using
28021 INIT_ARGV_and_ENVIRON.
28022 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
28023 <bp-start.h>.
28024
f3499f95
JM
28025 [BZ #13550]
28026 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
28027 definitions.
28028 (CHECK_FCNTL): Likewise.
28029 (CHECK_N_PAGES): Likewise.
28030
32a45bea
JM
28031 [BZ #13550]
28032 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
28033 definitions.
28034 (CHECK_SIGSET_NULL_OK): Likewise.
28035 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
28036 <bp-checks.h>.
28037 (sigpending): Don't use CHECK_SIGSET.
28038 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
28039 <bp-checks.h>.
28040 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28041 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
28042 <bp-checks.h>.
28043 (do_sigsuspend): Don't use CHECK_SIGSET.
28044 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
28045 use CHECK_SIGSET.
28046 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
28047 (do_sigwait): Don't use CHECK_SIGSET.
28048 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
28049 use CHECK_SIGSET.
28050 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
28051 include <bp-checks.h>.
28052 (sigpending): Don't use CHECK_SIGSET.
28053 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
28054 include <bp-checks.h>.
28055 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28056 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
28057 <bp-checks.h>.
28058 (sigpending): Don't use CHECK_SIGSET.
28059 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
28060 <bp-checks.h>.
28061 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28062
2e8a5c8c
JM
28063 [BZ #13550]
28064 * sysdeps/generic/bp-semctl.h: Remove file.
28065 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
28066 <bp-checks.h> and <bp-semctl.h>.
28067 (__old_semctl): Don't use CHECK_SEMCTL.
28068 (__new_semctl): Likewise.
28069 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
28070 and <bp-semctl.h>.
28071 (__old_semctl): Don't use CHECK_SEMCTL.
28072 (__new_semctl): Likewise.
28073 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
28074 <bp-checks.h> and <bp-semctl.h>.
28075 (__old_semctl): Don't use CHECK_SEMCTL.
28076 (__new_semctl): Likewise.
28077 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
28078 <bp-checks.h> and <bp-semctl.h>.
28079 (semctl): Don't use CHECK_SEMCTL.
28080
c2d54929
JM
28081 [BZ #13550]
28082 * Makerules (elide-bp-thunks): Remove variable.
28083 (elide-routines.oS): Don't use $(elide-bp-thunks).
28084 (elide-routines.os): Likewise.
28085 (elide-routines.o): Likewise.
28086 (elide-routines.op): Likewise.
28087 (elide-routines.og): Likewise.
28088 (objects): Don't use $(bp-thunks).
28089 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
28090 include.
28091 (common-generated): Do not add s-proto-bp.d.
28092 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
28093 (int): Likewise.
28094 (typ): Likewise.
28095 Do not generate makefile rules for bounded-pointer thunks.
28096 * sysdeps/generic/bp-thunks.h: Remove file.
28097 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
28098 * sysdeps/unix/s-proto-bp.S: Likewise.
28099
8cf28c5e
JM
28100 [BZ #15062]
28101 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
28102 parts of result separately when argument is not close to line from
28103 -i to i and one part of argument is small.
28104 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28105 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28106 * math/libm-test.inc (cacos_test): Add more tests.
28107 (casin_test): Likewise.
28108 (casinh_test): Likewise.
28109 * sysdeps/i386/fpu/libm-test-ulps: Update.
28110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28111
c4e33b8d
DM
281122013-01-31 David S. Miller <davem@davemloft.net>
28113
28114 * po/de.po: Update from translation team.
28115
3b60b421
MK
281162013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
28117
28118 * time/tzfile.c: Include stdint.h for SIZE_MAX.
28119
bb931195
TS
281202013-01-25 Thomas Schwinge <thomas@codesourcery.com>
28121
b5a5da23
TS
28122 * configure.in (_AC_PROG_CC_C89): New definition.
28123 * configure: Regenerate.
28124
bb931195
TS
28125 * configure.in (AC_PROG_CPP): New definition.
28126 * configure: Regenerate.
28127
8c53a12c
JM
281282013-01-23 Joseph Myers <joseph@codesourcery.com>
28129
28130 * debug/tst-backtrace.h: New file.
28131 * debug/tst-backtrace2.c: Include tst-backtrace.h.
28132 (ret): Remove variable.
28133 (x): Likewise.
28134 (FAIL): Remove macro.
28135 (NO_INLINE): Likewise.
28136 (fn1): Use match function instead of strstr.
28137 * debug/tst-backtrace3.c: Include tst-backtrace.h.
28138 (ret): Remove variable.
28139 (x): Likewise.
28140 (FAIL): Remove macro.
28141 (NO_INLINE): Likewise.
28142 (fn): Use match function instead of strstr.
28143 * debug/tst-backtrace4.c: Include tst-backtrace.h.
28144 (ret): Remove variable.
28145 (x): Likewise.
28146 (FAIL): Remove macro.
28147 (NO_INLINE): Likewise.
28148 (handle_signal): Use match function instead of strstr.
28149 * debug/tst-backtrace5.c: Include tst-backtrace.h.
28150 (ret): Remove variable.
28151 (x): Likewise.
28152 (FAIL): Remove macro.
28153 (NO_INLINE): Likewise.
28154 (handle_signal): Use match function instead of strstr.
28155
4858fa2a
RM
281562013-01-23 Roland McGrath <roland@hack.frob.com>
28157
28158 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
28159
bae8e7f5
DM
281602013-01-23 David S. Miller <davem@davemloft.net>
28161
28162 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
28163 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
28164 argument of CAS if possible.
28165 * sysdeps/sparc/sparc64/bits/atomic.h
28166 (__arch_compare_and_exchange_val_32_acq): Likewise.
28167 (__arch_compare_and_exchange_val_64_acq): Likewise.
28168
9cbbc4ae
PT
281692013-01-23 Pino Toscano <toscano.pino@tiscali.it>
28170
28171 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
28172 * sysdeps/posix/ulimit.c: ... this.
92a601b8 28173 Include <limits.h>.
67b3f58c 28174 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 28175
5655a0b5
AC
281762013-01-23 Adam Conrad <adconrad@0c3.net>
28177
28178 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
28179 (LDFLAGS-tst-array5): Likewise.
28180
052aff95
JM
281812013-01-23 Joseph Myers <joseph@codesourcery.com>
28182
28183 [BZ #15036]
28184 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
28185 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
28186 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
28187 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
28188
7c1e01aa
DM
281892013-01-21 David S. Miller <davem@davemloft.net>
28190
28191 * sysdeps/sparc/backtrace.c: New file.
28192 * sysdeps/sparc/sparc32/backtrace.h: New file.
28193 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
28194 * sysdeps/sparc/sparc64/backtrace.h: New file.
28195 * sysdeps/sparc/sparc64/backtrace.c: Delete.
28196 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
28197 -funwind-tables.
28198
ab087e0a
AS
281992013-01-21 Andreas Schwab <schwab@suse.de>
28200
28201 [BZ #15020]
28202 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
28203 closed its stdout.
28204
ed689c2f
AS
282052013-01-20 Andreas Schwab <schwab@linux-m68k.org>
28206
28207 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
28208 "mpa2.h".
28209 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28210
31d470ac
JM
282112013-01-18 Joseph Myers <joseph@codesourcery.com>
28212 Mark Mitchell <mark@codesourcery.com>
28213 Tom de Vries <tom@codesourcery.com>
28214 Paul Pluzhnikov <ppluzhnikov@google.com>
28215
28216 * debug/tst-backtrace2.c: New file.
28217 * debug/tst-backtrace3.c: Likewise.
28218 * debug/tst-backtrace4.c: Likewise.
28219 * debug/tst-backtrace5.c: Likewise.
28220 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
28221 (CFLAGS-tst-backtrace3.c): Likewise.
28222 (CFLAGS-tst-backtrace4.c): Likewise.
28223 (CFLAGS-tst-backtrace5.c): Likewise.
28224 (LDFLAGS-tst-backtrace2): Likewise.
28225 (LDFLAGS-tst-backtrace3): Likewise.
28226 (LDFLAGS-tst-backtrace4): Likewise.
28227 (LDFLAGS-tst-backtrace5): Likewise.
28228 (tests): Add new tests tst-backtrace2, tst-backtrace3,
28229 tst-backtrace4 and tst-backtrace5.
28230
90567f30 282312013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
28232 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28233
28234 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
28235 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
28236 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
28237 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
28238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28239 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
28240 "+r" and remove output regs list as redundant. Add explicit inline
28241 asm to specify register of return val to work around compiler codegen
28242 bug. Remove (int) cast on return value. Add return type parameter to
28243 use in macro so that this macro does not truncate return value for
28244 64-bit values.
28245 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
28246 pass to INTERNAL_VSYSCALL_NCS.
28247 (INLINE_VSYSCALL): Add 'long int' as return type to
28248 INTERNAL_VSYSCALL_NCS macro invocation.
28249 (INTERNAL_VSYSCALL): Add 'long int' as return type to
28250 INTERNAL_VSYSCALL_NCS macro invocation.
28251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28252
d3b9ea61
SP
282532013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28254
0b57daeb
SP
28255 [BZ #14496]
28256 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
28257 Fix application of SIMD FP exception mask.
28258
caa99d06
SP
28259 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
28260 mp_no from a power of two.
28261 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
28262 __mpexp_twomm1. Use __pow_mp.
28263
d3b9ea61
SP
28264 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
28265 multiplication.
28266
1dbaee3c
DM
282672013-01-17 David S. Miller <davem@davemloft.net>
28268
28269 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28270
728d7b43
JM
282712013-01-17 Joseph Myers <joseph@codesourcery.com>
28272
28273 [BZ #15023]
28274 * include/complex.h: Condition contents on [!_COMPLEX_H].
28275 (__kernel_casinhf): New prototype.
28276 (__kernel_casinh): Likewise.
28277 (__kernel_casinhl): Likewise.
28278 * math/Makefile (libm_calls): Add k_casinh.
28279 * math/k_casinh.c: New file.
28280 * math/k_casinhf.c: Likewise.
28281 * math/k_casinhl.c: Likewise.
28282 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
28283 finite nonzero arguments.
28284 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
28285 finite nonzero arguments.
28286 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
28287 finite nonzero arguments.
28288 * math/s_casinh.c: Do not include <float.h>.
28289 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
28290 * math/s_casinhf.c: Do not include <float.h>.
28291 (__casinhf): Move code for finite nonzero arguments to
28292 k_casinhf.c.
28293 * math/s_casinhl.c: Do not include <float.h>.
28294 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
28295 redefine.
28296 (__casinhl): Move code for finite nonzero arguments to
28297 k_casinhl.c.
28298 * math/libm-test.inc (cacos_test): Add more tests.
28299 * sysdeps/i386/fpu/libm-test-ulps: Update.
28300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28301
2a26ef3a
PT
283022013-01-17 Pino Toscano <toscano.pino@tiscali.it>
28303
28304 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
28305 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
28306 [!HAVE_MREMAP]: Remove [defined linux] case.
28307 * malloc/arena.c: Do not include <malloc-sysdep.h>.
28308
a897655d
SP
283092013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28310
28311 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
28312
881ebe89 283132013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
28314
28315 * elf/elf.h (R_386_SIZE32): New relocation.
28316 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
28317 R_386_SIZE32.
28318 (elf_machine_rela): Likewise.
28319 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28320 R_X86_64_SIZE64 and R_X86_64_SIZE32.
28321
59981e9b
JM
283222013-01-17 Joseph Myers <joseph@codesourcery.com>
28323
28324 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
28325 (FP_FAST_FMA): Do not define.
28326 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
28327 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
28328 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
28329 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
28330 !_SOFT_FLOAT]: Likewise.
28331 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
28332 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
28333 value.
28334 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
28335 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
28336 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
28337 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
28338 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
28339 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
28340 file.
28341
cfa8054f
AS
283422013-01-16 Andreas Schwab <schwab@suse.de>
28343
28344 [BZ #14327]
28345 * include/stdlib.h (__mktemp): Add declaration.
28346 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
28347 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
28348
dd930cc5
SP
283492013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28350
881ebe89
SP
28351 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
28352 definitions.
28353 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28354 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
28355 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
28356 definitions here.
28357 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
28358 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
28359 definitions.
28360 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
28361 and ONE.
28362 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
28363 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
28364 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
28365 definitions.
28366 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
28367 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
28368 definitions.
28369 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 28370
dd930cc5
SP
28371 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
28372
c19a9f89
DM
283732013-01-15 David S. Miller <davem@davemloft.net>
28374
1aa61767
DM
28375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28376 trunc{,f} to libm-sysdep_routes.
28377 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
28379 file.
28380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
28381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
28382 file.
28383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
28384 file.
28385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
28386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
28387 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
28388 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
28389 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
28390 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
28391 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
28392 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
28393
c42d5e98
DM
28394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28395 nearbyint{,f} to libm-sysdep_routes.
28396 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
28398 New file.
28399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
28400 file.
28401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
28402 New file.
28403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
28404 file.
28405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
28406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
28407 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
28408 file.
28409 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
28410 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
28411 file.
28412 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
28413 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
28414 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
28415
c19a9f89
DM
28416 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28417 libc_feholdexcept and libc_fesetenv.
28418
357679d2
MF
284192013-01-15 Mike Frysinger <vapier@gentoo.org>
28420
28421 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
28422
65a82e3d
DM
284232013-01-14 David S. Miller <davem@davemloft.net>
28424
8b954ab9
DM
28425 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
28426 (SPARC_ASM_VIS2_IFUNC): Likewise.
28427 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
28428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
28429 use of 'siam' instruction.
28430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
28431 Likewise.
28432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
28433 Likewise.
28434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
28435 Likewise.
28436 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
28437 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
28438 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
28439 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
28440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
28441 file.
28442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
28443 file.
28444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
28445 file.
28446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
28447 file.
28448 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
28449 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
28450 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
28451 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
28452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
28453 new VIS2 routines.
28454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28457 Likewise.
28458 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28459 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28460 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28461 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
28463 routines to libm-sysdep_routines.
28464 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28465
65a82e3d
DM
28466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28467 fdim/fdimf to libm-sysdep_routines.
28468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
28469 file.
28470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
28471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
28472 file.
28473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
28474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
28475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
28476 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
28477 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
28478 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
28479 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
28480
e34ab705
SP
284812013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28482
2a91b573
SP
28483 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
28484 to optimize copies.
28485
1066a534
SP
28486 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
28487 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28488 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28489
e34ab705
SP
28490 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
28491 local variable MPTWO.
28492 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28493 Likewise.
28494
aba5e596
MF
284952013-01-13 Mike Frysinger <vapier@gentoo.org>
28496
28497 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
28498 GLOB_NOESCAPE.
28499
e557e9e5
MF
285002013-01-13 Mike Frysinger <vapier@gentoo.org>
28501
28502 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
28503
0428cec9
MF
285042013-01-13 Mike Frysinger <vapier@gentoo.org>
28505
28506 * manual/pattern.texi (glob_t): Document gl_flags.
28507 (glob64_t): Likewise.
28508
8794a964
DM
285092013-01-11 David S. Miller <davem@davemloft.net>
28510
66438c3f
RM
28511 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
28512 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
28513 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
28514 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
28515 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
28516 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
28517 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
28518 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
28519 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
28520 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
28521 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
28522 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
28523 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
28524
4ae4244d
DM
28525 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28526 sparc V9 rather than using V8 code.
28527 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28528 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28529
8794a964
DM
28530 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28531 Move to...
28532 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
28533 Here.
28534
6270516e
RM
285352013-01-11 Roland McGrath <roland@hack.frob.com>
28536
28537 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
28538 not in the main loop.
28539 * configure: Regenerated.
28540
6a57d931
JM
285412013-01-11 Joseph Myers <joseph@codesourcery.com>
28542
28543 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
28544 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
28545 to just #else.
28546 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
28547 [!__GLIBC_HAVE_LONG_LONG] case.
28548 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
28549 condition to just #else.
28550 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
28551 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
28552 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
28553 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
28554 unconditional.
28555 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
28556 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28557 #elif condition to just #else.
28558 * sysdeps/unix/sysv/linux/sys/sysmacros.h
28559 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
28560 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28561 #elif condition to just #else.
28562
0e8529e9
SE
285632013-01-11 Steve Ellcey <sellcey@mips.com>
28564
28565 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
28566 (EF_MIPS_ARCH_64): Fix value.
28567 (EF_MIPS_ARCH_32R2): New.
28568 (EF_MIPS_ARCH_64R2): New.
28569
740b3dbe
L
285702013-01-11 H.J. Lu <hongjiu.lu@intel.com>
28571
28572 * Makeconfig (+link-pie-before-libc): New.
28573 (+link-pie-after-libc): Likewise.
28574 (+link-pie-tests): Likewise.
28575 (+link-pie): Rewritten.
28576 (link-before-libc): Remove $(config-LDFLAGS).
28577 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
28578 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
28579 (config-LDFLAGS): Renamed to ...
28580 (rtld-LDFLAGS): This.
28581 (rtld-tests-LDFLAGS): New macro.
28582 (link-libc-rpath-link): Likewise.
28583 (link-libc-tests-rpath-link): Likewise.
28584 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
28585 (link-libc): Prepand $(link-libc-rpath-link).
28586 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
28587 (test-program-prefix): New macro.
28588 (test-via-rtld-prefix): Likewise.
28589 (test-program-cmd): Likewise.
28590 (host-test-program-cmd): Likewise.
28591 * Makefile ($(common-objpfx)testrun.sh): Replace
28592 $(run-program-prefix) with $(test-program-prefix).
28593 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
28594 $(rtld-LDFLAGS).
28595 ($(common-objpfx)shlib.lds): Likewise.
28596 (build-module-helper): Likewise.
28597 ($(common-objpfx)format.lds): Likewise.
28598 * Rules (binaries-pie-tests): New.
28599 (binaries-pie-notests): Likewise.
28600 (binaries-pie): Rewritten.
28601 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
28602 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
28603 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
28604 (make-test-out): Replace $(host-built-program-cmd) with
28605 $(host-test-program-cmd).
28606 * config.make.in (build-hardcoded-path-in-tests): New variable.
28607 * configure.in (--enable-hardcoded-path-in-tests): New configure
28608 option.
28609 (hardcoded_path_in_tests): New AC_SUBST.
28610 * configure: Regenerated.
28611 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
28612 $(built-program-cmd) with $(test-program-cmd).
28613 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
28614 (test_program_cmd): This.
28615 * elf/Makefile ($(objpfx)order.out): Run test with
28616 $(test-program-prefix).
28617 ($(objpfx)order2.out): Likewise.
28618 ($(objpfx)tst-initorder.out): Likewise.
28619 ($(objpfx)tst-initorder2.out): Likewise.
28620 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
28621 $(test-program-cmd).
28622 ($(objpfx)tst-array1-static.out): Likewise.
28623 ($(objpfx)tst-array2.out): Likewise.
28624 ($(objpfx)tst-array3.out): Likewise.
28625 ($(objpfx)tst-array4.out): Likewise.
28626 ($(objpfx)tst-array5.out): Likewise.
28627 ($(objpfx)tst-array5-static.out): Likewise.
28628 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
28629 $(test-program-cmd).
28630 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
28631 $(run-program-prefix) with $(test-program-prefix).
28632 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
28633 (test_program_prefix): This.
28634 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
28635 $(run-program-prefix) with $(test-program-prefix).
28636 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
28637 (test_program_prefix): This.
28638 * iconvdata/tst-tables.sh: Likewise.
28639 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
28640 $(run-program-prefix) with $(test-program-prefix).
28641 ($(objpfx)tst-translit.out): Likewise.
28642 ($(objpfx)tst-gettext2.out): Likewise.
28643 ($(objpfx)tst-gettext4.out): Likewise.
28644 ($(objpfx)tst-gettext6.out): Likewise.
28645 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
28646 (test_program_prefix): This.
28647 * intl/tst-gettext2.sh: Likewise.
28648 * intl/tst-gettext4.sh Likewise.
28649 * intl/tst-gettext6.sh: Likewise.
28650 * intl/tst-translit.sh: Likewise.
28651 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
28652 with $(test-program-cmd).
28653 * libio/Makefile ($(objpfx)test-freopen.out): Replace
28654 $(run-program-prefix) with $(test-program-prefix).
28655 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
28656 (test_program_prefix): This.
28657 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
28658 $(run-program-prefix) with $(test-program-prefix).
28659 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
28660 (test_program_prefix): This.
28661 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
28662 * posix/Makefile ($(objpfx)globtest.out): Replace
28663 $(run-via-rtld-prefix) and $(test-wrapper) with
28664 $(test-program-prefix) and $(test-via-rtld-prefix).
28665 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
28666 $(test-program-prefix).
28667 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
28668 $(host-test-program-cmd).
28669 (tst-spawn-ARGS): Likewise.
28670 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
28671 $(test-program-prefix).
28672 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
28673 (test_via_rtld_prefix): This.
28674 (test_wrapper): Renamed to ...
28675 (test_program_prefix): This.
28676 (run_program_prefix): Replaced by test_program_prefix.
28677 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
28678 (test_program_prefix): This.
28679 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
28680 with $(host-test-program-cmd).
28681 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
28682 $(run-program-prefix) with $(test-program-prefix).
28683 ($(objpfx)tst-printf.out): Likewise.
28684 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
28685 $(test-program-cmd).
28686 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
28687 (test_program_prefix): This.
28688 * stdio-common/tst-unbputc.sh: Likewise.
28689 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
28690 $(run-program-prefix) with $(test-program-prefix).
28691 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
28692 (test_program_prefix): This.
28693 * string/Makefile ($(objpfx)tst-svc.out): Replace
28694 $(built-program-cmd) with $(test-program-cmd).
28695
c6fe55cf
AJ
286962013-01-11 Andreas Jaeger <aj@suse.de>
28697
28698 [BZ #15003]
28699 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
28700 value. Sync with Linux 3.7.
28701
9e6919c8
DM
287022013-01-10 David S. Miller <davem@davemloft.net>
28703
28704 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
28705 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28706 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28707
1c9f1a02
RM
287082013-01-10 Roland McGrath <roland@hack.frob.com>
28709
28710 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
28711 never set.
28712 * configure: Regenerated.
28713
b9de2dde
DM
287142013-01-10 David S. Miller <davem@davemloft.net>
28715
28716 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28717 sparc V9 rather than using V8 code.
28718 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28719 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28720
e7f68ef4
RM
287212013-01-10 Roland McGrath <roland@hack.frob.com>
28722
28723 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
28724 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
28725 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
28726 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
28727 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
28728 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
28729 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
28730 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
28731 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
28732 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
28733 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
28734 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
28735 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
28736 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
28737 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
28738 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
28739 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
28740 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
28741 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
28742 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
28743 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
28744 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
28745 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
28746 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
28747 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
28748 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
28749 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
28750
5a47cc9c
DM
287512013-01-10 David S. Miller <davem@davemloft.net>
28752
28753 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28754
4cf8f209
L
287552013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28756
28757 * posix/Makefile (tests-static): New variable.
28758 (tests): Add $(tests-static).
28759 (tst-exec-static-ARGS): New variable.
28760 (tst-spawn-static-ARGS): Likewise.
28761 * posix/tst-exec-static.c: New file.
28762 * posix/tst-spawn-static.c: Likewise.
28763 * posix/tst-exec.c: Support run directly.
28764 * posix/tst-spawn.c: Likewise.
28765
fed0faa1
JM
287662013-01-10 Joseph Myers <joseph@codesourcery.com>
28767
828beb13
JM
28768 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
28769 long.
28770 * math/bits/mathcalls.h (llrint): Likewise.
28771 (llround): Likewise.
28772 * stdlib/stdlib.h (struct drand48_data): Likewise.
28773 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
28774 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
28775 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
28776 Likewise.
28777 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
28778 Likewise.
28779 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
28780 (elf_greg_t): Likewise.
28781 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
28782 (__jmp_buf): Likewise.
28783 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
28784 definitions.
28785 (llrint): Likewise, for all definitions.
28786 (llrintl): Likewise.
28787
fed0faa1
JM
28788 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
28789 Remove [__GNUC__] condition.
28790 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
28791 condition to just [__USE_ISOC99].
28792 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
28793
1a20cb20
L
287942013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28795
28796 [BZ #14200]
28797 * sysdeps/unix/sysv/linux/x86/bits/environments.h
28798 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
28799 defined.
28800 (_POSIX_V6_ILP32_OFF32): Likewise.
28801 (_XBS5_ILP32_OFF32): Likewise.
28802 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
28803 (__ILP32_OFFBIG_LDFLAGS): Likewise.
28804
751b85f7
SP
288052013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28806
7490eb81
SP
28807 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
28808
751b85f7
SP
28809 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
28810 doubles __mpexp_twomm1. Adjust usage.
28811 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
28812 Remove.
28813
988197f0
AS
288142013-01-10 Andreas Schwab <schwab@suse.de>
28815
28816 [BZ #14964]
28817 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
28818 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
28819
e83d7298
DM
288202013-01-09 David S. Miller <davem@davemloft.net>
28821
034ed64b 28822 [BZ #15003]
57f41c40
AS
28823 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
28824 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
28825 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
28826 (TCP_FASTOPEN): Define.
e83d7298
DM
28827 (tcp_repair_opt): New structure.
28828 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
28829 enum values.
57f41c40
AS
28830 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
28831 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
28832 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
28833 (tcp_cookie_transactions): New structure.
28834
d5e0b9bd
AB
288352013-01-09 Anton Blanchard <anton@samba.org>
28836
28837 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
28838 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
28839 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
28840 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28841
0c07e3ea
JM
288422013-01-09 Joseph Myers <joseph@codesourcery.com>
28843
28844 * include/features.h (__USE_ANSI): Remove.
28845
232f7002
RM
288462013-01-09 Roland McGrath <roland@hack.frob.com>
28847
ad98e30c
RM
28848 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
28849
232f7002
RM
28850 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
28851
950c99ca
SP
288522013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
28853
b5792741
SP
28854 * sysdeps/s390/fpu/libm-test-ulps: Update.
28855
47cf2278
SP
28856 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28857
950c99ca
SP
28858 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
28859 (__acr): Likewise.
28860 (__cpy): Likewise.
28861 (norm): Likewise.
28862 (denorm): Likewise.
28863 (__mp_dbl): Likewise.
28864 (__dbl_mp): Likewise.
28865 (add_magnitudes): Likewise.
28866 (sub_magnitudes): Likewise.
28867 (__add): Likewise.
28868 (__sub): Likewise.
28869 (__mul): Likewise.
28870 (__inv): Likewise.
28871 (__dvd): Likewise.
28872 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
28873 (__acr): Likewise.
28874 (__cpy): Likewise.
28875 (norm): Likewise.
28876 (denorm): Likewise.
28877 (__mp_dbl): Likewise.
28878 (__dbl_mp): Likewise.
28879 (add_magnitudes): Likewise.
28880 (sub_magnitudes): Likewise.
28881 (__add): Likewise.
28882 (__sub): Likewise.
28883 (__mul): Likewise.
28884 (__inv): Likewise.
28885 (__dvd): Likewise.
28886 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
28887 (__acr): Likewise.
28888 (__cpy): Likewise.
28889 (norm): Likewise.
28890 (denorm): Likewise.
28891 (__mp_dbl): Likewise.
28892 (__dbl_mp): Likewise.
28893 (add_magnitudes): Likewise.
28894 (sub_magnitudes): Likewise.
28895 (__add): Likewise.
28896 (__sub): Likewise.
28897 (__mul): Likewise.
28898 (__inv): Likewise.
28899 (__dvd): Likewise.
28900
eede9df9
JM
289012013-01-08 Joseph Myers <joseph@codesourcery.com>
28902
28903 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28904 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28905 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28906 2 && __USE_EXTERN_INLINES]: Likewise.
28907
c40ea3d9
AJ
289082013-01-08 Andreas Jaeger <aj@suse.de>
28909
28910 [BZ# 14985]
28911 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28912 Remove.
28913 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28914 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28915
2ccdea26
AB
289162013-01-07 Anton Blanchard <anton@samba.org>
28917
28918 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28919 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28920 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28921 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28922 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28923 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28924 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28925 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28926 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28927 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28928 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28929 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28930 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28931 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28932 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28933 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28934 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28935 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28936 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28937 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28938 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28939 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28940 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28941 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28942 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28943 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28944 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28945 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28946 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28947 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28948 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28949 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28950 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28951 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28952 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28953 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28954 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28955 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28956 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28957 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28958 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28959 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28960 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28961
a9708fed
JM
289622013-01-07 Joseph Myers <joseph@codesourcery.com>
28963
375607b9
JM
28964 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
28965 (__MALLOC_PMT): Likewise.
28966 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
28967 [__GNUC__], only on [_LIBC].
28968 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28969 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
28970 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28971 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
28972 forward declaration.
28973 (realloc_hook_ini): Likewise.
28974 (memalign_hook_ini): Likewise.
28975 (__libc_memalign): Do not use __MALLOC_PMT in variable
28976 declaration.
28977 (__libc_valloc): Likewise.
28978 (__libc_pvalloc): Likewise.
28979 (__libc_calloc): Likewise.
28980 (__posix_memalign): Likewise.
28981
a9708fed
JM
28982 [BZ #14996]
28983 * math/s_casinh.c: Include <float.h>.
28984 (__casinh): Do not do computation with squaring and square root
28985 for large arguments.
28986 * math/s_casinhf.c: Include <float.h>.
28987 (__casinhf): Do not do computation with squaring and square root
28988 for large arguments.
28989 * math/s_casinhl.c: Include <float.h>.
28990 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
28991 (__casinhl): Do not do computation with squaring and square root
28992 for large arguments.
28993 * math/libm-test.inc (casin_test): Add more tests.
28994 (casinh_test): Likewise.
28995 * sysdeps/i386/fpu/libm-test-ulps: Update.
28996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28997
afec409a
L
289982013-01-04 H.J. Lu <hongjiu.lu@intel.com>
28999
29000 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
29001 (__x86_64_raw_data_cache_size): Likewise.
29002 (__x86_64_data_cache_size_half): Likewise.
29003 (__x86_64_raw_data_cache_size_half): Likewise.
29004 (__x86_64_shared_cache_size): Likewise.
29005 (__x86_64_raw_shared_cache_size): Likewise.
29006 (__x86_64_shared_cache_size_half): Likewise.
29007 (__x86_64_raw_shared_cache_size_half): Likewise.
29008 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
29009 to ...
29010 (__x86_data_cache_size): This.
29011 (__x86_64_raw_data_cache_size): Renamed to ...
29012 (__x86_raw_data_cache_size): This.
29013 (__x86_64_data_cache_size_half): Renamed to ...
29014 (__x86_data_cache_size_half): This.
29015 (__x86_64_raw_data_cache_size_half): Renamed to ...
29016 (__x86_raw_data_cache_size_half): This.
29017 (__x86_64_shared_cache_size): Renamed to ...
29018 (__x86_shared_cache_size): This.
29019 (__x86_64_raw_shared_cache_size): Renamed to ...
29020 (__x86_raw_shared_cache_size): This.
29021 (__x86_64_shared_cache_size_half): Renamed to ...
29022 (__x86_shared_cache_size_half): This.
29023 (__x86_64_raw_shared_cache_size_half): Renamed to ...
29024 (__x86_raw_shared_cache_size_half): This.
29025 * sysdeps/x86_64/memcpy.S: Updated.
29026 * sysdeps/x86_64/memset.S: Likewise.
29027 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29028 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29029 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29030
0b3986d0
DM
290312013-01-04 David S. Miller <davem@davemloft.net>
29032
29033 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29034
e47686e9
AS
290352013-01-04 Andreas Schwab <schwab@linux-m68k.org>
29036
d643bac1
AS
29037 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
29038 1 to avoid redefinition warning.
29039 (__USE_GNU): Don't define.
29040 (init_signaling_nan): Protoize.
29041
e47686e9
AS
29042 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29043
b18decba
SP
290442013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29045
fffb407f
SP
29046 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
29047 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
29048 (__cpymn): Likewise.
29049 (norm): Remove commented code.
29050 (denorm): Likewise.
29051 (__mp_dbl): Likewise.
29052 (__inv): Likewise.
29053 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
29054 (__cpymn): Likewise.
29055 (norm): Remove commented code.
29056 (denorm): Likewise.
29057 (__mp_dbl): Likewise.
29058 (__inv): Likewise.
29059
b18decba
SP
29060 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
29061 mp_no value for 1.0 and 2.0.
29062 (norm): Use RADIXI instead of radixi.d.
29063 (denorm): Likewise.
29064 (__mul): Use 0.0 instead of zero.d.
29065 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
29066 mp_no value for 1.0 and 2.0.
29067 (norm): Use RADIXI instead of radixi.d.
29068 (denorm): Likewise.
29069 (__mul): Use 0.0 instead of zero.d.
29070
cdc1c96f
JM
290712013-01-04 Joseph Myers <joseph@codesourcery.com>
29072
29073 [BZ #14994]
29074 * math/s_casinh.c (__casinh): Reduce finite argument to first
29075 quadrant then set signs of results at the end.
29076 * math/s_casinhf.c (__casinhf): Likewise.
29077 * math/s_casinhl.c (__casinhl): Likewise.
29078 * math/libm-test.inc (casin_test): Add more tests.
29079 (casinh_test): Likewise.
29080 * sysdeps/i386/fpu/libm-test-ulps: Update.
29081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29082
302913e1
SP
290832013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29084
6420d207
SP
29085 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
29086
a9e48ab4
SP
29087 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
29088
b7837264
SP
29089 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
29090 declarations.
29091 (denorm): Likewise.
29092 (__mp_dbl): Likewise.
29093 (__inv): Likewise.
29094
f8af25d2
SP
29095 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
29096 and adjust the header comment.
29097
302913e1
SP
29098 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
29099 variable name from declaration.
29100
5d7dd1ca
L
291012013-01-03 H.J. Lu <hongjiu.lu@intel.com>
29102
29103 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29104 Initialize COMMON_CPUID_INDEX_7 element.
29105 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
29106 (CPUID_RTM): Likewise.
29107 (HAS_RTM): Likewise.
29108 (COMMON_CPUID_INDEX_7): New enum.
29109
2f5f40f4
AS
291102013-01-03 Andreas Schwab <schwab@linux-m68k.org>
29111
29112 [BZ #14981]
29113 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
29114 size is zero, record memory as freed.
29115
4056f4a0
AJ
291162013-01-03 Andreas Jaeger <aj@suse.de>
29117
29118 * po/ia.po: Add new Interlingua translation.
29119
ab15736f 291202012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
29121
29122 * locale/programs/localedef.c: Fix description of '--posix' flag.
29123
568035b7
JM
291242013-01-02 Joseph Myers <joseph@codesourcery.com>
29125
e6898b8d
JM
29126 * NEWS: Update dates in second copyright notice.
29127 * README: Update copyright dates in example.
29128 * manual/libc.texinfo: Update copyright dates.
29129 * scripts/test-installation.pl: Update copyright date in --version
29130 output.
29131
0e2f9562
JM
29132 * hurd/ctty-input.c: Fix copyright notice formatting.
29133 * hurd/ctty-output.c: Likewise.
29134 * hurd/dtable.c: Likewise.
29135 * hurd/hurd-raise.c: Likewise.
29136 * hurd/hurdprio.c: Likewise.
29137 * hurd/msgportdemux.c: Likewise.
29138 * misc/sys/file.h: Likewise.
29139 * misc/sys/ioctl.h: Likewise.
29140 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29141 * sysdeps/mach/hurd/chdir.c: Likewise.
29142 * sysdeps/mach/hurd/fchdir.c: Likewise.
29143 * sysdeps/mach/hurd/rename.c: Likewise.
29144 * sysdeps/mach/hurd/rmdir.c: Likewise.
29145 * sysdeps/mach/hurd/seekdir.c: Likewise.
29146 * sysdeps/mach/hurd/setsid.c: Likewise.
29147 * sysdeps/posix/wait3.c: Likewise.
29148
568035b7
JM
29149 * All files with FSF copyright notices: Update copyright dates
29150 using scripts/update-copyrights.
29151 * intl/plural.c: Regenerated.
29152 * locale/programs/charmap-kw.h: Likewise.
29153 * locale/programs/locfile-kw.h: Likewise.
29154
da08f647
SP
291552013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29156
0f5477af
SP
29157 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
29158 four values.
29159
44e0d4c2
SP
29160 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
29161 calculation loop and add branch prediction.
29162
4d55b4e5
SP
29163 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
29164 check access beyond bounds of m1np.
29165
da08f647
SP
29166 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29167 MPTWO.
29168 (__inv): Remove local variable MPTWO to use the global
29169 constant.
29170 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
29171 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29172 variable MPTWO.
29173 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
29174 MP3HALFS static const.
29175
8e051029
DM
291762013-01-01 David S. Miller <davem@davemloft.net>
29177
29178 * po/ca.po: Update from translation team.
29179
f4cf5f2d
JM
291802013-01-01 Joseph Myers <joseph@codesourcery.com>
29181
29182 * scripts/update-copyrights: New file.
29183 * Makeconfig: Reformat copyright notice.
29184 * ctype/ctype.h: Likewise.
29185 * debug/swprintf_chk.c: Likewise.
29186 * elf/dl-cache.c: Likewise.
29187 * elf/dl-debug.c: Likewise.
29188 * elf/dl-object.c: Likewise.
29189 * grp/initgroups.c: Likewise.
29190 * hurd/Makefile: Likewise.
29191 * hurd/hurd/signal.h: Likewise.
29192 * hurd/hurdfault.c: Likewise.
29193 * hurd/hurdioctl.c: Likewise.
29194 * hurd/hurdlookup.c: Likewise.
29195 * hurd/intr-msg.c: Likewise.
29196 * iconv/gconv_open.c: Likewise.
29197 * libio/swprintf.c: Likewise.
29198 * locale/lc-ctype.c: Likewise.
29199 * locale/nl_langinfo.c: Likewise.
29200 * mach/Machrules: Likewise.
29201 * mach/Makefile: Likewise.
29202 * malloc/obstack.h: Likewise.
29203 * manual/Makefile: Likewise.
29204 * manual/tsort.awk: Likewise.
29205 * misc/bits/stab.def: Likewise.
29206 * nis/nis_print_group_entry.c: Likewise.
29207 * nis/nis_table.c: Likewise.
29208 * nis/nss_compat/compat-pwd.c: Likewise.
29209 * nis/nss_compat/compat-spwd.c: Likewise.
29210 * po/Makefile: Likewise.
29211 * posix/fnmatch.c: Likewise.
29212 * posix/regex.h: Likewise.
29213 * resolv/Makefile: Likewise.
29214 * resolv/nss_dns/dns-network.c: Likewise.
29215 * resolv/res_hconf.c: Likewise.
29216 * scripts/gen-sorted.awk: Likewise.
29217 * soft-fp/soft-fp.h: Likewise.
29218 * stdio-common/printf.h: Likewise.
29219 * stdlib/monetary.h: Likewise.
29220 * stdlib/random.c: Likewise.
29221 * stdlib/random_r.c: Likewise.
29222 * sysdeps/generic/Makefile: Likewise.
29223 * sysdeps/gnu/Makefile: Likewise.
29224 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29225 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29226 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29227 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29228 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29229 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29230 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29231 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29232 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29233 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29234 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29235 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29236 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29237 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29238 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
29239 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29240 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29241 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29242 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29243 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29244 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29245 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29246 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29247 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29248 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
29249 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29250 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29251 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
29252 * sysdeps/mach/hurd/errnos.awk: Likewise.
29253 * sysdeps/mach/hurd/fork.c: Likewise.
29254 * sysdeps/mach/hurd/getcwd.c: Likewise.
29255 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
29256 * sysdeps/mach/hurd/mmap.c: Likewise.
29257 * sysdeps/mach/hurd/utimes.c: Likewise.
29258 * sysdeps/mach/hurd/xmknod.c: Likewise.
29259 * sysdeps/posix/profil.c: Likewise.
29260 * sysdeps/posix/readdir_r.c: Likewise.
29261 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29262 * sysdeps/powerpc/bits/setjmp.h: Likewise.
29263 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
29264 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29265 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29266 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29267 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29268 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29269 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29270 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29271 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29272 * sysdeps/pthread/lio_listio.c: Likewise.
29273 * sysdeps/sparc/dl-procinfo.h: Likewise.
29274 * sysdeps/unix/i386/sysdep.S: Likewise.
29275 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
29276 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
29277 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
29278 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
29279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29280 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
29281 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
29282 * sysdeps/unix/sysv/linux/speed.c: Likewise.
29283 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29284 * sysdeps/wordsize-32/divdi3.c: Likewise.
29285 * time/sys/time.h: Likewise.
29286 * wcsmbs/Makefile: Likewise.
29287
0549fbba
DM
292882013-01-01 David S. Miller <davem@davemloft.net>
29289
a141f1a7
DM
29290 * po/fr.po: Update from translation team.
29291
0549fbba
DM
29292 * catgets/gencat.c: Update copyright year.
29293 * csu/version.c: Likewise.
29294 * debug/catchsegv.sh: Likewise.
29295 * debug/pcprofiledump.c: Likewise.
29296 * debug/xtrace.sh: Likewise.
29297 * elf/ldconfig.c: Likewise.
29298 * elf/ldd.bash.in: Likewise.
29299 * elf/pldd.c: Likewise.
29300 * elf/sotruss.ksh: Likewise.
29301 * elf/sprof.c: Likewise.
29302 * iconv/iconv_prog.c: Likewise.
29303 * iconv/iconvconfig.c: Likewise.
29304 * locale/programs/locale.c: Likewise.
29305 * locale/programs/localedef.c: Likewise.
29306 * login/programs/pt_chown.c: Likewise.
29307 * malloc/memusage.sh: Likewise.
29308 * malloc/memusagestat.c: Likewise.
29309 * malloc/mtrace.pl: Likewise.
29310 * nscd/nscd.c: Likewise.
29311 * nss/getent.c: Likewise.
29312 * nss/makedb.c: Likewise.
29313 * posix/getconf.c: Likewise.
29314
18ea052c
SP
293152012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
29316
29317 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
29318 numbers.
29319
9c89fca6
MF
293202012-12-30 Mike Frysinger <vapier@gentoo.org>
29321
29322 * math/bits/mathcalls.h (modf): Use __nonnull.
29323
085ec079
SP
293242012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29325
29326 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
29327 (split): Use macro CN instead of the bare value.
29328 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
29329 could be used.
29330 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
29331 instead of the bare value.
29332 (power1): Likewise.
29333
6d9f97e1
SP
293342012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29335
d63f73be
SP
29336 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
29337 __ATAN_TWOM.
29338 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29339
6d9f97e1
SP
29340 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
29341 their values.
29342 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29343 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29344 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
29345 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29346
4c4febf5
AJ
293472012-12-28 Andreas Jaeger <aj@suse.de>
29348
af5843ef
AJ
29349 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
29350 values are from Linux 3.7.
29351
4c4febf5
AJ
29352 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
29353 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
29354
99136f82
SP
293552012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29356
2f216c3c 29357 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
29358 TRUE case.
29359
99136f82
SP
29360 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
29361 (norm): Likewise.
29362 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
29363 variables with preprocessor constants.
29364 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29365 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29366 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29367
7fffbdff
BH
293682012-12-27 Bruno Haible <bruno@clisp.org>
29369
29370 [BZ #14317]
29371 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
29372 only if needed.
29373
b76eb5f0
SP
293742012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29375
31a7fe5c
SP
29376 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
29377 and use variable directly.
29378 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
29379
b76eb5f0
SP
29380 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29381 MPONE.
29382 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
29383 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29384 variable MPONE.
29385 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29386 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29387 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
29388 include directive. Remove local variable MPONE.
29389 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
29390 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
29391 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29392
2c8bfe7d
DM
293932012-12-25 David S. Miller <davem@davemloft.net>
29394
29395 * version.h (RELEASE): Set to "development".
29396 (VERSION): Set to "2.17.90".
29397 * NEWS: Add 2.18 section.
29398
147d03b0
DM
293992012-12-21 David S. Miller <davem@davemloft.net>
29400
29401 * po/hr.po: Update from translation team.
29402
a8ebb2b9
AK
294032012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29404
29405 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
29406
95b4f1b6
SE
294072012-12-19 Steve Ellcey <sellcey@mips.com>
29408
b2d94007 29409 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 29410
cedb2a90
MS
294112012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29412
29413 * manual/contrib.texi (Contributors): Spelling correction.
29414
bbf527d6
DM
294152012-12-15 David S. Miller <davem@davemloft.net>
29416
29417 * po/ru.po: Update from translation team.
29418
bc38c906
DM
294192012-12-13 David S. Miller <davem@davemloft.net>
29420
85429b1a
DM
29421 * NEWS: Mention IFUNC testsuite enhancements.
29422
d283e353
DM
29423 * po/pl.po: Update from translation team.
29424 * po/bg.po: Likewise.
29425
bc38c906
DM
29426 * manual/contrib.texi (Contributors): Update entries for Hongjiu
29427 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
29428
a181b0d7
DM
294292012-12-11 David S. Miller <davem@davemloft.net>
29430
4641d57e
DM
29431 * po/sv.po: Update from translation team.
29432
f7bc6495
DM
29433 * po/vi.po: Update from translation team.
29434
6fc9048f
DM
29435 * po/cs.po: Update from translation team.
29436
a181b0d7
DM
29437 * po/de.po: Update from translation team.
29438 * po/eo.po: Likewise.
29439 * po/nl.po: Likewise.
29440
f70bfe80
SP
294412012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29442
3c8b4190
SP
29443 [BZ #14246]
29444 * manual/argp.texi (Argp Helper Functions): Move node to follow
29445 Argp Parsing State.
29446
f70bfe80
SP
29447 [BZ #14872]
29448 * manual/conf.texi (Limits on File System Capacity): Mention if
29449 terminating null is included in the max size.
29450
188f0adf
AJ
294512012-12-10 Andreas Jaeger <aj@suse.de>
29452
29453 * po/cs.po: Update from translation team.
29454
56e7d3ad
SP
294552012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29456
29457 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
29458 void pointer and cast to uintptr_t.
29459 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
29460 path.
29461 * sysdeps/s390/s390-64/memcpy.S: Likewise.
29462 * sysdeps/s390/s390-64/memset.S: Likewise.
29463
76f2d2ea 294642012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
29465
29466 [BZ #14833]
29467 * menual/message.texi (Message Translation): Fix typos.
29468 (Helper programs for gettext): Likewise.
29469
67cbf9a2
AS
294702012-12-07 Andreas Schwab <schwab@linux-m68k.org>
29471
29472 [BZ #14898]
29473 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
29474 Change to -1.
29475
682d0e9a
DM
294762012-12-07 David S. Miller <davem@davemloft.net>
29477
29478 * po/libc.pot: Update.
29479
573cd484
RH
294802012-12-07 Richard Henderson <rth@redhat.com>
29481
7e9da188 29482 [BZ #10114]
573cd484
RH
29483 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
29484 normal/normal case to before the switch.
29485 (_FP_DIV): Likewise.
29486
e933a943
MF
294872012-12-06 Carlos O'Donell <carlos@systemhalted.org>
29488 Mike Frysinger <vapier@gentoo.org>
29489
29490 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
29491 check for __NR_fadvise64_64.
29492
82123268
CM
294932012-12-06 Chris Metcalf <cmetcalf@tilera.com>
29494
29495 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
29496 0, not just to plain "0" as a statement.
29497 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
29498 with cw.
29499
d9814526
JM
295002012-12-06 Joseph Myers <joseph@codesourcery.com>
29501
29502 * NEWS: Use sourceware.org in Bugzilla URL.
29503
7728c574
SP
295042012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29505
f16946dd
SP
29506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29507 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29508
5704bbcb
SP
29509 * stdio-common/tst-put-error.c (do_test): Add newline to the
29510 padded test to ensure flush.
29511
17aa0516
JL
295122012-12-05 Jeff Law <law@redhat.com>
29513
29514 * sunrpc/etc.rpc (fedfs_admin): Add entry.
29515
363313b5
JM
295162012-12-05 Joseph Myers <joseph@codesourcery.com>
29517
effbd42a
JM
29518 * README: Don't refer to ports add-on as distributed separately.
29519 Mention AArch64 in list of systems supported in the ports add-on.
29520
87600365
JM
29521 * LICENSES: Add more non-FSF copyright and license notices.
29522
a0d7066a
JM
29523 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
29524 ((unused)).
29525
66ca5a5b
JM
29526 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
29527
363313b5
JM
29528 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
29529 10000 as width of padded output.
29530
b37984ad
JM
295312012-12-04 Joseph Myers <joseph@codesourcery.com>
29532
9003570a
JM
29533 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
29534
b37984ad
JM
29535 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
29536 variable LX with __attribute__ ((unused)).
29537 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29538 Likewise.
29539 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29540 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29541 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
29542 with __attribute__ ((unused)).
29543
c8df52ec
DM
295442012-12-04 David S. Miller <davem@abraco.davemloft.net>
29545
29546 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
29547
b3b099af
JM
295482012-12-04 Joseph Myers <joseph@codesourcery.com>
29549
c33aa6e3
JM
29550 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
29551 (CFLAGS-nldbl-acos.c): New variable.
29552 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
29553 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
29554 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
29555 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
29556 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
29557 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
29558 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
29559 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
29560 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
29561 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
29562 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
29563 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
29564 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
29565 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
29566 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
29567 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
29568 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
29569 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
29570 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
29571 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
29572 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
29573 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
29574 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
29575 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
29576 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
29577 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
29578 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
29579 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
29580 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
29581 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
29582 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
29583 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
29584 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
29585 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
29586 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
29587 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
29588 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
29589 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
29590 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
29591 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
29592 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
29593 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
29594 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
29595 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
29596 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
29597 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
29598 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
29599 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
29600 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
29601 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
29602 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
29603 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
29604 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
29605 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
29606 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
29607 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
29608 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
29609 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
29610 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
29611 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
29612 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
29613 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
29614 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
29615 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
29616 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
29617 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
29618 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
29619 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
29620 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
29621 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
29622 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
29623 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
29624 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
29625 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
29626 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
29627 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
29628 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
29629 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
29630 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
29631 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
29632 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
29633 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
29634 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
29635 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
29636 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
29637 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
29638 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
29639 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
29640 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
29641 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
29642 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
29643 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
29644 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
29645 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
29646 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
29647 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
29648 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
29649
20f0018d
JM
29650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29651 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29652
b3b099af
JM
29653 [BZ #14914]
29654 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
29655 whole low double instead of just low 47 bits when splitting values
29656 into two parts.
29657
029264d1
AM
296582012-12-03 Allan McRae <allan@archlinux.org>
29659
29660 * manual/stdio.texi (Predefined Printf Handlers): Remove
29661 @hsep and @vsep usage.
29662
c9d6789e
MF
296632012-12-03 Mike Frysinger <vapier@gentoo.org>
29664
29665 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
29666 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
29667
4b7634a5
JL
296682012-12-03 Jeff Law <law@redhat.com>
29669
29670 * time/sys/time.h (settimeofday): Do not mark TV argument
29671 as __nonnull.
29672
eb6cbd24
MF
296732012-12-01 Mike Frysinger <vapier@gentoo.org>
29674
29675 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
29676 when currently writing and seek to current position when not.
29677 * libio/Makefile (tests): Remove bug-fclose1.
29678 * libio/bug-fclose1.c: Delete.
29679
f638872a
JM
296802012-12-01 Joseph Myers <joseph@codesourcery.com>
29681
29682 * manual/arith.texi (feenableexcept): Fix typo.
29683 (fedisableexcept): Likewise.
29684
48085d14
RM
296852012-11-30 Roland McGrath <roland@hack.frob.com>
29686
29687 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
29688 second, differently-typed declaration, rather than a cast.
29689
1a538b9f
SP
296902012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29691
29692 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
29693 * include/rpc/svc.h: ... here.
29694
d07f2ff1 296952012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
29696
29697 [BZ #13013]
29698 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
29699 depending n and resplen2 to catch cases where answer
29700 equals answerp2.
29701
c93ec1f0
CD
297022012-11-29 Carlos O'Donell <carlos@systemhalted.org>
29703
29704 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
29705 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
29706
37db69de
MF
297072012-11-29 Mike Frysinger <vapier@gentoo.org>
29708
29709 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
29710
e10c4e4f
RM
297112012-11-29 Roland McGrath <roland@hack.frob.com>
29712
29713 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
29714
2af1b328
JL
297152012-11-28 Jeff Law <law@redhat.com>
29716
29717 [BZ #13761]
29718 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
29719 dataset_temporary. Track alloca usage into alloca_used.
29720 If dataset is large allocate and release it via malloc/free.
29721
111db5b1
FW
297222012-06-04 Florian Weimer <fweimer@redhat.com>
29723
f06cc227 29724 [BZ #14197]
111db5b1
FW
29725 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
29726
dd694abd
DM
297272012-11-28 David S. Miller <davem@davemloft.net>
29728
29729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29730
9984dd01
JM
297312012-11-28 Joseph Myers <joseph@codesourcery.com>
29732
29733 [BZ #14803]
29734 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
29735 of pi/2 rounded to nearest to 64 bits.
29736 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
29737 nearest to 64 bits.
29738 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
29739 bits.
29740
14bc93a9
JL
297412012-11-28 Jeff Law <law@redhat.com>
29742 Martin Osvald <mosvald@redhat.com>
29743
29744 [BZ #14889]
29745 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
29746 * sunrpc/svc.c: Include time.h.
29747 (__svc_accept_failed): New function.
29748 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
29749 any reason other than EINTR, call __svc_accept_failed.
29750 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
29751 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
29752
e3c6aa3a
AS
297532012-11-28 Andreas Schwab <schwab@suse.de>
29754
29755 * scripts/abilist.awk: Also handle indirect functions in .opd
29756 section.
29757
1bead169
JM
297582012-11-28 Joseph Myers <joseph@codesourcery.com>
29759
29760 [BZ #13881]
29761 * sysdeps/x86/fpu/powl_helper.c: New file.
29762 * sysdeps/x86/fpu/Makefile: Likewise.
29763 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
29764 (p3): New object.
29765 (__ieee754_powl): Use __powl_helper for finite arguments except
29766 integer exponents below 8.
29767 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
29768 (p3): New object.
29769 (__ieee754_powl): Use __powl_helper for finite arguments except
29770 integer exponents below 8.
29771 * math/libm-test.inc (pow_test): Add more tests and enable some
29772 previously disabled tests.
29773 * sysdeps/i386/fpu/libm-test-ulps: Update.
29774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29775
0817d63d
SP
297762012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29777 Carlos O'Donell <carlos_odonell@mentor.com>
29778
29779 * nss/makedb.c (is_prime): Assert that input is odd and greater
29780 than 4. Note that fact in a comment too.
29781 (next_prime): Add 4 to input.
29782
de2fd463
SP
297832012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29784
29785 [BZ #11741]
29786 * libio/Makefile (tests): Add test case tst-fwrite-error.
29787 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
29788 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
29789 * libio/tst-fwrite-error.c: New test case.
29790
c515fb51
L
297912012-11-26 H.J. Lu <hongjiu.lu@intel.com>
29792
29793 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
29794 before casting to void *.
29795 * include/libc-internal.h (__pointer_type): New macro.
29796 (__integer_if_pointer_type_sub): Likewise.
29797 (__integer_if_pointer_type): Likewise.
29798 (cast_to_integer): Likewise.
29799 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
29800 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
29801 before casting to atomic64_t.
29802 (atomic_exchange_acq): Likewise.
29803 (__arch_exchange_and_add_body): Likewise.
29804 (__arch_add_body): Likewise.
29805 (atomic_add_negative): Likewise.
29806 (atomic_add_zero): Likewise.
29807
4cf77aa9
JM
298082012-11-26 Joseph Myers <joseph@codesourcery.com>
29809
29810 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
29811 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
29812 (add_fdes): Likewise.
29813 (linear_search_fdes): Likewise.
29814 (binary_search_unencoded_fdes): Likewise.
29815
d260b3b4
AS
298162012-11-26 Andreas Schwab <schwab@linux-m68k.org>
29817
29818 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
29819
67060746
AC
298202012-11-24 Adam Conrad <adconrad@0c3.net>
29821
29822 * configure.in: Autodetect C++ header directories.
29823 * configure: Regenerated.
29824
800938a1
MF
298252012-11-23 Mike Frysinger <vapier@gentoo.org>
29826
29827 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
29828
4e6e34e6
AS
298292012-11-23 Andreas Schwab <schwab@linux-m68k.org>
29830
29831 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29832
7c7feb47
JM
298332012-11-22 Joseph Myers <joseph@codesourcery.com>
29834
7184dcdf
JM
29835 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
29836 LDBL_MANT_DIG == 106]: Disable some tests.
29837 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29838 Likewise.
29839 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29840 Likewise.
29841
0a42601f
JM
29842 [BZ #14871]
29843 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
29844 input for small inputs. Return +/- pi/2 for large inputs.
29845 * math/libm-test.inc (atan_test): Add more tests.
29846
79c9b9fe
JM
29847 * sysdeps/generic/unwind-dw2-fde-glibc.c
29848 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
29849 __attribute__ ((unused)).
29850
c60d3bf2
JM
29851 [BZ #14645]
29852 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
29853 x * y if x and y are nonzero and z is zero.
29854
ef1e0867
JM
29855 [BZ #14811]
29856 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
29857 nonzero exponents with absolute value below 0x1p-117 to +/-
29858 0x1p-117.
29859
1468ded3
JM
29860 [BZ #14869]
29861 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
29862 up arguments below 2**-450, not just those below 2**-500.
29863 * math/libm-test.inc (hypot_test): Add another test.
29864
8e27e3cc
JM
29865 [BZ #14868]
29866 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29867 Return a+b for ratio over 2**120, not 2**60.
29868 * math/libm-test.inc (hypot_test): Add another test.
29869
c9c0279b
JM
29870 * math/libm-test.inc (clog_test): Use
29871 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29872 (clog10_test): Likewise.
29873
7c7feb47
JM
29874 [BZ #6778]
29875 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29876
fff1530e
AS
298772012-11-22 Andreas Schwab <schwab@suse.de>
29878
29879 * sysdeps/i386/fpu/libm-test-ulps: Update.
29880
94558d30
PT
298812012-11-22 Pino Toscano <toscano.pino@tiscali.it>
29882
29883 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29884 printf output with newline.
29885
7e1be741
L
298862012-11-21 H.J. Lu <hongjiu.lu@intel.com>
29887
6bfea974
L
29888 [BZ #14865]
29889 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29890 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29891 -z nodlopen, -z initfirst and -z execstack support.
29892 * configure: Regenerated.
29893
7e1be741
L
29894 * elf/elf.h (DF_1_NODIRECT): New macro.
29895 (DF_1_IGNMULDEF): Likewise.
29896 (DF_1_NOKSYMS): Likewise.
29897 (DF_1_NOHDR): Likewise.
29898 (DF_1_EDITED): Likewise.
29899 (DF_1_NORELOC): Likewise.
29900 (DF_1_SYMINTPOSE): Likewise.
29901 (DF_1_GLOBAUDIT): Likewise.
29902 (DF_1_SINGLETON): Likewise.
29903 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29904 DT_1_SUPPORTED_MASK bits.
29905 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29906
105ce2ce
CD
299072012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
29908
29909 * sysdeps/unix/make-syscalls.sh: Document prefixes.
29910
123be9de
TS
299112012-11-20 Thomas Schwinge <thomas@codesourcery.com>
29912
d072f3f7
TS
29913 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29914 macro.
29915
123be9de
TS
29916 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29917 (sendmmsg): Move declarations...
29918 * socket/sys/socket.h: ... here.
29919 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29920 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29921 include it from...
29922 * socket/recvmmsg.c: ... this new file.
29923 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29924 (sendmmsg): Rename to __sendmmsg, create weak alias and make
29925 definition of __sendmmsg hidden.
29926 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29927 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29928 Move ENOSYS stub into and include it from...
29929 * socket/sendmmsg.c: ... this new file.
29930 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29931 (sysdep_routines): Move recvmmsg and sendmmsg...
29932 * socket/Makefile (routines): ... here.
29933 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29934 (GLIBC_PRIVATE): Add __sendmmsg.
29935 * include/sys/socket.h (__sendmmsg): Add declarations.
29936 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29937 sendmmsg.
29938
cf9a5d18
JM
299392012-11-20 Joseph Myers <joseph@codesourcery.com>
29940
29941 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29942 variable I1 with __attribute__ ((unused)).
29943 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29944
ecd4caf9
JM
299452012-11-19 Joseph Myers <joseph@codesourcery.com>
29946
be14d48f
JM
29947 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29948 DUMMY variables with __attribute__ ((unused)).
29949
ecd4caf9
JM
29950 * bits/byteswap.h: Include <bits/types.h>.
29951 (__bswap_64): Use __uint64_t instead of unsigned long long int.
29952
986cab95
PT
299532012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29954
29955 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29956 string_t. Do not manually set errno.
29957 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29958 length with __strnlen. Make sure to both set errno and return it on
29959 failure.
29960
6d33cc9d
DM
299612012-11-19 David S. Miller <davem@davemloft.net>
29962
29963 With help from Joseph Myers.
29964 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
29965 very large arguments properly.
29966 * math/libm-test.inc (atan_test): New tests.
29967 (atan2_test): New tests.
29968 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29969 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29970
ee663277
JM
299712012-11-19 Joseph Myers <joseph@codesourcery.com>
29972
877f2d8e
JM
29973 [BZ #14856]
29974 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
29975 Define to 3.
29976
116fc08a
JM
29977 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
29978 [POSIX] (EADDRNOTAVAIL): Likewise.
29979 [POSIX] (EAFNOSUPPORT): Likewise.
29980 [POSIX] (EALREADY): Likewise.
29981 [POSIX] (ECONNABORTED): Likewise.
29982 [POSIX] (ECONNREFUSED): Likewise.
29983 [POSIX] (ECONNRESET): Likewise.
29984 [POSIX] (EDESTADDRREQ): Likewise.
29985 [POSIX] (EDQUOT): Likewise.
29986 [POSIX] (EHOSTUNREACH): Likewise.
29987 [POSIX] (EIDRM): Likewise.
29988 [POSIX] (EISCONN): Likewise.
29989 [POSIX] (ELOOP): Likewise.
29990 [POSIX] (EMULTIHOP): Likewise.
29991 [POSIX] (ENETDOWN): Likewise.
29992 [POSIX] (ENETUNREACH): Likewise.
29993 [POSIX] (ENOBUFS): Likewise.
29994 [POSIX] (ENODATA): Likewise.
29995 [POSIX] (ENOLINK): Likewise.
29996 [POSIX] (ENOMSG): Likewise.
29997 [POSIX] (ENOPROTOOPT): Likewise.
29998 [POSIX] (ENOSR): Likewise.
29999 [POSIX] (ENOSTR): Likewise.
30000 [POSIX] (ENOTCONN): Likewise.
30001 [POSIX] (ENOTSOCK): Likewise.
30002 [POSIX] (EOPNOTSUPP): Likewise.
30003 [POSIX] (EOVERFLOW): Likewise.
30004 [POSIX] (EPROTO): Likewise.
30005 [POSIX] (EPROTONOSUPPORT): Likewise.
30006 [POSIX] (EPROTOTYPE): Likewise.
30007 [POSIX] (ESTALE): Likewise.
30008 [POSIX] (ETIME): Likewise.
30009 [POSIX] (ETXTBSY): Likewise.
30010 [POSIX] (EWOULDBLOCK): Likewise.
30011 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
30012 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
30013 [POSIX] (SEEK_CUR): Likewise.
30014 [POSIX] (SEEK_END): Likewise.
30015 [POSIX || UNIX98] (mode_t): Do not require.
30016 [POSIX] (off_t): Likewise.
30017 [POSIX] (pid_t): Likewise.
30018 [POSIX] (sys/stat.h): Do not allow header.
30019 [POSIX] (unistd.h): Likewise.
30020 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
30021 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
30022 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
30023 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
30024 require.
30025 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
30026 sigevent): Specify elements.
30027 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
30028 entry.
30029 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
30030 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
30031
a483863f
JM
30032 * conform/data/cpio.h-data [POSIX]: Disable whole file.
30033 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
30034 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
30035 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
30036 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
30037 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
30038 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
30039 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
30040 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
30041 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
30042 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
30043 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
30044 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
30045 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
30046 Likewise.
30047 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
30048 Likewise.
30049 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
30050 Likewise.
30051 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
30052 Likewise.
30053 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
30054 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
30055 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
30056 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
30057 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
30058 Specify lower bound on value.
30059 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
30060 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
30061 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
30062 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
30063 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
30064 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
30065 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
30066 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
30067 value.
30068 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
30069 as optional.
30070 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
30071 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
30072 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
30073 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
30074 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
30075 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
30076 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
30077 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
30078 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
30079 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
30080 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
30081 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
30082 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
30083 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
30084 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
30085 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
30086 entry.
30087 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
30088 optional.
30089 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
30090 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
30091 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
30092 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
30093 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
30094 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
30095 Likewise.
30096 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
30097 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
30098 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
30099 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
30100 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
30101 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
30102 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
30103 as optional.
30104 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
30105 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
30106 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
30107 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
30108 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
30109 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
30110 specify as optional.
30111 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
30112 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
30113 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
30114 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
30115 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
30116 [XPG3] (NL_LANGMAX): Likewise.
30117 [POSIX || XPG3] (NL_MSGMAX): Likewise.
30118 [POSIX || XPG3] (NL_NMAX): Likewise.
30119 [POSIX || XPG3] (NL_SETMAX): Likewise.
30120 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
30121 [XPG3] (NZERO): Likewise.
30122 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
30123 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
30124 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
30125 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
30126 (REG_ERANGE): Expect.
30127 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
30128 optional-constant.
30129 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
30130 Use (void) in prototype.
30131 [POSIX] (*_t): Allow.
30132 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
30133 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
30134 (WRDE_BADVAL): Expect.
30135
5ba924e3
JM
30136 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
30137 expect.
30138 [XPG3 || XPG4] (O_RSYNC): Likewise.
30139 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
30140 Likewise.
30141 [XPG3 || XPG4] (pthread_sigmask): Likewise.
30142 [XPG3 || XPG4] (sigqueue): Likewise.
30143 [XPG3 || XPG4] (sigtimedwait): Likewise.
30144 [XPG3 || XPG4] (sigwaitinfo): Likewise.
30145 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
30146 [XPG3 || XPG4] (vsnprintf): Likewise.
30147 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
30148 Likewise.
30149 [XPG3 || XPG4] (blksize_t): Likewise.
30150 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
30151 Likewise.
30152 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
30153 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
30154 [XPG3 || XPG4] (struct itimerspec): Likewise.
30155 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
30156 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
30157 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
30158 [XPG3 || XPG4] (clockid_t): Likewise.
30159 [XPG3 || XPG4] (timer_t): Likewise.
30160 [XPG3 || XPG4] (clock_getres): Likewise.
30161 [XPG3 || XPG4] (clock_gettime): Likewise.
30162 [XPG3 || XPG4] (clock_settime): Likewise.
30163 [XPG3 || XPG4] (nanosleep): Likewise.
30164 [XPG3 || XPG4] (timer_create): Likewise.
30165 [XPG3 || XPG4] (timer_delete): Likewise.
30166 [XPG3 || XPG4] (timer_gettime): Likewise.
30167 [XPG3 || XPG4] (timer_getoverrun): Likewise.
30168 [XPG3 || XPG4] (timer_settime): Likewise.
30169 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
30170 [XPG3 || XPG4] (getlogin_r): Likewise.
30171 [XPG3 || XPG4] (pread): Likewise.
30172 [XPG3 || XPG4] (pthread_atfork): Likewise.
30173 [XPG3 || XPG4] (pwrite): Likewise.
30174
ee663277
JM
30175 [BZ #14835]
30176 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
30177 <bits/siginfo.h>.
30178
942caa16
PT
301792012-11-19 Pino Toscano <toscano.pino@tiscali.it>
30180
e19af380
PT
30181 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
30182 finalizing MALLSTREAM.
30183
942caa16
PT
30184 * sysdeps/mach/hurd/syncfs.c: New file.
30185
cfde9b46
SP
301862012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30187
30188 [BZ #14719]
30189 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
30190 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
30191 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
30192 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
30193 (_nss_dns_gethostbyname4_r): Likewise.
30194 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
30195 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
30196
f6da27e5
PH
301972012-11-19 Peng Haitao <penght@cn.fujitsu.com>
30198
30199 [BZ #13763]
30200 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
30201
6665d4a2
SM
302022012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
30203
1f51ee92
SM
30204 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
30205 * elf/cache.c (print_entry): Print ",AArch64" for
30206 FLAG_AARCH64_LIB64
30207
6665d4a2
SM
30208 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
30209 * elf/cache.c (print_entry): Print ",hard-float" for
30210 FLAG_ARM_LIBHF.
30211
05b227bd
DM
302122012-11-18 David S. Miller <davem@davemloft.net>
30213
30214 With help from Joseph Myers.
30215 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
30216 cutoff to 2**-13.
30217 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
30218 cutoff to 2**-25.
30219 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
30220 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
30221 small.
30222 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
30223 * math/libm-test.inc (y0_test): New tests.
30224 (y1_test): New tests.
30225 * sysdeps/i386/fpu/libm-test-ulps: Update.
30226 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30228
786b0b67
AS
302292012-11-18 Andreas Schwab <schwab@linux-m68k.org>
30230
30231 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
30232 64-bit targets.
30233 * configure: Regenerated.
30234
8e18b86d
DM
302352012-11-17 David S. Miller <davem@davemloft.net>
30236
30237 [BZ #14811]
30238 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
30239 nonzero exponents with absolute value below 0x1p-128 to +/-
30240 0x1p-128.
30241
531f1ae0
JM
302422012-11-17 Joseph Myers <joseph@codesourcery.com>
30243
12df29e2
JM
30244 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
30245
150dc1a0
JM
30246 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
30247
531f1ae0
JM
30248 * posix/getconf-speclist.c: New file.
30249 * posix/posix-envs.def: Likewise.
30250 * posix/confstr.c (START_ENV_GROUP): New macro.
30251 (END_ENV_GROUP): Likewise.
30252 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30253 (KNOWN_PRESENT_ENV_STRING): Likewise.
30254 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30255 (UNKNOWN_ENVIRONMENT): Likewise.
30256 (confstr): Include posix-envs.def instead of handling
30257 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
30258 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
30259 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
30260 (END_ENV_GROUP): Likewise.
30261 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30262 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30263 (UNKNOWN_ENVIRONMENT): Likewise.
30264 (__sysconf): Include posix-envs.def instead of handling associated
30265 cases directly here.
30266 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
30267 preprocessing getconf-speclist.c rather than running getconf or
30268 generating empty file.
30269
a93f9cbc
PT
302702012-11-16 Pino Toscano <toscano.pino@tiscali.it>
30271
30272 * scripts/check-local-headers.sh: Ignore 'mach' headers.
30273
d64d9f87
AL
302742012-11-16 Andrej Lajovic <natrij@gmail.com>
30275
30276 [BZ #14672]
30277 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
30278
447885eb
DM
302792012-11-16 David S. Miller <davem@davemloft.net>
30280
30281 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
30282 smaller than LDBL_EPSILON/2.0L, just return xm1.
30283
bcbf9830
L
302842012-11-16 H.J. Lu <hongjiu.lu@intel.com>
30285
30286 * elf/tst-array1.c (init): Set constructor priority to 1000.
30287 (fini): Set destructor priority to 1000.
30288 * elf/tst-array2dep.c: Likewise.
30289
2b766585
SP
302902012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30291
30292 [BZ #11741]
30293 * libio/fileops.c (_IO_new_file_write): Correctly return error.
30294 (_IO_new_file_xsputn): Also return EOF if none of the input
30295 data was written when overflow failed.
30296 * libio/iopadn.c (_IO_padn): Likewise.
30297 * libio/iowpadn.c (_IO_wpadn): Likewise.
30298 * stdio-common/tst-put-error.c: Add copyright notice.
30299 (do_test): Add case for printing padded string.
30300 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
30301 _IO_padn returned error.
30302 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
30303 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
30304 return EOF.
30305
b1848fde
SP
303062012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30307
30308 * libio/libioP.h: Add comment note that the references to C++
30309 bits are now obsolete.
30310
2fd89785
MS
303112012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30312
30313 * math/libm-test.inc (check_complex): Use asprintf.
30314
e3ea5409
JM
303152012-11-14 Joseph Myers <joseph@codesourcery.com>
30316
30317 * debug/pcprofiledump.c (print_version): Update copyright year.
30318 * malloc/memusagestat.c (print_version): Likewise.
30319
2e64d265
L
303202012-11-14 H.J. Lu <hongjiu.lu@intel.com>
30321
30322 [BZ #14831]
30323 * elf/Makefile (tests): Add tst-audit8.
30324 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
30325 ($(objpfx)tst-audit8.out): New target.
30326 (tst-audit8-ENV): New variable.
30327 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
30328 audit if l_reloc_result is NULL.
30329 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
30330 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
30331 * elf/tst-audit8.c: New file.
30332
c485e4d2
MS
303332012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30334
30335 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
30336 * misc/Makefile (CFLAGS-select.c): Define.
30337 * posix/Makefile (CFLAGS-pause.c): Define.
30338
3a0d900a
DM
303392012-11-13 David S. Miller <davem@davemloft.net>
30340
30341 * crypt/Makefile: Move test targets after toplevel Rules
30342 inclusion. Grab any necessary sysdep routines when linking.
30343 * crypt/md5.c (md5_process_block): Remove define, we will always
30344 name it __md5_process_block.
30345 (md5_finish_ctx): Update md5_process_block call.
30346 (md5_stream): Likewise.
30347 (md5_process_bytes): Likewise.
30348 (md5_process_block): Rename to __md5_process_block and move to ...
30349 * crypt/md5-block.c: ... here.
30350 * crypt/sha256.c (sha256_process_block): Move to ...
30351 * crypt/sha256-block.c: ... here.
30352 * crypt/sha512.c (sha512_process_block): Move to ...
30353 * crypt/sha512-block.c: ... here.
30354 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
30355 path.
30356 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
30357 * sysdeps/sparc/sparc64/multiarch/Makefile
30358 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
30359 crypt subdir.
30360 (localedef-aux): Add md5 crypto assembler when in locale subdir.
30361 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
30362 multiarch changes.
30363 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
30364 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
30365 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
30366 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
30367 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
30368 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
30369 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
30370 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
30371 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
30372 file.
30373 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
30374 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
30375 file.
30376 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
30377
8ca89318
JM
303782012-11-13 Joseph Myers <joseph@codesourcery.com>
30379
e27d476a
JM
30380 * timezone/tzselect.ksh: Update from tzcode git revision
30381 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
30382 * timezone/zdump.c: Likewise.
30383 * timezone/zic.c: Likewise.
30384 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
30385 in TZVERSION setting, not $(PKGVERSION).
30386 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
30387 REPORT_BUGS_TO settings.
30388
8ca89318
JM
30389 [BZ #14838]
30390 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
30391 macro.
30392
47594329
MS
303932012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30394
30395 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
30396 detection to immediately after _FP_ROUND().
30397 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
30398 bits are 0.
30399
640ac3f1
DM
304002012-11-11 David S. Miller <davem@davemloft.net>
30401
30402 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
30403 inttypes.h
30404 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
30405 __close rather than their public counterparts.
30406
3d2577bb
JM
304072012-11-10 Joseph Myers <joseph@codesourcery.com>
30408
30409 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
30410 file.
30411 [UNIX98] (sem_timedwait): Do not expect.
30412 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
30413 [XPG4 || UNIX98] (sockatmark): Do not expect.
30414 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
30415 (clock_getcpuclockid): Do not expect.
30416 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
30417 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
30418 Do not expect.
30419 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
30420 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
30421 [UNIX98] (vwscanf): Likewise.
30422 [UNIX98] (vswscanf): Likewise.
30423
fb1ae1ee
JM
304242012-11-09 Joseph Myers <joseph@codesourcery.com>
30425
9ec6f8bd
JM
30426 * timezone/version.h: Remove file.
30427 * timezone/README: Do not refer to version.h.
30428 * timezone/Makefile ($(objpfx)zic.o): New dependency on
30429 $(objpfx)version.h.
30430 ($(objpfx)zdump.o): Likewise.
c3f81911 30431 ($(objpfx)version.h): New target.
9ec6f8bd 30432
0aa8f8a1
JM
30433 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
30434 2012i.
30435 * timezone/README: Don't mention modification to tzselect.ksh.
30436 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
30437 work on unmodified tzselect.ksh. Substitute version numbers in
30438 tzselect.ksh.
30439
4e87147f
JM
30440 * Makefile (format-me): Remove.
30441 (INSTALL): Adjust indentation. Use commands directly instead of
30442 using $(format-me).
30443
8b748aed
JM
30444 * aclocal.m4 (ACX_PKGVERSION): New macro.
30445 (ACX_BUGURL): Likewise.
30446 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
30447 (PKGVERSION): New AC_DEFINE_UNQUOTED.
30448 (REPORT_BUGS_TO): Likewise.
30449 * configure: Regenerated.
30450 * config.h.in (PKGVERSION): New macro.
30451 (REPORT_BUGS_TO): Likewise.
30452 * config.make.in (PKGVERSION): New variable.
30453 (PKGVERSION_TEXI): Likewise.
30454 (REPORT_BUGS_TO): Likewise.
30455 (REPORT_BUGS_TEXI): Likewise.
30456 * Makefile (format-me): Use -I$(common-objpfx)manual.
30457 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
30458 ($(common-objpfx)manual/%): New target.
30459 (manual/%): Remove target.
30460 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
30461 (print_version): Use PKGVERSION.
30462 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
30463 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
30464 and REPORT_BUGS_TO.
30465 ($(objpfx)xtrace): Likewise.
30466 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
30467 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
30468 (print_version): Use PKGVERSION.
30469 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
30470 (do_version): Use PKGVERSION.
30471 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
30472 REPORT_BUGS_TO.
30473 (common-ldd-rewrite): Likewise.
30474 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
30475 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
30476 (print_version): Use PKGVERSION.
30477 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
30478 * elf/pldd.c (argp_program_bug_address): Remove variable.
30479 (more_help): New function.
30480 (argp): Use more_help.
30481 (print_version): Use PKGVERSION.
30482 * elf/sln.c (main): Use PKGVERSION.
30483 (usage): Use REPORT_BUGS_TO.
30484 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
30485 (top level): Use PKGVERSION.
30486 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
30487 (print_version): Use PKGVERSION.
30488 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
30489 (print_version): Use PKGVERSION.
30490 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
30491 (print_version): Use PKGVERSION.
30492 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
30493 (print_version): Use PKGVERSION.
30494 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
30495 (print_version): Use PKGVERSION.
30496 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
30497 (print_version): Use PKGVERSION.
30498 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
30499 and BUGURL.
30500 ($(objpfx)memusage): Likewise.
30501 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
30502 (do_version): Use PKGVERSION.
30503 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
30504 (print_version): Use PKGVERSION.
30505 * malloc/mtrace.pl ($PACKAGE): Remove variable.
30506 ($PKGVERSION): New variable.
30507 ($REPORT_BUGS_TO): Likewise.
30508 (usage): Use $REPORT_BUGS_TO.
30509 (top level): Use $PKGVERSION.
30510 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
30511 ($(objpfx)pkgvers.texi): New rule.
30512 ($(objpfx)stamp-pkgvers): Likewise.
30513 * manual/install.texi: Include pkgvers.texi.
30514 (--with-pkgversion): Document new configure option.
30515 (--with-bugurl): Likewise.
30516 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
30517 than necessarily for this particular distribution. Use
30518 REPORT_BUGS_TO for where to report bugs.
30519 * INSTALL: Regenerated.
30520 * manual/libc.texinfo: Include pkgvers.texi.
30521 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
30522 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
30523 (print_version): Use PKGVERSION.
30524 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
30525 (print_version): Use PKGVERSION.
30526 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
30527 (print_version): Use PKGVERSION.
30528 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
30529 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
30530 macro.
30531 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
30532 (print_version): Use PKGVERSION.
30533 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
30534 (print_version): Use PKGVERSION.
30535 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
30536 and PKGVERSION.
30537
92e4b6a9
JM
30538 * timezone/checktab.awk: Update from tzcode 2012i.
30539 * timezone/ialloc.c: Likewise.
30540 * timezone/private.h: Likewise.
30541 * timezone/scheck.c: Likewise.
30542 * timezone/tzfile.h: Likewise.
30543 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
30544 (TZVERSION): Hardcode tzcode version number.
30545 * timezone/zdump.c: Update from tzcode 2012i.
30546 * timezone/zic.c: Likewise.
30547 * timezone/version.h: New file.
30548 * timezone/README: Describe version.h. Update upstream location.
30549
9bde902c
JM
30550 [BZ #14824]
30551 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
30552 (mktemp): Enable declaration.
30553 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
30554 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
30555 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
30556 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
30557 Likewise.
30558 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
30559 Likewise.
30560 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
30561 Likewise.
30562 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
30563 Likewise.
30564 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
30565 Likewise.
30566 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
30567 Likewise.
30568
fb1ae1ee
JM
30569 [BZ #14821]
30570 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
30571 offset in buffer as u_int32_t not u_long. Consistently use memcpy
30572 for copies of such integer values.
30573 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30574 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30575
2c1adbcb
AJ
305762012-11-09 Andreas Jaeger <aj@suse.de>
30577
30578 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
30579 definitions and declarations that are provided by
30580 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30581
d0f8457e
AK
305822012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30583
3a235abb 30584 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
30585 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
30586 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
30587 definition.
30588
57241e26
MS
305892012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30590
30591 * elf/elf.h: Update comment before AArch64 relocations.
30592
60e8270d
DM
305932012-11-07 David S. Miller <davem@davemloft.net>
30594
30595 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
30596 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30597 (__start_context): Declare.
30598 (__makecontext_ret): Delete.
30599 (__makecontext): Hook up __start_context instead of
30600 __makecontext_ret.
30601 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
30602 (sysdep_routines): Add __start_context when in stdlib.
30603
0fbb0fbc
JM
306042012-11-07 Joseph Myers <joseph@codesourcery.com>
30605
30606 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
30607 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
30608 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
30609 hardcoded "nm".
30610 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
30611 (READELF): New variable. Use it instead of hardcoded "readelf".
30612
eb48db7e
L
306132012-11-07 H.J. Lu <hongjiu.lu@intel.com>
30614
30615 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
30616 * sysdeps/x86/Makefile: Here.
30617 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
30618 * sysdeps/x86/tst-xmmymm.sh: This.
30619
05bcf62a
JM
306202012-11-07 Joseph Myers <joseph@codesourcery.com>
30621
c4b6cf53
JM
30622 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
30623 expectations.
30624 [UNIX98] (pthread_barrier_t): Do not expect.
30625 [UNIX98] (pthread_barrierattr_t): Likewise.
30626 [UNIX98] (pthread_spinlock_t): Likewise.
30627 [UNIX98] (pthread_barrier_destroy): Likewise.
30628 [UNIX98] (pthread_barrier_init): Likewise.
30629 [UNIX98] (pthread_barrier_wait): Likewise.
30630 [UNIX98] (pthread_barrierattr_destroy): Likewise.
30631 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
30632 [UNIX98] (pthread_barrierattr_init): Likewise.
30633 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
30634 [UNIX98] (pthread_getcpuclockid): Likewise.
30635 [UNIX98] (pthread_mutex_timedlock): Likewise.
30636 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
30637 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
30638 [UNIX98] (pthread_sigmask): Likewise.
30639 [UNIX98] (pthread_spin_destroy): Likewise.
30640 [UNIX98] (pthread_spin_init): Likewise.
30641 [UNIX98] (pthread_spin_lock): Likewise.
30642 [UNIX98] (pthread_spin_trylock): Likewise.
30643 [UNIX98] (pthread_spin_unlock): Likewise.
30644 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
30645 Do not expect.
30646 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
30647 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
30648 [XPG3 || XPG4] (pthread_cond_t): Likewise.
30649 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
30650 [XPG3 || XPG4] (pthread_key_t): Likewise.
30651 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
30652 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
30653 [XPG3 || XPG4] (pthread_once_t): Likewise.
30654 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
30655 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
30656 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
30657 [XPG3 || XPG4] (pthread_t): Likewise.
30658
cbe6e120
JM
30659 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
30660 not expect.
30661 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
30662
1b126443
JM
30663 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
30664 Change function return type to int.
30665
b961a573
JM
30666 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
30667 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
30668 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
30669 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
30670 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
30671 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
30672 [!POSIX] (posix_madvise): Likewise.
30673 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
30674 && !UNIX98].
30675 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
30676 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
30677 (mode_t): Likewise.
30678 (posix_mem_offset): Likewise.
30679 (posix_typed_mem_get_info): Likewise.
30680 (posix_typed_mem_open): Likewise.
30681
9e188909
JM
30682 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
30683 Change condition to [XOPEN2K8].
30684
05bcf62a
JM
30685 * conform/conformtest.pl: Preprocess allow-header data with -x c
30686 instead of from stdin.
30687 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
30688 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
30689 [C99-based standards] (cerfc): Likewise.
30690 [C99-based standards] (cexp2): Likewise.
30691 [C99-based standards] (cexpm1): Likewise.
30692 [C99-based standards] (clog10): Likewise.
30693 [C99-based standards] (clog1p): Likewise.
30694 [C99-based standards] (clog2): Likewise.
30695 [C99-based standards] (clgamma): Likewise.
30696 [C99-based standards] (ctgamma): Likewise.
30697 [C99-based standards] (cerff): Likewise.
30698 [C99-based standards] (cerfcf): Likewise.
30699 [C99-based standards] (cexp2f): Likewise.
30700 [C99-based standards] (cexpm1f): Likewise.
30701 [C99-based standards] (clog10f): Likewise.
30702 [C99-based standards] (clog1pf): Likewise.
30703 [C99-based standards] (clog2f): Likewise.
30704 [C99-based standards] (clgammaf): Likewise.
30705 [C99-based standards] (ctgammaf): Likewise.
30706 [C99-based standards] (cerfl): Likewise.
30707 [C99-based standards] (cerfcl): Likewise.
30708 [C99-based standards] (cexp2l): Likewise.
30709 [C99-based standards] (cexpm1l): Likewise.
30710 [C99-based standards] (clog10l): Likewise.
30711 [C99-based standards] (clog1pl): Likewise.
30712 [C99-based standards] (clog2l): Likewise.
30713 [C99-based standards] (clgammal): Likewise.
30714 [C99-based standards] (ctgammal): Likewise.
30715 * conform/data/inttypes.h-data [C99-based standards]: Include
30716 stdint.h-data. Remove all expectations for stdint.h contents.
30717 [C99-based standards] (PRI*): Do not allow.
30718 [C99-based standards] (SCN*): Likewise.
30719 [C99-based standards] (*_t): Likewise.
30720 [C99-based-standards] (PRId8): Expect macro.
30721 [C99-based-standards] (PRIi8): Likewise.
30722 [C99-based-standards] (PRIo8): Likewise.
30723 [C99-based-standards] (PRIu8): Likewise.
30724 [C99-based-standards] (PRIx8): Likewise.
30725 [C99-based-standards] (PRIX8): Likewise.
30726 [C99-based-standards] (SCNd8): Likewise.
30727 [C99-based-standards] (SCNi8): Likewise.
30728 [C99-based-standards] (SCNo8): Likewise.
30729 [C99-based-standards] (SCNu8): Likewise.
30730 [C99-based-standards] (SCNx8): Likewise.
30731 [C99-based-standards] (PRIdLEAST8): Likewise.
30732 [C99-based-standards] (PRIiLEAST8): Likewise.
30733 [C99-based-standards] (PRIoLEAST8): Likewise.
30734 [C99-based-standards] (PRIuLEAST8): Likewise.
30735 [C99-based-standards] (PRIxLEAST8): Likewise.
30736 [C99-based-standards] (PRIXLEAST8): Likewise.
30737 [C99-based-standards] (SCNdLEAST8): Likewise.
30738 [C99-based-standards] (SCNiLEAST8): Likewise.
30739 [C99-based-standards] (SCNoLEAST8): Likewise.
30740 [C99-based-standards] (SCNuLEAST8): Likewise.
30741 [C99-based-standards] (SCNxLEAST8): Likewise.
30742 [C99-based-standards] (PRIdFAST8): Likewise.
30743 [C99-based-standards] (PRIiFAST8): Likewise.
30744 [C99-based-standards] (PRIoFAST8): Likewise.
30745 [C99-based-standards] (PRIuFAST8): Likewise.
30746 [C99-based-standards] (PRIxFAST8): Likewise.
30747 [C99-based-standards] (PRIXFAST8): Likewise.
30748 [C99-based-standards] (SCNdFAST8): Likewise.
30749 [C99-based-standards] (SCNiFAST8): Likewise.
30750 [C99-based-standards] (SCNoFAST8): Likewise.
30751 [C99-based-standards] (SCNuFAST8): Likewise.
30752 [C99-based-standards] (SCNxFAST8): Likewise.
30753 [C99-based-standards] (PRId16): Likewise.
30754 [C99-based-standards] (PRIi16): Likewise.
30755 [C99-based-standards] (PRIo16): Likewise.
30756 [C99-based-standards] (PRIu16): Likewise.
30757 [C99-based-standards] (PRIx16): Likewise.
30758 [C99-based-standards] (PRIX16): Likewise.
30759 [C99-based-standards] (SCNd16): Likewise.
30760 [C99-based-standards] (SCNi16): Likewise.
30761 [C99-based-standards] (SCNo16): Likewise.
30762 [C99-based-standards] (SCNu16): Likewise.
30763 [C99-based-standards] (SCNx16): Likewise.
30764 [C99-based-standards] (PRIdLEAST16): Likewise.
30765 [C99-based-standards] (PRIiLEAST16): Likewise.
30766 [C99-based-standards] (PRIoLEAST16): Likewise.
30767 [C99-based-standards] (PRIuLEAST16): Likewise.
30768 [C99-based-standards] (PRIxLEAST16): Likewise.
30769 [C99-based-standards] (PRIXLEAST16): Likewise.
30770 [C99-based-standards] (SCNdLEAST16): Likewise.
30771 [C99-based-standards] (SCNiLEAST16): Likewise.
30772 [C99-based-standards] (SCNoLEAST16): Likewise.
30773 [C99-based-standards] (SCNuLEAST16): Likewise.
30774 [C99-based-standards] (SCNxLEAST16): Likewise.
30775 [C99-based-standards] (PRIdFAST16): Likewise.
30776 [C99-based-standards] (PRIiFAST16): Likewise.
30777 [C99-based-standards] (PRIoFAST16): Likewise.
30778 [C99-based-standards] (PRIuFAST16): Likewise.
30779 [C99-based-standards] (PRIxFAST16): Likewise.
30780 [C99-based-standards] (PRIXFAST16): Likewise.
30781 [C99-based-standards] (SCNdFAST16): Likewise.
30782 [C99-based-standards] (SCNiFAST16): Likewise.
30783 [C99-based-standards] (SCNoFAST16): Likewise.
30784 [C99-based-standards] (SCNuFAST16): Likewise.
30785 [C99-based-standards] (SCNxFAST16): Likewise.
30786 [C99-based-standards] (PRId32): Likewise.
30787 [C99-based-standards] (PRIi32): Likewise.
30788 [C99-based-standards] (PRIo32): Likewise.
30789 [C99-based-standards] (PRIu32): Likewise.
30790 [C99-based-standards] (PRIx32): Likewise.
30791 [C99-based-standards] (PRIX32): Likewise.
30792 [C99-based-standards] (SCNd32): Likewise.
30793 [C99-based-standards] (SCNi32): Likewise.
30794 [C99-based-standards] (SCNo32): Likewise.
30795 [C99-based-standards] (SCNu32): Likewise.
30796 [C99-based-standards] (SCNx32): Likewise.
30797 [C99-based-standards] (PRIdLEAST32): Likewise.
30798 [C99-based-standards] (PRIiLEAST32): Likewise.
30799 [C99-based-standards] (PRIoLEAST32): Likewise.
30800 [C99-based-standards] (PRIuLEAST32): Likewise.
30801 [C99-based-standards] (PRIxLEAST32): Likewise.
30802 [C99-based-standards] (PRIXLEAST32): Likewise.
30803 [C99-based-standards] (SCNdLEAST32): Likewise.
30804 [C99-based-standards] (SCNiLEAST32): Likewise.
30805 [C99-based-standards] (SCNoLEAST32): Likewise.
30806 [C99-based-standards] (SCNuLEAST32): Likewise.
30807 [C99-based-standards] (SCNxLEAST32): Likewise.
30808 [C99-based-standards] (PRIdFAST32): Likewise.
30809 [C99-based-standards] (PRIiFAST32): Likewise.
30810 [C99-based-standards] (PRIoFAST32): Likewise.
30811 [C99-based-standards] (PRIuFAST32): Likewise.
30812 [C99-based-standards] (PRIxFAST32): Likewise.
30813 [C99-based-standards] (PRIXFAST32): Likewise.
30814 [C99-based-standards] (SCNdFAST32): Likewise.
30815 [C99-based-standards] (SCNiFAST32): Likewise.
30816 [C99-based-standards] (SCNoFAST32): Likewise.
30817 [C99-based-standards] (SCNuFAST32): Likewise.
30818 [C99-based-standards] (SCNxFAST32): Likewise.
30819 [C99-based-standards] (PRId64): Likewise.
30820 [C99-based-standards] (PRIi64): Likewise.
30821 [C99-based-standards] (PRIo64): Likewise.
30822 [C99-based-standards] (PRIu64): Likewise.
30823 [C99-based-standards] (PRIx64): Likewise.
30824 [C99-based-standards] (PRIX64): Likewise.
30825 [C99-based-standards] (SCNd64): Likewise.
30826 [C99-based-standards] (SCNi64): Likewise.
30827 [C99-based-standards] (SCNo64): Likewise.
30828 [C99-based-standards] (SCNu64): Likewise.
30829 [C99-based-standards] (SCNx64): Likewise.
30830 [C99-based-standards] (PRIdLEAST64): Likewise.
30831 [C99-based-standards] (PRIiLEAST64): Likewise.
30832 [C99-based-standards] (PRIoLEAST64): Likewise.
30833 [C99-based-standards] (PRIuLEAST64): Likewise.
30834 [C99-based-standards] (PRIxLEAST64): Likewise.
30835 [C99-based-standards] (PRIXLEAST64): Likewise.
30836 [C99-based-standards] (SCNdLEAST64): Likewise.
30837 [C99-based-standards] (SCNiLEAST64): Likewise.
30838 [C99-based-standards] (SCNoLEAST64): Likewise.
30839 [C99-based-standards] (SCNuLEAST64): Likewise.
30840 [C99-based-standards] (SCNxLEAST64): Likewise.
30841 [C99-based-standards] (PRIdFAST64): Likewise.
30842 [C99-based-standards] (PRIiFAST64): Likewise.
30843 [C99-based-standards] (PRIoFAST64): Likewise.
30844 [C99-based-standards] (PRIuFAST64): Likewise.
30845 [C99-based-standards] (PRIxFAST64): Likewise.
30846 [C99-based-standards] (PRIXFAST64): Likewise.
30847 [C99-based-standards] (SCNdFAST64): Likewise.
30848 [C99-based-standards] (SCNiFAST64): Likewise.
30849 [C99-based-standards] (SCNoFAST64): Likewise.
30850 [C99-based-standards] (SCNuFAST64): Likewise.
30851 [C99-based-standards] (SCNxFAST64): Likewise.
30852 [C99-based-standards] (PRIdMAX): Likewise.
30853 [C99-based-standards] (PRIiMAX): Likewise.
30854 [C99-based-standards] (PRIoMAX): Likewise.
30855 [C99-based-standards] (PRIuMAX): Likewise.
30856 [C99-based-standards] (PRIxMAX): Likewise.
30857 [C99-based-standards] (PRIXMAX): Likewise.
30858 [C99-based-standards] (SCNdMAX): Likewise.
30859 [C99-based-standards] (SCNiMAX): Likewise.
30860 [C99-based-standards] (SCNoMAX): Likewise.
30861 [C99-based-standards] (SCNuMAX): Likewise.
30862 [C99-based-standards] (SCNxMAX): Likewise.
30863 [C99-based-standards] (PRIdPTR): Likewise.
30864 [C99-based-standards] (PRIiPTR): Likewise.
30865 [C99-based-standards] (PRIoPTR): Likewise.
30866 [C99-based-standards] (PRIuPTR): Likewise.
30867 [C99-based-standards] (PRIxPTR): Likewise.
30868 [C99-based-standards] (PRIXPTR): Likewise.
30869 [C99-based-standards] (SCNdPTR): Likewise.
30870 [C99-based-standards] (SCNiPTR): Likewise.
30871 [C99-based-standards] (SCNoPTR): Likewise.
30872 [C99-based-standards] (SCNuPTR): Likewise.
30873 [C99-based-standards] (SCNxPTR): Likewise.
30874 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30875 allow.
30876 * conform/data/stdint.h-data: Update comments to clarify
30877 requirements.
30878 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
30879 type.
30880 [C99-based standards] (INT8_MAX): Likewise.
30881 [C99-based standards] (INT16_MIN): Likewise.
30882 [C99-based standards] (INT16_MAX): Likewise.
30883 [C99-based standards] (INT32_MIN): Likewise.
30884 [C99-based standards] (INT32_MAX): Likewise.
30885 [C99-based standards] (INT64_MIN): Likewise.
30886 [C99-based standards] (INT64_MAX): Likewise.
30887 [C99-based standards] (UINT8_MAX): Likewise.
30888 [C99-based standards] (UINT16_MAX): Likewise.
30889 [C99-based standards] (UINT32_MAX): Likewise.
30890 [C99-based standards] (UINT64_MAX): Likewise.
30891 [C99-based standards] (INT_LEAST8_MIN): Likewise.
30892 [C99-based standards] (INT_LEAST8_MAX): Likewise.
30893 [C99-based standards] (INT_LEAST16_MIN): Likewise.
30894 [C99-based standards] (INT_LEAST16_MAX): Likewise.
30895 [C99-based standards] (INT_LEAST32_MIN): Likewise.
30896 [C99-based standards] (INT_LEAST32_MAX): Likewise.
30897 [C99-based standards] (INT_LEAST64_MIN): Likewise.
30898 [C99-based standards] (INT_LEAST64_MAX): Likewise.
30899 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30900 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30901 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30902 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30903 [C99-based standards] (INT_FAST8_MIN): Likewise.
30904 [C99-based standards] (INT_FAST8_MAX): Likewise.
30905 [C99-based standards] (INT_FAST16_MIN): Likewise.
30906 [C99-based standards] (INT_FAST16_MAX): Likewise.
30907 [C99-based standards] (INT_FAST32_MIN): Likewise.
30908 [C99-based standards] (INT_FAST32_MAX): Likewise.
30909 [C99-based standards] (INT_FAST64_MIN): Likewise.
30910 [C99-based standards] (INT_FAST64_MAX): Likewise.
30911 [C99-based standards] (UINT_FAST8_MAX): Likewise.
30912 [C99-based standards] (UINT_FAST16_MAX): Likewise.
30913 [C99-based standards] (UINT_FAST32_MAX): Likewise.
30914 [C99-based standards] (UINT_FAST64_MAX): Likewise.
30915 [C99-based standards] (INTPTR_MIN): Likewise.
30916 [C99-based standards] (INTPTR_MAX): Likewise.
30917 [C99-based standards] (UINTPTR_MAX): Likewise.
30918 [C99-based standards] (INTMAX_MIN): Likewise.
30919 [C99-based standards] (INTMAX_MAX): Likewise.
30920 [C99-based standards] (UINTMAX_MAX): Likewise.
30921 [C99-based standards] (PTRDIFF_MIN): Likewise.
30922 [C99-based standards] (PTRDIFF_MAX): Likewise.
30923 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30924 [C99-based standards] (SIZE_MAX): Likewise.
30925 [C99-based standards] (WCHAR_MAX): Likewise.
30926 [C99-based standards] (WINT_MAX): Likewise.
30927 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
30928 constraint on value.
30929 [C99-based standards] (WCHAR_MIN): Likewise.
30930 [C99-based standards] (WINT_MIN): Likewise.
30931 [C99-based standards] (*_t): Allow.
30932 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30933 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30934 Include math.h-data and complex.h-data. Remove all expectations
30935 of math.h and complex.h contents.
30936 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30937 at end of line.
30938 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30939 (struct tm): Expect tag.
30940 [C99-based-standards] (wcstof): Expect function.
30941 [C99-based-standards] (wcstold): Likewise.
30942 [C99-based-standards] (wcstoll): Likewise.
30943 [C99-based-standards] (wcstoull): Likewise.
30944 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30945 macro-int-constant. Specify type.
30946 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
30947 constraint on value.
30948 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30949 Specify type.
30950 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30951 Specify value.
30952 [ISO C standards]: Do not allow headers.
30953 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30954 wcs[abcdefghijklmnopqrstuvwxyz]*.
30955 [ISO C standards] (*_t): Do not allow.
30956 * conform/data/wctype.h-data [C99-based standards] (iswblank):
30957 Expect function.
30958 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30959 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30960 Specify type.
30961 [ISO C standards]: Do not allow headers.
30962 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
30963 is[abcdefghijklmnopqrstuvwxyz]*.
30964 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
30965 to[abcdefghijklmnopqrstuvwxyz]*.
30966 [ISO C standards] (*_t): Do not allow.
30967 * conform/data/stdalign.h-data: New file.
30968 * conform/data/stdbool.h-data: Likewise.
30969 * conform/data/stdnoreturn.h-data: Likewise.
30970
7514feb8
RM
309712012-11-07 Roland McGrath <roland@hack.frob.com>
30972
30973 [BZ #14815]
30974 * manual/filesys.texi (Directory Entries): Typo fix.
30975 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
30976
19b2ecfc
MS
309772012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30978
30979 * elf/elf.h (EM_AARCH64): New macro.
30980 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
30981 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
30982 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
30983 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
30984 (R_AARCH64_TLSDESC): Likewise.
30985 (NT_ARM_TLS): Likewise.
30986 (NT_ARM_HW_BREAK): Likewise.
30987 (NT_ARM_HW_WATCH): Likewise.
30988
60e235ee
JM
309892012-11-07 Joseph Myers <joseph@codesourcery.com>
30990
30991 [BZ #14811]
30992 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
30993 (__ieee754_powl): Saturate nonzero exponents with absolute value
30994 below 0x1p-79 to +/- 0x1p-79.
30995 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
30996 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
30997 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
30998 nonzero exponents with absolute value below 0x1p-32 to +/-
30999 0x1p-32.
31000 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
31001 (__ieee754_powl): Saturate nonzero exponents with absolute value
31002 below 0x1p-79 to +/- 0x1p-79.
31003 * math/libm-test.inc (pow_test): Add more tests.
31004
0ab234b7
AK
310052012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31006
31007 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
31008 _dl_s390_cap_flags with kernel. Increase string length.
31009 (_dl_s390_platforms): Add z196 and zEC12.
31010
45832f74
JM
310112012-11-07 Joseph Myers <joseph@codesourcery.com>
31012
31013 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
31014 Change XOPEN21K to XOPEN2K.
31015
19218757
MK
310162012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
31017
31018 * string/memmove.c: Use memcpy when possible.
31019
c5f45721
AJ
310202012-11-06 Andreas Jaeger <aj@suse.de>
31021
31022 * po/eo.po: Update from translation team.
31023
82477c28
JM
310242012-11-06 Joseph Myers <joseph@codesourcery.com>
31025
31026 [BZ #14793]
31027 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
31028 exponent and small x and y exponents, scale x or y up. Increase
31029 by 2 the exponent used in scaling up.
31030 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31031 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31032 * math/libm-test.inc (fma_test): Add more tests.
31033 (fma_test_towardzero): Likewise.
31034 (fma_test_downward): Likewise.
31035 (fma_test_upward): Likewise.
31036
99252c8c
JM
310372012-11-05 Joseph Myers <joseph@codesourcery.com>
31038
acfa885f
JM
31039 [BZ #14805]
31040 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
31041 fenv_t *.
31042
99252c8c
JM
31043 [BZ #14801]
31044 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
31045 namespace for names of struct fields.
31046 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
31047 fenv_t fields.
31048 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
31049 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
31050
d6d98dea
ST
310512012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
31052
31053 [BZ #3665]
31054 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
31055
e10bb107
TS
310562012-11-04 Thomas Schwinge <thomas@codesourcery.com>
31057
31058 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
31059 PTR_DEMANGLE.
31060
31061 [BZ #5246]
31062 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
31063 PTR_DEMANGLE.
31064
a0c2940d
JM
310652012-11-04 Joseph Myers <joseph@codesourcery.com>
31066
31067 [BZ #14797]
31068 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
31069 definitely overflow as x * y not x * y + z.
31070 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31071 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31072 * math/libm-test.inc (fma_test): Add more tests.
31073 (fma_test_towardzero): Likewise.
31074 (fma_test_downward): Likewise.
31075 (fma_test_upward): Likewise.
31076
b830319d
TS
310772012-11-04 Thomas Schwinge <thomas@codesourcery.com>
31078
31079 [BZ #157]
31080
31081 * include/stub-tag.h: Remove file.
31082 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
31083 '#include' of it.
31084 * manual/maint.texi (Porting): Don't reference it.
31085 * Makerules ($(objpfx)stubs): Likewise.
31086 * dirent/closedir.c: Don't include <stub-tag.h>.
31087 * dirent/dirfd.c: Likewise.
31088 * dirent/fdopendir.c: Likewise.
31089 * dirent/getdents.c: Likewise.
31090 * dirent/getdents64.c: Likewise.
31091 * dirent/opendir.c: Likewise.
31092 * dirent/readdir.c: Likewise.
31093 * dirent/readdir64.c: Likewise.
31094 * dirent/readdir64_r.c: Likewise.
31095 * dirent/readdir_r.c: Likewise.
31096 * dirent/rewinddir.c: Likewise.
31097 * dirent/seekdir.c: Likewise.
31098 * dirent/telldir.c: Likewise.
31099 * gmon/profil.c: Likewise.
31100 * grp/setgroups.c: Likewise.
31101 * inet/if_index.c: Likewise.
31102 * io/access.c: Likewise.
31103 * io/chdir.c: Likewise.
31104 * io/chmod.c: Likewise.
31105 * io/chown.c: Likewise.
31106 * io/close.c: Likewise.
31107 * io/dup.c: Likewise.
31108 * io/dup2.c: Likewise.
31109 * io/dup3.c: Likewise.
31110 * io/euidaccess.c: Likewise.
31111 * io/faccessat.c: Likewise.
31112 * io/fchdir.c: Likewise.
31113 * io/fchmod.c: Likewise.
31114 * io/fchmodat.c: Likewise.
31115 * io/fchown.c: Likewise.
31116 * io/fchownat.c: Likewise.
31117 * io/fcntl.c: Likewise.
31118 * io/flock.c: Likewise.
31119 * io/fstatfs.c: Likewise.
31120 * io/fstatfs64.c: Likewise.
31121 * io/fstatvfs.c: Likewise.
31122 * io/fstatvfs64.c: Likewise.
31123 * io/futimens.c: Likewise.
31124 * io/fxstat.c: Likewise.
31125 * io/fxstat64.c: Likewise.
31126 * io/fxstatat.c: Likewise.
31127 * io/fxstatat64.c: Likewise.
31128 * io/getcwd.c: Likewise.
31129 * io/isatty.c: Likewise.
31130 * io/lchmod.c: Likewise.
31131 * io/lchown.c: Likewise.
31132 * io/link.c: Likewise.
31133 * io/linkat.c: Likewise.
31134 * io/lseek.c: Likewise.
31135 * io/lseek64.c: Likewise.
31136 * io/lxstat64.c: Likewise.
31137 * io/mkdir.c: Likewise.
31138 * io/mkdirat.c: Likewise.
31139 * io/mkfifo.c: Likewise.
31140 * io/mkfifoat.c: Likewise.
31141 * io/open.c: Likewise.
31142 * io/open64.c: Likewise.
31143 * io/openat.c: Likewise.
31144 * io/openat64.c: Likewise.
31145 * io/pipe.c: Likewise.
31146 * io/pipe2.c: Likewise.
31147 * io/poll.c: Likewise.
31148 * io/posix_fadvise.c: Likewise.
31149 * io/posix_fadvise64.c: Likewise.
31150 * io/posix_fallocate.c: Likewise.
31151 * io/posix_fallocate64.c: Likewise.
31152 * io/read.c: Likewise.
31153 * io/readlink.c: Likewise.
31154 * io/readlinkat.c: Likewise.
31155 * io/rmdir.c: Likewise.
31156 * io/sendfile.c: Likewise.
31157 * io/sendfile64.c: Likewise.
31158 * io/statfs.c: Likewise.
31159 * io/statfs64.c: Likewise.
31160 * io/statvfs.c: Likewise.
31161 * io/statvfs64.c: Likewise.
31162 * io/symlink.c: Likewise.
31163 * io/symlinkat.c: Likewise.
31164 * io/ttyname.c: Likewise.
31165 * io/ttyname_r.c: Likewise.
31166 * io/umask.c: Likewise.
31167 * io/unlink.c: Likewise.
31168 * io/unlinkat.c: Likewise.
31169 * io/utime.c: Likewise.
31170 * io/utimensat.c: Likewise.
31171 * io/write.c: Likewise.
31172 * io/xmknod.c: Likewise.
31173 * io/xmknodat.c: Likewise.
31174 * io/xstat.c: Likewise.
31175 * io/xstat64.c: Likewise.
31176 * login/getpt.c: Likewise.
31177 * login/grantpt.c: Likewise.
31178 * login/unlockpt.c: Likewise.
31179 * math/e_acoshl.c: Likewise.
31180 * math/e_acosl.c: Likewise.
31181 * math/e_asinl.c: Likewise.
31182 * math/e_atan2l.c: Likewise.
31183 * math/e_atanhl.c: Likewise.
31184 * math/e_coshl.c: Likewise.
31185 * math/e_expl.c: Likewise.
31186 * math/e_fmodl.c: Likewise.
31187 * math/e_gammal_r.c: Likewise.
31188 * math/e_hypotl.c: Likewise.
31189 * math/e_j0l.c: Likewise.
31190 * math/e_j1l.c: Likewise.
31191 * math/e_jnl.c: Likewise.
31192 * math/e_lgammal_r.c: Likewise.
31193 * math/e_log10l.c: Likewise.
31194 * math/e_log2l.c: Likewise.
31195 * math/e_logl.c: Likewise.
31196 * math/e_powl.c: Likewise.
31197 * math/e_rem_pio2l.c: Likewise.
31198 * math/e_sinhl.c: Likewise.
31199 * math/e_sqrtl.c: Likewise.
31200 * math/fclrexcpt.c: Likewise.
31201 * math/fedisblxcpt.c: Likewise.
31202 * math/feenablxcpt.c: Likewise.
31203 * math/fegetenv.c: Likewise.
31204 * math/fegetexcept.c: Likewise.
31205 * math/fegetround.c: Likewise.
31206 * math/feholdexcpt.c: Likewise.
31207 * math/fesetenv.c: Likewise.
31208 * math/fesetround.c: Likewise.
31209 * math/feupdateenv.c: Likewise.
31210 * math/fgetexcptflg.c: Likewise.
31211 * math/fraiseexcpt.c: Likewise.
31212 * math/fsetexcptflg.c: Likewise.
31213 * math/ftestexcept.c: Likewise.
31214 * math/k_cosl.c: Likewise.
31215 * math/k_rem_pio2l.c: Likewise.
31216 * math/k_sinl.c: Likewise.
31217 * math/k_tanl.c: Likewise.
31218 * math/s_asinhl.c: Likewise.
31219 * math/s_atanl.c: Likewise.
31220 * math/s_cbrtl.c: Likewise.
31221 * math/s_erfl.c: Likewise.
31222 * math/s_expm1l.c: Likewise.
31223 * math/s_log1pl.c: Likewise.
31224 * math/s_tanhl.c: Likewise.
31225 * misc/acct.c: Likewise.
31226 * misc/brk.c: Likewise.
31227 * misc/chflags.c: Likewise.
31228 * misc/chroot.c: Likewise.
31229 * misc/fchflags.c: Likewise.
31230 * misc/fgetxattr.c: Likewise.
31231 * misc/flistxattr.c: Likewise.
31232 * misc/fremovexattr.c: Likewise.
31233 * misc/fsetxattr.c: Likewise.
31234 * misc/fsync.c: Likewise.
31235 * misc/ftruncate.c: Likewise.
31236 * misc/futimes.c: Likewise.
31237 * misc/futimesat.c: Likewise.
31238 * misc/getdomain.c: Likewise.
31239 * misc/getdtsz.c: Likewise.
31240 * misc/gethostid.c: Likewise.
31241 * misc/gethostname.c: Likewise.
31242 * misc/getloadavg.c: Likewise.
31243 * misc/getpagesize.c: Likewise.
31244 * misc/getsysstats.c: Likewise.
31245 * misc/getxattr.c: Likewise.
31246 * misc/gtty.c: Likewise.
31247 * misc/ioctl.c: Likewise.
31248 * misc/lgetxattr.c: Likewise.
31249 * misc/listxattr.c: Likewise.
31250 * misc/llistxattr.c: Likewise.
31251 * misc/lremovexattr.c: Likewise.
31252 * misc/lsetxattr.c: Likewise.
31253 * misc/lutimes.c: Likewise.
31254 * misc/madvise.c: Likewise.
31255 * misc/mincore.c: Likewise.
31256 * misc/mlock.c: Likewise.
31257 * misc/mlockall.c: Likewise.
31258 * misc/mmap.c: Likewise.
31259 * misc/mprotect.c: Likewise.
31260 * misc/msync.c: Likewise.
31261 * misc/munlock.c: Likewise.
31262 * misc/munlockall.c: Likewise.
31263 * misc/munmap.c: Likewise.
31264 * misc/preadv.c: Likewise.
31265 * misc/preadv64.c: Likewise.
31266 * misc/ptrace.c: Likewise.
31267 * misc/pwritev.c: Likewise.
31268 * misc/pwritev64.c: Likewise.
31269 * misc/readv.c: Likewise.
31270 * misc/reboot.c: Likewise.
31271 * misc/remap_file_pages.c: Likewise.
31272 * misc/removexattr.c: Likewise.
31273 * misc/revoke.c: Likewise.
31274 * misc/select.c: Likewise.
31275 * misc/setdomain.c: Likewise.
31276 * misc/setegid.c: Likewise.
31277 * misc/seteuid.c: Likewise.
31278 * misc/sethostid.c: Likewise.
31279 * misc/sethostname.c: Likewise.
31280 * misc/setregid.c: Likewise.
31281 * misc/setreuid.c: Likewise.
31282 * misc/setxattr.c: Likewise.
31283 * misc/sstk.c: Likewise.
31284 * misc/stty.c: Likewise.
31285 * misc/swapoff.c: Likewise.
31286 * misc/swapon.c: Likewise.
31287 * misc/sync.c: Likewise.
31288 * misc/syncfs.c: Likewise.
31289 * misc/syscall.c: Likewise.
31290 * misc/truncate.c: Likewise.
31291 * misc/ualarm.c: Likewise.
31292 * misc/usleep.c: Likewise.
31293 * misc/ustat.c: Likewise.
31294 * misc/utimes.c: Likewise.
31295 * misc/vhangup.c: Likewise.
31296 * misc/writev.c: Likewise.
31297 * posix/_exit.c: Likewise.
31298 * posix/alarm.c: Likewise.
31299 * posix/execve.c: Likewise.
31300 * posix/fexecve.c: Likewise.
31301 * posix/fork.c: Likewise.
31302 * posix/fpathconf.c: Likewise.
31303 * posix/getaddrinfo.c: Likewise.
31304 * posix/getegid.c: Likewise.
31305 * posix/geteuid.c: Likewise.
31306 * posix/getgid.c: Likewise.
31307 * posix/getgroups.c: Likewise.
31308 * posix/getlogin.c: Likewise.
31309 * posix/getlogin_r.c: Likewise.
31310 * posix/getpgid.c: Likewise.
31311 * posix/getpid.c: Likewise.
31312 * posix/getppid.c: Likewise.
31313 * posix/getresgid.c: Likewise.
31314 * posix/getresuid.c: Likewise.
31315 * posix/getsid.c: Likewise.
31316 * posix/getuid.c: Likewise.
31317 * posix/glob64.c: Likewise.
31318 * posix/nanosleep.c: Likewise.
31319 * posix/pathconf.c: Likewise.
31320 * posix/pause.c: Likewise.
31321 * posix/posix_madvise.c: Likewise.
31322 * posix/pread.c: Likewise.
31323 * posix/pread64.c: Likewise.
31324 * posix/pwrite.c: Likewise.
31325 * posix/pwrite64.c: Likewise.
31326 * posix/sched_getaffinity.c: Likewise.
31327 * posix/sched_getp.c: Likewise.
31328 * posix/sched_gets.c: Likewise.
31329 * posix/sched_primax.c: Likewise.
31330 * posix/sched_primin.c: Likewise.
31331 * posix/sched_rr_gi.c: Likewise.
31332 * posix/sched_setaffinity.c: Likewise.
31333 * posix/sched_setp.c: Likewise.
31334 * posix/sched_sets.c: Likewise.
31335 * posix/sched_yield.c: Likewise.
31336 * posix/setgid.c: Likewise.
31337 * posix/setlogin.c: Likewise.
31338 * posix/setpgid.c: Likewise.
31339 * posix/setresgid.c: Likewise.
31340 * posix/setresuid.c: Likewise.
31341 * posix/setsid.c: Likewise.
31342 * posix/setuid.c: Likewise.
31343 * posix/sleep.c: Likewise.
31344 * posix/spawni.c: Likewise.
31345 * posix/sysconf.c: Likewise.
31346 * posix/times.c: Likewise.
31347 * posix/wait.c: Likewise.
31348 * posix/wait3.c: Likewise.
31349 * posix/wait4.c: Likewise.
31350 * posix/waitpid.c: Likewise.
31351 * resolv/gai_sigqueue.c: Likewise.
31352 * resource/getpriority.c: Likewise.
31353 * resource/getrlimit.c: Likewise.
31354 * resource/getrusage.c: Likewise.
31355 * resource/nice.c: Likewise.
31356 * resource/setpriority.c: Likewise.
31357 * resource/setrlimit.c: Likewise.
31358 * resource/ulimit.c: Likewise.
31359 * rt/aio_cancel.c: Likewise.
31360 * rt/aio_fsync.c: Likewise.
31361 * rt/aio_read.c: Likewise.
31362 * rt/aio_sigqueue.c: Likewise.
31363 * rt/aio_suspend.c: Likewise.
31364 * rt/aio_write.c: Likewise.
31365 * rt/clock_getres.c: Likewise.
31366 * rt/clock_gettime.c: Likewise.
31367 * rt/clock_nanosleep.c: Likewise.
31368 * rt/clock_settime.c: Likewise.
31369 * rt/lio_listio.c: Likewise.
31370 * rt/mq_close.c: Likewise.
31371 * rt/mq_getattr.c: Likewise.
31372 * rt/mq_notify.c: Likewise.
31373 * rt/mq_open.c: Likewise.
31374 * rt/mq_receive.c: Likewise.
31375 * rt/mq_send.c: Likewise.
31376 * rt/mq_setattr.c: Likewise.
31377 * rt/mq_timedreceive.c: Likewise.
31378 * rt/mq_timedsend.c: Likewise.
31379 * rt/mq_unlink.c: Likewise.
31380 * rt/shm_open.c: Likewise.
31381 * rt/shm_unlink.c: Likewise.
31382 * rt/timer_create.c: Likewise.
31383 * rt/timer_delete.c: Likewise.
31384 * rt/timer_getoverr.c: Likewise.
31385 * rt/timer_gettime.c: Likewise.
31386 * rt/timer_settime.c: Likewise.
31387 * setjmp/__longjmp.c: Likewise.
31388 * setjmp/setjmp.c: Likewise.
31389 * signal/kill.c: Likewise.
31390 * signal/killpg.c: Likewise.
31391 * signal/raise.c: Likewise.
31392 * signal/sigaction.c: Likewise.
31393 * signal/sigaltstack.c: Likewise.
31394 * signal/sigblock.c: Likewise.
31395 * signal/sigignore.c: Likewise.
31396 * signal/sigintr.c: Likewise.
31397 * signal/signal.c: Likewise.
31398 * signal/sigpause.c: Likewise.
31399 * signal/sigpending.c: Likewise.
31400 * signal/sigqueue.c: Likewise.
31401 * signal/sigreturn.c: Likewise.
31402 * signal/sigset.c: Likewise.
31403 * signal/sigsetmask.c: Likewise.
31404 * signal/sigstack.c: Likewise.
31405 * signal/sigsuspend.c: Likewise.
31406 * signal/sigtimedwait.c: Likewise.
31407 * signal/sigvec.c: Likewise.
31408 * signal/sigwait.c: Likewise.
31409 * signal/sigwaitinfo.c: Likewise.
31410 * signal/sysv_signal.c: Likewise.
31411 * socket/accept.c: Likewise.
31412 * socket/accept4.c: Likewise.
31413 * socket/bind.c: Likewise.
31414 * socket/connect.c: Likewise.
31415 * socket/getpeername.c: Likewise.
31416 * socket/getsockname.c: Likewise.
31417 * socket/getsockopt.c: Likewise.
31418 * socket/isfdtype.c: Likewise.
31419 * socket/listen.c: Likewise.
31420 * socket/recv.c: Likewise.
31421 * socket/recvfrom.c: Likewise.
31422 * socket/recvmsg.c: Likewise.
31423 * socket/send.c: Likewise.
31424 * socket/sendmsg.c: Likewise.
31425 * socket/sendto.c: Likewise.
31426 * socket/setsockopt.c: Likewise.
31427 * socket/shutdown.c: Likewise.
31428 * socket/sockatmark.c: Likewise.
31429 * socket/socket.c: Likewise.
31430 * socket/socketpair.c: Likewise.
31431 * stdio-common/ctermid.c: Likewise.
31432 * stdio-common/cuserid.c: Likewise.
31433 * stdio-common/remove.c: Likewise.
31434 * stdio-common/rename.c: Likewise.
31435 * stdio-common/renameat.c: Likewise.
31436 * stdio-common/tempname.c: Likewise.
31437 * stdlib/getcontext.c: Likewise.
31438 * stdlib/makecontext.c: Likewise.
31439 * stdlib/setcontext.c: Likewise.
31440 * stdlib/swapcontext.c: Likewise.
31441 * stdlib/system.c: Likewise.
31442 * streams/fattach.c: Likewise.
31443 * streams/fdetach.c: Likewise.
31444 * streams/getmsg.c: Likewise.
31445 * streams/getpmsg.c: Likewise.
31446 * streams/putmsg.c: Likewise.
31447 * streams/putpmsg.c: Likewise.
31448 * sysdeps/unix/bsd/getpt.c: Likewise.
31449 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
31450 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
31451 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31453 Likewise.
31454 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
31455 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31456 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
31457 * sysvipc/msgctl.c: Likewise.
31458 * sysvipc/msgget.c: Likewise.
31459 * sysvipc/msgrcv.c: Likewise.
31460 * sysvipc/msgsnd.c: Likewise.
31461 * sysvipc/semctl.c: Likewise.
31462 * sysvipc/semget.c: Likewise.
31463 * sysvipc/semop.c: Likewise.
31464 * sysvipc/semtimedop.c: Likewise.
31465 * sysvipc/shmat.c: Likewise.
31466 * sysvipc/shmctl.c: Likewise.
31467 * sysvipc/shmdt.c: Likewise.
31468 * sysvipc/shmget.c: Likewise.
31469 * termios/tcdrain.c: Likewise.
31470 * termios/tcflow.c: Likewise.
31471 * termios/tcflush.c: Likewise.
31472 * termios/tcgetattr.c: Likewise.
31473 * termios/tcgetpgrp.c: Likewise.
31474 * termios/tcsendbrk.c: Likewise.
31475 * termios/tcsetattr.c: Likewise.
31476 * termios/tcsetpgrp.c: Likewise.
31477 * time/adjtime.c: Likewise.
31478 * time/clock.c: Likewise.
31479 * time/getitimer.c: Likewise.
31480 * time/gettimeofday.c: Likewise.
31481 * time/setitimer.c: Likewise.
31482 * time/settimeofday.c: Likewise.
31483 * time/stime.c: Likewise.
31484 * time/time.c: Likewise.
31485
314862012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 31487
a20492cf
PT
31488 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
31489 /usr/old/bin.
31490
72e182e3
PT
31491 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
31492 instead of spaces.
31493 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
31494
fbeafede
JM
314952012-11-03 Joseph Myers <joseph@codesourcery.com>
31496
5b5b04d6
JM
31497 [BZ #14796]
31498 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
31499 FE_TONEAREST before applying Dekker multiplication and Knuth
31500 addition. Clear inexact exceptions and check for exact zero
31501 results afterwards.
31502 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31503 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31504 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31505 * math/libm-test.inc (fma_test): Add more tests.
31506 (fma_test_towardzero): Likewise.
31507 (fma_test_downward): Likewise.
31508 (fma_test_upward): Likewise.
31509 * sysdeps/generic/math_private.h (default_libc_fesetround): New
31510 function.
31511 (libc_fesetround): New macro.
31512 (libc_fesetroundf): Likewise.
31513 (libc_fesetroundl): Likewise.
31514 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
31515 function.
31516 (libc_fesetround_387): Likewise.
31517 (libc_fesetroundf): New macro.
31518 (libc_fesetround): Likewise.
31519 (libc_fesetroundl): Likewise.
31520 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
31521 function.
31522 (libc_fesetroundf): New macro.
31523 (libc_fesetround): Likewise.
31524 (libc_fesetroundl): Likewise.
31525 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
31526 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
31527 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
31528 libm_hidden_ver.
31529 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
31530 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
31531 libm_hidden_def.
31532 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
31533 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
31534 libm_hidden_ver.
31535 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
31536 libm_hidden_def.
31537
fbeafede
JM
31538 [BZ #3439]
31539 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
31540 integer constant usable in #if and use that to give value to enum
31541 constant.
31542 (FE_DIVBYZERO): Likewise.
31543 (FE_UNDERFLOW): Likewise.
31544 (FE_OVERFLOW): Likewise.
31545 (FE_INVALID): Likewise.
31546 (FE_INVALID_SNAN): Likewise.
31547 (FE_INVALID_ISI): Likewise.
31548 (FE_INVALID_IDI): Likewise.
31549 (FE_INVALID_ZDZ): Likewise.
31550 (FE_INVALID_IMZ): Likewise.
31551 (FE_INVALID_COMPARE): Likewise.
31552 (FE_INVALID_SOFTWARE): Likewise.
31553 (FE_INVALID_SQRT): Likewise.
31554 (FE_INVALID_INTEGER_CONVERSION): Likewise.
31555 (FE_TONEAREST): Likewise.
31556 (FE_TOWARDZERO): Likewise.
31557 (FE_UPWARD): Likewise.
31558 (FE_DOWNWARD): Likewise.
31559 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
31560 (FE_DIVBYZERO): Likewise.
31561 (FE_OVERFLOW): Likewise.
31562 (FE_UNDERFLOW): Likewise.
31563 (FE_INEXACT): Likewise.
31564 (FE_TONEAREST): Likewise.
31565 (FE_DOWNWARD): Likewise.
31566 (FE_UPWARD): Likewise.
31567 (FE_TOWARDZERO): Likewise.
31568 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
31569 (FE_UNDERFLOW): Likewise.
31570 (FE_OVERFLOW): Likewise.
31571 (FE_DIVBYZERO): Likewise.
31572 (FE_INVALID): Likewise.
31573 (FE_TONEAREST): Likewise.
31574 (FE_TOWARDZERO): Likewise.
31575 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
31576 (FE_OVERFLOW): Likewise.
31577 (FE_UNDERFLOW): Likewise.
31578 (FE_DIVBYZERO): Likewise.
31579 (FE_INEXACT): Likewise.
31580 (FE_TONEAREST): Likewise.
31581 (FE_TOWARDZERO): Likewise.
31582 (FE_UPWARD): Likewise.
31583 (FE_DOWNWARD): Likewise.
31584 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
31585 (FE_DIVBYZERO): Likewise.
31586 (FE_OVERFLOW): Likewise.
31587 (FE_UNDERFLOW): Likewise.
31588 (FE_INEXACT): Likewise.
31589 (FE_TONEAREST): Likewise.
31590 (FE_DOWNWARD): Likewise.
31591 (FE_UPWARD): Likewise.
31592 (FE_TOWARDZERO): Likewise.
31593
105ca950
CM
315942012-11-02 Chris Metcalf <cmetcalf@tilera.com>
31595
31596 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
31597
a542b389
AS
315982012-11-03 Andreas Schwab <schwab@linux-m68k.org>
31599
31600 * scripts/cross-test-ssh.sh (command): Use newlines to separate
31601 commands. Quote $PWD.
31602 (blacklist_exports): Don't use remove_newlines. Replace "declare
31603 -x" by "export".
31604 (remove_newlines): Remove.
31605
f62c8abc
L
316062012-11-02 H.J. Lu <hongjiu.lu@intel.com>
31607
31608 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
31609 * stdlib/stdlib.h (atof): Moved to ...
31610 * include/bits/stdlib-float.h: Here. New file.
31611 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
31612 * stdlib/bits/stdlib-float.h: New file.
31613 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
31614 -mno-sse -mno-mmx.
31615 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
31616 <xmmintrin.h>.
31617
0155d5b2
JM
316182012-11-02 Joseph Myers <joseph@codesourcery.com>
31619
a68d0680
JM
31620 * conform/conformtest.pl (@headers): Add fenv.h.
31621 * conform/data/fenv.h-data: New file.
31622 * include/fenv.h [_ISOMAC]: Disable all contents of file except
31623 include of <math/fenv.h>.
31624
caf7f573
JM
31625 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
31626 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
31627 && !UNIX98]. Enables tests for XOPEN2K8.
31628 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
31629 POSIX2008]: Likewise.
31630
6c073ad6
JM
31631 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
31632 (struct rusage): Do not expect type or its members.
31633
0155d5b2
JM
31634 [BZ #3439]
31635 * math/math.h (FP_NAN): Define macro to integer constant usable in
31636 #if and use that to give value to enum constant.
31637 (FP_INFINITE): Likewise.
31638 (FP_ZERO): Likewise.
31639 (FP_SUBNORMAL): Likewise.
31640 (FP_NORMAL): Likewise.
31641
b5dcacb4
AS
316422012-11-02 Andreas Schwab <schwab@linux-m68k.org>
31643
31644 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
31645 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
31646 arguments.
31647
f7934be8
RM
316482012-11-02 Roland McGrath <roland@hack.frob.com>
31649
31650 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
31651 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
31652 autoconf-time if not.
31653 * configure.in: Remove AC_PREREQ.
31654
d7d08bde
TMQMF
316552012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31656
31657 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
31658 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
31659 of the internal implementation.
31660
dcdae19a
JM
316612012-11-02 Joseph Myers <joseph@codesourcery.com>
31662
31663 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
31664 except include of <misc/sys/syslog.h>.
31665
d6cffd3e
AS
316662012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31667
31668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
31669 function returns with a NULL context exit with zero.
31670
b3563932
TMQMF
316712012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31672
31673 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
31674
b288a93d
L
316752012-11-01 H.J. Lu <hongjiu.lu@intel.com>
31676
31677 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
31678 (run_program_cmd): This.
31679 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
31680 (tst_langinfo): New variable. Use it.
31681
a2421a68
SAS
316822012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
31683
31684 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
31685 floating point opcodes.
31686
6f796e1b
TS
316872012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31688
7402596b
TS
31689 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
31690 variable.
31691
d0d4f868
TS
31692 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
31693
6f796e1b
TS
31694 * sysdeps/mach/hurd/powerpc: Remove directory.
31695 * sysdeps/mach/powerpc: Likewise.
31696
4da224a2
AS
316972012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31698
31699 * scripts/check-local-headers.sh: Ignore c++ headers.
31700
341dd673
TS
317012012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31702
31703 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
31704 __libc_cleanup_region_start argument.
31705
473611b2
JM
317062012-11-01 Joseph Myers <joseph@codesourcery.com>
31707
31708 [BZ #14784]
31709 [BZ #14785]
31710 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
31711 x * y using scaling, not as x * y + z.
31712 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31713 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31714 * math/libm-test.inc (fma_test): Add more tests.
31715 (fma_test_towardzero): Likewise.
31716 (fma_test_downward): Likewise.
31717 (fma_test_upward): Likewise.
31718
4078da3d
TS
317192012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31720
31721 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
31722
903252aa
JM
317232012-10-31 Joseph Myers <joseph@codesourcery.com>
31724
31725 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
31726 New variable.
31727
cbc818d0
TS
317282012-10-31 Thomas Schwinge <thomas@codesourcery.com>
31729
31730 * rt/tst-shm.c (worker): Correct checking for mmap failure.
31731
5a03cb1e
AS
317322012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31733
31734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31735 Fix sort order.
31736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31737 Likewise.
31738
90aff2ff
TMQMF
317392012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31740
31741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31742 Fix the order of the list for glibc 2.17.
31743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31744 Likewise.
31745
1818fcb7
AS
317462012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31747
31748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31749
ef82f4da
JM
317502012-10-31 Joseph Myers <joseph@codesourcery.com>
31751
16a0e2ec
JM
31752 [BZ #14610]
31753 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
31754 for low part of x being zero before using __atanl (y).
31755 * math/libm-test.inc (atan2_test): Add another test.
31756
0eb69512
JM
31757 * manual/install.texi (Configuring and compiling): Document
31758 general use of test-wrapper and test-wrapper-env.
31759 * INSTALL: Regenerated.
31760
ef82f4da
JM
31761 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
31762 (__fma): Do not extract and scale down low bits on after-rounding
31763 systems when result rounded to normal precision would have normal
31764 exponent.
31765 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
31766 (__fmal): Do not extract and scale down low bits on after-rounding
31767 systems when result rounded to normal precision would have normal
31768 exponent.
31769 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
31770 (__fmal): Do not extract and scale down low bits on after-rounding
31771 systems when result rounded to normal precision would have normal
31772 exponent.
31773 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
31774 macro.
31775 (fma_test): Add more tests.
31776 (fma_test_towardzero): Likewise.
31777 (fma_test_downward): Likewise.
31778 (fma_test_upward): Likewise.
31779
954ef0d9
L
317802012-10-30 H.J. Lu <hongjiu.lu@intel.com>
31781
31782 * sysdeps/i386/tininess.h: Renamed to ...
31783 * sysdeps/x86/tininess.h: This.
31784 * sysdeps/x86_64/tininess.h: Removed.
31785
df61ffb2
JM
317862012-10-30 Joseph Myers <joseph@codesourcery.com>
31787
31788 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
31789 input. Use $(build-program-cmd).
31790 ($(objpfx)tst-array1-static.out): Likewise.
31791 ($(objpfx)tst-array2.out): Likewise.
31792 ($(objpfx)tst-array3.out): Likewise.
31793 ($(objpfx)tst-array4.out): Likewise.
31794 ($(objpfx)tst-array5.out): Likewise.
31795 ($(objpfx)tst-array5-static.out): Likewise.
31796
01767843
CM
317972012-10-30 Chris Metcalf <cmetcalf@tilera.com>
31798
47cc1490
CM
31799 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
31800 if defined.
31801
01767843
CM
31802 * nss/nsswitch.h (nss_interface_function): Provide new
31803 macro for use with NSS functions.
31804 * grp/initgroups.c: Use new macro.
31805 * nss/getXXbyYY.c: Likewise.
31806 * nss/getXXbyYY_r.c: Likewise.
31807 * nss/getXXent.c: Likewise.
31808 * nss/getXXent_r.c: Likewise.
31809 * sysdeps/posix/getaddrinfo.c: Likewise.
31810
8321aa97
AJ
318112012-10-30 Andreas Jaeger <aj@suse.de>
31812
31813 * po/ru.po: Update Russion translation from translation project.
31814
2a27fd6d
JM
318152012-10-30 Joseph Myers <joseph@codesourcery.com>
31816
8627a232
JM
31817 [BZ #14152]
31818 [BZ #14783]
31819 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
31820 result and shift together with sticky bit instead of replicating
31821 round-to-nearest rounding.
31822 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31823 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31824 * math/libm-test.inc (fma_test): Add more tests. Do not permit
31825 missing underflow exceptions.
31826 (fma_test_towardzero): Add more tests.
31827 (fma_test_downward): Likewise.
31828 (fma_test_upward): Likewise.
31829
2a27fd6d
JM
31830 [BZ #14047]
31831 * sysdeps/generic/tininess.h: New file.
31832 * sysdeps/i386/tininess.h: Likewise.
31833 * sysdeps/sh/tininess.h: Likewise.
31834 * sysdeps/x86_64/tininess.h: Likewise.
31835 * stdlib/tst-strtod-underflow.c: Likewise.
31836 * stdlib/tst-tininess.c: Likewise.
31837 * stdlib/strtod_l.c: Include <tininess.h>.
31838 (round_and_return): Do not set errno for exact underflow cases.
31839 Force an underflow exception when setting errno for underflow.
31840 Determine underflow based on rounding to normal precision if
31841 TININESS_AFTER_ROUNDING.
31842 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
31843 ERANGE for exact underflow cases.
31844 * stdlib/Makefile (tests): Add tst-tininess and
31845 tst-strtod-underflow.
31846 ($(objpfx)tst-tininess): Use $(link-libm).
31847 ($(objpfx)tst-strtod-underflow): Likewise.
31848
e7170363
AJ
318492012-10-30 Andreas Jaeger <aj@suse.de>
31850
e5088dc6
AJ
31851 [BZ#14767]
31852 * elf/Makefile (tests): Remove conditional for have-initfini-array
31853 since this is now always required and the variable does not exist
31854 anymore.
31855 (tests-static): Likewise.
31856 (modules-names): Likewise.
31857
e7170363 31858 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
31859
31860 * elf/tst-array1.c (fini_array): Make writeable so that it can be
31861 merged with constructor/destructor.
31862 (init_array): Likewise.
31863 * elf/tst-array2dep.c (fini_array): Likewise.
31864 (init_array): Likewise.
31865
60457d8a
MF
318662012-10-29 Mike Frysinger <vapier@gentoo.org>
31867
31868 * manual/message.texi: Delete @cartouche tags.
31869
8bece752
PT
318702012-10-29 Pino Toscano <toscano.pino@tiscali.it>
31871
94ce799f
PT
31872 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31873 EOPNOTSUPP.
31874 * sysdeps/mach/hurd/fsync.c: Likewise.
31875
8bece752
PT
31876 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31877 [_POSIX_REALTIME_SIGNALS]: Change condition to
31878 [_POSIX_REALTIME_SIGNALS > 0].
31879
86ebe6b1
AJ
318802012-10-27 Andreas Jaeger <aj@suse.de>
31881
31882 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31883 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31884 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31885 [__WORDSIZE != 64]: Likewise.
31886
54399c08
L
318872012-10-26 H.J. Lu <hongjiu.lu@intel.com>
31888
31889 * iconvdata/tst-table.sh: Remove ${SHELL}.
31890 * iconvdata/tst-tables.sh: Likewise.
31891
e2211bed
DM
318922012-10-25 David S. Miller <davem@davemloft.net>
31893
31894 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31895 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31896 of strtoull.
31897
f303f97c
DM
31898 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31899 ifunc-impl-list.c
31900 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31901 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31902 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31903 file.
31904
1e9d84cd
RM
319052012-10-25 Roland McGrath <roland@hack.frob.com>
31906
31907 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31908 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31909 __getdirentries.
31910
df381762
JM
319112012-10-25 Joseph Myers <joseph@codesourcery.com>
31912 Jim Blandy <jimb@codesourcery.com>
31913
31914 * scripts/cross-test-ssh.sh: New file.
31915 * manual/install.texi (Configuring and compiling): Document use of
31916 cross-test-ssh.sh.
31917 * INSTALL: Regenerated.
31918
bff64913
PT
319192012-10-25 Pino Toscano <toscano.pino@tiscali.it>
31920
31921 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31922 EOPNOTSUPP.
31923
25fe8932
JM
319242012-10-25 Joseph Myers <joseph@codesourcery.com>
31925
31926 * Makeconfig (run-program-prefix): Fix comment.
31927
cc1290d0
JM
319282012-10-24 Joseph Myers <joseph@codesourcery.com>
31929 Jim Blandy <jimb@codesourcery.com>
31930
31931 * Makeconfig (test-wrapper): New variable,
31932 (test-wrapper-env): Likewise.
31933 [$(cross-compiling) = yes && $(test-wrapper) != ""]
31934 (run-built-tests): Define to yes.
31935 (run-program-prefix): Use $(test-wrapper).
31936 (built-program-cmd): Likewise.
31937 * Rules (make-test-out): Use $(test-wrapper-env) and
31938 $(host-built-program-cmd).
31939 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31940 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31941 tst-pathopt.sh.
31942 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31943 $(test-wrapper-env) to tst-rtld-load-self.sh.
31944 ($(objpfx)order2.out): Use $(test-wrapper).
31945 ($(objpfx)tst-initorder.out): Likewise.
31946 ($(objpfx)tst-initorder2.out): Likewise.
31947 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31948 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31949 (test_wrapper_env): New variable. Use it to run ld.so.
31950 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31951 Use it to run ld.so.
31952 (test_wrapper_env): Likewise.
31953 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31954 $(test-wrapper) to run-iconv-test.sh.
31955 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31956 (ICONV): Use $test_wrapper.
31957 * posix/Makefile ($(objpfx)globtest.out): Pass
31958 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31959 globtest.sh, not $(run-program-prefix).
31960 * posix/globtest.sh (run_via_rtld_prefix): New variable.
31961 (test_wrapper): Likewise.
31962 (test_wrapper_env): Likewise. Use it to run globtest with HOME
31963 set together with run_via_rtld_prefix.
31964 (run_program_prefix): Define in terms of test_wrapper and
31965 run_via_rtld_prefix.
31966
6e6249d0
RM
319672012-10-24 Roland McGrath <roland@hack.frob.com>
31968
31969 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
31970 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
31971 Targets removed.
31972
31973 [BZ #14743]
31974 * include/time.h: Remove librt_hidden_proto (clock_gettime).
31975 Declare __clock_getres, __clock_gettime, __clock_settime,
31976 __clock_nanosleep, and __clock_getcpuclockid.
31977 * rt/clock_gettime.c: Define __clock_gettime as an alias.
31978 Remove librt_hidden_def (clock_gettime).
31979 * sysdeps/unix/clock_gettime.c: Likewise.
31980 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
31981 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31982 * rt/clock_getres.c: Define __clock_getres as an alias.
31983 * sysdeps/posix/clock_getres.c: Likewise.
31984 * rt/clock_settime.c: Define __clock_settime as an alias.
31985 * sysdeps/unix/clock_settime.c: Likewise.
31986 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
31987 * sysdeps/unix/clock_nanosleep.c: Likewise.
31988 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31989 * rt/clock-compat.c: New file.
31990 * rt/Makefile (librt-routines): Add clock-compat and move
31991 $(clock-routines) to ...
31992 (routines): ... here, new variable.
31993 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
31994 Don't add get_clockfreq here.
31995 * rt/Versions (libc: GLIBC_2.17): New version set.
31996 Add clock_* symbols here.
31997 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
31998 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
31999 (GLIBC_2.17): Add clock_* symbols.
32000 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32001 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32002 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32004 Likewise.
32005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32006 Likewise.
32007 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32008 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32009 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32011 * NEWS: Mention the move.
32012
32013 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
32014 Use __open, __read, __close rather than their public counterparts.
32015 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32016 (__get_clockfreq_via_cpuinfo): Likewise.
32017 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
32018 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
32019
32020 * config.h.in (HAVE_IFUNC): New #undef.
32021 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
32022 was successful.
32023 * configure: Regenerated.
32024
0cae3f4b
MF
320252012-10-24 Mike Frysinger <vapier@gentoo.org>
32026
32027 * configure.in: Move READELF check to start of file.
32028 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
32029 libc_cv_asm_gnu_indirect_function in the process.
32030 * configure: Regenerated.
32031
8175a253
MF
320322012-10-24 Mike Frysinger <vapier@gentoo.org>
32033
32034 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
32035 send the output to /dev/null.
32036 (libc_cv_cc_with_libunwind): Likewise.
32037 (libc_cv_as_noexecstack): Likewise.
32038 * configure: Regenerate.
32039
0708a7d1
JM
320402012-10-24 Joseph Myers <joseph@codesourcery.com>
32041
10b40d85
JM
32042 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
32043
0708a7d1
JM
32044 * posix/globtest.sh (TMPDIR): Do not set.
32045 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
32046 (testout): Likewise.
32047
9fddec1a
AJ
320482012-10-24 Andreas Jaeger <aj@suse.de>
32049
3a8db22f
AJ
32050 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
32051 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
32052 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
32053 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
32054 posix_fadvise64, posix_fallocate64.
32055
9fddec1a
AJ
32056 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
32057 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
32058 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
32059 Likewise.
32060 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
32061 Likewise.
32062 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
32063
32064 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
32065 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
32066 <bits/fcntl-linux.h>.
32067 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
32068
32069 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
32070 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
32071 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
32072 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
32073 [__WORDSIZE != 64]: Likewise.
32074
ebfd1bbd
JM
320752012-10-23 Joseph Myers <joseph@codesourcery.com>
32076
03ac099f
JM
32077 * Makeconfig (run-built-tests): New variable.
32078 * Rules [$(cross-compiling) = yes]: Change condition to
32079 [$(run-built-tests) = no].
32080 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
32081 to [$(run-built-tests) = yes].
32082 * elf/Makefile [$(cross-compiling) = no]: Likewise
32083 * grp/Makefile [$(cross-compiling) = no]: Likewise.
32084 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
32085 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
32086 * intl/Makefile [$(cross-compiling) = no]: Likewise.
32087 * io/Makefile [$(cross-compiling) = no]: Likewise.
32088 * libio/Makefile [$(cross-compiling) = no]: Likewise.
32089 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
32090 * misc/Makefile [$(cross-compiling) = no]: Likewise.
32091 * posix/Makefile [$(cross-compiling) = no]: Likewise.
32092 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
32093 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
32094 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
32095 * string/Makefile [$(cross-compiling) = no]: Likewise.
32096
ebfd1bbd
JM
32097 * posix/Makefile ($(objpfx)globtest.out): Pass
32098 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
32099 $(rtld-installed-name).
32100 * posix/globtest.sh (elf_objpfx): Remove variable.
32101 (rtld_installed_name): Likewise.
32102 (library_path): Likewise.
32103 (run_program_prefix): New variable. Use for running globtest
32104 binary.
32105
166bca24
JB
321062012-10-23 Jim Blandy <jimb@codesourcery.com>
32107 Joseph Myers <joseph@codesourcery.com>
32108
32109 * Makeconfig (host-built-program-cmd): New variable.
32110 * elf/Makefile (tst-stackguard1-ARGS): Use
32111 $(host-built-program-cmd).
32112 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
32113 (tst-spawn-ARGS): Likewise.
32114 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
32115
88866099
JM
321162012-10-23 Joseph Myers <joseph@codesourcery.com>
32117 Jim Blandy <jimb@codesourcery.com>
32118
32119 * Makeconfig (run-via-rtld-prefix): New variable.
32120 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
32121 (built-program-cmd): Likewise.
32122
b4b4c296
AJ
321232012-10-22 Andreas Jaeger <aj@suse.de>
32124
32125 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
32126 __O_RSYNC if it exists, otherwise to O_SYNC.
32127
6fb54a22
JB
321282012-10-22 Jim Blandy <jimb@codesourcery.com>
32129 Joseph Myers <joseph@codesourcery.com>
32130
32131 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
32132 /dev/null.
32133 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
32134 from /dev/null
32135 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
32136 /dev/null.
32137
481b90b9
AJ
321382012-10-22 Andreas Jaeger <aj@suse.de>
32139
2a0e2669
AJ
32140 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
32141 Define always.
32142 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
32143
76e38f9a
AJ
32144 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32145 bits/fcntl-linux.h.
32146
7cd37b43
AJ
32147 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
32148 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
32149
481b90b9
AJ
32150 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
32151 to __O_LARGEFILE.
32152 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
32153 to __O_LARGEFILE.
32154
aba75984
JB
321552012-10-21 Jim Blandy <jimb@codesourcery.com>
32156 Joseph Myers <joseph@codesourcery.com>
32157
32158 * config.make.in (NM): New variable.
32159
88d4247f
AJ
321602012-10-21 Andreas Jaeger <aj@suse.de>
32161
32162 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
32163 definitions and declarations that are provided by
32164 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32165
f2eed205
L
321662012-10-20 H.J. Lu <hongjiu.lu@intel.com>
32167
32168 [BZ #14683]
32169 * elf/Makefile (tests-static): Add tst-leaks1-static.
32170 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
32171 ($(objpfx)tst-leaks1-static): New rule.
32172 ($(objpfx)tst-leaks1-static-mem): Likewise.
32173 (tst-leaks1-static-ENV): New macro.
32174 * elf/dl-open.c (dl_open_worker): Check the main application
32175 only if SHARED is defined.
32176 * elf/tst-leaks1-static.c: New file.
32177
335e6931
AJ
321782012-10-20 Andreas Jaeger <aj@suse.de>
32179
32180 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
32181 generic values for Linux.
32182 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
32183 and declarations that are provided by <bits/fcntl-linux.h> and
32184 include <bits/fcntl-linux.h>.
32185 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32186 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32187
ac5c94d3
RM
321882012-10-20 Roland McGrath <roland@hack.frob.com>
32189
32190 * io/fcntl.h: Move include of <bits/types.h> to the top and
32191 include it unconditionally.
32192
de54b33a
L
321932012-10-20 H.J. Lu <hongjiu.lu@intel.com>
32194
228cfb01
L
32195 * wcsmbs/Makefile (tests-ifunc): New variable.
32196 (tests): Add $(tests-ifunc).
32197 * wcsmbs/test-wcschr-ifunc.c: New file.
32198 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
32199 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
32200 * wcsmbs/test-wcslen-ifunc.c: Likewise.
32201 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
32202 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
32203
69f07e5f
L
32204 * string/Makefile (tests-ifunc): New variable.
32205 (tests): Add $(tests-ifunc).
32206 * string/test-memccpy.c (TEST_NAME): New macro.
32207 * string/test-memchr.c (TEST_NAME): Likewise.
32208 * string/test-memcmp.c (TEST_NAME): Likewise.
32209 * string/test-memcpy.c (TEST_NAME): Likewise.
32210 * string/test-memmem.c (TEST_NAME): Likewise.
32211 * string/test-memmove.c (TEST_NAME): Likewise.
32212 * string/test-memset.c (TEST_NAME): Likewise.
32213 * string/test-rawmemchr.c (TEST_NAME): Likewise.
32214 * string/test-stpcpy.c (TEST_NAME): Likewise.
32215 * string/test-stpncpy.c (TEST_NAME): Likewise.
32216 * string/test-strcasecmp.c (TEST_NAME): Likewise.
32217 * string/test-strcasestr.c (TEST_NAME): Likewise.
32218 * string/test-strcat.c (TEST_NAME): Likewise.
32219 * string/test-strchr.c (TEST_NAME): Likewise.
32220 * string/test-strcmp.c(TEST_NAME): Likewise.
32221 * string/test-strcpy.c (TEST_NAME): Likewise.
32222 * string/test-strcspn.c (TEST_NAME): Likewise.
32223 * string/test-strlen.c (TEST_NAME): Likewise.
32224 * string/test-strncasecmp.c (TEST_NAME): Likewise.
32225 * string/test-strncmp.c (TEST_NAME): Likewise.
32226 * string/test-strncpy.c (TEST_NAME): Likewise.
32227 * string/test-strnlen.c (TEST_NAME): Likewise.
32228 * string/test-strpbrk.c (TEST_NAME): Likewise.
32229 * string/test-strrchr.c (TEST_NAME): Likewise.
32230 * string/test-strspn.c (TEST_NAME): Likewise.
32231 * string/test-strstr.c (TEST_NAME): Likewise.
32232 * string/test-bcopy-ifunc.c: New file.
32233 * string/test-bzero-ifunc.c: Likewise.
32234 * string/test-memccpy-ifunc.c: Likewise.
32235 * string/test-memchr-ifunc.c: Likewise.
32236 * string/test-memcmp-ifunc.c: Likewise.
32237 * string/test-memcpy-ifunc.c: Likewise.
32238 * string/test-memmem-ifunc.c: Likewise.
32239 * string/test-memmove-ifunc.c: Likewise.
32240 * string/test-mempcpy-ifunc.c: Likewise.
32241 * string/test-memset-ifunc.c: Likewise.
32242 * string/test-rawmemchr-ifunc.c: Likewise.
32243 * string/test-stpcpy-ifunc.c: Likewise.
32244 * string/test-stpncpy-ifunc.c: Likewise.
32245 * string/test-strcasecmp-ifunc.c: Likewise.
32246 * string/test-strcasestr-ifunc.c: Likewise.
32247 * string/test-strcat-ifunc.c: Likewise.
32248 * string/test-strchr-ifunc.c: Likewise.
32249 * string/test-strchrnul-ifunc.c: Likewise.
32250 * string/test-strcmp-ifunc.c: Likewise.
32251 * string/test-strcpy-ifunc.c: Likewise.
32252 * string/test-strcspn-ifunc.c: Likewise.
32253 * string/test-strlen-ifunc.c: Likewise.
32254 * string/test-strncasecmp-ifunc.c: Likewise.
32255 * string/test-strncat-ifunc.c: Likewise.
32256 * string/test-strncmp-ifunc.c: Likewise.
32257 * string/test-strncpy-ifunc.c: Likewise.
32258 * string/test-strnlen-ifunc.c: Likewise.
32259 * string/test-strpbrk-ifunc.c: Likewise.
32260 * string/test-strrchr-ifunc.c: Likewise.
32261 * string/test-strspn-ifunc.c: Likewise.
32262 * string/test-strstr-ifunc.c: Likewise.
32263
de54b33a
L
32264 * debug/Makefile (tests-ifunc): New variable.
32265 (tests): Add $(tests-ifunc).
32266 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
32267 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
32268 * debug/test-stpcpy_chk-ifunc.c: New file.
32269 * debug/test-strcpy_chk-ifunc.c: Likewise.
32270
88481c16
SP
322712012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32272
32273 [BZ #13601]
32274 * elf/dl-load.c (open_verify): Retry read if the entire ELF
32275 header is not read in.
32276
135948bd
JM
322772012-10-19 Joseph Myers <joseph@codesourcery.com>
32278
89f1c388
JM
32279 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
32280 script to $(SHELL) as $<. Pass $(common-objpfx) to script
32281 directly. Pass built executable to script as
32282 $(built-program-cmd).
32283 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
32284 $testprogram without using LD_LIBRARY_PATH and $ldso.
32285
e40a0d21
JM
32286 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
32287 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
32288 $(rtld-installed-name).
32289 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
32290 (rtld_installed_name): Likewise.
32291 (library_path): Likewise.
32292 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
32293 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
32294 $(run-program-prefix) to tst-tables.sh.
32295 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
32296 it to run tst-table-from and tst-table-to.
32297 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
32298 Pass it to tst-table.sh.
32299 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
32300 $(run-program-prefix) to tst-gettext.sh.
32301 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
32302 tst-translit.sh.
32303 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
32304 tst-gettext2.sh.
32305 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
32306 to run tst-gettext.
32307 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
32308 to run tst-gettext2.
32309 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
32310 to run tst-translit.
32311 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
32312 $(run-program-prefix) to tst-mtrace.sh.
32313 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
32314 to run tst-mtrace.
32315 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
32316 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
32317 $(rtld-installed-name).
32318 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
32319 (rtld_installed_name): Likewise.
32320 (run_program_prefix): New variable. Use it to run wordexp-test.
32321
728e272a
JM
32322 * Makeconfig (ARCH): Remove all definitions.
32323 (machine): Likewise.
32324 [ARCH]: Remove conditional code.
32325 [!objdir]: Give error.
32326 [!objdir] (objpfx): Remove.
32327 [!objdir] (common-objpfx): Likewise.
32328 [!objdir] (common-objdir): Likewise.
32329 * configure.in (config_makefile): Remove. Hardcode Makefile in
32330 AC_CONFIG_FILES call.
32331 * configure: Regenerated.
32332
d528cdcf
JM
32333 [BZ #13888]
32334 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
32335 or TMPDIR.
32336 (testout): Likewise.
32337
135948bd
JM
32338 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
32339 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
32340 $(rtld-installed-name).
32341 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
32342 (rtld_installed_name): Likwise.
32343 (runit): Remove function.
32344 (run_getconf): New variable, Use it for running getconf binary.
32345
38c78296
L
323462012-10-18 H.J. Lu <hongjiu.lu@intel.com>
32347
32348 [BZ #14716]
32349 * string/test-memmem.c (check_result): New function.
32350 (do_one_test): Use it.
32351 (check1): New function.
32352 (test_main): Use it.
32353
d077f65f
MT
323542012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
32355
32356 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
32357
ced52c71
JM
323582012-10-18 Joseph Myers <joseph@codesourcery.com>
32359
32360 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
32361 (_G_LSEEK64): Likewise.
32362 (_G_MMAP64): Likewise.
32363 (_G_FSTAT64): Likewise.
32364 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
32365 (_G_LSEEK64): Likewise.
32366 (_G_MMAP64): Likewise.
32367 (_G_FSTAT64): Likewise.
32368 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
32369 unconditional. Call __mmap64 directly.
32370 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
32371 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
32372 __lseek64 directly.
32373 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
32374 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
32375 __mmap64 directly.
32376 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
32377 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
32378 __lseek64 directly.
32379 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
32380 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
32381 __lseek64 directly.
32382 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
32383 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
32384 __lseek64 directly.
32385 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
32386 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
32387 __fxstat64 directly.
32388 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
32389 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
32390 unconditional.
32391 (freopen64) [!_G_OPEN64]: Remove conditional code.
32392 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
32393 unconditional.
32394 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
32395 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
32396 unconditional.
32397 (ftello64) [!_G_LSEEK64]: Remove conditional code.
32398 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
32399 unconditional.
32400 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32401 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
32402 unconditional.
32403 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
32404 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
32405 unconditional.
32406 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32407 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
32408 unconditional.
32409 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32410 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
32411 unconditional.
32412 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32413
b741de23
SP
324142012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32415
32416 [BZ #12140]
32417 * manual/memory.texi (Malloc Tunable Parameters): Add note
32418 about free list pointers overwriting some perturb bytes.
32419 Wording suggested by Roland McGrath.
32420
f9b9d9c9
JM
324212012-10-17 Joseph Myers <joseph@codesourcery.com>
32422
32423 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
32424 (lgamma_test): Likewise.
32425 (tgamma_test): Likewise.
32426
172a631a
FW
324272012-10-16 Florian Weimer <fweimer@redhat.com>
32428
32429 [BZ #14700]
32430 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
32431 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
32432
e9f37252
MK
324332012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
32434
32435 * NEWS: Mention BZ #14716.
32436 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
32437 when removing AVAILABLE1_USES_J macro.
32438
d394eb74
L
324392012-10-12 H.J. Lu <hongjiu.lu@intel.com>
32440
32441 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
32442 (__bswap_64): __uint64_t for unsigned 64-bit int.
32443
ca38dc17
AS
324442012-10-12 Andreas Schwab <schwab@linux-m68k.org>
32445
32446 * include/string.h (memmem): Declare libc hidden alias.
32447 * string/memmem.c (memmem): Define libc hidden alias.
32448 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
32449 __read, __close instead of open, read, close.
32450
9a387d1f
L
324512012-10-11 H.J. Lu <hongjiu.lu@intel.com>
32452
ac49ecaf
L
32453 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
32454 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
32455 global and hidden.
32456 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
32457 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
32458 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
32459 Likewise.
32460 (__rawmemchr_sse2): Likewise.
32461 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
32462 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
32463 (__strchr_sse2): Likewise.
32464 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
32465 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
32466 (__strcasecmp_sse2): Likewise.
32467 (__strncasecmp_sse2): Likewise.
32468 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
32469 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
32470 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
32471 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
32472 (__strrchr_sse2): Likewise.
32473 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
32474 ifunc-impl-list.c.
32475 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32476 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32477 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32478 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32479 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32480 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32481 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32482 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32483 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
32484 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
32485 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
32486 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
32487 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
32488 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32489 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32490 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32491 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32492 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32493 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
32494 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
32495 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
32496 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
32497 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
32498 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
32499 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
32500 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32501 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32502 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32503 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32504 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32505
b090e8ea
L
32506 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
32507 global and hidden.
32508 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
32509 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
32510 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
32511 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
32512 Likewise.
32513 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
32514 Likewise.
32515 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
32516 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
32517 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
32518 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
32519 ifunc-impl-list.c.
32520 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32521 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32522 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32523 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32524 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32525 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32526 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32527 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32528 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32529 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32530 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32531 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32532 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32533 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32534 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32535 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32536 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32537 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
32538 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32539 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32540 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32541 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32542 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32543 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32544 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32545 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32546 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32547 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32548 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32549 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32550 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32551 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32552 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32553 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
32554 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32555 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32556 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32557 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32558 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32559 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32560 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
32561
11dd4af6
L
32562 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
32563 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
32564 * include/ifunc-impl-list.h: New file.
32565 * misc/ifunc-impl-list.c: Likewise.
32566 * misc/Makefile (routines): Add ifunc-impl-list.
32567 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
32568 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
32569 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
32570 TEST_NAME]: New variables.
11dd4af6
L
32571 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
32572 are defined.
32573 (test_init): Call __libc_ifunc_impl_list to initialize
32574 func_list if TEST_IFUNC and TEST_NAME are defined.
32575
9a387d1f
L
32576 * string/Makefile (strop-tests): Add bcopy and bzero.
32577 * string/test-bcopy.c: New file.
32578 * string/test-bzero.c: Likewise.
32579 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
32580 defined.
32581 * string/test-memset.c: Support bzero test if TEST_BZERO is
32582 defined.
32583 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
32584 __libc_memmove.
32585 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
32586 __libc_memset.
32587 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
32588 of memset.
32589
472371b9
JM
325902012-10-10 Joseph Myers <joseph@codesourcery.com>
32591
1e4a9536
JM
32592 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
32593 * configure: Regenerated.
32594
d173d12e
JM
32595 * Makeconfig (+link-static-before-libc): Don't include
32596 $(link-static-libc).
32597
472371b9
JM
32598 * libio/libio.h (_IO_pos_t): Remove.
32599
89a3ad0b
AO
326002012-10-10 Alexandre Oliva <aoliva@redhat.com>
32601
32602 * NEWS: Add note about FIPS mode. Wording suggested by Roland
32603 McGrath.
32604
e7451425
AO
326052012-10-10 Alexandre Oliva <aoliva@redhat.com>
32606
32607 * crypt/crypt-entry.c: Include fips-private.h.
32608 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
32609 * crypt/md5c-test.c (main): Tolerate disabled MD5.
32610 * sysdeps/unix/sysv/linux/fips-private.h: New file.
32611 * sysdeps/generic/fips-private.h: New file, dummy fallback.
32612
4ba74a35
AO
326132012-10-10 Alexandre Oliva <aoliva@redhat.com>
32614
32615 * crypt/crypt-private.h: Include stdbool.h.
32616 (_ufc_setup_salt_r): Return bool.
32617 * crypt/crypt-entry.c: Include errno.h.
32618 (__crypt_r): Return NULL with EINVAL for bad salt.
32619 * crypt/crypt_util.c (bad_for_salt): New.
32620 (_ufc_setup_salt_r): Check that salt is long enough and within
32621 the specified alphabet.
32622 * crypt/badsalttest.c: New file.
32623 * crypt/Makefile (tests): Add it.
32624 ($(objpfx)badsalttest): New.
32625
f96f1242
MK
326262012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
32627
32628 * NEWS: Add entry for BZ #14602.
32629
0e8e0c1c
JM
326302012-10-09 Joseph Myers <joseph@codesourcery.com>
32631
32632 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
32633 type-generic.
32634 * math/libm-test.inc: Update comment listing what functions and
32635 macros are tested.
32636 (isgreater_test): New function.
32637 (isgreaterequal_test): Likewise.
32638 (isless_test): Likewise.
32639 (islessequal_test): Likewise.
32640 (islessgreater_test): Likewise.
32641 (isunordered_test): Likewise.
32642 (main): Call the new functions.
32643
273edc5e
RM
326442012-10-09 Roland McGrath <roland@hack.frob.com>
32645
b8493de0
RM
32646 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
32647 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
32648 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
32649 * sysdeps/i386/configure: Regenerated.
32650 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
32651 * sysdeps/mach/configure: Regenerated.
32652 * sysdeps/mach/hurd/configure: Regenerated.
32653 * sysdeps/powerpc/configure: Regenerated.
32654 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32655 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32656 * sysdeps/s390/s390-32/configure: Regenerated.
32657 * sysdeps/s390/s390-64/configure: Regenerated.
32658 * sysdeps/sh/configure: Regenerated.
32659 * sysdeps/sparc/configure: Regenerated.
32660 * sysdeps/unix/sysv/linux/configure: Regenerated.
32661 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32662 * sysdeps/x86_64/configure: Regenerated.
32663
273edc5e
RM
32664 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
32665 defined. Don't check if MAP is NULL.
32666
c8450f70
JM
326672012-10-09 Joseph Myers <joseph@codesourcery.com>
32668
32669 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
32670 (_G_stat64): Likewise.
32671 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
32672 (_G_stat64): Likewise.
32673 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
32674 instead of struct _G_stat64.
32675 * libio/fileops.c (mmap_remap_check): Likewise.
32676 (decide_maybe_mmap): Likewise.
32677 (_IO_new_file_seekoff): Likewise.
32678 (_IO_file_stat): Likewise.
32679 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
32680 _G_off64_t.
32681 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
32682 instead of struct _G_stat64.
32683 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32684
57e605ba
MK
326852012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
32686
32687 [BZ #14602]
32688 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32689 Replace with ...
32690 (CHECK_EOL): New macro.
32691 (two_way_short_needle): Check beginning of haystack for EOL. Use
32692 CHECK_EOL.
32693 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32694 Replace with CHECK_EOL.
32695 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32696 Replace with CHECK_EOL.
32697
ef1bb361
JM
326982012-10-08 Joseph Myers <joseph@codesourcery.com>
32699
32700 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
32701 type-generic.
32702 * math/libm-test.inc: Update comment listing what functions and
32703 macros are tested.
32704 (finite_test): New function.
32705 (isinf_test): Likewise.
32706 (isnan_test): Likewise.
32707 (fpclassify_test): Test subnormal input.
32708 (isfinite_test): Likewise.
32709 (isnormal_test): Likewise.
32710 (main): Call the new functions.
32711
55f11534
JN
327122012-10-08 Jonathan Nieder <jrnieder@gmail.com>
32713
32714 [BZ #14660]
32715 * Makerules (%.dynsym): Force C locale when running
32716 $(OBJDUMP) --dynamic-syms.
32717
1ab29350
AS
327182012-10-08 Andreas Schwab <schwab@linux-m68k.org>
32719
32720 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
32721 <stdint.h>.
32722
f1ecb7ef
DM
327232012-10-06 David S. Miller <davem@davemloft.net>
32724
32725 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
32726 upper 32-bits of the length value in %o2 since we use branch-on-register
32727 tests which consider the entire 64-bit register.
32728
5d41d91a
L
327292012-10-06 H.J. Lu <hongjiu.lu@intel.com>
32730
32731 * string/test-strstr.c (check2): Add a test for page boundary.
32732
3baddb72
DM
327332012-10-05 David S. Miller <davem@davemloft.net>
32734
32735 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
32736 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
32737 file.
32738 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32739 sysdep_routines.
32740 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32741 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
32742 and bzero when HWCAP_SPARC_CRYPTO is present.
32743
9cee5585
L
327442012-10-05 H.J. Lu <hongjiu.lu@intel.com>
32745
d7e0dab9
L
32746 [BZ #14602]
32747 * string/test-strstr.c (check2): New function.
32748 (test_main): Call check2.
32749
03759f47
L
32750 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
32751 and bug-strchr1.
32752 * string/bug-strcasestr1.c (do_test): Moved to ...
32753 * string/test-strcasestr.c (check1): Here. New function.
32754 (do_one_test): Break out result checking code into ...
32755 (check_result): This. New function.
32756 (do_one_test): Call check_result.
32757 (test_main): Call check1.
32758 * string/bug-strchr1.c (do_test): Moved to ...
32759 * string/test-strchr.c (check1): Here. New function.
32760 (do_one_test): Break out result checking code into ...
32761 (check_result): This. New function.
32762 (do_one_test): Call check_result.
32763 (test_main): Call check1.
32764 * string/bug-strstr1.c (main): Moved to ...
046f153e 32765 * string/test-strstr.c (check1): Here. New function.
03759f47
L
32766 (do_one_test): Break out result checking code into ...
32767 (check_result): This. New function.
32768 (do_one_test): Call check_result.
32769 (test_main): Call check1.
32770 * string/bug-strcasestr1.c: Removed.
32771 * string/bug-strchr1.c: Likewise.
32772 * string/bug-strstr1.c: Likewise.
32773
53cea63e
L
32774 * elf/Makefile (dl-routines): Add hwcaps.
32775 * elf/dl-support.c (_dl_important_hwcaps): Removed.
32776 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
32777 (_dl_important_hwcaps): Moved to ...
32778 * elf/dl-hwcaps.c: Here. New file.
32779 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
32780
9cee5585 32781 [BZ #14557]
bb859b06
L
32782 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
32783 if IS_IN_rtld isn't defined.
32784
9cee5585
L
32785 * elf/dl-support.c (_dl_sysinfo_map): New.
32786 Include "get-dynamic-info.h" and "setup-vdso.h".
32787 (_dl_non_dynamic_init): Call setup_vdso.
32788 * elf/dynamic-link.h: Don't include <assert.h>.
32789 (elf_get_dynamic_info): Moved to ...
32790 * elf/get-dynamic-info.h: Here. New file.
32791 * elf/dynamic-link.h: Include "get-dynamic-info.h".
32792 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
32793 * elf/setup-vdso.h: Here. New file.
32794 * elf/rtld.c: Include "setup-vdso.h".
32795 (dl_main): Call setup_vdso.
32796
23c31b76
JM
327972012-10-05 Joseph Myers <joseph@codesourcery.com>
32798
28234b07
JM
32799 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
32800 creal in comment listing functions tested. List finite, isinf,
32801 isnan, isless, islessequal, isgreater, isgreaterequal,
32802 islessgreater, isunordered, lgamma_r and pow10 as functions and
32803 macros not tested. Mention which functions not tested are aliases
32804 for other functions. Fix typo. Note that signs of NaNs are not
32805 tested.
32806
23c31b76
JM
32807 * scripts/config.guess: Update from config.git.
32808 * scripts/config.sub: Likewise.
32809
9043e228
RM
328102012-10-04 Roland McGrath <roland@hack.frob.com>
32811
32812 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
32813 * misc/madvise.c (madvise): Renamed to __madvise.
32814 Make madvise a weak alias.
32815 * include/sys/mman.h: Declare __madvise.
32816 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
32817 * sysdeps/unix/syscalls.list
32818 (madvise): Make __madvise the strong name, and madvise a weak alias.
32819 * sysdeps/unix/sysv/linux/syscalls.list
32820 (madvise, mmap): Remove redundant entries.
32821 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
32822 * malloc/malloc.c (mtrim): Likewise.
32823 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
32824
f57f8055
RM
328252012-10-03 Roland McGrath <roland@hack.frob.com>
32826
32827 * sysdeps/mach/hurd/dl-cache.c: File removed.
32828 * config.h.in (USE_LDCONFIG): New #undef.
32829 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
32830 * configure: Regenerated.
32831 * elf/Makefile (dl-routines): Add dl-cache only under
32832 [$(use-ldconfig) = yes].
32833 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
32834 cache on [USE_LDCONFIG].
32835 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
32836 [USE_LDCONFIG].
32837 * elf/rtld.c (dl_main): Likewise.
32838
5bb0c10a
PT
328392012-10-03 Pino Toscano <toscano.pino@tiscali.it>
32840
32841 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
32842 _SC_LEVEL4_CACHE_LINESIZE.
32843
010188c6
RM
328442012-10-03 Roland McGrath <roland@hack.frob.com>
32845
32846 * sysdeps/unix/bsd/confstr.h: File removed.
32847
b6c5ec07
AO
328482012-10-02 Alexandre Oliva <aoliva@redhat.com>
32849
32850 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
32851 sys/sdt-config.h.
32852
408223d4
RM
328532012-10-02 Roland McGrath <roland@hack.frob.com>
32854
32855 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
32856 Make 'mapoff' field ElfW(Off) rather than off_t.
32857
bb9510dc
DL
328582012-10-02 Dmitry V. Levin <ldv@altlinux.org>
32859
fc997c6e
DL
32860 * nscd/Makefile: Remove nscd-cflags and all its users.
32861 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
32862 (CFLAGS-nonlib): Add compiler flags for nscd modules.
32863
bb9510dc
DL
32864 [BZ #10631]
32865 * malloc.c (malloc_printerr): Clarify error message.
32866
05699367
L
328672012-10-02 H.J. Lu <hongjiu.lu@intel.com>
32868
32869 [BZ #14648]
32870 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32871 Set bit_FMA_Usable if FMA is supported.
32872 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32873 macro.
32874 (bit_FMA4_Usable): Updated.
32875 (index_FMA_Usable): New macro.
32876 (CPUID_FMA): Likewise
32877 (HAS_FMA): Defined with bit_FMA_Usable.
32878
51367701
RM
328792012-10-01 Roland McGrath <roland@hack.frob.com>
32880
32881 * bits/types.h (__swblk_t): Type removed.
32882 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32883 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32884 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32885 (__SWBLK_T_TYPE): Likewise.
32886 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32887 (__SWBLK_T_TYPE): Likewise.
32888 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32889 (__SWBLK_T_TYPE): Likewise.
32890 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32891 (__SWBLK_T_TYPE): Likewise.
32892
4d57bf63 328932012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 32894 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
32895
32896 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32897 (xdr_mapname): Use YPMAXMAP as maxsize.
32898 (xdr_peername): Use YPMAXPEER as maxsize.
32899 (xdr_keydat): Use YPAXRECORD as maxsize.
32900 (xdr_valdat): Use YPMAXRECORD as maxsize.
32901
93c65d43
RM
329022012-10-01 Roland McGrath <roland@hack.frob.com>
32903
497a03d6
RM
32904 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32905
93c65d43
RM
32906 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32907 * csu/init-first.c: ... here.
32908 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32909 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32910 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32911 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32912 * sysdeps/i386/init-first.c: File removed.
32913 * sysdeps/sh/init-first.c: File removed.
32914
bec749fd
JM
329152012-10-01 Joseph Myers <joseph@codesourcery.com>
32916
32917 [BZ #14645]
32918 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32919 if x * y might underflow to zero and z is zero.
32920 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32921 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32922 * math/libm-test.inc (min_subnorm_value): New variable.
32923 (fma_test): Add more tests.
32924 (fma_test_towardzero): Likewise.
32925 (fma_test_downward): Likewise
32926 (fma_test_upward): Likewise.
32927 (initialize): Set min_subnorm_value.
32928
8ec5b013
JM
329292012-09-29 Joseph Myers <joseph@codesourcery.com>
32930
32931 [BZ #14638]
32932 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32933 0 + 0.
32934 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32935 mode for addition resulting in exact zero.
32936 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32937 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32938 exact 0 + 0.
32939 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32940 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32941 * math/libm-test.inc (fma_test): Add more tests.
32942 (fma_test_towardzero): New function.
32943 (fma_test_downward): Likewise.
32944 (fma_test_upward): Likewise.
32945 (main): Call the new functions.
32946
b1fa802e
DM
329472012-09-28 David S. Miller <davem@davemloft.net>
32948
32949 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32950
d3b9fd9e
RM
329512012-09-28 Roland McGrath <roland@hack.frob.com>
32952
ea4d37b3
RM
32953 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32954 instead of SIGALRM.
32955
ac51c949
RM
32956 * sysdeps/gnu/_G_config.h: Moved to ...
32957 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32958 * sysdeps/mach/hurd/_G_config.h: Moved to ...
32959 * sysdeps/generic/_G_config.h: ... here.
32960
28c195f7
RM
32961 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
32962
848917f9
RM
32963 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
32964
6bacf05b
RM
32965 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
32966 Conditionalize target on [libnss_test1.so-version].
32967
91363dbb
RM
32968 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
32969
cc87f7d8
RM
32970 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
32971 (elfobjdir): Move out of conditionals.
32972
b1c608fe
RM
32973 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
32974 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
32975 (__nss_lookup_function): Conditionalize label remove_from_tree on
32976 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 32977
1d9a6d96
DM
329782012-09-28 David S. Miller <davem@davemloft.net>
32979
32980 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
32981 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
32982 file.
32983 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32984 sysdep_routines.
32985 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32986 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
32987 when HWCAP_SPARC_CRYPTO is present.
32988
72581615
PT
329892012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32990
32991 * io/tst-mknodat.c: Create a FIFO instead of a socket.
32992
715a900c
JL
329932012-09-28 Andreas Schwab <schwab@linux-m68k.org>
32994
32995 [BZ #6530]
32996 * stdio-common/vfprintf.c (process_string_arg): Revert
32997 2000-07-22 change.
32998
329992011-09-28 Jonathan Nieder <jrnieder@gmail.com>
33000
33001 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
33002 for testcase.
33003 * stdio-common/tst-sprintf.c: Include <locale.h>
33004 (main): Test sprintf's handling of incomplete multibyte
33005 characters.
33006
9bac1d86
L
330072012-09-28 H.J. Lu <hongjiu.lu@intel.com>
33008
33009 * elf/dl-runtime.c (VERSYMIDX): Removed.
33010 * elf/dl-version.c (VERSYMIDX): Likewise.
33011 * elf/do-rel.h (VERSYMIDX): Likewise.
33012 (VALIDX): Likewise.
33013 * elf/dynamic-link.h (VERSYMIDX): Likewise.
33014 * elf/rtld.c (VALIDX): Likewise.
33015 (ADDRIDX): Likewise.
9bac1d86
L
33016 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
33017 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
33018 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
33019 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
33020 (VALIDX): Likewise.
33021 (ADDRIDX): Likewise.
9bac1d86 33022
b31606c0
PT
330232012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33024
33025 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
33026
11541177
JL
330272012-09-28 Dmitry V. Levin <ldv@altlinux.org>
33028
33029 [BZ #11438]
33030 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
33031 to global scope.
33032 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
33033 addresses are in the same scope as 192.0.2/24.
33034 * posix/gai.conf: Document new scope table defaults.
33035
adb26fae
SP
330362012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33037
33038 [BZ #5298]
33039 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
33040 for ftell. Compute offsets from write pointers instead.
33041 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33042
4573c6b0
SP
330432012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33044
33045 [BZ #14543]
33046 * libio/Makefile (tests): New test case tst-fseek.
33047 * libio/tst-fseek.c: New test case to verify that fseek/ftell
33048 combination works in wide mode.
33049 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
33050 state when the external buffer state changes.
33051
aa9bbfe6
DM
330522012-09-27 David S. Miller <davem@davemloft.net>
33053
33054 [BZ #14376]
33055 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
33056 pass reloc->r_addend in as the 'high' argument to
33057 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
33058
784421e7
DM
33059 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33060
c39bc8b8
PT
330612012-09-28 Pino Toscano <toscano.pino@tiscali.it>
33062
33063 * rt/tst-aio2.c: Include <pthread.h>.
33064 * rt/tst-aio3.c: Likewise.
33065
1ccc2399
SE
330662012-09-27 Steve Ellcey <sellcey@mips.com>
33067
33068 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
33069
31ed4153
L
330702012-09-27 H.J. Lu <hongjiu.lu@intel.com>
33071
25f5f885
L
33072 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
33073 contents on [SHARED].
31ed4153 33074
b7bfe116
MP
330752012-09-26 Marek Polacek <polacek@redhat.com>
33076
33077 [BZ #14530]
33078 [BZ #13741]
33079 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
33080 for C++ and GCC <4.3 as well as for non GCC compilers.
33081
43c4edba
MT
330822012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
33083
33084 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33085
6a1bf82f
RM
330862012-09-25 Roland McGrath <roland@hack.frob.com>
33087
33088 * Makefile.in (all, install): Declare with .PHONY.
33089 Reported by Michael Hope <michael.hope@linaro.org>.
33090
8ad11b9a
TMQMF
330912012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33092
33093 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
33094 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
33095 system header.
33096 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
33097 Likewise.
33098 (sydep_routines): Add the new and the internal functions.
33099 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
33100 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
33101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
33102 (GLIBC_2.17): Add the new function.
33103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33104 (GLIBC_2.17): Likewise.
33105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
33106 (GLIBC_2.17): Likewise.
33107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
33108 (GLIBC_2.17): Likewise.
33109 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
33110
7e2fca8d
AM
331112012-09-25 Alan Modra <amodra@gmail.com>
33112
33113 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
33114 Add release barrier before setting once_control to say
33115 initialisation is done. Add hints on lwarx. Use macro in
33116 place of isync.
33117 (clear_once_control): Add release barrier.
33118
b87c4b24
JM
331192012-09-25 Joseph Myers <joseph@codesourcery.com>
33120
d032e0d2
JM
33121 [BZ #13629]
33122 * math/s_clog.c (__clog): Handle more values close to |z| = 1
33123 specially.
33124 * math/s_clog10.c (__clog10): Likewise.
33125 * math/s_clog10f.c (__clog10f): Likewise.
33126 * math/s_clog10l.c (__clog10l): Likewise.
33127 * math/s_clogf.c (__clogf): Likewise.
33128 * math/s_clogl.c (__clogl): Likewise.
33129 * math/Makefile (libm-calls): Add x2y2m1.
33130 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
33131 (__x2y2m1): Likewise.
33132 (__x2y2m1l): Likewise.
33133 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
33134 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
33135 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
33136 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
33137 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
33138 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
33139 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
33140 * sysdeps/i386/fpu/libm-test-ulps: Update.
33141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33142
b87c4b24
JM
33143 [BZ #14621]
33144 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
33145 int as type of variable DEPTH.
33146 (glob): Use size_t instead of int as type of variables NEWCOUNT
33147 and OLD_PATHC.
33148
6d3bf199
LD
331492012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33150
22bf5c17
LD
33151 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33152 Add s_sincosf-sse2.
33153 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
33154 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
33155 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
33156 macros for using routine as __sincosf_ia32.
33157 Use macro for function declaration and weak_alias.
33158 * sysdeps/i386/fpu/libm-test-ulps: Update.
33159
33160 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
33161 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33162
33163 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
33164 subnormal argument.
33165 * math/s_cexpf.c (__cexpf): Likewise.
33166 * math/s_csinf.c (__csinf): Likewise.
33167 * math/s_csinhf.c (__csinhf): Likewise.
33168 * math/s_ctanf.c (__ctanf): Likewise.
33169 * math/s_ctanhf.c (__ctanhf): Likewise.
33170 * math/s_ccosh.c (__ccoshf): Likewise.
33171 * math/s_cexp.c (__cexpl): Likewise.
33172 * math/s_csin.c (__csin): Likewise.
33173 * math/s_csinh.c (__csinh): Likewise.
33174 * math/s_ctan.c (__ctan): Likewise.
33175 * math/s_ctanh.c (ctanh): Likewise.
33176 * math/s_ccoshl.c (__ccoshl): Likewise.
33177 * math/s_cexpl.c (__cexpl): Likewise.
33178 * math/s_csinl.c (__csinl): Likewise.
33179 * math/s_csinhl.c (__csinhl): Likewise.
33180 * math/s_ctanl.c (__ctanl): Likewise.
33181 * math/s_ctanhl.c (__ctanhl): Likewise.
33182
203e5603
JM
331832012-09-25 Joseph Myers <joseph@codesourcery.com>
33184
33185 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
33186 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
33187 (_IO_off_t): Define to __off_t, not _G_off_t.
33188 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
33189 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
33190 (_IO_wint_t): Define to wint_t, not _G_wint_t.
33191 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
33192 type of __dummy and __dummy2 fields.
33193 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
33194 (_G_ssize_t): Likewise.
33195 (_G_off_t): Likewise.
33196 (_G_pid_t): Likewise.
33197 (_G_uid_t): Likewise.
33198 (_G_wchar_t): Likewise.
33199 (_G_wint_t): Likewise.
33200 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
33201 (_G_ssize_t): Likewise.
33202 (_G_off_t): Likewise.
33203 (_G_pid_t): Likewise.
33204 (_G_uid_t): Likewise.
33205 (_G_wchar_t): Likewise.
33206 (_G_wint_t): Likewise.
33207 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
33208 (_G_ssize_t): Likewise.
33209 (_G_off_t): Likewise.
33210 (_G_pid_t): Likewise.
33211 (_G_uid_t): Likewise.
33212 (_G_wchar_t): Likewise.
33213 (_G_wint_t): Likewise.
33214
9fab36eb
SP
332152012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33216
33217 * malloc/arena.c: Include malloc-sysdep.h.
33218 (shrink_heap): Use check_may_shrink_heap to decide if madvise
33219 is sufficient to shrink the heap or an unmap is needed.
33220 * sysdeps/generic/malloc-sysdep.h: New file. Define
33221 new function check_may_shrink_heap.
33222 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
33223 new function check_may_shrink_heap.
33224
2b4f00d1
SP
332252012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33226
33227 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
33228 comments.
33229
9a9028b1
DL
332302012-09-24 Dmitry V. Levin <ldv@altlinux.org>
33231
57c69bef
DL
33232 * catgets/test-gencat.sh: Add "set -e".
33233 * elf/tst-pathopt.sh: Likewise.
33234 * grp/tst_fgetgrent.sh: Likewise.
33235 * iconvdata/run-iconv-test.sh: Likewise.
33236 * intl/tst-gettext.sh: Likewise.
33237 * intl/tst-gettext2.sh: Likewise.
33238 * intl/tst-gettext4.sh: Likewise.
33239 * intl/tst-gettext6.sh: Likewise.
33240 * intl/tst-translit.sh: Likewise.
33241 * io/ftwtest-sh: Likewise.
33242 * libio/test-freopen.sh: Likewise.
33243 * malloc/tst-mtrace.sh: Likewise.
33244 * posix/globtest.sh: Likewise.
33245 * posix/tst-getconf.sh: Likewise.
33246 * posix/wordexp-tst.sh: Likewise.
33247 * stdio-common/tst-printf.sh: Likewise.
33248 * stdio-common/tst-unbputc.sh: Likewise.
33249 * stdlib/tst-fmtmsg.sh: Likewise.
33250 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33251 * catgets/Makefile: Do not specify -e option when running
33252 testsuite shell scripts.
33253 * elf/Makefile: Likewise.
33254 * grp/Makefile: Likewise.
33255 * iconvdata/Makefile: Likewise.
33256 * intl/Makefile: Likewise.
33257 * io/Makefile: Likewise.
33258 * libio/Makefile: Likewise.
33259 * malloc/Makefile: Likewise.
33260 * posix/Makefile: Likewise.
33261 * stdio-common/Makefile: Likewise.
33262 * stdlib/Makefile: Likewise.
33263 * sysdeps/x86_64/Makefile: Likewise.
33264
9a9028b1
DL
33265 * io/ftwtest-sh: Add copyright header.
33266 * posix/globtest.sh: Likewise.
33267 * posix/tst-getconf.sh: Likewise.
33268 * posix/wordexp-tst.sh: Likewise.
33269 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33270
ced6f16e
L
332712012-09-24 H.J. Lu <hongjiu.lu@intel.com>
33272
94b32c39
L
33273 [BZ #13679]
33274 * Makeconfig (+link): Defined as $(+link-static) if
33275 $(build-shared) isn't yes.
33276 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
33277 isn't yes.
33278 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
33279
189e935b
L
33280 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
33281
ced6f16e
L
33282 [BZ #14562]
33283 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
33284 new chunk size with MALLOC_ALIGN_MASK.
33285
a9f8e53a
JM
332862012-09-24 Joseph Myers <joseph@codesourcery.com>
33287
33288 [BZ #5044]
33289 * stdio-common/printf_fphex.c: Include <stdbool.h> and
33290 <rounding-mode.h>.
33291 (__printf_fphex): Determine rounding using get_rounding_mode and
33292 round_away.
33293 * stdio-common/tst-printf-round.c (struct hex_test): New
33294 structure.
33295 (hex_tests): New variable.
33296 (test_hex_in_one_mode): New function.
33297 (do_test): Also run tests for hex float output.
33298
43153109
JM
332992012-09-21 Joseph Myers <joseph@codesourcery.com>
33300
33301 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33302 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33303 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
33304 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33305 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33306 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
33307 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33308 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33309
8a26625d
JM
333102012-09-20 Joseph Myers <joseph@codesourcery.com>
33311
33312 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
33313 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
33314 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
33315 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
33316
f3fd569c
DL
333172012-09-19 Dmitry V. Levin <ldv@altlinux.org>
33318
33319 [BZ #14579]
33320 * elf/rtld.c (dl_main): Limit the check for self loading to normal
33321 mode only.
33322 * elf/tst-rtld-load-self.sh: New test.
33323 * elf/Makefile: Run it.
33324
63bbedd4
JM
333252012-09-18 Joseph Myers <joseph@codesourcery.com>
33326
33327 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
33328 (tst-writev-ENV): Remove.
33329 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
33330
626f8b6a
CM
333312012-09-17 Chris Metcalf <cmetcalf@tilera.com>
33332
33333 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
33334
b7aaa4d6
JM
333352012-09-17 Joseph Myers <joseph@codesourcery.com>
33336
33337 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
33338 unconditional.
33339 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
33340 Likewise.
33341 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
33342 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
33343 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
33344 Likewise.
33345
65513990
L
333462012-09-14 H.J. Lu <hongjiu.lu@intel.com>
33347
33348 [BZ #14587]
33349 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
33350 * config.make.in (have-cpp-asm-debuginfo): Removed.
33351 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
33352 * configure: Regenerated.
33353
784761be
JM
333542012-09-14 Joseph Myers <joseph@codesourcery.com>
33355
33356 [BZ #5044]
33357 * stdio-common/printf_fp.c: Include <stdbool.h> and
33358 <rounding-mode.h>.
33359 (___printf_fp): Determine rounding using get_rounding_mode and
33360 round_away.
33361 * stdio-common/tst-printf-round.c: New file.
33362 * stdio-common/Makefile (tests): Add tst-printf-round.
33363 (link-libm): New variable.
33364 ($(objpfx)tst-printf-round): Depend in $(link-libm).
33365
9503345f
L
333662012-09-13 H.J. Lu <hongjiu.lu@intel.com>
33367
33368 [BZ #14576]
33369 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
33370 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
33371 Likewise.
33372 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
33373 Likewise.
33374
ad35fc00
JM
333752012-09-13 Joseph Myers <joseph@codesourcery.com>
33376
33377 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
33378 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33379 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33380 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33381
6c9b0f68
JM
333822012-09-12 Joseph Myers <joseph@codesourcery.com>
33383
33384 [BZ #14518]
33385 * include/rounding-mode.h: New file.
33386 * sysdeps/generic/get-rounding-mode.h: Likewise.
33387 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
33388 * stdlib/strtod_l.c: Include <rounding-mode.h>.
33389 (MAX_VALUE): New macro.
33390 (MIN_VALUE): Likewise.
33391 (overflow_value): New function.
33392 (underflow_value): Likewise.
33393 (round_and_return): Use overflow_value and underflow_value to
33394 determine return values in overflow and underflow cases. Use
33395 round_away to determine rounding depending on rounding mode.
33396 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
33397 determine return values in overflow and underflow cases.
33398 * stdlib/tst-strtod-round.c: Include <fenv.h>.
33399 (struct test_results): New structure.
33400 (struct test): Use struct test_results to store expected results
33401 for all rounding modes.
33402 (TEST): Include expected results for all rounding modes.
33403 (test_in_one_mode): New function.
33404 (do_test): Use test_in_one_mode to compute and check results.
33405 Check results for all rounding modes.
33406 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
33407 $(link-libm).
33408
19fcedd5
AM
334092012-12-09 Allan McRae <allan@archlinux.org>
33410
1e9d84cd 33411 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 33412
8bbfd2f1
JM
334132012-09-11 Joseph Myers <joseph@codesourcery.com>
33414
33415 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
33416 (_G_int32_t): Likewise.
33417 (_G_uint16_t): Likewise.
33418 (_G_uint32_t): Likewise.
33419 (_G_HAVE_BOOL): Likewise.
33420 (_G_HAVE_ATEXIT): Likewise.
33421 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33422 (_G_HAVE_IO_FILE_OPEN): Likewise.
33423 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
33424 (_G_int32_t): Likewise.
33425 (_G_uint16_t): Likewise.
33426 (_G_uint32_t): Likewise.
33427 (_G_HAVE_BOOL): Likewise.
33428 (_G_HAVE_ATEXIT): Likewise.
33429 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33430 (_G_HAVE_IO_FILE_OPEN): Likewise.
33431 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
33432 (_G_int32_t): Likewise.
33433 (_G_uint16_t): Likewise.
33434 (_G_uint32_t): Likewise.
33435 (_G_HAVE_BOOL): Likewise.
33436 (_G_HAVE_ATEXIT): Likewise.
33437 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33438 (_G_HAVE_IO_FILE_OPEN): Likewise.
33439
b1dc5912
L
334402012-09-11 H.J. Lu <hongjiu.lu@intel.com>
33441
33442 * csu/libc-tls.c: Update copyright years.
33443
0e886ef9
JM
334442012-09-10 Joseph Myers <joseph@codesourcery.com>
33445
28361c5e
JM
33446 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
33447 [!_G_USING_THUNKS]: Remove conditional code.
33448 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
33449 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
33450
0e886ef9
JM
33451 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
33452 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
33453 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33454 (_G_VTABLE_LABEL_PREFIX): Likewise.
33455 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33456 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33457 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33458 (_G_VTABLE_LABEL_PREFIX): Likewise.
33459 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33460 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33461 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33462 (_G_VTABLE_LABEL_PREFIX): Likewise.
33463 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33464
bcba7aa2
L
334652012-09-10 H.J. Lu <hongjiu.lu@intel.com>
33466
33467 * libio/Makefile: Include ../Makeconfig before tests.
33468 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
33469 only if $(build-shared) is yes.
33470
06585ee8
L
33471 * iconv/gconv_db.c: Update copyright years.
33472
80ccd52c
LD
334732012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33474
33475 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
33476 unwind info if defined PIC. Fix special cases description.
33477 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
33478
33479 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
33480 DP_HI_MASK entry.
33481 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
33482
691bc9c1
L
334832012-09-07 H.J. Lu <hongjiu.lu@intel.com>
33484
3d9b46b3
L
33485 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
33486
de2139a9
L
33487 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
33488 is NULL.
33489
5ca78dd0
L
33490 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
33491 (LDLIBS-tst-chk4): This.
33492 (LDFLAGS-tst-chk5): Renamed to ...
33493 (LDLIBS-tst-chk5): This.
33494 (LDFLAGS-tst-chk6): Renamed to ...
33495 (LDLIBS-tst-chk6): This.
33496 (LDFLAGS-tst-lfschk4): Renamed to ...
33497 (LDLIBS-tst-lfschk4): This.
33498 (LDFLAGS-tst-lfschk5): Renamed to ...
33499 (LDLIBS-tst-lfschk5): This.
33500 (LDFLAGS-tst-lfschk6): Renamed to ...
33501 (LDLIBS-tst-lfschk6): This.
33502
691bc9c1
L
33503 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
33504 on $(common-objpfx)soversions.mk.
33505
65cafb1c
JM
335062012-09-07 Joseph Myers <joseph@codesourcery.com>
33507
33508 [BZ #10014]
33509 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
33510 example host name.
33511
c78ab094
SP
335122012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
33513
33514 * malloc/arena.c (arena_get_retry): New function that gets
33515 another arena for the caller to try its request on.
33516 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
33517 current arena cannot fulfill the request.
33518 (__libc_memalign): Likewise.
33519 (__libc_memalign): Likewise.
33520 (__libc_pvalloc): Likewise.
33521 (__libc_calloc): Likewise.
33522
01f49f59
JT
335232012-09-05 John Tobey <john.tobey@gmail.com>
33524
33525 [BZ #13542]
33526 * manual/arith.texi (Operations on Complex): Fix description
33527 of carg branch cut.
33528
4c23fed5
JM
335292012-09-06 Joseph Myers <joseph@codesourcery.com>
33530
1d3c8572
JM
33531 [BZ #10014]
33532 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
33533 host name.
33534
4c23fed5
JM
33535 [BZ #10038]
33536 * manual/memory.texi (Memory): Make order of menu items match
33537 order of sections.
33538
04570aaa
L
335392012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33540
33541 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
33542 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
33543 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
33544
b80af2f4
L
335452012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33546
33547 * csu/libc-tls.c (static_dtv): Renamed to ...
33548 (_dl_static_dtv): This. Make it global.
33549 (_dl_initial_dtv): Removed.
33550 (__libc_setup_tls): Updated.
33551 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
33552 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
33553 DL_INITIAL_DTV.
33554
2abe9f15
PM
335552012-09-06 Petr Machata <pmachata@redhat.com>
33556
33557 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
33558 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
33559 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
33560 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
33561
0948c3af
L
335622012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33563
33564 [BZ #14545]
33565 * csu/libc-tls.c (_dl_initial_dtv): New variable.
33566 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
33567 freeing dtv[-1].
33568
a5055ad1
L
335692012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33570
33571 [BZ #14544]
33572 * Makeconfig (link-static-before-libc): Replace $(+prector)
33573 with $(+prectorT).
33574 (link-static-after-libc): Replace $(+postctor) with
33575 $(+postctorT).
33576 (link-bounded): Replace $(+prector)/$(+postctor) with
33577 $(+prectorT)/$(+postctorT).
33578 (+prectorT): New macro.
33579 (+postctorT): Likewise.
33580
ed8c2ecd
JM
335812012-09-06 Joseph Myers <joseph@codesourcery.com>
33582
33583 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
33584 (round_str): Handle values above the maximum for IBM long double
33585 as inexact.
33586 * stdlib/tst-strtod-round.c (tests): Regenerated.
33587
14c996c8
AK
335882012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33589
33590 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
33591 assembler flag.
33592 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
33593 zarch_nohighgprs around the zarch optimized routines.
33594 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
33595 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
33596 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
33597 for zarch.
33598
430d6ce6
DM
335992012-09-05 David S. Miller <davem@davemloft.net>
33600
33601 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33602
57f41c40
AS
33603 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
33604 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
33605 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
33606 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33607 entries.
33608
24d4e01b
AO
336092012-09-05 Alexandre Oliva <aoliva@redhat.com>
33610
33611 * malloc/arena.c: Fold copyright years.
33612 * malloc/mcheck.c, malloc/memusage.c: Likewise.
33613
61d58174
AO
336142012-09-05 Alexandre Oliva <aoliva@redhat.com>
33615
33616 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
33617
20196a5e
AO
336182012-09-05 Alexandre Oliva <aoliva@redhat.com>
33619
33620 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
33621
5c447383
AO
336222012-09-05 Alexandre Oliva <aoliva@redhat.com>
33623
33624 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
33625 change internal state upon failure.
33626
fad64255
AO
336272012-09-05 Alexandre Oliva <aoliva@redhat.com>
33628
33629 * malloc/mcheck.c (mcheck_check_all): Fix typo.
33630 * malloc/memusage.c (mmap): Likewise.
33631 (mmap64, mremap): Likewise. Adjust name in comment.
33632
1ffb8c90
SP
336332012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33634
33635 * libio/fileops.c: Fix typos in comments.
33636 * libio/oldfileops.c: Likewise.
33637 * libio/wfileops.c: Likewise.
33638
6ef9cc37
SP
336392012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33640
33641 [BZ #1349]
33642 * malloc/Makefile (tests): Add tst-malloc-usable test case.
33643 (tst-malloc-usable-ENV): Set environment for test case.
33644 * malloc/hooks.c (malloc_check_get_size): New function to get
33645 requested size.
33646 * malloc/malloc.c (musable): Use malloc_check_get_size.
33647 * malloc/tst-malloc-usable.c: New test case.
33648
4d038ae3
AS
336492012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33650
33651 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
33652
c4e85184
AM
336532012-09-05 Allan McRae <allan@archlinux.org>
33654
b9dafc56 33655 [BZ #13966]
c4e85184
AM
33656 * configure.in (CXX_SYSINCLUDES): Use compiler output to
33657 determine header location.
33658 * configure: Regenerated.
33659
e1343020
AS
336602012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33661
33662 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
33663 float format.
33664 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
33665 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
33666 format.
e1343020
AS
33667 (test): Regenerate.
33668
0a9f1987
DM
336692012-09-04 David S. Miller <davem@davemloft.net>
33670
33671 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
33672 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
33673 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
33674
29237804
FW
336752012-09-04 Florian Weimer <fweimer@redhat.com>
33676
33677 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
33678 failures.
33679
edb3cb88
FW
33680 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
33681
60160d83
JM
336822012-09-04 Joseph Myers <joseph@codesourcery.com>
33683
33684 [BZ #9914]
33685 * libio/iogetdelim.c: Include <limits.h>.
33686 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
33687 + len + 1 would overflow.
33688
bcd6c8dc
AJ
336892012-09-03 Andreas Jaeger <aj@suse.de>
33690
33691 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33692 * sysdeps/i386/fpu/libm-test-ulps: Update.
33693
4ffffbd2
LD
336942012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33695
33696 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33697 Add s_sinf-sse2, s_conf-sse2.
33698
33699 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
33700 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
33701 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
33702 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
33703
33704 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
33705 for using routine as __sinf_ia32.
33706 Use macro for function declaration and weak_alias.
33707 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
33708 for using routine as __cosf_ia32.
33709 Use macro for function declaration and weak_alias.
33710
33711 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
33712 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
33713
33714 * sysdeps/x86_64/fpu/s_sinf.S: New file.
33715 * sysdeps/x86_64/fpu/s_cosf.S: New file.
33716 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33717
33718 * math/libm-test.inc (cos_test): Add more test cases.
33719 (sin_test): Likewise.
33720 (sincos_test): Likewise.
33721
511fa286
AK
337222012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33723
33724 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33725 (IFUNC_RESOLVE): Make pointers to the specialized implementations
33726 hidden.
33727 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33728
5f30cfec
L
337292012-09-02 H.J. Lu <hongjiu.lu@intel.com>
33730
33731 [BZ #14538]
33732 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
33733 first element of the GOT.
33734 (elf_machine_load_address): Return the difference between
33735 the runtime address of _DYNAMIC and elf_machine_dynamic ().
33736
0786794f
AM
337372012-09-01 Allan McRae <allan@archlinux.org>
33738
5f30cfec
L
33739 [BZ #13412]
33740 * configure.in (AWK): Require gawk version 3.0 or later.
33741 * configure: Regenerated.
0786794f 33742
26889eac
JM
337432012-09-01 Joseph Myers <joseph@codesourcery.com>
33744
33745 * sysdeps/unix/sysv/linux/kernel-features.h
33746 (__ASSUME_POSIX_CPU_TIMERS): Remove.
33747 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33748 [__NR_clock_getres]: Make code unconditional.
33749 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
33750 (clock_getcpuclockid): Remove code left unreachable by removal of
33751 conditionals.
33752 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
33753 code unconditional.
33754 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33755 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33756 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
33757 Make code unconditional.
33758 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33759 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33760 * sysdeps/unix/sysv/linux/clock_settime.c
33761 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
33762 conditional code.
33763 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
33764 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33765
d22e28b0
L
337662012-08-29 H.J. Lu <hongjiu.lu@intel.com>
33767
33768 [BZ #14476]
33769 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
33770 scripts/test-installation.pl.
33771
33772 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
33773 and $ld_so_version if it is set.
33774
050af9c4
SP
337752012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33776
33777 [BZ #14516]
33778 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
33779 failure if reading from procfs failed.
33780 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
33781
ad845c0b
JM
337822012-08-27 Joseph Myers <joseph@codesourcery.com>
33783
33784 * sysdeps/unix/sysv/linux/kernel-features.h
33785 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
33786 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33787 Remove conditional code.
33788 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33789 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
33790 Remove conditional code.
33791 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33792 * sysdeps/unix/sysv/linux/i386/fxstat.c
33793 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33794 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33795 * sysdeps/unix/sysv/linux/i386/fxstatat.c
33796 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33797 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33798 * sysdeps/unix/sysv/linux/i386/lxstat.c
33799 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33800 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33801 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
33802 Remove conditional code.
33803 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33804 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33805 Remove conditional code.
33806 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33807 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
33808 <kernel-features.h>.
33809 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
33810 Remove.
33811 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
33812 Remove conditional code.
33813 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33814 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
33815 Remove conditional.
33816
5dbf56af
MF
338172012-08-27 Mike Frysinger <vapier@gentoo.org>
33818
33819 [BZ #5400]
33820 * NEWS: Add fixed bug number.
33821
d6e70f43
JM
338222012-08-27 Joseph Myers <joseph@codesourcery.com>
33823
7efb4737
JM
33824 [BZ #14519]
33825 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
33826 underflowing exponent in case of negative sign.
33827 * stdlib/tst-strtod-round-data: Add more tests.
33828 * stdlib/tst-strtod-round.c (tests): Regenerated.
33829
af92131a
JM
33830 [BZ #3479]
33831 * stdlib/strtod_l.c (NDIG): Remove.
33832 (HEXNDIG): Likewise.
33833 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
33834 smallest representable value.
33835 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
33836 lie within an exact representation of 1/2 ulp of the result.
33837 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
33838 unconditionally.
33839 (TENS_P9_IDX): Define unconditionally.
33840 (TENS_P9_SIZE): Likewise.
33841 (TENS_P10_IDX): Likewise.
33842 (TENS_P10_SIZE): Likewise.
33843 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
33844 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
33845 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
33846 entries for 10^2^13 and 10^2^14.
33847 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
33848 (TENS_P13_IDX): Define.
33849 (TENS_P13_SIZE): Likewise.
33850 (TENS_P14_IDX): Likewise.
33851 (TENS_P14_SIZE): Likewise.
33852 (_fpioconst_pow10): Change array size to
33853 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
33854 unconditional.
33855 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
33856 1024]: Add entries for 10^2^13 and 10^2^14.
33857 [LAST_POW10 > _LAST_POW10]: Remove #error.
33858 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
33859 (_fpioconst_pow10): Change array size to
33860 FPIOCONST_POW10_ARRAY_SIZE.
33861 * stdlib/gen-fpioconst.c: New file.
33862 * stdlib/gen-tst-strtod-round.c: Likewise.
33863 * stdlib/tst-strtod-round-data: Likewise.
33864 * stdlib/tst-strtod-round.c: Likewise.
33865 * stdlib/Makefile (tests): Add tst-strtod-round.
33866
d6e70f43
JM
33867 [BZ #14459]
33868 * stdlib/strtod_l.c: Include <stdint.h>.
33869 (NDEBUG): Do not define.
33870 (round_and_return): Change EXPONENT parameter to type intmax_t.
33871 Rearrange calculations to avoid internal overflow possibilities.
33872 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33873 Rearrange calculations to avoid internal overflow possibilities.
33874 Assert that number fits inside MPNSIZE limbs.
33875 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33876 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
33877 calculations and add assertions to avoid internal overflow
33878 possibilities. Add casts to avoid signed/unsigned operations.
33879 * stdlib/tst-strtod-overflow.c: New file.
33880 * stdlib/Makefile (tests): Add tst-strtod-overflow.
33881
1f529f7d
MP
338822012-08-25 Marek Polacek <polacek@redhat.com>
33883
33884 * time/time.h: Fix some typos in comments.
33885
59a629f1
RM
338862012-08-23 Roland McGrath <roland@hack.frob.com>
33887
33888 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33889 * posix/tst-rfc3484-2.c: Likewise.
33890 * posix/tst-rfc3484-3.c: Likewise.
33891
d3bafbc9
SM
338922012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
33893
33894 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33895 (EF_ARM_ABI_FLOAT_HARD): Likewise.
33896
4efcc022
JM
338972012-08-23 Joseph Myers <joseph@codesourcery.com>
33898
33899 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33900 #include of fxstatat64.c.
33901
3cc3ef96
RM
339022012-08-22 Roland McGrath <roland@hack.frob.com>
33903
f04e2132
RM
33904 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33905 * shadow/getspent_r.c: Likewise.
33906 * shadow/getspnam.c: Likewise.
33907 * shadow/getspnam_r.c: Likewise.
33908 * gshadow/getsgent.c: Likewise.
33909 * gshadow/getsgent_r.c: Likewise.
33910 * gshadow/getsgnam.c: Likewise.
33911 * gshadow/getsgnam_r.c: Likewise.
33912 * inet/getnetbyad.c: Likewise.
33913 * inet/getnetbyad_r.c: Likewise.
33914 * inet/getnetbynm.c: Likewise.
33915 * inet/getnetbynm_r.c: Likewise.
33916 * inet/getnetent.c: Likewise.
33917 * inet/getnetent_r.c: Likewise.
33918 * inet/getproto.c: Likewise.
33919 * inet/getproto_r.c: Likewise.
33920 * inet/getprtent.c: Likewise.
33921 * inet/getprtent_r.c: Likewise.
33922 * inet/getprtname.c: Likewise.
33923 * inet/getprtname_r.c: Likewise.
33924 * inet/getrpcbyname.c: Likewise.
33925 * inet/getrpcbyname_r.c: Likewise.
33926 * inet/getrpcbynumber.c: Likewise.
33927 * inet/getrpcbynumber_r.c: Likewise.
33928 * inet/getrpcent.c: Likewise.
33929 * inet/getrpcent_r.c: Likewise.
33930 * inet/getaliasent.c: Likewise.
33931 * inet/getaliasent_r.c: Likewise.
33932 * inet/getaliasname.c: Likewise.
33933 * inet/getaliasname_r.c: Likewise.
33934 * nscd/getgrgid_r.c: Likewise.
33935 * nscd/getgrnam_r.c: Likewise.
33936 * nscd/gethstbyad_r.c: Likewise.
33937 * nscd/gethstbynm3_r.c: Likewise.
33938 * nscd/getpwnam_r.c: Likewise.
33939 * nscd/getpwuid_r.c: Likewise.
33940 * nscd/getsrvbynm_r.c: Likewise.
33941 * nscd/getsrvbypt_r.c: Likewise.
33942 * nscd/gai.c: Likewise.
33943
c53d909c
RM
33944 * configure.in (build_nscd): New substituted variable, set
33945 by --disable-build-nscd and defaults to $use_nscd.
33946 * configure: Regenerated.
33947 * config.make.in (build-nscd): New substituted variable.
33948 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33949 Change conditional to require [$(build-nscd) = yes] as well.
33950 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33951
3cc3ef96
RM
33952 [BZ# 13696]
33953 * configure.in (use_nscd): New substituted variable, set by
33954 --disable-nscd. If enabled, define USE_NSCD.
33955 * configure: Regenerated.
33956 * config.h.in: Add USE_NSCD.
33957 * config.make.in (use-nscd): New substituted variable.
33958 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33959 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33960 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33961 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33962 (CFLAGS-getgrnam_r.c): Likewise.
33963 (CFLAGS-initgroups.c): Likewise.
33964 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
33965 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
33966 Variables removed.
33967 * inet/getnetgrent_r.c
33968 (nscd_setnetgrent): New function, broken out of ...
33969 (setnetgrent): ... here. Call it.
33970 (innetgr): Conditionalize nscd bits on [USE_NSCD].
33971 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
33972 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
33973 * nscd/Makefile (routines, aux): Move definitions after include of
33974 Makeconfig. Conditionalize on [$(use-nscd) != no].
33975 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
33976 Conditionalize on [USE_NSCD].
33977 (is_nscd, nscd_init_cb): Likewise.
33978 (nss_load_library): Conditionalize init callback on [USE_NSCD].
33979 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
33980 * nss/nss_db/db-init.c: Likewise.
33981 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
33982 [USE_NSCD].
33983 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
33984 (make_request): Use it.
33985 (cache_valid_p): New function.
33986 (__check_pf): Use it.
33987 * NEWS: Add item for --disable-nscd.
33988
07e51550
DL
339892012-08-22 Dmitry V. Levin <ldv@altlinux.org>
33990
33991 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
33992 to support sed >= 4.2.1-20-ga9bf076.
33993 * configure: Regenerated.
33994
35a5b08b
RM
339952012-08-22 Roland McGrath <roland@hack.frob.com>
33996
33997 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
33998 Conditionalize whole body on [IREL].
33999
8479f23a
JL
340002012-08-22 Jeff Law <law@redhat.com>
34001
34002 [BZ #14505]
34003 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
34004 if the family is PF_UNSPEC.
34005
48da0b21
MF
340062012-08-22 Mike Frysinger <vapier@gentoo.org>
34007
34008 * Makerules (lib-version): Rename from V.
34009 (install-lib-nosubdir): Change V to lib-version.
34010
15d0da8c
WS
340112012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
34012
34013 [BZ #14252]
34014 * powerpc32/power6/wcschr.c: New file.
34015 * powerpc32/power6/wcscpy.c: New file.
34016 * powerpc32/power6/wcsrchr.c: New file.
34017 * powerpc64/power6/wcschr.c: New file.
34018 * powerpc64/power6/wcscpy.c: New file.
34019 * powerpc64/power6/wcsrchr.c: New file.
34020
bcca0895
MK
340212012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
34022
34023 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
34024 (two_way_short_needle): Use it.
5a4aaa33
RM
34025 * string/strstr.c (AVAILABLE1_USES_J): Define.
34026 * string/strcasestr.c: Likewise.
99677e57
MK
34027
34028 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
34029 array references.
34030 * string/strcasestr.c (TOLOWER): Make side-effect safe.
34031
400726de
MK
34032 [BZ #11607]
34033 * NEWS: Add an entry.
34034 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
34035 define their defaults.
34036 (two_way_short_needle): Detect end-of-string on-the-fly.
34037 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
34038 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
34039 * string/bug-strcasestr1.c: New test.
34040 * string/Makefile: Run it.
34041
20a71f2c
MK
340422012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
34043
34044 [BZ #11607]
34045 * string/str-two-way.h (two_way_short_needle): Optimize matching of
34046 the first character.
34047
21ad0558
RM
340482012-08-21 Roland McGrath <roland@hack.frob.com>
34049
34050 * csu/elf-init.c (__libc_csu_irel): Function removed.
34051 * csu/libc-start.c (apply_irel): New function.
34052 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
34053
0e1d9911
JM
340542012-08-21 Joseph Myers <joseph@codesourcery.com>
34055
34056 * sysdeps/unix/sysv/linux/kernel-features.h
34057 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
34058 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
34059 <kernel-features.h>.
34060 [__NR_fadvise64_64]: Make code unconditional.
34061 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
34062 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34063 !__NR_fadvise64_64)]: Likewise.
34064 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34065 !__NR_fadvise64_64))]: Likewise.
34066 [__NR_fadvise64]: Make code unconditional.
34067 [!__NR_fadvise64]: Remove conditional code.
34068 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
34069 <kernel-features.h>.
34070 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34071 unconditional.
34072 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34073 conditional code.
34074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
34075 not include <kernel-features.h>.
34076 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34077 unconditional.
34078 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34079 conditional code.
34080 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
34081 include <kernel-features.h>.
34082 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34083 unconditional.
34084 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34085 conditional code.
34086
14a50c9d
WS
340872012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
34088
34089 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
34090 slight instruction rearrangements per scrollpipe analysis.
34091 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34092
c0f4faf0
RM
340932012-08-20 Roland McGrath <roland@hack.frob.com>
34094
696da859
RM
34095 * manual/syslog.texi (syslog; vsyslog, closelog):
34096 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
34097 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
34098
c0f4faf0
RM
34099 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
34100 DSOCAPS to match condition on defining it.
34101
348363b2
JM
341022012-08-20 Joseph Myers <joseph@codesourcery.com>
34103
a35cbf28
JM
34104 * sysdeps/unix/sysv/linux/kernel-features.h
34105 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
34106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
34107 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34108 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
34110 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34111 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
34113 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34114 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34115
445f7ecd
JM
34116 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
34117 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
34118
348363b2
JM
34119 * sysdeps/unix/sysv/linux/kernel-features.h
34120 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
34121 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
34122 unconditional.
34123 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34124 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
34125 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34126 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34127 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
34128 Make code unconditional.
34129 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34130 (__mmap64) [!__NR_mmap2]: Likewise.
34131 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
34132 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34133 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34134 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
34135 [__NR_mmap2]: Make code unconditional.
34136 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34137 (__mmap64) [!__NR_mmap2]: Likewise.
34138
bc5bc0e5
AK
341392012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34140
34141 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
34142
88d506de
AJ
341432012-08-18 Andreas Jaeger <aj@suse.de>
34144
34145 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
34146
493387d2
MF
341472012-08-18 Mike Frysinger <vapier@gentoo.org>
34148
34149 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
34150 * include/unistd.h (__have_sock_cloexec): Likewise.
34151 (__have_pipe2): Likewise.
34152 (__have_dup3): Likewise.
34153
a277af22
MF
341542012-08-18 Mike Frysinger <vapier@gentoo.org>
34155
34156 [BZ #9685]
34157 * include/unistd.h (__have_pipe2): Change define into an extern int.
34158 (__have_dup3): Likewise.
34159 * socket/have_sock_cloexec.c: Include fcntl.h.
34160 (__have_pipe2): New variable.
34161 (__have_dup3): Likewise.
34162
fdab8fd3
MF
341632012-08-17 Mike Frysinger <vapier@gentoo.org>
34164
34165 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
34166
31035e80
MP
341672012-08-17 Marek Polacek <polacek@redhat.com>
34168
34169 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
34170 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
34171
3bd9e993
RM
341722012-08-17 Roland McGrath <roland@hack.frob.com>
34173
c91c505f
RM
34174 * configure.in: Add AC_SUBST for sysheaders.
34175 * configure: Regenerated.
34176 * config.make.in (sysheaders): New substituted variable.
34177
7c6f9d53
RM
34178 * sysdeps/unix/mkfifo.c: Moved ...
34179 * sysdeps/posix/mkfifo.c: ... here.
34180 * sysdeps/unix/mkfifoat.c: Moved ...
34181 * sysdeps/posix/mkfifoat.c: ... here.
34182
34183 * sysdeps/unix/utime.c: Moved ...
34184 * sysdeps/posix/utime.c: ... here.
34185
34186 * sysdeps/unix/time.c: Moved ...
34187 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
34188 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
34189 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
34190
34191 * sysdeps/unix/nice.c: Moved ...
34192 * sysdeps/posix/nice.c: ... here.
34193
34194 * sysdeps/unix/alarm.c: Moved ...
34195 * sysdeps/posix/alarm.c: ... here.
34196
3bd9e993
RM
34197 * intl/Makefile ($(codeset_mo)): Depend on the input file.
34198
d1f09384
JL
341992012-08-17 Jeff Law <law@redhat.com>
34200
34201 * intl/Makefile (codeset_mo): New variable.
34202 ($(codeset_mo)): New target.
34203 (tst-codeset.out): Depend on that. Remove explicit rule.
34204 (tst-gettext3.out, tst-gettext5.out): Likewise.
34205 (LOCPATH-ENV, tst-codeset-ENV): New variables.
34206 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
34207 * intl/tst-codeset.sh: Remove.
34208 * intl/tst-gettext3.sh: Likewise.
34209 * intl/tst-gettext5.sh: Likewise.
34210
2ae1ae5c
RM
342112012-08-17 Roland McGrath <roland@hack.frob.com>
34212
c31fdb83
RM
34213 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
34214 * sysdeps/unix/syscalls.list: ... here.
34215
a0844057
RM
34216 * sysdeps/posix/getaddrinfo.c
34217 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
34218 (gaiconf_init, gaiconf_reload): Use them.
34219 [!_STATBUF_ST_NSEC]
34220 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
34221 Define using time_t rather than struct timespec.
34222
750c1f2a
RM
34223 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
34224 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
34225 Macros removed.
34226 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
34227 [!NO_THREADS].
34228 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
34229 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
34230 Likewise.
34231
2ae1ae5c
RM
34232 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
34233 __libc_cleanup_push argument.
34234
e66a42f5
RM
34235 * bits/param.h: New file.
34236 * misc/sys/param.h: New file.
34237 * include/sys/param.h: New file.
34238 * misc/Makefile (headers): Add bits/param.h.
34239 * sysdeps/generic/sys/param.h: File removed.
34240 * sysdeps/unix/sysv/linux/bits/param.h: New file.
34241 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
34242 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 34243 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 34244
b7c08a66
RM
34245 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
34246 last change.
34247
b2e1c562
RM
34248 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
34249 [_IO_MTSAFE_IO].
34250 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
34251 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
34252 New macros.
34253
c75ccd4c
RM
34254 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
34255 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
34256 rather than -D_IO_MTSAFE_IO conditionally.
34257 * stdio-common/Makefile (CPPFLAGS): Likewise.
34258 * wcsmbs/Makefile (CPPFLAGS): Likewise.
34259 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
34260 Use $(libio-mtsafe).
34261 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
34262 of -D_IO_MTSAFE_IO.
34263 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
34264 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
34265 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
34266 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
34267 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
34268 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
34269 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
34270 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
34271 (CFLAGS-fread_u_chk.c): Likewise.
34272 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
34273 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
34274 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
34275 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
34276 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
34277 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
34278 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
34279 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
34280 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
34281
34282 * libio/Makefile: Test [$(libc-reentrant) = yes]
34283 instead of [$(filter %REENTRANT, $(defines)) nonempty].
34284
34285 * Makeconfig
34286 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
34287 * sysdeps/pthread/configure: File removed.
34288 * sysdeps/pthread/Makeconfig: New file.
34289 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
34290 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
34291
d9195db8
GB
342922012-08-16 Gary Benson <gbenson@redhat.com>
34293
34294 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
34295 unmapping the first object in a namespace.
34296
86466cd9
RM
342972012-08-16 Roland McGrath <roland@hack.frob.com>
34298
34299 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
34300 (__internal_setnetgrent): ... this. Add internal_function to
34301 definition. Add libc_hidden_def.
34302 (setnetgrent): Update caller.
34303 (internal_endnetgrent): Renamed to ...
34304 (__internal_endnetgrent): ... this. Add internal_function to
34305 definition. Add libc_hidden_def.
34306 (endnetgrent): Update caller.
34307 (internal_getnetgrent_r): Renamed to ...
34308 (__internal_getnetgrent_r): ... this. Add internal_function to
34309 definition. Add libc_hidden_def.
34310 (__getnetgrent_r): Update caller.
34311 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
34312
c3c8283c
JM
343132012-08-16 Joseph Myers <joseph@codesourcery.com>
34314
34315 * stdlib/longlong.h: Update from GCC.
34316
db1ee0a8
RM
343172012-08-16 Roland McGrath <roland@hack.frob.com>
34318
34319 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
34320 on _QL, which is set by umul_ppmm but never used.
34321 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
34322 variables, which are set by GMP macros but never used.
34323 * stdio-common/_itowa.c (_itowa): Likewise.
34324 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
34325 * stdlib/mod_1.c (mpn_mod_1): Likewise.
34326
30f69637
CD
343272012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
34328
34329 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
34330 struct La_sh_regs is not constant.
34331 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
34332 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
34333 and struct La_sparc64_regs are not constant.
34334
93a78ac4
JM
343352012-08-16 Joseph Myers <joseph@codesourcery.com>
34336
34337 * sysdeps/unix/sysv/linux/kernel-features.h
34338 (__ASSUME_POSIX_TIMERS): Remove.
34339 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34340 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34341 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
34342 Make code unconditional.
34343 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34344 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
34345 Make code unconditional.
34346 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34347 * sysdeps/unix/sysv/linux/clock_nanosleep.c
34348 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
34349 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34350 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
34351 Make code unconditional.
34352 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34353 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
34354 (__libc_missing_posix_timers): Remove.
34355
dd924cd7
RM
343562012-08-15 Roland McGrath <roland@hack.frob.com>
34357
4b4f2771
RM
34358 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
34359 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
34360
601c888b
RM
34361 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
34362
176790a7
RM
34363 * elf/dl-sym.c: Include <stdlib.h>.
34364
329bc018
RM
34365 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
34366 constants, which avoids warnings in 32-bit builds.
34367
e04e272d
RM
34368 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
34369 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
34370
952bf94a
RM
34371 * misc/lseek.c: File moved to ...
34372 * io/lseek.c: ... here.
34373
7c99b50a
RM
34374 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
34375
dd924cd7
RM
34376 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
34377 shifting LEN more than 31 bits at once.
34378
b3f479a8
LD
343792012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34380
34381 [BZ #14195]
8c4ae0d4
RM
34382 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
34383 segmentation fault for a case of two empty input strings.
b3f479a8
LD
34384 * string/test-strncasecmp.c (check1): Renamed to...
34385 (bz12205): ...this.
34386 (bz14195): Add new testcase for two empty input strings and N > 0.
34387 (test_main): Call new testcase, adapt for renamed function.
34388
9c55864e
AJ
343892012-08-15 Andreas Jaeger <aj@suse.de>
34390
34391 [BZ #14090]
34392 * crypt/md5test2.c: New test, based on test supplied by Serge
34393 Belyshev <belyshev@depni.sinp.msu.ru>.
34394 * crypt/Makefile (xtests): Add md5test-giant..
34395 * crypt/Makefile ($(objpfx)md5test-giant): Add.
34396
02dcb6c5
PE
343972012-08-15 Paul Eggert <eggert@cs.ucla.edu>
34398
34399 [BZ #14090]
34400 * crypt/md5.c (md5_process_block): Don't assume the buffer
34401 length is less than 2**32.
34402 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
34403 length is less than 2**64.
34404
a3f95dcc
RM
344052012-08-15 Roland McGrath <roland@hack.frob.com>
34406
be75d758
RM
34407 * string/str-two-way.h: Include <sys/param.h>.
34408 (MAX): Macro removed.
34409
7312ca90
RM
34410 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
34411 Move #define and #undef of memmove to just before and after
34412 including <string.h>.
34413
9a0a5486
RM
34414 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
34415 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
34416 and after including <string.h>. Move declarations of
34417 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
34418 to before #include "string/memmove.c".
34419
67cc348d
RM
34420 * include/dirent.h: Declare __getdirentries.
34421
a3f95dcc
RM
34422 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
34423 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
34424
ca98e171
MF
344252012-08-14 Mike Frysinger <vapier@gentoo.org>
34426
34427 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
34428 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
34429 * sysdeps/i386/configure: Regenerated.
34430 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
34431 STABS_CURRENT_FILE, and STABS_FUN.
34432 (END): Remove call to STABS_FUN_END.
34433 (STABS_CURRENT_FILE1): Delete.
34434 (STABS_CURRENT_FILE): Likewise.
34435 (STABS_FUN): Likewise.
34436 (STABS_FUN_END): Likewise.
34437 (STABS_FUN2): Likewise.
34438 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
34439 * sysdeps/x86_64/configure: Regenerated.
34440
5908bf46
RM
344412012-08-14 Roland McGrath <roland@hack.frob.com>
34442
34443 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 34444 * elf/dl-lookup.c: Likewise.
5908bf46 34445
f2c05b9e
JM
344462012-08-14 Joseph Myers <joseph@codesourcery.com>
34447
34448 * sysdeps/unix/sysv/linux/kernel-features.h
34449 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
34450 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
34451 unconditionally.
34452 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
34453 unconditionally.
34454 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
34455 condition on __ASSUME_CLONE_THREAD_FLAGS.
34456
e11f5155
AJ
344572012-08-14 Andreas Jaeger <aj@suse.de>
34458
34459 * sysdeps/i386/fpu/libm-test-ulps: Update.
34460
51a9ba86
MK
344612012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
34462
2fdd4f78
AJ
34463 * include/atomic.h (atomic_exchange_and_add): Split into ...
34464 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
34465 New atomic macros.
51a9ba86 34466
ba6cba9e
MT
344672012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
34468
34469 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34470
42443a47
JL
344712012-08-13 Jeff Law <law@redhat.com>
34472
34473 * manual/stdio.texi (snprintf): Clarify handling of the trailing
34474 null byte in the output string.
34475
121dce05
JM
344762012-08-10 Joseph Myers <joseph@codesourcery.com>
34477
34478 * sysdeps/unix/sysv/linux/kernel-features.h
34479 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
34480 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
34481 (__ASSUME_ARG_MAX_STACK_BASED): Define.
34482 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34483 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
34484 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
34485 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
34486
bf51f568
JL
344872012-08-09 Jeff Law <law@redhat.com>
34488
34489 [BZ #13939]
34490 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
34491 When avoid_arena is set, don't retry in the that arena. Pick the
34492 next one, whatever it might be.
34493 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
34494 (arena_lock): Pass in new parameter to arena_get2.
34495 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
34496 arena_get2.
34497 (__libc_malloc): Unify retrying after main arena failure with
34498 __libc_memalign version.
34499 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
34500
f85fa270
L
345012012-08-09 H.J. Lu <hongjiu.lu@intel.com>
34502
34503 [BZ #14166]
34504 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
34505 to __redirect_strstr.
34506 (__strstr_sse42): Use typeof __redirect_strstr.
34507 (__strstr_ia32): Likewise.
34508 (__libc_strstr): New prototype.
34509 (strstr): Renamed to ...
34510 (__libc_strstr): This.
34511 (strstr): New strong alias of __libc_strstr.
34512 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34513 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
34514 __redirect_time.
34515 Include <time.h>.
34516 (__libc_time): New prototype.
34517 (time_ifunc): Replace time with __libc_time.
34518 (time): New strong alias and hidden definition of __libc_time.
34519 (__GI_time): Remove strong alias.
34520 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
34521 Include <stddef.h>.
34522 (memmove): Redefined to __redirect_memmove.
34523 (__memmove_sse2): Use typeof __redirect_memmove.
34524 (__memmove_ssse3): Likewise.
34525 (__memmove_ssse3_back): Likewise.
34526 (__libc_memmove): New prototype.
34527 (memmove): Renamed to ...
34528 (__libc_memmove): This.
34529 (memmove): New strong alias of __libc_memmove.
34530
33b4a91e
MS
345312012-08-08 Mark Salter <msalter@redhat.com>
34532
34533 * elf/elf.h
34534 (R_MN10300_TLS_GD): Define.
34535 (R_MN10300_TLS_LD): Likewise.
34536 (R_MN10300_TLS_LDO): Likewise.
34537 (R_MN10300_TLS_GOTIE): Likewise.
34538 (R_MN10300_TLS_IE): Likewise.
34539 (R_MN10300_TLS_LE): Likewise.
34540 (R_MN10300_TLS_DTPMOD): Likewise.
34541 (R_MN10300_TLS_DTPOFF): Likewise.
34542 (R_MN10300_TLS_TPOFF): Likewise.
34543 (R_MN10300_SYM_DIFF): Likewise.
34544 (R_MN10300_ALIGN): Likewise.
34545 (R_MN10300_NUM): Update.
34546
b36137f1
JM
345472012-08-08 Joseph Myers <joseph@codesourcery.com>
34548
34549 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
34550 Remove.
34551
cdd915fd
RM
345522012-08-08 Roland McGrath <roland@hack.frob.com>
34553
a2433aac
RM
34554 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
34555
cdd915fd
RM
34556 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
34557 sysdeps/unix -> sysdeps/posix move.
34558 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34559
bf9b740a
AM
345602012-08-07 Allan McRae <allan@archlinux.org>
34561
34562 [BZ #14303]
34563 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
34564 (SUNOS_CPP): Likewise.
34565 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
34566 not found.
34567 (open_input): Call CPP using execvp.
34568
93df14ee
JM
345692012-08-07 Joseph Myers <joseph@codesourcery.com>
34570
34571 * sysdeps/unix/sysv/linux/kernel-features.h
34572 (__ASSUME_PROT_GROWSUPDOWN): Remove.
34573 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34574 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34575 (__ASSUME_WAITID_SYSCALL): Likewise.
34576 * sysdeps/unix/sysv/linux/dl-execstack.c
34577 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
34578 code unconditional.
34579 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
34580 conditional code.
34581 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
34582 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
34583 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
34584 code.
34585 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
34586 unconditional.
34587 [__ASSUME_WAITID_SYSCALL]: Likewise.
34588 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
34589
d34689de
RM
345902012-08-07 Roland McGrath <roland@hack.frob.com>
34591
a281decc
RM
34592 * sysdeps/unix/closedir.c: Renamed to ...
34593 * sysdeps/posix/closedir.c: ... here.
34594 * sysdeps/unix/dirfd.c: Renamed to ...
34595 * sysdeps/posix/dirfd.c: ... here.
34596 * sysdeps/unix/dirstream.h: Renamed to ...
34597 * sysdeps/posix/dirstream.h: ... here.
34598 * sysdeps/unix/fdopendir.c: Renamed to ...
34599 * sysdeps/posix/fdopendir.c: ... here.
34600 * sysdeps/unix/opendir.c: Renamed to ...
34601 * sysdeps/posix/opendir.c: ... here.
34602 * sysdeps/unix/readdir.c: Renamed to ...
34603 * sysdeps/posix/readdir.c: ... here.
34604 * sysdeps/unix/readdir_r.c: Renamed to ...
34605 * sysdeps/posix/readdir_r.c: ... here.
34606 * sysdeps/unix/rewinddir.c: Renamed to ...
34607 * sysdeps/posix/rewinddir.c: ... here.
34608 * sysdeps/unix/seekdir.c: Renamed to ...
34609 * sysdeps/posix/seekdir.c: ... here.
34610 * sysdeps/unix/telldir.c: Renamed to ...
34611 * sysdeps/posix/telldir.c: ... here.
34612 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
34613 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
34614 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34615 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
34616
22895b47
RM
34617 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
34618 * bits/fcntl.h: ... here.
34619
707a53b6
RM
34620 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
34621 not 0.
34622 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
34623 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
34624 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
34625 (struct flock): Move l_start, l_len to the beginning.
34626 Use __pid_t for l_pid.
34627 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
34628 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
34629 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
34630 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
34631 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
34632 [__USE_LARGEFILE64] (struct flock64): New type.
34633 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
34634
f0bd3e25
RM
34635 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
34636 * bits/dirent.h: ... here.
34637
d34689de
RM
34638 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
34639 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
34640
6dad2c06
JM
346412012-08-07 Joseph Myers <joseph@codesourcery.com>
34642
34643 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34644 Change from 2.6.0 to 2.6.16.
34645 * sysdeps/unix/sysv/linux/configure: Regenerated.
34646 * sysdeps/unix/sysv/linux/kernel-features.h
34647 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
34648 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
34649 version.
34650 (__ASSUME_UTIMES): Likewise.
34651 (__ASSUME_CLONE_STOPPED): Remove.
34652 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
34653 architectures, not kernel version.
34654 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
34655 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34656 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34657 (__ASSUME_WAITID_SYSCALL): Likewise.
34658 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
34659 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
34660 * README: State 2.6.16 as minimum Linux kernel version. Do not
34661 refer to older versions.
34662
03af9520
RM
346632012-08-06 Roland McGrath <roland@hack.frob.com>
34664
8e49df1d
RM
34665 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
34666 Define alphasort64 as an alias.
34667 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
34668 Define versionsort64 as an alias.
34669 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
34670 Define scandir64 as an alias.
34671 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
34672 Define scandirat64 as an alias.
34673 * dirent/alphasort64.c (alphasort64):
34674 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
34675 * dirent/versionsort64.c: Likewise.
34676 * dirent/scandir64.c: Likewise.
34677 * dirent/scandirat64.c: Likewise.
34678 * sysdeps/wordsize-64/alphasort.c: File removed.
34679 * sysdeps/wordsize-64/alphasort64.c: File removed.
34680 * sysdeps/wordsize-64/scandir.c: File removed.
34681 * sysdeps/wordsize-64/scandir64.c: File removed.
34682 * sysdeps/wordsize-64/scandirat.c: File removed.
34683 * sysdeps/wordsize-64/scandirat64.c: File removed.
34684 * sysdeps/wordsize-64/versionsort.c: File removed.
34685 * sysdeps/wordsize-64/versionsort64.c: File removed.
34686 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
34687 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
34688 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
34689 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
34690 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
34691 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
34692 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
34693 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
34694
34695 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
34696 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34697 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
34698 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34699 [defined __arch64__ || defined __sparcv9]
34700 (__INO_T_MATCHES_INO64_T): New macro.
34701 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34702 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
34703 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
34704 * sysdeps/unix/sysv/linux/bits/dirent.h
34705 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
34706 (_DIRENT_MATCHES_DIRENT64): New macro.
34707
03af9520
RM
34708 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
34709 Define lockf64 as an alias.
34710 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
34711 Define fseeko64 as an alias.
34712 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
34713 Define ftello64 as an alias.
34714 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
34715 Define _IO_fgetpos64 and fgetpos64 as aliases.
34716 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
34717 Define _IO_fsetpos64 and fsetpos64 as aliases.
34718 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
34719 Conditionalize body on this.
34720 * libio/fseeko64.c: Likewise.
34721 * libio/ftello64.c: Likewise.
34722 * libio/iofgetpos64.c: Likewise.
34723 * libio/iofsetpos64.c: Likewise.
34724 * sysdeps/wordsize-64/lockf.c: File removed.
34725 * sysdeps/wordsize-64/lockf64.c: File removed.
34726 * sysdeps/wordsize-64/fseeko.c: File removed.
34727 * sysdeps/wordsize-64/fseeko64.c: File removed.
34728 * sysdeps/wordsize-64/ftello.c: File removed.
34729 * sysdeps/wordsize-64/ftello64.c: File removed.
34730 * sysdeps/wordsize-64/iofgetpos.c: File removed.
34731 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
34732 * sysdeps/wordsize-64/iofsetpos.c: File removed.
34733 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
34734 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
34735 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
34736 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
34737 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
34738 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
34739 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
34740 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
34741 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
34742 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
34743 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
34744
34745 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34746 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34747 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
34748 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34749 [defined __arch64__ || defined __sparcv9]
34750 (__OFF_T_MATCHES_OFF64_T): New macro.
34751 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34752 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34753 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34754 (__OFF_T_MATCHES_OFF64_T): New macro.
34755
c5757acd
L
347562012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34757
34758 * stdlib/secure-getenv.c (__secure_getenv): Replace
34759 GLIBC_2_16 with GLIBC_2_17.
34760
3a31811e
L
347612012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34762
34763 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
34764 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34765
faa2bccb
DM
347662012-08-03 David S. Miller <davem@davemloft.net>
34767
34768 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34769
85fe1997
JM
347702012-08-03 Joseph Myers <joseph@codesourcery.com>
34771
34772 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
34773 Remove.
34774 (__ASSUME_CORRECT_SI_PID): Likewise.
34775 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
34776 (__ASSUME_TMPFS_NAME): Likewise.
34777 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
34778 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
34779 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
34780 (HAVE_AUX_SECURE): Make definition unconditional.
34781 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
34782 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
34783
4f75b7a0
RM
347842012-08-03 Roland McGrath <roland@hack.frob.com>
34785
34786 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
34787 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
34788 * sysdeps/mach/hurd/eloop-threshold.h: New file.
34789 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34790 __eloop_threshold instead of SYMLOOP_MAX.
34791
34792 * sysdeps/generic/eloop-threshold.h: New file.
34793 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
34794 of MAXSYMLINKS.
34795 * elf/chroot_canon.c (chroot_canon): Likewise.
34796
7aab07e4
JM
347972012-08-03 Joseph Myers <joseph@codesourcery.com>
34798
34799 [BZ #13717]
34800 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34801 Change to 2.6.0 everywhere.
34802 * sysdeps/unix/sysv/linux/configure: Regenerated.
34803 * sysdeps/unix/sysv/linux/kernel-features.h
34804 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
34805 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
34806 kernel versions.
34807 (__ASSUME_POSIX_TIMERS): Define unconditionally.
34808 (__ASSUME_FUTEX_REQUEUE): Remove.
34809 (__ASSUME_STATFS64): Define unconditionally.
34810 (__ASSUME_AT_SECURE): Likewise.
34811 (__ASSUME_CORRECT_SI_PID): Likewise.
34812 (__ASSUME_TGKILL): Define without depending on kernel version for
34813 i386.
34814 (__ASSUME_UTIMES): Likewise.
34815 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
34816 kernel version.
34817 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
34818 (__ASSUME_TMPFS_NAME): Likewise.
34819 * README: Update reference to Linux kernel versions.
34820
b67e9372
MP
348212012-08-02 Marek Polacek <polacek@redhat.com>
34822
1f529f7d 34823 [BZ# 14150]
b67e9372
MP
34824 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
34825 libc_cv_asm_type_prefix with %.
34826 * configure: Regenerated.
d2441631
RM
34827 * include/libc-symbols.h: Remove comment about
34828 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
34829 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
34830 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
34831 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
34832 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
34833 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34834 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
34835 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
34836 * elf/tst-unique2mod1.c: Likewise.
34837 * elf/tst-unique1mod2.c: Likewise.
34838 * elf/tst-unique1mod1.c: Likewise.
34839 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
34840 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
34841 Replace ASM_TYPE_DIRECTIVE with .type.
34842 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34843 * sysdeps/i386/sysdep.h: Likewise.
34844 * sysdeps/x86_64/sysdep.h: Likewise.
34845 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
34846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34847 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 34848 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
34849 * sysdeps/powerpc/powerpc32/sysdep.h:
34850 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
34851 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34852 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34853 * sysdeps/i386/fpu/e_powf.S: Likewise.
34854 * sysdeps/i386/fpu/e_expl.S: Likewise.
34855 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34856 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34857 * sysdeps/i386/fpu/e_pow.S: Likewise.
34858 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34859 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34860 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34861 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34862 * sysdeps/i386/fpu/e_log2.S: Likewise.
34863 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34864 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34865 * sysdeps/i386/fpu/e_powl.S: Likewise.
34866 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34867 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34868 * sysdeps/i386/fpu/e_logl.S: Likewise.
34869 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34870 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34871 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34872 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34873 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34874 * sysdeps/i386/fpu/e_log.S: Likewise.
34875 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34876 * sysdeps/i386/fpu/e_logf.S: Likewise.
34877 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34878 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34879 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34880 * sysdeps/i386/fpu/e_log10.S: Likewise.
34881 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34882 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34883 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34884 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34885 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34886 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34887 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34888 * sysdeps/i386/i686/strtok.S: Likewise.
34889 * sysdeps/i386/i386-mcount.S: Likewise.
34890 * sysdeps/i386/strtok.S: Likewise.
34891 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34892 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34893 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34894 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34895 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34896 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34897 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34898 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34899 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34900 * sysdeps/x86_64/_mcount.S: Likewise.
34901 * sysdeps/x86_64/strtok.S: Likewise.
34902 * sysdeps/sh/_mcount.S: Likewise.
34903
2747bf9a
RM
349042012-08-01 Roland McGrath <roland@hack.frob.com>
34905
34906 * libio/iofopen.c: Include <fcntl.h>.
34907 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34908 (_IO_fopen64, fopen64): Define as aliases.
34909 * libio/iofopen64.c: Include <fcntl.h>.
34910 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34911 Conditionalize body on this.
34912 * sysdeps/wordsize-64/iofopen.c: File removed.
34913 * sysdeps/wordsize-64/iofopen64.c: File removed.
34914
3fb791b8
MP
349152012-08-01 Marek Polacek <polacek@redhat.com>
34916
34917 * libc/Makeconfig: Use elf in place of binfmt-subdir.
34918 Use dlfcn directly instead of a variable.
34919 (binfmt-subdir): Do not define.
34920 (dlfcn): Likewise.
34921
a9f1039f
JM
349222012-08-01 Joseph Myers <joseph@codesourcery.com>
34923
23bddc06
JM
34924 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34925 Remove all definitions.
34926 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34927 <kernel-features.h>.
34928 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34929 (miss_F_GETOWN_EX): Remove all definitions.
34930 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34931 macro definition.
34932 [!__ASSUME_FCNTL64]: Remove conditional code.
34933 [__ASSUME_FCNTL64]: Make code unconditional.
34934 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34935 <kernel-features.h>.
34936 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34937 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34938 (lockf64) [__NR_fcntl64]: Make code unconditional.
34939 (lockf64) [__ASSUME_FCNTL64]: Likewise.
34940
a9f1039f
JM
34941 * sysdeps/unix/sysv/linux/kernel-features.h
34942 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34943 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34944 Make code unconditional.
34945 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34946 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34948 [__NR_vfork]: Make code unconditional.
34949 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34950 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34952 [__NR_vfork]: Make code unconditional.
34953 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34954 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34955
09c0ee5f
RM
349562012-08-01 Roland McGrath <roland@hack.frob.com>
34957
48aec5b9
RM
34958 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34959 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34960
cd97c966
RM
34961 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34962 Define mkstemp64 as an alias.
3f55550c
RM
34963 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34964 Define mkstemps64 as an alias.
cd97c966
RM
34965 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34966 Define mkostemp64 as an alias.
b8625cfc
RM
34967 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34968 Define mkostemps64 as an alias.
cd97c966
RM
34969 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
34970 Conditionalize body on this.
34971 * misc/mkostemp64.c: Likewise.
b8625cfc 34972 * misc/mkostemps64.c: Likewise.
3f55550c 34973 * misc/mkstemps64.c: Likewise.
cd97c966
RM
34974 * sysdeps/wordsize-64/mkstemp64.c: File removed.
34975 * sysdeps/wordsize-64/mkostemp64.c: File removed.
34976 * sysdeps/wordsize-64/mkostemp.c: File removed.
34977 * sysdeps/wordsize-64/mkstemp.c: File removed.
34978 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
34979 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
34980 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
34981 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
34982
09c0ee5f
RM
34983 [BZ #14138]
34984 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
34985 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
34986 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
34987 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
34988
34989 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
34990 compat_symbol macros from <shlib-compat.h> rather than the underlying
34991 default_symbol_version and symbol_version macros, so that DEFAULT
34992 lines in shlib-versions are respected.
34993 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
34994
7e66ee51
FW
349952012-08-01 Florian Weimer <fweimer@redhat.com>
34996
34997 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
34998 Declare with warn_unused_result.
34999 (setgid, setregid, setegid, setresgid): Likewise.
35000 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
35001 Likewise.
35002 * WUR-REPORT: Remove set*id functions.
35003
d2a54255
PT
350042012-07-31 Pino Toscano <toscano.pino@tiscali.it>
35005
35006 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
35007
7ecdb005
RM
350082012-07-31 Roland McGrath <roland@hack.frob.com>
35009
b4180a5e 35010 [BZ #10191]
789bd351
RM
35011 * include/sys/socket.h (__libc_accept, __libc_accept4):
35012 Add attribute_hidden.
35013 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
35014
40ce302d
RM
35015 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
35016 use of PTR_MANGLE.
35017 * inet/getnetgrent_r.c (setup): Likewise.
35018
7ecdb005
RM
35019 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
35020
e2eabb2c
DM
350212012-07-31 David S. Miller <davem@davemloft.net>
35022
35023 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35024
d0419dbf
JM
350252012-07-31 Joseph Myers <joseph@codesourcery.com>
35026
35027 [BZ #13629]
35028 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
35029 value between 1.0 and 2.0 and smaller part has absolute value less
35030 than 1.0.
35031 * math/s_clog10.c (__clog10): Likewise.
35032 * math/s_clog10f.c (__clog10f): Likewise.
35033 * math/s_clog10l.c (__clog10l): Likewise.
35034 * math/s_clogf.c (__clogf): Likewise.
35035 * math/s_clogl.c (__clogl): Likewise.
35036 * math/libm-test.inc (clog_test): Add more tests.
35037 (clog10_test): Likewise.
35038 * sysdeps/i386/fpu/libm-test-ulps: Update.
35039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35040
2bc13872
FW
350412012-07-31 Florian Weimer <fweimer@redhat.com>
35042
35043 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
35044 Exit with zero in case no suitable GID is found, and write a
35045 message to standard error.
35046
bea9b193
RM
350472012-07-30 Roland McGrath <roland@hack.frob.com>
35048
35049 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
35050 rather than to 1.
35051 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
35052 (MAXPATHLEN): Removed.
35053 (NOGROUP, NODEV): New macros.
35054 (setbit, clrbit, isset, isclr): New macros.
35055 (howmany, roundup, powerof2): New macros.
35056 (DEV_BSIZE): New macro.
35057
35058 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
35059 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
35060
35061 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
35062 definition on [!__NO_LONG_DOUBLE_MATH].
35063
35064 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
35065 PTR_MANGLE and PTR_DEMANGLE.
35066
35067 * socket/accept4.c (accept4): Rename to __libc_accept4.
35068 Define accept4 as a weak alias.
35069
35070 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
35071 on [_DIRENT_HAVE_D_TYPE].
35072 * io/ftw.c (ftw_dir): Likewise.
35073
35074 * io/xmknod.c (__xmknod): Don't check PATH for being null.
35075
35076 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
35077
35078 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
35079 Use the BSD numbers rather than the arbitrary ones we had.
35080 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
35081 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
35082 (SIGXCPU, SIGXFSZ): New macros.
35083 (_NSIG): Now 32.
35084
35085 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
35086 initializer on [_LIBC_REENTRANT].
35087
35088 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
35089 definitions inside [_POSIX_MAPPED_FILES].
35090
35091 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
35092
35093 * dirent/opendir.c: Include <fcntl.h>.
35094
35095 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
35096 (__libc_getspecific): Likewise.
35097 (__libc_key_create): Likewise.
35098
35099 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
35100 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
35101 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
35102 (tmpfile64): Define as alias.
35103 * sysdeps/wordsize-64/tmpfile.c: File removed.
35104 * sysdeps/wordsize-64/tmpfile64.c: File removed.
35105 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
35106 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
35107
35108 * stdio-common/vfscanf.c: Include <stdbool.h>.
35109 * nss/makedb.c: Likewise.
35110 * stdio-common/_i18n_number.h: Likewise.
35111 * argp/argp-help.c: Likewise.
35112 * posix/wordexp.c: Likewise.
35113 * sysdeps/posix/spawni.c: Likewise.
35114 * nss/nss_files/files-initgroups.c: Likewise.
35115 * stdio-common/reg-modifier.c: Include <stdlib.h>.
35116 * nss/nss_files/files-initgroups.c: Likewise.
35117 * nss/nss_db/db-netgrp.c: Likewise.
35118 * nss/nss_db/db-initgroups.c: Likewise.
35119 * io/fchmodat.c: Include <sys/stat.h>.
35120
35121 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
35122 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
35123
35124 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
35125 [HAVE_MMAP].
35126
35127 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
35128 Add multiple inclusion protection.
35129
e5abc686
DM
351302012-07-27 David S. Miller <davem@davemloft.net>
35131
35132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35133
815e6fa3
GB
351342012-07-27 Gary Benson <gbenson@redhat.com>
35135
35136 [BZ #14298]
35137 * elf/rtld.c: Include <stap-probe.h>.
35138 (dl_main): Added static probes "init_start" and "init_complete".
35139 * elf/dl-load.c: Include <stap-probe.h>.
35140 (lose): Take new parameter "nsid".
35141 Added static probe "map_failed".
35142 (_dl_map_object_from_fd): Pass namespace id to lose.
35143 Added static probe "map_start".
35144 (open_verify): Pass namespace id to lose.
35145 * elf/dl-open.c: Include <stap-probe.h>.
35146 (dl_open_worker) Added static probes "map_complete", "reloc_start"
35147 and "reloc_complete".
35148 * elf/dl-close.c: Include <stap-probe.h>.
35149 (_dl_close_worker): Added static probes "unmap_start" and
35150 "unmap_complete".
35151 * elf/rtld-debugger-interface.txt: New file documenting the above.
35152
9f98c16c
RM
351532012-07-26 Roland McGrath <roland@hack.frob.com>
35154
35155 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
35156 rather than a string variable.
35157 * sunrpc/rpc_main.c (h_output): Likewise.
35158 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
35159
f3c22df3
PT
351602012-07-26 Pino Toscano <toscano.pino@tiscali.it>
35161
35162 * inet/check_native.c: New file.
35163
3129cfc6
JM
351642012-07-26 Joseph Myers <joseph@codesourcery.com>
35165
da865e95
JM
35166 [BZ #13629]
35167 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
35168 if larger part has absolute value 1.0.
35169 * math/s_clog10.c (__clog10): Likewise.
35170 * math/s_clog10f.c (__clog10f): Likewise.
35171 * math/s_clog10l.c (__clog10l): Likewise.
35172 * math/s_clogf.c (__clogf): Likewise.
35173 * math/s_clogl.c (__clogl): Likewise.
35174 * math/libm-test.inc (clog_test): Add more tests.
35175 (clog10_test): Likewise.
35176 * sysdeps/i386/fpu/libm-test-ulps: Update.
35177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35178
3129cfc6
JM
35179 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
35180 (pltexit): Likewise.
35181 (La_regs): Likewise.
35182 (La_retval): Likewise.
35183 (int_retval): Likewise.
35184 Update #error for removed macros to refer only to definitions in
35185 tst-audit.h.
35186 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
35187 macro.
35188 (pltexit): Likewise.
35189 (La_regs): Likewise.
35190 (La_retval): Likewise.
35191 (int_retval): Likewise.
35192 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
35193 macro.
35194 (pltexit): Likewise.
35195 (La_regs): Likewise.
35196 (La_retval): Likewise.
35197 (int_retval): Likewise.
35198 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
35199 macro.
35200 (pltexit): Likewise.
35201 (La_regs): Likewise.
35202 (La_retval): Likewise.
35203 (int_retval): Likewise.
35204 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
35205 macro.
35206 (pltexit): Likewise.
35207 (La_regs): Likewise.
35208 (La_retval): Likewise.
35209 (int_retval): Likewise.
35210 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
35211 macro.
35212 (pltexit): Likewise.
35213 (La_regs): Likewise.
35214 (La_retval): Likewise.
35215 (int_retval): Likewise.
35216 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
35217 macro.
35218 (pltexit): Likewise.
35219 (La_regs): Likewise.
35220 (La_retval): Likewise.
35221 (int_retval): Likewise.
35222 * sysdeps/generic/tst-audit.h: Update comment to refer only to
35223 macro definitions in tst-audit.h.
35224 * sysdeps/i386/tst-audit.h: New file.
35225 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
35226 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
35227 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
35228 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
35229 * sysdeps/sh/tst-audit.h: Likewise.
35230 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
35231 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
35232 * sysdeps/x86_64/tst-audit.h: Likewise.
35233
bfc07087
AJ
352342012-07-26 Andreas Jaeger <aj@suse.de>
35235
b1b2aaf8
AJ
35236 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
35237 ptrace.
35238
35239 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
35240 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
35241 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
35242 PTRACE_O_MASK.
35243 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
35244 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
35245 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
35246
bfc07087
AJ
35247 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
35248 value.
35249
35250 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
35251 _sigsys.
35252 (si_call_addr, si_syscall, si_arch): Define new macro.
35253 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
35254 _sigsys.
35255 (si_call_addr, si_syscall, si_arch): Define new marcro.
35256 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
35257 _sigsys.
35258 (si_call_addr, si_syscall, si_arch): Define new macro.
35259 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
35260 _sigsys.
35261 (si_call_addr, si_syscall, si_arch): Define new macro.
35262
89b4b02f
JM
352632012-07-25 Joseph Myers <joseph@codesourcery.com>
35264
35265 [BZ #13717]
35266 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35267 Change to 2.4.21 where previously 2.4.1.
35268 * sysdeps/unix/sysv/linux/configure: Regenerated.
35269 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
35270 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
35271 Linux kernel version.
35272 (__ASSUME_STD_AUXV): Remove.
35273 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
35274 kernel version.
35275 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
35276 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
35277 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
35278 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
35279 (__ASSUME_NETLINK_SUPPORT): Likewise.
35280 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
35281 (__no_netlink_support): Remove conditional definition.
35282 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
35283 Remove.
35284 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35285 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
35286 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
35287 (if_nameindex_ioctl): Remove.
35288 (if_nameindex_netlink): Do not handle __no_netlink_support.
35289 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35290 code.
35291 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
35292 Remove conditional code.
35293 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35294 code.
35295 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
35296 unconditional.
35297 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35298 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
35299 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
35300 Remove.
35301 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
35302 [!__ASSUME_STD_AUXV]: Remove conditional code.
35303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
35304 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
35305 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
35306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
35307 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
35308 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35309 code.
35310 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35312 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
35313 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35314 conditional code.
35315 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
35317 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35318 code.
35319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35320 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35321 conditional code.
35322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
35323 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35324 code unconditional.
35325 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35326 conditional code.
35327 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35328 unconditional.
35329 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35330 conditional code.
35331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35332 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35333 unconditional.
35334 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35335 conditional code.
35336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
35337 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35338 code unconditional.
35339 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35340 conditional code.
35341 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35342 unconditional.
35343 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35344 conditional code.
35345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
35346 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35347 code unconditional.
35348 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35349 conditional code.
35350 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35351 unconditional.
35352 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35353 conditional code.
35354
842a39cd
AS
353552012-07-25 Andreas Schwab <schwab@linux-m68k.org>
35356
35357 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
35358 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
35359 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35360 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
35361 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
35362 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
35363 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
35364 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
35365 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
35366 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
35367 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
35368 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
35369 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
35370 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
35371 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
35372 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
35373 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
35374 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
35375 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
35376 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
35377 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
35378 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
35379 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35380
84b3fd84
FW
353812012-07-25 Florian Weimer <fweimer@redhat.com>
35382
35383 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
35384 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
35385 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
35386 Introduce __libc_secure_getenv.
0c7936d5
FW
35387 * stdlib/Versions (2.17): Add secure_getenv
35388 (GLIBC_PRIVATE): Add __libc_secure_getenv.
35389 * stdlib/secure-getenv.c: Rename __secure_getenv to
35390 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
35391 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
35392 * stdlib/tst-secure-getenv.c: New.
35393 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
35394 * manual/startup.texi (Environment Access): Document
35395 secure_getenv.
84b3fd84
FW
35396 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
35397 __libc_secure_getenv.
35398 * inet/ruserpass.c (ruserpass): Likewise.
35399 * malloc/mtrace.c (mtrace): Likewise.
35400 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 35401 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
35402 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
35403 * sysdeps/posix/tempname.c: Likewise. Evaluate
35404 HAVE_SECURE_GETENV.
35405 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 35406 __secure_getenv to __libc_secure_getenv.
84b3fd84 35407 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
35408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35409 Likewise.
35410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35411 Likewise.
35412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35414 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35415 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35416 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35417 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35418 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 35419
56e49b71
JM
354202012-07-25 Joseph Myers <joseph@codesourcery.com>
35421
35422 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
35423 (struct La_i86_retval): Likewise.
35424 (struct La_x86_64_regs): Likewise.
35425 (struct La_x86_64_retval): Likewise.
35426 (struct La_x32_regs): Likewise.
35427 (struct La_x32_retval): Likewise.
35428 (struct La_ppc32_regs): Likewise.
35429 (struct La_ppc32_retval): Likewise.
35430 (struct La_ppc64_regs): Likewise.
35431 (struct La_ppc64_retval): Likewise.
35432 (struct La_sh_regs): Likewise.
35433 (struct La_sh_retval): Likewise.
35434 (struct La_s390_32_regs): Likewise.
35435 (struct La_s390_32_retval): Likewise.
35436 (struct La_s390_64_regs): Likewise.
35437 (struct La_s390_64_retval): Likewise.
35438 (struct La_sparc32_regs): Likewise.
35439 (struct La_sparc32_retval): Likewise.
35440 (struct La_sparc64_regs): Likewise.
35441 (struct La_sparc64_retval): Likewise.
35442 (struct audit_ifaces): Remove architecture-specific pltenter and
35443 pltexit members.
35444 * sysdeps/i386/ldsodefs.h: New file.
35445 * sysdeps/powerpc/ldsodefs.h: Likewise.
35446 * sysdeps/s390/ldsodefs.h: Likewise.
35447 * sysdeps/sh/ldsodefs.h: Likewise.
35448 * sysdeps/sparc/ldsodefs.h: Likewise.
35449 * sysdeps/x86_64/ldsodefs.h: Likewise.
35450
354691b7
MP
354512012-07-25 Marek Polacek <polacek@redhat.com>
35452
35453 [BZ #6808]
35454 * math/libm-test.inc (yn_test): Add another test.
35455 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
35456 to ERANGE when the result is +-Inf.
35457 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
35458 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35459 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
35460 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
35461
bf9e2071
JM
354622012-07-24 Joseph Myers <joseph@codesourcery.com>
35463
35464 * conform/data/time.h-data (NULL): Use macro-constant. Require
35465 equal to 0.
35466 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
35467 clock_t.
35468 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
35469
57633811
TS
354702012-07-23 Thomas Schwinge <thomas@codesourcery.com>
35471
35472 * configure.in <sysdeps resolving>: Correct printing
35473 Implies_before.
35474 * configure: Regenerate.
35475
c23c33b0
TS
354762012-07-22 Thomas Schwinge <thomas@codesourcery.com>
35477
35478 * math/w_ilogb.c: Include <limits.h>.
35479 * math/w_ilogbl.c: Likewise.
35480
b5982523
JM
354812012-07-20 Joseph Myers <joseph@codesourcery.com>
35482
35483 * manual/lang.texi (__va_copy): Document primarily as ISO C99
35484 va_copy. Document allowing for unavailable va_copy only as
35485 pre-C99 compatibility.
35486 * manual/string.texi (Copying and Concatenation): Use va_copy
35487 instead of __va_copy in concat example.
35488
ac4ea442
PT
354892012-07-20 Pino Toscano <toscano.pino@tiscali.it>
35490
35491 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
35492 (__sendto): Use create_address_port. Initialize APORT and deallocate
35493 it if not null.
35494
f98eafbd
PT
35495 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
35496 with O_NOLINK passed to __file_name_lookup.
35497
898c7aab
PT
35498 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
35499 with O_NOLINK passed to __file_name_lookup.
35500
0ced335a
PT
35501 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
35502 negative N or less than NGIDS.
35503
b3404dbd
PT
35504 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
35505 type to string_t. Set ERANGE as errno and return it if NAME is not big
35506 enough. Use memcpy instead of strncpy.
35507
0f48659e
JM
355082012-07-20 Joseph Myers <joseph@codesourcery.com>
35509
35510 * elf/Makefile (check-data): Remove.
35511 (localplt.data): New vpath directive.
35512 ($(objpfx)check-localplt.out): Use localplt.data from vpath
35513 instead of $(check-data).
35514 * scripts/data/localplt-generic.data: Move to ...
35515 * sysdeps/generic/localplt.data: ... here.
35516 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
35517 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
35518 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
35519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
35520 ... here.
35521 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
35522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
35523 ... here.
35524 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
35525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
35526 ... here.
35527 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
35528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35529 ... here.
35530 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
35531 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
35532 ... here.
35533 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
35534 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
35535 ... here.
35536
d37cbdaa
AZ
355372012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35538
35539 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
35540 PPC32 and PPC64 files.
35541 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
35542 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
35543
46f85fc2
AK
355442012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35545
35546 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
35547 __makecontext_ret to ...
35548 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
35549 ... here and call exit if uc_link is NULL. New file.
35550 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
35551 __makecontext_ret.S.
35552 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
35553 __makecontext_ret to ...
35554 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
35555 ... here and call exit if uc_link is NULL. New file.
35556 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
35557 __makecontext_ret.S.
35558
08f43f9b
AK
355592012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35560
35561 * elf/elf.h (R_390_IRELATIVE): New definition.
35562 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
35563 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
35564 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
35565 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35566 (elf_machine_lazy_rel): Likewise.
35567 * sysdeps/s390/dl-irel.h: New file.
35568 * sysdeps/s390/s390-64/memcpy.S: New asm code.
35569 * sysdeps/s390/s390-64/memset.S: New asm code.
35570 * sysdeps/s390/s390-64/memcmp.S: New asm code.
35571 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
35572 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
35573 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
35574 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
35575 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
35576 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
35577 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
35578 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
35579 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
35580 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
35581 * sysdeps/s390/s390-32/memcpy.S: New asm code.
35582 * sysdeps/s390/s390-32/memset.S: New asm code.
35583 * sysdeps/s390/s390-32/memcmp.S: New asm code.
35584
3b05db33
MP
355852012-07-17 Marek Polacek <polacek@redhat.com>
35586
35587 [BZ #14349]
35588 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
35589 * sysdeps/s390/s390-64/configure.in: Likewise.
35590 * sysdeps/sparc/configure.in: Likewise.
35591 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
35592 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
35593 * sysdeps/i386/configure.in: Likewise.
35594 * sysdeps/x86_64/configure.in: Likewise.
35595 * sysdeps/sh/configure.in: Likewise.
35596 * sysdeps/s390/s390-32/configure: Regenerated.
35597 * sysdeps/s390/s390-64/configure: Likewise.
35598 * sysdeps/x86_64/configure: Likewise.
35599 * sysdeps/sh/configure: Likewise.
35600 * sysdeps/powerpc/powerpc64/configure: Likewise.
35601 * sysdeps/powerpc/powerpc32/configure: Likewise.
35602 * sysdeps/sparc/configure: Likwise.
35603 * sysdeps/i386/configure: Likewise.
35604
a66877c6
MP
35605 * elf/dl-open.c: Comment fixes.
35606
cfc82fd8
JM
356072012-07-17 Joseph Myers <joseph@codesourcery.com>
35608
bd29910a
JM
35609 * Makefile [CXX] (check-data): Remove.
35610 [CXX] (c++-types.data): New vpath directive.
35611 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
35612 vpath. Do not allow for C++ type data being missing.
35613 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
35614 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
35615 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
35616 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
35617 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
35618 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
35619 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
35620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
35621 ... here.
35622 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
35623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
35624 ... here.
35625 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
35626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
35627 ... here.
35628 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
35629 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
35630 ... here.
35631 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
35632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
35633 ... here.
35634 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
35635 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
35636 ... here.
35637 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
35638 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
35639 ... here.
35640 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
35641 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
35642
cfc82fd8
JM
35643 * elf/tls-macros.h (TLS_LE): Move architecture-specific
35644 definitions to architecture-specific files.
35645 (TLS_IE): Likewise.
35646 (TLS_LD): Likewise.
35647 (TLS_GD): Likewise.
35648 * sysdeps/i386/tls-macros.h: New file.
35649 * sysdeps/powerpc/tls-macros.h: Likewise.
35650 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
35651 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
35652 * sysdeps/sh/tls-macros.h: Likewise.
35653 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
35654 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
35655 * sysdeps/x86_64/tls-macros.h: Likewise.
35656
f7db3170
TS
356572012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35658
07cbfc23
TS
35659 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
35660 zero value for regular exit case.
35661
f7db3170
TS
35662 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
35663 (__start_context): Preserve zero value for regular exit case.
35664
dc97c227
TS
356652012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35666 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35667
35668 * manual/setjmp.texi (setcontext): Clarify normal process
35669 termination when uc_link is the null pointer.
35670 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
35671 exit call.
35672
d0cd7d02
AS
356732012-07-16 Andreas Schwab <schwab@linux-m68k.org>
35674
35675 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
35676 preprocessor. Test for each exception mask separately.
35677
dd318934
AJ
356782012-07-16 Andreas Jaeger <aj@suse.de>
35679
35680 * po/ru.po: Update from translation team.
35681
8048311a
JM
356822012-07-15 Joseph Myers <joseph@codesourcery.com>
35683
35684 * conform/data/string.h-data (NULL): Use macro-constant. Require
35685 equal to 0.
35686 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35687 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35688 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
35689 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
35690 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35691
b637d46e
AJ
356922012-07-13 Andreas Jaeger <aj@suse.de>
35693
35694 * po/fr.po: Update from translation team.
35695
541428fe
MP
356962012-07-12 Marek Polacek <polacek@redhat.com>
35697
35698 [BZ #14173]
35699 * math/libm-test.inc (yn_test): Add test for BZ #14173.
35700 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
35701 loop condition.
35702
ec332e94
JM
357032012-07-12 Joseph Myers <joseph@codesourcery.com>
35704
35705 [BZ #13717]
35706 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35707 Change to 2.4.1 where previously 2.4.0.
35708 * sysdeps/unix/sysv/linux/configure: Regenerated.
35709 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
35710 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
35711 version.
35712 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
35713 (__ASSUME_AT_CLKTCK): Remove.
35714 (__ASSUME_AT_PAGESIZE): Likewise.
35715 (__ASSUME_AT_XID): Likewise.
35716 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
35717 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
35718 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
35719 unconditionally.
35720 (HAVE_AUX_PAGESIZE): Likewise.
35721 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
35722 [__ASSUME_AT_CLKTCK]: Make code unconditional.
35723 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
35724
7b6e99be
JB
357252012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
35726
35727 [BZ #14307]
35728 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
35729 the temporary buffer used to invoke __gethostbyname2_r,
35730 __gethostbyaddr_r and gethostbyname4_r to make room for struct
35731 host_data / struct gaih_addrtuple.
35732 * resolv/nss_dns/dns-host.c (global scope): Move definition of
35733 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
35734 header file nss/nsswitch.h.
35735 * nss/nsswitch.h (global scope): Add definition of implementation
35736 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
35737 resolv/nss_dns/dns-host.c).
35738
608404eb
AJ
357392012-07-11 Andreas Jaeger <aj@suse.de>
35740
35741 * po/fr.po: Update from translation team.
35742
71220aca
AJ
35743 * po/sv.po: Update from translation team
35744 * po/fr.po: Another update from translation team.
35745
28cfe843
AZ
357462012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35747
35748 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
35749 for subnormals or multiply small sinh result by itself.
35750 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35751 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35752
6b90f981
DM
357532012-07-11 David S. Miller <davem@davemloft.net>
35754
35755 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35756
c6825772
AS
357572012-07-10 Andreas Schwab <schwab@linux-m68k.org>
35758
35759 [BZ #14347]
35760 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
35761 (INTERNAL_MARK): Shift it here.
35762
7b8e0d49
MP
357632012-07-10 Marek Polacek <polacek@redhat.com>
35764
35765 [BZ #14151]
35766 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
35767 libc_cv_asm_global_directive with .globl.
35768 * configure: Regenerated.
35769 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
35770 with .globl.
35771 * sysdeps/i386/configure: Regenerated.
35772 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
35773 with .globl.
35774 * sysdeps/x86_64/configure: Regenerated.
35775 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
35776 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
35777 * elf/tst-unique2mod2.c: Likewise.
35778 * elf/tst-unique2mod1.c: Likewise.
35779 * elf/tst-unique1mod2.c: Likewise.
35780 * elf/tst-unique1mod1.c: Likewise.
35781 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35782 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35783 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35784 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35785 * sysdeps/mach/sysdep.h: Likewise.
35786 * sysdeps/i386/sysdep.h: Likewise.
35787 * sysdeps/i386/i386-mcount.S: Likewise.
35788 * sysdeps/x86_64/_mcount.S: Likewise.
35789 * sysdeps/x86_64/sysdep.h: Likewise.
35790 * sysdeps/sh/_mcount.S: Likewise.
35791 * sysdeps/sh/sysdep.h: Likewise.
35792 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
35793 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
35794 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
35795 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35796 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
35797 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
35798 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
35799 * locale/localeinfo.h: Likewise.
35800 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
35801 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
35802
6c55cda3
RM
358032012-07-09 Roland McGrath <roland@hack.frob.com>
35804
35805 [BZ #14336]
35806 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
35807 system".
35808 * manual/message.texi (The Uniforum approach): Likewise.
35809 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
35810 (glibc iconv Implementation): Likewise.
35811
638a572e
JM
358122012-07-09 Joseph Myers <joseph@codesourcery.com>
35813
35814 [BZ #14337]
35815 * math/s_clog.c (__clog): Avoid scaling a value down where that
35816 could result in underflow.
35817 * math/s_clog10.c (__clog10): Likewise.
35818 * math/s_clog10f.c (__clog10f): Likewise.
35819 * math/s_clog10l.c (__clog10l): Likewise.
35820 * math/s_clogf.c (__clogf): Likewise.
35821 * math/s_clogl.c (__clogl): Likewise.
35822 * math/libm-test.inc (clog_test): Add more tests.
35823 (clog10_test): Likewise.
35824 * sysdeps/i386/fpu/libm-test-ulps: Update.
35825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35826
261f4859
AS
358272012-07-06 Andreas Schwab <schwab@linux-m68k.org>
35828
0abaf3e4
AS
35829 [BZ #14283]
35830 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
35831 by 7 not 8 to examine high bit of fractional part.
35832
261f4859
AS
35833 [BZ #14042]
35834 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
35835 for call to __mcount_internal.
35836 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
35837 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
35838 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
35839
f17ac40d
JM
358402012-07-06 Joseph Myers <joseph@codesourcery.com>
35841
9ad63c23
JM
35842 [BZ #14154]
35843 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
35844 approximation for values within 0x1p-13f of an odd multiple of
35845 pi/4.
35846 * math/libm-test.inc (tan_test): Do not allow spurious underflow
35847 exception. Add more tests.
35848 * sysdeps/i386/fpu/libm-test-ulps: Update.
35849
f17ac40d
JM
35850 [BZ #6778]
35851 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
35852 inputs and return -1 for them. Do not check for +Inf in case not
35853 reachable for +Inf.
35854 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35855 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
35856 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35857 and return -1 for them. Do not check for +Inf in case not
35858 reachable for +Inf.
35859 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
35860 define.
35861 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35862 and return -1 for them. Do not check for +Inf in case not
35863 reachable for +Inf.
35864 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
35865 spurious underflow.
35866 * sysdeps/i386/fpu/libm-test-ulps: Update.
35867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35868
fb21f89b
MF
358692012-07-06 Mike Frysinger <vapier@gentoo.org>
35870
35871 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35872
cdfe2c5e
JM
358732012-07-05 Joseph Myers <joseph@codesourcery.com>
35874
35875 [BZ #14157]
35876 [BZ #14331]
35877 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35878 could result in spurious underflow. Scale down values above
35879 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35880 * math/s_csqrtf.c (__csqrtf): Likewise.
35881 * math/s_csqrtl.c (__csqrtl): Likewise.
35882 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
35883 spurious underflow.
35884 * sysdeps/i386/fpu/libm-test-ulps: Update.
35885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35886
70d35b67
AS
358872012-07-04 Andreas Schwab <schwab@linux-m68k.org>
35888
704bc459
AS
35889 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35890 xopen-msg.sed.
35891 * catgets/xopen-msg.awk: New file.
35892 * catgets/xopen-msg.sed: Removed.
35893
70d35b67
AS
35894 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35895 po2text.sed.
35896 * intl/po2test.awk: New file.
35897 * intl/po2test.sed: Removed.
35898
ca61cf32
JM
358992012-07-04 Joseph Myers <joseph@codesourcery.com>
35900
35901 [BZ #14328]
35902 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35903 or multiply small sinh result by itself.
35904 * math/s_ctanf.c (__ctanf): Likewise.
35905 * math/s_ctanh.c (__ctanh): Likewise.
35906 * math/s_ctanhf.c (__ctanhf): Likewise.
35907 * math/s_ctanhl.c (__ctanhl): Likewise.
35908 * math/s_ctanl.c (__ctanl): Likewise.
35909 * math/libm-test.inc (ctan_test_tonearest): New function.
35910 (ctan_test_towardzero): Likewise.
35911 (ctan_test_downward): Likewise.
35912 (ctan_test_upward): Likewise.
35913 (ctanh_test_tonearest): Likewise.
35914 (ctanh_test_towardzero): Likewise.
35915 (ctanh_test_downward): Likewise.
35916 (ctanh_test_upward): Likewise.
35917 (main): Call these new functions.
35918 * sysdeps/i386/fpu/libm-test-ulps: Update.
35919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35920
ca48a46a
MF
359212012-07-03 Mike Frysinger <vapier@gentoo.org>
35922
35923 * .gitignore: Delete /ports entry.
35924
9d63d37d
AJ
359252012-07-03 Andreas Jaeger <aj@suse.de>
35926
35927 * po/bg.po: Update from translation team.
35928 * po/cs.po: Likewise.
35929 * po/de.po: Likewise.
35930 * po/hr.po: Likewise.
35931 * po/nl.pl: Likewise.
35932 * po/pl.po: Likewise.
35933 * po/vi.po: Likewise.
35934
370ca3d2
JM
359352012-07-03 Joseph Myers <joseph@codesourcery.com>
35936
95f5a9a8
JM
35937 * Makeconfig [!+link] (+link-before-libc): New variable.
35938 [!+link] (+link-after-libc): Likewise.
35939 [!+link] (+link-tests): Likewise.
35940 [!+link] (+link): Define in terms of $(+link-before-libc) and
35941 $(+link-after-libc).
35942 [!+link-static] (+link-static-before-libc): New variable.
35943 [!+link-static] (+link-static-after-libc): Likewise.
35944 [!+link-static] (+link-static-tests): Likewise.
35945 [!+link-static] (+link-static): Define in terms of
35946 $(+link-static-before-libc) and $(+link-static-after-libc).
35947 [build-shared] (link-libc-before-gnulib): New variable.
35948 [build-shared] (link-libc-tests): Likewise.
35949 [build-shared] (link-libc): Define in terms of
35950 $(link-libc-before-gnulib).
35951 [!build-shared] (link-libc-tests): New variable.
35952 (link-libc-static-tests): New variable.
35953 [!gnulib] (gnulib-arch): New variable.
35954 [!gnulib] (gnulib-tests): Likewise.
35955 [!gnulib] (static-gnulib-arch): Likewise.
35956 [!gnulib] (static-gnulib-tests): Likewise.
35957 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
35958 Define with "=" instead of ":=".
35959 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
35960 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
35961 * Rules (binaries-all-notests): New variable.
35962 (binaries-all-tests): Likewise.
35963 (binaries-static-notests): Likewise.
35964 (binaries-static-tests): Likewise.
35965 (binaries-all): Define using $(binaries-all-notests) and
35966 $(binaries-all-tests).
35967 (binaries-static): Define using $(binaries-static-notests) and
35968 $(binaries-static-tests).
35969 (binaries-shared-tests): New variable.
35970 (binaries-shared-notests): Likewise.
35971 (binaries-shared): Remove variable.
35972 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
35973 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
35974 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
35975 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
35976 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
35977 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
35978 * elf/Makefile (sln-modules): New variable.
35979 (extra-objs): Add $(sln-modules:=.o).
35980 (ldconfig-modules): Add static-stubs.
35981 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
35982 * elf/static-stubs.c: New file.
35983
7a845b2c
JM
35984 [BZ #14283]
35985 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
35986 by 7 not 8 to examine high bit of fractional part. Use volatile
35987 variables when splitting into final array of floats if
35988 __FLT_EVAL_METHOD__ != 0.
35989 * math/libm-test.inc (cos_test): Add another test.
35990 (sin_test): Likewise.
35991 * sysdeps/i386/fpu/libm-test-ulps: Update.
35992
e2283f38
JM
35993 [BZ #14273]
35994 * math/libm-test.inc (cosh_test): Add more tests.
35995
370ca3d2
JM
35996 * version.h (RELEASE): Set to "development".
35997 (VERSION): Set to "2.16.90".
35998
ee9247c3
CD
359992012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
36000
36001 * NEWS: Update copyright. Remove last-updated date.
36002 Mention math library bug fixes and timezone data changes.
36003 * README: Mention GNU/Hurd, x32, and HPPA support status.
36004
4648c381
TS
360052012-06-28 Thomas Schwinge <thomas@codesourcery.com>
36006
36007 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
36008
aac78a43
AJ
360092012-06-27 Andreas Jaeger <aj@suse.de>
36010
36011 * manual/contrib.texi (Contributors): Add Samuel Thibault.
36012
ed3dbfad
AJ
360132012-06-25 Andreas Jaeger <aj@suse.de>
36014
36015 * sysdeps/s390/fpu/libm-test-ulps: Update.
36016
4d0ee855
AS
360172012-06-23 Andreas Schwab <schwab@linux-m68k.org>
36018 Thomas Schwinge <thomas@codesourcery.com>
36019
36020 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
36021 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
36022 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
36023 fanotify_mark.
36024
af1bce34
TS
360252012-06-23 Thomas Schwinge <thomas@codesourcery.com>
36026
a9fa33ba
TS
36027 * sysdeps/mach/start.c: Remove file.
36028 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
36029 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
36030 * sysdeps/sh/init-first.c: Likewise.
36031
58f902b8
TS
36032 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
36033 registers for frame unwinding purposes, add CFI directives.
36034 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36035 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
36036 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
36037 Likewise.
36038
1518f58b
TS
36039 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
36040 __fortify_fail returning.
36041 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36042
db9b5059
TS
36043 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
36044 sysdeps/sh/____longjmp_chk.S.
36045 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
36046 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
36047 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
36048 (gen-as-const-headers): Append sigaltstack-offsets.sym.
36049
967705fe
TS
36050 * sysdeps/sh/abort-instr.h: New file.
36051 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
36052 process in case exit returns.
36053
a9def8c4
TS
36054 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
36055 initialize the GOT register before use.
36056
2a649725
TS
36057 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
36058 calculation of ARGC > 4.
36059
af1bce34
TS
36060 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
36061 meaningful names to some local labels.
36062
d230f50a
KK
360632012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
36064 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36065
36066 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
36067 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
36068 (__arch_compare_and_exchange_val_16_acq): Likewise.
36069 (__arch_compare_and_exchange_val_32_acq): Likewise.
36070 (atomic_exchange_and_add): Fix gUSA sequence.
36071 (atomic_add): Likewise.
36072 (atomic_add_negative): Likewise.
36073 (atomic_add_zero): Likewise.
36074 (atomic_bit_test_set): Likewise.
36075
0479b305
AS
360762012-06-22 Andreas Schwab <schwab@redhat.com>
36077
36078 [BZ #13579]
36079 * include/link.h (struct link_map): Add l_free_initfini.
36080 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
36081 l_initfini.
36082 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
36083 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
36084 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
36085 set.
36086
0e3933b9
CD
360872012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
36088
36089 * configure.in: Use AC_LANG_SOURCE.
36090 * configure: Regenerate.
36091
4248b1b1
RM
360922012-06-22 Roland McGrath <roland@hack.frob.com>
36093
36094 * configure.in (libc_cv_localstatedir): New substituted variable.
36095 * configure: Regenerated.
36096 * config.make.in (localstatedir): New variable, substituted from
36097 libc_cv_localstatedir.
36098 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
36099 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
36100 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
36101 * sysdeps/gnu/configure: Regenerated.
36102
006dd861
JL
361032012-06-21 Jeff Law <law@redhat.com>
36104
36105 [BZ #14277]
36106 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
36107 free. Simplify list management for _LIBC case.
36108
79662d42
JM
361092012-06-21 Joseph Myers <joseph@codesourcery.com>
36110
b7abb4bf
JM
36111 [BZ #14273]
36112 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
36113 Clear sign bit of 64-bit integer value before comparing against
36114 overflow value.
36115
79662d42
JM
36116 * sysdeps/mach/configure: Regenerated.
36117
1f150908
L
361182012-06-21 H.J. Lu <hongjiu.lu@intel.com>
36119
36120 [BZ #14278]
36121 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
36122
28363bbf
JL
361232012-06-21 Jeff Law <law@redhat.com>
36124
36125 [BZ #13882]
36126 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
36127 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 36128 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
36129 * elf/dl-open.c (dl_open_worker): Likewise.
36130
09615db4
CD
361312012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
36132
36133 * scripts/list-sources.sh: Scan PORTS for translations.
36134 * po/libc.pot: Regenerated.
36135
2174c6dd
AJ
361362012-06-21 Andreas Jaeger <aj@suse.de>
36137
36138 [BZ #12194]
36139 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
36140 warning.
36141 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
36142 * bits/byteswap-16.h (__bswap_16): Likewise.
36143 * bits/byteswap.h (__bswap_constant_16): Likewise.
36144
3ee947b1
L
361452012-06-18 H.J. Lu <hongjiu.lu@intel.com>
36146
36147 [BZ #14117]
a2f34833
L
36148 * sysdeps/i386/fpu_control.h: Removed.
36149 * sysdeps/x86_64/fpu_control.h: Moved to ...
36150 * sysdeps/x86/fpu_control.h: Here.
36151
3ee947b1
L
36152 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
36153 (_FPU_SETCW): Likewise.
36154
ed1825f8
L
361552012-06-15 H.J. Lu <hongjiu.lu@intel.com>
36156
25f1282a
L
36157 [BZ #14117]
36158 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
36159 * sysdeps/x86/fpu/bits/mathinline.h: This.
36160 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
36161
ed1825f8
L
36162 [BZ #14050]
36163 [BZ #14117]
36164 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
36165 functions if __x86_64__ is defined.
36166
36d54b74
CLT
361672012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
36168
36169 * string/endian.h: Add !__ASSEMBLER__ condition for including
36170 conversion interfaces.
36171
10285c21
JM
361722012-06-15 Joseph Myers <joseph@codesourcery.com>
36173
36174 [BZ #14241]
36175 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
36176 of ABS(x) in calculating zero to negative powers other than odd
36177 integers.
36178 * math/libm-test.inc (pow_test): Add more tests.
36179
06c5abbd
AJ
361802012-06-15 Andreas Jaeger <aj@suse.de>
36181
36182 * manual/contrib.texi (Contributors): Update entry of Liubov
36183 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
36184 Machado Filho.
36185
a3aeac40
CH
361862012-06-15 Cyril Hrubis <metan@ucw.cz>
36187
36188 * string/string.h: Add __wur to GNU version of strerror_r.
36189
49bdf4c1
L
361902012-06-14 H.J. Lu <hongjiu.lu@intel.com>
36191
36192 [BZ #14229]
36193 * string/Makefile (tests): Add tst-strtok_r.
36194 * string/tst-strtok_r.c: New file.
36195 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
36196 RAX_LP/RDX_LP on SAVE_PTR.
36197
834f9b8d
RM
361982012-06-14 Roland McGrath <roland@hack.frob.com>
36199
36200 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
36201
75fa1921
JM
362022012-06-14 Joseph Myers <joseph@codesourcery.com>
36203
36204 * libm_test.inc (csqrt_test): Allow more spurious underflow
36205 exceptions.
36206 (j0_test): Likewise.
36207 (j1_test): Likewise.
36208 (y0_test): Likewise.
36209 (y1_test): Likewise.
36210
771766df
CD
362112012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
36212
36213 * po/Makefile (libc.pot): Use UTF-8 charset.
36214
ceb9e56b
PP
362152012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
36216
36217 [BZ #14210]
36218 Suppress sign-conversion warning from FD_SET.
36219 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
36220 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
36221 not unsigned long int.
36222 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
36223
ddb28975
L
362242012-06-12 H.J. Lu <hongjiu.lu@intel.com>
36225
36226 [BZ #14050]
36227 [BZ #14117]
36228 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
36229 __extern_always_inline instead of __extern_inline.
36230 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
36231 (__signbit): Likewise.
36232 (__signbitl): Support C++ namespace.
36233 (lrintf): New inline function.
36234 (lrint): Likewise.
36235 (llrintf): Likewise.
36236 (llrint): Likewise.
36237 (fmaxf): Likewise.
36238 (fmax): Likewise.
36239 (fminf): Likewise.
36240 (fmin): Likewise.
36241 (rint): Likewise.
36242 (rintf): Likewise.
36243 (ceil): Likewise.
36244 (ceilf): Likewise.
36245 (floor): Likewise.
36246 (floorf): Likewise.
36247 (nearbyint): Likewise.
36248 (nearbyintf): Likewise.
36249
d7b4fb26
TS
362502012-06-12 Thomas Schwinge <thomas@codesourcery.com>
36251
36252 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
36253 non-default versions.
36254
eb55f5c2
RM
362552012-06-11 Roland McGrath <roland@hack.frob.com>
36256
36257 [BZ #14218]
36258 * manual/argp.texi (Argp): Reword argp_parse description slightly.
36259
366af02c
TS
362602012-06-09 Thomas Schwinge <thomas@codesourcery.com>
36261
99ff6e5c
TS
36262 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
36263 (FE_UPWARD, FE_DOWNWARD): Don't define.
36264 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
36265 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36266
366af02c
TS
36267 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
36268 reading it.
36269 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36270 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36271
793ea851
KK
362722012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36273
36274 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36275 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
36276 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
36277 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
36278
a728a38f
L
362792012-06-06 H.J. Lu <hongjiu.lu@intel.com>
36280
36281 [BZ #14117]
c08010c7
L
36282 * sysdeps/i386/fpu/bits/fenv.h: Removed.
36283 * sysdeps/i386/fpu/Implies: New file.
36284 * sysdeps/x86_64/fpu/Implies: Likewise.
36285 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
36286 * sysdeps/x86/fpu/bits/fenv.h: This.
36287
a728a38f
L
36288 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
36289 __SSE_MATH__.
36290
6e230d11
SP
362912012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
36292
36293 [BZ #14134]
36294 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
36295 character 0xffff that matches the last element of the
36296 conversion table.
36297
1b671feb
AZ
362982012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36299
36300 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
36301 fmodl commit.
36302
6043738b
AZ
363032012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36304
36305 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
36306 values higher than 25.6283.
36307
34ae0b32
AZ
363082012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36309
36310 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
36311 subnormal exponent extraction and add some __builtin_expect.
36312 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
36313 Fix for subnormal mantissa calculation.
36314
1214ec8f
MF
363152012-06-04 Mike Frysinger <vapier@gentoo.org>
36316
36317 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
36318 cpu2 is -1 and errno is not ENOSYS.
36319
f3d1f93c
L
363202012-06-04 H.J. Lu <hongjiu.lu@intel.com>
36321
36322 [BZ #14117]
0e4a3cd7
L
36323 * sysdeps/i386/i486/bits/string.h: Renamed to ...
36324 * sysdeps/x86/bits/string.h: This.
36325 * sysdeps/x86_64/bits/string.h: Removed.
36326
6704c645
L
36327 * sysdeps/i386/i486/bits/string.h: Define inline functions only
36328 if not compiling for x86-64, but compiling for >= i486.
36329
48495318
L
36330 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
36331 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
36332
14adcbfc
L
36333 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
36334 New macro from Linux kernel 3.4.0.
36335 (FP_XSTATE_MAGIC2): Likewise.
36336 (FP_XSTATE_MAGIC2_SIZE): Likewise.
36337 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
36338 (struct _fpx_sw_bytes): New struct.
36339 (struct _xsave_hdr): Likewise.
36340 (struct _ymmh_state): Likewise.
36341 (struct _xstate): Likewise.
36342
68e408ab
L
36343 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
36344 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
36345 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
36346 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
36347 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
36348 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
36349
f3d1f93c
L
36350 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
36351 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
36352 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
36353 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
36354 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
36355 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
36356
d9dc34cd
TMQMF
363572012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36358
36359 [BZ #13743]
36360 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
36361 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
36362 (sysdep_headers): Include sys/platform/ppc.h.
36363 * sysdeps/powerpc/test-gettimebase.c: Test for
36364 __ppc_get_timebase() to catch future ISA opcode/insn changes.
36365 * manual/Makefile (appendices): Include platform.texi.
36366 * manual/contrib.texi (Contributors): Update @node pointers.
36367 * manual/maint.texi (Maintenance): Likewise.
36368 (Platform): New node.
36369 * manual/platform.texi: New file. Document the new features.
36370
4af3879c
SP
363712012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36372 Jakub Jelinek <jakub@redhat.com>
36373
36374 [BZ #14188]
36375 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
36376 where __builtin_expect is unavailable.
36377
2fd6ff13
DM
363782012-06-03 David S. Miller <davem@davemloft.net>
36379
36380 * stdlib/longlong.h: Updated from GCC.
36381
173f7220
AS
363822012-06-02 Andreas Schwab <schwab@linux-m68k.org>
36383
36384 [BZ #14042]
36385 * sysdeps/powerpc/powerpc32/mcount.c: New file.
36386 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
36387 __mcount_internal.
36388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36389 (GLIBC_2.16): Likewise.
36390
f34a1c6f
L
363912012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36392
36393 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
36394
88a4576f
JM
363952012-06-01 Joseph Myers <joseph@codesourcery.com>
36396
ea32bcdd
JM
36397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
36398 (default-abi): New variable.
36399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
36400 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
36401 variable.
36402 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
36403 Likewise.
36404 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
36405 Likewise.
36406 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
36407 Likewise.
36408
88a4576f
JM
36409 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
36410 definition. Document in comment.
36411
402fe938
DM
364122012-06-01 David S. Miller <davem@davemloft.net>
36413
36414 * stdlib/longlong.h: Updated from GCC.
36415
3553723f
L
364162012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36417
36418 [BZ #14117]
3bd872c4
L
36419 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
36420 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
36421 sys/debugreg.h sys/io.h here.
36422 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
36423 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
36424 sys/io.h.
36425 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
36426 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
36427 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
36428 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
36429 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
36430 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
36431
3553723f
L
36432 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
36433 Define only if __x86_64__ is defined.
36434
4842e4fe
JM
364352012-06-01 Joseph Myers <joseph@codesourcery.com>
36436
c5bfe3d5
JM
36437 [BZ #14048]
36438 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
36439 Use int64_t for variable i.
36440 * math/libm-test.inc (fmod_test): Add more tests.
36441
4842e4fe
JM
36442 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
36443 z computation is not scheduled after fetestexcept.
36444 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
36445 Use math_force_eval instead of asm to ensure calculation scheduled
36446 before exception test.
36447 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
36448 Ensure a1 + u.d computation is not scheduled after fetestexcept.
36449
efb73488
AJ
364502012-06-01 Aurelien Jarno <aurelien@aurel32.net>
36451
36452 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
36453 computation is not scheduled after fetestexcept.
36454
29bcce7c
L
364552012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36456
36457 [BZ #14117]
36458 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
36459 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
36460
73a68f94
AZ
364612012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36462
36463 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
36464 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36465
67b6df78
L
364662012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36467
edf2933a 36468 [BZ #14117]
ebc64a18
L
36469 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
36470 <bits/wordsize.h>.
36471 (__WCHAR_MIN): Support __WORDSIZE == 64.
36472 (__WCHAR_MAX): Likewise.
36473
edf2933a
L
36474 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
36475 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
36476
57c6cf40
L
36477 [BZ #14183]
36478 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
36479 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
36480
67b6df78 36481 [BZ #14117]
8eb6281e
L
36482 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
36483 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
36484
aac639f4
L
36485 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
36486 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
36487
67b6df78
L
36488 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
36489 Defined to 1 if __x86_64__ isn't defined.
36490 (_STAT_VER_LINUX_OLD): New.
36491 (st_atime): Remove duplicate.
36492 (st_mtime): Likewise.
36493 (st_ctime): Likewise.
36494
1c2cfe81
DM
364952012-05-31 David S. Miller <davem@davemloft.net>
36496
36497 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
36498 entries.
36499
5be8418c
AS
365002012-06-01 Andreas Schwab <schwab@linux-m68k.org>
36501
e7725326
AS
36502 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
36503 gen-libm-test.pl.
36504
5be8418c
AS
36505 [BZ #14132]
36506 * elf/dl-reloc.c: Include <_itoa.h>.
36507 (_dl_reloc_bad_type): Remove use of INTUSE.
36508 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
36509 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
36510 * stdio-common/psiginfo.c (psiginfo): Likewise.
36511 * stdio-common/psignal.c (psignal): Likewise.
36512 * string/strsignal.c (strsignal): Likewise.
36513 * include/signal.h (_sys_siglist): Declare hidden proto.
36514 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
36515 INTVARDEF with libc_hidden_data_def.
36516 * stdio-common/itoa-udigits.c: Likewise.
36517 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
36518 (_itoa_lower_digits_internal): Remove declaration.
36519 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
36520 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
36521 (_sys_sigabbrev_internal): Remove aliases.
36522 (_sys_siglist): Define hidden alias.
36523
507352f1
MT
365242012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
36525
36526 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36527 bits/sysctl.h.
36528
42bbb1c3
L
365292012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36530
36531 [BZ #14117]
6bd784b6
L
36532 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
36533 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
36534
8bca20f0
L
36535 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
36536 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
36537 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
36538 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
36539 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
36540 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
36541
f9e890a9
L
36542 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
36543 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
36544 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
36545
471101a1
L
36546 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
36547 with __addr.
36548 (insw): Likewise.
36549 (insl): Likewise.
36550 (outsb): Likewise.
36551 (outsw): Likewise.
36552 (outsl): Likewise.
36553
6451c862
L
36554 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
36555 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
36556 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
36557
a254b8c9
L
36558 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
36559 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
36560 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
36561 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
36562 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
36563 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
36564
b8dfdd92
L
36565 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
36566 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
36567
578cd270
L
36568 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
36569 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
36570
de662f5f
L
36571 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
36572 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
36573 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
36574
25653439
L
36575 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
36576 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
36577 to ...
36578 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
36579
6bad24a0
L
36580 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
36581 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
36582 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
36583
42bbb1c3
L
36584 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
36585 for x86-64.
36586 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
36587
2d10d547
JM
365882012-05-31 Joseph Myers <joseph@codesourcery.com>
36589
36590 * math/math.h (M_El): Use two more decimal places.
36591 (M_LOG2El): Likewise.
36592 (M_LOG10El): Likewise.
36593 (M_LN2l): Likewise.
36594 (M_LN10l): Likewise.
36595 (M_PIl): Likewise.
36596 (M_PI_2l): Likewise.
36597 (M_PI_4l): Likewise.
36598 (M_1_PIl): Likewise.
36599 (M_2_PIl): Likewise.
36600 (M_2_SQRTPIl): Likewise.
36601 (M_SQRT2l): Likewise.
36602 (M_SQRT1_2l): Likewise.
36603
f230c29b
DM
366042012-05-31 David S. Miller <davem@davemloft.net>
36605
36606 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
36607 values between float registers.
36608 * sysdeps/sparc/sparc64/memset.S: Likewise.
36609 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36610
fed806c3
MF
366112012-05-31 Mike Frysinger <vapier@gentoo.org>
36612
36613 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
36614 -D_FORTIFY_SOURCE=1.
36615 (CPPFLAGS-tst-longjmp_chk.c): Define.
36616 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
36617 (CPPFLAGS-tst-longjmp_chk2.c): Define.
36618 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
36619 CFLAGS-tst-wchar-h.c.
36620
30917259
MP
366212012-05-31 Marek Polacek <polacek@redhat.com>
36622
36623 [BZ #14132]
36624 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
36625 __endmntent_internal): Remove declaration.
36626 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
36627 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
36628 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
36629
1c58d5dc
DM
366302012-05-30 David S. Miller <davem@davemloft.net>
36631
36632 * sysdeps/sparc/sparc32/soft-fp/q_util.c
36633 (___Q_simulate_exceptions): Use real FP ops rather than writing
36634 into the %fsr.
36635 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
36636 Likewise.
36637
7dc00e0d
L
366382012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36639
36640 [BZ #14117]
0bd53985
L
36641 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
36642 * sysdeps/x86/bits/xtitypes.h: This.
36643
3a257e66
L
36644 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
36645 * sysdeps/x86/bits/wordsize.h: This.
36646
62f62904
L
36647 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
36648 * sysdeps/x86/bits/huge_vall.h: This.
36649
404fe9d9
L
36650 * sysdeps/i386/bits/select.h: Removed.
36651 * sysdeps/x86_64/bits/select.h: Renamed to ...
36652 * sysdeps/x86/bits/select.h: This.
36653
d48d0446
L
36654 * sysdeps/i386/bits/setjmp.h: Removed.
36655 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
36656 * sysdeps/x86/bits/setjmp.h: This.
36657
7dc00e0d
L
36658 * sysdeps/i386/bits/mathdef.h: Removed.
36659 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
36660 * sysdeps/x86/bits/mathdef.h: This.
36661
03277f8f
AS
366622012-05-30 Andreas Schwab <schwab@linux-m68k.org>
36663
36664 [BZ #14132]
36665 * include/sys/socket.h (__connect_internal)
36666 (__libc_sa_len_internal): Remove declaration.
36667 (__connect, __libc_sa_len): Declare hidden_proto.
36668 (SA_LEN): Remove use of INTUSE.
36669 * socket/connect.c: Add libc_hidden_def.
36670 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
36671 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
36672 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
36673 alias.
36674 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
36675 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
36676 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
36677 of adding _internal alias.
36678
13764867
L
366792012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36680
36681 [BZ #14117]
6bd97696
L
36682 * sysdeps/i386/bits/link.h: Removed.
36683 * sysdeps/i386/bits/linkmap.h: Likewise.
36684 * sysdeps/x86_64/bits/link.h: Renamed to ...
36685 * sysdeps/x86/bits/link.h: This.
36686 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
36687 * sysdeps/x86/bits/linkmap.h: This.
36688
f726f0bb
L
36689 * sysdeps/i386/bits/endian.h: Removed.
36690 * sysdeps/x86_64/bits/endian.h: Renamed to ...
36691 * sysdeps/x86/bits/endian.h: This.
36692
13764867
L
36693 * sysdeps/i386/bits/byteswap.h: Removed.
36694 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36695 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
36696 * sysdeps/x86/bits/byteswap.h: This.
36697 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
36698 * sysdeps/x86/bits/byteswap-16.h: This.
36699 * sysdeps/i386/Implies: Add x86.
36700 * sysdeps/x86_64/Implies: Likewise.
36701
ae251b0b
DM
367022012-05-30 David S. Miller <davem@davemloft.net>
36703
36704 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
36705 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
36706 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36707 (FP_TRAPPING_EXCEPTIONS): Define.
36708 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36709 (FP_TRAPPING_EXCEPTIONS): Define.
36710 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
36711 subnormals only when inexact has been signalled or underflow
36712 exceptions are enabled.
36713 (_FP_PACK_CANONICAL): Likewise.
36714
d5c90867
L
367152012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36716
36717 [BZ #14183]
36718 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
36719 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
36720
63f1549e
RH
367212012-05-30 Richard Henderson <rth@twiddle.net>
36722
8d8f2279
RH
36723 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
36724 with #ifndef NOT_IN_libc.
36725
63f1549e
RH
36726 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
36727 marked to avoid plt entry.
36728
0ab0291b
L
367292012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36730
36731 [BZ #14112]
36732 * Makeconfig (default-abi): New macro.
36733 (abi-includes): Likewise.
36734 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
36735 $(abi-$(default-abi)-lib-soname) for soname if defined.
36736 ($(common-objpfx)gnu/lib-names.stmp): Generate from
36737 abi-variants.
36738 * Makefile (installed-stubs): Likewise.
36739 * include/stubs-biarch.h: Removed.
36740 * scripts/lib-names.awk: Only handle one library at a time.
36741 * scripts/soversions.awk: Remove WORDSIZE support.
36742 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
36743 entries.
36744 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
36745 Removed.
36746 (syscall-list-default-condition): Likewise.
36747 (syscall-list-default-condition): Likewise.
36748 (syscall-list-includes): Likewise.
36749 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
36750 syscall-list-* with abi-*. Handle undefined abi-variants.
36751 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
36752 * sysdeps/unix/sysv/linux/i386/Implies: New file.
36753 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
36754 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
36755 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
36756 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
36757 Removed.
36758 (syscall-list-32-options): Likewise.
36759 (syscall-list-32-condition): Likewise.
36760 (syscall-list-64-options): Likewise.
36761 (syscall-list-64-condition): Likewise.
36762 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
36763 macro.
36764 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
36765 Renamed to ...
36766 (abi-*): This.
36767 (abi-64-ld-soname): New macro.
36768 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
36769 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
36770 Renamed to ...
36771 (abi-*): This.
36772 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
36773 * sysdeps/x86_64/x32/shlib-versions: Likewise.
36774
4da0431d
JM
367752012-05-30 Joseph Myers <joseph@codesourcery.com>
36776
3a85279c
JM
36777 * sysdeps/unix/sysv/linux/kernel-features.h
36778 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
36779 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
36780 include <kernel-features.h>.
36781 [!__NR_ftruncate64]: Remove conditional code.
36782 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36783 [__NR_ftruncate64]: Make code unconditional.
36784 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36785 * sysdeps/unix/sysv/linux/truncate64.c: Do not
36786 include <kernel-features.h>.
36787 [!__NR_ftruncate64]: Remove conditional code.
36788 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36789 [__NR_ftruncate64]: Make code unconditional.
36790 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
36792 include <kernel-features.h>.
36793 [!__NR_ftruncate64]: Remove conditional code.
36794 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36795 [__NR_ftruncate64]: Make code unconditional.
36796 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36798 include <kernel-features.h>.
36799 [!__NR_ftruncate64]: Remove conditional code.
36800 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36801 [__NR_ftruncate64]: Make code unconditional.
36802 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36803
4da0431d
JM
36804 * configure.in (libc_cv_fpie): Weaken to a compile test using
36805 LIBC_TRY_CC_OPTION.
36806 * configure: Regenerated.
36807
11ef492c
AK
368082012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36809
36810 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
36811 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
36812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
36813 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36814 Refreshed.
36815 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
36816 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
36817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
36818 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
36819 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
36820 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36821 Refreshed.
36822
d66ef399
DM
368232012-05-27 David S. Miller <davem@davemloft.net>
36824
36825 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
36826 (___Q_zero): New.
36827 (__Q_simulate_exceptions): Return void. Change to simulate
36828 exceptions by writing into the %fsr.
36829 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
36830 (__Qp_handle_exceptions): Likewise.
36831 (numbers): Delete.
36832 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
36833 __Qp_handle_exceptions.
36834 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
36835 __Qp_handle_exceptions.
36836 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36837 as unused and give dummy FP_RND_NEAREST initializer.
36838 (FP_INHIBIT_RESULTS): Define.
36839 (___Q_simulate_exceptions): Update declaration.
36840 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
36841 formatting.
36842 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36843 as unused and give dummy FP_RND_NEAREST initializer.
36844 (__Qp_handle_exceptions): Update declaration.
36845 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
36846 formatting.
36847
04fb54b5
TS
368482012-05-27 Thomas Schwinge <thomas@codesourcery.com>
36849
36850 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
36851 the temporary FPU control word.
36852 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36853 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
36854 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36855 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36856 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36857 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36858 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36859 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36860 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36861 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
36862 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36863
3f99608f
KK
368642012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36865
36866 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36867 fields.
36868
65a4de4e
CLT
368692012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
36870
36871 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36872 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36873 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36874 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36875 Likewise.
36876 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36877 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36878 Likewise.
36879
15749d40
UD
368802012-05-27 Ulrich Drepper <drepper@gmail.com>
36881
36882 * po/h.po: Update from translation team.
36883
25dbcb27
AS
368842012-05-26 Andreas Schwab <schwab@linux-m68k.org>
36885
3d3f8e55
AS
36886 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36887
25dbcb27
AS
36888 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36889 handling of denormals.
36890 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36891 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36892 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36893 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36894 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36895 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36896 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36897 Likewise.
36898
7ad47a80 368992012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
36900
36901 [BZ #14152]
36902 * math/libm-test.inc (fma_test): Don't always expect underflow
36903 exception.
36904
9c6ea9fa
SP
369052012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36906
36907 [BZ #12416]
36908 * elf/tst-execstack.c: Include stackinfo.h.
36909 (do_test): Adjust test case to ensure that pthread_getattr_np
36910 behaviour remains the same after marking stack executable.
36911
a8239222
JM
369122012-05-25 Joseph Myers <joseph@codesourcery.com>
36913
36914 * sysdeps/unix/sysv/linux/kernel-features.h
36915 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36916 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36917 kernel-features.h.
36918 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36919 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36920 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36921 kernel-features.h.
36922 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36923 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36924
918b5606
L
369252012-05-25 H.J. Lu <hongjiu.lu@intel.com>
36926
36927 * configure.in: Define the default includes to being none.
36928 * configure: Regenerated.
36929
3a097cc7
RM
369302012-05-25 Roland McGrath <roland@hack.frob.com>
36931
8422c9a5
RM
36932 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36933 * sysdeps/x86_64/setjmp.S: Likewise.
36934 * sysdeps/i386/bsd-setjmp.S: Likewise.
36935 * sysdeps/i386/bsd-_setjmp.S: Likewise.
36936 * sysdeps/i386/setjmp.S: Likewise.
36937 * sysdeps/i386/__longjmp.S: Likewise.
36938 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36939 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36940
3a097cc7
RM
36941 * include/stap-probe.h: New file.
36942 * configure.in: Handle --enable-systemtap.
36943 * configure: Regenerated.
36944 * config.h.in (USE_STAP_PROBE): New #undef.
36945 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36946 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36947 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36948
21708942
JM
369492012-05-25 Joseph Myers <joseph@codesourcery.com>
36950
36951 [BZ #13717]
36952 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36953 to 2.4.0 where earlier.
36954 * sysdeps/unix/sysv/linux/configure: Regenerated.
36955 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36956 <kernel-features.h>.
36957 [__ASSUME_32BITUIDS]: Make code unconditional.
36958 [!__ASSUME_32BITUIDS]: Remove conditional code.
36959 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
36960 <kernel-features.h>.
36961 [__ASSUME_32BITUIDS]: Make code unconditional.
36962 [!__ASSUME_32BITUIDS]: Remove conditional code.
36963 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
36964 [__ASSUME_32BITUIDS]: Make code unconditional.
36965 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
36966 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
36967 <kernel-features.h>.
36968 [__ASSUME_32BITUIDS]: Make code unconditional.
36969 [!__ASSUME_32BITUIDS]: Remove conditional code.
36970 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
36971 <kernel-features.h>.
36972 [__ASSUME_32BITUIDS]: Make code unconditional.
36973 [!__ASSUME_32BITUIDS]: Remove conditional code.
36974 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
36975 <kernel-features.h>.
36976 [__ASSUME_32BITUIDS]: Make code unconditional.
36977 [!__ASSUME_32BITUIDS]: Remove conditional code.
36978 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
36979 <kernel-features.h>.
36980 [__ASSUME_32BITUIDS]: Make code unconditional.
36981 [!__ASSUME_32BITUIDS]: Remove conditional code.
36982 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36983 <kernel-features.h>.
36984 [__ASSUME_32BITUIDS]: Make code unconditional.
36985 [!__ASSUME_32BITUIDS]: Remove conditional code.
36986 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36987 <kernel-features.h>.
36988 [__ASSUME_32BITUIDS]: Make code unconditional.
36989 [!__ASSUME_32BITUIDS]: Remove conditional code.
36990 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
36991 <kernel-features.h>.
36992 [__ASSUME_32BITUIDS]: Make code unconditional.
36993 [!__ASSUME_32BITUIDS]: Remove conditional code.
36994 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36995 <kernel-features.h>.
36996 [__ASSUME_32BITUIDS]: Make code unconditional.
36997 [!__ASSUME_32BITUIDS]: Remove conditional code.
36998 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36999 <kernel-features.h>.
37000 [__ASSUME_32BITUIDS]: Make code unconditional.
37001 [!__ASSUME_32BITUIDS]: Remove conditional code.
37002 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
37003 <kernel-features.h>.
37004 [__ASSUME_32BITUIDS]: Make code unconditional.
37005 [!__ASSUME_32BITUIDS]: Remove conditional code.
37006 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
37007 <kernel-features.h>.
37008 [__NR_setresgid] (__setresgid): Do not declare.
37009 [__ASSUME_32BITUIDS]: Make code unconditional.
37010 [!__ASSUME_32BITUIDS]: Remove conditional code.
37011 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
37012 <kernel-features.h>.
37013 [__NR_setresuid] (__setresuid): Do not declare.
37014 [__ASSUME_32BITUIDS]: Make code unconditional.
37015 [!__ASSUME_32BITUIDS]: Remove conditional code.
37016 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
37017 <kernel-features.h>.
37018 [__ASSUME_32BITUIDS]: Make code unconditional.
37019 [!__ASSUME_32BITUIDS]: Remove conditional code.
37020 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
37021 <kernel-features.h>.
37022 [__ASSUME_32BITUIDS]: Make code unconditional.
37023 [!__ASSUME_32BITUIDS]: Remove conditional code.
37024 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
37025 <kernel-features.h>.
37026 [__ASSUME_32BITUIDS]: Make code unconditional.
37027 [!__ASSUME_32BITUIDS]: Remove conditional code.
37028 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
37029 <kernel-features.h>.
37030 [__ASSUME_32BITUIDS]: Make code unconditional.
37031 [!__ASSUME_32BITUIDS]: Remove conditional code.
37032 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
37033 <kernel-features.h>.
37034 [__ASSUME_32BITUIDS]: Make code unconditional.
37035 [!__ASSUME_32BITUIDS]: Remove conditional code.
37036 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
37037 <kernel-features.h>.
37038 [__ASSUME_32BITUIDS]: Make code unconditional.
37039 [!__ASSUME_32BITUIDS]: Remove conditional code.
37040 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
37041 <kernel-features.h>.
37042 [__ASSUME_32BITUIDS]: Make code unconditional.
37043 [!__ASSUME_32BITUIDS]: Remove conditional code.
37044 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
37045 <kernel-features.h>.
37046 [__ASSUME_32BITUIDS]: Make code unconditional.
37047 [!__ASSUME_32BITUIDS]: Remove conditional code.
37048 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
37049 <kernel-features.h>.
37050 [__ASSUME_32BITUIDS]: Make code unconditional.
37051 [!__ASSUME_32BITUIDS]: Remove conditional code.
37052 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37053 <kernel-features.h>.
37054 [__ASSUME_32BITUIDS]: Make code unconditional.
37055 [!__ASSUME_32BITUIDS]: Remove conditional code.
37056 * sysdeps/unix/sysv/linux/kernel-features.h
37057 (__ASSUME_SETRESUID_SYSCALL): Remove.
37058 (__ASSUME_SETRESGID_SYSCALL): Likewise.
37059 (__ASSUME_32BITUIDS): Likewise.
37060 (__ASSUME_LDT_WORKS): Likewise.
37061 (__ASSUME_O_DIRECTORY): Likewise.
37062 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
37063 architecture but not kernel version.
37064 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
37065 (__ASSUME_MMAP2_SYSCALL): Likewise.
37066 (__ASSUME_STAT64_SYSCALL): Likewise.
37067 (__ASSUME_IPC64): Likewise.
37068 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
37069 <kernel-features.h>.
37070 [__ASSUME_32BITUIDS]: Make code unconditional.
37071 [!__ASSUME_32BITUIDS]: Remove conditional code.
37072 * sysdeps/unix/sysv/linux/opendir.c: Do not include
37073 <kernel-features.h>.
37074 [__ASSUME_O_DIRECTORY]: Make code unconditional.
37075 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
37076 132096]: Remove conditional code.
37077 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
37078 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37079 <kernel-features.h>.
37080 [__ASSUME_32BITUIDS]: Make code unconditional.
37081 [!__ASSUME_32BITUIDS]: Remove conditional code.
37082 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37083 <kernel-features.h>.
37084 [__ASSUME_32BITUIDS]: Make code unconditional.
37085 [!__ASSUME_32BITUIDS]: Remove conditional code.
37086 * sysdeps/unix/sysv/linux/setegid.c: Do not include
37087 <kernel-features.h>.
37088 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
37089 unconditional.
37090 (__setresgid): Do not declare.
37091 [__ASSUME_32BITUIDS]: Make code unconditional.
37092 [!__ASSUME_32BITUIDS]: Remove conditional code.
37093 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
37094 <kernel-features.h>.
37095 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
37096 unconditional.
37097 (__setresuid): Do not declare.
37098 [__ASSUME_32BITUIDS]: Make code unconditional.
37099 [!__ASSUME_32BITUIDS]: Remove conditional code.
37100 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37101 <kernel-features.h>.
37102 [__ASSUME_32BITUIDS]: Make code unconditional.
37103 [!__ASSUME_32BITUIDS]: Remove conditional code.
37104 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
37105 <kernel-features.h>.
37106 [__ASSUME_32BITUIDS]: Make code unconditional.
37107 [!__ASSUME_32BITUIDS]: Remove conditional code.
37108
a386f1cc
RH
371092012-05-25 Richard Henderson <rth@twiddle.net>
37110
37111 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
37112 dl_hwcap to ifunc resolver.
37113 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
37114 elf_ifunc_invoke.
37115 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
37116 dl_hwcap to ifunc resolver.
37117 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
37118
b6550497
JM
371192012-05-24 Joseph Myers <joseph@codesourcery.com>
37120
37121 [BZ #14153]
37122 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
37123 for |x| <= 2**-26, not 2**-57.
37124 * math/libm-test.inc (acos_test): Do not allow spurious underflow
37125 exception.
37126
b0bc23a1
JL
371272012-05-24 Jeff Law <law@redhat.com>
37128
37129 * stdio-common/Makefile (tests): Add bug25.
37130 * stdio-common/bug25.c: New test.
37131
347c92e9
L
371322012-05-24 H.J. Lu <hongjiu.lu@intel.com>
37133
37134 [BZ #13576]
37135 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
37136 multiple of MALLOC_ALIGNMENT in size.
37137 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
37138
6bcc8b3f
JM
371392012-05-24 Joseph Myers <joseph@codesourcery.com>
37140
37141 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
37142 Require >= 256.
37143 (FILENAME_MAX): Use macro-int-constant.
37144 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
37145 (_IOFBF): Use macro-int-constant.
37146 (_IOLBF): Likewise.
37147 (_IONBF): Likewise.
37148 (SEEK_CUR): Likewise.
37149 (SEEK_END): Likewise.
37150 (SEEK_SET): Likewise.
37151 (TMP_MAX): Likewise.
37152 (EOF): Use macro-int-constant. Require < 0.
37153 (NULL): Use macro-constant. Require == 0.
37154 (stdin): Require type to be FILE *.
37155 (stdout): Likewise.
37156 (stderr): Likewise.
37157 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
37158 macro-int-constant.
37159 (EXIT_SUCCESS): Likewise.
37160 (NULL): Use macro-constant. Require == 0.
37161 (RAND_MAX): Use macro-int-constant.
37162 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
37163 [C99-based standards] (strtof): Require function.
37164 [C99-based standards] (strtold): Likewise.
37165 [C99-based standards] (strtoll): Likewise.
37166 [C99-based standards] (strtoull): Likewise.
37167 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37168 [ISO || ISO99 || ISO11] (limits.h): Likewise.
37169 [ISO || ISO99 || ISO11] (math.h): Likewise.
37170 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
37171 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37172 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37173
d18ea0c5
AS
371742012-05-24 Andreas Schwab <schwab@linux-m68k.org>
37175
37176 [BZ #14132]
56d25bb8
AS
37177 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
37178 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
37179 * intl/dgettext.c (DCGETTEXT): Likewise.
37180 * intl/gettext.c (DCGETTEXT): Likewise.
37181 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
37182 * posix/regex_internal.h (gettext): Likewise.
37183 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
37184 Remove declaration.
37185 * include/argz.h (__argz_count_internal)
37186 (__argz_stringify_internal): Remove declaration.
37187 (__argz_count, __argz_stringify): Declare hidden proto.
37188 * intl/dcgettext.c: Remove use of INTDEF.
37189 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
37190 * string/argz-stringify.c: Likewise.
37191 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37192 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37193 Declare hidden proto.
d18ea0c5
AS
37194 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37195 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37196 Declare hidden proto.
37197 * include/stdio.h (__asprintf_internal): Don't declare.
37198 (__asprintf): Don't define as macro. Declare hidden proto.
37199 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
37200 (__fsetlocking): Declare hidden proto.
37201 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
37202 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
37203 hidden proto.
37204 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
37205 (_IO_setlinebuf): Remove use of INTUSE.
37206 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
37207 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
37208 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
37209 Remove declaration.
37210 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
37211 (_IO_do_flush): Remove use of INTUSE.
37212 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
37213 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
37214 (_IO_adjust_column, _IO_least_wmarker)
37215 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
37216 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
37217 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
37218 (_IO_default_doallocate, _IO_wdefault_doallocate)
37219 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
37220 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
37221 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
37222 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
37223 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
37224 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
37225 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
37226 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
37227 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
37228 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
37229 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
37230 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
37231 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
37232 proto.
37233 (_IO_flush_all_internal, _IO_adjust_column_internal)
37234 (_IO_default_uflow_internal, _IO_default_finish_internal)
37235 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
37236 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
37237 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
37238 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
37239 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
37240 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
37241 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
37242 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
37243 (_IO_file_close_internal, _IO_file_close_it_internal)
37244 (_IO_file_underflow_internal, _IO_file_overflow_internal)
37245 (_IO_file_init_internal, _IO_file_attach_internal)
37246 (_IO_file_fopen_internal, _IO_file_read_internal)
37247 (_IO_file_sync_internal, _IO_file_seek_internal)
37248 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
37249 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
37250 (_IO_str_underflow_internal, _IO_str_overflow_internal)
37251 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
37252 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
37253 (_IO_list_all_internal, _IO_link_in_internal)
37254 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
37255 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
37256 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
37257 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
37258 (_IO_do_write_internal, _IO_padn_internal)
37259 (_IO_getline_info_internal, _IO_getline_internal)
37260 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
37261 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
37262 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
37263 (_IO_vfscanf_internal, _IO_vfprintf_internal)
37264 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
37265 (_IO_init_internal, _IO_un_link_internal): Don't declare.
37266 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
37267 with libc_hidden_ver, remove use of INTUSE.
37268 * libio/genops.c: Likewise.
37269 * libio/freopen.c: Likewise.
37270 * libio/freopen64.c: Likewise.
37271 * libio/iofclose.c: Likewise.
37272 * libio/iofdopen.c: Likewise.
37273 * libio/iofflush.c: Likewise.
37274 * libio/iofflush_u.c: Likewise.
37275 * libio/iofgets.c: Likewise.
37276 * libio/iofgets_u.c: Likewise.
37277 * libio/iofopen.c: Likewise.
37278 * libio/iofopncook.c: Likewise.
37279 * libio/iofread.c: Likewise.
37280 * libio/iofread_u.c: Likewise.
37281 * libio/ioftell.c: Likewise.
37282 * libio/iofwrite.c: Likewise.
37283 * libio/iogetline.c: Likewise.
37284 * libio/iogets.c: Likewise.
37285 * libio/iogetwline.c: Likewise.
37286 * libio/iopadn.c: Likewise.
37287 * libio/iopopen.c: Likewise.
37288 * libio/ioseekoff.c: Likewise.
37289 * libio/ioseekpos.c: Likewise.
37290 * libio/iosetbuffer.c: Likewise.
37291 * libio/iosetvbuf.c: Likewise.
37292 * libio/ioungetc.c: Likewise.
37293 * libio/ioungetwc.c: Likewise.
37294 * libio/iovdprintf.c: Likewise.
37295 * libio/iovsprintf.c: Likewise.
37296 * libio/iovsscanf.c: Likewise.
37297 * libio/memstream.c: Likewise.
37298 * libio/obprintf.c: Likewise.
37299 * libio/oldfileops.c: Likewise.
37300 * libio/oldiofclose.c: Likewise.
37301 * libio/oldiofdopen.c: Likewise.
37302 * libio/oldiofopen.c: Likewise.
37303 * libio/oldiopopen.c: Likewise.
37304 * libio/oldstdfiles.c: Likewise.
37305 * libio/putc.c: Likewise.
37306 * libio/setbuf.c: Likewise.
37307 * libio/setlinebuf.c: Likewise.
37308 * libio/stdfiles.c: Likewise.
37309 * libio/strops.c: Likewise.
37310 * libio/vasprintf.c: Likewise.
37311 * libio/vscanf.c: Likewise.
37312 * libio/vsnprintf.c: Likewise.
37313 * libio/vswprintf.c: Likewise.
37314 * libio/wfiledoalloc.c: Likewise.
37315 * libio/wfileops.c: Likewise.
37316 * libio/wgenops.c: Likewise.
37317 * libio/wmemstream.c: Likewise.
37318 * libio/wstrops.c: Likewise.
37319 * libio/__fpurge.c: Likewise.
37320 * libio/__fsetlocking.c: Likewise.
37321 * assert/assert.c: Likewise.
37322 * debug/fgets_chk.c: Likewise.
37323 * debug/fgets_u_chk.c: Likewise.
37324 * debug/fread_chk.c: Likewise.
37325 * debug/fread_u_chk.c: Likewise.
37326 * debug/gets_chk.c: Likewise.
37327 * debug/obprintf_chk.c: Likewise.
37328 * debug/vasprintf_chk.c: Likewise.
37329 * debug/vdprintf_chk.c: Likewise.
37330 * debug/vsnprintf_chk.c: Likewise.
37331 * debug/vsprintf_chk.c: Likewise.
37332 * malloc/mtrace.c: Likewise.
37333 * misc/error.c: Likewise.
37334 * misc/syslog.c: Likewise.
37335 * stdio-common/asprintf.c: Likewise.
37336 * stdio-common/fxprintf.c: Likewise.
37337 * stdio-common/getw.c: Likewise.
37338 * stdio-common/isoc99_fscanf.c: Likewise.
37339 * stdio-common/isoc99_scanf.c: Likewise.
37340 * stdio-common/isoc99_vfscanf.c: Likewise.
37341 * stdio-common/isoc99_vscanf.c: Likewise.
37342 * stdio-common/isoc99_vsscanf.c: Likewise.
37343 * stdio-common/printf-prs.c: Likewise.
37344 * stdio-common/printf_fp.c: Likewise.
37345 * stdio-common/printf_fphex.c: Likewise.
37346 * stdio-common/printf_size.c: Likewise.
37347 * stdio-common/putw.c: Likewise.
37348 * stdio-common/scanf.c: Likewise.
37349 * stdio-common/sprintf.c: Likewise.
37350 * stdio-common/tmpfile.c: Likewise.
37351 * stdio-common/vfprintf.c: Likewise.
37352 * stdio-common/vfscanf.c: Likewise.
37353 * stdlib/strfmon_l.c: Likewise.
37354 * sunrpc/openchild.c: Likewise.
37355 * sunrpc/xdr_stdio.c: Likewise.
37356 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
37357 * sysdeps/mach/hurd/tmpfile.c: Likewise.
37358
d6c33fda
RM
373592012-05-24 Roland McGrath <roland@hack.frob.com>
37360
c1487492
RM
37361 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37362
37363 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
37364 in the third column, to generate for the shared library an IFUNC
37365 that uses _dl_vdso_vsym.
37366 * Makerules (COMPILE.c, compile-stdin.c): New variables.
37367 * Makeconfig (object-suffixes-noshared): New variable.
37368
37369 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
37370 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
37371 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
37372 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
37373
d6c33fda
RM
37374 [BZ #14132]
37375 * include/sys/time.h (__gettimeofday): Remove macro.
37376 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
37377 * time/gettimeofday.c (__gettimeofday): Remove #undef.
37378 Remove INTDEF.
37379 (__gettimeofday): Add libc_hidden_def.
37380 (gettimeofday): Add libc_hidden_weak.
37381 * sysdeps/mach/gettimeofday.c: Likewise.
37382 * sysdeps/posix/gettimeofday.c: Likewise.
37383 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
37384 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
37385 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
37386 (__gettimeofday_internal): Remove strong_alias.
37387 (__gettimeofday): Add libc_hidden_def.
37388 (gettimeofday): Add libc_hidden_weak.
37389 * sysdeps/unix/syscalls.list (gettimeofday):
37390 Remove __gettimeofday_internal alias.
37391
b5a2bbe6
L
373922012-05-24 Daniel Jacobowitz <drow@false.org>
37393 H.J. Lu <hongjiu.lu@intel.com>
37394
37395 [BZ #12495]
37396 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
37397 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
37398 (largebin_index_32_big): New.
37399 (largebin_index): Use it for 16-byte alignment.
37400 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
37401 correction with front_misalign.
37402
cfba4fda
L
374032012-05-24 H.J. Lu <hongjiu.lu@intel.com>
37404
7f907421
L
37405 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
37406 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
37407 Likewise.
37408 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
37409 Likewise.
37410 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37411 Likewise.
37412 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
37413 Likewise.
37414 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
37415 Likewise.
37416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
37417 Likewise.
37418 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
37419 Likewise.
37420 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
37421 Likewise.
37422 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
37423 Likewise.
37424 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
37425 Likewise.
37426 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
37427 Likewise.
37428 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
37429 Likewise.
37430
cfba4fda
L
37431 * scripts/data/c++-types-x32-linux-gnu.data: New file.
37432 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
37433
80bad0cc
JM
374342012-05-24 Joseph Myers <joseph@codesourcery.com>
37435
7a25eb06
JM
37436 [BZ #10846]
37437 [BZ #14036]
37438 * math/libm-test.inc (exp_test): Add test from bug 14036.
37439 (pow_test): Add test from bug 10846.
37440
795405f9
JM
37441 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
37442 and other flags.
37443 (special_function): Do not include flags in test name.
37444 (parse_args): Likewise.
37445 * sysdeps/i386/fpu/libm-test-ulps: Update.
37446 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37447 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37448 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37450
80bad0cc
JM
37451 * math/gen-libm-test.pl (%beautify): Add entries for underflow
37452 exceptions.
37453 * math/libm-test.inc ("Philosophy"): Update comment about
37454 exception testing.
37455 (UNDERFLOW_EXCEPTION): New macro.
37456 (UNDERFLOW_EXCEPTION_OK): Likewise.
37457 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
37458 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
37459 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
37460 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
37461 (INVALID_EXCEPTION_OK): Update value.
37462 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37463 (OVERFLOW_EXCEPTION_OK): Likewise.
37464 (IGNORE_ZERO_INF_SIGN): Likewise.
37465 (test_exceptions): Handle underflow exceptions.
37466 (acos_test): Update for underflow exception expectations.
37467 (cexp_test): Likewise.
37468 (clog_test): Likewise.
37469 (clog10_test): Likewise.
37470 (csqrt_test): Likewise.
37471 (ctan_test): Likewise.
37472 (ctanh_test): Likewise.
37473 (exp_test): Likewise.
37474 (exp10_test): Likewise.
37475 (exp2_test): Likewise.
37476 (expm1_test): Likewise.
37477 (fma_test): Likewise.
37478 (j0_test): Likewise.
37479 (jn_test): Likewise.
37480 (nexttoward_test): Likewise.
37481 (pow_test): Likewise.
37482 (scalbn_test): Likewise.
37483 (scalbln_test): Likewise.
37484 (tan_test): Likewise.
37485 (y1_test): Likewise.
37486 * sysdeps/i386/fpu/libm-test-ulps: Update.
37487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37488
9e0e3d0b
DM
374892012-05-23 David S. Miller <davem@davemloft.net>
37490
37491 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37492 (__libc_sigaction): Remove unused local variables.
37493
ccd0a08f
L
374942012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37495
37496 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
37497
62bdf9a6
PE
374982012-05-23 Paul Eggert <eggert@cs.ucla.edu>
37499
f8591f80
PE
37500 mktime: avoid signed integer overflow
37501 * time/mktime.c (__mktime_internal): Do not mishandle the case
37502 where diff == INT_MIN.
37503
94c7d826
PE
37504 mktime: simplify computation of average
37505 * time/mktime.c (ranged_convert): Use new time_t_avg function
37506 instead of rolling our own (probably-slower) code.
37507
ce73d683
PE
37508 mktime: do not assume signed right shift propagates sign bit
37509 * time/mktime.c (isdst_differ): New static function.
37510 (__mktime_internal): No need to normalize tm_isdst now.
37511 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
37512 tm_isdst values.
37513
72a22e59
PE
37514 mktime: merge another wrapv change from gnulib
37515 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
37516 from some compilers.
37517
68605433
PE
37518 mktime: remove incorrect attempt at unusual arithmetics
37519 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
37520 The code didn't really work on such machines anyway.
37521 (TYPE_MINIMUM): Assume two's complement.
37522 (twos_complement_arithmetic): Verify that long_int and time_t
37523 are two's complement (or unsigned, in the latter case).
37524
03cf7fe3
PE
37525 mktime: check signed shifts on long_int and time_t, too
37526 * time/mktime.c (SHR): Check that shifts work as desired
37527 on the types long_int and time_t too, as SHR is used on
37528 such types.
37529
f04dfbc2
PE
37530 mktime: do not assume 'long' is wide enough
37531 * time/mktime.c (verify): Move decl up.
37532 (long_int): New type.
37533 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
37534 to remove assumption in the code that 'long' is wide enough to
37535 store year values. This assumption is not true on x32 and on
37536 some non-glibc platforms.
37537
62bdf9a6
PE
37538 mktime: merge wrapv change from gnulib
37539 * time/mktime.c (WRAPV): New macro.
37540 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
37541 (guess_time_tm, __mktime_internal): Do not assume that signed
37542 integer overflow wraps around; modern compilers generate code
37543 where this assumption is no longer valid.
37544
5e292e4f
L
375452012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37546
37547 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37548 Replace "jmp L(pseudo_end)" with "ret".
37549 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
37550 Likewise.
37551
8caf8c87
AJ
375522012-05-23 Andreas Jaeger <aj@suse.de>
37553
37554 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
37555 * sysdeps/unix/sysv/linux/poll.c: Remove file.
37556
1a09dc56
AJ
375572012-05-23 Andreas Jaeger <aj@suse.de>
37558 Maximilian Attems <max@stro.at>
37559
37560 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
37561 New macros.
37562
1c87aba0
L
375632012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37564
37565 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
37566 code so that pseudo_end is just ret and the stack pointer is
37567 correct also for static library in error case.
37568
40e45bd5
JM
375692012-05-23 Joseph Myers <joseph@codesourcery.com>
37570
c2670533
JM
37571 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
37572 move to syscalls.list.
37573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
37574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37577
40e45bd5
JM
37578 * manual/install.texi (Running make install): Do not mention Linux
37579 kernel version for which pt_chown is not needed.
37580 (Linux): Do not mention problems with nscd with 2.0 kernels.
37581 * INSTALL: Regenerated.
37582
be08eda5
AJ
375832012-05-23 Andreas Jaeger <aj@suse.de>
37584
37585 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
37586 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
37587 macro.
37588 * sysdeps/unix/sysv/linux/s390/bits/mman.h
37589 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37590 * sysdeps/unix/sysv/linux/sh/bits/mman.h
37591 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37592 * sysdeps/unix/sysv/linux/i386/bits/mman.h
37593 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37594 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
37595 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37596 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
37597 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37598 * sysdeps/unix/sysv/linux/bits/in.h
37599 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
37600
a6a056bb
RM
376012012-05-22 Roland McGrath <roland@hack.frob.com>
37602
37603 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
37604 (PREPARE_VERSION): Just use assert instead, it will be elided
37605 under [NDEBUG] anyway.
37606
c9009328
L
376072012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37608
37609 * sysdeps/unix/sysv/linux/Makefile: Include
37610 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 37611 (sysdep_routines): Remove sysctl.
c9009328
L
37612 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
37613 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
37614 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
37615 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
37616 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
37617
73338355
AJ
376182012-05-22 Andreas Jaeger <aj@suse.de>
37619
37620 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
37621 that pseudo_end is just ret and the stack pointer is correct also
37622 for static library in error case.
37623
d44638b0
PP
376242012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
37625
37626 [BZ #14122]
37627 * nss/nsswitch.c (defconfig_entries): New variable.
37628 (__nss_database_lookup): Don't leak defconfig entries.
37629 (nss_parse_service_list): Don't leak on error paths.
37630 (free_database_entries): New function.
37631 (free_defconfig): New function.
37632 (free_mem): Move common code to free_database_entries.
37633
31a39bd8
L
376342012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37635
da0331a8
L
37636 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
37637 Add arch_prctl.
37638 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
37639
31a39bd8
L
37640 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37641 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
37642 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
37643 New macro.
37644 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
37645 (INTERNAL_SYSCALL_TYPES): Likewise.
37646 (LOAD_ARGS_TYPES_[1-6]): Likewise.
37647 (LOAD_REGS_TYPES_[1-6]): Likewise.
37648 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
37649 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
37650
45470df3
AZ
376512012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37652
37653 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
37654 copysignl for GLIBC_2_0.
37655 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
37656 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
37657 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
37658 logbl for GLIBC_2_0.
37659 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
37660 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
37661
98a61bcb
L
376622012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37663
a4f6e481
L
37664 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
37665 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37666
f63d5db6
L
37667 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37668 Use "neg %eax".
37669
98a61bcb
L
37670 * time/mktime.c: Update copyright years.
37671
95770f14
PE
376722012-05-22 Paul Eggert <eggert@cs.ucla.edu>
37673
6226efbd
PE
37674 mktime: merge comment-quoting-style change from gnulib
37675 * time/mktime.c: Quote 'like this' in comments.
37676 The GNU coding standards suggest that we no longer quote `like this',
37677 as "`" and "'" are typically rendered asymmetrically nowadays.
37678 The typical gnulib style is to quote 'like this' when quoting
37679 code, and "like this" when quoting English.
37680
b99e4f78
PE
37681 * time/mktime.c (compile-command): Add "-I.".
37682
643e01e6
PE
37683 mktime: merge mktime-internal.h change from gnulib
37684 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
37685
2554247d
PE
37686 mktime: merge time_r change from gnulib
37687 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
37688
826dd0ab
PE
37689 mktime: merge DEBUG change from gnulib
37690 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
37691 case system <time.h> has a #define.
37692
bd83aabe
PE
37693 mktime: merge <sys/types.h> change from gnulib
37694 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
37695 since <time.t> is now guaranteed to define time_t.
37696
95770f14
PE
37697 mktime: merge HAVE_CONFIG_H change from gnulib
37698 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
37699
5e1a27a9
L
377002012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37701
0e44a77e
L
37702 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37703 Use "neg %eax".
37704
5e1a27a9
L
37705 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
37706 __rlim_t cast.
37707 (struct rusage): Use anonymous union to pad each field to
37708 __syscall_slong_t.
37709
46259bec
DM
377102012-05-21 David S. Miller <davem@davemloft.net>
37711
37712 * Makefules (o-iterator): Remove .s cases.
37713 (compile-command.s): Delete.
37714 (COMPILE.s): Delete.
37715 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
37716
59f0c22e
JM
377172012-05-21 Joseph Myers <joseph@codesourcery.com>
37718
37719 * configure.in (libc_cv_predef_stack_protector): Only consider
37720 "foobar" and "__stack_chk_fail" lines in libc_undefs.
37721 * configure: Regenerated.
37722
20c07380
L
377232012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37724
bbb3154b
L
37725 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37726 New macro. Use R*LP on int and pointer.
37727 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
37728 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
37729 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
37730 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
37731
20c07380
L
37732 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
37733 [__WORDSIZE_TIME64_COMPAT32] instead of
37734 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
37735 (struct utmp): Likewise.
37736 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
37737 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
37738 Renamed to ...
37739 (__WORDSIZE_TIME64_COMPAT32): This.
37740 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
37741 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
37742 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
37743 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
37744 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
37745 (__WORDSIZE_TIME64_COMPAT32): New macro.
37746
d8d1017e
AJ
377472012-05-21 Andreas Jaeger <aj@suse.de>
37748
37749 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
37750 only if [SHARED]. Add prototype for __wcschr_ia32.
37751
6c7fb145
RM
377522012-05-21 Roland McGrath <roland@hack.frob.com>
37753
37754 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
37755 of %rbp unmolested in the jmp_buf while mangling the low bits.
37756 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
37757 unmolested high bits of %rbp while demangling the low bits.
37758 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37759
66274218
AJ
377602012-05-21 Andreas Jaeger <aj@suse.de>
37761
07c58f8f
AJ
37762 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
37763 * sunrpc/svc_simple.c: Use it for registerrpc.
37764 * sunrpc/xcrypt.c: Use it for passwd2des.
37765
66274218
AJ
37766 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
37767
61f65140
L
377682012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37769
37770 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
37771 Don't define if [__SYSCALL_WORDSIZE != 32].
37772 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
37773 New macro.
37774
5fefb436
AJ
377752012-05-21 Bruno Haible <bruno@clisp.org>
37776 Andreas Jaeger <aj@suse.de>
37777
37778 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
37779 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
37780 inptr and inend for must_buffer_ch.
37781 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
37782 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
37783 * stdio-common/Makefile (tests): Remove bug15.
37784 (bug15-ENV): Remove macro.
37785 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
37786 anymore.
37787
d8e272ab
AJ
377882012-05-19 Andreas Jaeger <aj@suse.de>
37789 Roland McGrath <roland@hack.frob.com>
37790
37791 * manual/contrib.texi: Completely rewritten. It contains now an
37792 alphabetical list of contributors and their contributions.
37793
4a56a162
RH
377942012-05-21 Richard Henderson <rth@twiddle.net>
37795
37796 * misc/getauxval.c (__getauxval): Use unsigned long int.
37797 * misc/sys/auxv.h: Include <sys/cdefs.h>.
37798 (getauxval): Use unsigned long int.
37799
d024d23c
L
378002012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37801
37802 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37803
cbc00a03
RM
378042012-05-21 Roland McGrath <roland@hack.frob.com>
37805
37806 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
37807 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
37808 __alignof__ (long double).
37809
478143fa
AZ
378102012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37811
37812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37813
c7683a6d
RH
378142012-05-20 Richard Henderson <rth@twiddle.net>
37815
37816 * misc/getauxval.c: New file.
37817 * misc/sys/auxv.h: New file.
37818 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
37819 (routines): Add getauxval.
37820 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
37821 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
37822 * elf/dl-sysdep.c (_dl_auxv): Remove.
37823 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
37824 * elf/dl-support.c (_dl_auxv): New variable.
37825 (_dl_aux_init): Initialize it.
37826 * manual/startup.texi (Auxiliary Vector): New node.
37827 * sysdeps/generic/bits/hwcap.h: New file.
37828 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
37829 * sysdeps/powerpc/sysdep.h: ... here. Include it.
37830 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
37831 * sysdeps/sparc/sysdep.h: ... here. Include it.
37832 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
37833 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
37834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37835 Update.
c7683a6d
RH
37836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
37837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
37838 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
37839 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
37840 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37841 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37842 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
37843 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
37844
a6f1845d
AZ
378452012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37846
37847 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37848
cbcbe830
DM
378492012-05-19 David S. Miller <davem@davemloft.net>
37850
37851 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37852
e0b16cc2
JM
378532012-05-19 Joseph Myers <joseph@codesourcery.com>
37854
37855 [BZ #14123]
37856 * math/s_ccosh.c: Include <float.h>
37857 (__ccosh): Avoid internal overflow calculating sinh and cosh
37858 values before multiplying by sin and cos values.
37859 * math/s_ccoshf.c: Likewise.
37860 * math/s_ccoshl.c: Likewise.
37861 * math/s_csin.c: Likewise.
37862 * math/s_csinf.c: Likewise.
37863 * math/s_csinl.c: Likewise.
37864 * math/s_csinh.c: Likewise.
37865 * math/s_csinhf.c: Likewise.
37866 * math/s_csinhl.c: Likewise.
37867 * math/libm-test.inc (ccos_test): Add more tests.
37868 (ccosh_test): Likewise.
37869 (csin_test): Likewise.
37870 (csinh_test): Likewise.
37871 * sysdeps/i386/fpu/libm-test-ulps: Update.
37872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37873
6ad13e08
L
378742012-05-19 H.J. Lu <hongjiu.lu@intel.com>
37875
f66f0ce8
L
37876 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37877 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37878
6ad13e08
L
37879 * sysdeps/x86_64/x32/_itoa.h: Add comment.
37880
b1d072a7
JM
378812012-05-19 Joseph Myers <joseph@codesourcery.com>
37882
37883 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37884 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37885 * sysdeps/powerpc/soft-fp/Versions: Likewise.
37886 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37887 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37888 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37889 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37890 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37891 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37892 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37893 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37894 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37895 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37896 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37897 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37898 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37899 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37900 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37901 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37902 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37903 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37904 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37905 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37906 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37907 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37908 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37909 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37910 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37911 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37912 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37913 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37914
9eae47cb
AJ
379152012-05-18 Andreas Jaeger <aj@suse.de>
37916
37917 * csu/.gitignore: Delete.
37918
bb07f69f
L
379192012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37920
37921 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37922 (timex): Use __syscall_slong_t.
37923
e6bdb741
AJ
379242012-05-18 Andreas Jaeger <aj@suse.de>
37925 Carlos O'Donell <carlos_odonell@mentor.com>
37926
37927 * manual/install.texi (Configuring and compiling): Update
37928 description about files modified in the source directory.
d6c33fda 37929 * INSTALL: Regenerated.
e6bdb741 37930
1b74487e
L
379312012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37932
37933 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37934 value. Use "or" to set return value to -1.
37935 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37936 negate return value.
37937
a88b64b9
TMQMF
379382012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37939
57f41c40
AS
37940 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37941 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
37942 failure if the compiler has Graphite support disabled.
37943 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37944 Likewise.
57f41c40
AS
37945 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37946 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
37947 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37948 Likewise.
37949
3707636e
L
379502012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37951
610b8622
L
37952 * sysdeps/x86_64/x32/_itoa.h: New file.
37953
7cd195df
L
37954 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37955 getdents system call only if kernel and user dirents have the
37956 same d_ino and d_off.
37957
94b07d20
L
37958 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37959 LLONG_MAX != LONG_MAX.
37960 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37961 (_fitoa_word): Likewise.
37962
18298070
L
37963 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
37964 years.
37965 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
37966 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
37967 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
37968
553c7ea4
L
37969 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
37970 include <bits/wordsize.h>. Check __x86_64__ instead of
37971 __WORDSIZE.
37972 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
37973 if __x86_64__ is defined. Use anonymous union on fpstate.
37974
3707636e
L
37975 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
37976 anonymous union.
37977
b53ef01a
AS
379782012-05-18 Andreas Schwab <schwab@linux-m68k.org>
37979
37fb1dc0
AS
37980 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37981 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
37982 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
37983 Refer to _rtld_local_ro instead of _rtld_global_ro.
37984 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
37985 Likewise.
37986 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
37987 Likewise.
37988 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
37989 Likewise.
37990 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
37991 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
37992 of _rtld_global, and rtld_progname instead of _dl_argv[0].
37993
b53ef01a
AS
37994 * sysdeps/powerpc/powerpc32/dl-machine.c
37995 (__elf_machine_runtime_setup) [PROF]: Don't reference
37996 _dl_prof_resolve.
37997
7a185db2
AJ
379982012-05-18 Andreas Jaeger <aj@suse.de>
37999
38000 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
38001 function only available for GCCs before 3.4 since GCC 3.4
38002 introduced a builtin.
38003 (lrint): Likewise.
38004 (llrintf): Likewise.
38005 (llrint): Likewise.
38006 (fmaxf): Likewise.
38007 (fmax): Likewise.
38008 (fminf): Likewise.
38009 (fmin): Likewise.
38010 (rint): Likewise.
38011 (rintf): Likewise.
38012 (nearbyint): Likewise.
38013 (nearbyintf): Likewise.
38014 (ceil): Likewise.
38015 (ceilf): Likewise.
38016 (floor): Likewise.
38017 (floorf): Likewise.
38018
3e5aef87
L
380192012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38020
428bd707
L
38021 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
38022 on both fields and cast pointer to __syscall_ulong_t.
38023
3e5aef87
L
38024 * bits/types.h (__fsword_t): New type.
38025 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
38026 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
38027 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38028 (__FSWORD_T_TYPE): Likewise.
38029 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38030 (__FSWORD_T_TYPE): Likewise.
38031 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38032 (__FSWORD_T_TYPE): Likewise.
38033 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
38034 (__FSWORD_T_TYPE): Likewise.
38035 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
38036 __SWORD_TYPE with __fsword_t.
38037 (statfs64): Likewise.
38038
1ba7c3dc
DM
380392012-05-17 David S. Miller <davem@davemloft.net>
38040
38041 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
38042
59910343
AJ
380432012-05-17 Andreas Jaeger <aj@suse.de>
38044
38045 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
38046 warning.
38047
2e4c1e9e
L
380482012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38049
38050 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
38051
de7f5ce7
AJ
380522012-05-17 Andreas Jaeger <aj@suse.de>
38053
38054 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
38055 when it is used.
38056
286abc3d
CM
380572012-05-17 Chris Metcalf <cmetcalf@tilera.com>
38058
38059 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
38060
477cc68e
L
380612012-05-17 H.J. Lu <hongjiu.lu@intel.com>
38062
38063 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
38064 * sysdeps/x86_64/tst-mallocalign1.c: New file.
38065
1a0994f5
CD
380662012-05-17 Andreas Jaeger <aj@suse.de>
38067 Carlos O'Donell <carlos_odonell@mentor.com>
38068
38069 [BZ #14059]
38070 * sysdeps/x86_64/multiarch/init-arch.h
38071 (bit_YMM_Usable): Rename to...
38072 (bit_AVX_Usable): ... this.
38073 (bit_FMA4_Usable): New macro.
38074 (bit_XMM_state): New macro.
38075 (bit_YMM_state): New macro.
38076 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
38077 [__ASSEMBLER__] (index_AVX_Usable): ... this.
38078 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
38079 (CPUID_OSXSAVE): New macro.
38080 (CPUID_AVX): New macro.
38081 (CPUID_FMA4): New macro.
38082 (index_YMM_Usable): Rename to...
38083 (index_AVX_Usable): ... this.
38084 (HAS_AVX): Use HAS_ARCH_FEATURE.
38085 (HAS_FMA4): Likewise.
38086 (HAS_YMM_USABLE): Remove.
38087 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38088 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
38089 are present.
38090 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
38091 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
38092 * sysdeps/x86_64/multiarch/Makefile: Likewise.
38093 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
38094 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
38095
0af797de
CM
380962012-05-17 Chris Metcalf <cmetcalf@tilera.com>
38097
38098 * math/libm-test.c: Support platforms without multiple rounding modes.
38099 * math/bug-nextafter.c: Support platforms without FP exceptions.
38100 * math/bug-nexttoward.c: Likewise.
38101 * math/test-fenv.c: Likewise.
38102 * math/test-misc.c: Likewise.
38103 * stdlib/bug-getcontext.c: Likewise.
38104
e39745ff
AJ
381052012-05-17 Andreas Jaeger <aj@suse.de>
38106
38107 * manual/examples/search.c (critter_cmp): Change signature to
38108 avoid warnings.
38109 * manual/string.texi (Collation Functions): Likewise.
38110
48970aba
L
381112012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38112
38113 * bits/types.h: Fold copyright years.
38114 * bits/typesizes.h: Likewise.
38115 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
38116 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
38117 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
38118 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
38119 * time/time.h: Likewise.
38120
bedee953
PP
381212012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
38122
38123 [BZ #208]
38124 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
38125 in instead of returning them. Return void.
38126 (__libc_mallinfo): Accumulate over all arenas.
38127 (__malloc_stats): Adjust for change in int_mallinfo interface.
38128
61653dfb
RM
381292012-05-16 Roland McGrath <roland@hack.frob.com>
38130
30b99d79
RM
38131 [BZ #10375]
38132 * configure.in (NM): Add AC_CHECK_TOOL for it.
38133 (libc_extra_cflags): New substituted variable.
38134 Check for -fstack-protector being used implicitly.
38135 * configure: Regenerated.
38136 * config.make.in (config-extra-cflags): New variable,
38137 gets @libc_extra_cflags@.
38138 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
38139
61653dfb
RM
38140 [BZ #10375]
38141 * configure.in: Check for _FORTIFY_SOURCE being predefined.
38142 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
38143 * configure: Regenerated.
38144 * config.make.in (CPPUNDEFS): New substituted variable.
38145 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
38146 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
38147 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
38148
661768bb
L
381492012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38150
38151 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
38152 (mq_attr): Use __syscall_slong_t.
38153
d4261567
L
381542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38155
38156 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
38157 Check __x86_64__ instead of __WORDSIZE.
38158 (_STAT_VER_LINUX): Likewise.
38159 (stat): Check __x86_64__ instead of __WORDSIZE. Use
38160 __syscall_ulong_t and __syscall_slong_t.
38161 (stat64): Likewise.
38162
cf3ff365
L
381632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38164
38165 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
38166
76cf3e4d
L
381672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38168
38169 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
38170
a637753a
L
381712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38172
38173 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
38174 __syscall_ulong_t.
38175
d5e05119
L
38176 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
38177 include <bits/wordsize.h>. Check __x86_64__ instead of
38178 __WORDSIZE.
38179 (greg_t): Use "__extension__ long long int" if __x86_64__ is
38180 defined.
38181 (mcontext_t): Replace "unsigned long" with "unsigned long long".
38182
f62ee380
L
38183 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
38184 include <bits/wordsize.h>. Check __x86_64__ instead of
38185 __WORDSIZE.
38186 (user_regs_struct): Use "__extension__ unsigned long long"
38187 instead of "unsigned long" if __x86_64__ is defined.
38188 (user): Likewise. Pad after pointer field if __ILP32__ is
38189 defined.
38190
4e124ced
JM
381912012-05-16 Joseph Myers <joseph@codesourcery.com>
38192
6a3951a0
JM
38193 * configure.in (makeinfo): Require version 4.5 or later. Allow
38194 versions 5 to 9.
38195 * configure: Regenerated.
38196 * manual/install.texi (texinfo): Increase version requirement to
38197 4.5 or later.
38198 * INSTALL: Regenerated.
38199
4e124ced
JM
38200 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
38201
953ca31a
L
382022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38203
38204 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
38205
617aca05
L
38206 * sysdeps/x86_64/x32/ffs.c: New file.
38207
5762f7ae
L
38208 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
38209 __syscall_ulong_t.
38210 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
38211 defined. Use __syscall_ulong_t.
38212 (shminfo): Use __syscall_ulong_t.
38213 (shm_info): Likewise.
38214
a26b6856
L
38215 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
38216 __syscall_ulong_t.
38217
cb2b9ef7
L
38218 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
38219 <bits/wordsize.h>.
38220 (msgqnum_t): Use __syscall_ulong_t.
38221 (msglen_t): Likewise.
38222 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
38223 __syscall_ulong_t.
38224
34683bb0
L
38225 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
38226 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38227
84a68786
L
38228 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
38229
48baa5f1
L
38230 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
38231 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
38232
180be88b
L
38233 * sysvipc/sys/msg.h (msgbuf): Replace long int with
38234 __syscall_slong_t.
38235
5e90c8ad
L
38236 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
38237 include <bits/wordsize.h>. Check __x86_64__ instead of
38238 __WORDSIZE.
38239
23dfb58b
L
38240 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
38241 "unsigned long long int" if __x86_64__ is defined.
38242 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
38243
ce5d54b0
L
38244 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
38245 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38246 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
38247
13dc9eac
L
38248 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
38249 <stdint.h>.
38250 (GET_PC): Cast to uintptr_t first.
38251 (GET_FRAME): Likewise.
38252 (GET_STACK): Likewise.
38253
a7895d15
L
38254 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
38255 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
38256 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
38257 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
38258 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
38259 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
38260 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
38261 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
38262 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
38263 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
38264 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
38265 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
38266 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38267 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
38268 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
38269 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
38270 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
38271 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
38272 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
38273 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
38274 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
38275 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
38276 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
38277 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
38278 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
38279 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
38280 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
38281 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
38282 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
38283
656416c9
AS
382842012-05-16 Andreas Schwab <schwab@linux-m68k.org>
38285
5bd66283
AS
38286 * Makerules (+depfiles): Also collect depfiles from .oS in
38287 $(extra-objs).
38288 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
38289 .oS, $(libnldbl-routines)).
38290
656416c9
AS
38291 * Makerules (native-compile-mkdep-flags): Define.
38292 * sunrpc/Makefile (extra-objs): Add $(addprefix
38293 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
38294 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
38295 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
38296 calling $(make-target-directory).
38297
a46f2169
L
382982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38299
38300 * bits/types.h (__snseconds_t): Removed.
38301 * time/time.h (struct timespec): Replace __snseconds_t with
38302 __syscall_slong_t.
38303 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
38304 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
38305 Likewise.
38306 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38307 (__SNSECONDS_T_TYPE): Likewise.
38308 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38309 (__SNSECONDS_T_TYPE): Likewise.
38310 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38311 (__SNSECONDS_T_TYPE): Likewise.
38312
6af6528b
L
383132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38314
38315 * sysdeps/mach/hurd/bits/typesizes.h
38316 (__SYSCALL_SLONG_TYPE): New macro.
38317 (__SYSCALL_ULONG_TYPE): Likewise.
38318
de986b56
L
383192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38320
38321 * bits/types.h (__syscall_slong_t): New type.
38322 (__syscall_ulong_t): Likewise.
38323
38324 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
38325 (__SYSCALL_ULONG_TYPE): Likewise.
38326 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38327 (__SYSCALL_SLONG_TYPE): Likewise.
38328 (__SYSCALL_ULONG_TYPE): Likewise.
38329 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38330 (__SYSCALL_SLONG_TYPE): Likewise.
38331 (__SYSCALL_ULONG_TYPE): Likewise.
38332 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38333 (__SYSCALL_SLONG_TYPE): Likewise.
38334 (__SYSCALL_ULONG_TYPE): Likewise.
38335
85736dc7
L
383362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38337
38338 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
38339 Add sigaltstack-offsets.sym.
38340 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
38341 <sigaltstack-offsets.h>.
38342 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
38343 longjmp_msg pointer.
38344 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
38345 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
38346 signal stack.
38347 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
38348
cc03b296
JM
383492012-05-15 Joseph Myers <joseph@codesourcery.com>
38350
a9538892
JM
38351 * elf/stackguard-macros.h: Remove file.
38352 * sysdeps/generic/stackguard-macros.h: New file.
38353 * sysdeps/i386/stackguard-macros.h: Likewise.
38354 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
38355 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
38356 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
38357 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
38358 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
38359 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
38360 * sysdeps/x86_64/stackguard-macros.h: Likewise.
38361 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
38362 <elf/stackguard-macros.h>.
38363
cc03b296
JM
38364 [BZ #14109]
38365 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
38366 __aligned__ in attribute.
38367 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
38368 (gregset_t): Likewise.
38369
93171016
L
383702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38371
38372 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
38373 * sysdeps/x86_64/64/Implies-after: Here. New file.
38374 * sysdeps/x86_64/x32/Implies-after: New file.
38375
d86813a0
L
383762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38377
38378 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
38379 and access return value for _dl_profile_fixup. Use R10_LP to
38380 load frame size.
38381
2953ec75
L
383822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38383
38384 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
38385
3b550e9e
L
383862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38387
38388 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
38389 * sysdeps/x86_64/x32/sysdep.h: New file.
38390
eda41706
L
383912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38392
38393 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
38394 * sysdeps/x86_64/setjmp.S: Likewise.
38395
9ea01d93
AZ
383962012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38397
38398 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
38399 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
38400 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
38401 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
38402 remove unused global constant.
38403
02a91938
CM
384042012-05-15 Chris Metcalf <cmetcalf@tilera.com>
38405
38406 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
38407 include of <not-cancel.h>.
38408
6540185f
RM
384092012-05-15 Roland McGrath <roland@hack.frob.com>
38410
38411 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
38412
509072a0
AJ
384132012-05-15 Jeff Law <law@redhat.com>
38414 Andreas Jaeger <aj@suse.de>
38415
38416 [BZ #13594]
38417 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
38418 out from...
38419 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
38420 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
38421 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
38422 code changing __hst_map_handle.map.
38423
ba75122d
RM
384242012-05-15 Roland McGrath <roland@hack.frob.com>
38425
38426 * configure.in (sysnames): Look for Implies-before and Implies-after
38427 files.
38428 * configure: Regenerated.
38429
890d8bd8
L
384302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38431
38432 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
38433 8-byte data alignment with LP_SIZE alignment.
38434
f6ee6623
L
384352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38436
38437 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
38438 into R10_LP.
38439
ea2626f6
L
384402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38441
38442 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
38443
085f715e
L
384442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38445
38446 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
38447 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
38448 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
38449 Likewise.
38450 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38451
be8498fc
L
384522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38453
38454 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
38455 (stackinfo_sub_sp): Likewise.
38456
70bc83b9
L
384572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38458
38459 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
38460 RAX_LP.
38461
9bc0b730
L
384622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38463
38464 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
38465 into R*_LP.
38466
6d2850e7
L
384672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38468
38469 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
38470 sizes into R*_LP.
38471
3cb84561
L
384722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38473
38474 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
38475
54e2ed81
L
384762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38477
38478 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
38479 into R11_LP and load __x86_64_shared_cache_size_half into
38480 R8_LP.
38481
8a17f349
L
384822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38483
38484 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
38485 R8_LP.
38486
777b1eea
AZ
384872012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38488
38489 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
38490 logb for POWER7.
38491 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
38492 logbf for POWER7.
38493 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
38494 logbl for POWER7.
38495 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
38496 powerpc32/power7/fpu/s_logb.c via #include.
38497 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
38498 powerpc32/power7/fpu/s_logbf.c via #include.
38499 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
38500 powerpc32/power7/fpu/s_logbl.c via #include.
38501
d20d4ac2
JM
385022012-05-15 Joseph Myers <joseph@codesourcery.com>
38503
38504 * README.libm: Remove file.
38505
6cdef1ab
L
385062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38507
38508 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
38509 count for x32. Use R*_LP and omit operand-size suffix.
38510
0b254d8f
L
385112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38512
38513 * shlib-versions: Move x86_64-.*-linux.* entries to ...
38514 * sysdeps/x86_64/64/shlib-versions: Here. New file.
38515 * sysdeps/x86_64/x32/shlib-versions: New file.
38516
ceb809dc
RM
385172012-05-14 Roland McGrath <roland@hack.frob.com>
38518
38519 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
38520 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
38521 Use _dl_fatal_printf instead.
38522
37f1abd4
JM
385232012-05-14 Joseph Myers <joseph@codesourcery.com>
38524
38525 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
38526 set if not set by the user. Do not allow for being unset.
38527 * sysdeps/unix/sysv/linux/configure: Regenerated.
38528
11de3a33
L
385292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38530
38531 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
38532 the `q' suffix from lea and replace .quad with ASM_ADDR.
38533
e02f153a
L
385342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38535
38536 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
38537 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
38538 instead of $17.
38539 (PTR_DEMANGLE): Likewise.
38540
520ae0fd
L
385412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38542
38543 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
38544 (LP_OP): Likewise.
38545 (ASM_ADDR): Likewise.
38546 (RAX_LP): Likewise.
38547 (RBP_LP): Likewise.
38548 (RBX_LP): Likewise.
38549 (RCX_LP): Likewise.
38550 (RDI_LP): Likewise.
38551 (RSI_LP): Likewise.
38552 (RSP_LP): Likewise.
38553 (R8_LP): Likewise.
38554 (R9_LP): Likewise.
38555 (R10_LP): Likewise.
38556 (R10_LP): Likewise.
38557 (R11_LP): Likewise.
38558 (R12_LP): Likewise.
38559 (R13_LP): Likewise.
38560 (R14_LP): Likewise.
38561 (R15_LP): Likewise.
38562
b985be81
L
385632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38564
38565 * sysdeps/x86_64/x32/dl-machine.h: New file.
38566
6a4888ff
AJ
385672012-05-14 Andreas Jaeger <aj@suse.de>
38568
38569 * manual/Makefile (subdir): Remove export of subdir.
38570 (all): Remove target.
38571 (.PHONY): Remove all from list.
38572 (mkinstalldirs): Remove.
38573 (.PHONY): Remove installdirs from list.
38574 ($(inst_infodir)/libc.info): Use make-target-directory.
38575 (installdirs): Remove.
38576 (subdir_%): Remove.
38577 (glibc-targets): Remove.
38578 (lib): Remove.
38579 (stubs): Remove.
38580 ($(objpfx)stubs ../po/manual.pot): Remove.
38581 ($(objpfx)stamp%): Remove.
38582 (make-target-directory): Remove.
38583 (subdir_install): Remove.
38584 (routines): Remove.
38585 (aux): Remove.
38586 (sources): Remove.
38587 (objects): Remove.
38588 (headers): Remove.
38589
38590 [BZ #13750]
38591 * manual/.gitignore: Remove, it's not needed anymore.
38592 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
38593 all files in it.
38594 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
38595 directory.
38596 (texis): Renamed to $(objpfx)texis.
38597 (texis-path): New, contains path to generated files.
38598 (chapters.%): Use texis-path for complete path, add extra argument
38599 libc-texinfo.sh.
38600 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
38601 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
38602 (summary,texi, stamp-summary): Use complete path of
38603 files. Generate files in build dir.
38604 (dir-add.texi): Build in build dir.
38605 (libm-err.texi,stamp-libm-err): Likewise.
38606 (version.texi, stamp-version): Likewise.
38607 (.%c.texi): Likewise.
38608 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
38609 (mostlyclean): Remove target.
38610 (realclean): Remove target.
38611 (generated): Add new variable with contents from mostlyclean and
38612 realclean, remove entries duplicated in common-mostlyclean, add
38613 stamp-libm-err and stamp-version.
38614 (generated-dirs): Add libc directory.
38615 ($(inst_infodir)/libc.info): Install files from build dir.
38616
38617 * manual/install.texi (Configuring and compiling): Adjust since
38618 the info files are not part of the tar ball anymore.
38619
7ac77294
AJ
386202012-05-14 Andreas Jaeger <aj@suse.de>
38621
38622 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
38623 variable.
38624
ffb7875d
JM
386252012-05-14 Joseph Myers <joseph@codesourcery.com>
38626
38627 [BZ #13717]
38628 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38629 to 2.2.0 where earlier.
38630 * sysdeps/unix/sysv/linux/configure: Regenerated.
38631 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
38632 Remove conditional code.
38633 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
38634 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
38635 Remove conditional code.
38636 [!__NR_lchown]: Likewise.
38637 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38638 [__NR_lchown]: Likewise.
38639 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
38640 comment referencing __ASSUME_LCHOWN_SYSCALL.
38641 * sysdeps/unix/sysv/linux/i386/sigaction.c
38642 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38643 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38644 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
38645 Remove conditional code.
38646 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
38647 (__protocol_available): Remove #if 0 code.
38648 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
38649 conditional code.
38650 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
38651 * sysdeps/unix/sysv/linux/kernel-features.h
38652 (__ASSUME_GETCWD_SYSCALL): Don't define.
38653 (__ASSUME_REALTIME_SIGNALS): Likewise.
38654 (__ASSUME_PREAD_SYSCALL): Likewise.
38655 (__ASSUME_PWRITE_SYSCALL): Likewise.
38656 (__ASSUME_POLL_SYSCALL): Likewise.
38657 (__ASSUME_LCHOWN_SYSCALL): Likewise.
38658 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
38659 non-SPARC.
38660 (__ASSUME_SIOCGIFNAME): Don't define.
38661 (__ASSUME_MSG_NOSIGNAL): Likewise.
38662 (__ASSUME_SENDFILE): Define unconditionally.
38663 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
38664 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
38665 conditional code.
38666 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
38667 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
38668 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38669 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38670 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
38671 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38672 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
38674 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38675 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
38677 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38678 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
38680 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38681 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
38683 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38684 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
38686 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38687 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
38689 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38690 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
38692 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38693 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
38695 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38696 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38697 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
38698 Remove conditional code.
38699 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38700 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38701 Remove conditional code.
38702 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38703 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
38704 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
38705 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38706 Remove conditional code.
38707 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38708 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
38709 Remove conditional code.
38710 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38711 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
38712 Remove conditional code.
38713 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38714 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38715 Remove conditional code.
38716 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38717 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38718 Remove conditional code.
38719 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38720 * sysdeps/unix/sysv/linux/sh/pwrite64.c
38721 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38722 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38723 * sysdeps/unix/sysv/linux/sigaction.c
38724 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38725 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38726 * sysdeps/unix/sysv/linux/sigpending.c
38727 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38728 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38729 * sysdeps/unix/sysv/linux/sigprocmask.c
38730 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38731 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38732 * sysdeps/unix/sysv/linux/sigsuspend.c
38733 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38734 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38735 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38736 (__libc_missing_rt_sigs): Remove.
38737 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
38738 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
38739 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
38740 Remove conditional code.
38741 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
38742 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
38743 return 1.
38744 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
38745 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
38746 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
38747 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
38748
1bfb7291
AJ
387492012-05-14 Andreas Jaeger <aj@suse.de>
38750
caae5a81
AJ
38751 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
38752 it's not used in glibc.
38753 (__coshm1): Likewise.
38754 (__acosh1p): Likewise.
38755 (__sgn): Likewise.
38756
1bfb7291
AJ
38757 * manual/string.texi (Copying and Concatenation): Add missing
38758 variable in concat example.
38759 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38760
c044d724
L
387612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38762
144c5467 38763 [BZ #14103]
c044d724
L
38764 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
38765 __builtin_clzl with __builtin_clzll.
38766
2523c62b
L
387672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38768
38769 [BZ #14104]
38770 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
38771 libc_freeres_ptr.
38772
d7bb4c42
LD
387732012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38774
38775 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
38776 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
38777 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
38778 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
38779
9dc4e1fb
MF
387802012-05-14 Mike Frysinger <vapier@gentoo.org>
38781
38782 * NEWS: Update ia64 info.
38783
c7df0112
AS
387842012-05-12 Andreas Schwab <schwab@linux-m68k.org>
38785
38786 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
38787 used as bcopy.
38788
dc70356c
TS
387892012-05-12 Thomas Schwinge <thomas@codesourcery.com>
38790
38791 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
38792 * sysdeps/unix/syscalls.list (dup3): Likewise.
38793 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
38794 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
38795
9fb1a21f
L
387962012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38797
38798 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
38799 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
38800
4822a2a5
L
388012012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38802
38803 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
38804 thread pointer.
38805 (TLS_IE): Use mov/add instead of movq/addq to load thread
38806 pointer.
38807 (TLS_GD_PREFIX): New.
38808 (TLS_GD): Use it.
38809
842b81d6
DM
388102012-05-11 David S. Miller <davem@davemloft.net>
38811
38812 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
38813 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
38814 (_FPU_SETCW): Likewise.
38815
1cf463cd
L
388162012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38817
38818 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
38819 is 32-byte aligned.
38820
60cc4a18
AS
388212012-05-11 Andreas Schwab <schwab@linux-m68k.org>
38822
38823 [BZ #11837]
38824 * iconvdata/gb18030.c: Update tables.
38825 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
38826 characters specially.
38827 (BODY for TO_LOOP): Add encoding of missing ranges.
38828
febb44a4
TS
388292012-05-11 Thomas Schwinge <thomas@codesourcery.com>
38830
38831 [BZ #13673]
38832 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
38833 * sysdeps/mach/hurd/dup3.c: Likewise.
38834 * sysdeps/mach/hurd/readlinkat.c: Likewise.
38835 * sysdeps/powerpc/memmove.c:: Likewise.
38836
0a10fb9e
L
388372012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38838
38839 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
38840 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
38841
df8a552f
L
388422012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38843
38844 * elf/elf.h (R_X86_64_RELATIVE64): New.
38845 (R_X86_64_NUM): Updated.
38846 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38847 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
38848 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
38849 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
38850 tst-quad1pie tst-quad2pie
38851 (modules-names): Add tst-quadmod1 tst-quadmod2.
38852 ($(objpfx)tst-quad1): New dependency.
38853 ($(objpfx)tst-quad2): Likewise.
38854 ($(objpfx)tst-quad1pie): Likewise.
38855 ($(objpfx)tst-quad2pie): Likewise.
38856 * sysdeps/x86_64/tst-quad1.c: New file.
38857 * sysdeps/x86_64/tst-quad1pie.c: New file.
38858 * sysdeps/x86_64/tst-quad2.c: Likewise.
38859 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
38860 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
38861 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
38862 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
38863 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
38864
f34d6f84
ST
388652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38866
f42d41d1
ST
38867 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
38868 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38869 * streams/stropts.h (t_scalar_t): Define type.
38870
3c3571fc
ST
38871 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38872 (_PATH_PRESERVE): Set to "/var/lib".
38873 (_PATH_RWHODIR): Set to "/var/spool/rwho".
38874
61f06bd3
ST
38875 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38876 instead of int.
38877
918d4d71
ST
38878 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38879 if __dir_mkfile succeeded.
38880
f34d6f84
ST
38881 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38882 checking for _hurd_dtablesize. Unlock it right after having
38883 finished _hurd_dtable allocation.
38884
10589b4a
TS
388852012-05-10 Thomas Schwinge <thomas@schwinge.name>
38886
674cdbc7
TS
38887 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38888 * sysdeps/mach/hurd/configure: Regenerated.
38889 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38890 special-casing to...
38891 * sysdeps/gnu/configure.in: ... this new file.
38892 * sysdeps/unix/sysv/linux/configure: Regenerated.
38893 * sysdeps/gnu/configure: New generated file.
38894
8e41b99f
TS
38895 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38896 for Linux: use nsec instead of usec, as well as:
38897 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38898 members of type struct timespec.
38899 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38900 New macros.
38901 (struct stat64): Likewise.
38902 (_STATBUF_ST_NSEC): New macro.
38903 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38904
10589b4a
TS
38905 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38906 __strtoul_internal rather than strtoul.
38907
63643c85
PT
389082012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38909
38910 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38911 and reject them.
38912
3faebe6a
ST
389132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38914
38915 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38916 which preserves existing values.
38917 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38918
c6474b07
PT
389192012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38920
38921 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38922 TIMEOUT values. Return EINVAL for NFDS values either negative or
38923 greater than FD_SETSIZE.
38924
1043890b
ST
389252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38926
38927 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38928 allocated, call __vm_protect to finish enabling the existing space, and
38929 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38930 allocate the remainder.
38931
37ed8b9b
PT
389322012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38933
38934 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38935 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
38936
db653660
ST
389372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38938
37ed8b9b
PT
38939 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38940 sysdeps/mach/hurd/readlink.c.
b29d4053 38941
db653660
ST
38942 * posix/tst-sysconf.c (posix_options): Only use
38943 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38944 _POSIX_SYNCHRONIZED_IO when they are defined
38945 * sysdeps/mach/hurd/bits/posix_opt.h:
38946 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38947 (_XOPEN_REALTIME): Undefine macro.
38948 (_XOPEN_REALTIME_THREADS): Undefine macro.
38949 (_XOPEN_SHM): Undefine macro.
38950 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38951 macro to -1.
38952 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38953 macro to -1.
38954 (_POSIX_ASYNC_IO): Undefine macro.
38955 (_POSIX_PRIORITIZED_IO): Undefine macro.
38956 (_POSIX_SPIN_LOCKS): Define macro to -1.
38957
ee16e894
ST
38958 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38959 SA_NODEFER, SA_RESETHAND.
38960 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38961 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
38962 F_DUPFD_CLOEXEC.
38963
6103ae3b
TS
389642012-05-10 Thomas Schwinge <thomas@schwinge.name>
38965
38966 * elf/Makefile (pldd-modules): Define unconditionally.
38967
80b4e5f3
TS
389682012-05-10 Thomas Schwinge <thomas@schwinge.name>
38969
38970 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
38971
edadcbd6
ST
389722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38973
38974 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
38975 Return ENOENT when name is empty.
38976 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
38977
80694780
TS
389782012-05-10 Thomas Schwinge <thomas@schwinge.name>
38979
1792c087
TS
38980 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
38981
80694780
TS
38982 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
38983
6b645f0d
ST
389842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38985
80694780
TS
38986 Fix mlock in all cases except non-readable pages.
38987 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
38988 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 38989
6b645f0d
ST
38990 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
38991 (__mkdir): When path is `/', just fail with EEXIST.
38992 * sysdeps/mach/hurd/mkdirat.c: Likewise.
38993
e468f8a3
TS
389942012-05-10 Thomas Schwinge <thomas@schwinge.name>
38995
38996 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
38997 <sys/uio.h> (for writev).
38998 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
38999 and <sys/param.h> (for MIN).
39000
a4186cff
PT
390012012-05-10 Pino Toscano <toscano.pino@tiscali.it>
39002
39003 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
39004 REQUESTED_TIME. Properly set the remaining time and return EINTR
39005 if interrupted.
39006
510bbf14
TS
390072012-05-10 Thomas Schwinge <thomas@schwinge.name>
39008
39009 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
39010 Depend on against $(link-rpcuserlibs).
39011
5d5722e8
ST
390122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39013
a4186cff
PT
39014 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
39015 (__libc_stack_end): Do not use attribute_relro.
39016 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
39017 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 39018 to libthread-provided value.
a4186cff
PT
39019 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
39020 attribute_relro.
5d5722e8 39021
37233df9
TS
390222012-05-10 Thomas Schwinge <thomas@schwinge.name>
39023
be971a2b
TS
39024 [BZ #3748]
39025 * bits/libc-lock.h (__libc_once_get): New macro.
39026 * sysdeps/mach/bits/libc-lock.h: Likewise.
39027 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
39028 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
39029 instead of using implementation details.
39030
37233df9
TS
39031 * libio/fileops.c: Unconditionally include <kernel-features.h>.
39032 * libio/freopen.c: Likewise.
39033 * libio/freopen64.c: Likewise.
39034 * misc/syslog.c: Likewise.
39035 * nscd/connections.c: Likewise.
39036 * nscd/netgroupcache.c: Likewise.
39037 * sysdeps/posix/getcwd.c: Likewise.
39038
38de94a5
RM
390392012-05-10 Roland McGrath <roland@hack.frob.com>
39040
39041 * math/w_ilogbf.c: Add #include <limits.h>.
39042
67530489
ST
390432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39044
a4186cff 39045 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
39046 path instead of returning without unlocking.
39047
67530489
ST
39048 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
39049 immediate-write ioctls.
39050 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
39051
5aa3a74a
TS
390522012-05-10 Thomas Schwinge <thomas@schwinge.name>
39053
18bad2ae
TS
39054 * sysdeps/mach/hurd/i386/init-first.c (init): Use
39055 __builtin_frame_address instead of making assumptions about the
39056 location of the return address relative to DATA. Force early load of
39057 the return address.
39058 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
39059 __builtin_frame_address.
39060
5aa3a74a
TS
39061 dup3 for GNU Hurd.
39062 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
39063 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
39064 implement dup3 and do some further code clean-ups.
39065 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
39066 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
39067
ecd0de9a
ST
390682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39069
cd9fa985
ST
39070 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
39071
a4186cff
PT
39072 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
39073 HURD_CRITICAL_END around holding _hurd_dtable_lock.
39074 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
39075 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
39076 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
39077 d->port.lock.
802ca5a5 39078
a4186cff
PT
39079 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
39080 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
39081 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 39082
bcf55240
TS
390832012-05-10 Thomas Schwinge <thomas@schwinge.name>
39084
6960eb42
TS
39085 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
39086 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
39087 definitions.
39088
eb43375f
TS
39089 accept4 for GNU Hurd.
39090 * include/sys/socket.h (__libc_accept4): New prototype.
39091 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
39092 to implement __libc_accept4.
39093 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
39094 __libc_accept4.
39095 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
39096
bcf55240
TS
39097 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
39098 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
39099 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
39100 signal-defines.sym.
39101
6178c55b
ST
391022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39103
a4186cff 39104 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 39105
6f080c2f
TS
391062012-05-10 Thomas Schwinge <thomas@schwinge.name>
39107
39108 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
39109 assertion on O_CLOEXEC flag.
39110 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
39111 * hurd/intern-fd.c: Likewise.
39112 * hurd/port2fd.c: Likewise.
39113
bcfe3a54
ST
391142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39115
39116 [BZ #3906]
39117 * bits/in.h (IPV6_PKTINFO): Define new macro.
39118 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
39119
89c9aa49
AZ
391202012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39121
39122 [BZ #13954]
39123 [BZ #13955]
39124 [BZ #13956]
39125 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
39126 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39127 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
39128 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39129 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39130 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39131 * math/libm-test.inc (logb_test) : Additional logb tests.
39132
021db4be
AJ
391332012-05-09 Andreas Schwab <schwab@linux-m68k.org>
39134 Andreas Jaeger <aj@suse.de>
39135
39136 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
39137 * configure: Regenerated.
39138 * config.h.in (LINK_OBSOLETE_RPC): New macro.
39139 * config.make.in (link-obsolete-rpc): New substituted variable.
39140 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
39141 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
39142 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39143 (shared-only-routines): Don't set it under [link-obsolete-rpc],
39144 so that libc.a contains the symbols.
39145 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39146 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
39147 * sunrpc/auth_none.c: Likewise.
39148 * sunrpc/auth_unix.c: Likewise.
39149 * sunrpc/authdes_prot.c: Likewise.
39150 * sunrpc/authuxprot.c: Likewise.
39151 * sunrpc/clnt_gen.c: Likewise.
39152 * sunrpc/clnt_perr.c: Likewise.
39153 * sunrpc/clnt_raw.c: Likewise.
39154 * sunrpc/clnt_simp.c: Likewise.
39155 * sunrpc/clnt_tcp.c: Likewise.
39156 * sunrpc/clnt_udp.c: Likewise.
39157 * sunrpc/clnt_unix.c: Likewise.
39158 * sunrpc/des_crypt.c: Likewise.
39159 * sunrpc/des_soft.c: Likewise.
39160 * sunrpc/get_myaddr.c: Likewise.
39161 * sunrpc/key_call.c: Likewise.
39162 * sunrpc/key_prot.c: Likewise.
39163 * sunrpc/netname.c: Likewise.
39164 * sunrpc/pm_getmaps.c: Likewise.
39165 * sunrpc/pm_getport.c: Likewise.
39166 * sunrpc/pmap_clnt.c: Likewise.
39167 * sunrpc/pmap_prot.c: Likewise.
39168 * sunrpc/pmap_prot2.c: Likewise.
39169 * sunrpc/pmap_rmt.c: Likewise.
39170 * sunrpc/publickey.c: Likewise.
39171 * sunrpc/rpc_cmsg.c: Likewise.
39172 * sunrpc/rpc_common.c: Likewise.
39173 * sunrpc/rpc_dtable.c: Likewise.
39174 * sunrpc/rpc_prot.c: Likewise.
39175 * sunrpc/rpc_thread.c: Likewise.
39176 * sunrpc/rtime.c: Likewise.
39177 * sunrpc/svc.c: Likewise.
39178 * sunrpc/svc_auth.c: Likewise.
39179 * sunrpc/svc_raw.c: Likewise.
39180 * sunrpc/svc_run.c: Likewise.
39181 * sunrpc/svc_tcp.c: Likewise.
39182 * sunrpc/svc_udp.c: Likewise.
39183 * sunrpc/svc_unix.c: Likewise.
39184 * sunrpc/svcauth_des.c: Likewise.
39185 * sunrpc/xcrypt.c: Likewise.
39186 * sunrpc/xdr.c: Likewise.
39187 * sunrpc/xdr_array.c: Likewise.
39188 * sunrpc/xdr_float.c: Likewise.
39189 * sunrpc/xdr_intXX_t.c: Likewise.
39190 * sunrpc/xdr_mem.c: Likewise.
39191 * sunrpc/xdr_rec.c: Likewise.
39192 * sunrpc/xdr_ref.c: Likewise.
39193 * sunrpc/xdr_sizeof.c: Likewise.
39194 * sunrpc/xdr_stdio.c: Likewise.
39195
b5c086a2
RM
391962012-05-10 Roland McGrath <roland@hack.frob.com>
39197
39198 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
39199 change. Update copyright years.
39200
6d74dd09
JM
392012012-05-10 Joseph Myers <joseph@codesourcery.com>
39202
39203 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
39204
28e72501
MK
392052012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
39206 Joseph Myers <joseph@codesourcery.com>
39207 Paul Pluzhnikov <ppluzhnikov@google.com>
39208
39209 [BZ #14012]
39210 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
39211 requiring rpcgen.
39212 [cross-compiling] (extra-libs): Likewise.
39213 [cross-compiling] (extra-libs-others): Likewise.
39214 [cross-compiling] (librpcsvc-routines): Likewise.
39215 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
39216 [cross-compiling] (omit-deps): Likewise.
39217 (sunrpc-CPPFLAGS): New variable.
39218 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
39219 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
39220 (cross-rpcgen-objs): New variable.
39221 (extra-objs): Append $(cross-rpcgen-objs).
39222 ($(cross-rpcgen-objs)): New rule.
39223 ($(objpfx)cross-rpcgen): Likewise.
39224 (rpcgen-cmd): Define to use $(built-program-file). Expand
39225 comment.
39226 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
39227 ($(objpfx)x%.stmp): Likewise.
39228 * sunrpc/proto.h [IS_IN_build] (_): Define.
39229 [IS_IN_build] (_libc_intl_domainname): Likewise.
39230
c8c59454
L
392312012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39232
39233 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
39234 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
39235 and R_X86_64_TPOFF64.
39236
6f27cd16
JM
392372012-05-10 Joseph Myers <joseph@codesourcery.com>
39238
39239 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
39240 sysdeps/unix/sysv/syscalls.list.
39241 (stime): Likewise.
39242 (utime): Likewise.
39243 * sysdeps/unix/sysv/syscalls.list: Remove file.
39244
02467e1c
PE
392452012-05-10 Paul Eggert <eggert@cs.ucla.edu>
39246
39247 [BZ #3440]
39248 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
39249 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
39250 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
39251 (__LC_IDENTIFICATION): Make these macros useful in #if
39252 expressions, as required by C99.
39253
da392631
AS
392542012-05-10 Andreas Schwab <schwab@linux-m68k.org>
39255
39256 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
39257 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
39258 after this.
39259
8115f29b
L
392602012-05-09 H.J. Lu <hongjiu.lu@intel.com>
39261
39262 * stdlib/longlong.h: Updated from GCC.
39263
bdd74070
AJ
392642012-05-09 Andreas Jaeger <aj@suse.de>
39265
edfe0dbe
AJ
39266 * nscd/nscd.c (run_modes): Make named enum, reorder so that
39267 default is first entry.
39268 (run_mode): Set type.
39269 (main): Remove informal message about syslog.
39270 (options): Fix typo.
39271
bcfe3a54
ST
39272 [BZ #14053]
39273 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 39274 to asm.
bcfe3a54
ST
39275 (lrint): Likewise.
39276 (llrintf): Likewise.
39277 (llrint): Likewise.
39278 (rint): Likewise.
39279 (rintf): Likewise.
39280 (nearbyint): Likewise.
39281 (nearbyintf): Likewise.
bdd74070 39282
91d8d69e
AJ
392832012-05-09 Andreas Jaeger <aj@suse.de>
39284 Pedro Alves <palves@redhat.com>
39285
39286 * nscd/nscd.c (run_mode): Use enum.
39287 (main): Cleanup coding style issue.
39288
bb90b80b
AJ
392892012-05-09 Alexandre Oliva <aoliva@redhat.com>
39290 Andreas Jaeger <aj@suse.de>
39291
bcfe3a54
ST
39292 * nscd/nscd.c (go_background): Replaced with...
39293 (run_mode): ... this.
bb90b80b 39294 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
39295 (options): Add -F --foreground.
39296 (main): Implement it.
39297 (parse_opt): Parse it.
bb90b80b 39298
1a4b75a1
AJ
392992012-05-09 Andreas Jaeger <aj@suse.de>
39300
39301 [BZ #14083]
39302 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
39303 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
39304 -Wconversion warning.
39305 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
39306 Likewise.
39307
b1cc2472
JM
393082012-05-09 Joseph Myers <joseph@codesourcery.com>
39309
39310 * conform/data/locale.h-data (NULL): Use macro-constant. Require
39311 == 0.
39312 (LC_ALL): Use macro-int-constant.
39313 (LC_COLLATE): Likewise.
39314 (LC_CTYPE): Likewise.
39315 (LC_MESSAGES): Likewise.
39316 (LC_MONETARY): Likewise.
39317 (LC_NUMERIC): Likewise.
39318 (LC_TIME): Likewise.
39319 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
39320 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39321 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39322 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
39323 Specify type.
39324 [C99-based standards] (float_t): Expect type.
39325 [C99-based standards] (double_t): Expect type.
39326 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
39327 type.
39328 [C99-based standards] (HUGE_VALL): Likewise.
39329 [C99-based standards] (INFINITY): Likewise.
39330 [C99-based standards] (NAN): Likewise.
39331 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
39332 [C99-based standards] (FP_NAN): Likewise.
39333 [C99-based standards] (FP_NORMAL): Likewise.
39334 [C99-based standards] (FP_SUBNORMAL): Likewise.
39335 [C99-based standards] (FP_ZERO): Likewise.
39336 [C99-based standards] (FP_FAST_FMA): Use
39337 optional-macro-int-constant. Specify type. Require == 1.
39338 [C99-based standards] (FP_FAST_FMAF): Likewise.
39339 [C99-based standards] (FP_FAST_FMAL): Likewise.
39340 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
39341 [C99-based standards] (FP_ILOGBNAN): Likewise.
39342 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
39343 Specify type.
39344 [C99-based standards] (MATH_ERREXCEPT): Likewise.
39345 [C99-based standards] (math_errhandling): Specify type.
39346 [ISO99 || ISO11] (signgam): Do not allow.
39347 [non-C99-based standards] (copysignf): Do not allow.
39348 [non-C99-based standards] (exp2f): Likewise.
39349 [non-C99-based standards] (log2f): Likewise.
39350 [non-C99-based standards] (modff): Allow.
39351 [non-C99-based standards] (erff): Do not allow.
39352 [non-C99-based standards] (erfcf): Likewise.
39353 [non-C99-based standards] (gammaf): Likewise.
39354 [non-C99-based standards] (hypotf): Likewise.
39355 [non-C99-based standards] (j0f): Likewise.
39356 [non-C99-based standards] (j1f): Likewise.
39357 [non-C99-based standards] (jnf): Likewise.
39358 [non-C99-based standards] (lgammaf): Likewise.
39359 [non-C99-based standards] (tgammaf): Likewise.
39360 [non-C99-based standards] (y0f): Likewise.
39361 [non-C99-based standards] (y1f): Likewise.
39362 [non-C99-based standards] (ynf): Likewise.
39363 [non-C99-based standards] (isnanf): Likewise.
39364 [non-C99-based standards] (acoshf): Likewise.
39365 [non-C99-based standards] (asinhf): Likewise.
39366 [non-C99-based standards] (atanhf): Likewise.
39367 [non-C99-based standards] (cbrtf): Likewise.
39368 [non-C99-based standards] (expm1f): Likewise.
39369 [non-C99-based standards] (ilogbf): Likewise.
39370 [non-C99-based standards] (log1pf): Likewise.
39371 [non-C99-based standards] (logbf): Likewise.
39372 [non-C99-based standards] (nextafterf): Likewise.
39373 [non-C99-based standards] (remainderf): Likewise.
39374 [non-C99-based standards] (rintf): Likewise.
39375 [non-C99-based standards] (scalbf): Likewise.
39376 [non-C99-based standards] (copysignl): Likewise.
39377 [non-C99-based standards] (exp2l): Likewise.
39378 [non-C99-based standards] (log2l): Likewise.
39379 [non-C99-based standards] (modfl): Allow.
39380 [non-C99-based standards] (erfl): Do not allow.
39381 [non-C99-based standards] (erfcl): Likewise.
39382 [non-C99-based standards] (gammal): Likewise.
39383 [non-C99-based standards] (hypotl): Likewise.
39384 [non-C99-based standards] (j0l): Likewise.
39385 [non-C99-based standards] (j1l): Likewise.
39386 [non-C99-based standards] (jnl): Likewise.
39387 [non-C99-based standards] (lgammal): Likewise.
39388 [non-C99-based standards] (tgammal): Likewise.
39389 [non-C99-based standards] (y0l): Likewise.
39390 [non-C99-based standards] (y1l): Likewise.
39391 [non-C99-based standards] (ynl): Likewise.
39392 [non-C99-based standards] (isnanl): Likewise.
39393 [non-C99-based standards] (acoshl): Likewise.
39394 [non-C99-based standards] (asinhl): Likewise.
39395 [non-C99-based standards] (atanhl): Likewise.
39396 [non-C99-based standards] (cbrtl): Likewise.
39397 [non-C99-based standards] (expm1l): Likewise.
39398 [non-C99-based standards] (ilogbl): Likewise.
39399 [non-C99-based standards] (log1pl): Likewise.
39400 [non-C99-based standards] (logbl): Likewise.
39401 [non-C99-based standards] (nextafterl): Likewise.
39402 [non-C99-based standards] (remainderl): Likewise.
39403 [non-C99-based standards] (rintl): Likewise.
39404 [non-C99-based standards] (scalbl): Likewise.
39405 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39406 [non-C99-based standards] (FP_*): Do not allow.
39407 [C99-based standards] (FP_*): Change to
39408 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39409 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39410 allow.
39411 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
39412 (SIG_ERR): Likewise.
39413 [X/Open-based standards] (SIG_HOLD): Likewise.
39414 (SIG_IGN): Likewise.
39415 (SIGABRT): Use macro-int-constant. Specify type. Require
39416 positive value.
39417 (SIGFPE): Likewise.
39418 (SIGILL): Likewise.
39419 (SIGINT): Likewise.
39420 (SIGSEGV): Likewise.
39421 (SIGTER): Likewise.
39422 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
39423 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
39424 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
39425 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
39426 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
39427 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
39428 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
39429 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
39430 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
39431 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
39432 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
39433 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
39434 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
39435 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
39436 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
39437 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
39438 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
39439 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
39440 [X/Open-based standards] (SIGTRAP): Likewise.
39441 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
39442 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
39443 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
39444 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
39445 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39446 allow.
39447
b9f1922d
IW
394482012-05-08 Ian Wienand <ianw@vmware.com>
39449
39450 [BZ #14080]
39451 * time/tzset.c (__tzset_parse_tz): Update default rules for
39452 daylight time changes in the Energy Policy Act of 2005.
39453
1db86e88
AJ
394542012-05-09 Andreas Jaeger <aj@suse.de>
39455
39456 [BZ #13983]
39457 * elf/ldconfig.c (parse_conf): Change string to make clear that
39458 ldconfig only issued a warning if ld.so.conf does not exist.
39459
dee4a4e3
DM
394602012-05-08 David S. Miller <davem@davemloft.net>
39461
ee0db190
DM
39462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
39463 movxtod instead of popping the value on the stack.
39464
dee4a4e3
DM
39465 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39466
6a43ec98
CD
394672012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
39468
39469 * config.h.in: Add HAVE_ARM_PCS_VFP.
39470
05c2c961
RMG
394712012-05-08 Roland Mc Grath <roland@hack.frob.com>
39472
bcfe3a54
ST
39473 [BZ #13979]
39474 * include/features.h: Warn if user requests __FORTIFY_SOURCE
39475 checking but the checks are disabled for any reason.
05c2c961 39476
4b30f61a
L
394772012-05-08 H.J. Lu <hongjiu.lu@intel.com>
39478
39479 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
39480 and ELF64_R_TYPE with ELFW(R_TYPE).
39481
eee2bc67
JM
394822012-05-08 Joseph Myers <joseph@codesourcery.com>
39483
7ea5391a
JM
39484 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
39485 (ulimit): Likewise.
39486
eee2bc67
JM
39487 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
39488 (settimeofday): Likewise.
39489
abb66a67
MF
394902012-05-08 Mike Frysinger <vapier@gentoo.org>
39491
39492 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
39493 a struct th_u2 inside the union, and move tu_block/tu_code into
39494 a new th_u3 union of tu_block/tu_code inside of that. Move
39495 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
39496 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
39497 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
39498 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
39499 (th_stuff): Change to th_u1.tu_stuff.
39500 (th_data): Define.
39501 (th_msg): Change to th_u1.th_u2.tu_data.
39502
7f18b530
DM
395032012-05-07 David S. Miller <davem@davemloft.net>
39504
05760585
DM
39505 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39506
7f18b530
DM
39507 [BZ #14074]
39508 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
39509 (SETUP_PIC_REG): Use it.
39510 (SETUP_PIC_REG_LEAF): Use it.
39511
495fd99f
JM
395122012-05-07 Joseph Myers <joseph@codesourcery.com>
39513
39514 [BZ #13885]
39515 [BZ #13923]
39516 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39517 USE_AS_EXPM1L.
39518 (EXPL_FINITE): Likewise.
39519 (FLDLOG): Likewise.
39520 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39521 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39522 e_expl.S.
39523 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39524 USE_AS_EXPM1L.
39525 (EXPL_FINITE): Likewise.
39526 (FLDLOG): Likewise.
39527 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39528 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39529 e_expl.S.
39530 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
39531 test of -max_value argument for long double.
39532 * sysdeps/i386/fpu/libm-test-ulps: Update.
39533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39534
6693d694
DM
395352012-05-06 David S. Miller <davem@davemloft.net>
39536
39537 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
39538 quad soft-float symbols whose references which are compiler
39539 generated.
39540 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39541
6c23e11c
JM
395422012-05-06 Joseph Myers <joseph@codesourcery.com>
39543
d8b82cad
JM
39544 [BZ #13884]
39545 [BZ #13914]
39546 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39547 USE_AS_EXP10L.
39548 (EXPL_FINITE): Likewise.
39549 (FLDLOG): Likewise.
39550 (c0): Likewise.
39551 (c1): Likewise.
39552 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39553 Adjust comments for base varying.
39554 (__expl_finite): Change alias to EXPL_FINITE.
39555 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
39556 e_expl.S.
39557 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
39558 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
39559 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
39560 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
39561 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39562 USE_AS_EXP10L.
39563 (EXPL_FINITE): Likewise.
39564 (FLDLOG): Likewise.
39565 (c0): Likewise.
39566 (c1): Likewise.
39567 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39568 Adjust comments for base varying.
39569 (__expl_finite): Change alias to EXPL_FINITE.
39570 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
39571 tests for bugs.
39572 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39573
6c23e11c
JM
39574 [BZ #14064]
39575 * math/libm-test.inc (check_float_internal): Correct ulp
39576 calculation for subnormal expected results.
39577
29ba805c
AJ
395782012-05-06 Andreas Jaeger <aj@suse.de>
39579
39580 * Makeconfig (+math-flags): New, set to -frounding-math.
39581 (+cflags): Add +math-flags so that all of glibc gets compiled with
39582 it.
39583
39584 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
39585
7b17aeda
JM
395862012-05-05 Joseph Myers <joseph@codesourcery.com>
39587
5779f134
JM
39588 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
39589 Disable one test.
39590
41498f4d
JM
39591 [BZ #13787]
39592 [BZ #13922]
39593 [BZ #14036]
39594 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
39595 (__ieee754_expl): Allow for and saturate large arguments.
39596 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
39597 (u_threshold): Likewise.
39598 (__exp): Call __ieee754_exp before checking for overflow and
39599 underflow.
39600 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
39601 (u_threshold): Likewise.
39602 (__expf): Call __ieee754_expf before checking for overflow and
39603 underflow.
39604 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
39605 (u_threshold): Likewise.
39606 (__expl): Call __ieee754_expl before checking for overflow and
39607 underflow.
39608 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
39609 (__ieee754_expl): Allow for and saturate large arguments.
39610 * math/libm-test.inc (exp_test): Add another test. Do not allow
39611 missing overflow exception on overflow.
39612 (expm1_test): Do not allow missing overflow exception on overflow.
39613
6698b8bf
JM
39614 * sysdeps/i386/fpu/e_expl.c: Move to ...
39615 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
39616 rather than using inline asm.
39617 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
39618 * sysdeps/x86_64/fpu/e_expl.S: Copy from
39619 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
39620
7b17aeda
JM
39621 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
39622 (nice): Likewise.
39623 (poll): Likewise.
39624 (signal): Likewise.
39625 (time): Likewise.
39626 (times): Likewise.
39627
f7c85819
JM
396282012-05-04 Joseph Myers <joseph@codesourcery.com>
39629
39630 * sysdeps/unix/syscalls.list (adjtime): Add entry from
39631 sysdeps/unix/common/syscalls.list.
39632 (fchmod): Likewise.
39633 (fchown): Likewise.
39634 (ftruncate): Likewise.
39635 (getrusage): Likewise.
39636 (gettimeofday): Likewise.
39637 (setpgid): Likewise.
39638 (setregid): Likewise.
39639 (setreuid): Likewise.
39640 (sigaction): Likewise.
39641 (truncate): Likewise.
39642 (vhangup): Likewise.
39643 * sysdeps/unix/common/syscalls.list: Remove file.
39644 * sysdeps/unix/bsd/Implies: Don't include unix/common.
39645 * sysdeps/unix/sysv/linux/Implies: Likewise.
39646
336270d0
L
396472012-05-04 H.J. Lu <hongjiu.lu@intel.com>
39648
39649 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
39650 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
39651 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
39652 Moved to ...
39653 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
39654 Here.
39655 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
39656 to ...
39657 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
39658 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
39659 to ...
39660 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
39661 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
39662 to ...
39663 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
39664 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
39665 to ...
39666 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
39667 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
39668 to ...
39669 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
39670 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
39671 to ...
39672 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
39673 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
39674 to ...
39675 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
39676 Here.
39677 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
39678 to ...
39679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
39680 Here.
39681 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
39682 to ...
39683 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
39684 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
39685 Moved to ...
39686 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
39687 Here.
39688 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
39689 to ...
39690 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
39691
d128e450
JM
396922012-05-04 Joseph Myers <joseph@codesourcery.com>
39693
fa8ee516
JM
39694 * sysdeps/unix/common/bits/dirent.h: Remove file.
39695 * sysdeps/unix/common/bits/fcntl.h: Likewise.
39696
d128e450
JM
39697 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
39698 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
39699 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
39700 * sysdeps/unix/bsd/isatty.c: Likewise.
39701 * sysdeps/unix/bsd/tcdrain.c: Likewise.
39702 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
39703 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
39704
ff8faaf0 397052012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 39706
62881be4 39707 [BZ #13563]
31dc8730
AZ
39708 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
39709 long double comparison inaccuracies.
39710 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39711 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39712
6fef930c
AS
397132012-05-04 Andreas Schwab <schwab@linux-m68k.org>
39714
39715 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
39716 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
39717
8f203e6c
JM
397182012-05-04 Joseph Myers <joseph@codesourcery.com>
39719
39720 [BZ #14049]
39721 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
39722 nonzero digits before rounding a hex value.
39723 * stdlib/tst-strtod.c (tests): Add another test.
39724
5197d9c2
AK
397252012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39726
39727 * sysdeps/s390/fpu/libm-test-ulps: Update.
39728
f0c1dedf
AJ
397292012-05-03 Andreas Jaeger <aj@suse.de>
39730
39731 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
39732 does not get optimized out.
39733 (malloc_opt_barrier): New.
39734
a65ef2ae 397352012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 39736 Roland McGrath <roland@hack.frob.com>
a65ef2ae 39737
2b942cb7 39738 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 39739 intermediate file deletion.
2b942cb7 39740 (generated): Add .symlist files.
a65ef2ae 39741
54b71e02
JM
397422012-05-03 Joseph Myers <joseph@codesourcery.com>
39743
39744 [BZ #13775]
39745 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
39746 Redirect under this condition.
39747 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39748 [__USE_GNU] (__dprintf_chk): Not under this condition.
39749 [__USE_GNU] (__vdprintf_chk): Likewise.
39750 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
39751 under this condition.
39752 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39753 [__USE_XOPEN2K8] (dprintf): Define under this condition.
39754 [__USE_XOPEN2K8] (vdprintf): Likewise.
39755 [__USE_GNU] (__dprintf_chk): Not under this condition.
39756 [__USE_GNU] (__vdprintf_chk): Likewise.
39757 [__USE_GNU] (dprintf): Likewise.
39758 [__USE_GNU] (vdprintf): Likewise.
39759
d3dfcc41
RM
397602012-05-03 Roland McGrath <roland@hack.frob.com>
39761
39762 * elf/Makefile (common-generated): Set this instead of generated for
39763 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
39764 $(all-built-dso)-derived lists.
39765
7ac30cc5
AJ
397662012-05-03 Andreas Jaeger <aj@suse.de>
39767
0c51e550
AJ
39768 * sysdeps/i386/fpu/libm-test-ulps: Update.
39769
7ac30cc5
AJ
39770 * FAQ: Removed.
39771 * FAQ.in: Likewise.
39772 * scripts/gen-FAQ.pl: Likewise.
39773 * manual/install.texi (Installation): Point to online location of
39774 FAQ.
39775 * Makefile (files-for-dist): Remove FAQ.
39776 (FAQ): Remove.
39777
d4c2917f
AM
397782012-05-02 Allan McRae <allan@archlinux.org>
39779
39780 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
39781 (LDFLAGS-reldepmod5.so): Likewise.
39782 (LDFLAGS-reldep6mod1.so): Likewise.
39783 (LDFLAGS-reldep6mod4.so): Likewise.
39784 (LDFLAGS-reldep8mod3.so): Likewise.
39785 (LDFLAGS-unload4mod1.so): Likewise.
39786 (LDFLAGS-unload4mod2.so): Likewise.
39787 (LDFLAGS-tst-initorder): Likewise.
39788 (LDFLAGS-tst-initordera2.so): Likewise.
39789 (LDFLAGS-tst-initordera3.so): Likewise.
39790 (LDFLAGS-tst-initordera4.so): Likewise.
39791 (LDFLAGS-tst-initorderb2.so): Likewise.
39792 (LDFLAGS-noload): Likewise.
39793 (LDFLAGS-next): Likewise.
39794 (LDFLAGS-order2mod1.so): Likewise.
39795 (LDFLAGS-order2mod2.so): Likewise.
39796 (LDFLAGS-tst-initorder2): Likewise.
39797 (LDFLAGS-tst-initorder2a.so): Likewise.
39798 (LDFLAGS-tst-initorder2b.so): Likewise.
39799 (LDFLAGS-tst-initorder2c.so): Likewise.
39800 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
39801
d77f993f
DM
398022012-05-02 David S. Miller <davem@davemloft.net>
39803
39804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39805
171a70b4
PP
398062012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
39807
39808 [BZ #14055]
39809 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
39810
0be196ad
AJ
398112012-05-02 Andreas Jaeger <aj@suse.de>
39812
39813 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
39814 since we manipulate rounding mode.
39815 (CPPFLAGS-test-idouble.c): Likewise.
39816 (CPPFLAGS-test-ifloat.c): Likewise.
39817 (CFLAGS-test-ldouble.c): Likewise.
39818 (CFLAGS-test-double.c): Likewise.
39819 (CFLAGS-test-float.c): Likewise.
39820 (CFLAGS-test-misc.c): Likewise.
39821 (CFLAGS-test-test-fenv.c): Likewise.
39822
4f9d04aa
AZ
398232012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39824
2b942cb7
RM
39825 [BZ #2550]
39826 [BZ #2570]
39827 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
39828 comparisons to determine direction to adjust input.
4f9d04aa 39829
82a79e7d
RM
398302012-05-01 Roland McGrath <roland@hack.frob.com>
39831
f5a01ca9
RM
39832 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
39833 output to the target.
39834
90fe4186
RM
39835 * scripts/localplt.awk: New file.
39836 * elf/Makefile ($(objpfx)check-localplt): Target removed.
39837 (check-localplt-CFLAGS): Variable removed.
39838 ($(all-built-dso:=.jmprel)): New static pattern rule.
39839 (generated): Add those targets.
39840 (localplt-built-dso): New variable.
39841 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
39842
39843 * elf/check-localplt.c: File removed.
39844
82397ed6
RM
39845 * scripts/check-execstack.awk: New file.
39846 * elf/Makefile ($(objpfx)check-execstack): Target removed.
39847 (check-execstack-CFLAGS): Variable removed.
39848 ($(objpfx)check-execstack.h): Target removed.
39849 ($(objpfx)execstack-default): New target.
39850 (generated): Add that instead of check-execstack.h.
39851 ($(all-built-dso:=.phdr)): New static pattern rule.
39852 (generated): Add those targets.
39853 * elf/check-execstack.c: File removed.
39854
82a79e7d
RM
39855 * scripts/check-textrel.awk: New file.
39856 * elf/Makefile ($(objpfx)check-textrel): Target removed.
39857 (check-textrel-CFLAGS): Variable removed.
39858 (all-built-dso): Use := to define.o
39859 ($(all-built-dso:=.dyn)): New static pattern rule.
39860 (generated): Add those targets.
39861 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
39862 * config.make.in (READELF): New substituted variable.
39863 * elf/check-textrel.c: File removed.
39864
62fde54f 398652012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 39866
615605c9
JM
39867 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39868 allow.
39869 * conform/data/ctype.h-data [C99-based standards] (isblank):
39870 Expect function.
39871 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39872 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39873 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39874 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39875 Specify type. Require positive value.
39876 (EILSEQ): Likewise.
39877 (ERANGE): Likewise.
39878 [ISO || POSIX] (EILSEQ): Do not expect.
39879 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39880 Specify type. Require positive value.
39881 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39882 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39883 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39884 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39885 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39886 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39887 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39888 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39889 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39890 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39891 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39892 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39893 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39894 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39895 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39896 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39897 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39898 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39899 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39900 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39901 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39902 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39903 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39904 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39905 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39906 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39907 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39908 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39909 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39910 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39911 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39912 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39913 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39914 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39915 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39916 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39917 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39918 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39919 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39920 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39921 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39922 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39923 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39924 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39925 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39926 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39927 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39928 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39929 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39930 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39931 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39932 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39933 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39934 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39935 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39936 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39937 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39938 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39939 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39940 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39941 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39942 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39943 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39944 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39945 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39946 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39947 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39948 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39949 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39950 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39951 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39952 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39953 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39954 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39955 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39956 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39957 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39958 Require >= 2.
39959 (FLT_ROUNDS): Expect as macro, not constant.
39960 (FLT_MANT_DIG): Use macro-int-constant.
39961 (DBL_MANT_DIG): Likewise.
39962 (LDBL_MANT_DIG): Likewise.
39963 (FLT_DIG): Likewise.
39964 (DBL_DIG): Likewise.
39965 (LDBL_DIG): Likewise.
39966 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
39967 (DBL_MIN_EXP): Likewise.
39968 (LDBL_MIN_EXP): Likewise.
39969 (FLT_MAX_EXP): Use macro-int-constant.
39970 (DBL_MAX_EXP): Likewise.
39971 (LDBL_MAX_EXP): Likewise.
39972 (FLT_MAX_10_EXP): Likewise.
39973 (DBL_MAX_10_EXP): Likewise.
39974 (LDBL_MAX_10_EXP): Likewise.
39975 (FLT_MAX): Use macro-constant.
39976 (DBL_MAX): Likewise.
39977 (LDBL_MAX): Likewise.
39978 (FLT_EPSILON): Use macro-constant. Give upper bound.
39979 (DBL_EPSILON): Likewise.
39980 (LDBL_EPSILON): Likewise.
39981 (FLT_MIN): Likewise.
39982 (DBL_MIN): Likewise.
39983 (LDBL_MIN): Likewise.
39984 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
39985 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
39986 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
39987 [ISO11] (FLT_HAS_SUBNORM): Likewise.
39988 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
39989 [ISO11] (DBL_DECIMAL_DIG): Likewise.
39990 [ISO11] (FLT_DECIMAL_DIG): Likewise.
39991 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
39992 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
39993 [ISO11] (FLT_TRUE_MIN): Likewise.
39994 [ISO11] (LDBL_TRUE_MIN): Likewise.
39995 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39996 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
39997 (SCHAR_MIN): Use macro-int-constant. Specify type.
39998 (SCHAR_MAX): Likewise.
39999 (UCHAR_MAX): Likewise.
40000 (CHAR_MIN): Likewise.
40001 (CHAR_MAX): Likewise.
40002 (MB_LEN_MAX): Use macro-int-constant.
40003 (SHRT_MIN): Use macro-int-constant. Specify type.
40004 (SHRT_MAX): Likewise.
40005 (USHRT_MAX): Likewise.
40006 (INT_MAX): Likewise.
40007 (INT_MIN): Use macro-int-constant. Specify type. Make upper
40008 bound negative.
40009 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
40010 bound with "U".
40011 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
40012 bound with "L".
40013 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
40014 bound negative. Suffix upper bound with "L".
40015 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
40016 bound with "UL".
40017 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
40018 Specify type.
40019 [C99-based standards] (LLONG_MAX): Likewise.
40020 [C99-based standards] (ULLONG_MAX): Likewise.
40021 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
40022 == 0.
40023 [ISO11] (max_align_t): Require type.
40024 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40025
c9140a62
JM
40026 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
40027 from $CFLAGS, without defining away __attribute__ calls.
40028 (checknamespace): Use $CFLAGS_namespace.
40029
9af0bf29
JM
40030 * conform/conformtest.pl (@keywords): Only include C99 keywords
40031 for standards based on C99 or C11.
40032
343222a2
JM
40033 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
40034 Disable tests.
40035 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
40036 UNIX98]: Likewise.
40037
661f8cf0
JM
40038 * conform/conformtest.pl: Handle "macro-int-constant" and test for
40039 usability of symbols in #if.
40040
ee74b9cb
JM
40041 * conform/conformtest.pl: If macro or constant types start
40042 "promoted:", expect the symbol to be of the following type
40043 promoted by the integer promotions.
62fde54f 40044
aafc49b3
JM
40045 * conform/conformtest.pl: Parse all "constant" and "macro" lines
40046 in one place. Also handle "macro-constant".
40047
fefdf574
JM
40048 * conform/conformtest.pl: Only accept expected macro values with
40049 "==". Parse all "macro" lines in one place.
40050 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
40051
f2d922fe
JM
40052 * conform/conformtest.pl: Handle braced types on "constant" lines
40053 instead of handling "typed-constant".
40054 * conform/data/signal.h-data: Use "constant" instead of
40055 "typed-constant".
40056
d22956c9
JM
40057 * conform/conformtest.pl: Handle "optional-" at start of lines in
40058 one place rather than duplicating several cases. Handle each
40059 format of "macro" line with initial "optional-".
40060
028e2e38
JM
40061 * conform/conformtest.pl: Only accept expected constant or
40062 optional-constant values with "==". Parse all "constant" lines in
40063 one place. Parse all "optional-constant" lines in one place.
40064 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
40065 * conform/data/fmtmsg.h-data: Likewise.
40066 * conform/data/netinet/in.h-data: Likewise.
40067 * conform/data/tar.h-data: Likewise.
40068 * conform/data/limits.h-data: Use "==" form on "constant" and
40069 "optional-constant" lines.
40070
1b8f2850
JM
40071 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
40072 Use -std=c99 for XOPEN2K.
40073 (@knownproblems): Remove.
40074 (newtoken): Don't check %isknown.
40075
a05a144b
JM
40076 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
40077 Do not expect macro.
40078 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
40079 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
40080 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
40081 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
40082 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
40083 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
40084 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
40085 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
40086 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
40087 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
40088 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
40089 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
40090 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
40091 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
40092 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
40093 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
40094 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
40095 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
40096 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
40097 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
40098 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
40099 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
40100 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
40101 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
40102 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
40103 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
40104 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
40105 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
40106 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
40107 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
40108 [XPG3] (acosh): Likewise.
40109 [XPG3] (asinh): Likewise.
40110 [XPG3] (atanh): Likewise.
40111 [XPG3] (cbrt): Likewise.
40112 [XPG3] (expm1): Likewise.
40113 [XPG3] (ilogb): Likewise.
40114 [XPG3] (log1p): Likewise.
40115 [XPG3] (logb): Likewise.
40116 [XPG3] (nextafter): Likewise.
40117 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
40118 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
40119 [XPG3] (remainder): Likewise.
40120 [XPG3] (rint): Likewise.
40121 [XPG3 || XPG4 || UNIX98] (round): Likewise.
40122 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
40123 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
40124 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
40125 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
40126 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
40127 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
40128 [UNIX98 || XOPEN2K] (scalb): Expect.
40129 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
40130 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
40131 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
40132 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
40133 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
40134 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
40135 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
40136 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
40137 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
40138 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
40139 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
40140 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
40141 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
40142 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
40143 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
40144 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
40145 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
40146 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
40147 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
40148 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
40149 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
40150 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
40151 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
40152 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
40153 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
40154 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
40155 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
40156 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
40157 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
40158 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
40159 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
40160 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
40161 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
40162 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
40163 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
40164 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
40165 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
40166 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
40167 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
40168 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
40169 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
40170 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
40171 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
40172 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
40173 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
40174 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
40175 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
40176 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
40177 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
40178 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
40179 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
40180 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
40181 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
40182 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
40183 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
40184 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
40185 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
40186 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
40187 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
40188 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
40189 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
40190 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
40191 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
40192 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
40193 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
40194 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
40195 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
40196 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
40197 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
40198 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
40199 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
40200 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
40201 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
40202 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
40203 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
40204 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
40205 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
40206 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
40207 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
40208 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
40209 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
40210 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
40211 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
40212 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
40213 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
40214 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
40215 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
40216 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
40217 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
40218 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
40219 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
40220 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
40221 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
40222 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
40223 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
40224 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
40225 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
40226 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
40227 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
40228 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
40229 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
40230 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
40231 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
40232 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
40233 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
40234 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
40235 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
40236 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
40237 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
40238 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
40239 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
40240 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
40241 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
40242 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
40243 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
40244 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
40245 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
40246 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
40247 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
40248 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
40249 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
40250 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
40251 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
40252 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
40253 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
40254 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
40255 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
40256 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
40257 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
40258 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
40259 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
40260 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
40261 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
40262 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
40263 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
40264 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
40265 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
40266
73c5ebe3
JM
40267 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
40268 _XOPEN_SOURCE_EXTENDED for XPG4.
40269
39c33b6c
JM
40270 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
40271
62fde54f
JM
40272 * Makeconfig (localtime): Remove variable.
40273 (inst_localtime-file): Likewise.
40274
0741d64c
AS
402752012-05-01 Andreas Schwab <schwab@linux-m68k.org>
40276
40277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
40278 Update.
40279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40280 Update.
40281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
40282 Update.
40283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40284 Update.
40285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
40286 Update.
40287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
40288 Update.
40289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40290 Update.
40291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
40292 Update.
40293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40294 Update.
40295
7cb029ee
JM
402962012-05-01 Joseph Myers <joseph@codesourcery.com>
40297
40298 [BZ #2550]
40299 [BZ #2570]
40300 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
40301 comparisons to determine direction to adjust input.
40302 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
40303 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
40304 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
40305 Likewise.
40306 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
40307 Likewise.
40308 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
40309 Likewise.
40310 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
40311 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
40312 Likewise.
40313 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
40314 Likewise.
40315 * math/libm-test.inc (nexttoward_test): Add more tests.
40316
412bd966
AS
403172012-05-01 Andreas Schwab <schwab@linux-m68k.org>
40318
40319 [BZ #14040]
40320 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
40321 in version GLIBC_2.1, not GLIBC_2.0.
40322 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
40323 Likewise.
40324
9568c0c2
JM
403252012-04-30 Joseph Myers <joseph@codesourcery.com>
40326
adfbc8ac
JM
40327 [BZ #13942]
40328 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
40329 (1 - x) * (1 + x).
40330 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40331 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
40332 * math/libm-test.inc (acos_test): Add more tests.
40333 (asin_test): Likewise.
40334 * sysdeps/i386/fpu/libm-test-ulps: Update.
40335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40336
5ba3cc69
JM
40337 [BZ #14034]
40338 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
40339 of square root.
40340 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
40341 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40342 * math/libm-test.inc (acos_test_tonearest): New function.
40343 (acos_test_towardzero): Likewise.
40344 (acos_test_downward): Likewise.
40345 (acos_test_upward): Likewise.
40346 (asin_test_tonearest): Likewise.
40347 (asin_test_towardzero): Likewise.
40348 (asin_test_downward): Likewise.
40349 (asin_test_upward): Likewise.
40350 (main): Call the new functions.
40351 * sysdeps/i386/fpu/libm-test-ulps: Update.
40352 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40353
9568c0c2
JM
40354 [BZ #13884]
40355 [BZ #13924]
40356 * math/e_exp10.c: Include <float.h>.
40357 (__ieee754_exp10): Handle underflow here rather than multiplying
40358 large negative argument by M_LN10.
40359 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
40360 of __ieee754_expf.
40361 * math/e_exp10l.c: Include <float.h>.
40362 (__ieee754_exp10l): Handle underflow here rather than multiplying
40363 large negative argument by M_LN10l.
40364 * math/libm-test.inc (exp10_test): Add another test. Do not allow
40365 spurious overflow exception on underflow.
40366
5ac3ea17
MP
403672012-04-29 Marek Polacek <polacek@redhat.com>
40368
40369 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
40370 (__fortify_function): New macro.
40371 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
40372 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
40373 __extern_always_inline.
40374 * libio/bits/stdio2.h: Likewise.
40375 * libio/bits/stdio.h: Likewise.
40376 * string/string.h: Likewise.
40377 * string/bits/string3.h: Likewise.
40378 * include/stdio.h: Likewise.
40379 * stdlib/bits/stdlib.h: Likewise.
40380 * stdlib/stdlib.h: Likewise.
40381 * rt/bits/mqueue2.h: Likewise.
40382 * rt/mqueue.h: Likewise.
40383 * posix/bits/unistd.h: Likewise.
40384 * posix/unistd.h: Likewise.
40385 * io/bits/poll2.h: Likewise.
40386 * io/bits/fcntl2.h: Likewise.
40387 * io/fcntl.h: Likewise.
40388 * io/sys/poll.h: Likewise.
40389 * misc/bits/syslog.h: Likewise.
40390 * misc/bits/syslog-ldbl.h: Likewise.
40391 * misc/sys/syslog.h: Likewise.
40392 * socket/bits/socket2.h: Likewise.
40393 * socket/sys/socket.h: Likewise.
40394 * debug/tst-chk1.c: Likewise.
40395 * wcsmbs/bits/wchar2.h: Likewise.
40396 * wcsmbs/bits/wchar-ldbl.h: Likewise.
40397 * wcsmbs/wchar.h: Likewise.
40398
ecf0ebfb
AJ
403992012-04-29 Andreas Jaeger <aj@suse.de>
40400
40401 * Makerules (tests): Remove enable-check-abi protection.
40402 (check-abi-warn): Remove.
40403 (check-abi-%): Remove check-abi-warn usage.
40404
40405 * configure.in: Remove check-abi configure option.
40406 * configure: Regenerated.
40407 * config.make.in (enable-check-abi): Remove.
40408
6d5c57fa
AS
404092012-04-28 Andreas Schwab <schwab@linux-m68k.org>
40410
24c5d07e 40411 [BZ #14033]
ded5180a
AS
40412 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
40413 double functions to double *_finite functions.
40414
7e0d315d
AS
40415 [BZ #13941]
40416 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
40417 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
40418 LDBL_MIN_EXP.
40419 * stdio-common/Makefile (tests): Add tst-sprintf3.
40420 * stdio-common/tst-sprintf3.c: New file.
40421
6d5c57fa
AS
40422 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
40423 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
40424
0749ff8b
JM
404252012-04-28 Joseph Myers <joseph@codesourcery.com>
40426
40427 * conform/conformtest.pl: Remove duplicate typed-constant
40428 handling.
40429
8dbd5d7b
DM
404302012-04-28 David S. Miller <davem@davemloft.net>
40431
40432 * Makerules (%.abilist): Add vpath on sysdep_dirs.
40433 (check-abi-%): Remove AWK script prerequisite and explicit
40434 abilist directory.
40435 (check-abi): Rewrite to just diff the symlist with the abilist.
40436 (config-tls, config-abi-config): Delete, no longer used.
40437 (update-abi-%): Remove AWK script and explicit abilist directory.
40438 (update-abi): Rewrite to simply compare and conditionally copy the
40439 symlist and the sysdep abilist file. Remove update-abi-config
40440 checks.
40441 * abilist/ld.abilist: Remove.
40442 * abilist/libBrokenLocale.abilist: Remove.
40443 * abilist/libanl.abilist: Remove.
40444 * abilist/libcrypt.abilist: Remove.
40445 * abilist/libdl.abilist: Remove.
40446 * abilist/librt.abilist: Remove.
40447 * abilist/libthread_db.abilist: Remove.
40448 * abilist/libutil.abilist: Remove.
40449 * scripts/extract-abilist.awk: Remove.
40450 * scripts/merge-abilist.awk: Remove.
40451 * sysdeps/generic/libcidn.abilist: New file.
40452 * sysdeps/generic/libnss_compat.abilist: New file.
40453 * sysdeps/generic/libnss_db.abilist: New file.
40454 * sysdeps/generic/libnss_dns.abilist: New file.
40455 * sysdeps/generic/libnss_files.abilist: New file.
40456 * sysdeps/generic/libnss_hesiod.abilist: New file.
40457 * sysdeps/generic/libnss_nis.abilist: New file.
40458 * sysdeps/generic/libnss_nisplus.abilist: New file.
40459 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
40460 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
40461 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
40462 file.
40463 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
40464 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
40465 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
40466 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
40467 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
40468 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
40469 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
40470 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
40471 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
40472 file.
40473 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
40474 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
40475 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
40476 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
40477 file.
40478 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
40479 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
40480 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
40481 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
40482 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
40483 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
40484 file.
40485 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
40486 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
40487 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
40488 file.
40489 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
40490 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
40491 New file.
40492 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
40493 New file.
40494 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
40495 New file.
40496 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
40497 New file.
40498 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
40499 New file.
40500 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
40501 New file.
40502 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
40503 New file.
40504 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
40505 New file.
40506 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
40507 New file.
40508 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
40509 New file.
40510 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
40511 New file.
40512 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
40513 New file.
40514 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
40515 New file.
40516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
40517 file.
40518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
40519 New file.
40520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
40521 New file.
40522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
40523 file.
40524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
40525 New file.
40526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
40527 New file.
40528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
40529 file.
40530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
40531 New file.
40532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40533 New file.
40534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
40535 New file.
40536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
40537 New file.
40538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
40539 New file.
40540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
40541 New file.
40542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
40543 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
40544 file.
40545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
40546 New file.
40547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
40548 file.
40549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
40550 file.
40551 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
40552 file.
40553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
40554 file.
40555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
40556 file.
40557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40558 New file.
40559 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
40560 file.
40561 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
40562 file.
40563 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
40564 New file.
40565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
40566 file.
40567 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
40568 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
40569 file.
40570 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
40571 New file.
40572 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
40573 file.
40574 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
40575 file.
40576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
40577 file.
40578 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
40579 file.
40580 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
40581 file.
40582 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40583 New file.
40584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
40585 file.
40586 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
40587 file.
40588 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
40589 New file.
40590 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
40591 file.
40592 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40593 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
40594 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
40595 file.
40596 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
40597 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
40598 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
40599 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
40600 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
40601 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
40602 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
40603 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
40604 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
40605 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
40606 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
40607 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
40608 file.
40609 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
40610 New file.
40611 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
40612 file.
40613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
40614 file.
40615 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
40616 file.
40617 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
40618 file.
40619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
40620 file.
40621 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40622 New file.
40623 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
40624 New file.
40625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
40626 file.
40627 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
40628 New file.
40629 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
40630 file.
40631 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
40632 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
40633 file.
40634 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
40635 New file.
40636 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
40637 file.
40638 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
40639 file.
40640 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
40641 file.
40642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
40643 file.
40644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
40645 file.
40646 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40647 New file.
40648 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
40649 New file.
40650 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
40651 file.
40652 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
40653 New file.
40654 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
40655 file.
40656
41d73a1b
JM
406572012-04-28 Joseph Myers <joseph@codesourcery.com>
40658
40659 * conform/conformtest.pl: Fix typo in handling typed-constant from
40660 allow-header.
40661
28aeeda4
JM
406622012-04-27 Joseph Myers <joseph@codesourcery.com>
40663
adae8f5e
JM
40664 * README: Cut down references to pre-2.6 Linux kernels and
40665 Linuxthreads. Update lists of configurations in libc and ports
40666 and sort alphabetically. Say "or newer" with Linux kernel version
40667 requirements.
40668
28aeeda4
JM
40669 * config.h.in [IS_IN_build]: Allow compiling without optimization.
40670
a462cb63
RA
406712012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40672
40673 [BZ #887]
40674 * math/libm-test.inc (logb_test_downward): New test to expose
40675 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
40676 rounding mode.
40677
6ad3493e
JM
406782012-04-27 Joseph Myers <joseph@codesourcery.com>
40679
40680 [BZ #14027]
40681 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
40682 to be done.
40683 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
40684 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
40685
2ce4f015
JM
406862012-04-26 Joseph Myers <joseph@codesourcery.com>
40687
5aeb141a
JM
40688 * sysdeps/unix/i386/brk.S: Remove file.
40689 * sysdeps/unix/i386/dl-brk.S: Likewise.
40690 * sysdeps/unix/i386/pipe.S: Likewise.
40691 * sysdeps/unix/i386/sigreturn.S: Likewise.
40692 * sysdeps/unix/i386/syscall.S: Likewise.
40693 * sysdeps/unix/i386/vfork.S: Likewise.
40694 * sysdeps/unix/i386/wait.S: Likewise.
40695
7143acae
JM
40696 * sysdeps/unix/common/tcsendbrk.c: Move to ...
40697 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
40698
2ce4f015
JM
40699 * configure.in (arm*-none*): Do not allow without
40700 --enable-hacker-mode.
40701 (netbsd*): Remove case setting base_os.
40702 (386bsd*): Likewise.
40703 (freebsd*): Likewise.
40704 (bsdi*): Likewise.
40705 (osf*): Likewise.
40706 (sunos*): Likewise.
40707 (ultrix*): Likewise.
40708 (newsos*): Likewise.
40709 (dynix*): Likewise.
40710 (*bsd*): Likewise.
40711 (sysv*): Likewise.
40712 (isc*): Likewise.
40713 (esix*): Likewise.
40714 (sco*): Likewise.
40715 (minix*): Likewise.
40716 (irix4*): Likewise.
40717 (irix6*): Likewise.
40718 (solaris[2-9]*): Likewise.
40719 (none): Likewise.
40720 * configure: Regenerated.
40721
0ac229c8
AZ
407222012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40723
40724 [BZ #11521]
40725 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
40726 overflow or cancellation in calculating denominator.
40727 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
40728 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
40729 down expression to avoid unexpected rounding in newer GCCs.
40730 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
40731
33f244f4
DM
407322012-04-26 David S. Miller <davem@davemloft.net>
40733
40734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
40735 long-double compat symbols.
40736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
40740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
40742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
40743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
40744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
40745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
40747 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
40748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40749
cfa1f3e8
DM
407502012-04-25 David S. Miller <davem@davemloft.net>
40751
40752 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
40753 HWCAP_* values only after the memory barriers have been defined.
40754 (atomic_full_barrier): Define.
40755 (atomic_read_barrier): Define.
40756 (atomic_write_barrier): Define.
40757
6e236b92
SP
407582012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40759
40760 * shlib-versions: Add libgcc_s version information.
40761 * sysdeps/generic/libgcc_s.h: Remove.
40762 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
40763 libgcc_s.h.
40764 * sysdeps/gnu/unwind-resume.c: Likewise.
40765 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
40766
aab39a09
DM
407672012-04-25 David S. Miller <davem@davemloft.net>
40768
40769 * sysdeps/unix/sparc/brk.S: Delete.
40770 * sysdeps/unix/sparc/dl-brk.S: Delete.
40771 * sysdeps/unix/sparc/pipe.S: Delete.
40772 * sysdeps/unix/sparc/sysdep.S: Delete.
40773 * sysdeps/unix/sparc/sysdep.h: Delete.
40774 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
40775 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
40776 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
40777 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
40778 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
40779 (JUMPTARGET): Remove.
40780 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
40781 sysdeps/unix/sparc/sysdep.h
40782 (ENTRY, END): Remove.
40783 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40784
a3cc4f48
JM
407852012-04-25 Joseph Myers <joseph@codesourcery.com>
40786
2ed8cda2
JM
40787 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
40788 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
40789 -DIS_IN_build.
40790
35d76d59
JM
40791 * timezone/README: Update upstream location and email address for
40792 tzcode and tzdata.
40793 * timezone/zdump.c: Update from tzcode 2012b.
40794 * timezone/zic.c: Likewise.
40795
a3cc4f48
JM
40796 * configure.in (libc_cv_as_needed): Remove test.
40797 * configure: Regenerated.
40798 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
40799 conditional definition.
40800 [$(have-as-needed) != yes] (no-as-needed): Likewise.
40801 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
40802 * config.make.in (have-as-needed): Remove variable.
40803
ceab42c3
SP
408042012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40805 Paul Pluzhnikov <ppluzhnikov@google.com>
40806
40807 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
40808 strings correctly.
40809
3ce2865f
CLT
408102012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
40811
40812 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
40813 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
40814 * sysdeps/sh/strlen.S: Likewise.
40815
f37e0d68
JM
408162012-04-24 Joseph Myers <joseph@codesourcery.com>
40817
ae186e9a
JM
40818 * sysdeps/unix/fork.S: Remove file.
40819 * sysdeps/unix/i386/fork.S: Likewise.
40820 * sysdeps/unix/sparc/fork.S: Likewise.
40821
b96914af
JM
40822 * sysdeps/unix/system.c: Remove file.
40823 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
40824
f37e0d68
JM
40825 * sysdeps/unix/getegid.S: Remove file.
40826 * sysdeps/unix/geteuid.S: Likewise.
40827
87ef29ca
RM
408282012-04-24 Roland McGrath <roland@hack.frob.com>
40829
83bcd236
RM
40830 * scripts/check-localplt.awk: New file.
40831 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
40832 of diff.
40833 * scripts/data/localplt-generic.data: Add a comment.
40834
87ef29ca
RM
40835 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
40836 NODE when __dir_mkfile failed.
40837 * sysdeps/mach/hurd/symlinkat.c: Likewise.
40838 Reported by Ludovic Courtès <ludo@gnu.org>.
40839
e5a6e567
AJ
408402012-04-24 Andreas Jaeger <aj@suse.de>
40841
40842 * Makerules (common-clean): Also remove gen-as-const-headers
40843 files.
40844
c1820385
JM
408452012-04-24 Joseph Myers <joseph@codesourcery.com>
40846
40847 * Makerules (native-compile): Do not change working directory for
40848 build. Use $(OUTPUT_OPTION) in command.
40849 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
40850
94e02fc4
AZ
408512012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40852
40853 [BZ #13886]
40854 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
40855 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
40856 * math/libm-test.inc (floor_test): Add more tests.
40857 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
40858
3a533ca3
JM
408592012-04-24 Joseph Myers <joseph@codesourcery.com>
40860
940ab4b3
JM
40861 * sysdeps/unix/getdents.c: Remove file.
40862 * sysdeps/unix/sysv/getdents.c: Likewise.
40863 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
40864
90e037bd
JM
40865 * sysdeps/unix/syscalls.list (madvise): Add syscall from
40866 sysdeps/unix/mman/syscalls.list.
40867 (mmap): Likewise.
40868 (mprotect): Likewise.
40869 (msync): Likewise.
40870 (munmap): Likewise.
40871 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40872 * sysdeps/unix/mman/syscalls.list: Remove.
40873 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40874
3a533ca3
JM
40875 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40876 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40877 * configure: Regenerated.
40878 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40879 $(libgcc_s_suffix).
40880 * config.make.in (libgcc_s_suffix): Remove variable.
40881
1ad743de
JM
408822012-04-23 Joseph Myers <joseph@codesourcery.com>
40883
4ad451e2
JM
40884 * sysdeps/unix/sysv/gethostname.c: Move to ...
40885 * sysdeps/posix/gethostname.c: ... here.
40886
5e37ce39
JM
40887 * sysdeps/unix/execve.S: Remove file.
40888
1ad743de
JM
40889 * sysdeps/unix/_exit.S: Remove file.
40890
4e681b5b
AJ
408912012-04-23 Andreas Jaeger <aj@suse.de>
40892
40893 [BZ #13739]
40894 * manual/Makefile: Remove make dist support, there's no
40895 need for a stand-alone documentation tar ball.
40896 (TEXI2DVI): Define always, it's not in Makeconfig.
40897 (dist): Removed.
40898 (tar-it): Removed.
40899 (edition): Removed.
40900 (glibc-doc-$(edition).tar): Removed
40901 (%.Z): Removed.
40902 (%.gz): Removed.
40903 (%.uu): Removed.
40904 (ETAGS): Remove, it's in Makeconfig.
40905 (move-if-change): Remove, it's in Makeconfig.
40906
38686a03 409072012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
40908
40909 [BZ #13970]
40910 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40911 (strtod, strtof, strtold, strtol, strtoul, strtoq)
40912 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40913 (strtod_l, strtof_l, strtold_l): Remove __wur.
40914 It is not necessarily an error to ignore strtol's return value.
40915 One can reliably look at the stored endptr to decide whether
40916 the number had valid syntax.
40917
7c0616fa
AJ
409182012-04-21 Andreas Jaeger <aj@suse.de>
40919
803cb6b7 40920 [BZ #13739]
7c0616fa
AJ
40921 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40922
b0fe253f
JM
409232012-04-21 Joseph Myers <joseph@codesourcery.com>
40924
40925 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40926 * sysdeps/unix/sysv/Versions: Remove file.
40927
8280f22d
MT
409282012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
40929
40930 [BZ #13927]
40931 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40932
75ce411f 409332012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
40934
40935 [BZ #7064]
40936 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40937 version from __vm86.
40938
097d59fa
JM
409392012-04-20 Joseph Myers <joseph@codesourcery.com>
40940
a90f3bcb
JM
40941 * sysdeps/unix/common/lxstat.c: Remove file.
40942 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40943
edc7ea78
JM
40944 * sysdeps/unix/sysv/Makefile: Remove file.
40945
cb78c221
JM
40946 * sysdeps/unix/sysv/direct.h: Remove file.
40947
efa6a45f
JM
40948 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40949 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40950 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40951 * sysdeps/unix/sysv/bits/signum.h: Likewise.
40952 * sysdeps/unix/sysv/bits/stat.h: Likewise.
40953 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40954 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40955
9c9f2d0c
JM
40956 * sysdeps/unix/sysv/setrlimit.c: Remove file.
40957
4541c83b
JM
40958 * sysdeps/unix/xmknod.c: Remove file.
40959 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40960
f5d153a0
JM
40961 * sysdeps/unix/sysv/settimeofday.c: Remove file.
40962
aa746595
JM
40963 * sysdeps/unix/sysv/i386/time.S: Remove file.
40964
cce5905e
JM
40965 * sysdeps/unix/fxstat.c: Remove file.
40966 * sysdeps/unix/xstat.c: Likewise.
40967 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
40968
37fa3841
JM
40969 * sysdeps/unix/sysv/sigaction.c: Remove file.
40970
ff1962a3
JM
40971 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
40972 (sysdep_headers): Remove variable.
40973 [termio.h not in sysdep_headers] (generated): Likewise.
40974 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
40975 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
40976 * sysdeps/unix/sysv/tcdrain.c: Likewise.
40977 * sysdeps/unix/sysv/tcflow.c: Likewise.
40978 * sysdeps/unix/sysv/tcflush.c: Likewise.
40979 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
40980 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
40981 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
40982 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
40983 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
40984
e7740d31
JM
40985 * sysdeps/unix/siglist.c: Remove file.
40986
ee06f18b
JM
40987 * sysdeps/unix/getppid.S: Remove file.
40988
097d59fa
JM
40989 * sysdeps/unix/mkdir.c: Remove file.
40990 * sysdeps/unix/rmdir.c: Likewise.
40991
ff3d51ec
AS
409922012-04-19 Andreas Schwab <schwab@linux-m68k.org>
40993
40994 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
40995 ERR_MAX value.
40996 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
40997 errlist-compat value.
40998
50f81fd7
DM
409992012-04-18 David S. Miller <davem@davemloft.net>
41000
41001 * sysdeps/generic/memcopy.h (reg_char): Delete.
41002 * debug/strcat_chk.c: Use char, not reg_char.
41003 * debug/strcpy_chk.c: Likewise.
41004 * debug/strncat_chk.c: Likewise.
41005 * debug/strncpy_chk.c: Likewise.
41006 * string/memchr.c: Likewise.
41007 * string/memrchr.c: Likewise.
41008 * string/rawmemchr.c: Likewise.
41009 * string/strcat.c: Likewise.
41010 * string/strchr.c: Likewise.
41011 * string/strchrnul.c: Likewise.
41012 * string/strcmp.c: Likewise.
41013 * string/strcpy.c: Likewise.
41014 * string/strncat.c: Likewise.
41015 * string/strncmp.c: Likewise.
41016 * string/strncpy.c: Likewise.
41017
8ff41c46
WS
410182012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41019
41020 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
41021 __builtin_memcopy is called when src and dest ranges are known to not
41022 overlap.
41023
6b652f46
WS
410242012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41025
41026 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
41027 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
41028 fwd_align_merge macro call.
41029 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
41030 bwd_align_merge macro call.
41031 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41032
b282631e
WS
410332012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
41034
41035 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
41036 bwd_align_merge macros.
41037 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
41038 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
41039 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41040
95aa737c
DM
410412012-04-18 David S. Miller <davem@davemloft.net>
41042
41043 * sysdeps/sparc/sparc64/memcopy.h: Delete.
41044
7a99a614
AJ
410452012-04-18 Andreas Jaeger <aj@suse.de>
41046
41047 [BZ# 6794]
41048 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
41049 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
41050 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41051
41052 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
41053 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
41054 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41055
41056 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
41057 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
41058 Adjust for changed ldbl-128 files.
41059
41060 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
41061 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
41062 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41063
e5270c23
DM
410642012-04-17 David S. Miller <davem@davemloft.net>
41065
41066 * sysdeps/sparc/sparc32/memcopy.h: Delete.
41067
fb5e92c9
AS
410682012-04-17 Andreas Schwab <schwab@linux-m68k.org>
41069
41070 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
41071 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
41072 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
41073 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
41074 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
41075 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
41076
76da7265
AZ
410772012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41078
41079 [BZ #6794]
41080 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
41081 * math/libm-test.inc: Add ilogb errno and exception tests.
41082 * math/w_ilogb.c: New file: ilogb wrapper.
41083 * math/w_ilogbf.c: New file: ilogbf wrapper.
41084 * math/w_ilogbl.c: New file: ilogbl wrapper.
41085 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
41086 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
41087 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
41088 exception being thrown with 0.0 as argument.
41089 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
41090 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
41091 exception being thrown with 0.0 as argument.
41092 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
41093 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41094 exception being thrown with 0.0 as argument.
41095 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
41096 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41097 exception being thrown with 0.0 as argument.
41098 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
41099 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 41100 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
41101 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
41102 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
41103 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
41104 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
41105 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
41106 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
41107
0396e69d
PB
411082012-04-17 Petr Baudis <pasky@ucw.cz>
41109
41110 * include/sys/uio.h: Change __vector to __iovec to avoid clash
41111 with altivec.
41112
750b5926
MP
411132012-04-16 Marek Polacek <polacek@redhat.com>
41114
41115 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
41116
751728a1
MP
411172012-04-16 Marek Polacek <polacek@redhat.com>
41118
41119 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
41120 operands of fdivp instruction.
41121
34a27407
L
411222012-04-13 H.J. Lu <hongjiu.lu@intel.com>
41123
41124 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
41125 * elf/tst-auditmod3b.c: Likewise.
41126 * elf/tst-auditmod4b.c: Likewise.
41127 * elf/tst-auditmod5b.c: Likewise.
41128 * elf/tst-auditmod6b.c: Likewise.
41129 * elf/tst-auditmod6c.c: Likewise.
41130 * elf/tst-auditmod7b.c: Likewise.
41131 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
41132 * sysdeps/x86_64/preconfigure.in: Likewise.
41133 * sysdeps/x86_64/preconfigure: Regenerated.
41134
7e73e17d
L
411352012-04-13 H.J. Lu <hongjiu.lu@intel.com>
41136
41137 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
41138 __ILP32__.
41139
c7a6ab72
AB
411402012-04-13 Antoine Balestrat <merkil33@gmail.com>
41141
41142 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41143 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
41144
a9e8e0e0
CL
411452012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
41146
41147 [BZ #13973]
41148 * locale/iso-639.def: Fix gl language name. Spotted by
41149 Yaron Shahrabani.
41150
ec98af7d
RM
411512012-04-12 Roland McGrath <roland@hack.frob.com>
41152
41153 [BZ #2074]
41154 * libio/libio.h (__io_write_fn): Update comment.
41155
247c3ede
PB
411562012-04-12 Petr Baudis <pasky@ucw.cz>
41157
41158 [BZ #2074]
41159 * stdio.texi (Hook Functions): The user provided writer function
41160 is not allowed to return -1.
41161
55939d6d
DM
411622012-04-11 David S. Miller <davem@davemloft.net>
41163
41164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41165
90020f5a
MF
411662012-04-11 Mike Frysinger <vapier@gentoo.org>
41167
41168 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
41169 Add a leading slash to rtkaio.
41170
288f9098
JM
411712012-04-11 Jim Meyering <meyering@redhat.com>
41172
90020f5a
MF
41173 [BZ #11959]
41174 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
41175 It is not necessarily an error to ignore fwrite's return
41176 value. One can reliably use ferror to test for errors after
41177 the fact.
288f9098 41178
4be2b570
L
411792012-04-10 H.J. Lu <hongjiu.lu@intel.com>
41180
41181 * bits/types.h (__snseconds_t): New type.
41182 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
41183
41184 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
41185 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41186 (__SNSECONDS_T_TYPE): Likewise.
41187 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41188 (__SNSECONDS_T_TYPE): Likewise.
41189 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41190 (__SNSECONDS_T_TYPE): Likewise.
41191
288f9098 411922012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
41193
41194 [BZ #2636]
41195 * manual/time.texi (Processor Time): Return type of times is
41196 elapsed real time since an arbitrary point in the past.
41197 (CPU Time): Move CLK_TCK from here...
41198 (Processor Time): ...to here. Correct description.
41199 * manual/conf.texi (Constants for Sysconf): Correct description of
41200 _SC_CLK_TCK.
41201
d7dd4413
DM
412022012-04-10 David S. Miller <davem@davemloft.net>
41203
41204 [BZ #13967]
41205 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
41206 where the is a gap between DT_REL(A) and DT_JMPREL.
41207
b46068fc
L
412082012-04-10 H.J. Lu <hongjiu.lu@intel.com>
41209
41210 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
41211 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41212 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41213
73d65cc3
SP
412142012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
41215
41216 * elf/dl-support.c (_dl_inhibit_cache): New variable.
41217 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
41218 (dl_main): Handle --inhibit-cache.
41219 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
41220 _dl_inhibit_cache.
41221 * elf/dl-load.c (_dl_map_object): Use it.
41222 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
41223
bcc8d661
JM
412242012-04-09 Joseph Myers <joseph@codesourcery.com>
41225
8f9a2fae
JM
41226 [BZ #13872]
41227 * sysdeps/i386/fpu/e_powl.S (p78): New object.
41228 (__ieee754_powl): Saturate large exponents rather than testing for
41229 overflow of y*log2(x).
41230 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41231 * math/libm-test.inc (pow_test): Do not permit spurious overflow
41232 exceptions.
41233
bcc8d661
JM
41234 [BZ #11521]
41235 * math/s_ctan.c: Include <float.h>.
41236 (__ctan): Avoid internal overflow or cancellation in calculating
41237 denominator.
41238 * math/s_ctanf.c: Likewise.
41239 * math/s_ctanl.c: Likewise.
41240 * math/s_ctanh.c: Likewise.
41241 * math/s_ctanhf.c: Likewise.
41242 * math/s_ctanhl.c: Likewise.
41243 * math/libm-test.inc (ctan_test): Add more tests.
41244 (ctanh_test): Likewise.
41245 * sysdeps/i386/fpu/libm-test-ulps: Update.
41246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41247
823fbbb4
AJ
412482012-04-09 Andreas Jaeger <aj@suse.de>
41249
03879793
AJ
41250 [BZ #6894]
41251 * manual/filesys.texi (Directory Entries): Mention that d_namlen
41252 is an optional BSD extension.
41253
823fbbb4
AJ
41254 [BZ #10254]
41255 * manual/stdio.texi (Opening Streams): Document additional fopen
41256 parameters.
41257
8de131cb
RM
412582012-04-09 Roland McGrath <roland@hack.frob.com>
41259
41260 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
41261 %eax without telling the compiler.
41262
c0ed9d7d
CD
412632012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
41264
41265 [BZ # 13963]
41266 * manual/install.texi: Use sourceware.org.
41267
c483f6b4
JM
412682012-04-09 Joseph Myers <joseph@codesourcery.com>
41269
d7dd9453
JM
41270 [BZ #13873]
41271 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
41272 (__ieee754_pow): Generate overflow and underflow using huge*huge
41273 and tiny*tiny rather than just returning constant infinity or zero
41274 for large exponents.
41275 * math/libm-test.inc (pow_test): Require overflow exceptions for
41276 applicable cases of large exponents.
41277
c483f6b4
JM
41278 [BZ #706]
41279 * sysdeps/i386/fpu/e_pow.S (p10): New object.
41280 (__ieee754_pow): Use iterative multiplication algorithm only for
41281 integer exponents with absolute value below 1024. Check for odd
41282 integer exponents when using algorithm for real exponents.
41283 * math/libm-test.inc (pow_test): Add more tests.
41284 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41285
d2de7579
JM
412862012-04-08 Joseph Myers <joseph@codesourcery.com>
41287
41288 [BZ #13705]
41289 * math/libm-test.inc (exp_test): Do not allow overflow exception
41290 on underflow test.
41291
f77f1232
AJ
412922012-04-08 Aurelien Jarno <aurelien@aurel32.net>
41293
41294 [BZ #13705]
41295 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
41296 instead of __kernel_standard_f.
41297
3884932b
MF
412982012-04-08 Mike Frysinger <vapier@gentoo.org>
41299
41300 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
41301 * sysdeps/x86_64/memset_chk.S: Likewise.
41302
54472e9c
AJ
413032012-04-08 Andreas Jaeger <aj@suse.de>
41304
6ab0fbfc
AJ
41305 [BZ #10153]
41306 * manual/startup.texi (Environment Access): Describe return value
41307 for putenv and setenv.
41308
61efba8c
AJ
41309 [BZ #6895]
41310 * manual/filesys.texi (Directory Entries): Add description for
41311 DT_LNK.
41312
95c3f29a
AJ
41313 [BZ #6890]
41314 * manual/filesys.texi (Directory Entries): Clarify that it's file
41315 system not operating system in the description of DT_UNKNOWN.
41316
54472e9c
AJ
41317 [BZ #6578]
41318 * manual/syslog.texi (closelog): Fix reference, it's openlog.
41319
624254b1
SC
413202012-04-08 Stephen Compall <s11@member.fsf.org>
41321
41322 [BZ #6649]
41323 * manual/llio.texi (Opening and Closing Files): Add cross
41324 reference to explain mode argument.
41325
1e4920e0
MF
413262012-04-07 Mike Frysinger <vapier@gentoo.org>
41327
41328 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
41329 * sysdeps/x86_64/memset_chk.S: Likewise.
41330
5ed848f3
DM
413312012-04-07 David S. Miller <davem@davemloft.net>
41332
41333 * elf/elf.h (R_SPARC_WDISP10): Define.
41334 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
41335 R_SPARC_SIZE32.
41336 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
41337 R_SPARC_SIZE64 and R_SPARC_H34.
41338
96154cd8
CD
413392012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
41340
41341 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
41342 conditions and remove no longer applicable assertion.
41343
9904dc47
L
413442012-04-06 H.J. Lu <hongjiu.lu@intel.com>
41345
41346 * bits/byteswap.h: Include <features.h>.
41347 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41348 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41349
f8887d0a
L
413502012-04-06 H.J. Lu <hongjiu.lu@intel.com>
41351
41352 * bits/byteswap.h (__bswap_16): Removed.
41353 Include <bits/byteswap-16.h> to get __bswap_16.
41354 * sysdeps/i386/bits/byteswap.h: Likewise.
41355 * sysdeps/s390/bits/byteswap.h: Likewise.
41356 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41357 * bits/byteswap-16.h: New file.
41358 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41359 * sysdeps/s390/bits/byteswap-16.h: Likewise.
41360 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
41361 * string/Makefile (headers): Add bits/byteswap-16.h.
41362
62470f60
PP
413632012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41364
41365 [BZ #13895]
41366 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
41367 extra indirection.
41368 * nss/Makefile (tests-static, tests): Add tst-nss-static.
41369 * nss/tst-nss-static.c: New.
41370
4dad7bab
RM
413712012-04-06 Robert Millan <rmh@gnu.org>
41372
41373 [BZ #6486]
41374 * manual/llio.texi (File Position Primitive): lseek
41375 refers to WHENCE when it really means OFFSET.
41376
e9142a17
AJ
413772012-04-06 Andreas Jaeger <aj@suse.de>
41378
2c040eff
AJ
41379 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
41380 strncmp declarations.
41381
e9142a17
AJ
41382 * abilist/libc.abilist: Add __poll and __ppoll.
41383
ff9f1c5f
DM
413842012-04-05 David S. Miller <davem@davemloft.net>
41385
dcd2ae90
DM
41386 * scripts/check-local-headers.sh: Accept a host triplet in the
41387 path matched by the exclude regexp.
41388
993eb054
DM
41389 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
41390 definition.
41391 * sysdeps/powerpc/powerpc32/dl-machine.h
41392 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
41393 * sysdeps/s390/s390-32/dl-machine.h
41394 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41395 * sysdeps/sparc/sparc32/dl-machine.h
41396 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41397 * sysdeps/sparc/sparc64/dl-machine.h
41398 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41399
ff9f1c5f
DM
41400 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
41401 lazy binding.
48e2e132 41402 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
41403 undefined symbol errors.
41404
48e2e132 41405 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
41406 DT_NEEDED entries.
41407
e80d6f94
MM
414082012-04-05 Michael Matz <matz@suse.de>
41409
41410 [BZ #13592]
41411 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
41412
349fa79f
AJ
414132012-04-05 Andreas Jaeger <aj@suse.de>
41414
41415 [BZ #13908]
41416 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
41417 comment.
41418
f402708f
KK
414192012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41420
41421 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
41422 which ROUND is no valid rounding mode.
41423
2ecccfc9
KK
414242012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41425
41426 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
41427 read again.
41428 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
41429
8a53f50f
KK
414302012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41431
41432 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
41433 an exception using FPU order intentionally.
41434
414352012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41436
41437 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
41438 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
41439 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
41440 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
41441
d653abb7
SJ
414422012-04-05 Simon Josefsson <simon@josefsson.org>
41443
41444 [BZ #12340]
41445 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
41446 EINVAL when BUFLEN is too smal.
41447
c3b1bf7d
TS
414482012-04-05 Thomas Schwinge <thomas@codesourcery.com>
41449
41450 [BZ #13553]
41451 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
41452 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
41453
b1aa60f3
AJ
414542012-04-03 Andreas Jaeger <aj@suse.de>
41455
c3b1bf7d 41456 [BZ #13938]
67f60a26
AJ
41457 * manual/setjmp.texi (System V contexts): Fix sentence.
41458
b1aa60f3
AJ
41459 [BZ #13926]
41460 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
41461 New macro for this case.
41462 [!__GNUC__] (__bswap_64): New inline function for this case.
41463 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41464 * bits/byteswap.h: Likewise.
41465 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
41466 ull, guard with __GLIBC_HAVE_LONG_LONG.
41467
41468 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
41469 __GLIBC_HAVE_LONG_LONG.
41470
41471 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
41472 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
41473
39c59c35
TMQMF
414742012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41475
41476 [BZ #13691]
41477 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
41478 inptr and inend, rather than using last_ch.
41479
135ffda8
DM
414802012-04-02 David S. Miller <davem@davemloft.net>
41481
41482 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
41483 * stdio-common/printf-parse.h (read_int): Change return type to
41484 'int', return -1 on INT_MAX overflow.
41485 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
41486 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
41487 overflows INT_MAX. Check for overflow of in-format-string precision
41488 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
41489 SIZE_MAX not INT_MAX for integer overflow test.
41490 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
41491 skip the construct in the format string but do not record anything.
41492 * stdio-common/bug22.c: Adjust to test both width/prevision
41493 INT_MAX overflow as well as total length INT_MAX overflow. Check
41494 explicitly for proper errno values.
41495
228c019e
TS
414962012-04-02 Thomas Schwinge <thomas@codesourcery.com>
41497
302cadd3
TS
41498 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
41499 CHAR_MAX.
41500 * string/test-strcmp.c [! WIDE]: Likewise.
41501 * time/tst-mktime2.c: Likewise for INT_MAX.
41502 * string/test-string.h: #include <sys/param.h> for MIN.
41503
228c019e
TS
41504 * csu/init-first.c (__libc_init_first): Call __ctype_init.
41505 * sysdeps/i386/init-first.c (init): Likewise.
41506 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
41507 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
41508 * sysdeps/sh/init-first.c (init): Likewise.
41509
cfa633f5
UD
415102012-04-01 Ulrich Drepper <drepper@gmail.com>
41511
41512 * po/ru.po: Update from translation team.
d1635ef8 41513 * po/vi.po: Likewise.
cfa633f5 41514
6cd0a5ea
SP
415152012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41516
41517 * resolv/nss_dns/dns-host.c: Merge copyright years.
41518
4b43400f
LD
415192012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41520
41521 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41522 Optimize memcpy with prefetch if
41523 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
41524 src, dst pointers have unequal 16 byte alignments.
41525
48c41d04
SP
415262012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
41527
41528 [BZ #13928]
41529 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
41530 from a CNAME entry and return the minimum ttl for the query.
41531 (gaih_getanswer_slice): Likewise.
41532
b8dc394d
JL
415332012-03-30 Jeff Law <law@redhat.com>
41534
41535 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
41536 due to long keys.
41537 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
41538 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
41539
2f5a5ed0
JL
41540 * resolv/nss_dns/dns-host.c: Update copyright year.
41541
1d39e359
UD
415422012-03-30 Ulrich Drepper <drepper@gmail.com>
41543
c030f70c 41544 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 41545 requests to save a system call. Fix check that all bytes are sent.
c030f70c 41546
1d39e359
UD
41547 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
41548 comments for sendmmsg.
41549
415502012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
41551
41552 [BZ #13691]
41553 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
41554 with only 1 character between 0x0041 and 0x01b0.
41555 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
41556 * wcsmbs/tst-mbsnrtowcs.c: New file.
41557
20fde227
DM
415582012-03-29 David S. Miller <davem@davemloft.net>
41559
41560 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
41561 small copies by hand.
41562
984a4237
JL
415632012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41564
41565 [BZ #13761]
57f41c40
AS
41566 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
41567 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
41568 group memberships.
984a4237 41569
18c9d62b
DM
415702012-03-28 David S. Miller <davem@davemloft.net>
41571
88d85d4f
DM
41572 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
41573 that branches into memcpy.
41574 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41575 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
41576 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41577 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
41578 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
41579 bits.
41580 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
41581 implementation too.
41582 * sysdeps/sparc/mempcpy.S: New file.
41583
e5aa83e1
DM
41584 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
41585 the IFUNC routine in the libc case.
41586 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41587
88570753
DM
41588 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
41589 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
41590 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
41591 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
41592 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
41593 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
41594 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
41595 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
41596
249d7567
DM
41597 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
41598 loop to 256 bytes instead of 64 bytes and fix test signedness.
41599
18c9d62b
DM
41600 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
41601 * sysdeps/sparc/sparc32/Makefile: rather than here...
41602 * sysdeps/sparc/sparc64/Makefile: and here.
41603
05f3d1f6
UD
416042012-03-28 Ulrich Drepper <drepper@gmail.com>
41605
41606 * malloc/mallocbug.c: Avoid warnings about unused variables.
41607
86ae07a8
JL
416082012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
41609
41610 [BZ #13760]
41611 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
41612 in the right place. Discard and retry query if response is
41613 larger than input buffer size.
41614
41bf21a1
JM
416152012-03-28 Joseph Myers <joseph@codesourcery.com>
41616
d6270972
JM
41617 [BZ #369]
41618 [BZ #2678]
41619 [BZ #3866]
41620 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
41621 x for large integer exponent.
41622 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41623 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
41624 sign of result as needed afterwards.
41625 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
41626 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
41627 result for underflowing pow the same as for overflow.
41628 (__kernel_standard_l): Handle powl overflow and underflow here
41629 rather than calling __kernel_standard.
41630 * math/libm-test.inc (pow_test): Add more tests.
41631
414fca03 41632 [BZ #3868]
41bf21a1
JM
41633 [BZ #13879]
41634 [BZ #13910]
41635 [BZ #13911]
41636 [BZ #13912]
41637 [BZ #13913]
41638 [BZ #13915]
41639 [BZ #13916]
41640 [BZ #13917]
41641 [BZ #13918]
41642 [BZ #13919]
41643 [BZ #13920]
41644 [BZ #13921]
41645 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
41646 * sysdeps/ieee754/k_standard.c: Include <float.h>.
41647 (__kernel_standard_l): New function.
41648 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
41649 __kernel_standard.
41650 * math/w_acosl.c (__acosl): Likewise.
41651 * math/w_asinl.c (__asinl): Likewise.
41652 * math/w_atan2l.c (__atan2l): Likewise.
41653 * math/w_atanhl.c (__atanhl): Likewise.
41654 * math/w_coshl.c (__coshl): Likewise.
41655 * math/w_exp10l.c (__exp10l): Likewise.
41656 * math/w_exp2l.c (__exp2l): Likewise.
41657 * math/w_fmodl.c (__fmodl): Likewise.
41658 * math/w_hypotl.c (__hypotl): Likewise.
41659 * math/w_j0l.c (__j0l, __y0l): Likewise.
41660 * math/w_j1l.c (__j1l, __y1l): Likewise.
41661 * math/w_jnl.c (__jnl, __ynl): Likewise.
41662 * math/w_lgammal.c (__lgammal): Likewise.
41663 * math/w_log10l.c (__log10l): Likewise.
41664 * math/w_log2l.c (__log2l): Likewise.
41665 * math/w_logl.c (__logl): Likewise.
41666 * math/w_powl.c (__powl): Likewise.
41667 * math/w_remainderl.c (__remainderl): Likewise.
41668 * math/w_scalbl.c (sysv_scalbl): Likewise.
41669 * math/w_sinhl.c (__sinhl): Likewise.
41670 * math/w_sqrtl.c (__sqrtl): Likewise.
41671 * math/w_tgammal.c (__tgammal): Likewise.
41672 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
41673 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
41674 * math/libm-test.inc (acos_test): Add more tests.
41675 (acosh_test): Likewise.
41676 (asin_test): Likewise.
41677 (atanh_test): Likewise.
41678 (exp_test): Likewise.
41679 (exp10_test): Likewise.
41680 (exp2_test): Likewise.
41681 (expm1_test): Likewise.
41682 (lgamma_test): Likewise.
41683 (log_test): Likewise.
41684 (log10_test): Likewise.
41685 (log1p_test): Likewise.
41686 (log2_test): Likewise.
41687 (pow_test): Do not allow some spurious overflow exceptions.
41688 (sqrt_test): Add more tests.
41689 (tgamma_test): Likewise.
41690 (y0_test): Likewise.
41691 (y1_test): Likewise.
41692 (yn_test): Likewise.
41693
dd62fda6
AB
416942012-03-27 Anton Blanchard <anton@samba.org>
41695
41696 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
41697 MAP_HUGETLB.
41698 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41699 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41700 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41701
1e3cdfda
AJ
417022012-03-27 David S. Miller <davem@davemloft.net>
41703
b855ab85
DM
41704 * conform/Makefile: Run run-conformtest.sh using $(BASH).
41705
1e3cdfda
AJ
41706 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
41707 have-as-vis3 check.
41708
417092012-03-27 Andreas Jaeger <aj@suse.de>
41710
41711 * sysdeps/x86_64/elf/configure.in: Moved to ...
41712 * sysdeps/x86_64/configure.in: ... here.
41713 * sysdeps/x86_64/elf/start.S: Moved to ...
41714 * sysdeps/x86_64/start.S: ... here.
41715 * sysdeps/x86_64/elf/configure: Delete.
41716
41717 * sysdeps/x86_64/configure.in: Merge contents from
41718 sysdeps/i386/configure.in (without i686 check).
41719
41720 * sysdeps/i386/elf/Versions: Merge into ...
41721 * sysdeps/i386/Versions: ... this.
41722 * sysdeps/i386/elf/Versions: Delete file.
41723 * sysdeps/i386/elf/start.S: Moved to ...
41724 * sysdeps/i386/start.S: ...here.
41725 * sysdeps/i386/elf/configure.in: Merge into...
41726 * sysdeps/i386/configure.in: ...here.
41727 * sysdeps/i386/elf/configure.in: Delete file.
41728 * sysdeps/i386/elf/configure: Delete file.
41729
41730 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
41731 * debug/backtracesyms.c: ... here.
41732 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
41733 * debug/backtracesymsfd.c: ... here.
41734 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
41735 * sysdeps/generic/ifunc-sel.h: ... here.
41736
41737 * sysdeps/unix/i386/start.c: Delete file.
41738 * sysdeps/unix/sparc/start.c: Delete file.
41739 * sysdeps/unix/start.c: Delete file.
41740
41741 * sysdeps/sh/elf/configure.in: Moved to ...
41742 * sysdeps/sh/configure.in: ... here.
41743 * sysdeps/sh/elf/start.S: Moved to ...
41744 * sysdeps/sh/start.S: ... here.
41745 * sysdeps/sh/elf/configure: Delete file.
41746
41747 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
41748 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
41749 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
41750 * sysdeps/powerpc/powerpc64/entry.h: ... here.
41751 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
41752 * sysdeps/powerpc/powerpc64/start.S: here.
41753 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
41754 * sysdeps/powerpc/powerpc64/Makefile: ... this.
41755 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
41756 * sysdeps/powerpc/powerpc64/configure.in: ... this.
41757 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
41758
41759 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
41760 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
41761 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
41762 * sysdeps/powerpc/powerpc32/start.S: ... here.
41763 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
41764 * sysdeps/powerpc/powerpc32/configure.in: ... this.
41765 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
41766
41767 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
41768 * sysdeps/powerpc/ifunc-sel.h: ... here.
41769 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
41770 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
41771
41772 * sysdeps/sparc/elf/configure.in: Moved to ...
41773 * sysdeps/sparc/configure.in: ... here.
41774 * sysdeps/sparc/elf/configure: Delete file.
41775 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
41776 * sysdeps/sparc/sparc32/start.S: ... here.
41777 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
41778 * sysdeps/sparc/sparc64/start.S: ... here.
41779 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
41780 * sysdeps/sparc/sparc32/Makefile: ... this.
41781 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
41782 * sysdeps/sparc/sparc64/Makefile: ... this.
41783
41784 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
41785 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
41786 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
41787 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
41788 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
41789 * sysdeps/s390/s390-32/setjmp.S: ... here.
41790 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
41791 * sysdeps/s390/s390-32/configure.in: ... here.
41792 * sysdeps/s390/s390-32/elf/configure: Delete file.
41793 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
41794 * sysdeps/s390/s390-32/start.S: ... here.
41795
41796 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
41797 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
41798 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
41799 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
41800 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
41801 * sysdeps/s390/s390-64/setjmp.S: ... here.
41802 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
41803 * sysdeps/s390/s390-64/configure.in: ... here
41804 * sysdeps/s390/s390-64/elf/configure: Delete file.
41805 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
41806 * sysdeps/s390/s390-64/start.S: ... here.
41807 * sysdeps/s390/s390-64/elf/configure: Delete.
41808
41809 * configure.in: Remove support for elf directories in sysdeps.
41810
41811 * configure: Regenerated.
41812 * sysdeps/i386/configure: Regenerated.
41813 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41814 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41815 * sysdeps/s390/s390-32/configure: Regenerated.
41816 * sysdeps/s390/s390-64/configure: Regenerated.
41817 * sysdeps/sh/configure: Regenerated.
41818 * sysdeps/sparc/configure: Regenerated.
41819 * sysdeps/x86_64/configure: Regenerated.
41820
a3f61311
AS
418212012-03-26 Andreas Schwab <schwab@linux-m68k.org>
41822
c876e002
AS
41823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41824
a3f61311
AS
41825 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
41826 denormal result into account.
41827
ac4c54f0
RM
418282012-03-25 Roland McGrath <roland@hack.frob.com>
41829
41830 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
41831 Reported by Allan McRae <allan@archlinux.org>.
41832
6a9b9c02
JL
418332012-03-23 Jeff Law <law@redhat.com>
41834
41835 * nss/getnssent.c (__nss_getent): Fix typo.
41836
4c42a0c1
DM
418372012-03-23 David S. Miller <davem@davemloft.net>
41838
41839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41840
1532c7ac
L
418412012-03-23 H.J. Lu <hongjiu.lu@intel.com>
41842
41843 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
41844 to pad to uint64_t for each field.
41845 (dl_tls_index): Replace unsigned long with uint64_t.
41846
3ff42526
PP
418472012-03-23 Daniel Jacobowitz <dmj@google.com>
41848 Paul Pluzhnikov <ppluzhnikov@google.com>
41849
41850 [BZ #6528]
41851 * grp/Makefile (otherlibs): Don't set it.
41852 * inet/Makefile (otherlibs): Likewise.
41853 * login/Makefile (otherlibs): Likewise.
41854 * nscd/Makefile (otherlibs): Likewise.
41855 * posix/Makefile (otherlibs): Likewise.
41856 * pwd/Makefile (otherlibs): Likewise.
41857 * rt/Makefile (otherlibs): Likewise.
41858 * sunrpc/Makefile (otherlibs): Likewise.
41859 * nss/Makefile (otherlibs): Likewise.
41860 Add libnss_files to routines and static-only-routines.
41861 ($(objpfx)getent): Remove rule.
41862 * resolv/Makefile: Add libnss_dns and libresolv to routines and
41863 static-only-routines.
41864
7c69cd14
JM
418652012-03-22 Joseph Myers <joseph@codesourcery.com>
41866
41867 [BZ #13892]
41868 * math/s_cexp.c: Include <float.h>.
41869 (__cexp): Handle exp result overflowing not necessarily
41870 overflowing both real and imaginary parts of result.
41871 * math/s_cexpf.c: Likewise.
41872 * math/s_cexpl.c: Likewise.
41873 * math/libm-test.inc (cexp_test): Add more tests.
41874 * sysdeps/i386/fpu/libm-test-ulps: Update.
41875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41876
81b035fe
L
418772012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41878
41879 * include/link.h (ELFW): New macro.
41880 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41881 Replace ELF64_R_TYPE with ELFW(R_TYPE).
41882
1da7940c
L
418832012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41884
41885 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41886 with uint64_t.
41887
b749dbb9
L
418882012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41889
41890 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41891 declaration.
41892 (struct La_x32_retval): Likewise.
41893
2ff87f3f
L
418942012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41895
41896 * sysdeps/x86_64/preconfigure.in: New file.
41897 * sysdeps/x86_64/preconfigure: New generated file.
41898
c0df8e69
JM
418992012-03-22 Joseph Myers <joseph@codesourcery.com>
41900
48e44791
JM
41901 [BZ #13824]
41902 * math/e_exp2l.c: Include <float.h>.
41903 (__ieee754_exp2l): Handle overflow and underflow cases
41904 separately. Only pass fractional part of argument to
41905 __ieee754_expl.
41906 * math/libm-test.inc (exp2_test): Add more tests.
41907
c0df8e69
JM
41908 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41909 negating x to take absolute value.
41910 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41911 Likewise.
41912 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41913 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41914 Likewise.
41915 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41916 computing low part if x was negated.
41917 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41918
c8e43ba7
L
419192012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41920
41921 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41922 la_x32_gnu_pltexit.
41923 (pltexit): Cast int_retval to ptrdiff_t.
41924 * elf/tst-auditmod3b.c: Likewise.
41925 * elf/tst-auditmod4b.c: Likewise.
41926 * elf/tst-auditmod5b.c: Likewise.
41927 * elf/tst-auditmod6b.c: Likewise.
41928 * elf/tst-auditmod6c.c: Likewise.
41929 * elf/tst-auditmod7b.c: Likewise.
41930
41931 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41932 and x32_gnu_pltexit.
41933
41934 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41935 __ELF_NATIVE_CLASS.
41936 (La_x32_regs): New macro.
41937 (La_x32_retval): Likewise.
41938 (la_x32_gnu_pltenter): New function prototype.
41939 (la_x32_gnu_pltexit): Likewise.
41940
7998fa78
AS
419412012-03-21 Andreas Schwab <schwab@linux-m68k.org>
41942
dcb33988
AS
41943 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41944 exponent.
41945
233fc563
AS
41946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41947
7998fa78
AS
41948 * configure.in (libc_cv_cc_nofma): Check for option to disable
41949 generation of FMA instructions.
41950 * configure: Regenerate.
41951 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41952 * sysdeps/ieee754/dbl-64/Makefile: New file.
41953 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41954 Remove brandred-fma4.
41955 (CFLAGS-brandred-fma4.c): Remove.
41956 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41957 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41958 define.
41959 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41960 define.
41961
8e95c99a
L
419622012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41963
41964 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41965 LLONG_MAX != LONG_MAX.
41966 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41967 (_fitoa_word): Likewise.
41968 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
41969 LLONG_MAX != LONG_MAX.
41970 * stdio-common/_itowa.h: Include <_itoa.h>.
41971 (_itowa_word): Use _ITOA_WORD_TYPE on value.
41972 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
41973 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
41974 only if not defined.
41975 (_ITOA_WORD_TYPE): Likewise.
41976 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41977 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
41978
6f4db457
DM
419792012-03-21 David S. Miller <davem@davemloft.net>
41980
41981 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41982
7785fe5a
L
419832012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41984
41985 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
41986 of x86_64 when setting libc_cv_slibdir, libdir and
41987 libc_cv_localedir.
41988 * sysdeps/unix/sysv/linux/configure: Regenerated.
41989
4535cd55
JM
419902012-03-21 Joseph Myers <joseph@codesourcery.com>
41991
41992 * manual/lang.texi (Old Varargs): Remove section.
41993 (How Variadic): Update menu.
41994 (va_start): Do not mention varargs.h.
41995
17228132
TS
419962012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41997 Joseph Myers <joseph@codesourcery.com>
41998
41999 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
42000 link test.
42001 * configure: Regenerated.
42002
8149f976
TS
420032012-03-21 Thomas Schwinge <thomas@codesourcery.com>
42004
05f3d1f6
UD
42005 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
42006 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
42007 conformtest.pl
8149f976 42008
1a4ac776
JM
420092012-03-21 Joseph Myers <joseph@codesourcery.com>
42010
be22ce65
JM
42011 * NOTES: Remove.
42012 * Makefile (files-for-dist): Remove NOTES.
42013 (NOTES): Remove rule.
42014 * README: Don't refer to NOTES.
42015 * manual/creature.texi: Don't include macros.texi.
42016 * manual/intro.texi (creature.texi): Remove comment referring to
42017 NOTES.
42018
40b601fb
JM
42019 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
42020 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
42021 * configure: Regenerated.
42022 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
42023 LIBC_TRY_CC_OPTION.
42024 (libc_cv_as_i686): Likewise.
42025 (libc_cv_cc_avx): Likewise.
42026 (libc_cv_cc_sse2avx): Likewise.
42027 (libc_cv_cc_fma4): Likewise.
42028 (libc_cv_cc_novzeroupper): Likewise.
42029 * sysdeps/i386/configure: Regenerated.
42030
1a4ac776
JM
42031 [BZ #13883]
42032 * sysdeps/i386/fpu/s_cexp.S: Remove.
42033 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42034 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42035 * math/libm-test.inc (cexp_test): Add more tests.
42036 * sysdeps/i386/fpu/libm-test-ulps: Update.
42037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42038
a458e7fe
AM
420392012-03-21 Allan McRae <allan@archlinux.org>
42040
42041 * timezone/Makefile: Do not install iso3166.tab and zone.tab
42042
0cb7efc5
JM
420432012-03-21 Joseph Myers <joseph@codesourcery.com>
42044
42045 [BZ #13871]
42046 * math/w_exp2.c: Do not include <float.h>.
42047 (o_threshold, u_threshold): Remove.
42048 (__exp2): Calculate result before checking finiteness and calling
42049 __kernel_standard.
42050 * math/w_exp2f.c: Likewise.
42051 * math/w_exp2l.c: Likewise.
42052 * math/libm-test.inc (exp2_test): Require overflow exception for
42053 1e6 input.
2460d3aa
JM
42054
42055 [BZ #3866]
42056 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
42057 range of signed 64-bit integers before using fistpll. Remove
42058 checks for whether integers fit in mantissa bits.
42059 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
42060 the range of signed 32-bit integers before using fistpl. Remove
42061 checks for whether integers fit in mantissa bits.
42062 * sysdeps/i386/fpu/e_powl.S (p64): New object.
42063 (__ieee754_powl): Test for y outside the range of signed 64-bit
42064 integers before using fistpll. Reduce 64-bit values to 63-bit
42065 ones as needed.
42066 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
42067 divide-by-zero is raised for zero to large negative powers.
42068 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
42069 (__ieee754_powl): Test for y outside the range of signed 64-bit
42070 integers before using fistpll. Reduce 64-bit values to 63-bit
42071 ones as needed.
42072 * math/libm-test.inc (pow_test): Add more tests.
42073
eb96ffb0
L
420742012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42075
42076 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
42077 <stdio-common/_itoa.h>.
42078 * debug/segfault.c: Likewise.
42079 * elf/dl-cache.c: Likewise.
42080 * elf/dl-minimal.c: Likewise.
42081 * elf/dl-misc.c: Likewise.
42082 * elf/dl-sysdep.c: Likewise.
42083 * elf/dl-version.c: Likewise.
42084 * elf/rtld.c: Likewise.
42085 * hurd/hurdsock.c: Likewise.
42086 * hurd/lookup-retry.c: Likewise.
42087 * malloc/malloc.c: Likewise.
42088 * malloc/mtrace.c: Likewise.
42089 * nscd/nscd_getgr_r.c: Likewise.
42090 * nscd/nscd_getpw_r.c: Likewise.
42091 * nscd/nscd_getserv_r.c: Likewise.
42092 * posix/getopt_init.c: Likewise.
42093 * posix/wordexp.c: Likewise.
42094 * stdio-common/_itoa.c: Likewise.
42095 * stdio-common/printf_fphex.c: Likewise.
42096 * stdio-common/vfprintf.c: Likewise.
42097 * string/_strerror.c: Likewise.
42098 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
42099 * sysdeps/i386/i686/hp-timing.h: Likewise.
42100 * sysdeps/mach/_strerror.c: Likewise.
42101 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
42102 * sysdeps/mach/hurd/sethostid.c: Likewise.
42103 * sysdeps/mach/hurd/xmknodat.c: Likewise.
42104 * sysdeps/mach/xpg-strerror.c: Likewise.
42105 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42106 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42107 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
42108 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
42109 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42110 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
42111 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
42112 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
42113 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
42114 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
42115 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
42116 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
42117 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
42118 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
42119 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
42120 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
42121 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
42122 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
42123 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
42124 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
42125 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
42126
42127 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
42128
42129 * stdio-common/_itoa.h: Moved to ...
42130 * sysdeps/generic/_itoa.h: Here.
42131
42132 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
42133
42134 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
42135 instead of "_itoa.h" and "_itowa.h".
42136 * stdio-common/vfprintf.: Likewise.
42137
d1af992d
L
421382012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42139
42140 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
42141 <bits/wordsize.h>.
42142 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
42143 (__signbit): Likwise.
42144 (llrintf): Likwise.
42145 (llrint): Likwise.
42146
114883e0
L
421472012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42148
42149 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
42150 __WORDSIZE != 64.
42151
c135cc1b
JM
421522012-03-20 Joseph Myers <joseph@codesourcery.com>
42153
42154 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
42155 OVERFLOW_EXCEPTION_OK.
42156 * math/libm-test.inc ("Philosophy"): Update comment about
42157 exception testing.
42158 (OVERFLOW_EXCEPTION): Define.
42159 (OVERFLOW_EXCEPTION_OK): Likewise.
42160 (INVALID_EXCEPTION_OK): Renumber.
42161 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42162 (IGNORE_ZERO_INF_SIGN): Likewise.
42163 (test_exceptions): Handle FE_OVERFLOW.
42164 (exp10_test): Expect overflow exceptions.
42165 (exp2_test): Likewise.
42166 (expm1_test): Likewise.
42167 (nextafter_test): Likewise.
42168 (pow_test): Likewise.
42169 (scalbn_test): Likewise.
42170 (scalbln_test): Likewise.
42171
95443d88
L
421722012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42173
42174 * sysdeps/x86_64/bits/atomic.h
42175 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
42176 64bit integer.
42177 (atomic_exchange_acq): Likewise.
42178 (__arch_exchange_and_add_body): Likewise.
42179 (__arch_add_body): Likewise.
42180 (atomic_add_negative): Likewise.
42181 (atomic_add_zero): Likewise.
42182
490df6c4
L
421832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42184
c2722551 42185 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
42186 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
42187
5e52b189
L
421882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42189
42190 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
42191 Check __x86_64__ instead of __WORDSIZE.
42192
a9879d4c
L
421932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42194
42195 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
42196
5df98260
DM
421972012-03-19 David S. Miller <davem@davemloft.net>
42198
e1497744
DM
42199 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42200
5df98260
DM
42201 * sysdeps/sparc/fpu/fenv_private.h: New file.
42202 * sysdeps/sparc/fpu/math_private.h: Use it.
42203 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
42204 Remove.
57f41c40 42205 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
42206 (libc_feholdexcept_setroundl): Remove.
42207 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
42208 Remove.
42209 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
42210 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
42211
b4c35121
L
422122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42213
42214 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
42215 int64_t instead of long int.
42216 (INSERT_WORDS64): Likwise.
42217
56965fd7
L
422182012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42219
42220 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
42221 _Unwind_GetCFA return to _Unwind_Ptr first.
42222
83d1aec8
JM
422232012-03-19 Joseph Myers <joseph@codesourcery.com>
42224
1897ad44
JM
42225 [BZ #13629]
42226 * math/s_clog.c: Include <float.h>.
42227 (__clog): Scale large or subnormal inputs.
42228 * math/s_clogf.c: Likewise.
42229 * math/s_clogl.c: Likewise.
42230 * math/s_clog10.c: Include <float.h>.
42231 (M_LOG10_2): Define.
42232 (__clog10): Scale large or subnormal inputs.
42233 * math/s_clog10f.c: Likewise.
42234 * math/s_clog10l.c: Likewise.
42235 * math/libm-test.inc (clog_test): Add more tests.
42236 (clog10_test): Likewise.
42237 * sysdeps/i386/fpu/libm-test-ulps: Update.
42238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42239
7726d6a9
JM
42240 [BZ #11451]
42241 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
42242 x and y.
42243 * math/libm-test.inc (atan2_test): Add another test.
42244
83d1aec8
JM
42245 * Makerules (common-objdir-compile): Remove.
42246 * sysdeps/unix/Makefile (config-generated): Do not add
42247 $(unix-generated) to variable.
42248 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
42249 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
42250 Remove rule.
42251 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
42252 Likewise.
42253 [generic bits/local_lim.h] (before-compile): Do not append to
42254 variable.
42255 [generic bits/local_lim.h] (common-generated): Likewise.
42256 [generic sys/param.h] (before-compile): Do not append to variable.
42257 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
42258 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
42259 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
42260 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
42261 include.
42262 [generic sys/param.h] (sys/param.h-includes): Remove variable.
42263 [generic sys/param.h] (sys/param.h-includes): Remove rule.
42264 [generic sys/param.h] ($(addprefix
42265 $(common-objpfx),$(sys/param.h-includes))): Likewise.
42266 [generic sys/param.h] (common-generated): Do not append to
42267 variable.
42268 [generic sys/param.h] (sysdep_headers): Likewise.
42269 [generic bits/errno.h] (before-compile): Do not append to
42270 variable.
42271 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
42272 rule.
42273 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
42274 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
42275 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
42276 [generic bits/errno.h] (common-generated): Do not append to
42277 variable.
42278 [generic bits/ioctls.h] (before-compile): Do not append to
42279 variable.
42280 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
42281 rule.
42282 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
42283 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
42284 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
42285 rule.
42286 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
42287 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
42288 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
42289 [generic bits/ioctls.h] (common-generated): Do not append to
42290 variable.
42291 [generic sys/syscall.h] (syscall.h): Remove variable.
42292 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
42293 rule.
42294 [generic sys/syscall.h] (before-compile): Do not append to
42295 variable.
42296 [generic sys/syscall.h] (common-generated): Likewise.
42297 * sysdeps/unix/errnos-tmpl.c: Remove file.
42298 * sysdeps/unix/errnos.awk: Likewise.
42299 * sysdeps/unix/ioctls-tmpl.c: Likewise.
42300 * sysdeps/unix/ioctls.awk: Likewise.
42301 * sysdeps/unix/mk-local_lim.c: Likewise.
42302 * sysdeps/unix/snarf-ioctls: Likewise.
42303
4851a949
RH
423042012-03-19 Richard Henderson <rth@twiddle.net>
42305
bd37f2ee
RH
42306 * sysdeps/i386/fpu/fenv_private.h: New file.
42307 * sysdeps/i386/fpu/math_private.h: Use it.
42308 (math_opt_barrier, math_force_eval): Remove.
42309 (libc_feholdexcept_setround_53bit): Remove.
42310 (libc_feupdateenv_53bit): Remove.
42311 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42312 (math_opt_barrier, math_force_eval): Remove.
42313 (libc_feholdexcept): Remove.
42314 (libc_feholdexcept_setround): Remove.
42315 (libc_fetestexcept, libc_fesetenv): Remove.
42316 (libc_feupdateenv_test): Remove.
42317 (libc_feupdateenv, libc_feholdsetround): Remove.
42318 (libc_feresetround): Remove.
42319
d0adc922
RH
42320 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
42321 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
42322
0fe0f1f8
RH
42323 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
42324 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
42325 (libc_feupdateenv_testl): New.
42326 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
42327 (libc_feupdateenv_testf): New.
42328 (libc_feupdateenv): Use libc_feupdateenv_test.
42329 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
42330 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
42331
eb92c487
RH
42332 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
42333 (libc_feholdsetroundf, libc_feholdsetroundl): New.
42334 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
42335 (libc_feresetround_noex): New.
42336 (libc_feresetround_noexf): New.
42337 (libc_feresetround_noexl): New.
42338 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
42339 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
42340 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
42341 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
42342 SET_RESTORE_ROUND.
42343 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
42344 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
42345 (__cos): Likewise.
42346 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
42347 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
42348 SET_RESTORE_ROUND_NOEX.
42349 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
42350 SET_RESTORE_ROUND_NOEXF.
42351 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
42352 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
42353 (libc_feholdsetroundf): New.
42354 (libc_feresetround, libc_feresetroundf): New.
42355
7d2e8012
RH
42356 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
42357 (libc_feholdexcept_setround_53bit): Convert from macro to function.
42358 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
42359
b4dabbb4
RH
42360 * sysdeps/generic/math_private.h: Include <fenv.h>.
42361 (default_libc_feholdexcept): New.
42362 (default_libc_feholdexcept_setround): New.
42363 (default_libc_fesetenv, default_libc_feupdateenv): New.
42364 (libc_feholdexcept): Only define if undefined.
42365 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
42366 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
42367 (libc_feholdexcept_setroundl): Likewise.
42368 (libc_feholdexcept_setround_53bit): Likewise.
42369 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
42370 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
42371 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
42372 (libc_feupdateenv_53bit): Likewise.
42373 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
42374 (libc_feholdexcept): Convert from macro to inline function.
42375 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
42376 (libc_fesetenv, libc_feupdateenv): Likewise.
42377
4851a949
RH
42378 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
42379 not previously defined.
42380 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
42381 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
42382 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
42383 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
42384 * sysdeps/ieee754/flt-32/math_private.h: New file.
42385 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
42386 math_private.h below SET_FLOAT_WORD.
42387 (__isnan, __isinf_ns, __finite): Remove.
42388 (__isnanf, __isinf_nsf, __finitef): Remove.
42389
e79d442e
AS
423902012-03-18 Andreas Schwab <schwab@linux-m68k.org>
42391
42392 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42393
90b80344
DM
423942012-03-17 David S. Miller <davem@davemloft.net>
42395
42396 [BZ #6471]
42397 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
42398 for 2.16.
42399
edc21804
DM
424002012-03-16 David S. Miller <davem@davemloft.net>
42401
77e927af
DM
42402 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
42403 warnings.
42404
374976dd
DM
42405 [BZ #6471]
42406 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
42407 properly.
42408 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
42409 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
42410 sysdep_routines when subdir is sysvipc.
42411 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
42412 __getshmlba helper.
42413
edc21804
DM
42414 * sysdeps/sparc/fpu/libm-test/ulps: Update.
42415
473c3ef3
L
424162012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42417
42418 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
42419 [__LP64__].
42420
eb0f39b6
L
424212012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42422
42423 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
42424 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
42425 (__lround): Renamed to ...
42426 (__llround): This. Replace long int with long long int.
42427 Define lround functions as aliases of llround functions.
42428 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
42429
6b6cd74b
L
424302012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42431
42432 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
42433 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
42434 adresses to uintptr_t. Replace "long int" and "unsigned long
42435 int" with "greg_t" on va_arg.
42436
f1a77b01
L
424372012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42438
42439 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
42440 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
42441
42442 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
42443 Move e_machine check before EI_CLASS check. Handle x32
42444 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
42445 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
42446 SKIP_EM_IA_64 and include
42447 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
42448
42449 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
42450 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
42451 (add_system_dir): New macro.
42452
42453 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
42454 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
42455
11b90b9f
JM
424562012-03-16 Joseph Myers <joseph@codesourcery.com>
42457
c36e1d23
JM
42458 [BZ #2551]
42459 [BZ #2552]
42460 [BZ #2553]
42461 [BZ #2554]
42462 [BZ #2562]
42463 [BZ #2563]
42464 [BZ #2565]
42465 [BZ #2566]
42466 [BZ #2576]
42467 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
42468 (y0): Likewise.
42469 * math/w_j0f.c (j0f): Likewise.
42470 (y0f): Likewise.
42471 * math/w_j0l.c (__j0l): Likewise.
42472 (__y0l): Likewise.
42473 * math/w_j1.c (j1): Likewise.
42474 (y1): Likewise.
42475 * math/w_j1f.c (j1f): Likewise.
42476 (y1f): Likewise.
42477 * math/w_j1l.c (__j1l): Likewise.
42478 (__y1l): Likewise.
42479 * math/w_jn.c (jn): Likewise.
42480 (yn): Likewise.
42481 * math/w_jnf.c (jnf): Likewise.
42482 (ynf): Likewise.
42483 * math/w_jnl.c (__jnl): Likewise.
42484 (__ynl): Likewise.
42485 * math/libm-test.inc (j0_test): Add more tests.
42486 (j1_test): Likewise.
42487 (jn_test): Likewise. Add trailing semicolon to existing test.
42488 (y0_test): Likewise.
42489 (y1_test): Likewise.
42490 * sysdeps/i386/fpu/libm-test-ulps: Update.
42491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42492
11b90b9f
JM
42493 [BZ #13851]
42494 [BZ #13854]
42495 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
42496 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
42497 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
42498 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
42499 (__tanl): Set errno for infinite argument.
42500 * sysdeps/i386/fpu/mptan.c: Remove.
42501 * sysdeps/i386/fpu/s_tan.S: Likewise.
42502 * sysdeps/i386/fpu/s_tanl.S: Likewise.
42503 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
42504 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
42505 * math/libm-test.inc (tan_test): Add more tests and enable more
42506 tests for double and long double.
42507 * sysdeps/i386/fpu/libm-test-ulps: Update.
42508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42509
6a1bd2a1
JK
425102012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
42511
42512 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
42513 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
42514
10a803e0
RM
425152012-03-16 Roland McGrath <roland@hack.frob.com>
42516
42517 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
42518 * configure.in: Use it for both main tree and add-ons.
42519 * configure: Regenerated.
42520
f196c7f7
L
425212012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42522
42523 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
42524
8848d99d
JM
425252012-03-16 Joseph Myers <joseph@codesourcery.com>
42526
96cbe7f4
JM
42527 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
42528 in comment.
42529
8848d99d
JM
42530 [BZ #13851]
42531 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
42532 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
42533 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
42534 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
42535 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
42536 infinite argument.
42537 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
42538 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
42539 != 0 for prec == 2.
42540 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
42541 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
42542 * sysdeps/i386/fpu/s_cosl.S: Likewise.
42543 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
42544 * sysdeps/i386/fpu/s_sinl.S: Likewise.
42545 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
42546 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
42547 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
42548 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
42549 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
42550 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
42551 * math/libm-test.inc (cos_test): Add more tests and enable more
42552 tests for long double.
42553 (sin_test): Likewise.
42554 (sincos_test): Likewise.
42555 * sysdeps/i386/fpu/libm-test-ulps: Update.
42556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42557
dd7f4703
DM
425582012-03-16 David S. Miller <davem@davemloft.net>
42559
42560 * sysdeps/sparc/fpu/math_private.h: New file.
42561
006f1daa
DM
425622012-03-15 David S. Miller <davem@davemloft.net>
42563
c0c83bc8
DM
42564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
42565 file.
e6a62e18 42566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
42567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
42568 file.
e6a62e18
DM
42569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
42570 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
42571 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
42572 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
42573 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
42574 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
42575 sysdep routines.
42576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42577
88cb87d9
DM
42578 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
42579 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
42580
006f1daa 42581 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
42582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
42583 sparc-ifunc.h
006f1daa 42584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
42585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
42586 Likewise.
42587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
42588 Likewise.
006f1daa
DM
42589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
42590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
42591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
42592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42593 Likewise.
006f1daa
DM
42594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
42596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
42598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
42599 Likewise.
42600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
42601 Likewise.
006f1daa
DM
42602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
42604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
42605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
42606 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42607 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42608 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
42609 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
42610 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42611 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42612 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
42613 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
42614 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
42615 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
42616 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
42617 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
42618 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
42619 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
42620 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
42621 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
42622 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
42623 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
42624 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
42625 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
42626
11e0098e
AS
426272012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42628
42629 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
42630 scaling.
42631 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42632
e85b09d0
AJ
426332012-03-15 Andreas Jaeger <aj@suse.de>
42634
42635 [BZ #13852]
42636 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
42637 ieee754/flt-32 implementation for sin, cos and sincos.
42638 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
42639 * sysdeps/i386/fpu/s_cosf.S: Likewise.
42640 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
42641 * sysdeps/i386/fpu/s_sinf.S: Likewise.
42642 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
42643 ieee754/flt-32 implementation for tan.
42644
42645 * math/libm-test.inc (cos_test): Enable some large input tests for
42646 float as well
42647 (sin_test): Likewise.
42648 (sincos_test): Likewise.
42649 (tan_test): Add tests for large input.
42650
42651 * sysdeps/i386/fpu/libm-test-ulps: Update.
42652
81c64153
AJ
426532012-03-15 Andreas Jaeger <aj@suse.de>
42654
42655 [BZ #13658]
42656 * math/libm-test.inc (cos_test): Add more test cases.
42657 (sin_test): Likewise.
42658 (sincos_test): Likewise.
42659
7bbfa5c6
AJ
426602012-03-15 Andreas Jaeger <aj@suse.de>
42661
42662 [BZ #13837]
42663 * math/libm-test.inc (cos_test): Add a test case for large input
42664 value.
42665 (sin_test): Likewise.
42666 (sincos_test): Likewise.
42667
57f41c40
AS
426682012-03-15 Andreas Jaeger <aj@suse.de>
42669 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
42670
42671 [BZ #13658]
0671f479 42672 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
42673 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
42674 * sysdeps/i386/fpu/branred.c: Likewise.
42675 * sysdeps/i386/fpu/dosincos.c: Likewise.
42676 * sysdeps/i386/fpu/mpa.c: Likewise.
42677 * sysdeps/i386/fpu/s_cos.S: Likewise.
42678 * sysdeps/i386/fpu/s_sin.S: Likewise.
42679 * sysdeps/i386/fpu/s_sincos.S: Likewise.
42680 * sysdeps/i386/fpu/sincos32.c: Likewise.
42681
42682 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
42683 Define.
42684 (libc_feupdateenv_53bit): Define.
42685 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
42686 Define.
42687 (libc_feupdateenv_53bit): Define.
42688
42689 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
42690 53 bit (without extend i386 double precision).
42691
42692 * math/libm-test.inc (sincos_test): Add tests for large input.
42693 (sin): Likewise.
42694 (cos): Likewise.
42695
42696 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42697
9cad04ea
AS
426982012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42699
42700 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42701
f7062b9a
DM
427022012-03-15 David S. Miller <davem@davemloft.net>
42703
42704 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
42705 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
42706 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
42707 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
42708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
42709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
42710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
42711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
42712 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
42713 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
42714 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
42715 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
42716 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
42717 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
42718 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
42719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
42720 file.
f7062b9a 42721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
42722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
42723 file.
f7062b9a 42724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
42725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
42726 file.
f7062b9a 42727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
42728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
42729 file.
f7062b9a
DM
42730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
42731 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
42732 fmin/fmax sysdep routines.
42733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42734
7bd951ff
DM
427352012-03-14 David S. Miller <davem@davemloft.net>
42736
559398ab
DM
42737 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
42738 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
42739 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
42740 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
42741 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
42742 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
42743 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
42744 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
42745 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
42746 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
42747 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
42748 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
42749 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
42750 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
42751 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
42752 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
42753 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
42754 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
42755 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
42756 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
42757 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
42758 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
42759 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
42760 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
42761 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
42762 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
42763 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
42764 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
42765 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
42766 routines.
42767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
42768 file.
559398ab 42769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
42770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
42771 file.
559398ab 42772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
42773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
42774 file.
559398ab 42775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
42776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
42777 file.
559398ab 42778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
42779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
42780 file.
559398ab 42781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
42782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
42783 file.
42784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
42785 file.
42786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
42787 file.
42788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
42789 file.
42790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
42791 New file.
42792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
42793 file.
42794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
42795 file.
559398ab 42796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
42797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
42798 file.
559398ab 42799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
42800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
42801 file.
559398ab 42802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
42803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
42804 file.
559398ab 42805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
42806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
42807 VIS3 routines.
559398ab
DM
42808
42809 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42810 New file.
42811
5a1c1e32
DM
42812 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42813
eae47a36
DM
42814 * sysdeps/sparc/configure.in: New file.
42815 * sysdeps/sparc/configure: Generate.
42816 * configure.in (libc_cv_sparc_as_vis3): Substitute.
42817 * configure: Regenerate.
42818 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
42819 * config.make.in (have-as-vis3): New.
42820 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
42821 available use -Av9d instead of -Av9a.
42822 * sysdeps/sparc/sparc64/Makefile: Likewise.
42823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
42824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
42825 New file.
42826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
42827 file.
42828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
42829 New file.
42830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
42831 file.
eae47a36
DM
42832 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
42833 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
42834 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
42835 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
42836 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
42837
c0c83bc8
DM
42838 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
42839 fzeros/fnegs to load 0x80000000 into a float register instead of
42840 using the stack.
7bd951ff
DM
42841 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
42842
bd951ccb
JM
428432012-03-14 Joseph Myers <joseph@codesourcery.com>
42844
42845 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42846 bits/syscall.h.
42847 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
42848 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
42849 ($(inst_includedir)/bits/syscall.h): Remove rule.
42850 ($(objpfx)bits/syscall.d): Include instead of
42851 $(objpfx)syscall-list.d.
42852 (generated): Change syscall-list.h and syscall-list.d to
42853 bits/syscall.h and bits/syscall.d.
42854
bb4e6db2
RM
428552012-03-14 Roland McGrath <roland@hack.frob.com>
42856
42857 [BZ #13846]
42858 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
42859
aa4a2ae1
JM
428602012-03-14 Joseph Myers <joseph@codesourcery.com>
42861
e456826d
JM
42862 [BZ #13841]
42863 * math/s_csqrt.c: Include <float.h>.
42864 (__csqrt): Scale large or subnormal inputs.
42865 * math/s_csqrtf.c: Likewise.
42866 * math/s_csqrtl.c: Likewise.
42867 * math/libm-test.inc (csqrt_test): Add more tests.
42868 * sysdeps/i386/fpu/libm-test-ulps: Update.
42869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42870
aa4a2ae1
JM
42871 [BZ #13840]
42872 * math/libm-test.inc (hypot_test): Add more tests.
42873
7c10fd35
DM
428742012-03-13 David S. Miller <davem@davemloft.net>
42875
42876 [BZ #13840]
42877 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42878 double-precision for the calculation instead of scaling.
42879
f453b98b
JM
428802012-03-13 Joseph Myers <joseph@codesourcery.com>
42881
42882 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42883 manipulate bits before adding and subtracting TWO52[sx].
42884 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42885 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42886 Likewise.
42887 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42888
09a3453f
DM
428892012-03-13 David S. Miller <davem@davemloft.net>
42890
8e59da90
DM
42891 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42892 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42893 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42894 rtld-global-offsets.h
42895 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42896
2a8ab7f2
DM
42897 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42898 large parameters.
42899
10f62770
DM
42900 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42901
5f0bdb18
DM
42902 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42903 'err' in the ifdef scope in which it is actually used.
42904
09a3453f
DM
42905 * nss/nss_db/db-init.c: Include string.h
42906
b4b2eb5e
DM
429072012-03-12 David S. Miller <davem@davemloft.net>
42908
98bb2f1c
DM
42909 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42910 masking out of the most significant byte of random value used.
42911 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42912 Fix coding style in previous change.
42913
b4b2eb5e
DM
42914 * sysdeps/unix/sysv/linux/kernel-features.h
42915 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42916 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42917 expression.
42918 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42919 later.
42920
6e226b09
DM
429212012-03-11 David S. Miller <davem@davemloft.net>
42922
a1bcbd40
DM
42923 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42924 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42925 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42926 for 'resultvar' otherwise things get truncated on 64-bit.
42927
cb9d6174
DM
42928 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42929 Fix masking out of the most significant byte of random value used.
42930
6e226b09
DM
42931 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42932
058c132d
AS
429332012-03-10 Andreas Schwab <schwab@linux-m68k.org>
42934
42935 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42936
2d2cd515
DM
429372012-03-09 David S. Miller <davem@davemloft.net>
42938
42939 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42940 variables with appropriate CPP guards.
57f41c40
AS
42941 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42942 from the frame pointer, not the stack pointer. Correct layout
42943 comments. Fix test on resulting framesize and the management of
42944 the outregs buffer for pltexit. Preserve floating point return
42945 values across _dl_call_pltexit call.
2d2cd515
DM
42946 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42947 framesize and the management of the outregs buffer for pltexit.
42948 Preserve floating point return values across _dl_call_pltexit
42949 call.
57f41c40
AS
42950 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42951 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42952 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
42953 (print_exit): Fix format string for return register value.
42954
9a07f9d0
JM
429552012-03-10 Joseph Myers <joseph@codesourcery.com>
42956
42957 * sunrpc/Makefile (others): Add rpcgen.
42958 ($(objpfx)rpcgen): Remove special build rule and dependency on
42959 libc.
42960 * sunrpc/rpcgen.c: New file.
42961
547b5e30
PE
429622012-03-09 Paul Eggert <eggert@cs.ucla.edu>
42963
c524201a
PE
42964 [BZ #13673]
42965 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
42966 * stdio-common/bug-vfprintf-nargs.c: Likewise.
42967 * sysdeps/i386/crti.S: Likewise.
42968 * sysdeps/i386/crtn.S: Likewise.
42969 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
42970 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
42971 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
42972 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
42973 * sysdeps/sh/crti.S: Likewise.
42974 * sysdeps/sh/crtn.S: Likewise.
42975 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42976
7b6235f2
PE
42977 [BZ #13673]
42978 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
42979 with URL.
42980 * locale/programs/locfile-kw.gperf: Likewise.
42981 * locale/programs/charmap-kw.h: Regenerated.
42982 * locale/programs/locfile-kw.h: Likewise.
42983
547b5e30
PE
42984 [BZ #13673]
42985 * intl/plural.y: Replace FSF snail mail address with URL.
42986 * intl/plural.c: Regenerated.
42987
5f0a5dae
RH
429882012-03-09 Richard Henderson <rth@twiddle.net>
42989
42990 * include/math_private.h: Remove file.
42991 * math/math_private.h: Move file ...
42992 * sysdeps/generic/math_private.h: ... here.
42993
b8c03620
RH
42994 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
42995 * sysdeps/powerpc/fpu/math_private.h: Likewise.
42996 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42997
4e234f5d 42998 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
42999 and <math_private.h>.
43000 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43001 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43002 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43003 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43004 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43005 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
43006 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43007 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43008 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43009 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43010 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43011 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43012 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43013 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43014 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43015 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43016 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43017 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43018 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43019 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43020 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43021 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43022 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43023 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43024 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
43025 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43026 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43027 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43028 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43029 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43030 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43031 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43032 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
43033 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43034 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43035 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43036 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43037 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43038 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43039 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43040 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
43041 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43042 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43043 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
43044 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
43045 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43046 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
43047 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
43048 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43049 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43050 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
43051 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
43052 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
43053 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43054 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
43055 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43056 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43057 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43058 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
43059 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
43060 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43061 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
43062 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43063 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43064 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
43065 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43066 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43067 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43068 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
43069 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
43070 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
43071 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43072 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
43073 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43074 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
43075 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
43076 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
43077 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43078 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
43079 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
43080 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
43081 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
43082 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
43083 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43084 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43085 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
43086 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
43087 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
43088 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43089 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43090 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43091 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43092 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43093 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43094 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43095 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43096 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43097 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43098 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43099 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43100 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43101 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43102 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43103 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43104 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43105 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43106 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43107 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43108 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43109 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43110 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43111 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43112 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43113 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43114 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
43115 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43116 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43117 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43118 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43119 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43120 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43121 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43122 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43123 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
43124 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43125 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43126 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43127 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
43128 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43129 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
43130 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
43131 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43132 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43133 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
43134 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
43135 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43136 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43137 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43138 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
43139 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43140 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43141 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43142 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43143 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
43144 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
43145 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43146 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43147 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43148 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
43149 * sysdeps/ieee754/k_standard.c: Likewise.
43150 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43151 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43152 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43153 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43154 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43155 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43156 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43157 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43158 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43159 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43160 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43161 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43162 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43163 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43164 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43165 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43166 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
43167 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43168 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43169 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
43170 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
43171 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
43172 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43173 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43174 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
43175 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
43176 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43177 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43178 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43179 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43180 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
43181 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43182 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43183 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43184 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
43185 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43186 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43187 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
43188 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
43189 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43190 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
43191 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
43192 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
43193 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43194 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
43195 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
43196 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43197 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43198 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43199 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43200 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43201 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
43202 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43203 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
43204 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43205 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43206 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
43207 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
43208 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43209 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43210 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43211 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
43212 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43213 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43214 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43215 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43216 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43217 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43218 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43219 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43220 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43221 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43222 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43223 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43224 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43225 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43226 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
43227 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43228 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43229 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
43230 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
43231 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
43232 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43233 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43234 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
43235 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43236 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43237 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
43238 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43239 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43240 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
43241 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43242 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43243 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
43244 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43245 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43246 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
43247 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43248 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43249 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
43250 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43251 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43252 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43253 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43254 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
43255 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43256 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43257 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43258 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
43259 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43260 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43261 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43262 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43263 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43264 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43265 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43266 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43267 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43268 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43269 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43270 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43271 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43272 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43273 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43274 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43275 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
43276 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43277 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43278 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43279 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43280 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43281 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43282 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43283 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43284 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43285 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43286 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
43287 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43288 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43289 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
43290 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
43291 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43292 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
43293 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
43294 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43295 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43296 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43297 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43298 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43299 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
43300 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43301 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43302 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43303 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43304 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
43305 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
43306 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43307 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43308 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43309 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43310 * sysdeps/ieee754/s_lib_version.c: Likewise.
43311 * sysdeps/ieee754/s_matherr.c: Likewise.
43312 * sysdeps/ieee754/s_signgam.c: Likewise.
43313 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43314 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43315 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
43316 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
43317 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
43318 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
43319 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
43320 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
43321 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
43322 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
43323 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
43324 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
43325 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43326 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43327 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
43328 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
43329 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43330 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
43331 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43332 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43333 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 43334
1991fa03
JM
433352012-03-09 Joseph Myers <joseph@codesourcery.com>
43336
43337 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
43338 * sunrpc/rpc_main.c: Likewise.
43339 * sunrpc/rpc_svcout.c: Likewise.
43340
60d6f5a6
DM
433412012-03-09 David S. Miller <davem@davemloft.net>
43342
43343 * include/math_private.h: New file.
43344
4962050e
JM
433452012-03-09 Joseph Myers <joseph@codesourcery.com>
43346
02a6f887
JM
43347 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
43348 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
43349 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
43350 from <bits/socket_type.h>.
43351 (enum __socket_type): Don't define here.
43352 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
43353 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43354 bits/socket_type.h.
43355
c6e013c1
JM
43356 [BZ #13566]
43357 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
43358 checking __USE_GNU.
43359
4962050e
JM
43360 * Makerules ($(inst_includedir)/%.h): New rule.
43361 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
43362 (install-others): Remove variable setting.
43363 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
43364
38842f45
RH
433652012-03-08 Richard Henderson <rth@twiddle.net>
43366
67bb6da6
RH
43367 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
43368 from macro to inline function; merge with the
43369 !__LIBC_INTERNAL_MATH_INLINES version.
43370 (__ieee754_sqrtf): Likewise.
43371
15194b4b
RH
43372 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
43373 to inline function.
43374 (__rintf, __floor, __floorf): Likewise.
43375
64e21ede
RH
43376 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
43377 macro to inline function.
43378 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
43379
38842f45
RH
43380 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
43381 not <math/math_private.h>.
43382
c64bf5fe
DM
433832012-03-08 David S. Miller <davem@davemloft.net>
43384
43385 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
43386 copyright year.
43387 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
43388
82d86f28
TS
433892012-03-08 Thomas Schwinge <thomas@codesourcery.com>
43390
43391 * resolv/gai_misc.c (handle_requests): Fix struct timespec
43392 normalization.
43393 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
43394 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
43395
aea5d727
UD
433962012-03-08 Ulrich Drepper <drepper@gmail.com>
43397
43398 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
43399 be defined individually, they must be defined as a block. Define
43400 S for printing a string instead of hidint the different by using a
43401 macro for adding the 'l'.
43402 * stdio-common/tst-fphex-wide.c: Adjust.
43403
70bca0a3
MP
434042012-03-07 Marek Polacek <polacek@redhat.com>
43405
43406 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
43407
65b81130
MP
434082012-03-08 Marek Polacek <polacek@redhat.com>
43409
43410 [BZ #13806]
43411 * stdio-common/Makefile (tests): Add tst-fphex-wide.
43412 * stdio-common/tst-fphex.c: Define a few macros to make the
43413 test reusable. Use them.
43414 * stdio-common/tst-fphex-wide.c: New file.
43415
07037eeb
JM
434162012-03-08 Joseph Myers <joseph@codesourcery.com>
43417
a7a93d50
JM
43418 [BZ #6911]
43419 * manual/macros.texi (gnusystems): New macro.
43420 (nongnusystems): Likewise.
43421 (gnulinuxhurdsystems): Likewise.
43422 (gnuhurdsystems): Likewise..
43423 (gnulinuxsystems): Likewise.
43424 * manual/charset.texi: Use new macros or @theglibc{} to refer to
43425 variants of the GNU system, not "GNU system".
43426 * manual/conf.texi: Likewise.
43427 * manual/errno.texi: Likewise. Update example of errno macro
43428 expansion.
43429 * manual/filesys.texi: Likewise.
43430 (getumask): Document as specific to GNU/Hurd.
43431 * manual/install.texi: Likewise. Reword some references to
43432 GNU/Linux.
43433 * manual/intro.texi: Likewise.
43434 * manual/io.texi: Likewise.
43435 (File Name Portability): Detail which constraints are inapplicable
43436 to all GNU systems and which are only inapplicable to GNU/Hurd.
43437 * manual/job.texi: Likewise.
43438 * manual/llio.texi: Likewise.
43439 (O_NOCTTY): Document as present on GNU/Linux.
43440 * manual/maint.texi: Likewise.
43441 * manual/memory.texi: Likewise.
43442 * manual/pattern.texi: Likewise.
43443 * manual/pipe.texi: Likewise.
43444 * manual/process.texi: Likewise.
43445 * manual/resource.texi: Likewise.
43446 (RUSAGE_CHILDREN): Remove statement about specifying a particular
43447 child on GNU/Hurd.
43448 * manual/setjmp.texi: Likewise.
43449 * manual/signal.texi: Likewise.
43450 * manual/startup.texi: Likewise.
43451 * manual/stdio.texi: Likewise.
43452 * manual/terminal.texi: Likewise.
43453 (ONLCR): Document as POSIX.
43454 (OXTABS): Document availability on GNU/Linux as XTABS.
43455 (ONOEOT): Document availability separately from other bits.
43456 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
43457 * manual/time.texi: Likewise.
43458 * manual/users.texi: Likewise.
43459 * INSTALL: Regenerated.
43460 * sysdeps/gnu/errlist.c: Regenerated.
43461
07037eeb
JM
43462 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
43463 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
43464 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
43465 puts.
43466 * configure: Regenerated.
43467
d1d3431a
JM
434682012-03-07 Joseph Myers <joseph@codesourcery.com>
43469
af6a1e37
JM
43470 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
43471 default includes instead of AC_HEADER_CHECK.
43472 * sysdeps/i386/configure: Regenerated.
43473
d1d3431a
JM
43474 [BZ #10716]
43475 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
43476 * math/s_cacoshf.c (__cacoshf): Likewise.
43477 * math/s_cacoshl.c (__cacoshl): Likewise.
43478 * math/s_casinh.c (__casinh): Set signs of result from argument.
43479 * math/s_casinhf.c (__casinhf): Likewise.
43480 * math/s_casinhl.c (__casinhl): Likewise.
43481 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
43482 (casinh_test): Add more tests.
43483 * sysdeps/i386/fpu/libm-test-ulps: Update.
43484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43485
482ff4da
UD
434862012-03-07 Ulrich Drepper <drepper@gmail.com>
43487
872fda05
UD
43488 * po/zh_TW.po: Update from translation team.
43489
a4300c7a
UD
43490 * login/Makefile (distribute): Remove variable.
43491 * catgets/Makefile: Likewise.
43492 * mach/Makefile: Likewise.
43493 * malloc/Makefile: Likewise.
43494 * misc/Makefile: Likewise.
43495 * iconv/Makefile: Likewise.
43496 * nscd/Makefile: Likewise.
43497 * hurd/Makefile: Likewise.
43498 * manual/Makefile: Likewise.
43499 * locale/Makefile: Likewise.
43500 * intl/Makefile: Likewise.
43501 * conform/Makefile: Likewise.
43502 * nss/Makefile: Likewise.
43503 * time/Makefile: Likewise.
43504 * soft-fp/Makefile: Likewise.
43505 * dirent/Makefile: Likewise.
43506 * gmon/Makefile: Likewise.
43507 * po/Makefile: Likewise.
43508 * rt/Makefile: Likewise.
43509 * socket/Makefile: Likewise.
43510 * math/Makefile: Likewise.
43511 * signal/Makefile: Likewise.
43512 * debug/Makefile: Likewise.
43513 * elf/Makefile: Likewise.
43514 * timezone/Makefile: Likewise.
43515 * stdlib/Makefile: Likewise.
43516 * iconvdata/Makefile: Likewise.
43517 * sunrpc/Makefile: Likewise.
43518 * io/Makefile: Likewise.
43519 * argp/Makefile: Likewise.
43520 * inet/Makefile: Likewise.
43521 * hesiod/Makefile: Likewise.
43522 * grp/Makefile: Likewise.
43523 * csu/Makefile: Likewise.
43524 * wctype/Makefile: Likewise.
43525 * crypt/Makefile: Likewise.
43526 * libio/Makefile: Likewise.
43527 * string/Makefile: Likewise.
43528 * nis/Makefile: Likewise.
43529 * resolv/Makefile: Likewise.
43530 * stdio-common/Makefile: Likewise.
43531 * wcsmbs/Makefile: Likewise.
43532 * dlfcn/Makefile: Likewise.
43533 * posix/Makefile: Likewise.
43534
3b7c4e74 43535 [BZ #6959]
482ff4da
UD
43536 * timezone/Makefile: Don't install timezone files, just the programs
43537 and scripts.
43538
f72ed77d
UD
435392012-03-06 Ulrich Drepper <drepper@gmail.com>
43540
a000466f
UD
43541 * nss/databases.def: Add missing gshadow entry.
43542
f72ed77d
UD
43543 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
43544
a53b7a4e
MP
435452012-03-06 Marek Polacek <polacek@redhat.com>
43546
43547 [BZ #13726]
43548 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
43549 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43550 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
43551 * stdio-common/tst-long-dbl-fphex.c: New file.
43552
e9258400
DM
435532012-03-06 David S. Miller <davem@davemloft.net>
43554
43555 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43556 (set_obp_int): New function.
43557 (get_obp_int): New function.
43558 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
43559 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
43560 Avoid unused variable warnings on 'val' and use builtin_expect.
43561 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
43562 __builtin_expect.
e9258400
DM
43563 (INLINE_CLONE_SYSCALL): Likewise.
43564
3bd2c723
DM
435652012-03-05 David S. Miller <davem@davemloft.net>
43566
43567 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43568
bbb78d03
AS
435692012-03-05 Andreas Schwab <schwab@linux-m68k.org>
43570
884c5db4
AS
43571 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43572
bbb78d03
AS
43573 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
43574 only for |x| >= 40.
43575 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43576
1c9f702a 435772012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
43578
43579 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
43580 Replace gettimeofday with __vdso_gettimeofday.
43581
7be16f82
RM
43582 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43583 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
43584 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
43585
43586 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
43587 time with __vdso_time.
43588
ed58a00f
JM
435892012-03-05 Joseph Myers <joseph@codesourcery.com>
43590
43591 * manual/lang.texi (size_t): Note types to which size_t may be
43592 equivalent with the GNU C Library, but do not describe when
43593 differences between them are significant.
43594
30ee4ced
AJ
435952012-03-05 Andreas Jaeger <aj@suse.de>
43596
43597 * sysdeps/i386/fpu/libm-test-ulps: Update.
43598
b7cd39e8
JM
435992012-03-05 Joseph Myers <joseph@codesourcery.com>
43600
43601 [BZ #3976]
43602 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
43603 (__ieee754_pow): Save and restore rounding mode and use
43604 round-to-nearest for main computations.
43605 * math/libm-test.inc (pow_test_tonearest): New function.
43606 (pow_test_towardzero): Likewise.
43607 (pow_test_downward): Likewise.
43608 (pow_test_upward): Likewise.
43609 (main): Call the new functions.
43610 * sysdeps/i386/fpu/libm-test-ulps: Update.
43611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
43612
43613 [BZ #3976]
43614 * math/libm-test.inc (cosh_test_tonearest): New function.
43615 (cosh_test_towardzero): Likewise.
43616 (cosh_test_downward): Likewise.
43617 (cosh_test_upward): Likewise.
43618 (sinh_test_tonearest): Likewise.
43619 (sinh_test_towardzero): Likewise.
43620 (sinh_test_downward): Likewise.
43621 (sinh_test_upward): Likewise.
43622 (main): Call the new functions.
43623 * sysdeps/i386/fpu/libm-test-ulps: Update.
43624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43625
6c6a98c9
TV
436262012-03-05 Tom de Vries <tom@codesourcery.com>
43627
43628 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
43629 default stack guard is set in last bytes.
43630 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
43631
21bb2d2e 436322012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 43633
21bb2d2e 43634 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 43635
21bb2d2e
AJ
43636 [BZ #13656]
43637 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
43638 possibly allocate from heap instead of stack.
43639 * stdio-common/bug-vfprintf-nargs.c: New file.
43640 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 43641
c6922934
AS
436422012-03-03 Andreas Schwab <schwab@linux-m68k.org>
43643
43644 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43645
bc957d53
MP
436462012-03-03 Marek Polacek <polacek@redhat.com>
43647
43648 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
43649 * math/math_private.h: Likewise.
43650 * stdlib/tst-strtod.c: Likewise.
43651 * sysdeps/i386/i486/bits/atomic.h: Likewise.
43652 * sysdeps/x86_64/bits/atomic.h: Likewise.
43653
6358490d
DM
436542012-03-02 David S. Miller <davem@davemloft.net>
43655
43656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
43657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
43658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
43659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
43660 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
43661 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
43662 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
43663 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
43664
01ae168d
RM
436652012-03-02 Roland McGrath <roland@hack.frob.com>
43666
d9a17c07
RM
43667 [BZ #13792]
43668 * manual/examples/README: New file, says the example source files
43669 can be used under GPL>=2.
43670 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
43671 line containing just "*/".
43672 * manual/examples/add.c: Add copyright header (GPL>=2).
43673 * manual/examples/argp-ex1.c: Likewise.
43674 * manual/examples/argp-ex2.c: Likewise.
43675 * manual/examples/argp-ex3.c: Likewise.
43676 * manual/examples/argp-ex4.c: Likewise.
43677 * manual/examples/atexit.c: Likewise.
43678 * manual/examples/db.c: Likewise.
43679 * manual/examples/dir.c: Likewise.
43680 * manual/examples/dir2.c: Likewise.
43681 * manual/examples/execinfo.c: Likewise.
43682 * manual/examples/filecli.c: Likewise.
43683 * manual/examples/filesrv.c: Likewise.
43684 * manual/examples/fmtmsgexpl.c: Likewise.
43685 * manual/examples/genpass.c: Likewise.
43686 * manual/examples/inetcli.c: Likewise.
43687 * manual/examples/inetsrv.c: Likewise.
43688 * manual/examples/isockad.c: Likewise.
43689 * manual/examples/longopt.c: Likewise.
43690 * manual/examples/memopen.c: Likewise.
43691 * manual/examples/memstrm.c: Likewise.
43692 * manual/examples/mkfsock.c: Likewise.
43693 * manual/examples/mkisock.c: Likewise.
43694 * manual/examples/mygetpass.c: Likewise.
43695 * manual/examples/pipe.c: Likewise.
43696 * manual/examples/popen.c: Likewise.
43697 * manual/examples/rprintf.c: Likewise.
43698 * manual/examples/search.c: Likewise.
43699 * manual/examples/select.c: Likewise.
43700 * manual/examples/setjmp.c: Likewise.
43701 * manual/examples/sigh1.c: Likewise.
43702 * manual/examples/sigusr.c: Likewise.
43703 * manual/examples/stpcpy.c: Likewise.
43704 * manual/examples/strdupa.c: Likewise.
43705 * manual/examples/strftim.c: Likewise.
43706 * manual/examples/strncat.c: Likewise.
43707 * manual/examples/subopt.c: Likewise.
43708 * manual/examples/swapcontext.c: Likewise.
43709 * manual/examples/termios.c: Likewise.
43710 * manual/examples/testopt.c: Likewise.
43711 * manual/examples/testpass.c: Likewise.
43712 * manual/examples/timeval_subtract.c: Likewise.
43713
01ae168d
RM
43714 [BZ #13792]
43715 * manual/time.texi (Elapsed Time): Move timeval_subtract example
43716 function to ...
43717 * manual/timeval_subtract.c.texi: ... here, new file.
43718
49efa33d
DM
437192012-03-02 David S. Miller <davem@davemloft.net>
43720
43721 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
43722
28afd92d
JM
437232012-03-02 Joseph Myers <joseph@codesourcery.com>
43724
804360ed
JM
43725 [BZ #3976]
43726 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
43727 (__sin): Save and restore rounding mode and use round-to-nearest
43728 for all computations.
43729 (__cos): Save and restore rounding mode and use round-to-nearest
43730 for all computations.
43731 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
43732 <fenv.h>.
43733 (tan): Save and restore rounding mode and use round-to-nearest for
43734 all computations.
43735 * math/libm-test.inc (cos_test_tonearest): New function.
43736 (cos_test_towardzero): Likewise.
43737 (cos_test_downward): Likewise.
43738 (cos_test_upward): Likewise.
43739 (sin_test_tonearest): Likewise.
43740 (sin_test_towardzero): Likewise.
43741 (sin_test_downward): Likewise.
43742 (sin_test_upward): Likewise.
43743 (tan_test_tonearest): Likewise.
43744 (tan_test_towardzero): Likewise.
43745 (tan_test_downward): Likewise.
43746 (tan_test_upward): Likewise.
43747 (main): Call the new functions.
43748 * sysdeps/i386/fpu/libm-test-ulps: Update.
43749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43750
a6d06d7b
JM
43751 [BZ #10135]
43752 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
43753 small n, then large n, before computing and testing k+n.
43754 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43755 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
43756 Likewise.
43757 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
43758 Likewise.
43759 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
43760 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
43761 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
43762 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
43763 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43764 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43765 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
43766 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
43767 * math/libm-test.inc (scalbn_test): Add more tests.
43768 (scalbln_test): Likewise.
43769
07e12bb3
JM
43770 * manual/filesys.texi (mode_t): Describe constraints on size and
43771 signedness, not exact equivalence to a particular type.
43772 (ino_t): Likewise.
43773 (ino64_t): Likewise.
43774 (dev_t): Likewise.
43775 (nlink_t): Likewise.
43776 (blkcnt_t): Likewise.
43777 (blkcnt64_t): Likewise.
43778 * manual/llio.texi (off_t): Likewise.
43779
28afd92d
JM
43780 [BZ #3976]
43781 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
43782 (__ieee754_exp): Save and restore rounding mode and use
43783 round-to-nearest for all computations.
43784 * math/libm-test.inc (exp_test_tonearest): New function.
43785 (exp_test_towardzero): Likewise.
43786 (exp_test_downward): Likewise.
43787 (exp_test_upward): Likewise.
43788 (main): Call the new functions.
43789 * sysdeps/i386/fpu/libm-test-ulps: Update.
43790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43791
b1eeb65d
CD
437922012-03-01 Chris Demetriou <cgd@google.com>
43793
43794 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
43795 have predictable order.
43796
53362a4b
DM
437972012-03-01 David S. Miller <davem@davemloft.net>
43798
3c969083
DM
43799 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
43800
759707de
DM
43801 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
43802 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
43803 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
43804 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
43805
dfdb8ff2
DM
43806 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
43807 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
43808 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
43809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
43810 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
43811 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
43812 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
43813 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
43814 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
43815
ead89f96
DM
43816 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43817
7f66bd07
DM
43818 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
43819 * sysdeps/sparc/fpu/libm-test-ulps: to here.
43820 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
43821
53362a4b
DM
43822 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
43823 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43824 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43825 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
43826 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
43827 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
43828 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
43829 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43830 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43831 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
43832 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
43833 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43834 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43835 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43836 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43837 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43838 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
43839 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
43840 * sysdeps/sparc/elf/configure: Regenerated.
43841
7b1902cb
JM
438422012-03-01 Joseph Myers <joseph@codesourcery.com>
43843
bec039bc
JM
43844 * configure.in (AS, LD): Require binutils 2.20 or later.
43845 * configure: Regenerated.
43846 * manual/install.texi (Tools for Compilation): Give binutils 2.20
43847 as required minimum version.
43848 * INSTALL: Regenerated.
43849
7b1902cb
JM
43850 [BZ #2541]
43851 [BZ #4108]
43852 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
43853 before squaring exponent.
43854 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
43855 bottom long double and 27 bits of top long double before squaring
43856 exponent.
43857 * math/libm-test.inc (erfc_test): Add more tests.
43858 * sysdeps/i386/fpu/libm-test-ulps: Update.
43859 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43861
f775c276
KT
438622012-03-01 Kai Tietz <ktietz@redhat.com>
43863
43864 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
43865 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
43866 containing bit-fields.
43867 * soft-fp/extended.h (_FP_UNION_E): Likewise.
43868 * soft-fp/single.h (_FP_UNION_S): Likewise.
43869 * soft-fp/double.h (_FP_UNION_D): Likewise.
43870
5b8a4d4a
JM
438712012-02-29 Joseph Myers <joseph@codesourcery.com>
43872
0bab47b6
JM
43873 [BZ #13786]
43874 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43875 not include ../strcmp.S.
43876 [USE_AS_STRNCASECMP_L]: Likewise.
43877 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43878 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43879 * sysdeps/i386/i686/multiarch/strncase_l-c.c
43880 (__strncasecmp_l_ia32): Define as alias to
43881 __strncasecmp_l_nonascii.
43882
0fcad3e2
JM
43883 [BZ #5794]
43884 * math/libm-test.inc (expm1_test): Add test for bug 5794.
43885 * sysdeps/i386/fpu/libm-test-ulps: Update.
43886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43887
5b8a4d4a
JM
43888 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43890
8fdceb2e
JL
438912012-02-29 Jeff Law <law@redhat.com>
43892
43893 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43894 out of bounds read.
43895
1f393a11
MP
438962012-02-29 Marek Polacek <polacek@redhat.com>
43897
43898 [BZ #13706]
43899 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43900 * elf/Makefile: Add rules to run tst-unused-dep.out.
43901
8847f037
DM
439022012-02-28 David S. Miller <davem@davemloft.net>
43903
43904 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43905 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43906 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43907 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43908 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43909 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43910
169d7f11
JM
439112012-02-29 Joseph Myers <joseph@codesourcery.com>
43912
43913 * math/libm-test.inc (llround_test): Move one test from
43914 lround_test. Use TEST_f_L in moved test.
43915 (lround_test): Move misplaced test to llround_test. Add testcase
43916 from bug 2561.
43917
39adf059
UD
439182012-02-28 Ulrich Drepper <drepper@gmail.com>
43919
43920 * sysdeps/x86_64/fpu/e_expf.S: New file.
43921 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43922
71b5d1c5
SB
439232012-02-28 Stanislav Brabec <sbrabec@suse.cz>
43924
43925 [BZ #13637]
43926 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43927 of remain_len that may cause incomplete multi-byte character and
43928 false match.
43929 * posix/bug-regex33.c: New file.
43930 * posix/Makefile (tests): Add bug-regex33.
43931
1f77f049
JM
439322012-02-28 Joseph Myers <joseph@codesourcery.com>
43933
43934 * manual/macros.texi: New file.
43935 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43936 * manual/libc.texinfo: Include macros.texi.
43937 * manual/creatute.texi: Likewise.
43938 * manual/install.texi: Likewise.
43939 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43940 @glibcadj{} in references to the GNU C Library.
43941 * manual/charset.texi: Likewise.
43942 * manual/conf.texi: Likewise.
43943 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
43944 when not using those macros.
43945 * manual/creature.texi: Likewise.
43946 * manual/crypt.texi: Likewise.
43947 * manual/errno.texi: Likewise.
43948 * manual/filesys.texi: Likewise.
43949 * manual/header.texi: Likewise.
43950 * manual/install.texi: Likewise.
43951 * manual/intro.texi: Likewise.
43952 * manual/io.texi: Likewise.
43953 * manual/job.texi: Likewise.
43954 * manual/lang.texi: Likewise.
43955 * manual/libc.texiinfo: Likewise.
43956 * manual/llio.texi: Likewise.
43957 * manual/locale.texi: Likewise.
43958 * manual/maint.texi: Likewise.
43959 * manual/math.texi: Likewise.
43960 * manual/memory.texi: Likewise.
43961 * manual/message.texi: Likewise.
43962 * manual/nss.texi: Likewise.
43963 * manual/pattern.texi: Likewise.
43964 * manual/process.texi: Likewise.
43965 * manual/resource.texi: Likewise.
43966 * manual/search.texi: Likewise.
43967 * manual/setjmp.texi: Likewise.
43968 * manual/signal.texi: Likewise.
43969 * manual/socket.texi: Likewise.
43970 * manual/startup.texi: Likewise.
43971 * manual/stdio.texi: Likewise.
43972 * manual/string.texi: Likewise.
43973 * manual/sysinfo.texi: Likewise.
43974 * manual/syslog.texi: Likewise.
43975 * manual/terminal.texi: Likewise.
43976 * manual/time.texi: Likewise.
43977 * manual/users.texi: Likewise.
43978 * INSTALL: Regenerated.
43979 * NOTES: Regenerated.
d40c5d54 43980 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 43981
450bf206
AS
439822012-02-28 Andreas Schwab <schwab@linux-m68k.org>
43983
43984 * include/dirent.h: Include <dirstream.h> before
43985 <dirent/dirent.h>.
43986
741a235b
DM
439872012-02-28 David S. Miller <davem@davemloft.net>
43988
43989 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
43990 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
43991 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
43992 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
43993
d6b5aa58
DM
439942012-02-27 David S. Miller <davem@davemloft.net>
43995
1aff59a3
DM
43996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
43997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
43998 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
43999 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
44000
d6b5aa58
DM
44001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
44002 frame pointer instead of stack pointer relative arg slot.
44003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
44004 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
44005 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
44006
433f48bf
CD
440072012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
44008
44009 [BZ #3992]
44010 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
44011
d674b76d
DM
440122012-02-27 David S. Miller <davem@davemloft.net>
44013
44014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
44015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
44016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
44018 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
44019 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
44020 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
44021 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
44022
0e7727f7
JM
440232012-02-27 Joseph Myers <joseph@codesourcery.com>
44024
44025 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
44026 later. Allow versions 5-9.
43be4ca2 44027 * configure: Regenerated.
0e7727f7
JM
44028 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
44029 required minimum version and 4.6 as recommended version. Do not
44030 mention bugs in GCC 2.7 and 2.8.
43be4ca2 44031 * INSTALL: Regenerated.
0e7727f7 44032
a78bc654
DM
440332012-02-27 David S. Miller <davem@davemloft.net>
44034
428d5830
DM
44035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
44036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
44037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
44038 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
44039 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
44040 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
44041 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
44042 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
44043
a78bc654
DM
44044 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
44045 manipulate bits before adding and subtracting TWO112[sx].
44046 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
44047
4579f81c
RM
440482012-02-27 Roland McGrath <roland@hack.frob.com>
44049
36c8acb4
RM
44050 [BZ #13775]
44051 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
44052 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
44053 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
44054 being in POSIX, because they are in 1003.1-2008.
44055
84ad622b
RM
44056 * rt/tst-aio.c: Include <fcntl.h>.
44057 * rt/tst-aio7.c: Likewise.
44058 * rt/tst-aio64.c: Likewise.
44059
4579f81c
RM
44060 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
44061
abd923db
JM
440622012-02-27 Joseph Myers <joseph@codesourcery.com>
44063
44064 * manual/install.texi (--with-headers): Describe headers as
44065 interface headers, not private headers.
44066 (Specific advice for GNU/Linux systems): Describe use of headers
44067 from "make headers_install", not private headers from older
44068 kernels.
43be4ca2 44069 * INSTALL: Regenerated.
abd923db
JM
44070 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
44071 Change to 2.6.19.
44072 * sysdeps/unix/sysv/linux/configure: Regenerated.
44073
6664049b
JM
44074 * manual/llio.texi (fclean): Remove documentation.
44075
bb8b6697
JM
44076 * manual/Makefile (libc-texi-generated): New variable. Include
44077 version.texi.
44078 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
44079 $(libc-texi-generated), not duplicated list of files.
44080 (version.texi, stamp-version): New rules.
44081 (realclean): Remove $(libc-texi-generated), not individual files
44082 from that list. Do not remove dir-add.texinfo.
44083 * manual/libc.texinfo: Comment out uses of edition numbers and
44084 references to printed manual. Remove last-updated dates.
44085 (EDITION): Comment out.
44086 (ISBN): Likewise.
44087 (VERSION, UPDATED): Remove.
44088 (version.texi): Include.
44089
12e5c3b9
AS
440902012-02-27 Andreas Schwab <schwab@linux-m68k.org>
44091
44092 * sysdeps/posix/spawni.c: Include <signal.h>.
44093 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
44094 * sysdeps/pthread/aio_fsync.c: Likewise.
44095
4efeffc1 440962012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 44097
ba63ba08
UD
44098 * conform/Makefile (tests): Run only when not cross-compiling and
44099 when fast-check is not defined.
44100
d94a4670
UD
44101 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
44102 * conform/data/limits.h-data: Fixes for POSIX2008.
44103 * conform/run-conformtest.sh: Run all tests.
44104 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
44105 headers.
44106 * include/bits/dlfcn.h: Likewise.
44107 * include/langinfo.h: Likewise.
44108 * include/monetary.h: Likewise.
44109 * include/sys/poll.h: Likewise.
44110
44111 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
44112 for __USE_GNU.
44113 * posix/spawn.h: Define __need_sigset_t.
44114 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
44115 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
44116 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
44117 to get sigevent_t only.
44118 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
44119 only for __USE_GNU.
44120 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44121 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44122 process_vm_writev only for __USE_GNU.
44123 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
44124
44125 * conform/Makefile: For now ignore errors from run-conformtest.
44126 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
44127 POSIX to avoid namespace pollution. Don't prepend headers.
44128 * conform/data/aio.h-data: Fixes for POSIX testing.
44129 * conform/data/fcntl.h-data: Likewise.
44130 * conform/data/glob.h-data: Likewise.
44131 * conform/data/grp.h-data: Likewise.
44132 * conform/data/pthread.h-data: Likewise.
44133 * conform/data/pwd.h-data: Likewise.
44134 * conform/data/signal.h-data: Likewise.
44135 * conform/data/spawn.h-data: Likewise.
44136 * conform/data/stdio.h-data: Likewise.
44137 * conform/data/stdlib.h-data: Likewise.
44138 * conform/data/stropts.h-data: Likewise.
44139 * conform/data/sys/mman.h-data: Likewise.
44140 * conform/data/sys/stat.h-data: Likewise.
44141 * conform/data/sys/types.h-data: Likewise.
44142 * conform/data/sys/wait.h-data: Likewise.
44143 * conform/data/time.h-data: Likewise.
44144 * conform/data/unistd.h-data: Likewise.
44145 * conform/data/utime.h-data: Likewise.
44146
44147 * io/sys/stat.h: fchmod was always in POSIX.
44148 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
44149 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
44150 * rt/aio.h: Define __need_timespec before including <time.h>.
44151 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
44152 struct. Add forward declaration of pthread_attr_t and use it in
44153 sigevent.
44154 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44155 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44156 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
44157 always remove CLK_TCK definition.
44158
c20105c3
AS
441592012-02-26 Andreas Schwab <schwab@linux-m68k.org>
44160
44161 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
44162
7a270350
UD
441632012-02-25 Ulrich Drepper <drepper@gmail.com>
44164
31341567
UD
44165 * conform/run-conformtest.sh: New file.
44166 * conform/Makefile: Run run-conformtest for tests.
44167 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
44168 support.
44169
44170 * conform/data/uchar.h-data: New file.
44171 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
44172 * conform/data/arpa/inet.h-data: Likewise.
44173 * conform/data/assert.h-data: Likewise.
44174 * conform/data/complex.h-data: Likewise.
44175 * conform/data/cpio.h-data: Likewise.
44176 * conform/data/ctype.h-data: Likewise.
44177 * conform/data/dirent.h-data: Likewise.
44178 * conform/data/dlfcn.h-data: Likewise.
44179 * conform/data/errno.h-data: Likewise.
44180 * conform/data/fcntl.h-data: Likewise.
44181 * conform/data/float.h-data: Likewise.
44182 * conform/data/fmtmsg.h-data: Likewise.
44183 * conform/data/fnmatch.h-data: Likewise.
44184 * conform/data/ftw.h-data: Likewise.
44185 * conform/data/glob.h-data: Likewise.
44186 * conform/data/grp.h-data: Likewise.
44187 * conform/data/iconv.h-data: Likewise.
44188 * conform/data/inttypes.h-data: Likewise.
44189 * conform/data/langinfo.h-data: Likewise.
44190 * conform/data/libgen.h-data: Likewise.
44191 * conform/data/limits.h-data: Likewise.
44192 * conform/data/locale.h-data: Likewise.
44193 * conform/data/math.h-data: Likewise.
44194 * conform/data/monetary.h-data: Likewise.
44195 * conform/data/mqueue.h-data: Likewise.
44196 * conform/data/ndbm.h-data: Likewise.
44197 * conform/data/net/if.h-data: Likewise.
44198 * conform/data/netdb.h-data: Likewise.
44199 * conform/data/netinet/in.h-data: Likewise.
44200 * conform/data/nl_types.h-data: Likewise.
44201 * conform/data/poll.h-data: Likewise.
44202 * conform/data/pthread.h-data: Likewise.
44203 * conform/data/pwd.h-data: Likewise.
44204 * conform/data/regex.h-data: Likewise.
44205 * conform/data/sched.h-data: Likewise.
44206 * conform/data/search.h-data: Likewise.
44207 * conform/data/semaphore.h-data: Likewise.
44208 * conform/data/setjmp.h-data: Likewise.
44209 * conform/data/signal.h-data: Likewise.
44210 * conform/data/spawn.h-data: Likewise.
44211 * conform/data/stdarg.h-data: Likewise.
44212 * conform/data/stdio.h-data: Likewise.
44213 * conform/data/stdlib.h-data: Likewise.
44214 * conform/data/string.h-data: Likewise.
44215 * conform/data/strings.h-data: Likewise.
44216 * conform/data/stropts.h-data: Likewise.
44217 * conform/data/sys/ipc.h-data: Likewise.
44218 * conform/data/sys/mman.h-data: Likewise.
44219 * conform/data/sys/msg.h-data: Likewise.
44220 * conform/data/sys/resource.h-data: Likewise.
44221 * conform/data/sys/select.h-data: Likewise.
44222 * conform/data/sys/sem.h-data: Likewise.
44223 * conform/data/sys/shm.h-data: Likewise.
44224 * conform/data/sys/socket.h-data: Likewise.
44225 * conform/data/sys/stat.h-data: Likewise.
44226 * conform/data/sys/statvfs.h-data: Likewise.
44227 * conform/data/sys/time.h-data: Likewise.
44228 * conform/data/sys/timeb.h-data: Likewise.
44229 * conform/data/sys/times.h-data: Likewise.
44230 * conform/data/sys/types.h-data: Likewise.
44231 * conform/data/sys/uio.h-data: Likewise.
44232 * conform/data/sys/un.h-data: Likewise.
44233 * conform/data/sys/utsname.h-data: Likewise.
44234 * conform/data/sys/wait.h-data: Likewise.
44235 * conform/data/syslog.h-data: Likewise.
44236 * conform/data/tar.h-data: Likewise.
44237 * conform/data/termios.h-data: Likewise.
44238 * conform/data/utime.h-data: Likewise.
44239 * conform/data/utmpx.h-data: Likewise.
44240 * conform/data/varargs.h-data: Likewise.
44241 * conform/data/wchar.h-data: Likewise.
44242 * conform/data/wctype.h-data: Likewise.
44243 * conform/data/wordexp.h-data: Likewise.
44244
44245 * include/stropts.h: New file.
44246 * include/uchar.h: New file.
44247 * include/aio.h: Changes to allow conformtest.pl to use the headers.
44248 * include/assert.h: Likewise.
44249 * include/ctype.h: Likewise.
44250 * include/dirent.h: Likewise.
44251 * include/dlfcn.h: Likewise.
44252 * include/fcntl.h: Likewise.
44253 * include/fnmatch.h: Likewise.
44254 * include/glob.h: Likewise.
44255 * include/grp.h: Likewise.
44256 * include/libio.h: Likewise.
44257 * include/locale.h: Likewise.
44258 * include/math.h: Likewise.
44259 * include/net/if.h: Likewise.
44260 * include/netdb.h: Likewise.
44261 * include/netinet/in.h: Likewise.
44262 * include/pthread.h: Likewise.
44263 * include/pwd.h: Likewise.
44264 * include/regex.h: Likewise.
44265 * include/sched.h: Likewise.
44266 * include/search.h: Likewise.
44267 * include/setjmp.h: Likewise.
44268 * include/signal.h: Likewise.
44269 * include/stdio.h: Likewise.
44270 * include/stdlib.h: Likewise.
44271 * include/string.h: Likewise.
44272 * include/sys/cdefs.h: Likewise.
44273 * include/sys/mman.h: Likewise.
44274 * include/sys/msg.h: Likewise.
44275 * include/sys/resource.h: Likewise.
44276 * include/sys/select.h: Likewise.
44277 * include/sys/socket.h: Likewise.
44278 * include/sys/stat.h: Likewise.
44279 * include/sys/statvfs.h: Likewise.
44280 * include/sys/time.h: Likewise.
44281 * include/sys/times.h: Likewise.
44282 * include/sys/uio.h: Likewise.
44283 * include/sys/utsname.h: Likewise.
44284 * include/sys/wait.h: Likewise.
44285 * include/termios.h: Likewise.
44286 * include/time.h: Likewise.
44287 * include/ulimit.h: Likewise.
44288 * include/unistd.h: Likewise.
44289 * include/utime.h: Likewise.
44290 * include/wchar.h: Likewise.
44291 * include/wctype.h: Likewise.
44292 * include/wordexp.h: Likewise.
44293
44294 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
44295
7a270350
UD
44296 * time/time.h: TIME_UTC must be a macro.
44297 Make timespec_get available for ISO C11 only as well.
44298
7724defc
UD
442992012-02-24 Ulrich Drepper <drepper@gmail.com>
44300
44301 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
44302 Reported by Peng Haitao <penght@cn.fujitsu.com>.
44303
6b1d1d46
JM
443042012-02-24 Joseph Myers <joseph@codesourcery.com>
44305
44306 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 44307
0f8bbd69
JM
443082012-02-24 Joseph Myers <joseph@codesourcery.com>
44309
44310 * manual/texinfo.tex: Update to version 2012-01-19.16.
44311
66ab80bc
JM
443122012-02-24 Joseph Myers <joseph@codesourcery.com>
44313
44314 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
44315
74981cc5
RM
443162012-02-24 Roland McGrath <roland@hack.frob.com>
44317
ee968201
RM
44318 [BZ #13738]
44319 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
44320 * manual/fdl-1.3.texi: New file.
44321 * manual/fdl-1.1.texi: File removed.
44322
74981cc5
RM
44323 [BZ #13738]
44324 * manual/libc.texinfo (FDL_VERSION): New @set.
44325 Use it for mention of FDL in cover text.
44326 (Documentation License): Use it in @include file name.
44327
7bb764bc
JM
443282012-02-22 Joseph Myers <joseph@codesourcery.com>
44329 Roland McGrath <roland@hack.frob.com>
44330
44331 [BZ #5461]
57f41c40
AS
44332 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
44333 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
44334 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
44335 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
44336 name.
44337 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
44338
6cbeae47
JM
443392012-02-22 Joseph Myers <joseph@codesourcery.com>
44340
44341 [BZ #2547]
44342 [BZ #11365]
44343 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
44344 manipulate bits before adding and subtracting TWO23[sx].
44345 * math/libm-test.inc (nearbyint_test): Add more tests.
44346
fe45ce09
JM
443472012-02-22 Joseph Myers <joseph@codesourcery.com>
44348
44349 [BZ #2548]
44350 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
44351 bits before adding and subtracting TWO23[sx].
44352 * math/libm-test.inc (rint_test): Add more tests.
44353 (rint_test_tonearest): Likewise.
44354 (rint_test_towardzero): Likewise.
44355 (rint_test_downward): Likewise.
44356 (rint_test_upward: Likewise.
44357
ff3b3d82
JM
443582012-02-22 Joseph Myers <joseph@codesourcery.com>
44359
44360 [BZ #10110]
44361 * include/stdc-predef.h: New file. Extracted from features.h.
44362 * include/features.h: Include stdc-predef.h.
44363 * Makefile (headers): Add stdc-predef.h.
44364 * CONFORMANCE (Compiler limitations): Update.
44365
ef0aab35
JM
443662012-02-22 Joseph Myers <joseph@codesourcery.com>
44367
44368 * manual/libc.texinfo (VERSION, UPDATED): Revert.
44369
58639409
DM
443702012-02-21 David S. Miller <davem@davemloft.net>
44371
44372 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
44373 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44374
c0e70b25
DM
443752012-02-20 David S. Miller <davem@davemloft.net>
44376
44377 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
44378 using a normal save/restore sequence, rather than allocating a
44379 dummy stack frame just to store a frame pointer and restore.
44380 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44381
fb06851d
JM
443822012-02-21 Joseph Myers <joseph@codesourcery.com>
44383
44384 * manual/install.texi: Fix stray word in line-wrapped comment.
44385
7a8b71c3
DM
443862012-02-20 David S. Miller <davem@davemloft.net>
44387
d510c123
DM
44388 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
44389 both binutils and gcc support GOTDATA.
44390
0722d7c2
DM
44391 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
44392 "rd %pc" in the PIC register setup sequences.
44393
3d2b3019
DM
44394 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
44395 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44396 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44397 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44398 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44399 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44400 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44401 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44402 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
44403 (SYSCALL_ERROR_HANDLER): Likewise.
44404 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44405 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44406 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
44407 (SYSCALL_ERROR_HANDLER): Likewise.
44408
c80098a9
DM
44409 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
44410 (HAVE_GCC_GOTDATA): New.
44411 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
44412 relocation support in both binutils and gcc.
44413 * sysdeps/sparc/elf/configure: Regenerate.
44414
3a2545a0
DM
44415 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
44416 * sysdeps/sparc/sparc32/elf/configure: Delete.
44417 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
44418 * sysdeps/sparc/sparc64/elf/configure: Delete.
44419 * sysdeps/sparc/elf/configure.in: New file.
44420 * sysdeps/sparc/elf/configure: Generate.
44421
7a8b71c3
DM
44422 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
44423 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
44424 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44425 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
44426 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
44427
f1e86fca
JM
444282012-02-21 Joseph Myers <joseph@codesourcery.com>
44429
44430 * manual/install.texi: Do not mention specific glibc version
44431 numbers.
44432 * manual/libc.texinfo (VERSION, UPDATED): Update.
44433 (@copying): Use @copyright{} and range of years.
44434
0e7dfaef
JM
444352012-02-21 Joseph Myers <joseph@codesourcery.com>
44436
44437 [BZ #13695]
44438 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
44439 [crti.S not in sysdirs] (generated): Do not append.
44440 [crti.S not in sysdirs] (omit-deps): Likewise.
44441 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
44442 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
44443 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
44444 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
44445 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
44446 Likewise.
44447 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
44448 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
44449 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
44450 * csu/defs.awk: Remove file.
44451 * sysdeps/generic/initfini.c: Likewise.
44452 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
44453 variable.
44454 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
44455 Likewise.
44456
599af3ca
JM
444572012-02-20 Joseph Myers <joseph@codesourcery.com>
44458
44459 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
44460 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
44461 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
44462 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
44463 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44464 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
44465 <bits/epoll.h>.
44466 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
44467 (__EPOLL_PACKED): Define to empty if not defined by
44468 <bits/epoll.h>.
44469 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
44470 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44471 bits/epoll.h.
44472
0e499750
JM
444732012-02-20 Joseph Myers <joseph@codesourcery.com>
44474
44475 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
44476 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
44477 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
44478 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
44479 <bits/timerfd.h>.
44480 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
44481 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44482 bits/timerfd.h.
44483
5ad91f6e
JM
444842012-02-20 Joseph Myers <joseph@codesourcery.com>
44485
44486 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
44487 in C locale.
44488 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44489 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44490 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
44491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44492
06b99b02
AJ
444932012-02-20 Aurelien Jarno <aurelien@aurel32.net>
44494
44495 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44496 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44497
7638c0fd
AS
444982012-02-19 Andreas Schwab <schwab@linux-m68k.org>
44499
44500 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
44501 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
44502 defined.
44503 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
44504 Likewise.
44505 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
44506 entry for 2.16.
44507
92221550
AJ
445082012-02-19 Aurelien Jarno <aurelien@aurel32.net>
44509
44510 * math/w_acos.c: Use non-signaling floating-point comparisons.
44511 * math/w_acosf.c: Likewise.
44512 * math/w_acosh.c: Likewise.
44513 * math/w_acoshf.c: Likewise.
44514 * math/w_acoshl.c: Likewise.
44515 * math/w_acosl.c: Likewise.
44516 * math/w_asin.c: Likewise.
44517 * math/w_asinf.c: Likewise.
44518 * math/w_asinl.c: Likewise.
44519 * math/w_atanh.c: Likewise.
44520 * math/w_atanhf.c: Likewise.
44521 * math/w_atanhl.c: Likewise.
44522 * math/w_exp2.c: Likewise.
44523 * math/w_exp2f.c: Likewise.
44524 * math/w_exp2l.c: Likewise.
44525 * math/w_j0.c: Likewise.
44526 * math/w_j0f.c: Likewise.
44527 * math/w_j0l.c: Likewise.
44528 * math/w_j1.c: Likewise.
44529 * math/w_j1f.c: Likewise.
44530 * math/w_j1l.c: Likewise.
44531 * math/w_jn.c: Likewise.
44532 * math/w_jnf.c: Likewise.
44533 * math/w_log.c: Likewise.
44534 * math/w_log10.c: Likewise.
44535 * math/w_log10f.c: Likewise.
44536 * math/w_log10l.c: Likewise.
44537 * math/w_log2.c: Likewise.
44538 * math/w_log2f.c: Likewise.
44539 * math/w_log2l.c: Likewise.
44540 * math/w_logf.c: Likewise.
44541 * math/w_logl.c: Likewise.
44542 * math/w_sqrt.c: Likewise.
44543 * math/w_sqrtf.c: Likewise.
44544 * math/w_sqrtl.c: Likewise.
44545 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44546 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
44547 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44548 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44549 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44550
ebaf36eb
JM
445512012-02-19 Joseph Myers <joseph@codesourcery.com>
44552
44553 [BZ #9739]
44554 * manual/string.texi (strnlen): Use correct parameter name in
44555 equivalent expression.
44556
71c254a6
JM
445572012-02-19 Joseph Myers <joseph@codesourcery.com>
44558
44559 [BZ #11174]
44560 * manual/users.texi (seteuid): Consistently use neweuid for
44561 argument name.
44562
16d2c631
JM
445632012-02-19 Joseph Myers <joseph@codesourcery.com>
44564
44565 [BZ #13704]
44566 * manual/nss.texi (Services in the NSS configuration): Correct
44567 list of services in example configuration file.
44568
cd837b09
NB
445692012-02-19 Nick Bowler <nbowler@draconx.ca>
44570
44571 [BZ #11322]
44572 * manual/arith.texi: Remove statements about negative zero
44573 behaving identically to zero.
44574
02c4bbad
JM
445752012-02-18 Joseph Myers <joseph@codesourcery.com>
44576
44577 [BZ #5993]
44578 * manual/install.texi: Do not document upgrading from libc5.
44579
366842e7
JM
445802012-02-18 Joseph Myers <joseph@codesourcery.com>
44581
44582 [BZ #4596]
44583 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
44584
dd54084d
DM
445852012-02-18 David S. Miller <davem@davemloft.net>
44586
44587 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
44588 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
44589 %o7 across the call.
44590 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
44591 instead.
44592 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
44593 SETUP_PIC_REG_LEAF.
44594 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44595 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
44596 * sysdeps/sparc/crtn.S: Likewise.
44597
2bcc53a3
UD
445982012-02-17 Ulrich Drepper <drepper@gmail.com>
44599
44600 * aout/Makefile: Remove.
44601
09c093b5
RK
446022012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
44603
44604 [BZ #13058]
44605 * manual/examples/argp-ex1.c (main): Format definition in GNU
44606 style.
44607 * manual/examples/argp-ex2.c (main): Likewise.
44608 * manual/examples/argp-ex3.c (main): Likewise.
44609 * manual/examples/argp-ex4.c (main): Likewise.
44610 * manual/examples/longopt.c (main): Use new-style prototype
44611 definition.
44612 * manual/examples/strncat.c (main): Specify return type and use
44613 (void) for arguments.
44614 * manual/examples/subopt.c (main): Use char **argv argument.
44615
2ee633a2
JM
446162012-02-17 Joseph Myers <joseph@codesourcery.com>
44617
44618 [BZ #5077]
44619 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
44620 rounding modes.
44621
0520adde
FB
446222012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
44623
44624 [BZ #6907]
44625 * manual/string.texi (strchr): Change when strchrnul is
44626 recommended.
44627
3f4081cd
DGM
446282012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
44629
44630 [BZ #174]
44631 * manual/locale.texi (setlocale): Document LOCPATH.
44632
d1b10e78
JM
446332012-02-17 Joseph Myers <joseph@codesourcery.com>
44634
44635 [BZ #10210]
44636 * manual/process.texi (execle): Move @dots{} before last argument.
44637
79c6869c
PB
446382012-02-17 Paul Bolle <pebolle@tiscali.nl>
44639
44640 [BZ #12047]
44641 * manual/charset.texi (Generic Charset Conversion): Fix typo
44642 (LC_TYPE -> LC_CTYPE).
44643
cc6e48bc
NB
446442012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
44645
44646 [BZ #5805]
44647 * manual/arith.texi (scalbn): Use @var{} on parameter names.
44648 (scalbnf): Likewise.
44649 (scalbnl): Likewise.
44650 (scalbln): Likewise.
44651 (scalblnf): Likewise.
44652 (scalblnl): Likewise.
44653 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
44654 (vwarnx): Likewise.
44655 (verr): Likewise.
44656 (verrx): Likewise.
44657 * manual/filesys.texi (telldir): Use braces around return type.
44658 * manual/llio.texi (mmap): Add space after comma.
44659 (mmap64): Likewise.
44660 * manual/math.texi (jn): Use @var{} on parameter names.
44661 (jnf): Likewise.
44662 (jnl): Likewise.
44663 (yn): Likewise.
44664 (ynf): Likewise.
44665 (ynl): Likewise.
44666 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
44667 line.
44668 * manual/resource.texi (ulimit): Use @dots{} instead of literal
44669 "...".
44670 (sched_get_priority_min): Remove semicolon on @deftypefun line.
44671 (sched_get_priority_max): Likewise.
44672 * manual/signal.texi (sigvec): Add space after comma.
44673 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
44674 names.
44675 (if_indextoname): Likewise.
44676 (if_freenameindex): Likewise.
44677 (sendto): Use ',' instead of '.' in prototype.
44678 * manual/startup.texi (syscall): Use @dots{} instead of literal
44679 "...".
44680 * manual/stdio.texi (__fpending): Separate initial words of
44681 paragraph from @deftypefun line.
44682 * manual/syslog.texi (syslog): Use @dots{} instead of literal
44683 "...".
44684 (vsyslog): Use @var{} on parameter names.
44685 * manual/terminal.texi (stty): Use @var{} on parameter names.
44686 * manual/users.texi (getutmp): Use @var{} on parameter names.
44687 (getutmpx): Likewise.
44688
5b23062f
JM
446892012-02-17 Joseph Myers <joseph@codesourcery.com>
44690
44691 [BZ #6884]
44692 * manual/stdio.texi (fopen): Fix typos in description of
44693 ",ccs=STRING".
44694
8dee4833
AJ
446952012-02-17 Aurelien Jarno <aurelien@aurel32.net>
44696
44697 [BZ #4026]
44698 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
44699 get clock_id definition.
44700
9078ce93
TS
447012012-02-17 Thomas Schwinge <thomas@schwinge.name>
44702
44703 [BZ #4822]
44704 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
44705 (madvise): Cast every argument to void on its own.
44706
3835c55f
JM
447072012-02-17 Joseph Myers <joseph@codesourcery.com>
44708
44709 [BZ #9902]
44710 * manual/startup.texi (Exit Status): Fix typo.
44711
35c47e37
JM
447122012-02-17 Joseph Myers <joseph@codesourcery.com>
44713
44714 [BZ #10140]
44715 * manual/examples/argp-ex1.c: Include <stdlib.h>.
44716 * manual/examples/argp-ex2.c: Likewise.
44717 * manual/examples/argp-ex3.c: Likewise.
44718
e3b69ca7
RH
447192012-02-16 Richard Henderson <rth@redhat.com>
44720
44721 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
44722 * sysdeps/s390/s390-32/initfini.c: Remove.
44723 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
44724 * sysdeps/s390/s390-64/initfini.c: Remove.
44725
df83af67
KK
447262012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44727
44728 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
44729 compiler output for sysdeps/generic/initfini.c.
44730 * sysdeps/sh/elf/initfini.c: Remove file.
44731
f63f3380
DM
447322012-02-16 David S. Miller <davem@davemloft.net>
44733
fb59b3a4
DM
44734 [BZ #11494]
44735 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
44736
f63f3380
DM
44737 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
44738 * sysdeps/sparc/crti.S: New file.
44739 * sysdeps/sparc/crtn.S: New file.
44740 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
44741 * sysdeps/sparc/sparc64/Makefile: Likewise.
44742
df6a4a4a
MF
447432012-02-15 Mike Frysinger <vapier@gentoo.org>
44744
6dd8f3dc 44745 [BZ #3335]
df6a4a4a
MF
44746 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
44747
1cac7236
RM
447482012-02-15 Roland McGrath <roland@hack.frob.com>
44749
d2c736f8
RM
44750 [BZ #4822]
44751 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
44752
1cac7236
RM
44753 * mach/devstream.c (cookie_io_functions_t): Macro removed.
44754 (write, read, close): Likewise.
44755 Patch by Aurelien Jarno <aurelien@aurel32.net>.
44756
8e475601
JM
447572012-02-15 Joseph Myers <joseph@codesourcery.com>
44758
44759 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
44760 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
44761 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
44762 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
44763 <bits/signalfd.h>.
44764 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
44765 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44766 bits/signalfd.h.
44767
ed656b40
MP
447682012-02-14 Marek Polacek <polacek@redhat.com>
44769
44770 * sysdeps/x86_64/crti.S: New file.
44771 * sysdeps/x86_64/crtn.S: New file.
44772 * sysdeps/x86_64/elf/initfini.c: Remove file.
44773
2a979d3a
JM
447742012-02-13 Joseph Myers <joseph@codesourcery.com>
44775
44776 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
44777 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
44778 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
44779 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
44780 <bits/inotify.h>.
44781 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
44782 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44783 bits/inotify.h.
44784
2a418ac3
JM
447852012-02-13 Joseph Myers <joseph@codesourcery.com>
44786
44787 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
44788 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
44789 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
44790 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
44791 <bits/eventfd.h>.
44792 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
44793 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44794 bits/eventfd.h.
44795
fb779be7
TS
447962012-02-10 Thomas Schwinge <thomas@codesourcery.com>
44797
e19e83c5
RM
44798 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
44799 __feraiseexcept instead of feraiseexcept.
7c35ffed 44800
fb779be7
TS
44801 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
44802 nanosleep invocations.
44803 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
44804 strings, and add error checking for a nanosleep invocations.
44805
59ba27a6
PE
448062012-02-09 Paul Eggert <eggert@cs.ucla.edu>
44807
44808 Replace FSF snail mail address with URLs, as per GNU coding standards.
44809 Most of the snail mail addresses were wrong anyway, and omitting
44810 them makes the source code easier to maintain. Almost all of the
44811 changes are to license notices and to locale LC_IDENTIFICATION
44812 addresses, except for this one:
44813 * manual/libc.texinfo: In "Published by", give the FSF's URL,
44814 not its snail mail address.
44815
57b957eb
RH
448162012-02-09 Richard Henderson <rth@twiddle.net>
44817
af850b1c
RH
44818 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
44819 of kernel-features.h.
44820
57b957eb
RH
44821 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
44822
6b73181a
MP
448232012-02-08 Marek Polacek <polacek@redhat.com>
44824
44825 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
44826 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
44827 * sysdeps/gnu/_G_config.h: Likewise.
44828 * sysdeps/generic/_G_config.h: Likewise.
44829
26ecc33a
AS
448302012-02-08 Andreas Schwab <schwab@linux-m68k.org>
44831
6c6dbc63
AS
44832 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
44833 tests.
44834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44835
e216c012
AS
44836 * sysdeps/powerpc/powerpc32/crti.S: New file.
44837 * sysdeps/powerpc/powerpc32/crtn.S: New file.
44838 * sysdeps/powerpc/powerpc64/crti.S: New file.
44839 * sysdeps/powerpc/powerpc64/crtn.S: New file.
44840
26ecc33a
AS
44841 * Makeconfig (have-initfini): Don't set.
44842 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
44843 * configure.in (nopic_initfini): Don't substitute.
44844 * config.h.in (HAVE_INITFINI): Don't #undef.
44845 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
44846 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
44847
3add8e13
JM
448482012-02-08 Joseph Myers <joseph@codesourcery.com>
44849
44850 Support crti.S and crtn.S provided directly by architectures.
44851 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
44852 [crti.S in sysdirs] (omit-deps): Likewise.
44853 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
44854 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
44855 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
44856 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
44857 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
44858 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
44859 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
44860 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
44861 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
44862 compiler output for sysdeps/generic/initfini.c.
44863 * sysdeps/i386/elf/Makefile: Remove file.
44864 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
44865
a22f12b4
MP
448662012-02-07 Marek Polacek <polacek@redhat.com>
44867
44868 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44869 * sysdeps/gnu/_G_config.h: Likewise.
44870 * sysdeps/mach/hurd/_G_config.h: Likewise.
44871
148cf100
MP
448722012-02-07 Marek Polacek <polacek@redhat.com>
44873
44874 * math/Makefile (tests): Add tst-CMPLX2.
44875 * math/tst-CMPLX2.c: New file.
44876
cfdc0dd7
AS
448772012-02-07 Andreas Schwab <schwab@linux-m68k.org>
44878
84ba42c4
AS
44879 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44880
cfdc0dd7
AS
44881 * math/libm-test.inc (jn_test): Add missing L suffix.
44882
622c86f4
MP
448832012-02-06 Marek Polacek <polacek@redhat.com>
44884
44885 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44886 * sysdeps/i386/fpu/e_powf.S: Likewise.
44887 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44888 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44889 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44890 * sysdeps/i386/fpu/e_pow.S: Likewise.
44891 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44892 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44893 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44894 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44895 * sysdeps/i386/fpu/e_log2.S: Likewise.
44896 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44897 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44898 * sysdeps/i386/fpu/e_powl.S: Likewise.
44899 * sysdeps/i386/fpu/s_log1p.S: Likewise.
44900 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44901 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44902 * sysdeps/i386/fpu/e_logl.S: Likewise.
44903 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44904 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44905 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44906 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44907 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44908 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44909 * sysdeps/i386/fpu/e_log.S: Likewise.
44910 * sysdeps/i386/fpu/s_cexp.S: Likewise.
44911 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44912 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44913 * sysdeps/i386/fpu/e_logf.S: Likewise.
44914 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44915 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44916 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44917 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44918 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44919 * sysdeps/i386/fpu/e_log10.S: Likewise.
44920 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44921 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44922 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44923 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44924 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44925 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44926 * sysdeps/i386/asm-syntax.h: Likewise.
44927 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44928 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44929 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44930 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44931 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44932 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44933 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44934 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44935 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44936 * sysdeps/powerpc/sysdep.h: Likewise.
44937 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44938 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44939
d4a54ac6
JM
449402012-02-06 Joseph Myers <joseph@codesourcery.com>
44941
44942 [BZ #411]
44943 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44944
314054ea
JM
449452012-02-06 Joseph Myers <joseph@codesourcery.com>
44946
44947 * sysdeps/i386/sysdep.h: Include <features.h>.
44948 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44949 version.
44950
d8e0ca50
JM
449512012-02-05 Joseph Myers <joseph@codesourcery.com>
44952
44953 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44954 Define.
44955 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44956 LOAD_PIC_REG_STR.
44957
b1da7dd9
JM
449582012-02-03 Joseph Myers <joseph@codesourcery.com>
44959
44960 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44961 (SETUP_PIC_REG): Use GET_PC_THUNK.
44962 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
44963 macro.
44964
9a1d9254
JM
449652012-02-03 Joseph Myers <joseph@codesourcery.com>
44966
44967 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
44968 for non-PIC compilation.
44969 (SETUP_PIC_REG): Add .p2align directive.
44970 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
44971 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
44972 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44973 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44974 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44975 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44976 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
44977 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44978 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44979 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44980 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44981 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44982 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44983 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44984 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44985 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44986 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44987 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44988 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44989 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44990 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44991 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44992 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44993 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44994 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44995 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44996 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44997 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44998 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44999 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
45000 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
45001 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45002 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
45003 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
45004 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
45005 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
45006 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
45007 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
45008 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
45009 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
45010 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
45011
65dc3b75
JM
450122012-02-03 Joseph Myers <joseph@codesourcery.com>
45013
45014 * math/tst-CMPLX.c: Include <stdio.h>.
45015
d55bf177
JM
450162012-01-31 Joseph Myers <joseph@codesourcery.com>
45017
45018 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
45019 float.
45020 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45021 * sysdeps/sparc/bits/mathdef.h: Likewise.
45022
69db4f8f
MP
450232012-01-31 Marek Polacek <polacek@redhat.com>
45024
45025 * libio/libio.h: Don't define _PARAMS.
45026 * locale/programs/config.h: Don't define PARAMS.
45027 * stdlib/strtol_l.c: Likewise.
45028 (__strtol_l): Remove PARAMS from the prototype.
45029
41b81892
UD
450302012-01-31 Ulrich Drepper <drepper@gmail.com>
45031
3b49edc0
UD
45032 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
45033 names. Just use the correct names. Remove unnecessary wrapper
45034 functions.
45035 * malloc/arena.c: Likewise.
45036 * malloc/hooks.c: Likewise.
45037
41b81892
UD
45038 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
45039 ARENA_TEST says not to. Simplify test for creation of a new arena.
45040 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
45041
27a25b6e
UD
450422012-01-30 Ulrich Drepper <drepper@gmail.com>
45043
45044 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
45045 into tail calls.
45046 (update_get_addr): New function.
45047 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
45048 GET_ADDR_MODULE parameter.
45049
c8a89e7d
JM
450502012-01-30 Joseph Myers <joseph@codesourcery.com>
45051
45052 * crypt/cert.c: Remove __STDC__ conditionals.
45053 * crypt/crypt-entry.c: Likewise.
45054 * crypt/crypt_util.c: Likewise.
45055 * libio/filedoalloc.c: Likewise.
45056 * libio/fileops.c: Likewise.
45057 * libio/genops.c: Likewise.
45058 * libio/iofclose.c: Likewise.
45059 * libio/iofdopen.c: Likewise.
45060 * libio/iofopen.c: Likewise.
45061 * libio/iofopen64.c: Likewise.
45062 * libio/iogetdelim.c: Likewise.
45063 * libio/iopopen.c: Likewise.
45064 * libio/obprintf.c: Likewise.
45065 * libio/oldfileops.c: Likewise.
45066 * libio/oldiofclose.c: Likewise.
45067 * libio/oldiofdopen.c: Likewise.
45068 * libio/oldiofopen.c: Likewise.
45069 * libio/oldiopopen.c: Likewise.
45070 * libio/wfiledoalloc.c: Likewise.
45071 * libio/wgenops.c: Likewise.
45072 * locale/programs/xmalloc.c: Likewise.
45073 * misc/syslog.c: Likewise.
45074 * stdio-common/xbug.c: Likewise.
45075 * string/memchr.c: Likewise.
45076 * string/memcmp.c: Likewise.
45077 * string/memrchr.c: Likewise.
45078 * string/rawmemchr.c: Likewise.
45079 * sysdeps/posix/getcwd.c: Likewise.
45080 * time/strftime_l.c: Likewise.
45081
3b100462
JM
450822012-01-30 Joseph Myers <joseph@codesourcery.com>
45083
45084 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
45085 * config.make.in (config-cflags-sse2avx): Define.
45086 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
45087 Fix typo.
45088
607998af
CM
450892012-01-29 Chris Metcalf <cmetcalf@tilera.com>
45090
45091 * scripts/config.guess: Update from upstream config git repository.
45092 * scripts/config.sub: Likewise.
45093
3601428f
CM
450942012-01-28 Chris Metcalf <cmetcalf@tilera.com>
45095
3ac8b282
CM
45096 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
45097 (EM_NUM): Update.
45098 (R_TILEPRO_*, R_TILEGX_*): New macros.
45099
e034841e
CM
45100 * scripts/firstversions.awk: Fix bug in version range handling.
45101
540d7568
CM
45102 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
45103
3601428f
CM
45104 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
45105
463de862
CM
45106 * include/sys/epoll.h: New file.
45107 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
45108 libc_hidden_def.
45109
73139a76
UD
451102012-01-28 Ulrich Drepper <drepper@gmail.com>
45111
96bc5b45
UD
45112 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
45113 Avoid unnecessary __WORDSIZE == 64 test.
45114 (fmaxf): Use VEX format if possible.
45115 (fmax): Likewise.
45116 (fminf): Likewise.
45117 (fmin): Likewise.
45118
56f6f6a2
UD
45119 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
45120 * math/math_private.h: Remove libc_fegetround* and
45121 libc_fesetround*.
45122 * sysdeps/i386/configure.in: Check for -msse2avx.
45123 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
45124 also if SSE2AVX is defined.
45125 Remove libc_fegetround* and libc_fesetround*.
45126 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
45127 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
45128 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
45129 of HAS_YMM_USABLE.
45130 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45131 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45132 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45133 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45134 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45135
73139a76
UD
45136 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
45137
d73f93a4
AZ
451382012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45139
45140 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
45141 size is not set.
45142 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45143
6ee65ed6
UD
451442012-01-27 Ulrich Drepper <drepper@gmail.com>
45145
45146 [BZ #13618]
45147 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
45148 relocation.
45149 * Makeconfig (libm): Define.
45150 * elf/Makefile: Add rules to build and run tst-relsort1.
45151 * elf/tst-relsort1.c: New file.
45152 * elf/tst-relsort1mod1.c: New file.
45153 * elf/tst-relsort1mod2.c: New file.
45154
8db21882
JM
451552012-01-27 Joseph Myers <joseph@codesourcery.com>
45156
45157 * math/s_ldexp.c: Remove __STDC__ conditionals.
45158 * math/s_ldexpf.c: Likewise.
45159 * math/s_ldexpl.c: Likewise.
45160 * math/s_nextafter.c: Likewise.
45161 * math/s_nexttowardf.c: Likewise.
45162 * math/s_significand.c: Likewise.
45163 * math/s_significandf.c: Likewise.
45164 * math/s_significandl.c: Likewise.
45165 * math/w_jnl.c: Likewise.
45166 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45167 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45168 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45169 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45170 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45171 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45172 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
45173 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45174 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45175 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45176 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45177 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45178 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45179 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45180 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45181 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45182 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45183 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45184 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45185 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45186 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45187 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45188 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45189 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45190 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45191 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45192 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45193 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45194 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45195 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45196 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45197 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45198 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45199 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45200 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45201 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45202 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45203 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45204 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45205 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45206 * sysdeps/ieee754/k_standard.c: Likewise.
45207 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45208 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45209 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45210 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45211 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45212 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45213 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45214 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45215 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45216 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45217 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45218 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45219 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45220 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45221 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45222 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45223 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45224 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45225 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45226 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45227 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45228 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45229 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45230 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45231 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45232 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45233 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45234 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45235 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45236 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45237 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45238 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
45239 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45240 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45241 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45242 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45243 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
45244 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45245 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45246 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
45247 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
45248 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45249 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
45250 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
45251 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45252 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
45253 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
45254 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45255 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45256 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
45257 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
45258 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45259 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45260 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45261 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45262 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45263 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
45264 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45265 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45266 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45267 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45268 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45269 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45270 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45271 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45272 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45273 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45274 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45275 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45276 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45277 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45278 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45279 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45280 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45281 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45282 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45283 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45284 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45285 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45286 * sysdeps/ieee754/s_matherr.c: Likewise.
45287 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45288 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45289 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45290 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45291
965a54a4
JM
452922012-01-26 Joseph Myers <joseph@codesourcery.com>
45293
45294 * crypt/md5.h: Remove __STDC__ conditionals.
45295 * libio/libioP.h: Likewise.
45296 * locale/programs/config.h: Likewise.
45297 * sysdeps/generic/sysdep.h: Likewise.
45298 * sysdeps/i386/asm-syntax.h: Likewise.
45299 * sysdeps/s390/asm-syntax.h: Likewise.
45300 * sysdeps/unix/sysdep.h: Likewise.
45301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
45302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45303
7071ad79
JM
453042012-01-26 Joseph Myers <joseph@codesourcery.com>
45305
45306 * libio/libio.h: Remove __STDC__ conditionals.
45307 * malloc/obstack.h: Likewise.
45308 * math/complex.h: Likewise.
45309 * math/math.h: Likewise.
45310 * sysdeps/generic/_G_config.h: Likewise.
45311 * sysdeps/gnu/_G_config.h: Likewise.
45312 * sysdeps/mach/hurd/_G_config.h: Likewise.
45313 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45314 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45315 * sysdeps/sparc/bits/mathdef.h: Likewise.
45316
afc5ed09
UD
453172012-01-26 Ulrich Drepper <drepper@gmail.com>
45318
45319 [BZ #13583]
45320 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 45321 Clean up HAS_* macros.
afc5ed09 45322 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
45323 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
45324 possible.
45325 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
45326 HAS_AVX.
45327 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45328 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45329 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45330 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45331 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 45332
bdb6de1d
JM
453332012-01-25 Joseph Myers <joseph@codesourcery.com>
45334
45335 * elf/tst-unique3.cc (gets): Remove declaration.
45336 * elf/tst-unique3lib.cc (gets): Likewise.
45337 * elf/tst-unique3lib2.cc (gets): Likewise.
45338 * elf/tst-unique4.cc (gets): Likewise.
45339
b15549e6
UD
453402012-01-24 Ulrich Drepper <drepper@gmail.com>
45341
45342 * include/stdio.h: Add C++ protection. Add gets declarations and
45343 definitions.
45344 * debug/tst-chk1.c: Don't declare gets here.
45345 * stdio-common/tst-gets.c: Likewise.
45346
a037381f
JM
453472012-01-24 Joseph Myers <joseph@codesourcery.com>
45348
45349 * posix/glob: Remove directory.
45350
f1d4aa75
JM
453512012-01-24 Joseph Myers <joseph@codesourcery.com>
45352
45353 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
45354
81c0c964
PT
453552012-01-22 Pino Toscano <toscano.pino@tiscali.it>
45356
45357 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
45358 of the non-standard EPFNOSUPPORT.
45359
0ea698ae
ST
453602011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
45361
45362 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
45363 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
45364 ANYWHERE set to 1 only on KERN_NO_SPACE error.
45365
d220b117
UD
453662012-01-21 Ulrich Drepper <drepper@gmail.com>
45367
45368 * wcsmbs/uchar.h: Test __STDC_VERSION__.
45369
3e1aa84e
UD
453702012-01-20 Ulrich Drepper <drepper@gmail.com>
45371
45372 * nscd/aicache.c (addhstaiX): Do not cache negative results of
45373 transient errors.
45374 * nscd/grpcache.c (cache_addgr): Likewise.
45375 * nscd/hstcache.c (cache_addhst): Likewise.
45376 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45377 * nscd/pwdcache.c (cache_addpw): Likewise.
45378 * nscd/servicescache.c (cache_addserv): Likewise.
45379
400aa020
UD
453802012-01-16 Ulrich Drepper <drepper@gmail.com>
45381
d77e7869
UD
45382 * malloc/malloc.c: Various cleanups.
45383 * malloc/hooks.c: Likewise.
45384
400aa020
UD
45385 * stdlib/Makefile (tests): Add bug-fmtmsg1.
45386 * stdlib/bug-fmtmsg1.c: New file.
45387
45388 * stdlib/fmtmsg.c (init): Add missing unlock.
45389 Patch by Peng Haitao <penght@cn.fujitsu.com>.
45390
e0a309cf
MP
453912012-01-12 Marek Polacek <polacek@redhat.com>
45392
45393 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
45394 and _GNU_SOURCE.
45395
929d11c7
WS
453962012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45397
45398 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
45399 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
45400 macro to ensure uniqueness of label name.
45401 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45402 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45403
41d0e869
UD
454042012-01-11 Ulrich Drepper <drepper@gmail.com>
45405
0cc5ed3b
UD
45406 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
45407
41d0e869
UD
45408 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
45409 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45410 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45411 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
45412
a47a831a
UD
454132012-01-10 Ulrich Drepper <drepper@gmail.com>
45414
daa891c0
UD
45415 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
45416
45417 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
45418 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45419 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45420
e58ef0f2
UD
45421 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
45422
a47a831a 45423 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
45424 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45425 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 45426 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
45427
45428 * math/bits/math-finite.h: Add ldexp support.
45429
a0bfc9c7
MP
454302012-01-10 Marek Polacek <polacek@redhat.com>
45431
45432 * locale/programs/localedef.h (show_archive_content): Add noreturn
45433 attribute.
45434
d6e97a1d
UD
454352012-01-09 Ulrich Drepper <drepper@gmail.com>
45436
45437 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
45438
d5835c26
UD
454392012-01-08 Ulrich Drepper <drepper@gmail.com>
45440
e5f484c6
UD
45441 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
45442
d5835c26
UD
45443 * io/Makefile (headers): Add bits/poll2.h.
45444
d1f741e9
WS
454452011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
45446
45447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
45448 typo #include statement.
45449
ec09c1c4
UD
454502012-01-08 Ulrich Drepper <drepper@gmail.com>
45451
45452 * include/sys/cdefs.h: Define __attribute_alloc_size.
45453 * catgets/gencat.c: Add alloc_size attribute and apply consistently
45454 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
45455 * elf/pldd.c: Likewise.
45456 * iconv/iconv_charmap.c: Likewise.
45457 * iconv/iconvconfig.c: Likewise.
45458 * iconv/strtab.c: Likewise.
45459 * locale/programs/locale.c: Likewise.
45460 * locale/programs/localedef.h: Likewise.
45461 * locale/programs/simple-hash.c: Likewise.
45462 * nscd/nscd.h: Likewise.
45463 * nss/makedb.c: Likewise.
45464 * sysdeps/generic/ldconfig.h: Likewise.
45465 * locale/programs/localedef.c: Remove xmalloc prototype.
45466 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
45467
20b38e03
PP
454682012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45469
45470 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
45471 appropriate.
45472
a0da5fe1
UD
454732012-01-08 Ulrich Drepper <drepper@gmail.com>
45474
1d5a644a 45475 * math/Makefile (tests): Add tst-CMPLX.
669704fd 45476 * math/tst-CMPLX.c: New file.
1d5a644a 45477
8784a6db
UD
45478 * math/complex.h (CMPLXL): Fix typo.
45479
d9a216c0
UD
45480 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
45481 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
45482 GLIBC_2.16.
45483 * debug/tst-chk1.c: Add poll and ppoll tests.
45484 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
45485 * include/sys/poll.h: Add hidden proto for ppoll.
45486 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
45487 * sysdeps/mach/hurd/ppoll.c: Likewise.
45488 * io/ppoll.c: Likewise.
45489 * debug/poll_chk.c: New file.
45490 * debug/ppoll_chk.c: New file.
45491 * include/bits/poll2.h: New file.
45492 * io/bits/poll2.h: New file.
45493
ac097f5c
UD
45494 [BZ #1350]
45495 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
45496
2119dcfa
UD
45497 * configure.in: static is always set to yes. Remove.
45498 * config.make.in: Don't set build-static.
45499 * Makeconfig: Remove use of build-static.
45500 * dlfcn/Makefile: Likewise.
45501 * elf/Makefile: Likewise.
45502 * math/Makefile: Likewise.
45503 * misc/Makefile: Likewise.
45504 * nptl/Makefile: Likewise.
45505 * sysdeps/mach/hurd/Makefile: Likewise.
45506
121766a9
UD
45507 * configure.in: PWD_P is not used anymore.
45508 * config.make.in: Remove PWD_P entry.
45509
51a1d39c 45510 * configure.in: Remove last remnants of RANLIB.
8720d066 45511 No need to check for signed size_t anymore.
215f4bdc
UD
45512 Don't set libc_commonpagesize and libc_relro_required here for Alpha
45513 and IA-64.
3857022a 45514 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
45515 * aclocal.m4: Likewise.
45516
d3ed7225
UD
45517 * wcsmbs/mbrtoc16.c: Implement using towc function.
45518 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
45519 * wcsmbs/wcsmbsload.c: Likewise.
45520 * iconv/gconv_simple.c: Likewise.
45521 * iconv/gconv_int.h: Likewise.
45522 * iconv/gconv_builtin.h: Likewise.
45523 * iconv/iconv_prog.c: Remove CHAR16 handling.
45524
45525 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
45526
45527 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
45528
a0da5fe1
UD
45529 * configure.in: Remove --with-elf and --enable-bounded options.
45530 Dont set base_machine for ia64. More non-ELF conditions removed.
45531 Remove testing and setting of leading underscore information.
45532 * config.make.in (build-bounded): Set to no.
45533 * config.h.in: Remove NO_UNDERSCORES entry.
45534 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
45535 them.
45536 * csu/start.c: Remove !NO_UNDERSCORE code.
45537 * locale/localeinfo.h: Likewise.
45538 * sysdeps/generic/machine-gmon.h: Likewise.
45539 * sysdeps/generic/sysdep.h: Likewise.
45540 * sysdeps/i386/sysdep.h: Likewise.
45541 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45542 * sysdeps/mach/sysdep.h: Likewise.
45543 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45544 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45545 * sysdeps/sh/sysdep.h: Likewise.
45546 * sysdeps/sparc/sparc32/alloca.S: Likewise.
45547 * sysdeps/unix/i386/sysdep.S: Likewise.
45548 * sysdeps/unix/sparc/start.c: Likewise.
45549 * sysdeps/unix/sparc/sysdep.S: Likewise.
45550 * sysdeps/unix/sparc/sysdep.h: Likewise.
45551 * sysdeps/unix/start.c: Likewise.
45552 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45553 * sysdeps/x86_64/sysdep.h: Likewise.
45554
df78418a
UD
455552012-01-07 Ulrich Drepper <drepper@gmail.com>
45556
a784e502
UD
45557 [BZ #13553]
45558 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
45559 for non-gcc.
45560 * argp/argp-fmtstream.h: Use const instead __const.
45561 * argp/argp.h: Likewise.
45562 * assert/assert.h: Likewise.
45563 * bits/fenv.h: Likewise.
45564 * bits/sched.h: Likewise.
45565 * bits/sigset.h: Likewise.
45566 * bits/sigthread.h: Likewise.
45567 * catgets/nl_types.h: Likewise.
45568 * conform/data/pthread.h-data: Likewise.
45569 * crypt/crypt-private.h: Likewise.
45570 * crypt/crypt.h: Likewise.
45571 * crypt/crypt_util.c: Likewise.
45572 * ctype/ctype.h: Likewise.
45573 * debug/execinfo.h: Likewise.
45574 * debug/mbsnrtowcs_chk.c: Likewise.
45575 * debug/mbsrtowcs_chk.c: Likewise.
45576 * debug/wcsnrtombs_chk.c: Likewise.
45577 * debug/wcsrtombs_chk.c: Likewise.
45578 * debug/wcstombs_chk.c: Likewise.
45579 * dirent/dirent.h: Likewise.
45580 * dlfcn/dlfcn.h: Likewise.
45581 * elf/neededtest4.c: Likewise.
45582 * grp/grp.h: Likewise.
45583 * gshadow/gshadow.h: Likewise.
45584 * iconv/gconv.h: Likewise.
45585 * iconv/gconv_int.h: Likewise.
45586 * iconv/gconv_simple.c: Likewise.
45587 * iconv/iconv.h: Likewise.
45588 * iconv/loop.c: Likewise.
45589 * iconv/skeleton.c: Likewise.
45590 * include/aio.h: Likewise.
45591 * include/aliases.h: Likewise.
45592 * include/argz.h: Likewise.
45593 * include/arpa/inet.h: Likewise.
45594 * include/assert.h: Likewise.
45595 * include/dirent.h: Likewise.
45596 * include/dlfcn.h: Likewise.
45597 * include/execinfo.h: Likewise.
45598 * include/fcntl.h: Likewise.
45599 * include/fenv.h: Likewise.
45600 * include/glob.h: Likewise.
45601 * include/grp.h: Likewise.
45602 * include/libintl.h: Likewise.
45603 * include/mntent.h: Likewise.
45604 * include/netdb.h: Likewise.
45605 * include/pwd.h: Likewise.
45606 * include/rpc/netdb.h: Likewise.
45607 * include/sched.h: Likewise.
45608 * include/search.h: Likewise.
45609 * include/shadow.h: Likewise.
45610 * include/signal.h: Likewise.
45611 * include/stdio.h: Likewise.
45612 * include/stdlib.h: Likewise.
45613 * include/string.h: Likewise.
45614 * include/sys/socket.h: Likewise.
45615 * include/sys/stat.h: Likewise.
45616 * include/sys/statfs.h: Likewise.
45617 * include/sys/statvfs.h: Likewise.
45618 * include/sys/syslog.h: Likewise.
45619 * include/sys/time.h: Likewise.
45620 * include/sys/uio.h: Likewise.
45621 * include/time.h: Likewise.
45622 * include/unistd.h: Likewise.
45623 * include/utmp.h: Likewise.
45624 * include/wchar.h: Likewise.
45625 * include/wctype.h: Likewise.
45626 * inet/aliases.h: Likewise.
45627 * inet/arpa/inet.h: Likewise.
45628 * inet/netinet/ether.h: Likewise.
45629 * inet/netinet/in.h: Likewise.
45630 * intl/libintl.h: Likewise.
45631 * io/bits/fcntl2.h: Likewise.
45632 * io/fcntl.h: Likewise.
45633 * io/ftw.h: Likewise.
45634 * io/sys/poll.h: Likewise.
45635 * io/sys/stat.h: Likewise.
45636 * io/sys/statfs.h: Likewise.
45637 * io/sys/statvfs.h: Likewise.
45638 * io/utime.h: Likewise.
45639 * libio/bits/stdio.h: Likewise.
45640 * libio/bits/stdio2.h: Likewise.
45641 * libio/libio.h: Likewise.
45642 * libio/libioP.h: Likewise.
45643 * libio/stdio.h: Likewise.
45644 * locale/lc-ctype.c: Likewise.
45645 * locale/locale.h: Likewise.
45646 * login/utmp.h: Likewise.
45647 * malloc/arena.c: Likewise.
45648 * malloc/malloc.c: Likewise.
45649 * malloc/malloc.h: Likewise.
45650 * malloc/mcheck.c: Likewise.
45651 * malloc/mtrace.c: Likewise.
45652 * math/bits/mathcalls.h: Likewise.
45653 * math/fenv.h: Likewise.
45654 * math/math_private.h: Likewise.
45655 * misc/bits/error.h: Likewise.
45656 * misc/bits/syslog.h: Likewise.
45657 * misc/err.h: Likewise.
45658 * misc/error.h: Likewise.
45659 * misc/fstab.h: Likewise.
45660 * misc/mntent.h: Likewise.
45661 * misc/regexp.h: Likewise.
45662 * misc/search.h: Likewise.
45663 * misc/sgtty.h: Likewise.
45664 * misc/sys/mman.h: Likewise.
45665 * misc/sys/syslog.h: Likewise.
45666 * misc/sys/uio.h: Likewise.
45667 * misc/sys/xattr.h: Likewise.
45668 * misc/ttyent.h: Likewise.
45669 * nis/rpcsvc/ypclnt.h: Likewise.
45670 * nss/nss.h: Likewise.
45671 * posix/bits/unistd.h: Likewise.
45672 * posix/fnmatch.h: Likewise.
45673 * posix/glob.h: Likewise.
45674 * posix/sched.h: Likewise.
45675 * posix/spawn.h: Likewise.
45676 * posix/sys/wait.h: Likewise.
45677 * posix/unistd.h: Likewise.
45678 * posix/wordexp.h: Likewise.
45679 * pwd/pwd.h: Likewise.
45680 * resolv/netdb.h: Likewise.
45681 * resource/sys/resource.h: Likewise.
45682 * rt/aio.h: Likewise.
45683 * rt/bits/mqueue2.h: Likewise.
45684 * rt/mqueue.h: Likewise.
45685 * shadow/shadow.h: Likewise.
45686 * signal/signal.h: Likewise.
45687 * socket/send.c: Likewise.
45688 * socket/sendto.c: Likewise.
45689 * socket/sys/socket.h: Likewise.
45690 * stdio-common/printf.h: Likewise.
45691 * stdlib/bits/stdlib.h: Likewise.
45692 * stdlib/fmtmsg.h: Likewise.
45693 * stdlib/monetary.h: Likewise.
45694 * stdlib/stdlib.h: Likewise.
45695 * stdlib/ucontext.h: Likewise.
45696 * streams/stropts.h: Likewise.
45697 * string/argz.h: Likewise.
45698 * string/bits/string2.h: Likewise.
45699 * string/string.h: Likewise.
45700 * string/strings.h: Likewise.
45701 * sunrpc/rpc/auth.h: Likewise.
45702 * sunrpc/rpc/auth_des.h: Likewise.
45703 * sunrpc/rpc/clnt.h: Likewise.
45704 * sunrpc/rpc/netdb.h: Likewise.
45705 * sunrpc/rpc/pmap_clnt.h: Likewise.
45706 * sunrpc/rpc/xdr.h: Likewise.
45707 * sysdeps/generic/inttypes.h: Likewise.
45708 * sysdeps/generic/net/if.h: Likewise.
45709 * sysdeps/generic/sys/swap.h: Likewise.
45710 * sysdeps/gnu/net/if.h: Likewise.
45711 * sysdeps/gnu/utmpx.h: Likewise.
45712 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
45713 * sysdeps/i386/i486/bits/string.h: Likewise.
45714 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
45715 * sysdeps/s390/bits/string.h: Likewise.
45716 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
45717 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
45718 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
45719 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
45720 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
45721 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
45722 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
45723 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
45724 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
45725 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
45726 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
45727 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45728 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
45729 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45730 * sysdeps/unix/sysv/linux/readv.c: Likewise.
45731 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
45732 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45733 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45734 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
45735 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
45736 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45737 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
45738 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
45739 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
45740 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
45741 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
45742 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
45743 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45744 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
45745 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
45746 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
45747 * sysvipc/sys/ipc.h: Likewise.
45748 * sysvipc/sys/msg.h: Likewise.
45749 * sysvipc/sys/sem.h: Likewise.
45750 * sysvipc/sys/shm.h: Likewise.
45751 * termios/termios.h: Likewise.
45752 * time/sys/time.h: Likewise.
45753 * time/time.h: Likewise.
45754 * wcsmbs/bits/wchar2.h: Likewise.
45755 * wcsmbs/uchar.h: Likewise.
45756 * wcsmbs/wchar.h: Likewise.
45757 * wctype/wctype.h: Likewise.
45758
0269750c
UD
45759 [BZ #13551]
45760 * Makeconfig: Remove all but ELF support including AIX support.
45761 * Makerules: Likewise.
45762 * config.h.in: Likewise.
45763 * config.make.in: Likewise.
45764 * configure: Likewise.
45765 * configure.in: Likewise.
45766 * csu/Makefile: Likewise.
45767 * csu/version.c: Likewise.
45768 * debug/Makefile: Likewise.
45769 * dlfcn/Makefile: Likewise.
45770 * elf/Makefile: Likewise.
45771 * extra-lib.mk: Likewise.
45772 * iconv/Makefile: Likewise.
45773 * include/libc-symbols.h: Likewise.
45774 * include/shlib-compat.h: Likewise.
45775 * resolv/Makefile: Likewise.
45776 * resolv/res_libc.c: Likewise.
45777 * rt/Makefile: Likewise.
45778 * sysdeps/i386/asm-syntax.h: Likewise.
45779 * sysdeps/i386/sysdep.h: Likewise.
45780 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45781 * sysdeps/mach/sysdep.h: Likewise.
45782 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
45783 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
45784 * sysdeps/s390/asm-syntax.h: Likewise.
45785 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45786 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45787 * sysdeps/sh/sysdep.h: Likewise.
45788 * sysdeps/unix/sparc/sysdep.h: Likewise.
45789 * sysdeps/wordsize-32/divdi3.c: Likewise.
45790 * sysdeps/x86_64/sysdep.h: Likewise.
45791
00bbd29b
UD
45792 * argp/Versions: Remove _argp_unlock_xxx.
45793
45794 [BZ #13559]
45795 * abilist/ld.abilist: Update. Adjust for removal of tls option.
45796 * abilist/libBrokenLocale.abilist: Likewise.
45797 * abilist/libanl.abilist: Likewise.
45798 * abilist/libc.abilist: Likewise.
45799 * abilist/libcrypt.abilist: Likewise.
45800 * abilist/libdl.abilist: Likewise.
45801 * abilist/libm.abilist: Likewise.
45802 * abilist/libnsl.abilist: Likewise.
45803 * abilist/libpthread.abilist: Likewise.
45804 * abilist/libresolv.abilist: Likewise.
45805 * abilist/librt.abilist: Likewise.
45806 * abilist/libthread_db.abilist: Likewise.
45807 * abilist/libutil.abilist: Likewise.
45808 * abilist/libnss_db.abilist: New file.
45809
45810 * scripts/abilist.awk: Add support for indirect functions.
45811
a2693a0e
UD
45812 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
45813
3f05895f
UD
45814 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
45815
ecb6fb48
UD
45816 * shlib-versions: Remove entries for ports architectures.
45817
664f8cb9
UD
45818 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
45819 files in ports.
45820 * elf/stackguard-macros.h: Remove support for IA-64.
45821 * elf/tst-auditmod1.c: Likewise.
45822 * sysdeps/generic/ldsodefs.h: Likewise.
45823
7ae81d88
UD
45824 * sysdeps/unix/sysv/linux/configure.in: Ports should define
45825 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
45826 configure files.
45827
bdeba135
UD
45828 [BZ #13552]
45829 * configure.in: Remove --enable-omitfp support.
45830 * FAQ.in: Adjust.
45831 * config.make.in: Likewise.
45832 * Makeconfig: Likewise.
45833 * manual/install.texi: Likewise.
45834
d75a0a62
UD
45835 In case anyone cares, the IA-64 architecture could move to ports.
45836 * sysdeps/ia64/*: Removed.
45837 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 45838 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 45839
dcc9756b
UD
45840 [BZ #13555]
45841 * configure.in: Remove entries for unsupported architectures.
45842
d3761ebc 45843 [BZ #13533]
9954432e
UD
45844 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
45845 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
45846 routines.
45847 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
45848 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
45849 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
45850 fall back to using wcrtomb.
45851 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
45852 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
45853 renaming.
45854 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
45855 * wcsmbs/tst-c16c32-1.c: New file.
45856
45857 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
45858 local variable.
45859
c3a87236
UD
45860 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
45861
28926a1b
UD
45862 * elf/tst-unique3.cc: Add explicit declaration of gets.
45863 * elf/tst-unique3lib.cc: Likewise.
45864 * elf/tst-unique3lib2.cc: Likewise.
45865 * elf/tst-unique4.cc: Likewise.
45866
df78418a
UD
45867 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45868
8ecd6b2a
JM
458692012-01-06 Joseph Myers <joseph@codesourcery.com>
45870
45871 [BZ #13566]
45872 * assert/assert.h (static_assert): Don't define for C++.
45873 * libio/stdio.h (gets): Do declare for C++ <= C++11.
45874 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45875
9f115170
UD
458762012-01-03 Ulrich Drepper <drepper@gmail.com>
45877
5e0d0300
UD
45878 * iconv/loop.c (single loop): Fix assertion in storing of
45879 remaining bytes.
45880
9f115170
UD
45881 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45882
81fb02b0
UD
458832012-01-01 Ulrich Drepper <drepper@gmail.com>
45884
45885 * posix/getconf.c: Update copyright year.
45886 * nss/getent.c: Likewise.
a316c1f6 45887 * nss/makedb.c: Likewise.
81fb02b0
UD
45888 * iconv/iconvconfig.c: Likewise.
45889 * iconv/iconv_prog.c: Likewise.
45890 * elf/ldconfig.c: Likewise.
a316c1f6
UD
45891 * elf/pldd.c: Likewise.
45892 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
45893 * catgets/gencat.c: Likewise.
45894 * csu/version.c: Likewise.
45895 * elf/ldd.bash.in: Likewise.
45896 * elf/sprof.c (print_version): Likewise.
45897 * locale/programs/locale.c: Likewise.
45898 * locale/programs/localedef.c: Likewise.
a316c1f6 45899 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
45900 * nscd/nscd.c (print_version): Likewise.
45901 * debug/xtrace.sh: Likewise.
45902 * malloc/memusage.sh: Likewise.
45903 * malloc/mtrace.pl: Likewise.
45904 * debug/catchsegv.sh: Likewise.
45905
2ba92745
JJ
459062011-12-30 Jakub Jelinek <jakub@redhat.com>
45907
45908 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45909 pure attribute.
45910
dadebdae
UD
459112011-12-24 Ulrich Drepper <drepper@gmail.com>
45912
d3761ebc 45913 [BZ #13533]
db6af3eb
UD
45914 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45915 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45916 transformations.
45917 * iconv/gconv_int.h: Likewise.
45918 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45919 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45920 from libc for GLIBC_2.16.
45921 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45922 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45923 * wcsmbs/uchar.h: Really define mbstate_t.
45924 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45925 * wcsmbs/c16rtomb.c: New file.
45926 * wcsmbs/mbrtoc16.c: New file.
45927 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45928 for C/POSIX locale.
45929 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45930 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45931
dadebdae
UD
45932 * wcsmbs/wchar.h: Add missing __restrict.
45933
67371b56
UD
459342011-12-23 Ulrich Drepper <drepper@gmail.com>
45935
74033a25
UD
45936 [BZ #13532]
45937 * time/Makefile (routines): Add timespec_get.
45938 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45939 * time/time.h: Define TIME_UTC and declare timespec_get. Define
45940 timespec for ISO C11.
45941 * time/timespec_get.c: New file.
45942 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45943 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45944
380d7e87
UD
45945 [BZ #13531]
45946 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45947 * stdlib/stdlib.h: Declare aligned_alloc.
45948 * Versions.def: Add GLIBC_2.16 for libc.
45949 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45950
4e9e7a35
UD
45951 [BZ 13527]
45952 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45953 ISO C11.
45954
380d7e87 45955 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
45956 code.
45957
03a71829
UD
45958 [BZ #13528]
45959 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45960
839e283e
UD
45961 [BZ #13529]
45962 * assert/assert.h (static_assert): Define.
45963
ce5294e2 45964 * version.h: Update for 2.16 development version.
90fa7312 45965
8d44e150 45966 [BZ #13526]
d7809905
UD
45967 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
45968 _ISOC11_SOURCE.
45969
c0da14cd
UD
45970 * version.h (RELEASE): Bump for 2.15 release.
45971 * include/features.h (__GLIBC_MINOR__): Bump to 15.
45972
530a3249
MP
45973 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
45974 Patch by Marek Polacek <mpolacek@redhat.com>.
45975
67371b56
UD
45976 * bits/byteswap.h: Protect long long constants with __extension__.
45977 * sysdeps/i386/bits/byteswap.h: Likewise.
45978 * sysdeps/ia64/bits/byteswap.h: Likewise.
45979 * sysdeps/s390/bits/byteswap.h: Likewise.
45980 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45981
15db4de1
LD
459822011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45983
45984 [BZ #13540]
bbe315ea
LD
45985 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
45986 destination buffer.
15db4de1
LD
45987 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
45988
2b2596b1
MP
459892011-12-23 Marek Polacek <polacek@redhat.com>
45990
45991 * elf/dl-addr.c (determine_info): Add inline keyword.
45992 * elf/tst-auditmod4b.c (check_avx): Likewise.
45993 * elf/tst-auditmod6b.c (check_avx): Likewise.
45994 * elf/tst-auditmod6c.c (check_avx): Likewise.
45995 * elf/tst-auditmod7b.c (check_avx): Likewise.
45996
70c6c246
UD
459972011-12-23 Ulrich Drepper <drepper@gmail.com>
45998
45999 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
46000 !__SSE_MATH__.
46001
c044cf14
LD
460022011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46003
15db4de1 46004 [BZ #13540]
c044cf14
LD
46005 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
46006 processing for last bytes.
46007
6b13d9d9
BH
460082011-08-06 Bruno Haible <bruno@clisp.org>
46009
d455f537
BH
46010 [BZ #13061]
46011 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
46012 U+0385, not to U+1FEE.
46013
6b13d9d9
BH
46014 [BZ #13062]
46015 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
46016 entry for U+00A5 U+0301.
46017
db910efd
UD
460182011-12-22 Ulrich Drepper <drepper@gmail.com>
46019
27deeafc
UD
46020 [BZ #13166]
46021 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
46022 buffer for the output is too small.
46023
aed9d171
UD
46024 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
46025 optimization.
46026
db910efd
UD
46027 [BZ #13185]
46028 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
46029 SSE flags if possible.
46030
2bd779ae
LD
460312011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46032
e7f9dac3 46033 [BZ #13540]
2bd779ae
LD
46034 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
46035 processing for last bytes.
46036
154bfc16
JM
460372011-12-22 Joseph Myers <joseph@codesourcery.com>
46038
46039 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
46040 (syscall-list-default-options, syscall-list-default-condition)
46041 (syscall-list-includes): Define.
46042 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
46043 list of ABIs and options and #if conditions for each ABI. Do not
46044 handle common syscalls between ABIs specially.
46045 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
46046 Remove.
46047 (syscall-list-variants, syscall-list-32bit-options)
46048 (syscall-list-32bit-condition, syscall-list-64bit-options)
46049 (syscall-list-64bit-condition): Define.
46050 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
46051 (syscall-list-variants, syscall-list-32bit-options)
46052 (syscall-list-32bit-condition, syscall-list-64bit-options)
46053 (syscall-list-64bit-condition): Define.
46054 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
46055 Remove.
46056 (syscall-list-variants, syscall-list-32bit-options)
46057 (syscall-list-32bit-condition, syscall-list-64bit-options)
46058 (syscall-list-64bit-condition): Define.
46059 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
46060 Remove.
46061 (syscall-list-variants, syscall-list-32bit-options)
46062 (syscall-list-32bit-condition, syscall-list-64bit-options)
46063 (syscall-list-64bit-condition): Define.
46064
21eaf3a5
UD
460652011-12-22 Ulrich Drepper <drepper@gmail.com>
46066
16c6f992
UD
46067 * locale/iso-639.def: Add brx entry.
46068
41043168
UD
46069 [BZ #13328]
46070 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
46071 Proposed by Mariusz_Cukr <marcukr@op.pl>.
46072
21eaf3a5
UD
46073 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
46074 __feraiseexcept_renamed.
46075
e3a851a2
UD
460762011-12-21 Ulrich Drepper <drepper@gmail.com>
46077
4920765e
UD
46078 [BZ #13538]
46079 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
46080 EPOLLET with unsigned values.
46081 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46082 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46083
e3a851a2
UD
46084 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
46085 to large cancellation.
46086 * math/s_cacoshf.c: Likewise.
46087 * math/s_cacoshl.c: Likewise.
46088
b27e24b8
RK
460892011-11-18 Richard B. Kreckel <kreckel@ginac.de>
46090
46091 [BZ #13305]
aebefeee 46092 [BZ #12786]
b27e24b8
RK
46093 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
46094 * math/s_cacoshf.c: Likewise.
46095 * math/s_cacoshl.c: Likewise.
46096
ee190f67
UD
460972011-12-21 Ulrich Drepper <drepper@gmail.com>
46098
46099 [BZ #13439]
46100 * iconv/gconv.h: Define __GCONV_SWAP.
46101 * iconvdata/unicode.c: The swap bit must be stored in __flags.
46102 * iconvdata/utf-16.c: Likewise.
46103 * iconvdata/utf-32.c: Likewise.
46104
707f25df
AS
461052011-12-21 Andreas Schwab <schwab@linux-m68k.org>
46106
46107 [BZ #13524]
46108 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
46109 numerator after shifting it by one limb.
46110
d2daaa1e
RÁE
461112011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
46112
46113 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
46114 under [__USE_EXTERN_INLINES].
46115
a4647e72
UD
461162011-12-17 Ulrich Drepper <drepper@gmail.com>
46117
46118 [BZ #13446]
46119 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
46120
f0b264f1
AZ
461212011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46122
46123 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
46124 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
46125 optimized code.
46126 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
46127 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
46128 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
46129 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
46130 for strncasecmp/strncasecmp_l compilation.
46131 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
46132 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
46133
8ef4f244
MP
461342011-12-08 Marek Polacek <mpolacek@redhat.com>
46135
46136 [BZ #13484]
46137 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
46138 of __asm__.
46139
97ac2654
UD
461402011-12-17 Ulrich Drepper <drepper@gmail.com>
46141
46142 [BZ #13506]
46143 * time/tzfile.c (__tzfile_read): Check values from file header.
46144
91d2a845
WS
461452011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
46146
46147 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
46148 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
46149 * powerpc/powerpc32/dl-start.S: Likewise.
46150 * powerpc/powerpc32/elf/start.S: Likewise.
46151 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
46152 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
46153 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
46154 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
46155 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
46156 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
46157 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
46158 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
46159 * powerpc/powerpc32/fpu/s_round.S: Likewise.
46160 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46161 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46162 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46163 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
46164 * powerpc/powerpc32/memset.S: Likewise.
46165 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46166 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46167 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46168 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46169 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46170 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46171 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46172 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46173 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
46174 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
46175 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
46176 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46177 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46178
a1267ba1
AZ
461792011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46180
46181 * math/libm-test.inc: Added more nearbyint tests.
46182 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
46183 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
46184 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
46185 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
46186
ad8ac1bd
RL
461872011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
46188
46189 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
46190 FD_CLOEXEC.
46191
1d3e4b61
UD
461922011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46193
46194 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
46195 Add wcscpy-ssse3 wcscpy-c.
46196 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
46197 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
46198 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
46199 * sysdeps/x86_64/wcschr.S: New file.
46200 * sysdeps/x86_64/wcsrchr.S: New file.
46201 * string/test-strcmp.c: Remove checking of wcscmp function for
46202 wrong alignments.
46203 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
46204 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
46205 wcsrchr-sse2 wcsrchr-c.
46206 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
46207 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
46208 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
46209 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
46210 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
46211 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
46212 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
46213 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
46214 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
46215 * wcsmbc/wcschr.c (WCSCHR): New macro.
46216
5b330a2d
UD
462172011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46218
46219 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
46220 * wcsmbs/test-wcsrchr.c: New file.
46221 * string/test-strrchr.c: Add wcsrchr support.
46222 (WIDE): New macro.
46223 * wcsmbs/test-wcscpy.c: New file.
46224 * string/test-strcpy.c: Add wcscpy support.
46225 (WIDE): New macro.
26428b7c 46226
f039c043
UD
462272011-12-10 Ulrich Drepper <drepper@gmail.com>
46228
46229 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
46230 the inner loop.
46231
850fb039
AS
462322011-12-06 Andreas Schwab <schwab@linux-m68k.org>
46233
46234 [BZ #13472]
46235 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
46236
4efbd5cb
UD
462372011-12-04 Ulrich Drepper <drepper@gmail.com>
46238
52ff5dd0 46239 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 46240 Minor optimizations.
52ff5dd0 46241
4efbd5cb
UD
46242 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
46243 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
46244 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
46245
8a426e12
UD
462462011-12-03 Ulrich Drepper <drepper@gmail.com>
46247
aff2453d
UD
46248 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
46249 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
46250 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
46251 for gcc to avoid warnings.
46252 * inet/Makefile (tests): Add tst-checks.
46253 * inet/tst-checks.c: New file.
46254
46255 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
46256 warning.
46257
46258 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
46259 __wmemcmp_sse2.
46260
46261 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
46262 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
46263
8a426e12
UD
46264 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
46265
9bea3473
UD
462662011-12-02 Ulrich Drepper <drepper@gmail.com>
46267
3a965496
UD
46268 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
46269 problem.
46270
9bea3473
UD
46271 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
46272
f101631b
UD
462732011-11-29 Joseph Myers <joseph@codesourcery.com>
46274
46275 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
46276 conditional on GCC version.
46277 (__arch_compare_and_exchange_val_8_acq)
46278 (__arch_compare_and_exchange_val_16_acq)
46279 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
46280 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
46281 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
46282
a98275aa
UD
462832011-12-02 Joseph Myers <joseph@codesourcery.com>
46284
46285 * sysdeps/sh/backtrace.c: New file.
46286
d4cc29a2
AS
462872011-12-02 Andreas Schwab <schwab@redhat.com>
46288
46289 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
46290 parenthesis.
46291
6257af2d
AS
462922011-12-01 Andreas Schwab <schwab@redhat.com>
46293
46294 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
46295 falling back to utime.
46296
b5f44c1a
AS
462972011-11-30 Andreas Schwab <schwab@redhat.com>
46298
46299 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
46300 expectations for float.
46301
f3a6cc0a
AS
463022011-11-29 Andreas Schwab <schwab@redhat.com>
46303
46304 * locale/weight.h (findidx): Add parameter len.
46305 * locale/weightwc.h (findidx): Likewise.
46306 * posix/fnmatch_loop.c (FCT): Adjust caller.
46307 * posix/regcomp.c (build_equiv_class): Likewise.
46308 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
46309 * posix/regexec.c (check_node_accept_bytes): Likewise.
46310 * string/strcoll_l.c (STRCOLL): Likewise.
46311 * string/strxfrm_l.c (STRXFRM): Likewise.
46312
9d65ea3a
UD
463132011-11-17 Ulrich Drepper <drepper@gmail.com>
46314
46315 * Makefile.in: Remove CVSOPT handling.
46316 * configure.in: Remove use of AC_REVISION.
46317 * iconvdata/Makefile (distribute): No need to filter out CVS.
46318 * scripts/list-sources.sh: Remove CVS, subversion and monotone
46319 handling.
46320
5583a086
AS
463212011-11-16 Andreas Schwab <schwab@redhat.com>
46322
46323 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
46324 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
46325 [USE_AS_STRNCASECMP_L]: Likewise.
46326 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
46327 NO_TLS_DIRECT_SEG_REFS.
46328 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
46329 Fix argument offsets for non-PIC.
46330 [USE_AS_STRNCASECMP_L]: Likewise.
46331 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
46332 NO_TLS_DIRECT_SEG_REFS.
46333
d62a8200
UD
463342011-11-15 Ulrich Drepper <drepper@gmail.com>
46335
9d65ea3a 46336 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
46337 O_CLOEXEC.
46338 * locale/loadlocale.c (_nl_load_locale): Likewise.
46339
09f93bd3
AS
463402011-11-15 Andreas Schwab <schwab@redhat.com>
46341
446514f9
AS
46342 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
46343 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
46344 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
46345 (SYSCALL_GETTIME): Set errno on error.
46346
09f93bd3
AS
46347 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
46348 count references to noai6ai_cached.
46349
312be3f9
UD
463502011-11-15 Ulrich Drepper <drepper@gmail.com>
46351
46352 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
46353
46354 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
46355 FD_CLOEXEC for /proc/self/maps.
46356
46357 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
46358 FD_CLOEXEC for /proc/meminfo.
46359
46360 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
46361 gai.conf.
46362
46363 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
46364 FD_CLOEXEC for given file.
46365
46366 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
46367
46368 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
46369 FD_CLOEXEC for /etc/hosts.
46370 (_gethtent): Likewise.
46371
46372 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
46373
46374 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
46375 cancellation and set FD_CLOEXEC for /etc/netgroup.
46376
46377 * nss/nss_files/files-key.c (search): Don't allow cancellation when
46378 reading /etc/publickey.
46379
46380 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
46381 allow cancellation when reading /etc/group.
46382
46383 * nss/nss_files/files-alias.c (internal_setent): Don't allow
46384 cancellation.
46385 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
46386
46387 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
46388 when using data file.
46389
46390 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
46391
46392 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
46393 (write_nis_obj): Use "c" and "e" in fopen.
46394
46395 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
46396
46397 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
46398
46399 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
46400
46401 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
46402
46403 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
46404 locale.alias.
46405
46406 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
46407
46408 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
46409
46410 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
46411
46412 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
46413 file parsing and set FD_CLOEXEC.
46414
82af0fa8
UD
464152011-11-14 Ulrich Drepper <drepper@gmail.com>
46416
46417 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
46418
a5fb313c
AS
464192011-11-14 Andreas Schwab <schwab@redhat.com>
46420
46421 * malloc/arena.c (arena_get2): Don't call reused_arena when
46422 _int_new_arena failed.
46423
6abf3465
UD
464242011-11-14 Ulrich Drepper <drepper@gmail.com>
46425
46426 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
46427 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
46428 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
46429 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46430 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46431 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
46432 to compile strcasecmp and strncasecmp.
46433 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
46434 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
46435
46436 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
46437
76e3966e
UD
464382011-11-13 Ulrich Drepper <drepper@gmail.com>
46439
46440 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
46441 locale-defines.sym to gen-as-const-headers.
46442 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
46443 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
46444 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
46445 to compile strcasecmp and strncasecmp.
46446 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
46447 strcasecmp_l and strncasecmp_l.
46448 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
46449 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
46450 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
46451 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
46452 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
46453 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
46454 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
46455 * sysdeps/i386/i686/multiarch/strncase.S: New file.
46456 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
46457 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
46458 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
46459
ab26144e
UD
464602011-11-12 Ulrich Drepper <drepper@gmail.com>
46461
7edb22ef
UD
46462 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
46463 result of SYSDEP_GETTIME_CPU to retval.
46464 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
46465 parameter list to macro. Remove trailing semicolon. Adjust users.
46466
9694fc44
UD
46467 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
46468 variable.
46469
8ad89ef8
UD
46470 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
46471 mantissa words.
46472 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
46473
0c822ef9
UD
46474 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
46475 from unused variable.
46476
874e0564
UD
46477 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
46478 DWARF definitions.
46479 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
46480 for assembling.
46481
3a2edc79
UD
46482 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
46483 over namespaces.
46484
f3c2577f
UD
46485 * sunrpc/rpc_prot.c (rejected): Fix case value.
46486
294ce126
UD
46487 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
46488 unsigned long long int to avoid warnings in shift.
46489
5e2b63c6
UD
46490 * posix/regex_internal.c (re_string_reconstruct): Actually use result
46491 of use of trans.
46492 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
46493 variable tmp.
46494
e7f4b08e
UD
46495 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
46496 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
46497 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
46498
ab26144e
UD
46499 * nis/nis_table.c (nis_list): Use variable of correct type for
46500 result of __follow_path call.
46501
8a6d5255
AZ
465022011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46503
46504 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
46505 of math functions ceil, trunc, floor, round, and sqrt, when
46506 avaliable on the platform.
46507 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
46508 name clash.
46509 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46510 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46511 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46512
aaddc98c
MP
465132011-10-30 Marek Polacek <mpolacek@redhat.com>
46514
46515 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
46516 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46517
95b7042b
RM
465182011-11-11 Roland McGrath <roland@hack.frob.com>
46519
46520 * include/unistd.h: Fix __readlink return type.
46521 Reported by Chris Metcalf <cmetcalf@tilera.com>.
46522
57769839
UD
465232011-11-11 Ulrich Drepper <drepper@gmail.com>
46524
46525 * stdlib/ucontext.h: Undo last change for makecontext.
46526
edc5984d
AS
465272011-11-11 Andreas Schwab <schwab@redhat.com>
46528
98591e58
AS
46529 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
46530
edc5984d
AS
46531 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
46532 * setjmp/setjmp.h: Mark functions as non-leaf.
46533 * setjmp/bits/setjmp2.h: Likewise.
46534 * stdlib/ucontext.h: Likewise.
46535
77cdc054
AS
465362011-11-10 Andreas Schwab <schwab@redhat.com>
46537
46538 * malloc/arena.c (_int_new_arena): Don't increment narenas.
46539 (reused_arena): Don't check arena limit.
46540 (arena_get2): Atomically check arena limit.
46541
fe72eebd
UD
465422011-11-08 Ulrich Drepper <drepper@gmail.com>
46543
5f078c32
UD
46544 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
46545 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
46546
fe72eebd
UD
46547 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
46548 instructions.
46549
ae1bc2fa
AS
465502011-11-07 Andreas Schwab <schwab@redhat.com>
46551
7583a88d
AS
46552 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
46553 handler when locking.
46554
ae1bc2fa
AS
46555 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46556 Fix size of allocated buffer.
46557
10fb0bfa
AS
465582011-11-04 Andreas Schwab <schwab@redhat.com>
46559
998832a4
AS
46560 [BZ #10103]
46561 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
46562 declarations for long double functions.
46563 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
46564
10fb0bfa
AS
46565 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
46566
3d7ba52b
AS
465672011-11-03 Andreas Schwab <schwab@redhat.com>
46568
a9ae54a1
AS
46569 * nscd/nscd.c (main): Don't start AVC thread until credentials are
46570 installed.
46571
3d7ba52b
AS
46572 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
46573 is disabled.
46574
bc8db248
ST
465752011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
46576
46577 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
46578
45b96dd6
AS
465792011-11-01 Andreas Schwab <schwab@linux-m68k.org>
46580
647776f6
AS
46581 * include/alloca.h (stackinfo_alloca_round): Define.
46582 (extend_alloca): Use it.
46583 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
46584 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
46585 here.
46586
d91a8b93
AS
46587 * scripts/check-local-headers.sh: Ignore libaudit.h.
46588
45b96dd6
AS
46589 * nscd/Makefile (extra-objs): Make recursively expanded.
46590
432d41ce
UD
465912011-11-01 Ulrich Drepper <drepper@gmail.com>
46592
34372fc6
UD
46593 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
46594 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46595
fadb59f8
UD
46596 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
46597 * posix/tst-rfc3484-2.c: Likewise.
46598 * posix/tst-rfc3484-3.c: Likewise.
46599
78239589
UD
46600 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46601 process_vm_writev.
46602 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
46603 process_vm_writev.
46604 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
46605 process_vm_writev from libc using GLIBC_2.15 version.
46606
432d41ce
UD
46607 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
46608
02f9c6cf
PP
466092011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
46610
46611 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
46612 stack usage.
46613
3a2c0242
UD
466142011-10-31 Ulrich Drepper <drepper@gmail.com>
46615
f4ec4833
UD
46616 [BZ #13367]
46617 * nss/getent.c (initgroups_keys): Show error message in case no group
46618 names are given.
46619
3a2c0242
UD
46620 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
46621 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
46622 __bump_nl_timestamp.
46623 * nscd/connections (nscd_init): When host database is served open
46624 netlink socket and request notification about configuration changes.
46625 (main_loop_poll): Track netlink file descriptor and bump timestamp
46626 in case data becomes available.
46627 (main_loop_epoll): Likewise.
46628 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
46629 (database_pers_head): Add extra_data fileds.
46630 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
46631 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
46632 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
46633 Adjust caller.
46634 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
46635 in6ai data, call __free_in6ai.
46636 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
46637 Add -DHAVE_NETLINK.
46638 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
46639 interface information. Reuse previous data if netlink timestamp
46640 is not changed.
46641 (__bump_nl_timestamp): New function.
46642 (__free_in6ai): New function.
46643
636064eb
UD
466442011-10-30 Ulrich Drepper <drepper@gmail.com>
46645
46646 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
46647 close_not_cancel_no_status here.
46648 (__check_pf): Reorganize code a bit to not call close twice if OOM.
46649
9beb2334
UD
466502011-10-29 Ulrich Drepper <drepper@gmail.com>
46651
6ef76f3b
UD
46652 [BZ #13276]
46653 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
46654 return value.
46655
0ffc4f3e 46656 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
46657 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
46658 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
46659
cb95113e
UD
466602011-07-03 Andreas Jaeger <aj@suse.de>
46661
46662 [BZ #10709]
46663 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
46664 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
46665 * math/libm-test.inc (sin_test): Add test case.
46666
a1b560ff
UD
466672011-10-29 Ulrich Drepper <drepper@gmail.com>
46668
c9aaface
UD
46669 [BZ #13337]
46670 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
46671 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46672
d272e7f1
UD
46673 * elf/chroot_canon.c (chroot_canon): Cleanups.
46674
1bc33071
UD
46675 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
46676
1760874d
TJ
46677 [BZ #13335]
46678 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
46679 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46680
51d91b18
UD
46681 * string/test-strchr.c: Make usable for strchrnul testing.
46682 * string/test-strchrnul.c: New file.
46683 * string/Makefile (strop-tests): Add strchrnul.
46684
a1b560ff 46685 * po/it.po: Update from translation team.
b611fb81 46686 * po/es.po: Likewise.
a1b560ff 46687
a5b81e1f
UD
466882011-10-28 Ulrich Drepper <drepper@gmail.com>
46689
fd52bc6d
UD
46690 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
46691 the three constants needed as parameters. Drop the others.
46692 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
46693 __m128i_strloadu_tolower.
52e4b9eb
UD
46694 Create and initialize variable zero and use it in all the places
46695 where _mm_setzero_si128 was used.
fd52bc6d 46696
a5b81e1f
UD
46697 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
46698 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
46699 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
46700 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
46701 anymore.
46702 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
46703 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
46704 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
46705 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
46706 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
46707 __mpranred, __mptan.
46708 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
46709 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
46710 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
46711 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
46712 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
46713 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
46714 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
46715 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
46716 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
46717
b4343346
AS
467182011-10-28 Andreas Schwab <schwab@redhat.com>
46719
0c92d8a8
AS
46720 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
46721 redefine if SHARED.
46722 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
46723
b4343346
AS
46724 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
46725 wide char related routines to wcsmbs subdir.
46726
3871f58f
AS
467272011-10-27 Andreas Schwab <schwab@redhat.com>
46728
46729 [BZ #13344]
46730 * misc/sys/cdefs.h (__THROWNL): Define.
46731 * posix/unistd.h: Use __THREADNL instead of __THREAD
46732 for memory synchronization functions.
46733
94d44d9f
RM
467342011-10-26 Roland McGrath <roland@hack.frob.com>
46735
21b64b15 46736 [BZ #13349]
94d44d9f
RM
46737 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
46738 doesn't exist.
46739 * manual/stdio.texi (Obstack Streams): Node removed.
46740
f6ce9294
AS
467412011-10-26 Andreas Schwab <schwab@redhat.com>
46742
80479147
AS
46743 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
46744 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46745 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46746
f6ce9294
AS
46747 * math/math_private.h (math_force_eval): Allow non-addressable
46748 arguments.
46749 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
46750
618280a1
UD
467512011-10-25 Ulrich Drepper <drepper@gmail.com>
46752
e0016b11
UD
46753 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
46754 file is not needed.
46755
46756 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
46757 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
46758 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46759 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46760 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46761 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46762 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46763 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
46764 Add AVX variants.
46765 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
46766 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
46767 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
46768 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
46769 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
46770 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
46771 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
46772 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
46773 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
46774 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
46775 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
46776 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
46777 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
46778 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
46779 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
46780 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
46781 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
46782 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
46783 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
46784
46785 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
46786 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
46787
618280a1
UD
46788 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
46789 place. Use VEX encoding when compiling for AVX.
46790
37822576
AS
467912011-10-25 Andreas Schwab <schwab@redhat.com>
46792
1f1e1947
AS
46793 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
46794 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46795
37822576
AS
46796 * string/test-strchr.c (do_test): Don't generate NUL bytes.
46797
31ea014d
UD
467982011-10-25 Ulrich Drepper <drepper@gmail.com>
46799
d7826aa1 46800 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 46801 useless if() expression.
d7826aa1
UD
46802 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46803 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46804 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46805 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46806 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46807 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46808 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46809 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46810 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46811 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46812 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46813 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46814 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46815 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46816 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46817 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46818 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46819 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46820 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46821
31ea014d
UD
46822 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
46823
16437fec
AS
468242011-10-25 Andreas Schwab <schwab@redhat.com>
46825
46826 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
46827 condition.
46828 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46829
31d3cc00
UD
468302011-10-25 Ulrich Drepper <drepper@gmail.com>
46831
46832 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
46833 .text section. Avoid duplicate constants.
46834 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46835 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46836 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46837 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46838 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46839 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46840 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46841 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46842 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46843 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
46844 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46845 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46846 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46847 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46848 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46849 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46850 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46851 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46852 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46853 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46854 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46855 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46856 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46857 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
46858 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
46859 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
46860 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
46861 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
46862 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
46863 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
46864 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
46865 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
46866 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46867 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
46868 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46869 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46870 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46871 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46872 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46873 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46874 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46875 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46876 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46877 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46878 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46879
58985aa9
UD
468802011-10-24 Ulrich Drepper <drepper@gmail.com>
46881
202c9deb
UD
46882 * sysdeps/x86_64/dla.h: Move to ...
46883 * sysdeps/x86_64/fpu/dla.h: ...here.
46884 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46885 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 46886
af968f62
UD
46887 * config.make.in: Add have-mfma4 entry.
46888 * configure.in: Substitute libc_cv_cc_fma4.
46889 * math/Makefile (dbl-only-routines): Add sincostab.
46890 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46891 Use __sincostab not sincos.
46892 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46893 name is a macro.
46894 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46895 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46896 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46897 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
46898 using __copysign.
46899 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
46900 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
46901 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46902 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46903 and __inv.
46904 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46905 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46906 __copysign.
46907 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
46908 define aliases when function name is a macro.
46909 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46910 sysdeps/ieee754/dbl-64/sincos.tbl.
46911 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46912 fma4-enabled routines.
46913 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46914 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46915 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46916 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46917 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46918 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46919 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46920 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46921 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46922 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46923 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46924 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46925 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46926 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46927 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46928 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46929 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46930 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46931 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46932 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46933 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46934 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46935 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46936 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46937 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46938 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46939 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46940 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46941 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46942 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46943
58985aa9
UD
46944 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46945 rename.
46946 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46947 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46948 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46949 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46950 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46951 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46952 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46953 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46954
a201fbcf
AS
469552011-10-24 Andreas Schwab <schwab@redhat.com>
46956
46957 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46958
fc2ee42a
LD
469592011-10-23 Ulrich Drepper <drepper@gmail.com>
46960
bb3129bd
UD
46961 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
46962
0275fff8
UD
46963 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
46964 prediction.
46965 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
46966
2fa2ae85
UD
46967 * string/strnlen.c: Don't define STRNLEN, reverse logic.
46968 Remove unused variable magic_bits.
46969 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
46970
fc2ee42a
LD
46971 * string/strnlen.c: Define and use STRNLEN macro.
46972 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
46973 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
46974 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
46975 * wcsmbs/wcslen.c: Define and use WCSLEN.
46976 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
46977 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
46978 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
46979 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
46980 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
46981 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
46982 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46983
ce7dd29f
LD
469842011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46985
46986 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46987 strnlen-sse2-no-bsf.
46988 Rename strlen-no-bsf to strlen-sse2-no-bsf.
46989 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
46990 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
46991 Add strnlen support.
46992 (USE_AS_STRNLEN): New macro.
46993 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
46994 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
46995 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
46996 * sysdeps/x86_64/wcslen.S: New file.
46997
979c70a3
MZ
469982011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
46999
47000 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
47001 XMM-moves are used for copying on small sizes.
47002
2d09f82f
LD
470032011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47004
47005 * wcsmbs/Makefile (strop-tests): Add wcschr.
47006 * wcsmbs/test-wcschr.c: New file.
47007 * string/test-strchr.c: Update.
47008 Add wcschr support.
47009 (WIDE): New macro.
47010
619fccca
LD
470112011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47012
2d09f82f 47013 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
47014 * wcsmbs/test-wcslen.c: New file.
47015 * string/test-strlen.c: Update.
47016 Add wcslen support.
47017 (WIDE): New macro.
47018
09f699ea
UD
470192011-10-23 Ulrich Drepper <drepper@gmail.com>
47020
47021 * po/it.po: Update from translation team.
47022
95584d3b
LD
470232011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47024
47025 * sysdeps/x86_64/wcscmp.S: Update.
47026 Fix wrong comparison semantics.
47027 wcscmp shall use signed comparison not unsigned.
47028 Don't use substraction to avoid overflow bug.
47029 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
47030 * wcsmbc/wcscmp.c: Likewise.
47031 * string/test-strcmp.c: Likewise.
47032 Add new tests to check cases with negative values.
47033
c8b3296b
UD
470342011-10-23 Ulrich Drepper <drepper@gmail.com>
47035
47036 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
47037 * sysdeps/x86_64/dla.h: ...here. New file.
47038 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
47039 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47040 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47041 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47042 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47043 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47044 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47045 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47046 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47047
246ad57a
AS
470482011-10-23 Andreas Schwab <schwab@linux-m68k.org>
47049
47050 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
47051 __ynl_finite aliases.
47052
a1a87169
UD
470532011-10-22 Ulrich Drepper <drepper@gmail.com>
47054
0d355eb7
UD
47055 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47056
a1a87169
UD
47057 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
47058 define DLA_FMA.
47059 [DLA_FMA] (EMULV): Use DLA_FMA.
47060 [DLA_FMA] (MUL12): Use EMULV.
47061 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
47062 that are not needed.
47063 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47064 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47065 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47066 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47067 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47068 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47069 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47070
ee2aafe0
AS
470712011-10-22 Andreas Schwab <schwab@linux-m68k.org>
47072
47073 * math/s_nan.c: Undef __nan.
47074 * math/s_nanf.c: Undef __nanf.
47075 * math/s_nanl.c: Undef __nanl.
47076 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
47077 "math_private.h".
47078
bc62c2fb
UD
470792011-10-22 Ulrich Drepper <drepper@gmail.com>
47080
77425c63
UD
47081 * math/s_catan.c: Add branch predictions.
47082 * math/s_catanf.c: Likewise.
47083 * math/s_catanh.c: Likewise.
47084 * math/s_catanhf.c: Likewise.
47085 * math/s_catanhl.c: Likewise.
47086 * math/s_catanl.c: Likewise.
47087 * math/s_cexp.c: Likewise.
47088 * math/s_cexpf.c: Likewise.
47089 * math/s_cexpl.c: Likewise.
47090 * math/s_clog.c: Likewise.
47091 * math/s_clog10.c: Likewise.
47092 * math/s_clog10f.c: Likewise.
47093 * math/s_clog10l.c: Likewise.
47094 * math/s_clogf.c: Likewise.
47095 * math/s_clogl.c: Likewise.
47096 * math/s_csqrt.c: Likewise.
47097 * math/s_csqrtf.c: Likewise.
47098 * math/s_csqrtl.c: Likewise.
47099 * math/s_ctanf.c: Likewise.
47100 * math/s_ctanh.c: Likewise.
47101 * math/s_ctanhf.c: Likewise.
47102 * math/s_ctanhl.c: Likewise.
47103 * math/s_ctanl.c: Likewise.
47104
bc62c2fb
UD
47105 * math/math_private.h: Define __nan, __nanf, __nanl.
47106 * math/s_cacosh.c: Include <math_private.h>.
47107 * math/s_cacoshl.c: Likewise.
47108 * math/s_casinh.c: Likewise.
47109 * math/s_casinhf.c: Likewise.
47110 * math/s_casinhl.c: Likewise.
47111 * math/s_ccos.c: Rely entire on ccosh.
47112 * math/s_ccosf.c: Rely entire on ccoshf.
47113 * math/s_ccosl.c: Rely entirely on ccoshl.
47114 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
47115 Remove tests for FE_INVALID.
47116 * math/s_ccoshf.c: Likewise.
47117 * math/s_ccoshl.c: Likewise.
47118 * math/s_csin.c: Likewise.
47119 * math/s_csinf.c: Likewise.
47120 * math/s_csinh.c Likewise.
47121 * math/s_csinhf.c: Likewise.
47122 * math/s_csinhl.c: Likewise.
47123 * math/s_csinl.c: Likewise.
47124 * math/s_ctan.c: Likewise.
47125 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
47126 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
47127 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
47128
8ec250a4
UD
471292011-10-21 Ulrich Drepper <drepper@gmail.com>
47130
c196fed8
UD
47131 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
47132 compilation problems.
47133
8ec250a4
UD
47134 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
47135 __builtin_expect.
47136
8d4f46c6
UD
471372011-10-20 Ulrich Drepper <drepper@gmail.com>
47138
ed72b654
UD
47139 * sysdeps/i386/configure.in: Test for -mfma4 option.
47140 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
47141 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
47142 COMMON_CPUID_INDEX_80000001.
47143 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
47144 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
47145 use it if FMA3 is not supported.
47146 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
47147
8d4f46c6
UD
47148 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
47149 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47150
d45c60c2
AS
471512011-10-20 Andreas Schwab <schwab@redhat.com>
47152
47153 [BZ #12892]
47154 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
47155 it would create a cycle with a link time dependency.
47156
d9a4d2ab
UD
471572011-10-19 Ulrich Drepper <drepper@gmail.com>
47158
855d1560
UD
47159 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
47160 instruction.
47161 * string/Makefile (strop-tests): Add rawmemchr.
47162 * string/test-rawmemchr.c: New file.
47163
d9a4d2ab
UD
47164 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
47165 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
47166 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
47167 when compiling str{,n}casecmp and when AVX is available. Hook up
47168 new optimized code in initializers.
47169
8f3b1ffe
AS
471702011-10-19 Andreas Schwab <schwab@redhat.com>
47171
47172 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
47173 __feraiseexcept instead of feraiseexcept.
47174
d38f1dba
UD
471752011-10-18 Ulrich Drepper <drepper@gmail.com>
47176
d9a8d0ab
UD
47177 * math/math_private.h: Define defaults for libc_fetestexcept and
47178 libc_feupdateenv.
47179 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
47180 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
47181 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47182 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47183 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47184 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47185 libc_fetestexcept and libc_feupdateenv.
47186
4855e3dd
UD
47187 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
47188 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
47189 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
47190 * sysdeps/x86_64/fpu/math_private.h: Define special version of
47191 libc_feholdexcept_setround.
47192
581d30e3
UD
47193 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
47194 Add s_nearbyint-c and s_nearbyintf-c.
47195 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
47196 nearbyintf inlines.
47197 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
47198 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
47199 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
47200 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
47201
d38f1dba
UD
47202 * math/math_private.h: Define defaults for libc_fegetround,
47203 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
47204 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
47205 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
47206 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
47207 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
47208 standard functions.
47209 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47210 Remove comments and hacks for old compiler versions.
47211 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47212 libc_fegetround, libc_fesetround, libc_feholdexcept, and
47213 libc_feholdexceptl.
47214
caa6c9d8
AS
472152011-10-18 Andreas Schwab <schwab@redhat.com>
47216
47217 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
47218 (__feraiseexcept_renamed): Add __NTH.
47219 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
47220 namespace violations.
47221
97c066e6
UD
472222011-10-17 Ulrich Drepper <drepper@gmail.com>
47223
99ce7b04
UD
47224 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
47225
1004d182
UD
47226 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
47227
228a984d
UD
47228 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
47229 recently added interfaces.
47230 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
47231
c8553a6a
UD
47232 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
47233 about macro parameter expansion.
47234
ed22dcf6
UD
47235 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
47236 __NO_MATH_INLINES is defined. Cleanups.
47237
47238 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
47239 and __floorf is target has SSE4.1.
47240 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
47241 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
47242 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
47243 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
47244
b171c137
UD
47245 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
47246 name.
47247 (floorf): Likewise.
47248
97c066e6
UD
47249 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
47250
629f62ef
AS
472512011-10-17 Andreas Schwab <schwab@redhat.com>
47252
49a43d80
AS
47253 * misc/sys/cdefs.h: Fix last change.
47254
629f62ef
AS
47255 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
47256 database lookup.
47257
e453f6cd
UD
472582011-10-16 Ulrich Drepper <drepper@gmail.com>
47259
aa78043a
UD
47260 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
47261
ad0f5cad
UD
47262 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
47263 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47264 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47265 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47266 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47267 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47268 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47269 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47270 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47271 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
47272 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
47273 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
47274 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
47275 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
47276 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
47277 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
47278 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
47279 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
47280 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
47281 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
47282 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
47283 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
47284
47285 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
47286 ceil, ceilf, floor, floorf.
47287
47288 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
47289 Perform IRELATIVE relocations last.
47290
e453f6cd
UD
47291 * elf/do-rel.h: Add another parameter nrelative, replacing the
47292 local variable with the same name. Change name of the function
47293 to end in Rel or Rela (uppercase).
47294 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
47295 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
47296 elf_dynamic_do_##reloc function.
47297
fd5bdc09
UD
472982011-10-15 Ulrich Drepper <drepper@gmail.com>
47299
79b195b5
UD
47300 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
47301 is sufficient, at least on modern CPUs.
47302
d4a28569
UD
47303 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
47304
b61099b5
UD
47305 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
47306 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
47307
bcf01e6d
UD
47308 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
47309 __expl_finite.
47310 * math/bits/math-finite.h: Add entries for exp.
47311 * math/e_expl.c: Add __*_finite alias.
47312 * sysdeps/i386/fpu/e_exp.S: Likewise.
47313 * sysdeps/i386/fpu/e_expf.S: Likewise.
47314 * sysdeps/i386/fpu/e_expl.c: Likewise.
47315 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47316 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47317 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47318 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47319 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
47320 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47321 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47322
ba1a0d59
UD
47323 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
47324 is sufficient, at least on modern CPUs.
47325
fd5bdc09
UD
47326 * ctype/ctype-info.c (__ctype_init): Define.
47327 * include/ctype.h (__ctype_init): Declare.
47328 (__ctype_b_loc): The variable is always initialized.
47329 (__ctype_toupper_loc): Likewise.
47330 (__ctype_tolower_loc): Likewise.
47331 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
47332 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
47333
7872cfb0
AS
473342011-10-15 Andreas Schwab <schwab@linux-m68k.org>
47335
b468825a
AS
47336 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
47337
7872cfb0
AS
47338 * configure.in: Also look in $cxxmachine/include for C++ system
47339 headers.
47340
be13f7bf
LD
473412011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47342
47343 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
47344 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
47345 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
47346 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
47347 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
47348 (USE_AS_WMEMCMP): New macro.
47349 Fixing indents.
47350 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
47351 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
47352 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
47353 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
47354 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47355 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
47356 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
47357 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
47358 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
47359 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
47360 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
47361 (USE_AS_WMEMCMP): New macro.
47362 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
47363 * sysdeps/string/test-memcmp.c: Update.
47364 Fix simple_wmemcmp.
47365 Add new tests.
47366 * wcsmbs/wmemcmp.c: Update.
47367 (WMEMCMP): New macro.
47368 Fix overflow bug.
47369
556a2007
AJ
473702011-10-12 Andreas Jaeger <aj@suse.de>
47371
47372 [BZ #13268]
47373 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
47374
538faaa7
UD
473752011-10-15 Ulrich Drepper <drepper@gmail.com>
47376
ab6737ff
UD
47377 * libio/iofwide.c (do_length): Avoid warning.
47378
538faaa7
UD
47379 * ctype/ctype.h (__isctype_f): Add missing __THROW.
47380
396a21b1
UD
473812011-10-14 Ulrich Drepper <drepper@gmail.com>
47382
cdf2901f
UD
47383 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
47384
38ad40ce
UD
47385 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
47386 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
47387 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
47388 * sysdeps/i386/i686/fpu/e_log.S: New file.
47389 * sysdeps/i386/i686/fpu/e_logf.S: New file.
47390 * sysdeps/i386/i686/fpu/e_logl.S: New file.
47391
396a21b1
UD
47392 * ctype/ctype.h: Add support for inlined isXXX functions when
47393 compiling C++ code.
47394
6b1f68c9
AS
473952011-10-14 Andreas Schwab <schwab@redhat.com>
47396
349290c0
AS
47397 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47398
6b1f68c9
AS
47399 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
47400
f2282d42
RM
474012011-10-13 Roland McGrath <roland@hack.frob.com>
47402
47403 [BZ #13291]
47404 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
47405
5298ffa8
AS
474062011-10-13 Andreas Schwab <schwab@redhat.com>
47407
714fad23
AS
47408 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
47409 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
47410 feraiseexcept.
47411
81dcc7fb
AS
47412 * sysdeps/x86_64/memrchr.S: Check for zero size.
47413
5298ffa8
AS
47414 * string/stratcliff.c: Add memrchr tests.
47415
951fbcec
LD
474162011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47417
47418 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47419 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
47420 rawmemchr-sse2 rawmemchr-sse2-bsf.
47421 * sysdeps/i386/i686/multiarch/memchr.S: New file.
47422 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
47423 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
47424 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
47425 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
47426 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
47427 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
47428 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
47429 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
47430 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
47431 * string/memrchr.c (MEMRCHR): New macro.
47432
0ac5ae23
UD
474332011-10-12 Ulrich Drepper <drepper@gmail.com>
47434
47435 Add integration with gcc's -ffinite-math-only and optimize wrapper
47436 functions in libm.
47437 * Versions.def: Define GLIBC_2.15 version for libm.
47438 * math/Makefile (headers): Add bits/math-finite.h.
47439 * math/bits/math-finite.h: New file.
47440 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
47441 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
47442 * math/e_acoshl.c: Add __*_finite alias.
47443 * math/e_acosl.c: Likewise.
47444 * math/e_asinl.c: Likewise.
47445 * math/e_atan2l.c: Likewise.
47446 * math/e_atanhl.c: Likewise.
47447 * math/e_coshl.c: Likewise.
47448 * math/e_exp10.c: Likewise.
47449 * math/e_exp10f.c: Likewise.
47450 * math/e_exp10l.c: Likewise.
47451 * math/e_exp2l.c: Likewise.
47452 * math/e_fmodl.c: Likewise.
47453 * math/e_gammal_r.c: Likewise.
47454 * math/e_hypotl.c: Likewise.
47455 * math/e_j0l.c: Likewise.
47456 * math/e_j1l.c: Likewise.
47457 * math/e_jnl.c: Likewise.
47458 * math/e_lgammal_r.c: Likewise.
47459 * math/e_log10l.c: Likewise.
47460 * math/e_log2l.c: Likewise.
47461 * math/e_logl.c: Likewise.
47462 * math/e_powl.c: Likewise.
47463 * math/e_sinhl.c: Likewise.
47464 * math/e_sqrtl.c: Likewise.
47465 * math/e_scalb.c: Completely rewritten and optimized.
47466 * math/e_scalbf.c: Likewise.
47467 * math/e_scalbl.c: Likewise.
47468 * math/w_acos.c: Likewise.
47469 * math/w_acosf.c: Likewise.
47470 * math/w_acosl.c: Likewise.
47471 * math/w_acosh.c: Likewise.
47472 * math/w_acoshf.c: Likewise.
47473 * math/w_acoshl.c: Likewise.
47474 * math/w_asin.c: Likewise.
47475 * math/w_asinf.c: Likewise.
47476 * math/w_asinl.c: Likewise.
47477 * math/w_atan2.c: Likewise.
47478 * math/w_atan2f.c: Likewise.
47479 * math/w_atan2l.c: Likewise.
47480 * math/w_atanh.c: Likewise.
47481 * math/w_atanhf.c: Likewise.
47482 * math/w_atanhl.c: Likewise.
47483 * math/w_exp10.c: Likewise.
47484 * math/w_exp10f.c: Likewise.
47485 * math/w_exp10l.c: Likewise.
47486 * math/w_fmod.c: Likewise.
47487 * math/w_fmodf.c: Likewise.
47488 * math/w_fmodl.c: Likewise.
47489 * math/w_j0.c: Likewise.
47490 * math/w_j0f.c: Likewise.
47491 * math/w_j0l.c: Likewise.
47492 * math/w_j1.c: Likewise.
47493 * math/w_j1f.c: Likewise.
47494 * math/w_j1l.c: Likewise.
47495 * math/w_jn.c: Likewise.
47496 * math/w_jnf.c: Likewise.
47497 * math/w_log.c: Likewise.
47498 * math/w_logf.c: Likewise.
47499 * math/w_logl.c: Likewise.
47500 * math/w_log10.c: Likewise.
47501 * math/w_log10f.c: Likewise.
47502 * math/w_log10l.c: Likewise.
47503 * math/w_log2.c: Likewise.
47504 * math/w_log2f.c: Likewise.
47505 * math/w_log2l.c: Likewise.
47506 * math/w_pow.c: Likewise.
47507 * math/w_powf.c: Likewise.
47508 * math/w_powl.c: Likewise.
47509 * math/w_remainder.c: Likewise.
47510 * math/w_remainderf.c: Likewise.
47511 * math/w_remainderl.c: Likewise.
47512 * math/w_scalb.c: Likewise.
47513 * math/w_scalbf.c: Likewise.
47514 * math/w_scalbl.c: Likewise.
47515 * math/w_sqrt.c: Likewise.
47516 * math/w_sqrtf.c: Likewise.
47517 * math/w_sqrtl.c: Likewise.
47518 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
47519 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
47520 used.
47521 * math/math_private.h: Declare __kernel_standard_f.
47522 * math/w_cosh.c: Remove cruft and optimize a bit.
47523 * math/w_coshf.c: Likewise.
47524 * math/w_coshl.c: Likewise.
47525 * math/w_exp2.c: Likewise.
47526 * math/w_exp2f.c: Likewise.
47527 * math/w_exp2l.c: Likewise.
47528 * math/w_hypot.c: Likewise.
47529 * math/w_hypotf.c: Likewise.
47530 * math/w_hypotl.c: Likewise.
47531 * math/w_lgamma.c: Likewise.
47532 * math/w_lgamma_r.c: Likewise.
47533 * math/w_lgammaf.c: Likewise.
47534 * math/w_lgammaf_r.c: Likewise.
47535 * math/w_lgammal.c: Likewise.
47536 * math/w_lgammal_r.c: Likewise.
47537 * math/w_sinh.c: Likewise.
47538 * math/w_sinhf.c: Likewise.
47539 * math/w_sinhl.c: Likewise.
47540 * math/w_tgamma.c: Likewise.
47541 * math/w_tgammaf.c: Likewise.
47542 * math/w_tgammal.c: Likewise.
47543 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47544 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47545 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
47546 Minor optimizations. Pretty printing. Remove cruft.
47547 * sysdeps/i386/fpu/e_acosf.S: Likewise.
47548 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47549 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47550 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47551 * sysdeps/i386/fpu/e_acosl.c: Likewise.
47552 * sysdeps/i386/fpu/e_asin.S: Likewise.
47553 * sysdeps/i386/fpu/e_asinf.S: Likewise.
47554 * sysdeps/i386/fpu/e_atan2.S: Likewise.
47555 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
47556 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
47557 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47558 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47559 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47560 * sysdeps/i386/fpu/e_exp10.S: Likewise.
47561 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
47562 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
47563 * sysdeps/i386/fpu/e_exp2.S: Likewise.
47564 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
47565 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
47566 * sysdeps/i386/fpu/e_fmod.S: Likewise.
47567 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
47568 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
47569 * sysdeps/i386/fpu/e_hypot.S: Likewise.
47570 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
47571 * sysdeps/i386/fpu/e_log.S: Likewise.
47572 * sysdeps/i386/fpu/e_log10.S: Likewise.
47573 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47574 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47575 * sysdeps/i386/fpu/e_log2.S: Likewise.
47576 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47577 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47578 * sysdeps/i386/fpu/e_logf.S: Likewise.
47579 * sysdeps/i386/fpu/e_logl.S: Likewise.
47580 * sysdeps/i386/fpu/e_pow.S: Likewise.
47581 * sysdeps/i386/fpu/e_powf.S: Likewise.
47582 * sysdeps/i386/fpu/e_powl.S: Likewise.
47583 * sysdeps/i386/fpu/e_remainder.S: Likewise.
47584 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
47585 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
47586 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47587 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47588 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47589 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
47590 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
47591 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
47592 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47593 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47594 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47595 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47596 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47597 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47598 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
47599 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47600 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47601 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47602 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47603 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47604 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47605 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47606 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47607 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47608 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47609 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47610 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47611 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47612 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47613 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47614 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47615 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47616 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47617 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47618 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47619 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47620 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
47621 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47622 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47623 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47624 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47625 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47626 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47627 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47628 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47629 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47630 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47631 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47632 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47633 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47634 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47635 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47636 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47637 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47638 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47639 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47640 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47641 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
47642 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47643 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47644 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47645 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47646 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47647 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47648 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47649 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47650 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47651 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47652 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47653 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47654 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47655 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47656 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47657 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47658 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47659 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47660 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
47661 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47662 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47663 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47664 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47665 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47666 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47667 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47668 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
47669 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47670 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47671 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47672 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47673 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47674 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
47675 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47676 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47677 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47678 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47679 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47680 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47681 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47682 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47683 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47684 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47685 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47686 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47687 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47688 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47689 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
47690 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
47691 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
47692 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
47693 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
47694 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
47695 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
47696 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47697 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47698 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47699 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47700 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
47701 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47702 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
47703 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
47704 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
47705 (__isnanf): Likewise.
47706 (__isinf_ns): Likewise.
47707 (__isinf_nsf): Likewise.
47708 (__finite): Likewise.
47709 (__finitef): Likewise.
47710 (__ieee754_sqrt): Define as macro.
47711 (__ieee754_sqrtf): Define as macro.
47712 (__ieee754_sqrtl): Define as macro.
47713 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
47714 inlined copy.
47715 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
47716 __FINITE_MATH_ONLY__ consistent.
47717 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
47718
12cc2fcd
AS
477192011-10-10 Andreas Schwab <schwab@linux-m68k.org>
47720
a843a204
AS
47721 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
47722 of rawmemchr.
47723
12cc2fcd
AS
47724 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
47725
c853acd5
UD
477262011-10-09 Ulrich Drepper <drepper@gmail.com>
47727
47728 * po/ja.po: Update from translation team.
47729
c658d255
RM
477302011-10-08 Roland McGrath <roland@hack.frob.com>
47731
110946e4
RM
47732 * locale/programs/locarchive.c (prepare_address_space): New function.
47733 (create_archive, enlarge_archive, open_archive): Use it.
47734
50604220
RM
47735 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
47736 inside [SHARED], where it is used.
47737
c658d255
RM
47738 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
47739
47740 * nss/getent.c (netgroup_keys): Remove unused variable.
47741 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47742
6a621eb7
UD
477432011-10-08 Ulrich Drepper <drepper@gmail.com>
47744
7edb55ce
UD
47745 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
47746 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
47747 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
47748 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
47749 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
47750 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
47751 * math/Makefile (libm-calls): Add s_isinf_ns.
47752 * math/divtc3.c: Use __isinf_nsl instead of isinf.
47753 * math/multc3.c: Likewise.
47754 * math/s_casin.c: Likewise.
47755 * math/s_casinf.c: Likewise.
47756 * math/s_casinl.c: Likewise.
47757 * math/s_ccos.c: Likewise.
47758 * math/s_ccosf.c: Likewise.
47759 * math/s_ccosl.c: Likewise.
47760 * math/s_ctan.c: Likewise.
47761 * math/s_ctanf.c: Likewise.
47762 * math/s_ctanh.c: Likewise.
47763 * math/s_ctanhf.c: Likewise.
47764 * math/s_ctanhl.c: Likewise.
47765 * math/s_ctanl.c: Likewise.
47766 * math/w_fmod.c: Likewise.
47767 * math/w_fmodf.c: Likewise.
47768 * math/w_fmodl.c: Likewise.
47769 * math/w_remainder.c: Likewise.
47770 * math/w_remainderf.c: Likewise.
47771 * math/w_remainderl.c: Likewise.
47772 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
47773 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
47774 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
47775 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
47776 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
47777 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
47778 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
47779 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
47780
187da0ae
UD
47781 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
47782 of the number.
47783 * stdio-common/printf_fphex.c: Likewise.
47784 * stdio-common/printf_size.c: Likewise.
47785
9277c064
UD
47786 * math/e_exp10.c: Include math_private.h using <...> not "...".
47787 * math/e_exp10f.c: Likewise.
47788 * math/e_exp10l.c: Likewise.
47789 * math/e_exp2l.c: Likewise.
47790 * math/e_j0l.c: Likewise.
47791 * math/e_j1l.c: Likewise.
47792 * math/e_jnl.c: Likewise.
47793 * math/e_lgammal_r.c: Likewise.
47794 * math/e_rem_pio2l.c: Likewise.
47795 * math/e_scalb.c: Likewise.
47796 * math/e_scalbf.c: Likewise.
47797 * math/e_scalbl.c: Likewise.
47798 * math/k_cosl.c: Likewise.
47799 * math/k_sinl.c: Likewise.
47800 * math/k_tanl.c: Likewise.
47801 * math/s_cacoshf.c: Likewise.
47802 * math/s_catan.c: Likewise.
47803 * math/s_catanf.c: Likewise.
47804 * math/s_catanh.c: Likewise.
47805 * math/s_catanhf.c: Likewise.
47806 * math/s_catanhl.c: Likewise.
47807 * math/s_catanl.c: Likewise.
47808 * math/s_ccosh.c: Likewise.
47809 * math/s_ccoshf.c: Likewise.
47810 * math/s_ccoshl.c: Likewise.
47811 * math/s_cexp.c: Likewise.
47812 * math/s_cexpf.c: Likewise.
47813 * math/s_cexpl.c: Likewise.
47814 * math/s_clog.c: Likewise.
47815 * math/s_clog10.c: Likewise.
47816 * math/s_clog10f.c: Likewise.
47817 * math/s_clog10l.c: Likewise.
47818 * math/s_clogf.c: Likewise.
47819 * math/s_clogl.c: Likewise.
47820 * math/s_csin.c: Likewise.
47821 * math/s_csinf.c: Likewise.
47822 * math/s_csinh.c: Likewise.
47823 * math/s_csinhf.c: Likewise.
47824 * math/s_csinhl.c: Likewise.
47825 * math/s_csinl.c: Likewise.
47826 * math/s_csqrt.c: Likewise.
47827 * math/s_csqrtf.c: Likewise.
47828 * math/s_csqrtl.c: Likewise.
47829 * math/s_ctan.c: Likewise.
47830 * math/s_ctanf.c: Likewise.
47831 * math/s_ctanh.c: Likewise.
47832 * math/s_ctanhf.c: Likewise.
47833 * math/s_ctanhl.c: Likewise.
47834 * math/s_ctanl.c: Likewise.
47835 * math/s_ldexp.c: Likewise.
47836 * math/s_ldexpf.c: Likewise.
47837 * math/s_ldexpl.c: Likewise.
47838 * math/s_significand.c: Likewise.
47839 * math/s_significandf.c: Likewise.
47840 * math/s_significandl.c: Likewise.
47841 * math/w_acos.c: Likewise.
47842 * math/w_acosf.c: Likewise.
47843 * math/w_acosh.c: Likewise.
47844 * math/w_acoshf.c: Likewise.
47845 * math/w_acoshl.c: Likewise.
47846 * math/w_acosl.c: Likewise.
47847 * math/w_asin.c: Likewise.
47848 * math/w_asinf.c: Likewise.
47849 * math/w_asinl.c: Likewise.
47850 * math/w_atan2.c: Likewise.
47851 * math/w_atan2f.c: Likewise.
47852 * math/w_atan2l.c: Likewise.
47853 * math/w_atanh.c: Likewise.
47854 * math/w_atanhf.c: Likewise.
47855 * math/w_atanhl.c: Likewise.
47856 * math/w_cosh.c: Likewise.
47857 * math/w_coshf.c: Likewise.
47858 * math/w_coshl.c: Likewise.
47859 * math/w_dremf.c: Likewise.
47860 * math/w_exp10.c: Likewise.
47861 * math/w_exp10f.c: Likewise.
47862 * math/w_exp10l.c: Likewise.
47863 * math/w_exp2.c: Likewise.
47864 * math/w_exp2f.c: Likewise.
47865 * math/w_fmod.c: Likewise.
47866 * math/w_fmodf.c: Likewise.
47867 * math/w_fmodl.c: Likewise.
47868 * math/w_hypot.c: Likewise.
47869 * math/w_hypotf.c: Likewise.
47870 * math/w_hypotl.c: Likewise.
47871 * math/w_j0.c: Likewise.
47872 * math/w_j0f.c: Likewise.
47873 * math/w_j0l.c: Likewise.
47874 * math/w_j1.c: Likewise.
47875 * math/w_j1f.c: Likewise.
47876 * math/w_j1l.c: Likewise.
47877 * math/w_jn.c: Likewise.
47878 * math/w_jnf.c: Likewise.
47879 * math/w_jnl.c: Likewise.
47880 * math/w_lgamma.c: Likewise.
47881 * math/w_lgamma_r.c: Likewise.
47882 * math/w_lgammaf.c: Likewise.
47883 * math/w_lgammaf_r.c: Likewise.
47884 * math/w_lgammal.c: Likewise.
47885 * math/w_lgammal_r.c: Likewise.
47886 * math/w_log.c: Likewise.
47887 * math/w_log10.c: Likewise.
47888 * math/w_log10f.c: Likewise.
47889 * math/w_log10l.c: Likewise.
47890 * math/w_log2.c: Likewise.
47891 * math/w_log2f.c: Likewise.
47892 * math/w_log2l.c: Likewise.
47893 * math/w_logf.c: Likewise.
47894 * math/w_logl.c: Likewise.
47895 * math/w_pow.c: Likewise.
47896 * math/w_powf.c: Likewise.
47897 * math/w_powl.c: Likewise.
47898 * math/w_remainder.c: Likewise.
47899 * math/w_remainderf.c: Likewise.
47900 * math/w_remainderl.c: Likewise.
47901 * math/w_scalb.c: Likewise.
47902 * math/w_scalbf.c: Likewise.
47903 * math/w_scalbl.c: Likewise.
47904 * math/w_sinh.c: Likewise.
47905 * math/w_sinhf.c: Likewise.
47906 * math/w_sinhl.c: Likewise.
47907 * math/w_sqrt.c: Likewise.
47908 * math/w_sqrtf.c: Likewise.
47909 * math/w_sqrtl.c: Likewise.
47910 * math/w_tgamma.c: Likewise.
47911 * math/w_tgammaf.c: Likewise.
47912 * math/w_tgammal.c: Likewise.
47913
6a621eb7
UD
47914 * po/ja.po: Update from translation team.
47915
bf582445
AJ
479162011-09-29 Andreas Jaeger <aj@suse.de>
47917
f9efbf3a
AJ
47918 [BZ #13179]
47919 * sunrpc/netname.c (netname2host): Fix logic.
47920
bf582445
AJ
47921 [BZ #6779]
47922 [BZ #6783]
47923 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47924 correctly.
47925 * math/w_remainder.c (__remainder): Likewise.
47926 * math/w_remainderf.c (__remainderf): Likewise.
47927 * math/libm-test.inc (remainder_test): Add test cases.
47928
48693bea
AK
479292011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47930
47931 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
47932 sdiv_qrnnd.
47933
42622229
LD
479342011-10-07 Ulrich Drepper <drepper@gmail.com>
47935
47936 * string/test-memcmp.c: Avoid unncessary #defines.
47937 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47938
093ecf92
LD
479392011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47940
47941 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47942 Use new sse2 version for core i3 - i7 as it's faster
47943 than sse42 version.
47944 (bit_Prefer_PMINUB_for_stringop): New.
47945 * sysdeps/x86_64/rawmemchr.S: Update.
47946 Replace with faster SSE2 version.
47947 * sysdeps/x86_64/memrchr.S: New file.
47948 * sysdeps/x86_64/memchr.S: Update.
47949 Replace with faster SSE2 version.
47950
fde56e5c
MP
479512011-09-12 Marek Polacek <mpolacek@redhat.com>
47952
47953 * elf/dl-load.c (lose): Add cast to avoid warning.
47954
21fd49a9
UD
479552011-10-07 Ulrich Drepper <drepper@gmail.com>
47956
5a06e643
UD
47957 * po/ca.po: Update from translation team.
47958
684ae515
UD
47959 * inet/getnetgrent_r.c: Hook up nscd.
47960 * nscd/Makefile (routines): Add nscd_netgroup.
47961 (nscd-modules): Add netgroupcache.
47962 (CFLAGS-netgroupcache.c): Define.
47963 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
47964 (cache_search): Add const to second parameter.
47965 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
47966 INNETGR.
47967 (dbs): Add netgrdb entry.
47968 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
47969 (verify_persistent_db): Handle netgrdb.
47970 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
47971 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
47972 GETFDNETGR.
47973 (netgroup_response_header): Define.
47974 (innetgroup_response_header): Define.
47975 (datahead): Add netgroup_response_header and innetgroup_response_header
47976 elements.
47977 * nscd/nscd.conf: Add entries for netgroup cache.
47978 * nscd/nscd.h (dbtype): Add netgrdb.
47979 (_PATH_NSCD_NETGROUP_DB): Define.
47980 (netgroup_iov_disabled): Declare.
47981 (xmalloc, xcalloc, xrealloc): Move declarations here.
47982 (cache_search): Adjust prototype.
47983 Add netgroup-related prototypes.
47984 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
47985 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
47986 (__nscd_innetgr): Declare.
47987 * nscd/selinux.c (perms): Use access_vector_t as element type and
47988 add netgroup-related initializers.
47989 * nscd/netgroupcache.c: New file.
47990 * nscd/nscd_netgroup.c: New file.
47991 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
47992 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
47993 For four parameters use innetgr.
47994 * nss/nss_files/files-init.c: Add definition and callback for netgr.
47995 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
47996 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
47997 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
47998
21fd49a9
UD
47999 * nscd/connections.c (register_traced_file): Don't register file
48000 for disabled databases.
48001
054c0457
UD
480022011-10-06 Ulrich Drepper <drepper@gmail.com>
48003
32b63198
UD
48004 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
48005
054c0457
UD
48006 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
48007 from tree and freeing node.
48008
64031225
JO
480092011-09-25 Jiri Olsa <jolsa@redhat.com>
48010
48011 * nss/nsswitch.c (__nss_database_lookup): Handle
48012 nss_parse_service_list out of memory case.
48013
0490345c
JO
480142011-09-15 Jiri Olsa <jolsa@redhat.com>
48015
48016 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
48017 out of memory case.
48018
3a62d00d
AS
480192011-10-04 Andreas Schwab <schwab@redhat.com>
48020
48021 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
48022 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
48023 pass it down.
48024 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
48025 elf_machine_rela, elf_machine_lazy_rel.
48026 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
48027 (ELF_DYNAMIC_DO_REL): Likewise.
48028 (ELF_DYNAMIC_DO_RELA): Likewise.
48029 (ELF_DYNAMIC_RELOCATE): Likewise.
48030 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
48031 to ELF_DYNAMIC_DO_REL.
48032 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
48033 (dl_main): In trace mode always set __RTLD_NOIFUNC.
48034 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
48035 elf_machine_rela.
48036 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
48037 skip_ifunc, don't call ifunc function if non-zero.
48038 (elf_machine_rela): Likewise.
48039 (elf_machine_lazy_rel): Likewise.
48040 (elf_machine_lazy_rela): Likewise.
48041 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
48042 (elf_machine_lazy_rel): Likewise.
48043 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
48044 Likewise.
48045 (elf_machine_lazy_rel): Likewise.
48046 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48047 Likewise.
48048 (elf_machine_lazy_rel): Likewise.
48049 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
48050 (elf_machine_lazy_rel): Likewise.
48051 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
48052 (elf_machine_lazy_rel): Likewise.
48053 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
48054 (elf_machine_lazy_rel): Likewise.
48055 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
48056 (elf_machine_lazy_rel): Likewise.
48057 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
48058 (elf_machine_lazy_rel): Likewise.
48059 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
48060 (elf_machine_lazy_rel): Likewise.
48061
68577918
UD
480622011-09-28 Ulrich Drepper <drepper@gmail.com>
48063
48064 * nss/nss_files/files-init.c (_nss_files_init): Use static
48065 initialization for all the *_traced_file variables.
48066
68822d74
AS
480672011-09-28 Andreas Schwab <schwab@redhat.com>
48068
48069 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48070
2056100b
RM
480712011-09-27 Roland McGrath <roland@hack.frob.com>
48072
48073 [BZ #13226]
48074 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
48075
32c76b63
AS
480762011-09-27 Andreas Schwab <schwab@redhat.com>
48077
48078 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48079 Reread the line before reparsing it.
48080
bf972c9d
AS
480812011-09-26 Andreas Schwab <schwab@redhat.com>
48082
48083 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
48084
e057a1b5
JM
480852011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
48086 Maxim Kuvyrkov <maxim@codesourcery.com>
48087 Joseph Myers <joseph@codesourcery.com>
48088
48089 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
48090 if needed for __stack_chk_guard.
48091
bc7e1c36
RM
480922011-09-19 Roland McGrath <roland@hack.frob.com>
48093
ecb1482f
RM
48094 * sysdeps/posix/spawni.c (script_execute): Always define it.
48095 It will be optimized away if unused.
48096 (maybe_script_execute): New function.
48097 (__spawni): Call it.
48098
bc7e1c36
RM
48099 * Makerules: Don't include tls.make.
48100 (config-tls): Always set to thread.
48101 * tls.make.c: File removed.
48102
1c3b002b
MF
481032011-09-19 Mike Frysinger <vapier@gentoo.org>
48104
48105 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
48106 * config.make.in (CPPFLAGS-config): New substituted variable.
48107
2840865d
UD
481082011-09-15 Ulrich Drepper <drepper@gmail.com>
48109
88738eb6
UD
48110 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
48111
cbf645a6 48112 [BZ #13192]
2840865d
UD
48113 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
48114 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
48115
b402e91a
RM
481162011-09-15 Roland McGrath <roland@hack.frob.com>
48117
48118 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
48119 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
48120 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48121 (CALL_FAIL): Likewise.
48122 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
48123 (CALL_FAIL): Macro removed.
48124 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
48125
4c1a1f71
UD
481262011-09-15 Ulrich Drepper <drepper@gmail.com>
48127
48128 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
48129 for __FINITE_MATH_ONLY__ == 1.
48130
edc121be
AS
481312011-09-15 Andreas Schwab <schwab@redhat.com>
48132
48133 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
48134 __ieee754_sqrt instead of sqrt.
48135 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
48136 __ieee754_sqrtf instead of sqrtf.
48137 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
48138 __floorf instead of floorf.
48139 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
48140 __floorf, __truncf instead of floorf, truncf.
48141
cd205654
UD
481422011-09-14 Ulrich Drepper <drepper@gmail.com>
48143
ee4d0315
UD
48144 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
48145
cd205654
UD
48146 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
48147 __extern_always_inline.
48148 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
48149 32-bit.
48150
48b67d71
AS
481512011-09-14 Andreas Schwab <schwab@redhat.com>
48152
48153 * elf/rtld.c (dl_main): Also relocate in dependency order when
48154 doing symbol dependency testing.
48155
1ae12c75
AS
481562011-09-13 Andreas Schwab <schwab@linux-m68k.org>
48157
48158 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48159 Always define `refsym'.
48160
995a80df
AS
481612011-09-13 Andreas Schwab <schwab@redhat.com>
48162
e529793b
AS
48163 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
48164 (__FD_ELT): Renamed from __FDELT.
48165 * misc/bits/select2.h (__FD_ELT): Likewise.
48166 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
48167 __FD_MASK instead of __FDELT, __FDMASK.
48168 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48169 Likewise.
48170 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48171 Likewise.
48172
52d4fef8
AS
48173 * elf/Makefile (gen-ldd): Fix pattern.
48174
995a80df
AS
48175 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
48176 (init_tls): Likewise.
48177
8682f8b0
UD
481782011-09-12 Ulrich Drepper <drepper@gmail.com>
48179
48180 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
48181
de82006d
AS
481822011-09-12 Andreas Schwab <schwab@redhat.com>
48183
a7c8e6a1
AS
48184 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
48185 `struct cmsghdr *' instead of `void *'.
48186 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
48187 Likewise.
48188
0f31fe77
AS
481892011-09-11 Andreas Schwab <schwab@linux-m68k.org>
48190
48191 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
48192 if non-absolute.
48193 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
48194 ldd_rewrite_script.
0f31fe77 48195
32b4c839
UD
481962011-09-11 Ulrich Drepper <drepper@gmail.com>
48197
83cd1420
UD
48198 * configure.in: Remove --with-tls option.
48199 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
48200 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
48201 out in case it is missing.
48202 * sysdeps/ia64/elf/configure.in: Likewise.
48203 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
48204 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
48205 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
48206 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
48207 * sysdeps/sh/elf/configure.in: Likewise.
48208 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
48209 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48210 * sysdeps/x86_64/elf/configure.in: Likewise.
48211 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
48212 * sysdeps/mach/hurd/tls.h: Likewise.
48213
633f745d
UD
48214 [BZ #13067]
48215 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
48216
f318beb8
UD
48217 [BZ #13090]
48218 * configure.in: Fix use of AC_INIT.
48219
32b4c839
UD
48220 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
48221
3ce1f295
UD
482222011-09-10 Ulrich Drepper <drepper@gmail.com>
48223
bb016596
UD
48224 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
48225 __set_errno.
8e58439c
UD
48226 * malloc/hooks.c: Likewise.
48227
aebae053 48228 [BZ #11929]
02d46fc4
UD
48229 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
48230 variables statically.
48231 (narenas): Initialize.
48232 (list_lock): Initialize.
bb016596
UD
48233 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
48234 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
48235 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
48236 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
48237 Add initializers to main_arena and mp_.
48238 (malloc_state): Remove pagesize member. Change all users to use
48239 GLRO(dl_pagesize).
48240
48241 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
48242 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
48243 is always initialized.
48244
22a89187
UD
48245 * malloc/malloc.c: Removed unused configurations and dead code.
48246 * malloc/arena.c: Likewise.
48247 * malloc/hooks.c: Likewise.
02d46fc4 48248 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 48249
d063d164
UD
48250 * include/tls.h: Removed. USE___THREAD must always be defined.
48251 * bits/libc-tsd.h: Don't handle !USE___THREAD.
48252 * elf/dl-libc.c: Likewise.
48253 * elf/dl-tsd.c: Likewise.
48254 * include/errno.h: Likewise.
48255 * include/netdb.h: Likewise.
48256 * include/resolv.h: Likewise.
48257 * inet/herrno-loc.c: Likewise.
48258 * inet/herrno.c: Likewise.
48259 * malloc/arena.c: Likewise.
48260 * malloc/hooks.c: Likewise.
48261 * malloc/malloc.c: Likewise.
48262 * resolv/res-state.c: Likewise.
48263 * resolv/res_libc.c: Likewise.
48264 * sysdeps/i386/dl-machine.h: Likewise.
48265 * sysdeps/ia64/dl-machine.h: Likewise.
48266 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48267 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48268 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48269 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48270 * sysdeps/sh/dl-machine.h: Likewise.
48271 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48272 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48273 * sysdeps/unix/i386/sysdep.S: Likewise.
48274 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
48275 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
48276 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
48277 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
48278 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
48279 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
48280 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
48281 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48282 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48283 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
48284 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48285 * sysdeps/x86_64/dl-machine.h: Likewise.
48286 * tls.make.c: Likewise.
48287
3ce1f295
UD
48288 * configure.in: Remove --with-__thread option. Make tests for
48289 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
48290 tls_model attribute fail if no support is available. Remove
48291 USE_IN_LIBIO.
48292 * Makeconfig: Adjust for dropped configure option. All features are
48293 now mandatory.
48294 * Makerules: Likewise.
48295 * Versions.def: Likewise.
48296 * argp/argp-fmtstream.c: Likewise.
48297 * argp/argp-fmtstream.h: Likewise.
48298 * argp/argp-help.c: Likewise.
48299 * assert/assert.c: Likewise.
48300 * config.h.in: Likewise.
48301 * config.make.in: Likewise.
48302 * configure: Likewise.
48303 * configure.in: Likewise.
48304 * csu/Versions: Likewise.
48305 * csu/init.c: Likewise.
48306 * elf/tst-audit2.c: Likewise.
48307 * elf/tst-tls10.c: Likewise.
48308 * elf/tst-tls10.h: Likewise.
48309 * elf/tst-tls11.c: Likewise.
48310 * elf/tst-tls12.c: Likewise.
48311 * elf/tst-tls14.c: Likewise.
48312 * elf/tst-tlsmod11.c: Likewise.
48313 * elf/tst-tlsmod12.c: Likewise.
48314 * elf/tst-tlsmod13.c: Likewise.
48315 * elf/tst-tlsmod13a.c: Likewise.
48316 * elf/tst-tlsmod14a.c: Likewise.
48317 * elf/tst-tlsmod15b.c: Likewise.
48318 * elf/tst-tlsmod16a.c: Likewise.
48319 * elf/tst-tlsmod16b.c: Likewise.
48320 * elf/tst-tlsmod7.c: Likewise.
48321 * elf/tst-tlsmod8.c: Likewise.
48322 * elf/tst-tlsmod9.c: Likewise.
48323 * gmon/gmon.c: Likewise.
48324 * grp/fgetgrent_r.c: Likewise.
48325 * grp/putgrent.c: Likewise.
48326 * hurd/fopenport.c: Likewise.
48327 * include/libc-symbols.h: Likewise.
48328 * include/tls.h: Likewise.
48329 * intl/gettextP.h: Likewise.
48330 * intl/loadinfo.h: Likewise.
48331 * locale/global-locale.c: Likewise.
48332 * locale/localeinfo.h: Likewise.
48333 * mach/devstream.c: Likewise.
48334 * malloc/arena.c: Likewise.
48335 * malloc/set-freeres.c: Likewise.
48336 * misc/err.c: Likewise.
48337 * misc/getttyent.c: Likewise.
48338 * misc/mntent_r.c: Likewise.
48339 * posix/getopt.c: Likewise.
48340 * posix/wordexp.c: Likewise.
48341 * pwd/fgetpwent_r.c: Likewise.
48342 * resolv/Versions: Likewise.
48343 * resolv/res_hconf.c: Likewise.
48344 * shadow/fgetspent_r.c: Likewise.
48345 * shadow/putspent.c: Likewise.
48346 * stdio-common/printf_fphex.c: Likewise.
48347 * stdio-common/tmpfile.c: Likewise.
48348 * stdlib/abort.c: Likewise.
48349 * stdlib/fmtmsg.c: Likewise.
48350 * sunrpc/auth_unix.c: Likewise.
48351 * sunrpc/clnt_perr.c: Likewise.
48352 * sunrpc/clnt_tcp.c: Likewise.
48353 * sunrpc/clnt_udp.c: Likewise.
48354 * sunrpc/clnt_unix.c: Likewise.
48355 * sunrpc/openchild.c: Likewise.
48356 * sunrpc/svc_simple.c: Likewise.
48357 * sunrpc/svc_tcp.c: Likewise.
48358 * sunrpc/svc_udp.c: Likewise.
48359 * sunrpc/svc_unix.c: Likewise.
48360 * sunrpc/xdr.c: Likewise.
48361 * sunrpc/xdr_array.c: Likewise.
48362 * sunrpc/xdr_rec.c: Likewise.
48363 * sunrpc/xdr_ref.c: Likewise.
48364 * sunrpc/xdr_stdio.c: Likewise.
48365
1248c1c4
PB
483662011-09-09 Ulrich Drepper <drepper@gmail.com>
48367
48368 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48369
483702011-07-03 Andreas Jaeger <aj@suse.de>
48371
48372 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
48373 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
48374 regenerate with gen-libm-tests.pl.
48375
483762010-05-12 Petr Baudis <pasky@suse.cz>
48377
48378 [BZ #11589]
48379 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
48380 around j0() zero points by switching to j1().
48381 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48382 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48383 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48384 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48385
f22e1074
UD
483862011-09-09 Ulrich Drepper <drepper@gmail.com>
48387
f19009c1
UD
48388 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
48389 instead of 0.
48390 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 48391 instead of 0.
f19009c1
UD
48392 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48393 Patch in part by Pavel Roskin <proski@gnu.org>.
48394
3f8cc204
UD
48395 [BZ #13138]
48396 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
48397 realloc.
48398 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
48399 Free memory block if necessary.
48400
f22e1074
UD
48401 [BZ #12847]
48402 * libio/genops.c (INTDEF): For string streams the _lock pointer can
48403 be NULL. Don't lock in this case.
48404
0a2349f9
RM
484052011-09-09 Roland McGrath <roland@hack.frob.com>
48406
48407 * elf/elf.h (ELFOSABI_GNU): New macro.
48408 (ELFOSABI_LINUX): Define to that.
48409
f3cdd467
DZ
484102011-07-29 Denis Zaitceff <zaitceff@gmail.com>
48411
48412 * string/strncat.c (strncat): Undef the symbol in case it has been
48413 defined in bits/string.h.
48414
74718d13
UD
484152011-09-09 Ulrich Drepper <drepper@gmail.com>
48416
633e9e0f
UD
48417 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
48418
0a2349f9 48419 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
48420 link map.
48421
f9924780
AJ
484222011-08-17 Andreas Jaeger <aj@suse.de>
48423
48424 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
48425
7f5517aa
PP
484262011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
48427 Ian Lance Taylor <iant@google.com>
48428
48429 * math/libm-test.inc (lround_test): New testcase.
48430 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
48431
762011fe
UD
484322011-09-08 Ulrich Drepper <drepper@gmail.com>
48433
92963737
UD
48434 * Makefile: Remove support for automatic cvs check-ins.
48435 * Makerules: Likewise.
48436 * config.make.in: Likewise.
48437 * configure.in: Likewise.
48438 * intl/Makefile: Likewise.
48439 * locale/Makefile: Likewise.
48440 * po/Makefile: Likewise.
48441 * posix/Makefile: Likewise.
48442 * sysdeps/gnu/Makefile: Likewise.
48443 * sysdeps/mach/hurd/Makefile: Likewise.
48444 * sysdeps/sparc/sparc32/Makefile: Likewise.
48445
b0727fd8
JS
48446 [BZ #13118]
48447 * posix/Makefile (bug-regex32-ENV): Define.
48448 Patch by John Stanley <jpsinthemix@verizon.net>.
48449
a0f33f99
UD
48450 * misc/Makefile (headers): Add bits/select2.h.
48451 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
48452 * misc/bits/select2.h: New file.
48453 * include/bits/select2.h: New file.
48454 * debug/Makefile (routines): Add fdelt_chk.
48455 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
48456 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
48457 FD_ISSET.
48458 * debug/fdelt_chk.c: New file.
48459
762011fe
UD
48460 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
48461 * wcsmbs/test-wmemcmp.c: Likewise.
48462 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 48463 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
48464
484652011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48466
48467 * string/Makefile (strop-tests): Add memcmp.
48468 * string/test-wmemcmp.c: New file.
48469 * string/test-memcmp.c: Add wmemcmp support.
48470
7f513ec8
RM
484712011-09-08 Roland McGrath <roland@hack.frob.com>
48472
0442afb4
RM
48473 [BZ #13153]
48474 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
48475 2011-07-19 change.
48476
7f513ec8
RM
48477 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
48478 garbage value in a __mach_port_mod_refs call in the cases of the
48479 task-self and thread-self ports.
48480
a12b2239
ST
484812011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48482
48483 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
48484
610f9ab4
AS
484852011-09-08 Andreas Schwab <schwab@redhat.com>
48486
7f513ec8 48487 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 48488
48882a1a
LD
484892011-09-07 Ulrich Drepper <drepper@gmail.com>
48490
b49865be
UD
48491 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
48492
fdc86bc9
UD
48493 * elf/dl-libc.c (dlerror_run): Pass back error code from
48494 dl_catch_error.
48495
c966526a
UD
48496 [BZ #13123]
48497 * elf/dl-load.c (lose): Free l_origin if it is valid.
48498
48882a1a
LD
48499 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
48500 names.
48501 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
48502 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48503 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48504 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48505 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
48506 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
48507
77a2a8b4
AZ
485082011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48509
48510 * sysdeps/powerpc/fpu/e_hypot.c: New file.
48511 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
48512 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
48513 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
48514 * sysdeps/powerpc/fpu/k_cosf.c: New file.
48515 * sysdeps/powerpc/fpu/k_sinf.c: New file.
48516 * sysdeps/powerpc/fpu/s_cosf.c: New file.
48517 * sysdeps/powerpc/fpu/s_sinf.c: New file.
48518 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
48519 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
48520
24f579d8
AM
485212011-08-15 Alan Modra <amodra@gmail.com>
48522
48523 [BZ #13092]
48524 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
48525 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
48526 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
48527 ppc_mcount to static-only-routines.
48528 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
48529 __mcount_internal.
48530 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
48531 __mcount_internal with usual JUMPTARGET. Remove useless nop.
48532
3d4837df
UD
485332011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
48534
48535 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
48536 for finite and infinity parameters.
48537
22700377
WS
485382011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48539
48540 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
48541 and add nop instructions for throughput optimization.
48542 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48543
5025581e
WS
485442011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
48545
48546 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
48547 aligned copy for power7 with vector-scalar instructions.
48548 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
48549
08a300c9
L
485502011-07-24 H.J. Lu <hongjiu.lu@intel.com>
48551
48552 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
48553 AVX check.
48554
59178ef9
AS
485552011-09-07 Andreas Schwab <schwab@redhat.com>
48556
48557 [BZ #13144]
48558 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
48559 last change.
48560
e38ba7ab
UD
485612011-09-07 Ulrich Drepper <drepper@gmail.com>
48562
48563 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48564 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
48565 syscall wrapper around clock_gettime in __vdso_clock_gettime.
48566 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
48567 clock_gettime.
48568
d53a73ac
UD
485692011-09-06 Ulrich Drepper <drepper@gmail.com>
48570
fc8bffcc
UD
48571 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
48572 Forgot to demangle the pointer.
48573
ceaa0c5d
UD
48574 * sysdeps/i386/sysdep.h: Define atom_text_section.
48575 * sysdeps/x86_64/sysdep.h: Likewise.
48576 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
48577 section with atom_text_section.
48578 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48579 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48580 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
48581 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48582 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
48583
a77d3c17
UD
48584 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
48585 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
48586 already be defined. Change to take two parameters and don't assign
48587 result to variable. Adjust all users.
48588 Define INTERNAL_GETTIME if not already defined.
48589 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
48590 call.
48591 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
48592 HAVE_CLOCK_GETTIME_VSYSCALL.
48593 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
48594
d53a73ac
UD
48595 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
48596 gettimeofday vsyscall, just use time.
48597
a8f84144
AS
485982011-09-06 Andreas Schwab <schwab@redhat.com>
48599
48600 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
48601 <errno.h>.
48602
ef606249
UD
486032011-09-06 Ulrich Drepper <drepper@gmail.com>
48604
48605 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
48606 syscall on x86-64.
48607 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
48608 syscall.
48609 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
48610 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
48611 syscall if possible.
48612
6585cb60
UD
486132011-09-05 Ulrich Drepper <drepper@gmail.com>
48614
48615 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
48616 e_ident. Don't pass to find_mapsXX.
48617 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
48618
a5f524e4
LD
486192011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48620
48621 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48622 strchr-sse2-no-bsf strrchr-sse2-no-bsf
48623 * sysdeps/x86_64/multiarch/strchr.S: Update.
48624 Check bit_slow_BSF bit.
48625 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48626 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
48627 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
48628
554881ef
UD
486292011-09-05 Ulrich Drepper <drepper@gmail.com>
48630
d96de963
UD
48631 [BZ #13134]
48632 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
48633 before glibc 2.15.
48634 (tryshell): Define.
48635 (__spawni): Change last parameter to be flag. Test
48636 SPAWN_XFLAGS_USE_PATH flag to use path or not.
48637 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
48638 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
48639 * posix/spawni.c: Likewise.
48640 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
48641 * posix/spawnp.c: Likewise. Change normal version to use
48642 SPAWN_XFLAGS_USE_PATH.
48643 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
48644 SPAWN_XFLAGS_TRY_SHELL.
48645
d48e5868
UD
48646 [BZ #13150]
48647 * posix/glob.h: Remove gcc 1.x support.
48648
554881ef
UD
48649 [BZ #13068]
48650 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
48651
693fb948
LD
486522011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48653
48654 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48655 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
48656 strrchr-sse2-bsf
48657 * sysdeps/i386/i686/multiarch/strchr.S: New file.
48658 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
48659 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
48660 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
48661 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
48662 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
48663
1b48c537
UD
486642011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48665
49d42c37
UD
48666 * sysdeps/x86_64/wcscmp.S: New file.
48667
1b48c537
UD
48668 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
48669 wcscmp-c wcscmp-sse2
48670 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
48671 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
48672 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
48673 * wcsmbs/wcscmp.c: Allow renaming.
48674
15c95c5d
DM
486752011-09-05 David S. Miller <davem@davemloft.net>
48676
48677 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
48678 stack slot, rather than the struct return pointer slot.
48679 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
48680 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
48681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
48682 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
48683
2f0ad8f3
UD
486842011-09-05 Ulrich Drepper <drepper@gmail.com>
48685
d88ae418
UD
48686 * po/ja.po: Update from translation team.
48687
2f0ad8f3
UD
48688 [BZ #13144]
48689 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
48690 kernel in 64-bit binaries.
48691
5f4318d1
DM
486922011-09-01 David S. Miller <davem@davemloft.net>
48693
48694 * elf/elf.h (HWCAP_SPARC_*): Move to..
48695 * sysdeps/sparc/sysdep.h: this new file and add new values.
48696 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
48697 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
48698 _DL_HWCAP_COUNT to 24.
48699 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
48700 entries.
48701 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
48702 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
48703 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
48704 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
48705 instead of magic constants.
48706 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48707
3ba57516
DM
487082011-08-31 David S. Miller <davem@davemloft.net>
48709
48710 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
48711 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
48712 Reimplement to do errno handling inline.
48713 (SYSCALL_ERROR_HANDLER): New macro.
48714 (__SYSCALL_STRING): Do not do errno handling in asm.
48715 (__CLONE_SYSCALL_STRING): Delete.
48716 (__INTERNAL_SYSCALL_STRING): Delete.
48717 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
48718 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
48719 (PSEUDO): Reimplement to do errno handling inline.
48720 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
48721 (SYSCALL_ERROR_HANDLER): New macro.
48722 (__SYSCALL_STRING): Do not do errno handling in asm.
48723 (__CLONE_SYSCALL_STRING): Delete.
48724 (__INTERNAL_SYSCALL_STRING): Delete.
48725 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
48726 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
48727 i386.
48728 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
48729 (inline_syscall*): Add 'err' argument.
48730 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
48731 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
48732 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
48733 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
48734
48735 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
48736 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48737
2bc17433
AS
487382011-08-30 Andreas Schwab <schwab@redhat.com>
48739
48740 * elf/rtld.c (dl_main): Relocate objects in dependency order.
48741
fbeb5f4d
JO
487422011-08-29 Jiri Olsa <jolsa@redhat.com>
48743
48744 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
48745 directive.
48746
ad69cc26
DM
487472011-08-24 David S. Miller <davem@davemloft.net>
48748
48749 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
48750
39dd69df
AS
487512011-08-24 Andreas Schwab <schwab@redhat.com>
48752
48753 * elf/Makefile: Add rules to build and run unload8 test.
48754 * elf/unload8.c: New file.
48755 * elf/unload8mod1.c: New file.
48756 * elf/unload8mod1x.c: New file.
48757 * elf/unload8mod2.c: New file.
48758 * elf/unload8mod3.c: New file.
48759
48760 * elf/dl-close.c (_dl_close_worker): Reset private search list if
48761 it wasn't used.
48762
2c0b250a
DM
487632011-08-23 David S. Miller <davem@davemloft.net>
48764
48765 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
48766 subtract stack bias.
48767 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
48768 %sp not %fp in calculations.
48769 (_JMPBUF_UNWINDS_ADJ): Likewise.
48770
22044b48
DM
48771 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
48772 (aio_suspend): Call it to force an exception region around the
48773 AIO_MISC_WAIT() invocation.
48774
2cae4995
AS
487752011-08-23 Andreas Schwab <schwab@redhat.com>
48776
48777 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
48778 backslash.
48779
873a772e
AJ
487802011-07-04 Aurelien Jarno <aurelien@aurel32.net>
48781
48782 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
48783 protection macro.
48784 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
48785 and <dl-machine.h>.
48786 (Elf64_FuncDesc): Remove.
48787
25ad0df1
DM
487882011-08-22 David S. Miller <davem@davemloft.net>
48789
48790 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
48791 sigaltstack check, add missing cfi directives.
48792 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
48793 missing cfi directives, and sigaltstack handling.
48794
e888bcbe
AS
487952011-08-16 Andreas Schwab <schwab@redhat.com>
48796
48797 [BZ #11724]
48798 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
48799 object is seen twice.
48800 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48801
48802 * elf/Makefile (distribute): Add tst-initorder2.c.
48803 (tests): Add tst-initorder2.
48804 (modules-names): Add tst-initorder2a tst-initorder2b
48805 tst-initorder2c tst-initorder2d. Add rules to build them.
48806 ($(objpfx)tst-initorder2.out): New rule.
48807 * elf/tst-initorder2.c: New file.
48808 * elf/tst-initorder2.exp: New file.
48809
87162f46
AS
488102011-08-22 Andreas Schwab <schwab@redhat.com>
48811
70538b7f
AS
48812 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
48813
f55ffe58
AS
48814 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
48815 dependencies back to end of function.
48816
87162f46
AS
48817 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48818 $(elfobjdir)/ld.so.
48819
91b392a4
UD
488202011-08-21 Ulrich Drepper <drepper@gmail.com>
48821
48822 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
48823 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
48824 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
48825 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
48826 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
48827 of __vdso_gettimeofday.
48828 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
48829 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
48830 attribute_hidden.
48831 (_libc_vdso_platform_setup): Remove initialization of
48832 __vdso_gettimeofday and __vdso_time.
48833
5c43483f
UD
488342011-08-20 Ulrich Drepper <drepper@gmail.com>
48835
775a77e7
UD
48836 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
48837 and fgetc_unlocked.
48838 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
48839 getc_unlocked.
89f447ed 48840
49c74ba9
UD
48841 * elf/dl-open.c (add_to_global): Report additions to the global scope
48842 for LD_DEBUG=scopes.
48843 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 48844 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 48845
5c43483f
UD
48846 [BZ #13114]
48847 * stdio-common/Makefile (tests): Add bug24.
48848 * stdio-common/bug24.c: New file.
48849
a101b025
AJ
488502011-08-19 Andreas Jaeger <aj@suse.de>
48851
48852 [BZ #13114]
48853 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
48854 non-existant file when using close-on-exec mode.
48855
c88f1766
UD
488562011-08-20 Ulrich Drepper <drepper@gmail.com>
48857
0276a718
UD
48858 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
48859 the very first instruction.
48860
c88f1766
UD
48861 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
48862 the CFI state in the end.
48863 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
48864 inclusion of dl-trampoline.h.
48865 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
48866
51ccffa0
AS
488672011-08-19 Andreas Schwab <schwab@redhat.com>
48868
94d7165f
AS
48869 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48870 expectations for long double.
48871
51ccffa0
AS
48872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48873 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48874
fd708658 488752011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
48876
48877 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48878 artificual limit depends upon the system page size.
48879
44f0a71e
UD
488802011-08-17 Ulrich Drepper <drepper@gmail.com>
48881
48882 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48883 * resolv/Makefile: Define CFLAGS-libresolv.
48884
8de79a24
AS
488852011-08-17 Andreas Schwab <schwab@redhat.com>
48886
48887 * nss/makedb.c (compute_tables): Make variables used in nested
48888 function static.
48889
27724598
UD
488902011-08-17 Ulrich Drepper <drepper@gmail.com>
48891
c5305d88
UD
48892 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48893 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48894 if buffer was too small.
48895
27724598
UD
48896 * elf/pldd.c (main): Attach to all threads in the process.
48897 Rewrite /proc handling to use *at functions.
48898
076fe015
UD
488992011-08-16 Ulrich Drepper <drepper@gmail.com>
48900
174baab3
UD
48901 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48902 specifies first scope to show.
48903 (dl_open_worker): Update callers. Move printing scope of new
48904 object to before the relocation.
44f0a71e 48905 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
48906 * sysdeps/generic/ldsodefs.h: Update declaration.
48907
076fe015
UD
48908 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48909 string for the scope number.
48910
a60df2c3
UD
489112011-08-14 Ulrich Drepper <drepper@gmail.com>
48912
48913 * nscd/servicescache.c (cache_addserv): Make sure written is always
48914 initialized.
48915
5e4287d1
RM
489162011-08-14 Roland McGrath <roland@hack.frob.com>
48917
85ae0589
RM
48918 * sysdeps/i386/i486/bits/atomic.h
48919 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48920 statement expression, so as to suppress "set but not used" warning.
48921 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48922
69f63097
RM
48923 * string/strncat.c (STRNCAT): Use prototype definition.
48924
675456ef
RM
48925 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48926 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48927 -Iprograms here.
48928 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48929 (localedef-modules): Add localedef.
48930 (locale-modules): Add locale.
48931
5e4287d1
RM
48932 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48933 * elf/rtld.c (dl_main): Invert order of assignment in last change,
48934 to avoid a warning.
48935
9c96ff23
DM
489362011-08-14 David S. Miller <davem@davemloft.net>
48937
48938 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48939 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48940
f9ddf089
UD
489412011-08-13 Ulrich Drepper <drepper@gmail.com>
48942
44f0a71e 48943 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
48944 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48945 * elf/rtld.c (dl_main): Set l_name of vDSO.
48946 Call _dl_show_scope when DL_DEBUG_SCOPES.
48947 (process_dl_debug): Recognize scopes flag and also set it for all.
48948 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48949 Declare _dl_show_scope.
48950
1dc27704
UD
48951 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48952 (do_dlopen): Pass caller_dlopen to dl_open.
48953 (__libc_dlopen_mode): Initialize caller_dlopen.
48954
f9ddf089
UD
48955 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48956 of libc. Make tolower call locale-independent. Optimize a bit by
48957 using isdigit instead of isalnum.
48958 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48959
9ac533d3
UD
489602011-08-12 Ulrich Drepper <drepper@gmail.com>
48961
48962 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
48963 was a dependency or dynamically loaded.
48964
89edf2e9
UD
489652011-08-11 Ulrich Drepper <drepper@gmail.com>
48966
8e999d29
UD
48967 * intl/l10nflist.c: Allow architecture-specific pop function.
48968 * sysdeps/x86_64/l10nflist.c: New file.
48969
89edf2e9
UD
48970 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
48971 classification.
48972
14d96785
AS
489732011-08-10 Andreas Schwab <schwab@redhat.com>
48974
48975 * include/dirent.h: Add libc_hidden_proto for scandirat and
48976 scandirat64. Don't declare __scandirat64.
48977 * dirent/scandirat.c: Add libc_hidden_def.
48978 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
48979 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
48980
6761ac04
DM
489812011-08-10 David S. Miller <davem@davemloft.net>
48982
48983 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
48984 enum.
48985 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48986 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48987 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48988
c55fbd1e
UD
489892011-08-09 Ulrich Drepper <drepper@gmail.com>
48990
48991 * Versions.def [libc]: Add GLIBC_2.15.
48992 * dirent/Makefile (routines): Add scandirat and scandirat64.
48993 * dirent/Versions [libc]: Export scandirat and scandirat64 for
48994 GLIBC_2.15.
48995 * dirent/dirent.h: Declare scandirat and scandirat64.
48996 * dirent/scandirat.c: New file.
48997 * dirent/scandirat64.c: New file.
48998 * sysdeps/wordsize-64/scandirat.c: New file.
48999 * sysdeps/wordsize-64/scandirat64.c: New file.
49000 * dirent/opendir.c: Define opendirat.
49001 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
49002 using scandirat.
49003 * dirent/scandir64.c: Adjust for scandir.c change.
49004 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
49005 __scandirat64, and __scandir_cancel_handler.
49006 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
49007 additional parameter and use openat instead of open (outside of ld.so).
49008 Add new __opendir as wrapper around __opendirat.
49009 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
49010 here without requiring old scandirat implementation.
49011
879165f2
UD
490122011-08-08 Ulrich Drepper <drepper@gmail.com>
49013
49014 * dirent/scandir.c (cancel_handler): Renamed to
49015 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
49016 defined. Adjust users.
49017 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
49018 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
49019
cb7e923b
UD
490202011-08-04 Ulrich Drepper <drepper@gmail.com>
49021
16292edd
UD
49022 * string/test-string.h (IMPL): Use __STRING to expand name and then
49023 stringify it.
49024
cb7e923b
UD
49025 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
49026 of cleanups.
49027
cff82933
LD
490282011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49029
49030 * string/Makefile: Update.
49031 (strop-tests): Append strncat.
49032 * string/test-wcscmp.c: New file.
49033 New comprehensive test for wcscmp.
49034 * string/test-strcmp.c: Update.
49035 (WIDE): New define.
49036
9be9bfcc
AS
490372011-07-22 Andreas Schwab <schwab@redhat.com>
49038
49039 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
49040 line.
49041
2e96f1c7
AS
490422011-07-26 Andreas Schwab <schwab@redhat.com>
49043
49044 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49045 encoding to ACE if AI_IDN.
49046
85188888
JJ
490472011-08-01 Jakub Jelinek <jakub@redhat.com>
49048
49049 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
49050 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
49051
5fa16e9b
LD
490522011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49053
49054 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
49055 Fix overflow bug in strncat.
49056 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
49057
49058 * string/test-strncat.c: Update.
49059 Add new tests for checking overflow bugs.
49060
490612011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49062
49063 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49064 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
49065 * sysdeps/i386/i686/multiarch/strcat.S: New file.
49066 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
49067 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
49068 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
49069 * sysdeps/i386/i686/multiarch/strncat.S: New file.
49070 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
49071 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
49072
49073 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
49074 (USE_AS_STRCAT): Define.
49075 Add strcat and strncat support.
49076 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49077
8c1a459f
AS
490782011-07-25 Andreas Schwab <schwab@redhat.com>
49079
49080 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
49081 __n bigger than INT_MAX+1.
49082 (__strncmp_g): Likewise.
49083
bba33c28
UD
490842011-07-23 Ulrich Drepper <drepper@gmail.com>
49085
798be72d
UD
49086 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
49087 * libio/stido.h: Likewise.
49088
8accd4dc
UD
49089 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
49090 (AF_NFC): Define.
49091 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
49092 (AF_NFC): Define.
49093
cbff0d96
UD
49094 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
49095 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49096 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49097 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
49098 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49099
9191c04a
UD
49100 [BZ #13021]
49101 * scripts/test-installation.pl: Don't expect libnss_test1 to be
49102 installed.
49103
bba33c28
UD
49104 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
49105 typo.
49106 (_dl_x86_64_save_sse): Likewise.
49107
90f139dd
UD
491082011-07-22 Ulrich Drepper <drepper@gmail.com>
49109
1aae088a
UD
49110 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
49111 OSXSAVE.
49112 (_dl_x86_64_save_sse): Likewise.
49113
8e2045f5
UD
49114 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
49115
90f139dd
UD
49116 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
49117
1d002f25
AS
491182011-07-21 Andreas Schwab <schwab@redhat.com>
49119
49120 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
49121 change.
49122 (_dl_x86_64_save_sse): Use correct AVX check.
49123
21137f89
UD
491242011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49125
49126 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
49127 bug in strncpy/strncat.
49128 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
49129
a65c0b7a
UD
491302011-07-21 Ulrich Drepper <drepper@gmail.com>
49131
49132 * string/tester.c (test_strcat): Add tests for different alignments
49133 of source and destination.
49134 (test_strncat): Likewise.
49135
6986b98a
UD
491362011-07-20 Ulrich Drepper <drepper@gmail.com>
49137
90bb2039
UD
49138 [BZ #12852]
49139 * posix/glob.c (glob): Check passed in values before using them in
49140 expressions to avoid some overflows.
49141 (glob_in_dir): Likewise.
49142
5644ef54
UD
49143 [BZ #13007]
49144 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
49145 check for AVX enablement so that we don't crash with old kernels and
49146 new hardware.
49147 * elf/tst-audit4.c: Add same checks here.
49148 * elf/tst-audit6.c: Likewise.
49149
49150 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 49151
bfc9dc9b
AS
491522011-07-09 Andreas Schwab <schwab@linux-m68k.org>
49153
49154 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
49155
702e64bb
UD
491562011-07-20 Ulrich Drepper <drepper@gmail.com>
49157
49158 * po/cs.po: Update from translation team.
49159 * po/bg.po: Likewise.
49160
295e904f
MP
491612011-07-12 Marek Polacek <mpolacek@redhat.com>
49162
49163 * misc/sys/cdefs.h: Add support for const attribute.
49164 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
49165 to gnu_dev_{major,minor,makedev} functions.
49166
3ff94596
MP
491672011-07-20 Marek Polacek <mpolacek@redhat.com>
49168
49169 * intl/dcigettext.c (get_output_charset): Add missing bracket.
49170
28b59fca
AS
491712011-07-20 Andreas Schwab <schwab@redhat.com>
49172
49173 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
49174 strlen results.
49175
19df733e
AK
491762011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49177
49178 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
49179 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
49180 register in order to avoid conflicts with the soft frame pointer
49181 being held in r11 when necessary.
49182 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
49183 (INTERNAL_VSYSCALL_NCS): Likewise.
49184
c8835729
MP
491852011-07-14 Marek Polacek <mpolacek@redhat.com>
49186
49187 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
49188 * elf/dl-fini.c (_dl_fini): Adjust caller.
49189 * elf/dl-close.c (_dl_close_worker): Likewise.
49190 * sysdeps/generic/ldsodefs.h: Adjust declaration.
49191
b902330c
MP
491922011-07-15 Marek Polacek <mpolacek@redhat.com>
49193
8991e135
MP
49194 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
49195 "aux_cache->nlibs < 0".
49196
b902330c
MP
49197 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
49198 in the reload-count case.
49199
99710781
LD
492002011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49201
49202 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49203 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
49204 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
49205 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
49206 * sysdeps/x86_64/multiarch/strcat.S: New file.
49207 * sysdeps/x86_64/multiarch/strncat.S: New file.
49208 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
49209 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
49210 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
49211 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
49212 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
49213 (USE_AS_STRCAT): Define.
49214 Add strcat and strncat support.
49215 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49216 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
49217 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
49218 * string/strncat.c: Update.
49219 (USE_AS_STRNCAT): Define.
49220 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49221 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
49222 and i7.
49223 * sysdeps/x86_64/multiarch/init-arch.h
49224 (bit_Prefer_PMINUB_for_stringop): New.
49225 (index_Prefer_PMINUB_for_stringop): Likewise.
49226 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
49227 bit_Prefer_PMINUB_for_stringop.
49228
7dc6bd90
UD
492292011-07-19 Ulrich Drepper <drepper@gmail.com>
49230
49231 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
49232 buffer64.
49233 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
49234 of casting of buffer.
49235 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
49236 buffer32 and buffer64.
49237 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
49238 writes instead of casting of buffer.
49239 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
49240 buffer32.
49241 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
49242 casting of buffer.
49243
e0e72284
AS
492442011-07-19 Andreas Schwab <schwab@redhat.com>
49245
49246 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
49247
feb1eb0b
UD
492482011-07-19 Ulrich Drepper <drepper@gmail.com>
49249
49250 * nscd/nscd.c (termination_handler): Don't do anything for a database
49251 if it has not yet been initialized.
49252
298711ff
UD
492532011-07-18 Ulrich Drepper <drepper@gmail.com>
49254
49255 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49256
492572011-07-15 Marek Polacek <mpolacek@redhat.com>
49258
49259 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49260
f9d68389
UD
492612011-07-18 Ulrich Drepper <drepper@gmail.com>
49262
49263 * po/nl.po: Update from translation team.
49264 * po/sv.po: Likewise.
49265
db290cf5
RM
492662011-07-16 Roland McGrath <roland@hack.frob.com>
49267
49268 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
49269 now disallowed by GCC.
5c550700 49270
fd5e21c7
RM
49271 * configure.in (use-default-link): Default to yes if a test -shared
49272 link meets our qualifications.
49273 * configure: Regenerated.
49274
5c550700
RM
49275 * config.make.in (output-format): New variable.
49276 * configure.in: Check for ld --print-output-format support.
49277 * configure: Regenerated.
49278 * Makerules ($(common-objpfx)format.lds)
49279 [$(output-format) != unknown]: Just use $(output-format),
49280 instead of the linker-script munging.
49281
9fa2c032
RM
492822011-07-14 Roland McGrath <roland@hack.frob.com>
49283
a6928d51
RM
49284 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
49285 of $(common-objpfx)shlib.lds.
49286 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
49287
661607b3
RM
49288 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
49289 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
49290
9fa2c032
RM
49291 * configure.in (-z relro check): Adjust test code to add a large
49292 writable data section after it.
49293 * configure: Regenerated.
49294
defe9061
RM
492952011-07-11 Roland McGrath <roland@hack.frob.com>
49296
49297 * configure.in (-z relro check): Fix test code to make the variable
49298 truly const.
49299 * configure: Regenerated.
49300
319b9ad4
UD
493012011-07-11 Ulrich Drepper <drepper@gmail.com>
49302
49303 * nscd/nscd.h (struct traced_file): Define.
49304 (struct database_dyn): Remove inotify_descr, reset_res, and filename
49305 elements. Add traced_files.
49306 (inotify_fd): Declare.
49307 (register_traced_file): Declare.
49308 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
49309 (inotify_fd): Export.
49310 (resolv_conf_descr): Remove.
49311 (nscd_init): Move inotify descriptor creation to main.
49312 Don't register files for notification here.
49313 (register_traced_file): New function.
49314 (invalidate_cache): Don't use reset_res to determine whether to call
49315 res_init, go through the list of registered files.
49316 (main_loop_poll): The inotify descriptors are now stored in the
49317 structures for the traced files.
49318 (main_loop_epoll): Likewise
49319 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
49320 to __nss_disable_nscd.
49321 * nscd/cache.c (prune_cache): There is no single inotify descriptor
49322 for a database anymore. Check the records for all the registered
49323 files instead.
49324 * nss/Makefile (libnss_files-routines): Add files-init.
49325 (libnss_db-routines): Add db-init.
49326 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
49327 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
49328 * nss/nss_db/db-init.c: New file.
49329 * nss/nss_files/files-init.c: New file.
49330 * nss/nsswitch.c (nss_load_library): New function. Broken out of
49331 __nss_lookup_function.
49332 (__nss_lookup_function): Call nss_load_library.
49333 (nss_load_all_libraries): New function.
49334 (__nss_disable_nscd): Take parameter with callback function for files
49335 to register. Set is_nscd. Load all the DSOs for the NSS modules
49336 used for the cached services.
49337 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
49338 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
49339 options for features to all the files in nscd.
49340
49341 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
49342
23bee3e8
RM
493432011-07-10 Roland McGrath <roland@hack.frob.com>
49344
49345 * csu/elf-init.c (__libc_csu_init): Comment typo.
49346
46a5b7f0
UD
493472011-07-09 Ulrich Drepper <drepper@gmail.com>
49348
49349 * po/pl.po: Update from translation team.
49350 * po/ja.po: Likewise.
49351 * po/ru.po: Likewise.
49352 * po/ko.po: Likewise.
49353 * po/fr.po: Likewise.
49354
d30cf5bb
RM
493552011-07-09 Roland McGrath <roland@hack.frob.com>
49356
113ddea4
RM
49357 * configure.in (.ctors/.dtors header and trailer check):
49358 Use an empirical test on a built program.
49359 * configure: Regenerated.
49360
574920b4
RM
49361 * configure.in (-z relro check): Use an empirical test on a built DSO.
49362 Detect, but do not require, on ia64.
49363 * configure: Regenerated.
49364
d30cf5bb
RM
49365 * configure.in (READELF): Find it with AC_CHECK_TOOL.
49366 Update tests that use readelf to use $READELF instead.
49367 * configure: Regenerated.
49368
8538fdb3
UD
493692011-07-08 Ulrich Drepper <drepper@gmail.com>
49370
49371 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
49372 if the result is not used.
49373
04d08991
AJ
493742011-07-05 Andreas Jaeger <aj@suse.de>
49375
49376 [BZ#9696]
49377 * stdlib/tst-strtod.c: Add testcase.
49378
de283087
AD
493792011-07-07 Ulrich Drepper <drepper@gmail.com>
49380
4e5f31c8 49381 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 49382 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
49383 The latter has a higher limit. Take additional parameter to pass to
49384 the new function.
49385 (__pathconf): Pass file to __statfs_link_max.
49386 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
49387 __statfs_link_max.
49388 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
49389 __statfs_link_max.
49390
de283087
AD
49391 [BZ #12868]
49392 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
49393 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49394 Handle Lustre.
49395 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
49396 (__statfs_filesize_max): Likewise.
49397 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
49398
c75fa153
AJ
493992011-07-05 Andreas Jaeger <aj@suse.de>
49400
49401 * resolv/res_comp.c (dn_skipname): Remove unused variable.
49402
1a544854
UD
494032011-07-06 Marek Polacek <mpolacek@redhat.com>
49404
49405 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
49406 `status' variable.
49407 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
49408 Likewise.
49409
6f0eec67
UD
494102011-07-04 H.J. Lu <hongjiu.lu@intel.com>
49411
49412 * Makefile (strop-tests): Add strncat.
49413 * string/test-strncat.c: New file.
49414
aae30307
UD
494152011-06-30 Marek Polacek <mpolacek@redhat.com>
49416
49417 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
49418
c0cfb5eb
UD
494192011-06-21 Andreas Jaeger <aj@suse.de>
49420
49421 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
49422 Copy rule from iconvdata/Makefile.
49423
01636b21
UD
494242011-07-06 Ulrich Drepper <drepper@gmail.com>
49425
49426 [BZ #12922]
49427 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
49428 but no long options are defined, just return 'W'.
49429
9895c8bc
UD
494302011-06-22 Marek Polacek <mpolacek@redhat.com>
49431
49432 [BZ #9696]
49433 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
49434
5d4cf042
UD
494352011-07-06 Ulrich Drepper <drepper@gmail.com>
49436
49437 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
49438 netgroups to read.
960e5535 49439 (innetgr): Likewise.
5d4cf042 49440
751eb97e
RM
494412011-07-05 Roland McGrath <roland@hack.frob.com>
49442
49443 * config.make.in (install_root): Default to $(DESTDIR).
49444
f15f1e45
UD
494452011-07-05 Ulrich Drepper <drepper@gmail.com>
49446
49447 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
49448
4e34ac6a
RM
494492011-07-02 Roland McGrath <roland@hack.frob.com>
49450
5e9b6af4
RM
49451 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
49452
84f9ea0f
RM
49453 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
49454 containing directory rather than embedding absolute directory names.
49455
ea5ee9f7
RM
49456 * scripts/check-local-headers.sh: Rewritten using awk.
49457 Match by word, not by line. Print error messages for matches.
49458 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
49459
1b74661a
RM
49460 * Makerules [shlib-lds-flags empty]:
49461 ($(common-objpfx)libc_pic.opts): New target.
49462 ($(common-objpfx)libc_pic.os.clean): New target.
49463 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
49464
49465 * config.make.in (OBJCOPY): New variable.
49466 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
49467 * configure: Regenerated.
49468
f781ef40
RM
49469 * config.make.in (use-default-link): New variable.
49470 * configure.in (use_default_link): Grok --with-default-link to set it.
49471 * configure: Regenerated.
49472 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
49473 (shlib-lds, shlib-lds-flags): Define to empty.
49474
2d4fa81e
RM
49475 * Makerules (shlib-lds): New variable.
49476 (shlib-lds-flags): New variable.
49477 (build-shlib, build-moduile, build-module-asneeded): Use it.
49478 ($(common-objpfx)libc.so): Use $(shlib-lds).
49479 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
49480 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
49481
31fffa6b
RM
49482 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
49483 DT_FLAGS/DT_FLAGS_1 with zero flags.
49484
4e34ac6a
RM
49485 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
49486 linker script munging.
49487
fcfc776b
UD
494882011-07-02 Ulrich Drepper <drepper@gmail.com>
49489
49490 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
49491 as 128-bit value.
49492 * crypt/sha512.c (sha512_process_block): Perform total addition using
49493 128-bit if possible.
49494 (__sha512_finish_ctx): Likewise.
49495 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
49496 as 64-bit value.
49497 * crypt/sha256.c (SWAP64): Define.
49498 (sha256_process_block): Perform total addition using 64-bit if
49499 possible.
49500 (__sha256_finish_ctx): Likewise.
49501
99231d9a
UD
495022011-07-01 Ulrich Drepper <drepper@gmail.com>
49503
49504 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
49505 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49506 * nscd/hstcache.c (cache_addhst): Likewise.
49507 * nscd/grpcache.c (cache_addgr): Likewise.
49508 * nscd/aicache.c (addhstaiX): Likewise
49509 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
49510
445b4a53
TK
495112011-07-01 Thorsten Kukuk <kukuk@suse.de>
49512
49513 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
49514 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49515 * nscd/hstcache.c (cache_addhst): Likewise.
49516 * nscd/grpcache.c (cache_addgr): Likewise.
49517 * nscd/aicache.c (addhstaiX): Likewise
49518
6d4d8e8e
AS
495192011-07-01 Andreas Schwab <schwab@redhat.com>
49520
49521 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
49522 domain only when needed.
49523
89f654c5
AS
495242011-06-30 Andreas Schwab <schwab@redhat.com>
49525
49526 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
49527 is always restored.
49528
cf3b23ff
UD
495292011-06-29 Ulrich Drepper <drepper@gmail.com>
49530
49531 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
49532 are re-adding the entry.
49533 * nscd/servicescache.c (cache_addserv): Likewise.
49534
751626f9
AJ
495352011-06-30 Aurelien Jarno <aurelien@aurel32.net>
49536
49537 * sysdeps/generic/dl-irel.h: fix protection against multiple
49538 inclusions.
49539 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
49540
9113ea1f
UD
495412011-06-28 Ulrich Drepper <drepper@gmail.com>
49542
5c0b8d90
UD
49543 [BZ #12935]
49544 * malloc/memusage.sh: Fix quoting in message.
49545 * debug/xtrace.sh: Likewise.
49546
9113ea1f
UD
49547 * configure.in: Remove support for --experimental-malloc option, make
49548 it the default.
49549 * config.make.in: Likewise.
49550 * malloc/Makefile: Likewise.
49551
a4172181
AS
495522011-06-27 Andreas Schwab <schwab@redhat.com>
49553
49554 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
49555 two-byte characters.
49556
78a7eee7
RM
495572011-06-27 Roland McGrath <roland@hack.frob.com>
49558
62bede13
RM
49559 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
49560 AC_CACHE_CHECK invocation.
49561 * configure: Regenerated.
49562
78a7eee7
RM
49563 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
49564
5ce33a62
UD
495652011-06-27 Ulrich Drepper <drepper@gmail.com>
49566
034807a9
UD
49567 [BZ #12350]
49568 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
49569 bit from old_res_options.
49570
4902da17
UD
49571 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
49572
5ce33a62
UD
49573 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
49574 value type for setfct.
49575
c2344f56
L
495762011-06-23 H.J. Lu <hongjiu.lu@intel.com>
49577
49578 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49579 __gettimeofday instead of gettimeofday.
49580
68468076
UD
495812011-06-26 Ulrich Drepper <drepper@gmail.com>
49582
49583 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
49584
acb0d739
L
495852011-06-24 H.J. Lu <hongjiu.lu@intel.com>
49586
49587 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
49588
49589 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
49590 info.
49591
8912479f
L
495922011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49593
49594 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49595 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49596 strcpy-sse2-unaligned strncpy-sse2-unaligned
49597 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
49598 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
49599 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
49600 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
49601 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
49602 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
49603 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
49604 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
49605 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
49606 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
49607 (STRCPY): Support SSE2 and SSSE3 versions.
49608
d5495a11
UD
496092011-06-24 Ulrich Drepper <drepper@gmail.com>
49610
49611 [BZ #12874]
49612 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
49613 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
49614 kernels which artificially limit size of requests.
49615
0b1cbaae
L
496162011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49617
49618 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49619 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49620 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
49621 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
49622 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
49623 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
49624 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
49625 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
49626 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
49627 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
49628 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
49629 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
49630 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
49631 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
49632 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
49633 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49634 Enable unaligned load optimization for Intel Core i3, i5 and i7
49635 processors.
49636 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
49637 Define.
49638 (index_Fast_Unaligned_Load): Define.
49639 (HAS_FAST_UNALIGNED_LOAD): Define.
49640
07f494a0
MP
496412011-06-23 Marek Polacek <mpolacek@redhat.com>
49642
49643 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
49644
fa3fc0fe
UD
496452011-06-22 Ulrich Drepper <drepper@gmail.com>
49646
49647 [BZ #12907]
49648 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
49649 until it is clear that the information is realy needed.
49650 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
49651
e12df166
AS
496522011-06-22 Andreas Schwab <schwab@redhat.com>
49653
49654 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
49655
852eb34d
UD
496562011-06-22 Ulrich Drepper <drepper@gmail.com>
49657
84e2a551
UD
49658 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49659 /sys/devices/system/cpu/online if it is usable.
49660
852eb34d
UD
49661 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
49662 reading the information from the /proc filesystem to once a second.
49663
6e502e19
UD
496642011-06-21 Andreas Jaeger <aj@suse.de>
49665
49666 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
49667 NULL after inclusion of kernel headers.
49668
75d39ff2
UD
496692011-06-21 Ulrich Drepper <drepper@gmail.com>
49670
51f9aa6a
UD
49671 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
49672 calls to internal_setent.
49673
c0244a9d
UD
49674 [BZ #12885]
49675 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
49676 addresses using gethostbyname4_r ignore IPv4 addresses.
49677
c5e3c2ae
UD
49678 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
49679 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
49680
75d39ff2
UD
49681 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
49682
42675c6f
DM
496832011-06-20 David S. Miller <davem@davemloft.net>
49684
49685 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
49686 inclusions.
49687 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
49688
49689 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
49690 (elf_irel): Use it.
49691 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
49692 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
49693 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
49694 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
49695 * sysdeps/x86_64/dl-irel.h: Likewise.
49696
49697 * elf/dl-runtime.c: Use elf_ifunc_invoke.
49698 * elf/dl-sym.c: Likewise.
49699
57912a71
UD
497002011-06-15 Ulrich Drepper <drepper@gmail.com>
49701
49702 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
49703 need to dereference resplen2.
49704
ee22793d
AS
497052011-06-14 Andreas Schwab <schwab@redhat.com>
49706
49707 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
49708
a9e836b0
UD
497092011-06-15 Ulrich Drepper <drepper@gmail.com>
49710
77fb9117
UD
49711 * Makeconfig: Define vardbdir and inst_vardbdir.
49712 * nss/Makefile: Add rules to install db-Makefile.
49713
40c1b22c
UD
49714 * nss/nss_db/db-XXX.c: Cleanup.
49715
9f2da732
UD
49716 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
49717 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
49718 GLIBC_PRIVATE.
49719 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
49720 * nss/makedb.c: Implement -g option to specify that value strings
49721 are generated and should not be added to table iterated over for
49722 get*ent calls.
49723 * nss/nss_db/db-initgroups.c: New file.
49724
82e9a1f7
UD
49725 * nss/getent.c: Add support for initgroups lookups through getgrouplist
49726 interface.
49727
c41af17e
UD
49728 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
49729 (internal_getgrouplist): Adjust to name change.
49730 Update use_initgroups_entry if this is not the first call.
49731 * nss/databases.def: Add initgroups entry.
49732
a9e836b0
UD
49733 * nss/makedb.c (compute_tables): Check result of multiple hash table
49734 sizes to minimize maximum chain length.
49735
2666d441
UD
497362011-06-14 Ulrich Drepper <drepper@gmail.com>
49737
49738 * Versions.def: Add entry for libnss_db.
49739 * shlib-versions: Likewise.
49740 * nss/Makefile: Add rules to build libnss_db.
49741 * nss/Versions: Add libnss_db information. Organize libnss_files
49742 entries better.
49743 * nss/db-Makefile: Add gshadow support. Change rules for the new
49744 makedb progra. Some minor improvements to generate smaller files.
49745 * nss/nss_db/nss_db.h: Move NSS database header data structures to
49746 here from...
49747 * nss/makedb.c: ...here.
49748 Improve database format to be smaller and require less memory at
49749 runtime.
49750 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
49751 db anymore.
49752 * nss/nss_db/db-netgrp.c: Likewise.
49753 * nss/nss_db/db-open.c: Likewise.
49754 * nss/nss_files/flies-XXX.x: Adjust comments.
49755 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
49756 * nss/nss_files/files-grp.c: Likewise.
49757 * nss/nss_files/files-hosts.c: Likewise.
49758 * nss/nss_files/files-network.c: Likewise.
49759 * nss/nss_files/files-proto.c: Likewise.
49760 * nss/nss_files/files-pwd.c: Likewise.
49761 * nss/nss_files/files-rpc.c: Likewise.
49762 * nss/nss_files/files-service.c: Likewise.
49763 * nss/nss_files/files-sgrp.c: Likewise.
49764 * nss/nss_files/files-spwd.c: Likewise.
49765 * nss/nss_db/db-alias.c: Removed.
49766 * nss/nss_db/dummy-db.h: Removed.
49767
9ee76b5a
UD
497682011-06-02 Ulrich Drepper <drepper@gmail.com>
49769
49770 * nss/makedb.c: Rewritten to not use database library.
49771 * nss/Makefile: Update to build new makedb program.
49772
c71ca1f8
AJ
497732011-06-14 Andreas Jaeger <aj@suse.de>
49774
49775 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
49776 memset declaration.
49777
3154bfb8
UD
497782011-06-10 Andreas Schwab <schwab@redhat.com>
49779
49780 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
49781 tmpbuf.
49782
b350afab
RM
497832011-06-10 Roland McGrath <roland@hack.frob.com>
49784
decd4e50
RM
49785 * Makerules (shlib.lds): Fail if the linker script comes out empty.
49786 * elf/Makefile ($(objpfx)ld.so): Likewise.
49787
5615eaf2
RM
49788 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
49789 Don't list ld.so twice in dependencies.
49790
49791 * posix/bug-regex31.c: Include <stdlib.h>.
49792
49793 * nscd/hstcache.c (cache_addhst): Remove unused variable.
49794
49795 * nis/nss_compat/compat-spwd.c
49796 (getspent_next_nss_netgr): Remove unused variable.
49797 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
49798
49799 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
49800 nonmembers" output to use the right array.
49801
49802 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
49803
49804 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
49805
49806 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
49807 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
49808 * catgets/gencat.c (read_input_file): Likewise.
49809 * locale/programs/locarchive.c (enlarge_archive): Likewise.
49810
49811 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
49812 variable definition inside #if's controlling its use.
49813
49814 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
49815
49816 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
49817
49818 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
49819
49820 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
49821 unreachable code.
49822
49823 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
49824
b68e08db
RM
49825 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
49826 * configure: Regenerated.
49827
b350afab
RM
49828 * Makerules: Revert last change.
49829 * elf/Makefile: Likewise.
49830
28368601
RM
498312011-06-09 Roland McGrath <roland@hack.frob.com>
49832
49833 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
49834 * elf/Makefile ($(objpfx)librtld.os): Likewise.
49835 (reloc-link): Likewise.
49836
11988f8f
UD
498372011-06-09 Ulrich Drepper <drepper@gmail.com>
49838
49839 * elf/Makefile: Add rules to build pldd.
49840 * elf/pldd.c: New file.
49841 * elf/pldd-xx.c: New file.
49842
e80fab37
UD
498432011-06-07 Ulrich Drepper <drepper@gmail.com>
49844
49845 * version.h: Update for 2.15 development version.
49846
9b849836
DM
498472011-06-07 David S. Miller <davem@davemloft.net>
49848
49849 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
49850 ifuncs.
49851 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
49852 elf_machine_lazy_rel): Likewise.
49853 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49854 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
49855 elf_machine_lazy_rel): Likewise.
49856 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
49857 dl_hwcap via passed in argument.
49858 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
49859 Likewise.
49860
5a31b283
AK
498612011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49862
49863 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
49864
069e52f8
RM
498652011-06-06 Roland McGrath <roland@hack.frob.com>
49866
49867 [BZ #12849]
49868 * manual/fdl-1.1.texi: New file, verbatim from:
49869 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49870 * manual/lgpl-2.1.texi: New file, verbatim from:
49871 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49872 * manual/Makefile (licenses): New variable, list those new file names.
49873 (texis): Use it.
49874 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49875
49876 * manual/fdl.texi: File removed.
49877 * manual/lesser.texi: File removed.
49878 * manual/libc.texinfo (Copying, Documentation License):
49879 Use new @include file names, put @appendix directive before @include.
49880
f16846a5
JJ
498812011-06-04 Jakub Jelinek <jakub@redhat.com>
49882
49883 [BZ #12841]
49884 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49885 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49886 (mq_open): Add __NTH.
49887
3d29045b
L
498882011-06-02 H.J. Lu <hongjiu.lu@intel.com>
49889
49890 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49891 Assume Intel Core i3/i5/i7 processor if AVX is available.
49892
8c297311
UD
498932011-05-31 Ulrich Drepper <drepper@gmail.com>
49894
49895 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49896 typo.
49897
c8fc0c91
UD
498982011-05-31 Andreas Schwab <schwab@redhat.com>
49899
49900 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49901 memory. Use alloca_account. Fix memory leak when retrying.
49902
5b27a807
UD
499032011-05-31 Ulrich Drepper <drepper@gmail.com>
49904
356f8bc6
UD
49905 * version.h (RELEASE): Bump for 2.14 release.
49906 * include/features.h (__GLIBC_MINOR__): Bump to 14.
49907
5b27a807
UD
49908 * config.make.in (RANLIB): Remove entry.
49909
01f16ab0
UD
499102011-05-30 Ulrich Drepper <drepper@gmail.com>
49911
41fce8bd
UD
49912 * po/Makefile (po-sed-cmd): Add ksh to extensions.
49913 (libc.pot): Work around missing support for .ksh extension in xgettext.
49914
4769ae77
UD
49915 [BZ #12684]
49916 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49917 if both request failed.
49918 (send_dg): In case of server errors clear resplen or *resplen2.
49919
6b1e7d19
UD
49920 [BZ #12454]
49921 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49922 when there are multiple maps.
49923 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49924 (_dl_fini): Remove test here.
49925
01f16ab0
UD
49926 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49927
b1ebd700
UD
499282011-05-29 Ulrich Drepper <drepper@gmail.com>
49929
7ae22829
UD
49930 [BZ #12350]
49931 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49932 bit from old_res_options.
49933 (gaih_inet): Likewise.
49934
553149f6 49935 [BZ #11099]
18a84741 49936 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
49937 as signed.
49938
652ffab1
UD
49939 * resolv/res_init.c (res_setoptions): Make the code more compact.
49940
16985fd0
UD
49941 [BZ #11558]
49942 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49943 set RES_USEVC.
49944
0464f746
UD
49945 [BZ #11634]
49946 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49947
7d17596c
UD
49948 * malloc/malloc.h: Mark malloc hook variables as deprecated.
49949
cf6bbbd7
UD
49950 [BZ #11781]
49951 * malloc/malloc.h: Declare malloc hook variables as volatile.
49952
13f1ab36
UD
49953 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49954 in last patch.
49955
b1ebd700
UD
49956 [BZ #11799]
49957 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 49958 raise in the comment.
80e2212d
UD
49959 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49960 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49961 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 49962
ce67228d
UD
499632011-05-28 Ulrich Drepper <drepper@gmail.com>
49964
8887a920
UD
49965 [BZ #12811]
49966 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
49967 grow the buffers more if it already has to be sufficient.
49968 (build_wcs_upper_buffer): Likewise.
49969 * posix/regexec.c (check_matching): Likewise.
49970 (clean_state_log_if_needed): Likewise.
49971 (extend_buffers): Don't enlarge buffers beyond size of the input
49972 buffer.
49973 Patches mostly by Emil Wojak <emil@wojak.eu>.
49974 * posix/bug-regex32.c: New file.
49975 * posix/Makefile (tests): Add bug-regex32.
49976
4f031072
UD
49977 * locale/findlocale.c (_nl_find_locale): Return right away if
49978 _nl_explode_name failed.
49979 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
49980
d0478f0c
UD
49981 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
49982
de81b246
UD
49983 * debug/xtrace.sh: Unify messages.
49984 * malloc/memusage.sh: Likewise.
49985
c738465a
UD
49986 [BZ #12813]
49987 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
49988 time symbol from vDSO. Substitute with vsyscall if not available.
49989 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
49990 __vdso_time.
49991
f1f929d7
UD
49992 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
49993 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
49994 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
49995 Add sendmmsg and internal_sendmmsg.
49996 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
49997 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
49998 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
49999
ce67228d
UD
50000 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
50001 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
50002 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
50003
e57420c6
UD
500042011-05-27 Ulrich Drepper <drepper@gmail.com>
50005
a8509ca5
UD
50006 [BZ #12813]
50007 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
50008 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
50009 available.
50010 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
50011 __vdso_getcpu.
50012
e57420c6
UD
50013 [BZ #12814]
50014 * iconvdata/Makefile (tests): Add bug-iconv9.
50015 * iconvdata/bug-iconv9.c: New file.
50016
4d07db15
AS
500172011-05-27 Andreas Schwab <schwab@redhat.com>
50018
50019 [BZ #12814]
50020 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
50021
ea486f69
JJ
500222011-05-25 Jakub Jelinek <jakub@redhat.com>
50023
50024 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50025 (struct user_regs_struct): Change intcs field back to cs.
50026
6f038433
UD
500272011-05-25 Ulrich Drepper <drepper@gmail.com>
50028
50029 * po/ja.po: Update from translation team.
50030
67f86a25
UD
500312011-05-23 Ulrich Drepper <drepper@gmail.com>
50032
50033 [BZ #12795]
50034 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
50035 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
50036
def7fbd6
AS
500372011-05-20 Andreas Schwab <schwab@redhat.com>
50038
50039 * stdlib/longlong.h: Update from GCC.
50040
f50ef8f1
AS
500412011-05-23 Andreas Schwab <schwab@redhat.com>
50042
50043 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
50044 parameter name.
50045 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
50046 Add parameter name.
50047 (__sysconf): Pass it down.
50048
de7ce8f1
UD
500492011-05-22 Ulrich Drepper <drepper@gmail.com>
50050
f2962a71
UD
50051 [BZ #12671]
50052 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
50053 some situations.
50054 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
50055 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
50056 add in in __libc_use_alloca calls. Adjust callers.
50057 (glob): Use malloc in some situations.
50058
de7ce8f1
UD
50059 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
50060 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
50061 pltexit.
50062
aec84f53
UD
500632011-05-21 Ulrich Drepper <drepper@gmail.com>
50064
05bb4a68
UD
50065 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
50066 and CLOCK_BOOTTIME_ALARM.
50067
7ea72f99
UD
50068 [BZ #12782]
50069 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
50070 is returned.
50071
7e4afad5
UD
50072 * string/_strerror.c (__strerror_r): Print negative errors as signed
50073 numbers.
50074
8e211fec
UD
50075 [BZ #12777]
50076 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
50077 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
50078 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
50079
f7d82dc9
UD
50080 * configure.in: Fix typo in redirection and correct removal of test
50081 files in two cases.
50082
cc9e536d
UD
50083 [BZ #12788]
50084 * locale/setlocale.c (new_composite_name): Fix test to check for
50085 identical name of all categories.
50086
aec84f53
UD
50087 [BZ #12792]
50088 * libio/filedoalloc.c (local_isatty): New function.
50089 (_IO_file_doallocate): Use local_isatty.
50090 * stdio-common/perror.c (perror): In case a new stream is used
50091 forward the stream error.
50092 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
50093 error flag.
50094
78e64fdc
RT
500952011-05-20 Ulrich Drepper <drepper@gmail.com>
50096
34a9094f
UD
50097 [BZ #11869]
50098 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
50099 alloca.
50100 * include/alloca.h (extend_alloca_account): Define.
50101
78e64fdc
RT
50102 [BZ #11857]
50103 * posix/regex.h: Fix comments with documentation of user-accessible
50104 fields after compilation and describe correct free'ing of pattern
50105 after re_compile_pattern.
50106 Patch by Reuben Thomas <rrt@sc3d.org>.
50107
457bddfc
RA
501082011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
50109
50110 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
50111 and -mno-altivec to prevent the compiler from using Altivec and/or
50112 VSX instructions when the corresponding registers are not available.
50113
a4527b51
AS
501142011-05-19 Andreas Schwab <schwab@redhat.com>
50115
50116 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
50117
ed690b2f
UD
501182011-05-19 Ulrich Drepper <drepper@gmail.com>
50119
50120 * libio/freopen.c (freopen): Use __dup2, not dup2.
50121 * libio/freopen64.c (freopen64): Likewise.
50122
8db73634
L
501232011-05-17 H.J. Lu <hongjiu.lu@intel.com>
50124
50125 [BZ #12775]
50126 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
50127 * math/Makefile (tests): Add test-powl.
50128 (CFLAGS-test-powl.c): Define.
50129 * math/test-powl.c: New file.
50130
0a197a9d
L
501312011-05-16 H.J. Lu <hongjiu.lu@intel.com>
50132
50133 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
50134
ee30c380
UD
501352011-05-17 Ulrich Drepper <drepper@gmail.com>
50136
50137 [BZ #11837]
50138 * iconvdata/gb18030.c: Update to GB18020-2005.
50139
6ce75379
UD
501402011-05-16 Ulrich Drepper <drepper@gmail.com>
50141
a4b89fd8
AR
50142 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
50143 RE_SYNTAX_POSIX_AWK): Update to match recent development.
50144 Patch by Aharon Robbins <arnold@skeeve.com>.
50145
ea389b12
UD
50146 [BZ #11892]
50147 * stdlib/putenv.c (putenv): Don't always create copy of the variable
50148 on the stack.
50149
68a3f91f
UD
50150 [BZ #11895]
50151 * misc/pselect.c (__pselect): Handle timeout value errors hidden
50152 through underflows.
50153
15cc7dd1
UD
50154 [BZ #12766]
50155 * misc/error.c (error_at_line): Ensure file_name and old_file_name
50156 point to strings before performing equality test for error_one_per_line
50157 mode.
50158
f3799213
UD
50159 [BZ #11697]
50160 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
50161
d79a9c94
UD
50162 [BZ #11820]
50163 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50164 (struct user_fpregs_struct): Avoid __uint*_t types.
50165
56e5eb46
UD
50166 [BZ #6420]
50167 * malloc/mtrace.c (tr_where): Add additional parameter to point to
50168 symbol info. Use it instead of calling _dl_addr locally.
50169 (lock_and_info): New function.
50170 (tr_freehook): Call lock_and_info and pass symbol info as additional
50171 parameter to tr_where.
50172 (tr_mallochook): Likewise.
50173 (tr_reallochook): Likewise.
50174 (tr_memalignhook): Likewise.
50175
6ce75379
UD
50176 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
50177 used and couldn't be at all thread-safe.
50178
f8a3b5bf
UD
501792011-05-15 Ulrich Drepper <drepper@gmail.com>
50180
94b7cc37
UD
50181 * libio/freopen.c (freopen): Don't close old file descriptor
50182 before the new one is opened. Instead dup the new file descriptor
50183 to the old one after the new stream is created.
50184 * libio/freopen64.c (freopen64): Likewise.
50185 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
50186 * libio/fileops.c (_IO_new_file_close_it): Handle new
50187 _IO_FLAGS2_NOCLOSE flag.
50188 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
50189 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
50190 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
50191 _IO_FLAGS2_NOCLOSE flag.
50192 * include/unistd.h: Add hidden_proto for dup3.
50193 Define __have_dup3.
50194 * io/dup3.c: Define hidden symbol.
50195 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
50196
bd25564e
UD
50197 [BZ #7101]
50198 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
50199 when an incomplete long option is used.
50200 * posix/tst-getopt_long1.c: New file.
50201 * posix/Makefile (tests): Add tst-getopt_long1.
50202
c84cfef4
UD
50203 [BZ #10138]
50204 * scripts/config.guess: Update from autoconf-2.68.
50205 * scripts/config.sub: Likewise.
50206
3b85df27
UD
50207 [BZ #10157]
50208 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
50209 tests into ...
50210 (has_cpuclock): ...this. New function.
50211 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
50212 macro here based on has_cpuclock code.
50213
15a856b1
UD
50214 [BZ #10149]
50215 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50216 First byte (not low byte) is now always NUL.
50217 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
50218
05f399e6
UD
50219 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50220 Use non-cancelable interfaces.
50221
10a52685 50222 [BZ #9809]
94ecc67d
UD
50223 * locale/iso-639.def: Add entry for Sorani.
50224
f8a3b5bf
UD
50225 [BZ #11901]
50226 * include/stdlib.h: Move include protection to the right place.
50227 Define abort_msg_s. Declare __abort_msg with it.
50228 * stdlib/abort.c (__abort_msg): Adjust type.
50229 * assert/assert.c (__assert_fail_base): New function. Majority
50230 of code from __assert_fail. Allocate memory for __abort_msg with
50231 mmap.
50232 (__assert_fail): Now call __assert_fail_base.
50233 * assert/assert-perr.c: Remove bulk of implementation. Use
50234 __assert_fail_base.
50235 * include/assert.hL Declare __assert_fail_base.
50236 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
50237 mmap.
50238 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
50239
1af4e298
UD
502402011-05-14 Ulrich Drepper <drepper@gmail.com>
50241
f8a3b5bf 50242 [BZ #11952]
d26dfc60
MG
50243 [BZ #12453]
50244 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
50245 until all modules are registered in the DTV.
50246 * elf/Makefile: Add rules to build and run tst-tls19.
50247 * elf/tst-tls19.c: New file.
50248 * elf/tst-tls19mod1.c: New file.
50249 * elf/tst-tls19mod2.c: New file.
50250 * elf/tst-tls19mod3.c: New file.
50251 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
50252
2fc54d6f
UD
50253 [BZ #12083]
50254 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
50255 correctly.
50256
98d76b46
UD
50257 [BZ #12601]
50258 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
50259 two-byte sequence errors.
50260 * iconvdata/Makefile (tests): Add bug-iconv8.
50261 * iconvdata/bug-iconv8.c: New file.
50262
da3c19ef
UD
50263 [BZ #12626]
50264 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
50265 buf2 definition.
50266
ca408c15
UD
50267 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
50268
d6f67f7d
UD
50269 [BZ #12432]
50270 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
50271 (dummy_getcfa): New function.
50272 (init): Get _Unwind_GetCFA address, use dummy if not found.
50273 (backtrace_helper): In recursion check, also check whether CFA changes.
50274 (__backtrace): Completely initialize arg.
50275
1af4e298 50276 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
50277 storing incomplete byte sequence in state object. Avoid testing for
50278 guaranteed too small input if we know there is enough data available.
1af4e298 50279
da62f81b
AS
502802011-05-11 Andreas Schwab <schwab@redhat.com>
50281
50282 * Makeconfig (+link-pie): Indent.
50283 * Rules (binaries-pie): Define if $(have-fpie) and
50284 $(build-shared).
50285 (binaries-shared): Also filter out $(binaries-pie).
50286 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
50287 * nscd/Makefile (others-pie): Add nscd.
50288 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
50289 ($(objpfx)nscd): Remove command override.
50290 * login/Makefile (others-pie): Add pt_chown.
50291 ($(objpfx)pt_chown): Remove command override.
50292 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
50293 remove command overrides.
50294
fcabc0f8
UD
502952011-05-13 Ulrich Drepper <drepper@gmail.com>
50296
20030ae6
UD
50297 * libio/tst_putwc.c: Fix error messages.
50298
fcabc0f8
UD
50299 [BZ #12724]
50300 * libio/fileops.c (_IO_new_file_close_it): Always flush when
50301 currently writing and seek to current position when not.
50302 * libio/Makefile (tests): Add bug-fclose1.
50303 * libio/bug-fclose1.c: New file.
50304
320a5dc0
PB
503052011-05-12 Ulrich Drepper <drepper@gmail.com>
50306
50307 [BZ #12511]
50308 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
50309 don't set DF_1_NODELETE here.
50310 (do_lookup_x): When entering new entry test for copy relocation
50311 and if necessary set DF_1_NODELETE flag.
50312 * elf/tst-unique4.cc: New file.
50313 * elf/tst-unique4.h: New file.
50314 * elf/tst-unique4lib.cc: New file.
50315 * elf/Makefile: Add rules to build and run tst-unique4.
50316 Patch by Piotr Bury <pbury@goahead.com>.
50317
22836f52
UD
503182011-05-11 Ulrich Drepper <drepper@gmail.com>
50319
f574184a
UD
50320 [BZ #12052]
50321 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
50322
e1fb097f
UD
50323 [BZ #12625]
50324 * misc/mntent_r.c (addmntent): Flush the stream after the output
50325
22836f52
UD
50326 [BZ #12393]
50327 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
50328 (is_trusted_path_normalize): Skip initial colon. Append slash
50329 to empty buffer. Duplicate is_trusted_path code but allow
50330 constructed patch to be prefix.
50331 (is_dst): Allow $ORIGIN followed by /.
50332 (_dl_dst_substitute): Correct clearing of check_for_trusted.
50333 Correct testing of result of is_trusted_path_normalize
50334 (decompose_rpath): Fix warning.
50335
7b3b0b2a
UD
503362011-05-10 Ulrich Drepper <drepper@gmail.com>
50337
50338 [BZ #11257]
50339 * grp/initgroups.c (internal_getgrouplist): When we found the service
50340 list through the initgroups entry in nsswitch.conf do not always
50341 continue on a successful lookup. Don't always use the
eac80ce2 50342 __nss_group_database value if it is set.
7b3b0b2a
UD
50343 * nss/nsswitch.conf (initgroups): Change action for successful db
50344 lookup to continue for compatibility.
50345
2a81eaa5
UD
503462011-05-09 Ulrich Drepper <drepper@gmail.com>
50347
be97a69e
UD
50348 [BZ #11532]
50349 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
50350 and CP774 modules.
50351 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
50352 and CP774 modules.
50353 * iconvdata/tst-tables.sh: Likewise.
50354 * iconvdata/cp770.c: New file.
50355 * iconvdata/cp771.c: New file.
50356 * iconvdata/cp772.c: New file.
50357 * iconvdata/cp773.c: New file.
50358 * iconvdata/cp774.c: New file.
50359 * iconvdata/testdata/CP770: New file.
50360 * iconvdata/testdata/CP770..UTF8: New file.
50361 * iconvdata/testdata/CP771: New file.
50362 * iconvdata/testdata/CP771..UTF8: New file.
50363 * iconvdata/testdata/CP772: New file.
50364 * iconvdata/testdata/CP772..UTF8: New file.
50365 * iconvdata/testdata/CP773: New file.
50366 * iconvdata/testdata/CP773..UTF8: New file.
50367 * iconvdata/testdata/CP774: New file.
50368 * iconvdata/testdata/CP774..UTF8: New file.
50369
50370 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
50371 END CHARMAP line.
50372 * iconvdata/gen-8bit-gap.sh: Likewise.
50373 * iconvdata/gen-8bit.sh: Likewise.
50374
c1e9e399
UD
50375 * locale/iso-639.def: Add ary entry.
50376
24c55fb3 50377 [BZ #11258]
96b4b1b0
UD
50378 * locale/C-translit.h.in: Add U20A1 transliteration.
50379
bdc2f971
KB
50380 [BZ #12178]
50381 * locale/iso-639.def: Add wae entry.
50382 Patch by Kevin Bortis <bortis@translate-wae.ch>.
50383
2952b117
UD
50384 [BZ #12545]
50385 * locale/programs/localedef.c (construct_output_path): Use ssize_t
50386 for n.
50387
2a81eaa5
UD
50388 [BZ #12711]
50389 * locale/C-translit.h.in: Add entry for U20B9.
50390 Patch by pravin.d.s@gmail.com.
50391
28377d1b
UD
503922011-05-08 Ulrich Drepper <drepper@gmail.com>
50393
7fb90fb8
UD
50394 [BZ #12713]
50395 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
50396 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
50397 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
50398 in rtld. Use *stat64.
7fb90fb8 50399 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 50400 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 50401 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
50402 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
50403 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
50404 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
50405 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
50406 __fstatat64 macros.
7fb90fb8
UD
50407 * include/dirent.h: Add libc_hidden_proto for rewinddir.
50408 * dirent/rewinddir.c: Add libc_hidden_def.
50409 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 50410 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 50411
28377d1b
UD
50412 * include/dirent.h (__alloc_dir): Add flags parameter.
50413 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
50414 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
50415 __alloc_dir.
50416 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
50417 from fdopendir if O_CLOEXEC is already set.
50418
66bdbaa4
AM
504192011-03-15 Alan Modra <amodra@gmail.com>
50420
50421 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
50422 l_tls_firstbyte_offset non-zero. Save padding offset in
50423 l_tls_firstbyte_offset for later use.
50424 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
50425 freeing static tls block.
50426
95721191
JN
504272011-03-05 Jonathan Nieder <jrnieder@gmail.com>
50428
50429 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
50430 where #ifdef was intended. The intent is to prevent ARG_MAX from
50431 being defined by the kernel headers.
50432
f87dfb1f
UD
504332011-05-07 Ulrich Drepper <drepper@gmail.com>
50434
50435 [BZ #12734]
50436 * resolv/resolv.h: Define RES_NOTLDQUERY.
50437 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
50438 no-tld-query and set RES_NOTLDQUERY.
50439 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
50440 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
50441 modern BIND to search name as TLD unless forbidden.
50442
47c3cd7a
UD
504432011-05-07 Petr Baudis <pasky@suse.cz>
50444 Ulrich Drepper <drepper@gmail.com>
50445
50446 [BZ #12393]
50447 * elf/dl-load.c (fillin_rpath): Move trusted path check...
50448 (is_trusted_path): ...to here.
c1e9ea35 50449 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 50450 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 50451 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 50452
8a35c912
PP
504532011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
50454
50455 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
50456 __BEGIN/__END_DECLS.
50457
acd41f47
UD
504582011-05-06 Ulrich Drepper <drepper@gmail.com>
50459
50460 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
50461 NSS_STATUS_NOTFOUND if no record was found.
50462
597df647
AS
504632011-05-05 Andreas Schwab <schwab@redhat.com>
50464
50465 * sunrpc/Makefile (headers): Add rpc/netdb.h.
50466 (headers-not-in-tirpc): Remove rpc/netdb.h
50467 * resolv/netdb.h: Revert last change.
50468
b9af1301
PP
504692011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50470
50471 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
50472 circular dependency between libgcc.a and libc.a.
50473
4e34d5f5
AS
504742011-05-05 Andreas Schwab <schwab@redhat.com>
50475
50476 * resolv/netdb.h: Don't include <rpc/netdb.h>.
50477 * nis/Makefile: Don't install rpcsvc/*.
50478 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
50479 instead of <rpc/types.h>.
50480 (MAXHOSTNAMELEN): Define.
50481
00ee369c
AS
504822011-05-03 Andreas Schwab <schwab@redhat.com>
50483
50484 * elf/ldconfig.c (add_dir): Don't crash on empty path.
50485
0b592a30
MB
504862011-04-28 Maciej Babinski <mbabinski@google.com>
50487
50488 [BZ #12714]
50489 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
50490 gethostbyname4_r when IPv6 results are possible.
50491
6e04cbbe
UD
504922011-05-02 Ulrich Drepper <drepper@gmail.com>
50493
50494 [BZ #12723]
50495 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
50496 _PC_PIPE_BUF handling.
50497
e4ecafe0
BH
504982011-04-30 Bruno Haible <bruno@clisp.org>
50499
50500 [BZ #12717]
50501 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
50502 * resolv/netdb.h (getnameinfo): Change type of flags parameter
50503 to 'int'.
50504 * inet/getnameinfo.c (getnameinfo): Likewise.
50505
125ee683
UD
505062011-04-29 Ulrich Drepper <drepper@gmail.com>
50507
50508 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
50509 to groups setting in database lookup.
50510 * nss/nsswitch.conf: Add initgroups entry.
50511
b722481a
EB
505122011-04-22 Ulrich Drepper <drepper@gmail.com>
50513
50514 [BZ #12685]
50515 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
50516 mode string.
50517 Patch by Eric Blake <eblake@redhat.com>.
50518
4df46dbd
L
505192011-04-20 H.J. Lu <hongjiu.lu@intel.com>
50520
50521 * sunrpc/Makefile (need-export-routines): Add svc_run.
50522 (routines): Remove svc_run.
50523 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
50524 * sunrpc/clnt_perr.c (clnt_perrno): Export.
50525 * sunrpc/svc_run.c (svc_run): Likewise.
50526 * sunrpc/svc_udp.c (svcudp_create): Likewise.
50527
e84142d2
UD
505282011-04-21 Ulrich Drepper <drepper@gmail.com>
50529
50530 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
50531 problem in reallocation in last patch.
50532
877175d8
UD
505332011-04-20 Ulrich Drepper <drepper@gmail.com>
50534
50535 * sunrpc/Makefile: Move inclusion of Rules.
50536
ab8eed78
UD
505372011-04-19 Ulrich Drepper <drepper@gmail.com>
50538
50539 * nss/nss_files/files-initgroups.c: New file.
50540 * nss/Makefile (libnss_files-routines): Add files-initgroups.
50541 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
50542 _nss_files_initgroups_dyn.
50543
e3d8f584
RS
505442011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
50545
50546 * elf/elf.h (R_ARM_IRELATIVE): Define.
50547
af190f45
UD
505482011-04-19 Ulrich Drepper <drepper@gmail.com>
50549
50550 * po/ru.po: Update from translation team.
50551
53cf59ef
UD
505522011-04-17 Ulrich Drepper <drepper@gmail.com>
50553
50554 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
50555 dependencies.
50556
4c559bcd
MF
505572011-02-06 Mike Frysinger <vapier@gentoo.org>
50558
50559 [BZ #12653]
50560 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
50561 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
50562 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50563 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
50564 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
50565
4420675c
AS
505662011-03-28 Andreas Schwab <schwab@linux-m68k.org>
50567
50568 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
50569 differing bytes.
50570 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
50571 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50572 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50573
75ea32ab
UD
505742011-04-17 Ulrich Drepper <drepper@gmail.com>
50575
50576 [BZ #12420]
50577 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
50578 storing it.
50579 * stdlib/bug-getcontext.c: New file.
50580 * stdlib/Makefile: Add rules to build and run bug-getcontext.
50581
27390476
AK
505822011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50583
50584 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
50585 instructions into .machine "z9-109".
50586 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
50587 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
50588
10442705
AK
505892011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50590
50591 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
50592 between environment variables and auxiliary vector.
50593
7b57bfe5
UD
505942011-04-16 Ulrich Drepper <drepper@gmail.com>
50595
50596 * Makefile: Add rules to build linkobj/libc.so.
50597 * include/libc-symbols.h: Define libc_hidden_nolink.
50598 * include/rpc/auth.h: Mark functions which are to be hidden.
50599 * include/rpc/auth_des.h: Likewise.
50600 * include/rpc/auth_unix.h: Likewise.
50601 * include/rpc/clnt.h: Likewise.
50602 * include/rpc/des_crypt.h: Likewise.
50603 * include/rpc/key_prot.h: Likewise.
50604 * include/rpc/pmap_clnt.h: Likewise.
50605 * include/rpc/pmap_prot.h: Likewise.
50606 * include/rpc/pmap_rmt.h: Likewise.
50607 * include/rpc/rpc_msg.h: Likewise.
50608 * include/rpc/svc.h: Likewise.
50609 * include/rpc/svc_auth.h: Likewise.
50610 * include/rpc/xdr.h: Likewise.
50611 * nis/Makefile: Link all DSOs against linkobj/libc.so.
50612 * nss/Makefile: Likewise.
50613 * sunrpc/Makefile: Don't install headers. Build library with normal
50614 entry points. Don't build rpcinfo. Link RPC tests appropriately.
50615 * sunrpc/auth_des.c: Hide exported symbols by default, export some
50616 for the compat linking library. Remove use of INTDEF/INTUSE.
50617 * sunrpc/auth_none.c: Likewise.
50618 * sunrpc/auth_unix.c: Likewise.
50619 * sunrpc/authdes_prot.c: Likewise.
50620 * sunrpc/authuxprot.c: Likewise.
50621 * sunrpc/clnt_gen.c: Likewise.
50622 * sunrpc/clnt_perr.c: Likewise.
50623 * sunrpc/clnt_raw.c: Likewise.
50624 * sunrpc/clnt_simp.c: Likewise.
50625 * sunrpc/clnt_tcp.c: Likewise.
50626 * sunrpc/clnt_udp.c: Likewise.
50627 * sunrpc/clnt_unix.c: Likewise.
50628 * sunrpc/des_crypt.c: Likewise.
50629 * sunrpc/des_soft.c: Likewise.
50630 * sunrpc/get_myaddr.c: Likewise.
50631 * sunrpc/key_call.c: Likewise.
50632 * sunrpc/key_prot.c: Likewise.
50633 * sunrpc/netname.c: Likewise.
50634 * sunrpc/pm_getmaps.c: Likewise.
50635 * sunrpc/pm_getport.c: Likewise.
50636 * sunrpc/pmap_clnt.c: Likewise.
50637 * sunrpc/pmap_prot.c: Likewise.
50638 * sunrpc/pmap_prot2.c: Likewise.
50639 * sunrpc/pmap_rmt.c: Likewise.
50640 * sunrpc/publickey.c: Likewise.
50641 * sunrpc/rpc_cmsg.c: Likewise.
50642 * sunrpc/rpc_common.c: Likewise.
50643 * sunrpc/rpc_dtable.c: Likewise.
50644 * sunrpc/rpc_prot.c: Likewise.
50645 * sunrpc/rpc_thread.c: Likewise.
50646 * sunrpc/rtime.c: Likewise.
50647 * sunrpc/svc.c: Likewise.
50648 * sunrpc/svc_auth.c: Likewise.
50649 * sunrpc/svc_authux.c: Likewise.
50650 * sunrpc/svc_raw.c: Likewise.
50651 * sunrpc/svc_run.c: Likewise.
50652 * sunrpc/svc_simple.c: Likewise.
50653 * sunrpc/svc_tcp.c: Likewise.
50654 * sunrpc/svc_udp.c: Likewise.
50655 * sunrpc/svc_unix.c: Likewise.
50656 * sunrpc/svcauth_des.c: Likewise.
50657 * sunrpc/xcrypt.c: Likewise.
50658 * sunrpc/xdr.c: Likewise.
50659 * sunrpc/xdr_array.c: Likewise.
50660 * sunrpc/xdr_float.c: Likewise.
50661 * sunrpc/xdr_intXX_t.c: Likewise.
50662 * sunrpc/xdr_mem.c: Likewise.
50663 * sunrpc/xdr_rec.c: Likewise.
50664 * sunrpc/xdr_ref.c: Likewise.
50665 * sunrpc/xdr_sizeof.c: Likewise.
50666 * sunrpc/xdr_stdio.c: Likewise.
50667
e6c61494
UD
506682011-04-10 Ulrich Drepper <drepper@gmail.com>
50669
50670 [BZ #12650]
50671 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
50672 * sysdeps/ia64/dl-tls.h: Likewise.
50673 * sysdeps/powerpc/dl-tls.h: Likewise.
50674 * sysdeps/s390/dl-tls.h: Likewise.
50675 * sysdeps/sh/dl-tls.h: Likewise.
50676 * sysdeps/sparc/dl-tls.h: Likewise.
50677 * sysdeps/x86_64/dl-tls.h: Likewise.
50678 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
50679
34fe483e
AS
506802011-03-14 Andreas Schwab <schwab@redhat.com>
50681
50682 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
50683 rpath element also skip the following colon.
50684 (expand_dynamic_string_token): Add is_path parameter and pass
50685 down to DL_DST_REQUIRED and _dl_dst_substitute.
50686 (decompose_rpath): Call expand_dynamic_string_token with
50687 non-zero is_path. Ignore empty rpaths.
50688 (_dl_map_object_from_fd): Call expand_dynamic_string_token
50689 with zero is_path.
50690
f12a32e6
AS
506912011-04-08 Andreas Schwab <schwab@linux-m68k.org>
50692
50693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50694 Make cancelable.
50695
38a7d692
UD
506962011-04-09 Ulrich Drepper <drepper@gmail.com>
50697
50698 [BZ #12655]
50699 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
50700 Patch by Filipe David Manana <fdmanana@apache.org>.
50701
e451d22b
AS
507022011-04-07 Andreas Schwab <schwab@redhat.com>
50703
50704 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
50705 Maintain aligned stack.
50706 (CHECK_RSP): Remove unused macro.
50707
dedc7c7b
UD
507082011-04-03 Ulrich Drepper <drepper@gmail.com>
50709
50710 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
50711 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
50712
94521213
UD
507132011-04-02 Ulrich Drepper <drepper@gmail.com>
50714
50715 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
50716
8cb700c0 50717 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 50718
0354e355
L
507192011-03-26 H.J. Lu <hongjiu.lu@intel.com>
50720
50721 [BZ #12518]
50722 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
50723 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
50724 * sysdeps/x86_64/memmove.c: New file.
50725 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
50726 (memcpy): Renamed to ...
50727 (__new_memcpy): This.
50728 (memcpy): Provide GLIBC_2_14 memcpy.
50729 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
50730 (memcpy): Provide GLIBC_2_2_5 memcpy.
50731
8593482f
UD
507322011-04-01 Ulrich Drepper <drepper@gmail.com>
50733
50734 [BZ #12631]
50735 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
50736
81a5726b
AS
507372011-03-30 Andreas Schwab <schwab@redhat.com>
50738
50739 * misc/syncfs.c: New file.
50740 * misc/Makefile (routines): Add syncfs.
50741 * posix/unistd.h: Declare syncfs.
50742 * sysdeps/unix/syscalls.list: Add syncfs.
50743
00e5419f
AS
507442011-04-01 Andreas Schwab <schwab@redhat.com>
50745
50746 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
50747 open_by_handle_at.
50748 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50749 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50750 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50751 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50752 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50753 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
50754 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50755
748876bf
UD
507562011-04-01 Ulrich Drepper <drepper@gmail.com>
50757
658e451d
UD
50758 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
50759 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50760 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
50761 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50762 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50763 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50764 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50765
748876bf
UD
50766 * io/Makefile: Compile fallocate.c, fallocate64.c, and
50767 sync_file_range.c with -fexceptions.
50768 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
50769 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
50770 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
50771 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
50772 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
50773 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50774 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
50775 sync_file_range as cancellation point
50776 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
50777 now a wrapper around __call_sync_file_range with cancellation handling.
50778 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
50779 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
50780 function name to __call_sync_file_range.
50781 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
50782 Add call_sync_file_range.
748876bf 50783
6e63d5e1
AS
507842011-04-01 Andreas Schwab <schwab@redhat.com>
50785
50786 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 50787 bits/timex.h.
6e63d5e1 50788
46998f74
UD
507892011-04-01 Ulrich Drepper <drepper@gmail.com>
50790
4c1423ed
UD
50791 * iconv/iconv.h: Fix typo in comment.
50792 * io/fcntl.h: Likewise.
50793 * libio/stdio.h: Likewise.
50794 * posix/spawn.h: Likewise.
50795 * posix/unistd.h: Likewise.
50796 * stdlib/stdlib.h: Likewise.
50797 * time/time.h: Likewise.
50798 * wcsmbs/wchar.h: Likewise.
50799
158648c0
UD
50800 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
50801 open_by_handle): Add.
50802 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
50803 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
50804 Augment a few comments.
50805 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50806 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50807 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50808 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50809 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50810 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
50811 open_by_handle.
50812
46998f74
UD
50813 * io/fcntl.h (AT_EMPTY_PATH): Define.
50814
83fe108b
UD
508152011-03-30 Ulrich Drepper <drepper@gmail.com>
50816
50817 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
50818 * sysdeps/unix/sysv/linux/bits/time.h: New file.
50819 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
50820 to...
50821 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
50822 * Versions.def: Add GLIBC_2.14.
50823 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
50824 Export.
83fe108b 50825
bb242059
UD
508262011-03-22 Ulrich Drepper <drepper@gmail.com>
50827
50828 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
50829 round counter.
50830 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50831
c97a1282
L
508322011-03-20 H.J. Lu <hongjiu.lu@intel.com>
50833
50834 [BZ #12597]
50835 * string/test-strncmp.c (do_page_test): New function.
50836 (check2): Likewise.
50837 (test_main): Call check2.
50838 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
50839
2a115601
UD
508402011-03-20 Ulrich Drepper <drepper@gmail.com>
50841
50842 [BZ #12587]
50843 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
50844 Handle cache information in CPU leaf 4.
50845 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50846
8126d904
UD
508472011-03-18 Ulrich Drepper <drepper@gmail.com>
50848
042c49c6 50849 [BZ #12583]
8126d904
UD
50850 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
50851 character representation.
50852 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
50853
ccfe366e
RA
508542011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
50855
50856 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
50857 END(__isnan) to END(__isnanf) to match function entry point/label
50858 EALIGN(__isnanf,...).
50859
c6e13027
JJ
508602011-03-10 Jakub Jelinek <jakub@redhat.com>
50861
50862 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
50863
33f85a3f
UD
508642011-03-10 Ulrich Drepper <drepper@gmail.com>
50865
028478fa
UD
50866 [BZ #12510]
50867 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
50868 copy from the symbol referenced in the relocation to initialize the
50869 used variable.
50870 Patch by Piotr Bury <pbury@goahead.com>.
50871 * elf/Makefile: Add rules to build and tst-unique3.
50872 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50873 * elf/tst-unique3.cc: New file.
50874 * elf/tst-unique3.h: New file.
50875 * elf/tst-unique3lib.cc: New file.
50876 * elf/tst-unique3lib2.cc: New file.
50877
33f85a3f
UD
50878 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50879
03592fc7
MF
508802011-03-10 Mike Frysinger <vapier@gentoo.org>
50881
50882 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50883 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
50884 to _start.
03592fc7 50885
6a5ee102
UD
508862011-03-06 Ulrich Drepper <drepper@gmail.com>
50887
50888 * elf/dl-load.c (_dl_map_object): If we are looking for the first
50889 to-be-loaded object along a path to loader is ld.so.
50890
7e4ba49c
HJ
508912011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50892 Ulrich Drepper <drepper@gmail.com>
50893
50894 * sysdeps/x86_64/memset.S: After aligning destination, code
50895 branches to different locations depending on the value of
50896 misalignment, when multiarch is enabled. Fix this.
50897
508982011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50899
50900 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50901 Set _x86_64_preferred_memory_instruction for AMD processsors.
50902 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50903 Set bit_Prefer_SSE_for_memop for AMD processors.
50904
13a804de
UD
509052011-03-04 Ulrich Drepper <drepper@gmail.com>
50906
50907 * libio/fmemopen.c (fmemopen): Optimize a bit.
50908
9d25c392
AS
509092011-03-03 Andreas Schwab <schwab@redhat.com>
50910
50911 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50912
a5543c6a
RM
509132011-03-03 Roland McGrath <roland@redhat.com>
50914
50915 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50916
012d35f7
DM
509172011-02-28 Aurelien Jarno <aurelien@aurel32.net>
50918
7e4ba49c 50919 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
50920 __bzero_ultra1 instead of __memset_ultra1.
50921
4bff6e01
AS
509222011-02-23 Andreas Schwab <schwab@redhat.com>
50923 Ulrich Drepper <drepper@gmail.com>
50924
50925 [BZ #12509]
50926 * include/link.h (struct link_map): Add l_orig_initfini.
50927 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50928 returning unsuccessfully.
50929 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50930 close of a file loaded at startup, restore the original l_initfini
50931 list.
50932 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50933 list, store the pointer.
50934 * elf/Makefile ($(objpfx)noload-mem): New rule.
50935 (noload-ENV): Define.
50936 (tests): Add $(objpfx)noload-mem.
50937 * elf/noload.c: Include <memcheck.h>.
50938 (main): Call mtrace. Close all opened handles.
50939
f2092faf
AS
509402011-02-17 Andreas Schwab <schwab@redhat.com>
50941
50942 [BZ #12454]
50943 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50944 dependencies are missing.
50945
6c8a2e88
ST
509462011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
50947
f2092faf 50948 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
50949 Hurd needs munmap.
50950 * sysdeps/mach/hurd/ifreq.h: New file.
50951
84a42118
PB
509522011-01-27 Petr Baudis <pasky@suse.cz>
50953 Ulrich Drepper <drepper@gmail.com>
50954
071f805e 50955 [BZ 12445]#
84a42118
PB
50956 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50957 to extend_alloca().
50958 * stdio-common/bug23.c: New file.
50959 * stdio-common/Makefile (tests): Add bug23.
50960
e23fe25b
AS
509612010-09-28 Andreas Schwab <schwab@redhat.com>
50962 Ulrich Drepper <drepper@gmail.com>
50963
50964 [BZ #12489]
50965 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
50966 before performing relro protection. At old place add assertion
50967 to make sure nothing changed.
50968
d3f02e10
NS
509692011-02-17 Nathan Sidwell <nathan@codesourcery.com>
50970 Glauber de Oliveira Costa <glommer@gmail.com>
50971
50972 * elf/elf.h: Add new ARM TLS relocs.
50973
d55fd7a5
RA
509742011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
50975
50976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50977 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
50978 cast from r3.
50979 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
50980 'tests' variable.
50981 * sysdeps/wordsize-64/tst-writev.c: New file.
50982
2206397e
RA
509832011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
50984
50985 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
50986 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
50987 insns in _dl_start to prevent a TOC reference before relocs are
50988 resolved.
50989
e9433893
UD
509902011-02-15 Ulrich Drepper <drepper@gmail.com>
50991
50992 [BZ #12469]
50993 * Makeconfig: Remove RANLIB definition.
50994 * Makerules: Don't use RANLIB.
50995 * aclocal.m4: Remove ranlib test.
50996 * configure.in: No need to check for ranlib.
50997 * elf/rtld-Rules: Don't use RANLIB.
50998
f75286c6
ST
509992011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
51000
8e31c82d
ST
51001 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
51002 protection macro.
51003 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
51004 inclusion protection macro.
51005
f75286c6
ST
51006 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
51007 SIGRTMIN and SIGRTMAX and print information in that case only when
51008 SIGRTMIN is defined.
51009
c1d0e639
JJ
510102011-02-11 Jakub Jelinek <jakub@redhat.com>
51011
51012 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
51013 arginfo fn returning -1.
51014
51015 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
51016 and thousands string is zero terminated.
51017
edf9294e
AS
510182011-02-03 Andreas Schwab <schwab@redhat.com>
51019
51020 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
51021 sysdeps/unix/sysv/linux/bits/socket.h.
51022
2b7e92df
ST
510232011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
51024
edf9294e
AS
51025 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
51026 (__CPU_COUNT): Remove old macros.
51027 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
51028 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
51029 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
51030 (__sched_cpualloc, __sched_cpufree): Add declarations.
51031
a4c7ea7b
UD
510322011-02-05 Ulrich Drepper <drepper@gmail.com>
51033
51034 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
51035 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
51036 * nscd/aicache.c (addhstaiX): Return timeout of added value.
51037 (readdhstai): Return value of addhstaiX call.
51038 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
51039 (addgrbyX): Return value returned by cache_addgr.
51040 (readdgrbyname): Return value returned by addgrbyX.
51041 (readdgrbygid): Likewise.
51042 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
51043 (addpwbyX): Return value returned by cache_addpw.
51044 (readdpwbyname): Return value returned by addhstbyX.
51045 (readdpwbyuid): Likewise.
51046 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
51047 (addservbyX): Return value returned by cache_addserv.
51048 (readdservbyname): Return value returned by addservbyX:
51049 (readdservbyport): Likewise.
51050 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
51051 (addhstbyX): Return value returned by cache_addhst.
51052 (readdhstbyname): Return value returned by addhstbyX.
51053 (readdhstbyaddr): Likewise.
51054 (readdhstbynamev6): Likewise.
51055 (readdhstbyaddrv6): Likewise.
51056 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
51057 (readdinitgroups): Return value returned by addinitgroupsX.
51058 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
51059 (prune_cache): Keep track of timeout value of re-added entries.
51060 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
51061 * nscd/nscd.h: Adjust prototypes of readd* functions.
51062
a0bf67cc
RM
510632011-02-04 Roland McGrath <roland@redhat.com>
51064
51065 * nis/nis_server.c (nis_servstate): Use the right name for 0.
51066 (nis_stats): Likewise.
51067 * nis/nis_modify.c (nis_modify): Likewise.
51068 * nis/nis_remove.c (nis_remove): Likewise.
51069 * nis/nis_add.c (nis_add): Likewise.
51070
51071 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
51072
51073 * posix/fnmatch_loop.c: Add some consts.
51074
51075 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
51076
435b95eb
L
510772011-02-02 H.J. Lu <hongjiu.lu@intel.com>
51078
51079 [BZ #12460]
51080 * config.make.in (config-cflags-novzeroupper): Define.
51081 * configure.in: Substitute libc_cv_cc_novzeroupper.
51082 * elf/Makefile (AVX-CFLAGS): Define.
51083 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
51084 (CFLAGS-tst-auditmod4a.c): Likewise.
51085 (CFLAGS-tst-auditmod4b.c): Likewise.
51086 (CFLAGS-tst-auditmod6b.c): Likewise.
51087 (CFLAGS-tst-auditmod6c.c): Likewise.
51088 (CFLAGS-tst-auditmod7b.c): Likewise.
51089 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
51090
8517b15e
UD
510912011-02-02 Ulrich Drepper <drepper@gmail.com>
51092
51093 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
51094 function to the callback.
51095 Patch partly by Jiri Olsa <jolsa@redhat.com>.
51096
10a656fe
AS
510972011-02-02 Andreas Schwab <schwab@redhat.com>
51098
51099 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
51100 of errno.
51101
968dad0a
UD
511022011-01-19 Ulrich Drepper <drepper@gmail.com>
51103
9f94d2ea 51104 [BZ #11724]
968dad0a
UD
51105 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
51106 of constructors.
51107 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
51108 of destructors.
51109 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
51110
51111 [BZ #11724]
51112 * elf/Makefile: Add rules to build and run new test.
51113 * elf/tst-initorder.c: New file.
51114 * elf/tst-initorder.exp: New file.
51115 * elf/tst-initordera1.c: New file.
51116 * elf/tst-initordera2.c: New file.
51117 * elf/tst-initordera3.c: New file.
51118 * elf/tst-initordera4.c: New file.
51119 * elf/tst-initorderb1.c: New file.
51120 * elf/tst-initorderb2.c: New file.
51121 * elf/tst-order-a1.c: New file.
51122 * elf/tst-order-a2.c: New file.
51123 * elf/tst-order-a3.c: New file.
51124 * elf/tst-order-a4.c: New file.
51125 * elf/tst-order-b1.c: New file.
51126 * elf/tst-order-b2.c: New file.
51127 * elf/tst-order-main.c: New file.
51128 New test case by George Gensure <werkt0@gmail.com>.
51129
86e92359
UD
511302010-10-01 Andreas Schwab <schwab@redhat.com>
51131
51132 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51133 decoding ACE if AI_CANONIDN.
51134
5d5732b0
UD
511352011-01-18 Ulrich Drepper <drepper@gmail.com>
51136
51137 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
51138
a77e8cbc
UD
511392011-01-17 Ulrich Drepper <drepper@gmail.com>
51140
6392473f
UD
51141 * version.h (RELEASE): Bump for 2.13 release.
51142 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
51143
620a0529
UD
51144 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
51145
18ba70a5
UD
51146 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
51147 MADV_NOHUGEPAGE.
32465c3e
UD
51148 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
51149 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51150 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51151 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51152 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51153 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51154
c0dafcf1
UD
51155 * posix/getconf.c: Update copyright year.
51156 * catgets/gencat.c: Likewise.
51157 * csu/version.c: Likewise.
51158 * debug/catchsegv.sh: Likewise.
51159 * debug/xtrace.sh: Likewise.
51160 * elf/ldconfig.c: Likewise.
51161 * elf/ldd.bash.in: Likewise.
51162 * elf/sprof.c (print_version): Likewise.
51163 * iconv/iconv_prog.c: Likewise.
51164 * iconv/iconvconfig.c: Likewise.
51165 * locale/programs/locale.c: Likewise.
51166 * locale/programs/localedef.c: Likewise.
51167 * malloc/memusage.sh: Likewise.
51168 * malloc/mtrace.pl: Likewise.
51169 * nscd/nscd.c (print_version): Likewise.
51170 * nss/getent.c: Likewise.
51171
a77e8cbc
UD
51172 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
51173 PF_CAIF, and PF_ALG.
51174 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51175
77e8bddf
AS
511762011-01-16 Andreas Schwab <schwab@linux-m68k.org>
51177
1f20b93a
AS
51178 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
51179 (modules-names): Use them.
51180 (ifunc-test-modules, ifunc-pie-tests): Define.
51181 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
51182 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
51183 (test-extras): Likewise.
51184 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
51185 $(compile-command.c).
51186 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
51187 (all-built-dso): Define.
51188 (check-textrel.out, check-execstack.out): Depend on it.
51189
77e8bddf
AS
51190 * configure.in: Don't override --enable-multi-arch.
51191
bc425b33
UD
511922011-01-15 Ulrich Drepper <drepper@gmail.com>
51193
51194 [BZ #6812]
51195 * nscd/hstcache.c (tryagain): Define.
51196 (cache_addhst): Return tryagain not notfound for temporary errors.
51197 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
51198 failed.
51199
794c3ad3
UD
512002011-01-14 Ulrich Drepper <drepper@gmail.com>
51201
70181fdd
UD
51202 [BZ #10563]
51203 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
51204 to make the syscall.
51205 * sysdeps/unix/sysv/linux/setgroups.c: New file.
51206
794c3ad3
UD
51207 [BZ #12378]
51208 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
51209 and fall back to matching as normal character if the string ends before
51210 the matching ']' is found. This is what POSIX requires.
51211 * posix/testfnm.c: Adjust test result.
51212 * posix/globtest.sh: Adjust test result. Add new test.
51213 * posix/tst-fnmatch.input: Likewise.
51214 * posix/tst-fnmatch2.c: Add new test.
51215
68dc9497
AS
512162010-12-28 Andreas Schwab <schwab@linux-m68k.org>
51217
51218 * elf/Makefile (check-execstack): Revert last change. Depend on
51219 check-execstack.h.
51220 (check-execstack.h): New target.
51221 (generated): Add check-execstack.h.
51222 * elf/check-execstack.c: Include "check-execstack.h".
51223 (main): Revert last change.
51224 (handle_file): Return zero if GNU_STACK is absent and
51225 DEFAULT_STACK_PERMS doesn't include PF_X.
51226
451f001b
UD
512272011-01-13 Ulrich Drepper <drepper@gmail.com>
51228
cfa28e56
UD
51229 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
51230 in child fails because the descriptor is already closed.
8cf8ce17
UD
51231 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
51232 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
51233 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 51234
1086d70d
UD
51235 [BZ #12397]
51236 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
51237 syscall.
51238
451f001b
UD
51239 [BZ #10484]
51240 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
51241 temporary buffer used to handle multi lookups locally.
a85b5cb4 51242 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 51243
08769175
UD
512442011-01-12 Ulrich Drepper <drepper@gmail.com>
51245
51246 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
51247 loader is ld.so.
51248
5e49c52e
UD
512492011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
51250
51251 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
51252 alignment for SSE2.
51253
60522a5f
UD
512542011-01-12 Ulrich Drepper <drepper@gmail.com>
51255
51256 [BZ #12394]
51257 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
51258 characters. When rounding increased number of integer digits recompute
51259 number of groups.
51260 * stdio-common/tst-grouping.c: New file.
51261 * stdio-common/Makefile: Add rules to build and run tst-grouping.
51262
f257bbd7
UD
512632011-01-09 Ulrich Drepper <drepper@gmail.com>
51264
51265 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
51266 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
51267
51268 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
51269 void.
51270 * bits/select.h: Likewise.
51271
fa9c15cb
UD
512722011-01-08 Ulrich Drepper <drepper@gmail.com>
51273
51274 * po/ja.po: Update from translation team.
51275
16c2895f
DM
512762011-01-04 David S. Miller <davem@sunset.davemloft.net>
51277
51278 [BZ #11155]
51279 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
51280 implementation just like for lxstat, fxstatat, et al.
51281
2543fef2
JM
512822010-12-27 Jim Meyering <meyering@redhat.com>
51283
51284 [BZ #12348]
51285 * posix/regexec.c (build_trtable): Return failure indication upon
51286 calloc failure. Otherwise, re_search_internal could infloop on OOM.
51287
98727dbe
UD
512882010-12-25 Ulrich Drepper <drepper@gmail.com>
51289
5bd6dc5c
UD
51290 [BZ #12201]
51291 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
51292 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
51293 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
51294 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
51295
97983464
UD
51296 [BZ #12207]
51297 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
51298
98727dbe
UD
51299 [BZ #12204]
51300 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
51301 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
51302
4a531bb0
L
513032010-12-15 H.J. Lu <hongjiu.lu@intel.com>
51304
51305 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
51306 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
51307 script has SORT_BY_INIT_PRIORITY.
51308 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
51309 NO_CTORS_DTORS_SECTIONS is defined.
51310 * elf/soinit.c: Likewise.
51311 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
51312 NO_CTORS_DTORS_SECTIONS is defined.
51313 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
51314 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
51315 * sysdeps/sh/init-first.c: Likewise.
51316 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
51317
07eb4b71
UD
513182010-12-24 Ulrich Drepper <drepper@gmail.com>
51319
51320 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
51321 always use the slow path.
51322
30950a5f
RA
513232010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
51324
51325 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
51326 similar rule which adds the sysdep directories to the header search in
51327 order to pick up the correct platform stackinfo.h.
51328 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
51329 perform test if it is, otherwise return successfully without testing.
51330 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
51331 DEFAULT_STACK_PERMS define in stackinfo.h.
51332 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
51333 defined in stackinfo.h.
51334 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
51335 DEFAULT_STACK_PERMS defined in stackinfo.h.
51336 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
51337 * sysdeps/ia64/stackinfo.h: Likewise.
51338 * sysdeps/s390/stackinfo.h: Likewise.
51339 * sysdeps/sh/stackinfo.h: Likewise.
51340 * sysdeps/sparc/stackinfo.h: Likewise.
51341 * sysdeps/x86_64/stackinfo.h: Likewise.
51342 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
51343 PF_X for powerpc64. Retain PF_X for powerpc32.
51344
db753e2c
UD
513452010-12-19 Ulrich Drepper <drepper@gmail.com>
51346
14b697f7
UD
51347 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
51348 accurately.
db753e2c
UD
51349 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
51350 GETDENTS_64BIT_ALIGNED.
51351
28300719
UD
513522010-12-14 Ulrich Drepper <dreper@gmail.com>
51353
14b697f7 51354 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 51355
4f197237
AS
513562010-12-10 Andreas Schwab <schwab@redhat.com>
51357
dbb0472f
AS
51358 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
51359 _GNU_SOURCE.
51360
4f197237
AS
51361 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
51362 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
51363 Remove __restrict.
51364 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
51365 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
51366
fb88ac72
UD
513672010-12-09 Ulrich Drepper <drepper@gmail.com>
51368
51369 [BZ #11655]
51370 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
51371 are initialized.
51372
42acbb92
JJ
513732010-12-09 Jakub Jelinek <jakub@redhat.com>
51374
51375 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
51376
c038d98d
UD
513772010-12-03 Ulrich Drepper <drepper@gmail.com>
51378
51379 * po/it.po: Update from translation team.
51380
3a4a2499
L
513812010-12-01 H.J. Lu <hongjiu.lu@intel.com>
51382
51383 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
51384 unused codes.
51385
1e24cf6e
UD
513862010-11-30 Ulrich Drepper <drepper@gmail.com>
51387
51388 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
51389
a7690819
AS
513902010-11-24 Andreas Schwab <schwab@redhat.com>
51391
51392 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
51393 specially.
51394 (gaih_getanswer_slice): Likewise.
51395
3bf8d1b1
JJ
513962010-10-20 Jakub Jelinek <jakub@redhat.com>
51397
51398 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
51399
6db52fbb
PB
514002010-05-31 Petr Baudis <pasky@suse.cz>
51401
51402 [BZ #11149]
51403 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
51404 silently even in the chroot mode.
51405
eaca7569
UD
514062010-11-22 Ulrich Drepper <drepper@gmail.com>
51407
51408 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
51409 last patch a bit. Pretty printing
51410
3056dcdb
UD
514112010-05-31 Petr Baudis <pasky@suse.cz>
51412
51413 [BZ #10085]
51414 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
51415 initialization of skip_initgroups_dyn.
51416
cf7c9078
UD
514172010-11-19 Ulrich Drepper <drepper@gmail.com>
51418
51419 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
51420 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51421
a1fb5e3e
UD
514222010-11-16 Ulrich Drepper <drepper@gmail.com>
51423
51424 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
51425
3540d66b
AS
514262010-11-11 Andreas Schwab <schwab@redhat.com>
51427
51428 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
51429 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
51430 (tst-fnmatch-ENV): Set MALLOC_TRACE.
51431 ($(objpfx)tst-fnmatch-mem): New rule.
51432 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
51433 * posix/tst-fnmatch.c (main): Call mtrace.
51434
13b69574
L
514352010-11-11 H.J. Lu <hongjiu.lu@intel.com>
51436
51437 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51438 Support Intel processor model 6 and model 0x2c.
51439
da93d214
LM
514402010-11-10 Luis Machado <luisgpm@br.ibm.com>
51441
51442 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
51443 signed comparison.
51444
8ca52c6e
L
514452010-11-09 H.J. Lu <hongjiu.lu@intel.com>
51446
51447 [BZ #12205]
51448 * string/test-strncasecmp.c (check_result): New function.
51449 (do_one_test): Use it.
51450 (check1): New function.
51451 (test_main): Use it.
51452 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
51453 Support strcasecmp and strncasecmp.
51454
69da074d
UD
514552010-11-08 Ulrich Drepper <drepper@gmail.com>
51456
51457 [BZ #12194]
51458 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
51459 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51460
ff02d528
L
514612010-11-07 H.J. Lu <hongjiu.lu@intel.com>
51462
51463 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
51464 IFUNC support.
51465 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51466 memset-x86-64.
51467 * sysdeps/x86_64/multiarch/bzero.S: New file.
51468 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
51469 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
51470 * sysdeps/x86_64/multiarch/memset.S: New file.
51471 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
51472 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51473 Set bit_Prefer_SSE_for_memop for Intel processors.
51474 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
51475 Define.
51476 (index_Prefer_SSE_for_memop): Define.
51477 (HAS_PREFER_SSE_FOR_MEMOP): Define.
51478
344d0b54
LM
514792010-11-04 Luis Machado <luisgpm@br.ibm.com>
51480
51481 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
51482 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
51483
c0dde15b
UD
514842010-11-03 H.J. Lu <hongjiu.lu@intel.com>
51485
51486 [BZ #12191]
51487 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51488 (__x86_64_raw_data_cache_size_half): Likewise.
51489 (__x86_64_raw_shared_cache_size): Likewise.
51490 (__x86_64_raw_shared_cache_size_half): Likewise.
51491
51492 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51493 (__x86_64_raw_data_cache_size_half): Likewise.
51494 (__x86_64_raw_shared_cache_size): Likewise.
51495 (__x86_64_raw_shared_cache_size_half): Likewise.
51496 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
51497 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
51498 and __x86_64_raw_shared_cache_size_half. Round
51499 __x86_64_data_cache_size_half, __x86_64_data_cache_size
51500 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
51501 to multiple of 256 bytes.
51502
0e516e0e
MS
515032010-11-03 Ulrich Drepper <drepper@gmail.com>
51504
51505 [BZ #12167]
51506 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
51507 of inacessible symlinks. Verify result of symlink before returning it.
51508 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
51509 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
51510
0e012e87
ER
515112010-10-28 Erich Ritz <erichritz@gmail.com>
51512
51513 * math/math.h (isinf): Fix typo in comment.
51514
de0ff7bc
UD
515152010-11-01 Ulrich Drepper <drepper@gmail.com>
51516
51517 * po/da.po: Update from translation team.
51518
fa41c84d
UD
515192010-10-26 Ulrich Drepper <drepper@gmail.com>
51520
51521 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
51522 is added to the list.
51523
f0967738
AK
515242010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51525 Ulrich Drepper <drepper@gmail.com>
51526
51527 * elf/dl-object.c (_dl_new_object): Don't append the new object to
51528 the global list here. Move code to...
51529 (_dl_add_to_namespace_list): ...here. New function.
51530 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
51531 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
51532 * elf/dl-load.c (lose): Don't remove the element from the list.
51533 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
51534 (_dl_map_object): Likewise.
51535
515362010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
51537
51538 [BZ #12159]
51539 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
51540 into all bytes of SSE register.
51541 Patch by Richard Li <richardpku@gmail.com>.
51542
f0967738 515432010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
51544
51545 [BZ #12140]
51546 * malloc/malloc.c (_int_free): Fill correct number of bytes when
51547 perturbing.
51548
d0b9e94f
MB
515492010-10-20 Michael B. Brutman <brutman@us.ibm.com>
51550
51551 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
51552 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
51553 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
51554 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
51555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
51556 submachine.
51557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
51558
8e9f92e9
AS
515592010-10-22 Andreas Schwab <schwab@redhat.com>
51560
51561 * include/dlfcn.h (__RTLD_SECURE): Define.
51562 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
51563 mode & __RTLD_SECURE instead.
51564 (open_path): Rename preloaded parameter to secure.
51565 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
51566 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
51567 * elf/dl-deps.c (openaux): Likewise.
51568 * elf/rtld.c (struct map_args): Remove is_preloaded.
51569 (map_doit): Don't use it.
51570 (dl_main): Likewise.
51571 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
51572 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
51573
bc96fbda
AS
515742010-09-09 Andreas Schwab <schwab@redhat.com>
51575
51576 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
51577 (sysd-rules-targets): Remove duplicates.
51578 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
51579 rtld-%.$o dependency.
51580
22cd1c9b
AS
515812010-10-18 Andreas Schwab <schwab@redhat.com>
51582
51583 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
51584 _dl_map_object do it.
51585
18edac48
UD
515862010-10-19 Ulrich Drepper <drepper@gmail.com>
51587
51588 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
51589 fast fma builtins, define the macros in the C99 standard.
51590 (FP_FAST_FMAF): Likewise.
51591 (FP_FAST_FMAL): Likewise.
51592 * sysdeps/x86_64/bits/mathdef.h: Likewise.
51593
51594 * bits/mathdef.h: Update copyright year.
51595 * sysdeps/powerpc/bits/mathdef.h: Likewise.
51596
d2050124
MM
515972010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
51598
51599 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
51600 builtins, define the macros in the C99 standard.
51601 (FP_FAST_FMAF): Likewise.
51602 (FP_FAST_FMAL): Likewise.
51603 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
51604 multiply/add.
51605 (FP_FAST_FMAF): Likewise.
51606
475facd1
JJ
516072010-10-15 Jakub Jelinek <jakub@redhat.com>
51608
51609 [BZ #3268]
51610 * math/libm-test.inc (fma_test): Some new testcases.
51611 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
51612 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
51613 y and infinite z. Do multiplication by C already in long double.
51614 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
51615 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
51616 y and infinite z. Do bitwise or of inexact bit into u.d.
51617 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
51618 * sysdeps/i386/fpu/s_fmaf.S: Removed.
51619 * sysdeps/i386/fpu/s_fma.S: Removed.
51620 * sysdeps/i386/fpu/s_fmal.S: Removed.
51621
7c08a05c
JJ
516222010-10-16 Jakub Jelinek <jakub@redhat.com>
51623
51624 [BZ #3268]
51625 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
51626 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
51627 computation is not scheduled after fetestexcept. Fix value
51628 of minimum denormal long double.
51629
f3f7372d
JJ
516302010-10-14 Jakub Jelinek <jakub@redhat.com>
51631
51632 [BZ #3268]
51633 * math/libm-test.inc (fma_test): Add some more tests.
51634 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
51635 correctly.
51636
14d43591
AS
516372010-10-15 Andreas Schwab <schwab@redhat.com>
51638
51639 * scripts/data/localplt-s390-linux-gnu.data: New file.
51640 * scripts/data/localplt-s390x-linux-gnu.data: New file.
51641
5e908464
JJ
516422010-10-13 Jakub Jelinek <jakub@redhat.com>
51643
51644 [BZ #3268]
51645 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
51646 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
51647 instead of dbl-64.
51648 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
51649 inlines.
51650 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
51651 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
51652 if one of x and y is very large and the other is subnormal.
51653 * sysdeps/s390/fpu/s_fmaf.c: New file.
51654 * sysdeps/s390/fpu/s_fma.c: New file.
51655 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
51656 * sysdeps/powerpc/fpu/s_fma.S: New file.
51657 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
51658 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
51659 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
51660
516612010-10-12 Jakub Jelinek <jakub@redhat.com>
51662
51663 [BZ #3268]
51664 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
51665 fma tests.
51666 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
51667 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
51668 * sysdeps/i386/i686/multiarch/s_fma.c: Include
51669 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
51670 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
51671 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
51672 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
51673
b833d51f
UD
516742010-10-12 Ulrich Drepper <drepper@redhat.com>
51675
51676 [BZ #12078]
51677 * posix/regcomp.c (parse_branch): One more memory leak plugged.
51678 * posix/bug-regex31.input: Add test case.
51679
1751705d
UD
516802010-10-11 Ulrich Drepper <drepper@gmail.com>
51681
e9b9cbf5
UD
51682 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
51683 * posix/bug-regex31.input: New file.
51684
51685 [BZ #12078]
51686 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
51687 (parse_sub_exp): Fix last change, use postorder.
51688
ef06edbe
UD
51689 * posix/bug-regex31.c: New file.
51690 * posix/Makefile: Add rules to build and run bug-regex31.
51691
a129c80d
UD
51692 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
51693
51694 [BZ #12078]
51695 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
51696
b76b818e
UD
51697 [BZ #12108]
51698 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
51699 to have entries in sys_siglist.
51700
1751705d
UD
51701 [BZ #12093]
51702 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
51703 be NULL.
51704
9ff8d36f
JJ
517052010-10-07 Jakub Jelinek <jakub@redhat.com>
51706
51707 [BZ #3268]
51708 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
51709 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
51710 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
51711 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
51712 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51713 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
51714 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
51715 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
51716 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
51717 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
51718 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
51719 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
51720 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
51721 * math/ftestexcept.c (fetestexcept): Likewise.
51722 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
51723 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
51724 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
51725 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
51726 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
51727 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
51728 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
51729
af325969
UD
517302010-10-11 Ulrich Drepper <drepper@gmail.com>
51731
c579b202 51732 [BZ #12107]
af325969
UD
51733 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
51734 newline.
51735
67a67b95
UD
517362010-10-06 Ulrich Drepper <drepper@gmail.com>
51737
51738 * string/bug-strstr1.c: New file.
51739 * string/Makefile: Add rules to build and run bug-strstr1.
51740
5fb308bc
EB
517412010-10-05 Eric Blake <eblake@redhat.com>
51742
51743 [BZ #12092]
51744 * string/str-two-way.h (two_way_long_needle): Always clear memory
51745 when skipping input due to the shift table.
51746
45db99c7
UD
517472010-10-03 Ulrich Drepper <drepper@gmail.com>
51748
3b111893
UD
51749 [BZ #12005]
51750 * malloc/mcheck.c: Handle large requests.
51751
45db99c7
UD
51752 [BZ #12077]
51753 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
51754 for strncmp and strncasecmp.
51755 * string/stratcliff.c: Add tests for strcmp and strncmp.
51756 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
51757
cf7a1eb8
NI
517582010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51759
51760 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
51761 __set_fpscr.
51762
6484ba5e
AJ
517632010-09-30 Andreas Jaeger <aj@suse.de>
51764
51765 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
51766 (CGROUP_SUPER_MAGIC): Define.
51767 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51768 Handle btrfs and cgroup file systems.
51769 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51770 Likewise.
51771
91c42559
LM
517722010-09-27 Luis Machado <luisgpm@br.ibm.com>
51773
51774 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
51775 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
51776
87a97932
AK
517772010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51778
51779 [BZ #12067]
51780 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
51781 trying to locate the ELF header.
51782
c21cc9bc
AS
517832010-09-27 Andreas Schwab <schwab@redhat.com>
51784
51785 [BZ #11611]
51786 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
51787 Mask out sign-bit copies when constructing f_fsid.
51788
315970f6
PB
517892010-09-24 Petr Baudis <pasky@suse.cz>
51790
51791 * debug/stack_chk_fail_local.c: Add missing licence exception.
51792 * debug/warning-nop.c: Likewise.
51793
1ac7a2c7
JM
517942010-09-15 Joseph Myers <joseph@codesourcery.com>
51795
51796 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
51797 implementing getdents64 using getdents syscall, set d_type if
51798 __ASSUME_GETDENTS32_D_TYPE.
51799
56801c50
AS
518002010-09-16 Andreas Schwab <schwab@redhat.com>
51801
51802 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
51803 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
51804
dda51327
UD
518052010-09-21 Ulrich Drepper <drepper@redhat.com>
51806
51807 [BZ #12037]
51808 * posix/unistd.h: Undo change of feature selection for ftruncate from
51809 2010-01-11.
51810
8ffcee4a
UD
518112010-09-20 Ulrich Drepper <drepper@redhat.com>
51812
a545ecd9 51813 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
51814 detection.
51815
e24f0a8b
AS
518162010-09-20 Andreas Schwab <schwab@redhat.com>
51817
51818 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
51819 fanotify_mark.
51820 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51821
7291c56f
AS
518222010-09-14 Andreas Schwab <schwab@redhat.com>
51823
51824 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
51825 variables after CHECK_SP call.
51826 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
51827
bc5fb037
AS
518282010-09-13 Andreas Schwab <schwab@redhat.com>
51829 Ulrich Drepper <drepper@redhat.com>
51830
51831 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
51832 re-relocationg ld.so.
51833 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
51834 _dl_init_paths call.
51835 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
51836 here anymore.
51837
e66e7419
UD
518382010-09-14 Ulrich Drepper <drepper@redhat.com>
51839
51840 * resolv/res_init.c (__res_vinit): Count the default server we added.
51841
c044aa75
CLT
518422010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
51843 Ulrich Drepper <drepper@redhat.com>
51844
51845 [BZ #11968]
51846 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51847 (____longjmp_chk): Use %ebx for saving value across system call.
51848 Add unwind info.
51849
32cf4069
AS
518502010-09-06 Andreas Schwab <schwab@redhat.com>
51851
51852 * manual/Makefile: Don't mix pattern rules with normal rules.
51853
817328ee
AS
518542010-09-05 Andreas Schwab <schwab@linux-m68k.org>
51855
51856 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
51857 operation.
51858 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
51859 * libio/iofopncook.c (_IO_cookie_init): Likewise.
51860 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
51861 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
51862 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51863 Likewise.
51864
29fddf61
UD
518652010-09-04 Ulrich Drepper <drepper@redhat.com>
51866
51867 [BZ #11979]
51868 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51869 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51870
0959ffc9
UD
518712010-09-02 Ulrich Drepper <drepper@redhat.com>
51872
51873 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51874 * sysdeps/x86_64/addmul_1.S: Likewise.
51875 * sysdeps/x86_64/lshift.S: Likewise.
51876 * sysdeps/x86_64/mul_1.S: Likewise.
51877 * sysdeps/x86_64/rshift.S: Likewise.
51878 * sysdeps/x86_64/sub_n.S: Likewise.
51879 * sysdeps/x86_64/submul_1.S: Likewise.
51880
ece29840
ST
518812010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
51882
0959ffc9
UD
51883 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51884 Define __sched_param instead of SCHED_* and sched_param when
ece29840 51885 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 51886 * bits/sched.h [__need_schedparam]
ece29840 51887 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
51888 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51889 (__defined_schedparam): Define to 1.
ece29840
ST
51890 (__sched_param): New structure, identical to sched_param.
51891 (__need_schedparam): Undefine.
51892
e53a31fe
MF
518932010-08-31 Mike Frysinger <vapier@gentoo.org>
51894
fdc0c10d
MF
51895 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51896 (epoll_create1): Declare.
51897
e53a31fe
MF
51898 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51899
a726d796
AS
519002010-08-31 Andreas Schwab <schwab@redhat.com>
51901
51902 [BZ #7066]
51903 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51904 shifting retval into place.
51905
2f3e3dc7
UD
519062010-09-01 Ulrich Drepper <drepper@redhat.com>
51907
f2933da9
UD
51908 * nis/rpcsvc/nis.h: Update copyright notice.
51909 * nis/rpcsvc/nis.x: Likewise.
51910 * nis/rpcsvc/nis_callback.h: Likewise.
51911 * nis/rpcsvc/nis_callback.x: Likewise.
51912 * nis/rpcsvc/nis_object.x: Likewise.
51913 * nis/rpcsvc/nis_tags.h: Likewise.
51914 * nis/rpcsvc/yp.h: Likewise.
51915 * nis/rpcsvc/yp.x: Likewise.
51916 * nis/rpcsvc/ypupd.h: Likewise.
51917 * nis/yp_xdr.c: Likewise.
51918 * nis/ypupdate_xdr.c: Likewise.
51919
2f3e3dc7
UD
51920 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
51921 mainly the body of pmap_getport. Add parameters to specify timeouts.
51922 (pmap_getport): Use __libc_rpc_getport.
51923 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51924 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51925 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51926
f3dcc2f9
AS
519272010-08-31 Andreas Schwab <schwab@linux-m68k.org>
51928
51929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51930 fanotify_mark.
51931
6d34eb5b
RM
519322010-08-27 Roland McGrath <roland@redhat.com>
51933
51934 * sysdeps/i386/i686/multiarch/Makefile
51935 (CFLAGS-varshift.c): New variable.
51936
9ea3de11
UD
519372010-08-27 Ulrich Drepper <drepper@redhat.com>
51938
c96d23fc
UD
51939 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51940 * sysdeps/i386/i686/multiarch/varshift.c: New file.
51941
9ea3de11
UD
51942 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51943
51944 * sysdeps/x86_64/strlen.S: Minimal code improvement.
51945
623aac7f
L
519462010-08-26 H.J. Lu <hongjiu.lu@intel.com>
51947
51948 * sysdeps/x86_64/strlen.S: Unroll the loop.
51949 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51950 strlen-sse2 strlen-sse2-bsf.
51951 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51952 __strlen_no_bsf if bit_Slow_BSF is set.
51953 (__strlen_sse42): Removed.
51954 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51955 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51956
8b2b7715
RM
519572010-08-25 Roland McGrath <roland@redhat.com>
51958
51959 * sysdeps/x86_64/multiarch/varshift.S: File removed.
51960 * sysdeps/x86_64/multiarch/varshift.c: New file.
51961 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51962 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
51963 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
51964 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51965
e73015f2
L
519662010-08-25 H.J. Lu <hongjiu.lu@intel.com>
51967
51968 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51969 strlen-sse2 strlen-sse2-bsf.
51970 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
51971 __strlen_sse2_bsf if bit_Slow_BSF is unset.
51972 (__strlen_sse2): Removed.
51973 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
51974 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
51975 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51976 bit_Slow_BSF for Atom.
51977 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
51978 (index_Slow_BSF): Define.
51979 (HAS_SLOW_BSF): Define.
51980
df24a73e
UD
519812010-08-25 Ulrich Drepper <drepper@redhat.com>
51982
51983 [BZ #10851]
51984 * resolv/res_init.c (__res_vinit): When no server address at all
51985 is given default to loopback.
51986
f2ac4868
RM
519872010-08-24 Roland McGrath <roland@redhat.com>
51988
09055553
RM
51989 * configure.in: Remove config-name.h generation.
51990 * configure: Regenerated.
51991 * config-name.in: File removed.
51992 * scripts/config-uname.sh: New file.
51993 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
51994 ($(objdir)config-name.h): New target.
51995
f2ac4868
RM
51996 * sunrpc/rpc_parse.h: Avoid nested comment.
51997
73f27d5e
RH
519982010-08-24 Richard Henderson <rth@redhat.com>
51999 Ulrich Drepper <drepper@redhat.com>
52000 H.J. Lu <hongjiu.lu@intel.com>
52001
52002 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
52003 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
52004 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
52005 Replace _mm_srli_si128 with __m128i_shift_right. Replace
52006 _mm_alignr_epi8 with _mm_loadu_si128.
52007 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
52008 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
52009 (__m128i_shift_right): Removed.
52010 * sysdeps/i386/i686/multiarch/varshift.h: New file.
52011 * sysdeps/i386/i686/multiarch/varshift.S: New file.
52012 * sysdeps/x86_64/multiarch/varshift.h: New file.
52013 * sysdeps/x86_64/multiarch/varshift.S: New file.
52014
84b9230c
MF
520152010-08-21 Mike Frysinger <vapier@gentoo.org>
52016
52017 * configure.in: Move assembler checks to before sysdep dir checking.
52018
9bbd0ddc
PB
520192010-08-20 Petr Baudis <pasky@suse.cz>
52020
52021 * LICENSES: Sync the sunrpc license.
52022
9da4bb31
UD
520232010-08-19 Ulrich Drepper <drepper@redhat.com>
52024
a7ab6ec8
UD
52025 * sunrpc/auth_des.c: Update copyright notice once again.
52026 * sunrpc/auth_none.c: Likewise.
52027 * sunrpc/auth_unix.c: Likewise.
52028 * sunrpc/authdes_prot.c: Likewise.
52029 * sunrpc/authuxprot.c: Likewise.
52030 * sunrpc/bindrsvprt.c: Likewise.
52031 * sunrpc/clnt_gen.c: Likewise.
52032 * sunrpc/clnt_perr.c: Likewise.
52033 * sunrpc/clnt_raw.c: Likewise.
52034 * sunrpc/clnt_simp.c: Likewise.
52035 * sunrpc/clnt_tcp.c: Likewise.
52036 * sunrpc/clnt_udp.c: Likewise.
52037 * sunrpc/clnt_unix.c: Likewise.
52038 * sunrpc/des_crypt.c: Likewise.
52039 * sunrpc/des_soft.c: Likewise.
52040 * sunrpc/get_myaddr.c: Likewise.
52041 * sunrpc/getrpcport.c: Likewise.
52042 * sunrpc/key_call.c: Likewise.
52043 * sunrpc/key_prot.c: Likewise.
52044 * sunrpc/openchild.c: Likewise.
52045 * sunrpc/pm_getmaps.c: Likewise.
52046 * sunrpc/pm_getport.c: Likewise.
52047 * sunrpc/pmap_clnt.c: Likewise.
52048 * sunrpc/pmap_prot.c: Likewise.
52049 * sunrpc/pmap_prot2.c: Likewise.
52050 * sunrpc/pmap_rmt.c: Likewise.
52051 * sunrpc/rpc/auth.h: Likewise.
52052 * sunrpc/rpc/auth_unix.h: Likewise.
52053 * sunrpc/rpc/clnt.h: Likewise.
52054 * sunrpc/rpc/des_crypt.h: Likewise.
52055 * sunrpc/rpc/key_prot.h: Likewise.
52056 * sunrpc/rpc/netdb.h: Likewise.
52057 * sunrpc/rpc/pmap_clnt.h: Likewise.
52058 * sunrpc/rpc/pmap_prot.h: Likewise.
52059 * sunrpc/rpc/pmap_rmt.h: Likewise.
52060 * sunrpc/rpc/rpc.h: Likewise.
52061 * sunrpc/rpc/rpc_des.h: Likewise.
52062 * sunrpc/rpc/rpc_msg.h: Likewise.
52063 * sunrpc/rpc/svc.h: Likewise.
52064 * sunrpc/rpc/svc_auth.h: Likewise.
52065 * sunrpc/rpc/types.h: Likewise.
52066 * sunrpc/rpc/xdr.h: Likewise.
52067 * sunrpc/rpc_clntout.c: Likewise.
52068 * sunrpc/rpc_cmsg.c: Likewise.
52069 * sunrpc/rpc_common.c: Likewise.
52070 * sunrpc/rpc_cout.c: Likewise.
52071 * sunrpc/rpc_dtable.c: Likewise.
52072 * sunrpc/rpc_hout.c: Likewise.
52073 * sunrpc/rpc_main.c: Likewise.
52074 * sunrpc/rpc_parse.c: Likewise.
52075 * sunrpc/rpc_parse.h: Likewise.
52076 * sunrpc/rpc_prot.c: Likewise.
52077 * sunrpc/rpc_sample.c: Likewise.
52078 * sunrpc/rpc_scan.c: Likewise.
52079 * sunrpc/rpc_scan.h: Likewise.
52080 * sunrpc/rpc_svcout.c: Likewise.
52081 * sunrpc/rpc_tblout.c: Likewise.
52082 * sunrpc/rpc_util.c: Likewise.
52083 * sunrpc/rpc_util.h: Likewise.
52084 * sunrpc/rpcinfo.c: Likewise.
52085 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
52086 * sunrpc/rpcsvc/key_prot.x: Likewise.
52087 * sunrpc/rpcsvc/klm_prot.x: Likewise.
52088 * sunrpc/rpcsvc/mount.x: Likewise.
52089 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
52090 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
52091 * sunrpc/rpcsvc/rex.x: Likewise.
52092 * sunrpc/rpcsvc/rstat.x: Likewise.
52093 * sunrpc/rpcsvc/rusers.x: Likewise.
52094 * sunrpc/rpcsvc/sm_inter.x: Likewise.
52095 * sunrpc/rpcsvc/spray.x: Likewise.
52096 * sunrpc/rpcsvc/yppasswd.x: Likewise.
52097 * sunrpc/rtime.c: Likewise.
52098 * sunrpc/svc.c: Likewise.
52099 * sunrpc/svc_auth.c: Likewise.
52100 * sunrpc/svc_authux.c: Likewise.
52101 * sunrpc/svc_raw.c: Likewise.
52102 * sunrpc/svc_run.c: Likewise.
52103 * sunrpc/svc_simple.c: Likewise.
52104 * sunrpc/svc_tcp.c: Likewise.
52105 * sunrpc/svc_udp.c: Likewise.
52106 * sunrpc/svc_unix.c: Likewise.
52107 * sunrpc/svcauth_des.c: Likewise.
52108 * sunrpc/xcrypt.c: Likewise.
52109 * sunrpc/xdr.c: Likewise.
52110 * sunrpc/xdr_array.c: Likewise.
52111 * sunrpc/xdr_float.c: Likewise.
52112 * sunrpc/xdr_mem.c: Likewise.
52113 * sunrpc/xdr_rec.c: Likewise.
52114 * sunrpc/xdr_ref.c: Likewise.
52115 * sunrpc/xdr_sizeof.c: Likewise.
52116 * sunrpc/xdr_stdio.c: Likewise.
52117
9da4bb31
UD
52118 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
52119 handling.
52120
bdaa77bc
AS
521212010-08-19 Andreas Schwab <schwab@redhat.com>
52122
52123 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
52124
fe2f79db
LM
521252010-08-19 Luis Machado <luisgpm@br.ibm.com>
52126
52127 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
52128 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
52129 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
52130 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
52131 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
52132 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
52133 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
52134 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
52135 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
52136 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
52137 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
52138 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
52139 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
52140 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
52141
b9b42ee0
AB
521422010-07-26 Anton Blanchard <anton@samba.org>
52143
52144 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
52145 * malloc/arena.c (heap_trim): Likewise.
52146
1c06ba31
UD
521472010-08-16 Ulrich Drepper <drepper@redhat.com>
52148
52149 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
52150 here. Not...
52151 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
52152 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
52153
f8392f40
L
521542010-08-12 H.J. Lu <hongjiu.lu@intel.com>
52155
52156 * sysdeps/i386/elf/Makefile: New file.
52157
3162f12e
AS
521582010-08-14 Andreas Schwab <schwab@linux-m68k.org>
52159
52160 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
52161 from fanotify_init.
52162 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
52163 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52164
28c90b2c
UD
521652010-08-15 Ulrich Drepper <drepper@redhat.com>
52166
52167 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
52168 of strncasecmp_l.
1feccb6c 52169 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 52170
ca6bb004
UD
521712010-08-14 Ulrich Drepper <drepper@redhat.com>
52172
e9f82e0d
UD
52173 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52174 strncase_l-nonascii.
52175 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52176 Add strncase_l-ssse3.
52177 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
52178 * sysdeps/x86_64/strcmp.S: Likewise.
52179 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
52180 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
52181 * sysdeps/x86_64/strncase.S: New file.
52182 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
52183 * sysdeps/x86_64/strncase_l.S: New file.
52184 * string/Makefile (strop-tests): Add strncasecmp.
52185 * string/test-strncasecmp.c: New file.
52186
52187 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
52188 warning.
52189
ca6bb004
UD
52190 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
52191 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
52192
052fa7b3
AS
521932010-08-14 Andreas Schwab <schwab@linux-m68k.org>
52194
52195 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
52196
962dba78
UD
521972010-08-12 Ulrich Drepper <drepper@redhat.com>
52198
52199 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
52200 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
52201 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
52202
bebff237
AM
522032010-05-01 Alan Modra <amodra@gmail.com>
52204
52205 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
52206 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
52207 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
52208 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
52209 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
52210 tidying. Don't tail-call __sigjmp_save for static lib.
52211 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
52212 save location.
52213 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
52214 (CALL_MCOUNT): Add eh info, and nop after bl.
52215 (TAIL_CALL_SYSCALL_ERROR): New macro.
52216 (PSEUDO_RET): Use it.
52217 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
52218 Correct save location of integer regs and cr.
52219 (_dl_profile_resolve): Correct cr save location. Delete nops
52220 after bl when SHARED. Reduce cfi size a little by better
52221 placement of cfi directives.
52222 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
52223 make a stack frame. Instead use parm save area as a temp.
52224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
52225 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
52226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
52227 Don't make a stack frame for parent, use parm save area.
52228 Increase child stack frame to 112 bytes. Don't save unused reg,
52229 and adjust reg usage. Set up cfi on error recovery and
52230 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
52231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52232 (__makecontext): Add dummy nop after jump to exit.
52233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
52234 Use correct parm save area and cr save, reduce stack frame.
52235 Correct cfi for possible PSEUDO_RET frame setup.
52236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
52237 Branch to local label emitted by PSEUDO_RET rather than
52238 __syscall_error.
52239
02637374
AS
522402010-08-12 Andreas Schwab <schwab@redhat.com>
52241
52242 [BZ #11904]
52243 * locale/programs/locale.c (print_assignment): New function.
52244 (show_locale_vars): Use it.
52245
c3e2f19b
UD
522462010-08-11 Ulrich Drepper <drepper@redhat.com>
52247
3cdaa6ad
UD
52248 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
52249 field.
52250 (struct statfs64): Likewise.
52251 (_STATFS_F_FLAGS): Define.
52252 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
52253 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52254 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
52255 (ST_VALID): Define locally.
52256 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
52257 __statvfs_getflags, use the provided value.
52258 * sysdeps/unix/sysv/linux/kernel-features.h: Define
52259 __ASSUME_STATFS_F_FLAGS.
52260
754f7da3
UD
52261 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
52262
10b3bedc
UD
52263 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
52264 Add sys/fanotify.h.
52265 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
52266 fanotify_mask for GLIBC_2.13.
52267 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
52268 fanotify_init and fanotify_mark.
52269 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52270 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
52271
c08fb0d7
UD
52272 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
52273 Add prlimit.
52274 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
52275 prlimit64 for GLIBC_2.13.
52276 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
52277 prlimit64.
52278 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
52279 syscall.
52280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
52281 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52282 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
52283 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
52284 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
52285 add prlimit alias.
52286 * sysdeps/unix/sysv/linux/prlimit.c: New file.
52287
15bac72b
UD
52288 [BZ #11903]
52289 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
52290 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
52291
c3e2f19b
UD
52292 * nss/Makefile: Add rules to build and run tst-nss-test1.
52293 * shlib-versions: Add entry for libnss_test1.
52294 * nss/nss_test1.c: New file.
52295 * nss/tst-nss-test1.c: New file.
52296
52297 * nss/nsswitch.c (__nss_database_custom): Define new variable.
52298 (__nss_configure_lookup): Set appropriate entry in
52299 __nss_configure_lookup to true.
52300 * nss/nsswitch.h: Define enum with indeces of databases in
52301 databases and __nss_database_custom arrays. Declare
52302 __nss_database_custom.
52303 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
52304 to avoid using nscd when custom rules are installed.
52305 * nss/getXXbyYY_r.c: Likewise.
52306 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52307
52308 * nss/nss_files/files-parse.c: Whitespace fixes.
52309
f15ce4d8
UD
523102010-08-09 Ulrich Drepper <drepper@redhat.com>
52311
52312 [BZ #11883]
52313 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
52314 * posix/fnmatch_loop.c: Likewise.
52315
d22e4cc9
AK
523162010-07-17 Andi Kleen <ak@linux.intel.com>
52317
52318 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
52319 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
52320 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
52321 * Versions.def [GLIBC_2.13]: Add.
52322
805bc17d
UD
523232010-08-06 Ulrich Drepper <drepper@redhat.com>
52324
52325 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52326 Also fail if tpwd after pwuid call is NULL.
52327
5a42321d
ST
523282010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
52329
52330 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
52331 when converting to ms.
52332
fd3ebeda
ST
523332010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52334
52335 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
52336 EOPNOTSUPP errors with ENOTTY.
52337 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
52338 EOPNOTSUPP errors with ENOTTY.
52339
73507d3a
UD
523402010-07-31 Ulrich Drepper <drepper@redhat.com>
52341
52342 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52343 Add strcasecmp_l-ssse3.
52344 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
52345 strcasecmp.
52346 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
52347 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
52348 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
52349
fe36dd02
UD
523502010-07-30 Ulrich Drepper <drepper@redhat.com>
52351
66f6765a
UD
52352 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
52353
42e08a54
UD
52354 * string/Makefile (strop-tests): Add strcasecmp.
52355 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52356 strcasecmp_l-nonascii.
52357 (gen-as-const-headers): Add locale-defines.sym.
52358 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
52359 * sysdeps/x86_64/strcasecmp.S: New file.
52360 * sysdeps/x86_64/strcasecmp_l.S: New file.
52361 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
52362 * sysdeps/x86_64/locale-defines.sym: New file.
52363 * string/test-strcasecmp.c: New file.
52364
fe36dd02
UD
52365 * string/test-strcasestr.c: Test both ends of the range of characters.
52366 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
52367
48cbc0d6
RM
523682010-07-29 Roland McGrath <roland@redhat.com>
52369
76e6d6bc 52370 [BZ #11856]
48cbc0d6
RM
52371 * manual/locale.texi (Yes-or-No Questions): Fix example code.
52372
880113d9
UD
523732010-07-27 Ulrich Drepper <drepper@redhat.com>
52374
52375 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
52376 for ld.so.
52377
deb9cabb
AS
523782010-07-27 Andreas Schwab <schwab@redhat.com>
52379
52380 * manual/memory.texi (Malloc Tunable Parameters): Document
52381 M_PERTURB.
52382
1c7570ff
RM
523832010-07-26 Roland McGrath <roland@redhat.com>
52384
52385 [BZ #11840]
52386 * configure.in (-fgnu89-inline check): Set and substitute
52387 gnu89_inline, not libc_cv_gnu89_inline.
52388 * configure: Regenerated.
52389 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
52390
24fb0f88
UD
523912010-07-26 Ulrich Drepper <drepper@redhat.com>
52392
52393 * string/test-strnlen.c: New file.
52394 * string/Makefile (strop-tests): Add strnlen.
52395 * string/tester.c (test_strnlen): Add a few more test cases.
52396 * string/tst-strlen.c: Better error reporting.
52397
52398 * sysdeps/x86_64/strnlen.S: New file.
52399
8e96b93a
UD
524002010-07-24 Ulrich Drepper <drepper@redhat.com>
52401
52402 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
52403 lower-latency instructions.
52404
dbc676d4
UD
524052010-07-23 Ulrich Drepper <drepper@redhat.com>
52406
52407 * string/test-strcasestr.c: New file.
52408 * string/test-strstr.c: New file.
52409 * string/Makefile (strop-tests): Add strstr and strcasestr.
52410 * string/str-two-way.h: Don't undefine MAX.
52411 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
52412
f6a31e0e
AS
524132010-07-21 Andreas Schwab <schwab@redhat.com>
52414
52415 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52416 strcasestr-nonascii.
52417 (CFLAGS-strcasestr-nonascii.c): Define.
52418 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
52419 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
52420 Remove unused attribute.
52421
5dbc3b6c
RM
524222010-07-20 Roland McGrath <roland@redhat.com>
52423
52424 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
52425 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
52426 ld.so.cache was broken. With it, there is no way to disable dsocaps
52427 like LD_HWCAP_MASK can disable hwcaps.
52428
23d101d8
EPM
524292010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52430
52431 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
52432
cc9f2e47
UD
524332010-07-16 Ulrich Drepper <drepper@redhat.com>
52434
52435 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
52436 call in strcasestr.
52437 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
52438 __strcasestr_sse42_nonascii.
52439 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
52440 strcasestr-nonascii.c.
52441 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
52442
77c1b069
LM
524432010-06-15 Luis Machado <luisgpm@br.ibm.com>
52444
52445 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
52446 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
52447 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
52448 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
52449
440566c3
UD
524502010-07-09 Ulrich Drepper <drepper@redhat.com>
52451
52452 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
52453 fcntl.
52454
5be9d05d
AS
524552010-07-06 Andreas Schwab <schwab@redhat.com>
52456
c30b7ee2 52457 [BZ #11577]
5be9d05d
AS
52458 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
52459 dl_signal_cerror.
52460
8a492a67
UD
524612010-07-06 Ulrich Drepper <drepper@redhat.com>
52462
52463 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
52464 _PC_PIPE_BUF using F_GETPIPE_SZ.
52465
713df3d5
RM
524662010-07-05 Roland McGrath <roland@redhat.com>
52467
52468 * manual/arith.texi (Rounding Functions): Fix rint description
52469 implicit in round description.
52470
702e8f14
UD
524712010-07-02 Ulrich Drepper <drepper@redhat.com>
52472
52473 * elf/Makefile: Fix linking for a few tests to make recent linker
52474 happy.
52475
52ed8be9
AS
524762010-06-30 Andreas Schwab <schwab@redhat.com>
52477
52478 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52479 $(common-objpfx)libc_nonshared.a.
52480
f47c9a11
LM
524812010-06-21 Luis Machado <luisgpm@br.ibm.com>
52482
52483 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
52484 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
52485 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52486 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52487 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
52488 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
52489 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52490 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
52492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
52493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
52494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
52496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
52498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
52499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
52500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
52501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
52503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
52505 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
52506 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
52507 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
52508 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
52509 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
52510 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
52511 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
52512 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
52513 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
52514 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
52515 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
52516 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
52517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
52518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
52519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
52520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
52521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
52522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
52523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
52524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
52525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
52526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
52527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
52528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
52529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
52530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
52531
6fb8cbcb
L
525322010-06-25 H.J. Lu <hongjiu.lu@intel.com>
52533
52534 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
52535 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
52536 * string/memmove.c (memmove): Renamed to ...
52537 (MEMMOVE): ...this. Default to memmove.
52538 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
52539 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
52540 (END_CHK): Define.
52541 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52542 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
52543 mempcpy-ssse3-back memmove-ssse3-back.
52544 * sysdeps/x86_64/multiarch/bcopy.S: New file .
52545 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
52546 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
52547 * sysdeps/x86_64/multiarch/memcpy.S: New file.
52548 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
52549 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
52550 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
52551 * sysdeps/x86_64/multiarch/memmove.c: New file.
52552 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
52553 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
52554 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
52555 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
52556 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
52557 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
52558 Define.
52559 (index_Fast_Copy_Backward): Define.
52560 (HAS_ARCH_FEATURE): Define.
52561 (HAS_FAST_REP_STRING): Define.
52562 (HAS_FAST_COPY_BACKWARD): Define.
52563
4e733bac 525642010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
52565
52566 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52567 Restore proper fallback handling.
52568
63c4ed22
UD
525692010-06-19 Ulrich Drepper <drepper@redhat.com>
52570
ac2b484c
UD
52571 [BZ #11701]
52572 * posix/group_member.c (__group_member): Correct checking loop.
52573
63c4ed22
UD
52574 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
52575 OOM in getpwuid_r correctly. Return error number when the caller
52576 should return, otherwise -1.
52577 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
52578 call returning > 0 value.
52579 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
52580
765ade4b
AS
525812010-06-07 Andreas Schwab <schwab@redhat.com>
52582
52583 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
52584 libc_nonshared.a from targets in modules-names.
52585
80da2e09
KS
525862010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
52587
52588 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
52589 requires it.
52590
158db122
LM
525912010-06-10 Luis Machado <luisgpm@br.ibm.com>
52592
52593 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
52594 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
52595 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
52596 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
52597
caa78cf8
AS
525982010-06-02 Andreas Schwab <schwab@redhat.com>
52599
52600 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
52601
b2ef2c01
UD
526022010-06-14 Ulrich Drepper <drepper@redhat.com>
52603
52604 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
52605 and F_GETPIPE_SZ.
52606 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52607 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52608 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52609 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52610 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52611 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
52612
fbd643b6
RM
526132010-06-14 Roland McGrath <roland@redhat.com>
52614
52615 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
52616
f32f2869
JJ
526172010-06-07 Jakub Jelinek <jakub@redhat.com>
52618
52619 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
52620 __REDIRECT followed by __THROW.
52621 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
52622 * posix/getopt.h (getopt): Likewise.
52623
2a50c078
EPM
526242010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52625
52626 * hurd/lookup-at.c (__file_name_lookup_at): Accept
52627 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
52628 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
52629 in AT_FLAGS.
52630 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
52631 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
52632
eb5ad2eb
LM
526332010-05-28 Luis Machado <luisgpm@br.ibm.com>
52634
52635 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
52636
3c88fe1e
L
526372010-05-26 H.J. Lu <hongjiu.lu@intel.com>
52638
52639 [BZ #11640]
52640 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52641 Properly check family and model.
52642
d2f73151
TY
526432010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
52644
52645 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
52646
ebd2e13d
LM
526472010-05-24 Luis Machado <luisgpm@br.ibm.com>
52648
52649 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
52650
b32b8b45
UD
526512010-05-21 Ulrich Drepper <drepper@redhat.com>
52652
52653 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
52654 symbol reference.
52655
9acbe24d
AS
526562010-05-19 Andreas Schwab <schwab@redhat.com>
52657
52658 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
52659 symbol reference.
52660
f0ccf6ea
AS
526612010-05-21 Andreas Schwab <schwab@redhat.com>
52662
3d04ff3a
AS
52663 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
52664 and internal_recvmmsg.
52665 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
52666 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
52667 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
52668 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
52669
f0ccf6ea
AS
52670 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
52671 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
52672 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
52673
5b08ac57
AS
526742010-05-20 Andreas Schwab <schwab@redhat.com>
52675
52676 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
52677
4828935d
LM
526782010-05-17 Luis Machado <luisgpm@br.ibm.com>
52679
52680 POWER7 optimizations.
52681 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
52682 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
52683
373d545e
UD
526842010-05-19 Ulrich Drepper <drepper@redhat.com>
52685
52686 * version.h: Update for 2.13 development version.
52687
21a2b1ae
AS
526882010-05-12 Andrew Stubbs <ams@codesourcery.com>
52689
52690 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
52691 exceptions. Return 0.
52692
3f7dcb2b
RM
526932010-05-07 Roland McGrath <roland@redhat.com>
52694
52695 * elf/ldconfig.c (main): Add a const.
52696
5f24d53a 526972010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 52698
a160f8d8
UD
52699 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
52700 (args_options): Add no-idn option.
52701 (ahosts_keys_int): Add idn_flags to ai_flags.
52702 (parse_option): Handle 'i' option to clear idn_flags.
52703
5f24d53a
UD
52704 * malloc/malloc.c (_int_free): Possible race in the most recently
52705 added check. Only act on the data if no current modification
52706 happened.
265bb1ce
UD
52707
52708See ChangeLog.17 for earlier changes.
This page took 7.227888 seconds and 5 git commands to generate.